@ibm-sterling/charts-vue
Version:
Sterling charting components for Vue
2,297 lines • 342 kB
JavaScript
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "1c25");
/******/ })
/************************************************************************/
/******/ ({
/***/ "054c":
/***/ (function(module, exports, __webpack_require__) {
var META = __webpack_require__("f455")('meta');
var isObject = __webpack_require__("194e");
var has = __webpack_require__("25a6");
var setDesc = __webpack_require__("6f0d").f;
var id = 0;
var isExtensible = Object.isExtensible || function () {
return true;
};
var FREEZE = !__webpack_require__("a124")(function () {
return isExtensible(Object.preventExtensions({}));
});
var setMeta = function (it) {
setDesc(it, META, { value: {
i: 'O' + ++id, // object ID
w: {} // weak collections IDs
} });
};
var fastKey = function (it, create) {
// return primitive with prefix
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
if (!has(it, META)) {
// can't set metadata to uncaught frozen object
if (!isExtensible(it)) return 'F';
// not necessary to add metadata
if (!create) return 'E';
// add missing metadata
setMeta(it);
// return object ID
} return it[META].i;
};
var getWeak = function (it, create) {
if (!has(it, META)) {
// can't set metadata to uncaught frozen object
if (!isExtensible(it)) return true;
// not necessary to add metadata
if (!create) return false;
// add missing metadata
setMeta(it);
// return hash weak collections IDs
} return it[META].w;
};
// add metadata on freeze-family methods calling
var onFreeze = function (it) {
if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
return it;
};
var meta = module.exports = {
KEY: META,
NEED: false,
fastKey: fastKey,
getWeak: getWeak,
onFreeze: onFreeze
};
/***/ }),
/***/ "0b04":
/***/ (function(module, exports, __webpack_require__) {
// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = __webpack_require__("aec0");
var defined = __webpack_require__("c8ae");
module.exports = function (it) {
return IObject(defined(it));
};
/***/ }),
/***/ "0b74":
/***/ (function(module, exports) {
module.exports = function(originalModule) {
if (!originalModule.webpackPolyfill) {
var module = Object.create(originalModule);
// module.parent = undefined by default
if (!module.children) module.children = [];
Object.defineProperty(module, "loaded", {
enumerable: true,
get: function() {
return module.l;
}
});
Object.defineProperty(module, "id", {
enumerable: true,
get: function() {
return module.i;
}
});
Object.defineProperty(module, "exports", {
enumerable: true
});
module.webpackPolyfill = 1;
}
return module;
};
/***/ }),
/***/ "0d9c":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.1.3.7 String.prototype.includes(searchString, position = 0)
var $export = __webpack_require__("ef37");
var context = __webpack_require__("dafe");
var INCLUDES = 'includes';
$export($export.P + $export.F * __webpack_require__("8222")(INCLUDES), 'String', {
includes: function includes(searchString /* , position = 0 */) {
return !!~context(this, searchString, INCLUDES)
.indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ "0e85":
/***/ (function(module, exports, __webpack_require__) {
var def = __webpack_require__("6f0d").f;
var has = __webpack_require__("25a6");
var TAG = __webpack_require__("d951")('toStringTag');
module.exports = function (it, tag, stat) {
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
};
/***/ }),
/***/ "0e8c":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "124c":
/***/ (function(module, exports, __webpack_require__) {
// optional / simple context binding
var aFunction = __webpack_require__("d3d5");
module.exports = function (fn, that, length) {
aFunction(fn);
if (that === undefined) return fn;
switch (length) {
case 1: return function (a) {
return fn.call(that, a);
};
case 2: return function (a, b) {
return fn.call(that, a, b);
};
case 3: return function (a, b, c) {
return fn.call(that, a, b, c);
};
}
return function (/* ...args */) {
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ "194e":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "1c25":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/core-js/modules/es7.array.includes.js
var es7_array_includes = __webpack_require__("4f72");
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/core-js/modules/es6.string.includes.js
var es6_string_includes = __webpack_require__("0d9c");
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/core-js/modules/es6.function.name.js
var es6_function_name = __webpack_require__("c880");
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/core-js/modules/es7.symbol.async-iterator.js
var es7_symbol_async_iterator = __webpack_require__("5e32");
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/core-js/modules/es6.symbol.js
var es6_symbol = __webpack_require__("4823");
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/core-js/modules/web.dom.iterable.js
var web_dom_iterable = __webpack_require__("2e73");
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-simple-bar-chart.vue?vue&type=template&id=5ac72f36&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-simple-bar-chart"})}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-simple-bar-chart.vue?vue&type=template&id=5ac72f36&
// EXTERNAL MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@ibm-sterling/charts/dist/index.js
var dist = __webpack_require__("3cd0");
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@ibm-sterling/charts/index.js
// This file is needed for smooth imports
// of "@ibm-sterling/charts" from other packages
// in the monorepo
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-base-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var ccv_base_chartvue_type_script_lang_js_ = ({
name: 'CcvBaseChart',
data: function data() {
return {
coreChart: null
};
},
props: {
data: {
type: Object,
required: true
},
options: {
type: Object,
required: true
}
},
watch: {
data: {
handler: function handler(newData) {
this.coreChart.model.setData(newData);
},
deep: true
},
options: {
handler: function handler(newOptions) {
this.coreChart.model.setOptions(newOptions);
},
deep: true
}
}
});
// CONCATENATED MODULE: ./src/ccv-base-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_base_chartvue_type_script_lang_js_ = (ccv_base_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/ccv-base-chart.vue
var ccv_base_chart_render, ccv_base_chart_staticRenderFns
/* normalize component */
var component = normalizeComponent(
src_ccv_base_chartvue_type_script_lang_js_,
ccv_base_chart_render,
ccv_base_chart_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_base_chart = (component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-simple-bar-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_simple_bar_chartvue_type_script_lang_js_ = ({
name: 'CcvSimpleBarChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["f" /* SimpleBarChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-simple-bar-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_simple_bar_chartvue_type_script_lang_js_ = (ccv_simple_bar_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-simple-bar-chart.vue
/* normalize component */
var ccv_simple_bar_chart_component = normalizeComponent(
src_ccv_simple_bar_chartvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_simple_bar_chart = (ccv_simple_bar_chart_component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-grouped-bar-chart.vue?vue&type=template&id=1cd576cc&
var ccv_grouped_bar_chartvue_type_template_id_1cd576cc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-grouped-bar-chart"})}
var ccv_grouped_bar_chartvue_type_template_id_1cd576cc_staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-grouped-bar-chart.vue?vue&type=template&id=1cd576cc&
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-grouped-bar-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_grouped_bar_chartvue_type_script_lang_js_ = ({
name: 'CcvGroupedBarChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["b" /* GroupedBarChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-grouped-bar-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_grouped_bar_chartvue_type_script_lang_js_ = (ccv_grouped_bar_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-grouped-bar-chart.vue
/* normalize component */
var ccv_grouped_bar_chart_component = normalizeComponent(
src_ccv_grouped_bar_chartvue_type_script_lang_js_,
ccv_grouped_bar_chartvue_type_template_id_1cd576cc_render,
ccv_grouped_bar_chartvue_type_template_id_1cd576cc_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_grouped_bar_chart = (ccv_grouped_bar_chart_component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-stacked-bar-chart.vue?vue&type=template&id=7a3e02f2&
var ccv_stacked_bar_chartvue_type_template_id_7a3e02f2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-stacked-bar-chart"})}
var ccv_stacked_bar_chartvue_type_template_id_7a3e02f2_staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-stacked-bar-chart.vue?vue&type=template&id=7a3e02f2&
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-stacked-bar-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_stacked_bar_chartvue_type_script_lang_js_ = ({
name: 'CcvStackedBarChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["g" /* StackedBarChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-stacked-bar-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_stacked_bar_chartvue_type_script_lang_js_ = (ccv_stacked_bar_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-stacked-bar-chart.vue
/* normalize component */
var ccv_stacked_bar_chart_component = normalizeComponent(
src_ccv_stacked_bar_chartvue_type_script_lang_js_,
ccv_stacked_bar_chartvue_type_template_id_7a3e02f2_render,
ccv_stacked_bar_chartvue_type_template_id_7a3e02f2_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_stacked_bar_chart = (ccv_stacked_bar_chart_component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-line-chart.vue?vue&type=template&id=75423267&
var ccv_line_chartvue_type_template_id_75423267_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-line-chart"})}
var ccv_line_chartvue_type_template_id_75423267_staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-line-chart.vue?vue&type=template&id=75423267&
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-line-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_line_chartvue_type_script_lang_js_ = ({
name: 'CcvLineChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["c" /* LineChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-line-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_line_chartvue_type_script_lang_js_ = (ccv_line_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-line-chart.vue
/* normalize component */
var ccv_line_chart_component = normalizeComponent(
src_ccv_line_chartvue_type_script_lang_js_,
ccv_line_chartvue_type_template_id_75423267_render,
ccv_line_chartvue_type_template_id_75423267_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_line_chart = (ccv_line_chart_component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-scatter-chart.vue?vue&type=template&id=14f6f799&
var ccv_scatter_chartvue_type_template_id_14f6f799_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-scatter-chart"})}
var ccv_scatter_chartvue_type_template_id_14f6f799_staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-scatter-chart.vue?vue&type=template&id=14f6f799&
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-scatter-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_scatter_chartvue_type_script_lang_js_ = ({
name: 'CcvScatterChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["e" /* ScatterChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-scatter-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_scatter_chartvue_type_script_lang_js_ = (ccv_scatter_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-scatter-chart.vue
/* normalize component */
var ccv_scatter_chart_component = normalizeComponent(
src_ccv_scatter_chartvue_type_script_lang_js_,
ccv_scatter_chartvue_type_template_id_14f6f799_render,
ccv_scatter_chartvue_type_template_id_14f6f799_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_scatter_chart = (ccv_scatter_chart_component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-donut-chart.vue?vue&type=template&id=4b5bc396&
var ccv_donut_chartvue_type_template_id_4b5bc396_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-donut-chart"})}
var ccv_donut_chartvue_type_template_id_4b5bc396_staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-donut-chart.vue?vue&type=template&id=4b5bc396&
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-donut-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_donut_chartvue_type_script_lang_js_ = ({
name: 'CcvDonutChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["a" /* DonutChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-donut-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_donut_chartvue_type_script_lang_js_ = (ccv_donut_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-donut-chart.vue
/* normalize component */
var ccv_donut_chart_component = normalizeComponent(
src_ccv_donut_chartvue_type_script_lang_js_,
ccv_donut_chartvue_type_template_id_4b5bc396_render,
ccv_donut_chartvue_type_template_id_4b5bc396_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_donut_chart = (ccv_donut_chart_component.exports);
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"083dd004-vue-loader-template"}!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-pie-chart.vue?vue&type=template&id=4aa9c40b&
var ccv_pie_chartvue_type_template_id_4aa9c40b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-pie-chart"})}
var ccv_pie_chartvue_type_template_id_4aa9c40b_staticRenderFns = []
// CONCATENATED MODULE: ./src/ccv-pie-chart.vue?vue&type=template&id=4aa9c40b&
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/thread-loader/dist/cjs.js!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/IBM/sterling-dataviz/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-pie-chart.vue?vue&type=script&lang=js&
//
//
//
//
/* harmony default export */ var ccv_pie_chartvue_type_script_lang_js_ = ({
name: 'CcvPieChart',
extends: ccv_base_chart,
mounted: function mounted() {
this.coreChart = new dist["d" /* PieChart */](this.$el, {
data: this.data,
options: this.options
});
}
});
// CONCATENATED MODULE: ./src/ccv-pie-chart.vue?vue&type=script&lang=js&
/* harmony default export */ var src_ccv_pie_chartvue_type_script_lang_js_ = (ccv_pie_chartvue_type_script_lang_js_);
// CONCATENATED MODULE: ./src/ccv-pie-chart.vue
/* normalize component */
var ccv_pie_chart_component = normalizeComponent(
src_ccv_pie_chartvue_type_script_lang_js_,
ccv_pie_chartvue_type_template_id_4aa9c40b_render,
ccv_pie_chartvue_type_template_id_4aa9c40b_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var ccv_pie_chart = (ccv_pie_chart_component.exports);
// CONCATENATED MODULE: ./src/index.js
var components = [ccv_simple_bar_chart, ccv_grouped_bar_chart, ccv_stacked_bar_chart, ccv_line_chart, ccv_scatter_chart, ccv_donut_chart, ccv_pie_chart];
/*
Allows the module to be used as a Vue plug-in, and has an install()
method (which is called when the plug-in loads) that registers all the
components.
*/
/* harmony default export */ var src = ({
// options is an array of components to be registered
// e.g. ['c-button', 'c-modal']
install: function install(Vue, options) {
if (typeof options === 'undefined') {
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
for (var _iterator = components[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var c = _step.value;
Vue.component(c.name, c);
}
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return != null) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
} else {
if (!(options instanceof Array)) {
throw new TypeError('options must be an array');
}
var _iteratorNormalCompletion2 = true;
var _didIteratorError2 = false;
var _iteratorError2 = undefined;
try {
for (var _iterator2 = components[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
var _c = _step2.value;
// register only components specified in the options
if (options.includes(_c.name)) {
Vue.component(_c.name, _c);
}
}
} catch (err) {
_didIteratorError2 = true;
_iteratorError2 = err;
} finally {
try {
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
_iterator2.return();
}
} finally {
if (_didIteratorError2) {
throw _iteratorError2;
}
}
}
}
}
});
/*
Allows import of individual components from the module, as an
alternative to loading them all via a Vue plug-in.
*/
// CONCATENATED MODULE: /home/travis/build/IBM/sterling-dataviz/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* concated harmony reexport CcvSimpleBarChart */__webpack_require__.d(__webpack_exports__, "CcvSimpleBarChart", function() { return ccv_simple_bar_chart; });
/* concated harmony reexport CcvGroupedBarChart */__webpack_require__.d(__webpack_exports__, "CcvGroupedBarChart", function() { return ccv_grouped_bar_chart; });
/* concated harmony reexport CcvStackedBarChart */__webpack_require__.d(__webpack_exports__, "CcvStackedBarChart", function() { return ccv_stacked_bar_chart; });
/* concated harmony reexport CcvLineChart */__webpack_require__.d(__webpack_exports__, "CcvLineChart", function() { return ccv_line_chart; });
/* concated harmony reexport CcvScatterChart */__webpack_require__.d(__webpack_exports__, "CcvScatterChart", function() { return ccv_scatter_chart; });
/* concated harmony reexport CcvDonutChart */__webpack_require__.d(__webpack_exports__, "CcvDonutChart", function() { return ccv_donut_chart; });
/* concated harmony reexport CcvPieChart */__webpack_require__.d(__webpack_exports__, "CcvPieChart", function() { return ccv_pie_chart; });
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src);
/***/ }),
/***/ "25a6":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "2866":
/***/ (function(module, exports, __webpack_require__) {
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
var toIObject = __webpack_require__("0b04");
var gOPN = __webpack_require__("c74b").f;
var toString = {}.toString;
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function (it) {
try {
return gOPN(it);
} catch (e) {
return windowNames.slice();
}
};
module.exports.f = function getOwnPropertyNames(it) {
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
};
/***/ }),
/***/ "2c53":
/***/ (function(module, exports) {
var g;
// This works in non-strict mode
g = (function() {
return this;
})();
try {
// This works if eval is allowed (see CSP)
g = g || new Function("return this")();
} catch (e) {
// This works if the window reference is available
if (typeof window === "object") g = window;
}
// g can still be undefined, but nothing to do about it...
// We return undefined, instead of nothing here, so it's
// easier to handle this case. if(!global) { ...}
module.exports = g;
/***/ }),
/***/ "2d2d":
/***/ (function(module, exports) {
module.exports = function (done, value) {
return { value: value, done: !!done };
};
/***/ }),
/***/ "2e73":
/***/ (function(module, exports, __webpack_require__) {
var $iterators = __webpack_require__("dde3");
var getKeys = __webpack_require__("8996");
var redefine = __webpack_require__("e385");
var global = __webpack_require__("0e8c");
var hide = __webpack_require__("bafe");
var Iterators = __webpack_require__("9dd3");
var wks = __webpack_require__("d951");
var ITERATOR = wks('iterator');
var TO_STRING_TAG = wks('toStringTag');
var ArrayValues = Iterators.Array;
var DOMIterables = {
CSSRuleList: true, // TODO: Not spec compliant, should be false.
CSSStyleDeclaration: false,
CSSValueList: false,
ClientRectList: false,
DOMRectList: false,
DOMStringList: false,
DOMTokenList: true,
DataTransferItemList: false,
FileList: false,
HTMLAllCollection: false,
HTMLCollection: false,
HTMLFormElement: false,
HTMLSelectElement: false,
MediaList: true, // TODO: Not spec compliant, should be false.
MimeTypeArray: false,
NamedNodeMap: false,
NodeList: true,
PaintRequestList: false,
Plugin: false,
PluginArray: false,
SVGLengthList: false,
SVGNumberList: false,
SVGPathSegList: false,
SVGPointList: false,
SVGStringList: false,
SVGTransformList: false,
SourceBufferList: false,
StyleSheetList: true, // TODO: Not spec compliant, should be false.
TextTrackCueList: false,
TextTrackList: false,
TouchList: false
};
for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
var NAME = collections[i];
var explicit = DOMIterables[NAME];
var Collection = global[NAME];
var proto = Collection && Collection.prototype;
var key;
if (proto) {
if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
Iterators[NAME] = ArrayValues;
if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
}
}
/***/ }),
/***/ "3460":
/***/ (function(module, exports, __webpack_require__) {
var core = __webpack_require__("5c50");
var global = __webpack_require__("0e8c");
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: core.version,
mode: __webpack_require__("742f") ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
/***/ "36f8":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("0e8c");
var core = __webpack_require__("5c50");
var LIBRARY = __webpack_require__("742f");
var wksExt = __webpack_require__("b6ac");
var defineProperty = __webpack_require__("6f0d").f;
module.exports = function (name) {
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
};
/***/ }),
/***/ "3bd0":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var create = __webpack_require__("bec8");
var descriptor = __webpack_require__("ad8d");
var setToStringTag = __webpack_require__("0e85");
var IteratorPrototype = {};
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
__webpack_require__("bafe")(IteratorPrototype, __webpack_require__("d951")('iterator'), function () { return this; });
module.exports = function (Constructor, NAME, next) {
Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
setToStringTag(Constructor, NAME + ' Iterator');
};
/***/ }),
/***/ "3cd0":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return KO; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return UO; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return XO; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return ZO; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return qO; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return HO; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return YO; });
/* unused harmony export colorPalettes */
/* unused harmony export configurations */
/* unused harmony export defaultColors */
/* unused harmony export interfaces */
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var t,e,n,r,i,o,a,s,u,c,l,f=function(t,e){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function h(t,e){function n(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}!function(t){t.DEFAULT="default",t.G100="g100",t.G90="g90",t.G10="g10"}(t||(t={})),function(t){t.LEFT="left",t.RIGHT="right",t.TOP="top",t.BOTTOM="bottom"}(e||(e={})),function(t){t.PRIMARY="primary",t.SECONDARY="secondary"}(n||(n={})),function(t){t.TIME="time",t.LINEAR="linear",t.LOG="log",t.LABELS="labels"}(r||(r={})),function(t){t.MOUSE="mouse",t.TOP="top",t.BOTTOM="bottom"}(i||(i={})),function(t){t.DATAPOINT="datapoint",t.GRIDLINE="gridline",t.TITLE="title"}(o||(o={})),function(t){t.RIGHT="right",t.LEFT="left",t.TOP="top",t.BOTTOM="bottom"}(a||(a={})),function(t){t.HORIZONTAL="horizontal",t.VERTICAL="vertical"}(s||(s={})),function(t){t.ROW="row",t.COLUMN="column",t.ROW_REVERSE="row-reverse",t.COLUMN_REVERSE="column-reverse"}(u||(u={})),function(t){t.FIXED="fixed",t.PREFERRED="preferred",t.STRETCH="stretch"}(c||(c={})),function(t){t.LEFT="left",t.RIGHT="right"}(l||(l={}));var p=Object.freeze({get ChartTheme(){return t},get AxisPositions(){return e},get AxisTypes(){return n},get ScaleTypes(){return r},get TooltipPosition(){return i},get TooltipTypes(){return o},get LegendPositions(){return a},get LegendOrientations(){return s},get LayoutDirection(){return u},get LayoutGrowth(){return c},get CalloutDirections(){return l}}),d="object"==typeof global&&global&&global.Object===Object&&global,v="object"==typeof self&&self&&self.Object===Object&&self,g=d||v||Function("return this")(),y=g.Symbol,_=Object.prototype,m=_.hasOwnProperty,b=_.toString,x=y?y.toStringTag:void 0;var w=Object.prototype.toString;var O="[object Null]",T="[object Undefined]",E=y?y.toStringTag:void 0;function M(t){return null==t?void 0===t?T:O:E&&E in Object(t)?function(t){var e=m.call(t,x),n=t[x];try{t[x]=void 0;var r=!0}catch(t){}var i=b.call(t);return r&&(e?t[x]=n:delete t[x]),i}(t):function(t){return w.call(t)}(t)}function A(t){return null!=t&&"object"==typeof t}var S="[object Symbol]";function k(t){return"symbol"==typeof t||A(t)&&M(t)==S}var L=NaN;function j(t){return"number"==typeof t?t:k(t)?L:+t}function C(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var D=Array.isArray,P=1/0,R=y?y.prototype:void 0,I=R?R.toString:void 0;function N(t){if("string"==typeof t)return t;if(D(t))return C(t,N)+"";if(k(t))return I?I.call(t):"";var e=t+"";return"0"==e&&1/t==-P?"-0":e}function B(t,e){return function(n,r){var i;if(void 0===n&&void 0===r)return e;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=N(n),r=N(r)):(n=j(n),r=j(r)),i=t(n,r)}return i}}var F=B((function(t,e){return t+e}),0);function z(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var G=NaN,W=/^\s+|\s+$/g,V=/^[-+]0x[0-9a-f]+$/i,H=/^0b[01]+$/i,U=/^0o[0-7]+$/i,Y=parseInt;function X(t){if("number"==typeof t)return t;if(k(t))return G;if(z(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=z(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(W,"");var n=H.test(t);return n||U.test(t)?Y(t.slice(2),n?2:8):V.test(t)?G:+t}var q=1/0,$=17976931348623157e292;function Z(t){return t?(t=X(t))===q||t===-q?(t<0?-1:1)*$:t==t?t:0:0===t?t:0}function K(t){var e=Z(t),n=e%1;return e==e?n?e-n:e:0}var J="Expected a function";function Q(t){return t}var tt="[object AsyncFunction]",et="[object Function]",nt="[object GeneratorFunction]",rt="[object Proxy]";function it(t){if(!z(t))return!1;var e=M(t);return e==et||e==nt||e==tt||e==rt}var ot,at=g["__core-js_shared__"],st=(ot=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||""))?"Symbol(src)_1."+ot:"";var ut=Function.prototype.toString;function ct(t){if(null!=t){try{return ut.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var lt=/^\[object .+?Constructor\]$/,ft=Function.prototype,ht=Object.prototype,pt=ft.toString,dt=ht.hasOwnProperty,vt=RegExp("^"+pt.call(dt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gt(t){return!(!z(t)||function(t){return!!st&&st in t}(t))&&(it(t)?vt:lt).test(ct(t))}function yt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return gt(n)?n:void 0}var _t=yt(g,"WeakMap"),mt=_t&&new _t,bt=mt?function(t,e){return mt.set(t,e),t}:Q,xt=Object.create,wt=function(){function t(){}return function(e){if(!z(e))return{};if(xt)return xt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Ot(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=wt(t.prototype),r=t.apply(n,e);return z(r)?r:n}}var Tt=1;function Et(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var Mt=Math.max;function At(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,u=e.length,c=Mt(o-a,0),l=Array(u+c),f=!r;++s<u;)l[s]=e[s];for(;++i<a;)(f||i<o)&&(l[n[i]]=t[i]);for(;c--;)l[s++]=t[i++];return l}var St=Math.max;function kt(t,e,n,r){for(var i=-1,o=t.length,a=-1,s=n.length,u=-1,c=e.length,l=St(o-s,0),f=Array(l+c),h=!r;++i<l;)f[i]=t[i];for(var p=i;++u<c;)f[p+u]=e[u];for(;++a<s;)(h||i<o)&&(f[p+n[a]]=t[i++]);return f}function Lt(){}var jt=4294967295;function Ct(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=jt,this.__views__=[]}function Dt(){}Ct.prototype=wt(Lt.prototype),Ct.prototype.constructor=Ct;var Pt=mt?function(t){return mt.get(t)}:Dt,Rt={},It=Object.prototype.hasOwnProperty;function Nt(t){for(var e=t.name+"",n=Rt[e],r=It.call(Rt,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Bt(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Ft(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function zt(t){if(t instanceof Ct)return t.clone();var e=new Bt(t.__wrapped__,t.__chain__);return e.__actions__=Ft(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}Bt.prototype=wt(Lt.prototype),Bt.prototype.constructor=Bt;var Gt=Object.prototype.hasOwnProperty;function Wt(t){if(A(t)&&!D(t)&&!(t instanceof Ct)){if(t instanceof Bt)return t;if(Gt.call(t,"__wrapped__"))return zt(t)}return new Bt(t)}function Vt(t){var e=Nt(t),n=Wt[e];if("function"!=typeof n||!(e in Ct.prototype))return!1;if(t===n)return!0;var r=Pt(n);return!!r&&t===r[0]}Wt.prototype=Lt.prototype,Wt.prototype.constructor=Wt;var Ht=800,Ut=16,Yt=Date.now;function Xt(t){var e=0,n=0;return function(){var r=Yt(),i=Ut-(r-n);if(n=r,i>0){if(++e>=Ht)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var qt=Xt(bt),$t=/\{\n\/\* \[wrapped with (.+)\] \*/,Zt=/,? & /;var Kt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Jt(t){return function(){return t}}var Qt=function(){try{var t=yt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),te=Xt(Qt?function(t,e){return Qt(t,"toString",{configurable:!0,enumerable:!1,value:Jt(e),writable:!0})}:Q);function ee(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function ne(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function re(t){return t!=t}function ie(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):ne(t,re,n)}function oe(t,e){return!!(null==t?0:t.length)&&ie(t,e,0)>-1}var ae=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function se(t,e,n){var r=e+"";return te(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Kt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ee(ae,(function(n){var r="_."+n[0];e&n[1]&&!oe(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match($t);return e?e[1].split(Zt):[]}(r),n)))}var ue=1,ce=2,le=4,fe=8,he=32,pe=64;function de(t,e,n,r,i,o,a,s,u,c){var l=e&fe;e|=l?he:pe,(e&=~(l?pe:he))&le||(e&=~(ue|ce));var f=[t,e,i,l?o:void 0,l?a:void 0,l?void 0:o,l?void 0:a,s,u,c],h=n.apply(void 0,f);return Vt(t)&&qt(h,f),h.placeholder=r,se(h,t,e)}function ve(t){return t.placeholder}var ge=9007199254740991,ye=/^(?:0|[1-9]\d*)$/;function _e(t,e){var n=typeof t;return!!(e=null==e?ge:e)&&("number"==n||"symbol"!=n&&ye.test(t))&&t>-1&&t%1==0&&t<e}var me=Math.min;var be="__lodash_placeholder__";function xe(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==be||(t[n]=be,o[i++]=n)}return o}var we=1,Oe=2,Te=8,Ee=16,Me=128,Ae=512;function Se(t,e,n,r,i,o,a,s,u,c){var l=e&Me,f=e&we,h=e&Oe,p=e&(Te|Ee),d=e&Ae,v=h?void 0:Ot(t);return function y(){for(var _=arguments.length,m=Array(_),b=_;b--;)m[b]=arguments[b];if(p)var x=ve(y),w=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(m,x);if(r&&(m=At(m,r,i,p)),o&&(m=kt(m,o,a,p)),_-=w,p&&_<c){var O=xe(m,x);return de(t,e,Se,y.placeholder,n,m,O,s,u,c-_)}var T=f?n:this,E=h?T[t]:t;return _=m.length,s?m=function(t,e){for(var n=t.length,r=me(e.length,n),i=Ft(t);r--;){var o=e[r];t[r]=_e(o,n)?i[o]:void 0}return t}(m,s):d&&_>1&&m.reverse(),l&&u<_&&(m.length=u),this&&this!==g&&this instanceof y&&(E=v||Ot(E)),E.apply(T,m)}}var ke=1;var Le="__lodash_placeholder__",je=1,Ce=2,De=4,Pe=8,Re=128,Ie=256,Ne=Math.min;var Be="Expected a function",Fe=1,ze=2,Ge=8,We=16,Ve=32,He=64,Ue=Math.max;function Ye(t,e,n,r,i,o,a,s){var u=e&ze;if(!u&&"function"!=typeof t)throw new TypeError(Be);var c=r?r.length:0;if(c||(e&=~(Ve|He),r=i=void 0),a=void 0===a?a:Ue(K(a),0),s=void 0===s?s:K(s),c-=i?i.length:0,e&He){var l=r,f=i;r=i=void 0}var h=u?void 0:Pt(t),p=[t,e,n,r,i,l,f,o,a,s];if(h&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(je|Ce|Re),a=r==Re&&n==Pe||r==Re&&n==Ie&&t[7].length<=e[8]||r==(Re|Ie)&&e[7].length<=e[8]&&n==Pe;if(!o&&!a)return t;r&je&&(t[2]=e[2],i|=n&je?0:De);var s=e[3];if(s){var u=t[3];t[3]=u?At(u,s,e[4]):s,t[4]=u?xe(t[3],Le):e[4]}(s=e[5])&&(u=t[5],t[5]=u?kt(u,s,e[6]):s,t[6]=u?xe(t[5],Le):e[6]),(s=e[7])&&(t[7]=s),r&Re&&(t[8]=null==t[8]?e[8]:Ne(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(p,h),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],!(s=p[9]=void 0===p[9]?u?0:t.length:Ue(p[9]-c,0))&&e&(Ge|We)&&(e&=~(Ge|We)),e&&e!=Fe)d=e==Ge||e==We?function(t,e,n){var r=Ot(t);return function i(){for(var o=arguments.length,a=Array(o),s=o,u=ve(i);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==u&&a[o-1]!==u?[]:xe(a,u);return(o-=c.length)<n?de(t,e,Se,i.placeholder,void 0,a,c,void 0,void 0,n-o):Et(this&&this!==g&&this instanceof i?r:t,this,a)}}(t,e,s):e!=Ve&&e!=(Fe|Ve)||i.length?Se.apply(void 0,p):function(t,e,n,r){var i=e&ke,o=Ot(t);return function e(){for(var a=-1,s=arguments.length,u=-1,c=r.length,l=Array(c+s),f=this&&this!==g&&this instanceof e?o:t;++u<c;)l[u]=r[u];for(;s--;)l[u++]=arguments[++a];return Et(f,i?n:this,l)}}(t,e,n,r);else var d=function(t,e,n){var r=e&Tt,i=Ot(t);return function e(){return(this&&this!==g&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return se((h?bt:qt)(d,p),t,e)}var Xe=128;function qe(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,Ye(t,Xe,void 0,void 0,void 0,void 0,e)}function $e(t,e,n){"__proto__"==e&&Qt?Qt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Ze(t,e){return t===e||t!=t&&e!=e}var Ke=Object.prototype.hasOwnProperty;function Je(t,e,n){var r=t[e];Ke.call(t,e)&&Ze(r,n)&&(void 0!==n||e in t)||$e(t,e,n)}function Qe(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=r?r(n[s],t[s],s,n,t):void 0;void 0===u&&(u=t[s]),i?$e(n,s,u):Je(n,s,u)}return n}var tn=Math.max;function en(t,e,n){return e=tn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=tn(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),Et(t,this,s)}}function nn(t,e){return te(en(t,e,Q),t+"")}var rn=9007199254740991;function on(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=rn}function an(t){return null!=t&&on(t.length)&&!it(t)}function sn(t,e,n){if(!z(n))return!1;var r=typeof e;return!!("number"==r?an(n)&&_e(e,n.length):"string"==r&&e in n)&&Ze(n[e],t)}function un(t){return nn((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&sn(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e}))}var cn=Object.prototype;function ln(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||cn)}function fn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var hn="[object Arguments]";function pn(t){return A(t)&&M(t)==hn}var dn=Object.prototype,vn=dn.hasOwnProperty,gn=dn.propertyIsEnumerable,yn=pn(function(){return arguments}())?pn:function(t){return A(t)&&vn.call(t,"callee")&&!gn.call(t,"callee")};function _n(){return!1}var mn="object"==typeof exports&&exports&&!exports.nodeType&&exports,bn=mn&&"object"==typeof module&&module&&!module.nodeType&&module,xn=bn&&bn.exports===mn?g.Buffer:void 0,wn=(xn?xn.isBuffer:void 0)||_n,On={};function Tn(t){return function(e){return t(e)}}On["[object Float32Array]"]=On["[object Float64Array]"]=On["[object Int8Array]"]=On["[object Int16Array]"]=On["[object Int32Array]"]=On["[object Uint8Array]"]=On["[object Uint8ClampedArray]"]=On["[object Uint16Array]"]=On["[object Uint32Array]"]=!0,On["[object Arguments]"]=On["[object Array]"]=On["[object ArrayBuffer]"]=On["[object Boolean]"]=On["[object DataView]"]=On["[object Date]"]=On["[object Error]"]=On["[object Function]"]=On["[object Map]"]=On["[object Number]"]=On["[object Object]"]=On["[object RegExp]"]=On["[object Set]"]=On["[object String]"]=On["[object WeakMap]"]=!1;var En="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mn=En&&"object"==typeof module&&module&&!module.nodeType&&module,An=Mn&&Mn.exports===En&&d.process,Sn=function(){try{var t=Mn&&Mn.require&&Mn.require("util").types;return t||An&&An.binding&&An.binding("util")}catch(t){}}(),kn=Sn&&Sn.isTypedArray,Ln=kn?Tn(kn):function(t){return A(t)&&on(t.length)&&!!On[M(t)]},jn=Object.prototype.hasOwnProperty;function Cn(t,e){var n=D(t),r=!n&&yn(t),i=!n&&!r&&wn(t),o=!n&&!r&&!i&&Ln(t),a=n||r||i||o,s=a?fn(t.length,String):[],u=s.length;for(var c in t)!e&&!jn.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_e(c,u))||s.push(c);return s}function Dn(t,e){return function(n){return t(e(n))}}var Pn=Dn(Object.keys,Object),Rn=Object.prototype.hasOwnProperty;function In(t){if(!ln(t))return Pn(t);var e=[];for(var n in Object(t))Rn.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Nn(t){return an(t)?Cn(t):In(t)}var Bn=Object.prototype.hasOwnProperty,Fn=un((function(t,e){if(ln(e)||an(e))Qe(e,Nn(e),t);else for(var n in e)Bn.call(e,n)&&Je(t,n,e[n])}));var zn=Object.prototype.hasOwnProperty;function Gn(t){if(!z(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=ln(t),n=[];for(var r in t)("constructor"!=r||!e&&zn.call(t,r))&&n.push(r);return n}function Wn(t){return an(t)?Cn(t,!0):Gn(t)}var Vn=un((function(t,e){Qe(e,Wn(e),t)})),Hn=un((function(t,e,n,r){Qe(e,Wn(e),t,r)})),Un=un((function(t,e,n,r){Qe(e,Nn(e),t,r)})),Yn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xn=/^\w*$/;function qn(t,e){if(D(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!k(t))||(Xn.test(t)||!Yn.test(t)||null!=e&&t in Object(e))}var $n=yt(Object,"create");var Zn="__lodash_hash_undefined__",Kn=Object.prototype.hasOwnProperty;var Jn=Object.prototype.hasOwnProperty;var Qn="__lodash_hash_undefined__";function tr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function er(t,e){for(var n=t.length;n--;)if(Ze(t[n][0],e))return n;return-1}tr.prototype.clear=function(){this.__data__=$n?$n(null):{},this.size=0},tr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},tr.prototype.get=function(t){var e=this.__data__;if($n){var n=e[t];return n===Zn?void 0:n}return Kn.call(e,t)?e[t]:void 0},tr.prototype.has=function(t){var e=this.__data__;return $n?void 0!==e[t]:Jn.call(e,t)},tr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=$n&&void 0===e?Qn:e,this};var nr=Array.prototype.splice;function rr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}rr.prototype.clear=function(){this.__data__=[],this.size=0},rr.prototype.delete=function(t){var e=this.__data__,n=er(e,t);return!(n<0)&&(n==e.length-1?e.pop():nr.call(e,n,1),--this.size,!0)},rr.prototype.get=function(t){var e=this.__data__,n=er(e,t);return n<0?void 0:e[n][1]},rr.prototype.has=function(t){return er(this.__data__,t)>-1},rr.prototype.set=function(t,e){var n=this.__data__,r=er(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var ir=yt(g,"Map");function or(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ar(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ar.prototype.clear=function(){this.size=0,this.__data__={hash:new tr,map:new(ir||rr),string:new tr}},ar.prototype.delete=function(t){var e=or(this,t).delete(t);return this.size-=e?1:0,e},ar.prototype.get=function(t){return or(this,t).get(t)},ar.prototype.has=function(t){return or(this,t).has(t)},ar.prototype.set=function(t,e){var n=or(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};var sr="Expected a function";function ur(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(sr);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ur.Cache||ar),n}ur.Cache=ar;var cr=500;var lr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fr=/\\(\\)?/g,hr=function(t){var e=ur(t,(function(t){return n.size===cr&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(lr,(function(t,n,r,i){e.push(r?i.replace(fr,"$1"):n||t)})),e}));function pr(t){return null==t?"":N(t)}function dr(t,e){return D(t)?t:qn(t,e)?[t]:hr(pr(t))}var vr=1/0;function gr(t){if("string"==typeof t||k(t))return t;var e=t+"";return"0"==e&&1/t==-vr?"-0":e}function yr(t,e){for(var n=0,r=(e=dr(e,t)).length;null!=t&&n<r;)t=t[gr(e[n++])];return n&&n==r?t:void 0}function _r(t,e,n){var r=null==t?void 0:yr(t,e);return void 0===r?n:r}function mr(t,e){for(var n=-1,r=e.length,i=Array(r),o=null==t;++n<r;)i[n]=o?void 0:_r(t,e[n]);return i}function br(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var xr=y?y.isConcatSpreadable:void 0;function wr(t){return D(t)||yn(t)||!!(xr&&t&&t[xr])}function Or(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=wr),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?Or(s,e-1,n,r,i):br(i,s):r||(i[i.length]=s)}return i}function Tr(t){return(null==t?0:t.length)?Or(t,1):[]}function Er(t){return te(en(t,void 0,Tr),t+"")}var Mr=Er(mr),Ar=Dn(Object.getPrototypeOf,Object),Sr="[object Object]",kr=Function.prototype,Lr=Object.prototype,jr=kr.toString,Cr=Lr.hasOwnProperty,Dr=jr.call(Object);function Pr(t){if(!A(t)||M(t)!=Sr)return!1;var e=Ar(t);if(null===e)return!0;var n=Cr.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&jr.call(n)==Dr}var Rr="[object DOMException]",Ir="[object Error]";function Nr(t){if(!A(t))return!1;var e=M(t);return e==Ir||e==Rr||"string"==typeof t.message&&"string"==typeof t.name&&!Pr(t)}var Br=nn((function(t,e){try{return Et(t,void 0,e)}catch(t){return Nr(t)?t:new Error(t)}})),Fr="Expected a function";function zr(t,e){var n;if("function"!=typeof e)throw new TypeError(Fr);return t=K(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var Gr=nn((function(t,e,n){var r=1;if(n.length){var i=xe(n,ve(Gr));r|=32}return Ye(t,r,e,n,i)}));Gr.placeholder={};var Wr=Er((function(t,e){return ee(e,(function(e){e=gr(e),$e(t,e,Gr(t[e],t))})),t})),Vr=nn((function(t,e,n){var r=3;if(n.length){var i=xe(n,ve(Vr));r|=32}return Ye(e,r,t,n,i)}));function Hr(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function Ur(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Hr(t,e,n)}Vr.placeholder={};var Yr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Xr(t){return Yr.test(t)}var qr="[\\ud800-\\udfff]",$r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Zr="\\ud83c[\\udffb-\\udfff]",Kr="[^\\ud800-\\udfff]",Jr="(?:\\ud83c[\\udde6-\\uddff]){2}",Qr="[\\ud800-\\udbff][\\udc00-\\udfff]",ti="(?:"+$r+"|"+Zr+")"+"?",ei="[\\ufe0e\\ufe0f]?"+ti+("(?:\\u200d(?:"+[Kr,Jr,Qr].join("|")+")[\\ufe0e\\ufe0f]?"+ti+")*"),ni="(?:"+[Kr+$r+"?",$r,Jr,Qr,qr].join("|")+")",ri=RegExp(Zr+"(?="+Zr+")|"+ni+ei,"g");function ii(t){return Xr(t)?function(t){return t.match(ri)||[]}(t):function(t){return t.split("")}(t)}function oi(t){return function(e){var n=Xr(e=pr(e))?ii(e):void 0,r=n?n[0]:e.charAt(0),i=n?Ur(n,1).join(""):e.slice(1);return r[t]()+i}}var ai=oi("toUpperCase");function si(t){return ai(pr(t).toLowerCase())}function ui(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function ci(t){return function(e){return null==t?void 0:t[e]}}var li=ci({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),fi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hi=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function pi(t){return(t=pr(t))&&t.replace(fi,li).replace(hi,"")}var di=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var vi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var gi="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",yi="["+gi+"]",_i="\\d+",mi="[\\u2700-\\u27bf]",bi="[a-z\\xdf-\\xf6\\xf8-\\xff]",xi="[^\\ud800-\\udfff"+gi+_i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wi="(?:\\ud83c[\\udde6-\\uddff]){2}",Oi="[\\ud800-\\udbff][\\udc00-\\udfff]",Ti="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ei="(?:"+bi+"|"+xi+")",Mi="(?:"+Ti+"|"+xi+")",Ai="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Si="[\\ufe0e\\ufe0f]?"+Ai+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",wi,Oi].join("|")+")[\\ufe0e\\ufe0f]?"+Ai+")*"),ki="(?:"+[mi,wi,Oi].join("|")+")"+Si,Li=RegExp([Ti+"?"+bi+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[yi,Ti,"$"].join("|")+")",Mi+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[yi,Ti+Ei,"$"].join("|")+")",Ti+"?"+Ei+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ti+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_i,ki].join("|"),"g");function ji(t,e,n){return t=pr(t),void 0===(e=n?void 0:e)?function(t){return vi.test(t)}(t)?function(t){return t.match(Li)||[]}(t):function(t){return t.match(di)||[]}(t):t.match(e)||[]}var Ci=RegExp("['’]","g");function Di(t){return function(e){return ui(ji(pi(e).replace(Ci,"")),t,"")}}var Pi=Di((function(t,e,n){return e=e.toLowerCase(),t+(n?si(e):e)}));var Ri=g.isFinite,Ii=Math.min;function Ni(t){var e=Math[t];return function(t,n){if(t=X(t),(n=null==n?0:Ii(K(n),292))&&Ri(t)){var r=(pr(t)+"e").split("e");return+((r=(pr(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Bi=Ni("ceil");function Fi(t){var e=Wt(t);return e.__chain__=!0,e}var zi=Math.ceil,Gi=Math.max;function Wi(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}var Vi=200;function Hi(t){var e=this.__data__=new rr(t);this.size=e.size}function Ui(t,e){return t&&Qe(e,Nn(e),t)}Hi.prototype.clear=function(){this.__data__=new rr,this.size=0},Hi.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Hi.prototype.get=function(t){return this.__data__.get(t)},Hi.prototype.has=function(t){return this.__data__.has(t)},Hi.prototype.set=function(t,e){var n=this.__data__;if(n instanceof rr){var r=n.__data__;if(!ir||r.length<Vi-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ar(r)}return n.set(t,e),this.size=n.size,this};var Yi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xi=Yi&&"object"==typeof module&&module&&!module.nodeType&&module,qi=Xi&&Xi.exports===Yi?g.Buffer:void 0,$i=qi?qi.allocUnsafe:void 0;function Zi(t,e){if(e)return t.slice();var n=t.length,r=$i?$i(n):new t.constructor(n);return t.copy(r),r}function Ki(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Ji(){return[]}var Qi=Object.prototype.propertyIsEnumerable,to=Object.getOwnPropertySymbols,eo=to?function(t){return null==t?[]:(t=Object(t),Ki(to(t),(function(e){return Qi.call(t,e)})))}:Ji;var no=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)br(e,eo(t)),t=Ar(t);return e}:Ji;function ro(t,e,n){var r=e(t);return D(t)?r:br(r,n(t))}function io(t){return ro(t,Nn,eo)}function oo(t){return ro(t,Wn,no)}var ao=yt(g,"DataView"),so=yt(g,"Promise"),uo=yt(g,"Set"),co=ct(ao),lo=ct(ir),fo=ct(so),ho=ct(uo),po=ct(_t),vo=M;(ao&&"[object DataView]"!=vo(new ao(new ArrayBuffer(1)))||ir&&"[object Map]"!=vo(new ir)||so&&"[object Promise]"!=vo(so.resolve())||uo&&"[object Set]"!=vo(new uo)||_t&&"[object WeakMap]"!=vo(new _t))&&(vo=function(t){var e=M(t),n="[object Object]"==e?t.constructor:void 0,r=n?ct(n):"";if(r)switch(r){case co:return"[object DataView]";case lo:return"[object Map]";case fo:return"[object Promise]";case ho:return"[object Set]";case po:return"[object WeakMap]"}return e});var go=vo,yo=Object.prototype.hasOwnProperty;var _o=g.Uint8Array;function mo(t){var e=new t.constructor(t.byteLength);return new _o(e).set(new _o(t)),e}var bo=/\w*$/;var xo=y?y.prototype:void 0,wo=xo?xo.valueOf:void 0;function Oo(t,e){var n=e?mo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var To="[object Boolean]",Eo="[object Date]",Mo="[object Map]",Ao="[object Number]",So="[object RegExp]",ko="[object Set]",Lo="[object String]",jo="[object Symbol]",Co="[object ArrayBuffer]",Do="[object DataView]",Po="[object Float32Array]",Ro="[object Float64Array]",Io="[object Int8Array]",No="[object Int16Array]",Bo="[object Int32Array]",Fo="[object Uint8Array]",zo="[object Uint8ClampedArray]",Go="[object Uint16Array]",Wo="[object Uint32Array]";function Vo(t,e,n){var r,i=t.constructor;switch(e){case Co:return mo(t);case To:case Eo:return new i(+t);case Do:return function(t,e){var n=e?mo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case Po:case Ro:case Io:case No:case Bo:case Fo:case zo:case Go:case Wo:return Oo(t,n);case Mo:return new i;case Ao:case Lo:return new i(t);case So:return function(t){var e=new t.constructor(t.source,bo.exec(t));return e.lastIndex=t.lastIndex,e}(t);case ko:return new i;case jo:return r=t,wo?Object(wo.call(r)):{}}}function Ho(t){return"function"!=typeof t.constructor||ln(t)?{}:wt(Ar(t))}var Uo="[object Map]";var Yo=Sn&&Sn.isMap,Xo=Yo?Tn(Yo):function(t){return A(t)&&go(t)==Uo},qo="[object Set]";var $o=Sn&&Sn.isSet,Zo=$o?Tn($o):function(t){return A(t)&&go(t)==qo},Ko=1,Jo=2,Qo=4,ta="[object Arguments]",ea="[object Function]",na="[object GeneratorFunction]",ra="[object Object]",ia={};function oa(t,e,n,r,i,o){var a,s=e&Ko,u=e&Jo,c=e&Qo;if(n&&(a=i?n(t,r,i,o):n(t)),void 0!==a)return a;if(!z(t))return t;var l=D(t);if(l){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&yo.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return Ft(t,a)}else{var f=go(t),h=f==ea||f==na;if(wn(t))return Zi(t,s);if(f==ra||f==ta||h&&!i){if(a=u||h?{}:Ho(t),!s)return u?function(t,e){return Qe(t,no(t),e)}(t,function(t,e){return t&&Qe(e,Wn(e),t)}(a,t)):function(t,e){return Qe(t,eo(t),e)}(t,Ui(a,t))}else{if(!ia[f])return i?t:{};a=Vo(t,f,s)}}o||(o=new Hi);var p=o.get(t);if(p)return p;o.set(t,a),Zo(t)?t.forEach((function(r){a.add(oa(r,e,n,r,t,o))})):Xo(t)&&t.forEach((function(r,i){a.set(i,oa(r,e,n,i,t,o))}));var d=c?u?oo:io:u?keysIn:Nn,v=l?void 0:d(t);return ee(v||t,(function(r,i){v&&(r=t[i=r]),Je(a,i,oa(r,e,n,i,t,o))})),a}ia[ta]=ia["[object Array]"]=ia["[object ArrayBuffer]"]=ia["[object DataView]"]=ia["[object Boolean]"]=ia["[object Date]"]=ia["[object Float32Array]"]=ia["[object Float64Array]"]=ia["[object Int8Array]"]=ia["[object Int16Array]"]=ia["[object Int32Array]"]=ia["[object Map]"]=ia["[object Number]"]=ia[ra]=ia["[object RegExp]"]=ia["[object Set]"]=ia["[object String]"]=ia["[object Symbol]"]=ia["[object Uint8Array]"]=ia["[object Uint8ClampedArray]"]=ia["[object Uint16Array]"]=ia["[object Uint32Array]"]=!0,ia["[object Error]"]=ia[ea]=ia["[object WeakMap]"]=!1;var aa=4;var sa=1,ua=4;function ca(t){return oa(t,sa|ua)}var la=1,fa=4;var ha=4;var pa="__lodash_hash_undefined__";function da(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ar;++e<n;)this.add(t[e])}function va(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function ga(t,e){return t.has(e)}da.prototype.add=da.prototype.push=function(t){return this.__data__.set(t,pa),this},da.prototype.has=function(t){return this.__data__.has(t)};var ya=1,_a=2;function ma(t,e,n,r,i,o){var a=n&ya,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,h=n&_a?new da:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var p=t[l],d=e[l];if(r)var v=a?r(d,p,l,e,t,o):r(p,d,l,t,e,o);if(void 0!==v){if(v)continue;f=!1;break}if(h){if(!va(e,(function(t,e){if(!ga(h,e)&&(p===t||i(p,t,n,r,o)))return h.push(e)}))){f=!1;break}}else if(p!==d&&!i(p,d,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function ba(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function xa(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var wa=1,Oa=2,Ta="[object Boolean]",Ea="[object Date]",Ma="[object Error]",Aa="[object Map]",Sa="[object Number]",ka="[object RegExp]",La="[object Set]",ja="[object String]",Ca="[object Symbol]",Da="[object ArrayBuffer]",Pa="[object DataView]",Ra=y?y.prototype:void 0,Ia=Ra?Ra.valueOf:void 0;var Na=1,Ba=Object.prototype.hasOwnProperty;var Fa=1,za="[object Arguments]",Ga="[object Array]",Wa="[object Object]",Va=Object.prototype.hasOwnProperty;function Ha(t,e,n,r,i,o){var a=D(t),s=D(e),u=a?Ga:go(t),c=s?Ga:go(e),l=(u=u==za?Wa:u)==Wa,f=(c=c==za?Wa:c)==Wa,h=u==c;if(h&&wn(t)){if(!wn(e))return!1;a=!0,l=!1}if(h&&!l)return o||(o=new Hi),a||Ln(t)?ma(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case Pa:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Da:return!(t.byteLength!=e.byteLength||!o(new _o(t),new _o(e)));case Ta:case Ea:case Sa:return Ze(+t,+e);case Ma:return t.name==e.name&&t.message==e.message;case ka:case ja:return t==e+"";case Aa:var s=ba;case La:var u=r&wa;if(s||(s=xa),t.size!=e.size&&!u)return!1;var c=a.get(t);if(c)return c==e;r|=Oa,a.set(t,e);var l=ma(s(t),s(e),r,i,o,a);return a.delete(t),l;case Ca:if(Ia)return Ia.call(t)==Ia.call(e)}return!1}(t,e,u,n,r,i,o);if(!(n&Fa)){var p=l&&Va.call(t,"__wrapped__"),d=f&&Va.call(e,"__wrapped__");if(p||d){var v=p?t.value():t,g=d?e.value():e;return o||(o=new Hi),i(v,g,n,r,o)}}return!!h&&(o||(o=new Hi),function(t,e,n,r,i,o){var a=n&Na,s=io(t),u=s.length;if(u!=io(e).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in e:Ba.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++c<u;){var d=t[l=s[c]],v=e[l];if(r)var g=a?r(v,d,l,e,t,o):r(d,v,l,t,e,o);if(!(void 0===g?d===v||i(d,v,n,r,o):g)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var y=t.constructor,_=e.constructor;y!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return o.delete(t),o.delete(e),h}(t,e,n,r,i,o))}function Ua(t,e,n,r,i){return t===e||(null==t||null==e||!A(t)&&!A(e)?t!=t&&e!=e:Ha(t,e,n,r,Ua,i))}var Ya=1,Xa=2;function qa(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=Object(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){var u=(s=n[i])[0],c=t[u],l=s[1];if(a&&s[2]){if(void 0===c&&!(u in t))return!1}else{var f=new Hi;if(r)var h=r(c,l,u,t,e,f);if(!(void 0===h?Ua(l,c,Ya|Xa,r,f):h))return!1}}return!0}function $a(t){return t==t&&!z(t)}function Za(t){for(var e=Nn(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,$a(i)]}return e}function Ka(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function Ja(t){var e=Za(t);return 1==e.length&&e[0][2]?Ka(e[0][0],e[0][1]):function(n){return n===t||qa(n,t,e)}}function Qa(t,e){return null!=t&&e in Object(t)}function ts(t,e,n){for(var r=-1,i=(e=dr(e,t)).length,o=!1;++r<i;){var a=gr(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&on(i)&&_e(a,i)&&(D(t)||yn(t))}function es(t,e){return null!=t&&ts(t,e,Qa)}var ns=1,rs=2;function is(t,e){return qn(t)&&$a(e)?Ka(gr(t),e):function(n){var r=_r(n,t);return void 0===r&&r===e?es(n,t):Ua(e,r,ns|rs)}}function os(t){return function(e){return null==e?void 0:e[t]}}function as(t){return qn(t)?os(gr(t)):function(t){return function(e){return yr(e,t)}}(t)}function ss(t){return"function"==typeof t?t:null==t?Q:"object"==typeof t?D(t)?is(t[0],t[1]):Ja(t):as(t)}var us="Expected a function";function cs(t,e,n){var r=n.length;if(null==t)return!r;for(t=Object(t);r--;){var i=n[r],o=e[i],a=t[i];if(void 0===a&&!(i in t)||!o(a))return!1}return!0}var ls=1;function fs(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function hs(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}var ps=hs();function ds(t,e){return t&&ps(t,e,Nn)}function vs(t,e){return function(n,r){if(null==n)return n;if(!an(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Object(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}var gs=vs(ds);function ys(t,e,n,r){return gs(t,(function(t,i,o){e(r,t,n(t),o)})),r}function _s(t,e){return function(n,r){var i=D(n)?fs:ys,o=e?e():{};return i(n,t,ss(r),o)}}var ms=Object.prototype.hasOwnProperty,bs=_s((function(t,e,n){ms.call(t,n)?++t[n]:$e(t,n,1)}));var xs=8;function ws(t,e,n){var r=Ye(t,xs,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return r.placeholder=ws.placeholder,r}ws.placeholder={};var Os=16;function Ts(t,e,n){var r=Ye(t,Os,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return r.placeholder=Ts.placeholder,r}Ts.placeholder={};var Es=function(){return g.Date.now()},Ms="Expected a function",As=Math.max,Ss=Math.min;function ks(t,e,n){var r,i,o,a,s,u,c=0,l=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError(Ms);function p(e){var n=r,o=i;return r=i=void 0,c=e,a=t.apply(o,n)}function d(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-c>=o}function v(){var t=Es();if(d(t))return g(t);s=setTimeout(v,function(t){var n=e-(t-u);return f?Ss(n,o-(t-c)):n}(t))}function g(t){return s=void 0,h&&r?p(t):(r=i=void 0,a)}function y(){var t=Es(),n=d(t);if(r=arguments,i=this,u=t,n){if(void 0===s)return function(t){return c=t,s=setTimeout(v,e),l?p(t):a}(u);if(f)return clearTimeout(s),s=setTimeout(v,e),p(u)}return void 0===s&&(s=setTimeout(v,e)),a}return e=X(e)||0,z(n)&&(l=!!n.leading,o=(f="maxWait"in n)?As(X(n.maxWait)||0,e):o,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=i=s=void 0},y.flush=function(){return void 0===s?a:g(Es())},y}var Ls=Object.prototype,js=Ls.hasOwnProperty,Cs=nn((function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&sn(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],a=Wn(o),s=-1,u=a.length;++s<u;){var c=a[s],l=t[c];(void 0===l||Ze(l,Ls[c])&&!js.call(t,c))&&(t[c]=o[c])}return t}));function Ds(t,e,n){(void 0===n||Ze(t[e],n))&&(void 0!==n||e in t)||$e(t,e,n)}function Ps(t){return A(t)&&an(t)}function Rs(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Is(t){return Qe(t,Wn(t))}function Ns(t,e,n,r,i){t!==e&&ps(e,(function(o,a){if(i||(i=new Hi),z(o))!function(t,e,n,r,i,o,a){var s=Rs(t,n),u=Rs(e,n),c=a.get(u);if(c)Ds(t,n,c);else{var l=o?o(s,u,n+"",t,e,a):void 0,f=void 0===l;if(f){var h=D(u),p=!h&&wn(u),d=!h&&!p&&Ln(u);l=u,h||p||d?D(s)?l=s:Ps(s)?l=Ft(s):p?(f=!1,l=Zi(u,!0)):d?(f=!1,l=Oo(u,!0)):l=[]:Pr(u)||yn(u)?(l=s,yn(s)?l=Is(s):z(s)&&!it(s)||(l=Ho(u))):f=!1}f&&(a.set(u,l),i(l,u,r,o,a),a.delete(u)),Ds(t,n,l)}}(t,e,a,n,Ns,r,i);else{var s=r?r(Rs(t,a),o,a+"",t,e,i):void 0;void 0===s&&(s=o),Ds(t,a,s)}}),Wn)}function Bs(t,e,n,r,i,o){return z(t)&&z(e)&&(o.set(e,t),Ns(t,e,void 0,Bs,o),o.delete(e)),t}var Fs=un((function(t,e,n,r){Ns(t,e,n,r)})),zs=nn((function(t){return t.push(void 0,Bs),Et(Fs,void 0,t)})),Gs="Expected a function";function Ws(t,e,n){if("function"!=typeof t)throw new TypeError(Gs);return setTimeout((function(){t.apply(void 0,n)}),e)}var Vs=nn((function(t,e){return Ws(t,1,e)})),Hs=nn((function(t,e,n){return Ws(t,X(e)||0,n)}));function Us(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}var Ys=200;function Xs(t,e,n,r){var i=-1,o=oe,a=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=C(e,Tn(n))),r?(o=Us,a=!1):e.length>=Ys&&(o=ga,a=!1,e=new da(e));t:for(;++i<s;){var l=t[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var h=c;h--;)if(e[h]===f)continue t;u.push(l)}else o(e,f,r)||u.push(l)}return u}var qs=nn((function(t,e){return Ps(t)?Xs(t,Or(e,1,Ps,!0)):[]}));function $s(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Zs=nn((function(t,e){var n=$s(e);return Ps(n)&&(n=void 0),Ps(t)?Xs(t,Or(e,1,Ps,!0),ss(n)):[]})),Ks=nn((function(t,e){var n=$s(e);return Ps(n)&&(n=void 0),Ps(t)?Xs(t,Or(e,1,Ps,!0),void 0,n):[]})),Js=B((function(t,e){return t/e}),1);function Qs(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Hr(t,r?0:o,r?o+1:i):Hr(t,r?o+1:0,r?i:o)}function tu(t){return"function"==typeof t?t:Q}function eu(t,e){return(D(t)?ee:gs)(t,tu(e))}function nu(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}var ru=hs(!0);function iu(t,e){return t&&ru(t,e,Nn)}var ou=vs(iu,!0);function au(t,e){return(D(t)?nu:ou)(t,tu(e))}var su="[object Map]",uu="[object Set]";function cu(t){return function(e){var n=go(e);return n==su?ba(e):n==uu?function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}(e):function(t,e){return C(e,(function(e){return[e,t[e]]}))}(e,t(e))}}var lu=cu(Nn),fu=cu(Wn),hu=ci({"&":"&","<":"<",">":">",'"':""","'":"'"}),pu=/[&<>"']/g,du=RegExp(pu.source);function vu(t){return(t=pr(t))&&du.test(t)?t.replace(pu,hu):t}var gu=/[\\^$.*+?()[\]{}|]/g,yu=RegExp(gu.source);function _u(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function mu(t,e){var n=!0;return gs(t,(function(t,r,i){return n=!!e(t,r,i)})),n}var bu=4294967295;function xu(t){return t?Wi(K(t),0,bu):0}function wu(t,e){var n=[];return gs(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function Ou(t){return function(e,n,r){var i=Object(e);if(!an(e)){var o=ss(n);e=Nn(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}}var Tu=Math.max;function Eu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:K(n);return i<0&&(i=Tu(r+i,0)),ne(t,ss(e),i)}var Mu=Ou(Eu);function Au(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}var Su=Math.max,ku=Math.min;function Lu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=K(n),i=n<0?Su(r+i,0):ku(i,r-1)),ne(t,ss(e),i,!0)}var ju=Ou(Lu);function Cu(t){return t&&t.length?t[0]:void 0}function Du(t,e){var n=-1,r=an(t)?Array(t.length):[];return gs(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Pu(t,e){return(D(t)?C:Du)(t,ss(e))}var Ru=1/0;var Iu=1/0;var Nu=512;var Bu=Ni("floor"),Fu="Expected a function",zu=8,Gu=32,Wu=128,Vu=256;function Hu(t){return Er((function(e){var n=e.length,r=n,i=Bt.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new TypeError(Fu);if(i&&!a&&"wrapper"==Nt(o))var a=new Bt([],!0)}for(r=a?r:n;++r<n;){var s=Nt(o=e[r]),u="wrapper"==s?Pt(o):void 0;a=u&&Vt(u[0])&&u[1]==(Wu|zu|Gu|Vu)&&!u[4].length&&1==u[9]?a[Nt(u[0])].apply(a,u[3]):1==o.length&&Vt(o)?a[s]():a.thru(o)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&D(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}var Uu=Hu(),Yu=Hu(!0);function Xu(t,e){return Ki(e,(function(e){return it(t[e])}))}var qu=Object.prototype.hasOwnProperty,$u=_s((function(t,e,n){qu.call(t,n)?t[n].push(e):$e(t,n,[e])}));function Zu(t,e){return t>e}function Ku(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=X(e),n=X(n)),t(e,n)}}var Ju=Ku(Zu),Qu=Ku((function(t,e){return t>=e})),tc=Object.prototype.hasOwnProperty;function ec(t,e){return null!=t&&tc.call(t,e)}var nc=Math.max,rc=Math.min;var ic="[object String]";function oc(t){return"string"==typeof t||!D(t)&&A(t)&&M(t)==ic}function ac(t,e){return C(e,(function(e){return t[e]}))}function sc(t){return null==t?[]:ac(t,Nn(t))}var uc=Math.max;var cc=Math.max;var lc=Math.min;function fc(t,e,n){for(var r=n?Us:oe,i=t[0].length,o=t.length,a=o,s=Array(o),u=1/0,c=[];a--;){var l=t[a];a&&e&&(l=C(l,Tn(e))),u=lc(l.length,u),s[a]=!n&&(e||i>=120&&l.length>=120)?new da(a&&l):void 0}l=t[0];var f=-1,h=s[0];t:for(;++f<i&&c.length<u;){var p=l[f],d=e?e(p):p;if(p=n||0!==p?p:0,!(h?ga(h,d):r(c,d,n))){for(a=o;--a;){var v=s[a];if(!(v?ga(v,d):r(t[a],d,n)))continue t}h&&h.push(d),c.push(p)}}return c}function hc(t){return Ps(t)?t:[]}var pc=nn((function(t){var e=C(t,hc);return e.length&&e[0]===t[0]?fc(e):[]})),dc=nn((function(t){var e=$s(t),n=C(t,hc);return e===$s(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?fc(n,ss(e)):[]})),vc=nn((function(t){var e=$s(t),n=C(t,hc);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?fc(n,void 0,e):[]}));function gc(t,e){return function(n,r){return function(t,e,n,r){return ds(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}var yc=Object.prototype.toString,_c=gc((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=yc.call(e)),t[e]=n}),Jt(Q)),mc=Object.prototype,bc=mc.hasOwnProperty,xc=mc.toString,wc=gc((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xc.call(e)),bc.call(t,e)?t[e].push(n):t[e]=[n]}),ss);function Oc(t,e){return e.length<2?t:yr(t,Hr(e,0,-1))}function Tc(t,e,n){var r=null==(t=Oc(t,e=dr(e,t)))?t:t[gr($s(e))];return null==r?void 0:Et(r,t,n)}var Ec=nn(Tc),Mc=nn((function(t,e,n){var r=-1,i="function"==typeof e,o=an(t)?Array(t.length):[];return gs(t,(function(t){o[++r]=i?Et(e,t,n):Tc(t,e,n)})),o})),Ac="[object ArrayBuffer]";var Sc=Sn&&Sn.isArrayBuffer,kc=Sc?Tn(Sc):function(t){return A(t)&&M(t)==Ac},Lc="[object Boolean]";var jc="[object Date]";var Cc=Sn&&Sn.isDate,Dc=Cc?Tn(Cc):function(t){return A(t)&&M(t)==jc};var Pc="[object Map]",Rc="[object Set]",Ic=Object.prototype.hasOwnProperty;var Nc=g.isFinite;function Bc(t){return"number"==typeof t&&t==K(t)}var Fc="[object Number]";function zc(t){return"number"==typeof t||A(t)&&M(t)==Fc}var Gc=at?it:_n,Wc="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";var Vc="[object RegExp]";var Hc=Sn&&Sn.isRegExp,Uc=Hc?Tn(Hc):function(t){return A(t)&&M(t)==Vc},Yc=9007199254740991;var Xc="[object WeakMap]";var qc="[object WeakSet]";var $c=1;var Zc=Array.prototype.join;var Kc=Di((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Jc=_s((function(t,e,n){$e(t,n,e)}));var Qc=Math.max,tl=Math.min;var el=Di((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),nl=oi("toLowerCase");function rl(t,e){return t<e}var il=Ku(rl),ol=Ku((function(t,e){return t<=e}));var al=1;var sl=1;function ul(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(void 0===s?a==a&&!k(a):n(a,s)))var s=a,u=o}return u}function cl(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}var ll=NaN;function fl(t,e){var n=null==t?0:t.length;return n?cl(t,e)/n:ll}var hl=un((function(t,e,n){Ns(t,e,n)})),pl=nn((function(t,e){return function(n){return Tc(n,t,e)}})),dl=nn((function(t,e){return function(n){return Tc(t,n,e)}}));function vl(t,e,n){var r=Nn(e),i=Xu(e,r),o=!(z(n)&&"chain"in n&&!n.chain),a=it(t);return ee(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Ft(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,br([this.value()],arguments))})})),t}var gl=B((function(t,e){return t*e}),1),yl="Expected a function";function _l(t){if("function"!=typeof t)throw new TypeError(yl);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var ml="[object Map]",bl="[object Set]",xl=y?y.iterator:void 0;function wl(t){if(!t)return[];if(an(t))return oc(t)?ii(t):Ft(t);if(xl&&t[xl])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[xl]());var e=go(t);return(e==ml?ba:e==bl?xa:sc)(t)}function Ol(t,e){var n=t.length;if(n)return _e(e+=e<0?n:0,n)?t[e]:void 0}function Tl(t,e){return null==(t=Oc(t,e=dr(e,t)))||delete t[gr($s(e))]}function El(t){return Pr(t)?void 0:t}var Ml=Er((function(t,e){var n={};if(null==t)return n;var r=!1;e=C(e,(function(e){return e=dr(e,t),r||(r=e.length>1),e})),Qe(t,oo(t),n),r&&(n=oa(n,7,El));for(var i=e.length;i--;)Tl(n,e[i]);return n}));function Al(t,e,n,r){if(!z(t))return t;for(var i=-1,o=(e=dr(e,t)).length,a=o-1,s=t;null!=s&&++i<o;){var u=gr(e[i]),c=n;if(i!=a){var l=s[u];void 0===(c=r?r(l,u,s):void 0)&&(c=z(l)?l:_e(e[i+1])?[]:{})}Je(s,u,c),s=s[u]}return t}function Sl(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=yr(t,a);n(s,a)&&Al(o,dr(a,t),s)}return o}function kl(t,e){if(null==t)return{};var n=C(oo(t),(function(t){return[t]}));return e=ss(e),Sl(t,n,(function(t,n){return e(t,n[0])}))}function Ll(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=k(t),a=void 0!==e,s=null===e,u=e==e,c=k(e);if(!s&&!c&&!o&&t>e||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!u)return-1}return 0}function jl(t,e,n){var r=-1;return e=C(e.length?e:[Q],Tn(ss)),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Du(t,(function(t,n,i){return{criteria:C(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var u=Ll(i[r],o[r]);if(u)return r>=s?u:u*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Cl(t){return Er((function(e){return e=C(e,Tn(ss)),nn((function(n){var r=this;return t(e,(function(t){return Et(t,r,n)}))}))}))}var Dl=Cl(C),Pl=nn,Rl=Math.min,Il=Pl((function(t,e){var n=(e=1==e.length&&D(e[0])?C(e[0],Tn(ss)):C(Or(e,1),Tn(ss))).length;return nn((function(r){for(var i=-1,o=Rl(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Et(t,this,r)}))})),Nl=Cl(_u),Bl=Cl(va),Fl=9007199254740991,zl=Math.floor;function Gl(t,e){var n="";if(!t||e<1||e>Fl)return n;do{e%2&&(n+=t),(e=zl(e/2))&&(t+=t)}while(e);return n}var Wl=os("length"),Vl="[\\ud800-\\udfff]",Hl="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ul="\\ud83c[\\udffb-\\udfff]",Yl="[^\\ud800-\\udfff]",Xl="(?:\\ud83c[\\udde6-\\uddff]){2}",ql="[\\ud800-\\udbff][\\udc00-\\udfff]",$l="(?:"+Hl+"|"+Ul+")"+"?",Zl="[\\ufe0e\\ufe0f]?"+$l+("(?:\\u200d(?:"+[Yl,Xl,ql].join("|")+")[\\ufe0e\\ufe0f]?"+$l+")*"),Kl="(?:"+[Yl+Hl+"?",Hl,Xl,ql,Vl].join("|")+")",Jl=RegExp(Ul+"(?="+Ul+")|"+Kl+Zl,"g");function Ql(t){return Xr(t)?function(t){for(var e=Jl.lastIndex=0;Jl.test(t);)++e;return e}(t):Wl(t)}var tf=Math.ceil;function ef(t,e){var n=(e=void 0===e?" ":N(e)).length;if(n<2)return n?Gl(e,t):e;var r=Gl(e,tf(t/Ql(e)));return Xr(e)?Ur(ii(r),0,t).join(""):r.slice(0,t)}var nf=Math.ceil,rf=Math.floor;var of=/^\s+/,af=g.parseInt;var sf=nn((function(t,e){return Ye(t,32,void 0,e,xe(e,ve(sf)))}));sf.placeholder={};var uf=nn((function(t,e){return Ye(t,64,void 0,e,xe(e,ve(uf)))}));uf.placeholder={};var cf=_s((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var lf=Er((function(t,e){return null==t?{}:function(t,e){return Sl(t,e,(function(e,n){return es(t,n)}))}(t,e)}));function ff(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}var hf=Array.prototype.splice;function pf(t,e,n,r){var i=r?ff:ie,o=-1,a=e.length,s=t;for(t===e&&(e=Ft(e)),n&&(s=C(t,Tn(n)));++o<a;)for(var u=0,c=e[o],l=n?n(c):c;(u=i(s,l,u,r))>-1;)s!==t&&hf.call(s,u,1),hf.call(t,u,1);return t}function df(t,e){return t&&t.length&&e&&e.length?pf(t,e):t}var vf=nn(df);var gf=Array.prototype.splice;function yf(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;_e(i)?gf.call(t,i,1):Tl(t,i)}}return t}var _f=Er((function(t,e){var n=null==t?0:t.length,r=mr(t,e);return yf(t,C(e,(function(t){return _e(t,n)?+t:t})).sort(Ll)),r})),mf=Math.floor,bf=Math.random;function xf(t,e){return t+mf(bf()*(e-t+1))}var wf=parseFloat,Of=Math.min,Tf=Math.random;var Ef=Math.ceil,Mf=Math.max;function Af(t){return function(e,n,r){return r&&"number"!=typeof r&&sn(e,n,r)&&(n=r=void 0),e=Z(e),void 0===n?(n=e,e=0):n=Z(n),function(t,e,n,r){for(var i=-1,o=Mf(Ef((e-t)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=t,t+=n;return a}(e,n,r=void 0===r?e<n?1:-1:Z(r),t)}}var Sf=Af(),kf=Af(!0),Lf=Er((function(t,e){return Ye(t,256,void 0,void 0,void 0,e)}));function jf(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Cf(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}var Df="Expected a function";var Pf=Array.prototype.reverse;function Rf(t){return null==t?t:Pf.call(t)}var If=Ni("round");function Nf(t){var e=t.length;return e?t[xf(0,e-1)]:void 0}function Bf(t){return Nf(sc(t))}function Ff(t,e){var n=-1,r=t.length,i=r-1;for(e=void 0===e?r:e;++n<e;){var o=xf(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function zf(t,e){return Ff(Ft(t),Wi(e,0,t.length))}function Gf(t,e){var n=sc(t);return Ff(n,Wi(e,0,n.length))}function Wf(t){return Ff(Ft(t))}function Vf(t){return Ff(sc(t))}var Hf="[object Map]",Uf="[object Set]";var Yf=Di((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));function Xf(t,e){var n;return gs(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}var qf=nn((function(t,e){if(null==t)return[];var n=e.length;return n>1&&sn(t,e[0],e[1])?e=[]:n>2&&sn(e[0],e[1],e[2])&&(e=[e[0]]),jl(t,Or(e,1),[])})),$f=4294967294,Zf=Math.floor,Kf=Math.min;function Jf(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,a=e!=e,s=null===e,u=k(e),c=void 0===e;i<o;){var l=Zf((i+o)/2),f=n(t[l]),h=void 0!==f,p=null===f,d=f==f,v=k(f);if(a)var g=r||d;else g=c?d&&(r||h):s?d&&h&&(r||!p):u?d&&h&&!p&&(r||!v):!p&&!v&&(r?f<=e:f<e);g?i=l+1:o=l}return Kf(o,$f)}var Qf=2147483647;function th(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=Qf){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!k(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return Jf(t,e,Q,n)}function eh(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Ze(s,u)){var u=s;o[i++]=0===a?0:a}}return o}var nh=4294967295;var rh="Expected a function",ih=Math.max;var oh=Di((function(t,e,n){return t+(n?" ":"")+ai(e)}));var ah=B((function(t,e){return t-e}),0);var sh=Object.prototype,uh=sh.hasOwnProperty;function ch(t,e,n,r){return void 0===t||Ze(t,sh[n])&&!uh.call(r,n)?e:t}var lh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function fh(t){return"\\"+lh[t]}var hh=/<%=([\s\S]+?)%>/g,ph={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:hh,variable:"",imports:{_:{escape:vu}}},dh=/\b__p \+= '';/g,vh=/\b(__p \+=) '' \+/g,gh=/(__e\(.*?\)|\b__t\)) \+\n'';/g,yh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_h=/($^)/,mh=/['\n\r\u2028\u2029\\]/g,bh=Object.prototype.hasOwnProperty;var xh="Expected a function";function wh(t,e){return e(t)}var Oh=9007199254740991,Th=4294967295,Eh=Math.min;function Mh(t,e){var n=t;return n instanceof Ct&&(n=n.value()),ui(e,(function(t,e){return e.func.apply(e.thisArg,br([t],e.args))}),n)}function Ah(){return Mh(this.__wrapped__,this.__actions__)}var Sh=9007199254740991;function kh(t,e){for(var n=t.length;n--&&ie(e,t[n],0)>-1;);return n}function Lh(t,e){for(var n=-1,r=t.length;++n<r&&ie(e,t[n],0)>-1;);return n}var jh=/^\s+|\s+$/g;var Ch=/\s+$/;var Dh=/^\s+/;var Ph=30,Rh="...",Ih=/\w*$/;var Nh=ci({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Bh=/&(?:amp|lt|gt|quot|#39);/g,Fh=RegExp(Bh.source);var zh=uo&&1/xa(new uo([,-0]))[1]==1/0?function(t){return new uo(t)}:Dt,Gh=200;function Wh(t,e,n){var r=-1,i=oe,o=t.length,a=!0,s=[],u=s;if(n)a=!1,i=Us;else if(o>=Gh){var c=e?null:zh(t);if(c)return xa(c);a=!1,i=ga,u=new da}else u=e?[]:s;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var h=u.length;h--;)if(u[h]===f)continue t;e&&u.push(f),s.push(l)}else i(u,f,n)||(u!==s&&u.push(f),s.push(l))}return s}var Vh=nn((function(t){return Wh(Or(t,1,Ps,!0))})),Hh=nn((function(t){var e=$s(t);return Ps(e)&&(e=void 0),Wh(Or(t,1,Ps,!0),ss(e))})),Uh=nn((function(t){var e=$s(t);return e="function"==typeof e?e:void 0,Wh(Or(t,1,Ps,!0),void 0,e)}));function Yh(t){return t&&t.length?Wh(t):[]}var Xh=0;var qh=Math.max;function $h(t){if(!t||!t.length)return[];var e=0;return t=Ki(t,(function(t){if(Ps(t))return e=qh(t.length,e),!0})),fn(e,(function(e){return C(t,os(e))}))}function Zh(t,e){if(!t||!t.length)return[];var n=$h(t);return null==e?n:C(n,(function(t){return Et(e,void 0,t)}))}function Kh(t,e,n,r){return Al(t,e,n(yr(t,e)),r)}var Jh=Di((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}));var Qh=nn((function(t,e){return Ps(t)?Xs(t,e):[]}));var tp=Er((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return mr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Ct&&_e(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:wh,args:[i],thisArg:void 0}),new Bt(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function ep(t,e,n){var r=t.length;if(r<2)return r?Wh(t[0]):[];for(var i=-1,o=Array(r);++i<r;)for(var a=t[i],s=-1;++s<r;)s!=i&&(o[i]=Xs(o[i]||a,t[s],e,n));return Wh(Or(o,1),e,n)}var np=nn((function(t){return ep(Ki(t,Ps))})),rp=nn((function(t){var e=$s(t);return Ps(e)&&(e=void 0),ep(Ki(t,Ps),ss(e))})),ip=nn((function(t){var e=$s(t);return e="function"==typeof e?e:void 0,ep(Ki(t,Ps),void 0,e)})),op=nn($h);function ap(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:void 0;n(a,t[r],s)}return a}var sp=nn((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Zh(t,n)})),up={chunk:function(t,e,n){e=(n?sn(t,e,n):void 0===e)?1:Gi(K(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,a=Array(zi(r/e));i<r;)a[o++]=Hr(t,i,i+=e);return a},compact:function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var e=Array(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return br(D(n)?Ft(n):[n],Or(e,1))},difference:qs,differenceBy:Zs,differenceWith:Ks,drop:function(t,e,n){var r=null==t?0:t.length;return r?Hr(t,(e=n||void 0===e?1:K(e))<0?0:e,r):[]},dropRight:function(t,e,n){var r=null==t?0:t.length;return r?Hr(t,0,(e=r-(e=n||void 0===e?1:K(e)))<0?0:e):[]},dropRightWhile:function(t,e){return t&&t.length?Qs(t,ss(e),!0,!0):[]},dropWhile:function(t,e){return t&&t.length?Qs(t,ss(e),!0):[]},fill:function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&sn(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=K(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:K(r))<0&&(r+=i),r=n>r?0:xu(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},findIndex:Eu,findLastIndex:Lu,first:Cu,flatten:Tr,flattenDeep:function(t){return(null==t?0:t.length)?Or(t,Iu):[]},flattenDepth:function(t,e){return(null==t?0:t.length)?Or(t,e=void 0===e?1:K(e)):[]},fromPairs:function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},head:Cu,indexOf:function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:K(n);return i<0&&(i=cc(r+i,0)),ie(t,e,i)},initial:function(t){return(null==t?0:t.length)?Hr(t,0,-1):[]},intersection:pc,intersectionBy:dc,intersectionWith:vc,join:function(t,e){return null==t?"":Zc.call(t,e)},last:$s,lastIndexOf:function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=K(n))<0?Qc(r+i,0):tl(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):ne(t,re,i,!0)},nth:function(t,e){return t&&t.length?Ol(t,K(e)):void 0},pull:vf,pullAll:df,pullAllBy:function(t,e,n){return t&&t.length&&e&&e.length?pf(t,e,ss(n)):t},pullAllWith:function(t,e,n){return t&&t.length&&e&&e.length?pf(t,e,void 0,n):t},pullAt:_f,remove:function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=ss(e);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return yf(t,i),n},reverse:Rf,slice:function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&sn(t,e,n)?(e=0,n=r):(e=null==e?0:K(e),n=void 0===n?r:K(n)),Hr(t,e,n)):[]},sortedIndex:function(t,e){return th(t,e)},sortedIndexBy:function(t,e,n){return Jf(t,e,ss(n))},sortedIndexOf:function(t,e){var n=null==t?0:t.length;if(n){var r=th(t,e);if(r<n&&Ze(t[r],e))return r}return-1},sortedLastIndex:function(t,e){return th(t,e,!0)},sortedLastIndexBy:function(t,e,n){return Jf(t,e,ss(n),!0)},sortedLastIndexOf:function(t,e){if(null==t?0:t.length){var n=th(t,e,!0)-1;if(Ze(t[n],e))return n}return-1},sortedUniq:function(t){return t&&t.length?eh(t):[]},sortedUniqBy:function(t,e){return t&&t.length?eh(t,ss(e)):[]},tail:function(t){var e=null==t?0:t.length;return e?Hr(t,1,e):[]},take:function(t,e,n){return t&&t.length?Hr(t,0,(e=n||void 0===e?1:K(e))<0?0:e):[]},takeRight:function(t,e,n){var r=null==t?0:t.length;return r?Hr(t,(e=r-(e=n||void 0===e?1:K(e)))<0?0:e,r):[]},takeRightWhile:function(t,e){return t&&t.length?Qs(t,ss(e),!1,!0):[]},takeWhile:function(t,e){return t&&t.length?Qs(t,ss(e)):[]},union:Vh,unionBy:Hh,unionWith:Uh,uniq:Yh,uniqBy:function(t,e){return t&&t.length?Wh(t,ss(e)):[]},uniqWith:function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Wh(t,void 0,e):[]},unzip:$h,unzipWith:Zh,without:Qh,xor:np,xorBy:rp,xorWith:ip,zip:op,zipObject:function(t,e){return ap(t||[],e||[],Je)},zipObjectDeep:function(t,e){return ap(t||[],e||[],Al)},zipWith:sp},cp={countBy:bs,each:eu,eachRight:au,every:function(t,e,n){var r=D(t)?_u:mu;return n&&sn(t,e,n)&&(e=void 0),r(t,ss(e))},filter:function(t,e){return(D(t)?Ki:wu)(t,ss(e))},find:Mu,findLast:ju,flatMap:function(t,e){return Or(Pu(t,e),1)},flatMapDeep:function(t,e){return Or(Pu(t,e),Ru)},flatMapDepth:function(t,e,n){return n=void 0===n?1:K(n),Or(Pu(t,e),n)},forEach:eu,forEachRight:au,groupBy:$u,includes:function(t,e,n,r){t=an(t)?t:sc(t),n=n&&!r?K(n):0;var i=t.length;return n<0&&(n=uc(i+n,0)),oc(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ie(t,e,n)>-1},invokeMap:Mc,keyBy:Jc,map:Pu,orderBy:function(t,e,n,r){return null==t?[]:(D(e)||(e=null==e?[]:[e]),D(n=r?void 0:n)||(n=null==n?[]:[n]),jl(t,e,n))},partition:cf,reduce:function(t,e,n){var r=D(t)?ui:jf,i=arguments.length<3;return r(t,ss(e),n,i,gs)},reduceRight:function(t,e,n){var r=D(t)?Cf:jf,i=arguments.length<3;return r(t,ss(e),n,i,ou)},reject:function(t,e){return(D(t)?Ki:wu)(t,_l(ss(e)))},sample:function(t){return(D(t)?Nf:Bf)(t)},sampleSize:function(t,e,n){return e=(n?sn(t,e,n):void 0===e)?1:K(e),(D(t)?zf:Gf)(t,e)},shuffle:function(t){return(D(t)?Wf:Vf)(t)},size:function(t){if(null==t)return 0;if(an(t))return oc(t)?Ql(t):t.length;var e=go(t);return e==Hf||e==Uf?t.size:In(t).length},some:function(t,e,n){var r=D(t)?va:Xf;return n&&sn(t,e,n)&&(e=void 0),r(t,ss(e))},sortBy:qf},lp={now:Es},fp={after:function(t,e){if("function"!=typeof e)throw new TypeError(J);return t=K(t),function(){if(--t<1)return e.apply(this,arguments)}},ary:qe,before:zr,bind:Gr,bindKey:Vr,curry:ws,curryRight:Ts,debounce:ks,defer:Vs,delay:Hs,flip:function(t){return Ye(t,Nu)},memoize:ur,negate:_l,once:function(t){return zr(2,t)},overArgs:Il,partial:sf,partialRight:uf,rearg:Lf,rest:function(t,e){if("function"!=typeof t)throw new TypeError(Df);return nn(t,e=void 0===e?e:K(e))},spread:function(t,e){if("function"!=typeof t)throw new TypeError(rh);return e=null==e?0:ih(K(e),0),nn((function(n){var r=n[e],i=Ur(n,0,e);return r&&br(i,r),Et(t,this,i)}))},throttle:function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError(xh);return z(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ks(t,e,{leading:r,maxWait:e,trailing:i})},unary:function(t){return qe(t,1)},wrap:function(t,e){return sf(tu(e),t)}},hp={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return D(t)?t:[t]},clone:function(t){return oa(t,aa)},cloneDeep:ca,cloneDeepWith:function(t,e){return oa(t,la|fa,e="function"==typeof e?e:void 0)},cloneWith:function(t,e){return oa(t,ha,e="function"==typeof e?e:void 0)},conformsTo:function(t,e){return null==e||cs(t,e,Nn(e))},eq:Ze,gt:Ju,gte:Qu,isArguments:yn,isArray:D,isArrayBuffer:kc,isArrayLike:an,isArrayLikeObject:Ps,isBoolean:function(t){return!0===t||!1===t||A(t)&&M(t)==Lc},isBuffer:wn,isDate:Dc,isElement:function(t){return A(t)&&1===t.nodeType&&!Pr(t)},isEmpty:function(t){if(null==t)return!0;if(an(t)&&(D(t)||"string"==typeof t||"function"==typeof t.splice||wn(t)||Ln(t)||yn(t)))return!t.length;var e=go(t);if(e==Pc||e==Rc)return!t.size;if(ln(t))return!In(t).length;for(var n in t)if(Ic.call(t,n))return!1;return!0},isEqual:function(t,e){return Ua(t,e)},isEqualWith:function(t,e,n){var r=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===r?Ua(t,e,void 0,n):!!r},isError:Nr,isFinite:function(t){return"number"==typeof t&&Nc(t)},isFunction:it,isInteger:Bc,isLength:on,isMap:Xo,isMatch:function(t,e){return t===e||qa(t,e,Za(e))},isMatchWith:function(t,e,n){return n="function"==typeof n?n:void 0,qa(t,e,Za(e),n)},isNaN:function(t){return zc(t)&&t!=+t},isNative:function(t){if(Gc(t))throw new Error(Wc);return gt(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:zc,isObject:z,isObjectLike:A,isPlainObject:Pr,isRegExp:Uc,isSafeInteger:function(t){return Bc(t)&&t>=-Yc&&t<=Yc},isSet:Zo,isString:oc,isSymbol:k,isTypedArray:Ln,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return A(t)&&go(t)==Xc},isWeakSet:function(t){return A(t)&&M(t)==qc},lt:il,lte:ol,toArray:wl,toFinite:Z,toInteger:K,toLength:xu,toNumber:X,toPlainObject:Is,toSafeInteger:function(t){return t?Wi(K(t),-Sh,Sh):0===t?t:0},toString:pr},pp={add:F,ceil:Bi,divide:Js,floor:Bu,max:function(t){return t&&t.length?ul(t,Q,Zu):void 0},maxBy:function(t,e){return t&&t.length?ul(t,ss(e),Zu):void 0},mean:function(t){return fl(t,Q)},meanBy:function(t,e){return fl(t,ss(e))},min:function(t){return t&&t.length?ul(t,Q,rl):void 0},minBy:function(t,e){return t&&t.length?ul(t,ss(e),rl):void 0},multiply:gl,round:If,subtract:ah,sum:function(t){return t&&t.length?cl(t,Q):0},sumBy:function(t,e){return t&&t.length?cl(t,ss(e)):0}},dp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=X(n))==n?n:0),void 0!==e&&(e=(e=X(e))==e?e:0),Wi(X(t),e,n)},vp=function(t,e,n){return e=Z(e),void 0===n?(n=e,e=0):n=Z(n),function(t,e,n){return t>=rc(e,n)&&t<nc(e,n)}(t=X(t),e,n)},gp=function(t,e,n){if(n&&"boolean"!=typeof n&&sn(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=Z(t),void 0===e?(e=t,t=0):e=Z(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Tf();return Of(t+i*(e-t+wf("1e-"+((i+"").length-1))),e)}return xf(t,e)},yp={assign:Fn,assignIn:Vn,assignInWith:Hn,assignWith:Un,at:Mr,create:function(t,e){var n=wt(t);return null==e?n:Ui(n,e)},defaults:Cs,defaultsDeep:zs,entries:lu,entriesIn:fu,extend:Vn,extendWith:Hn,findKey:function(t,e){return Au(t,ss(e),ds)},findLastKey:function(t,e){return Au(t,ss(e),iu)},forIn:function(t,e){return null==t?t:ps(t,tu(e),Wn)},forInRight:function(t,e){return null==t?t:ru(t,tu(e),Wn)},forOwn:function(t,e){return t&&ds(t,tu(e))},forOwnRight:function(t,e){return t&&iu(t,tu(e))},functions:function(t){return null==t?[]:Xu(t,Nn(t))},functionsIn:function(t){return null==t?[]:Xu(t,Wn(t))},get:_r,has:function(t,e){return null!=t&&ts(t,e,ec)},hasIn:es,invert:_c,invertBy:wc,invoke:Ec,keys:Nn,keysIn:Wn,mapKeys:function(t,e){var n={};return e=ss(e),ds(t,(function(t,r,i){$e(n,e(t,r,i),t)})),n},mapValues:function(t,e){var n={};return e=ss(e),ds(t,(function(t,r,i){$e(n,r,e(t,r,i))})),n},merge:hl,mergeWith:Fs,omit:Ml,omitBy:function(t,e){return kl(t,_l(ss(e)))},pick:lf,pickBy:kl,result:function(t,e,n){var r=-1,i=(e=dr(e,t)).length;for(i||(i=1,t=void 0);++r<i;){var o=null==t?void 0:t[gr(e[r])];void 0===o&&(r=i,o=n),t=it(o)?o.call(t):o}return t},set:function(t,e,n){return null==t?t:Al(t,e,n)},setWith:function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:Al(t,e,n,r)},toPairs:lu,toPairsIn:fu,transform:function(t,e,n){var r=D(t),i=r||wn(t)||Ln(t);if(e=ss(e),null==n){var o=t&&t.constructor;n=i?r?new o:[]:z(t)&&it(o)?wt(Ar(t)):{}}return(i?ee:ds)(t,(function(t,r,i){return e(n,t,r,i)})),n},unset:function(t,e){return null==t||Tl(t,e)},update:function(t,e,n){return null==t?t:Kh(t,e,tu(n))},updateWith:function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:Kh(t,e,tu(n),r)},values:sc,valuesIn:function(t){return null==t?[]:ac(t,Wn(t))}},_p={at:tp,chain:Fi,commit:function(){return new Bt(this.value(),this.__chain__)},lodash:Wt,next:function(){void 0===this.__values__&&(this.__values__=wl(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var e,n=this;n instanceof Lt;){var r=zt(n);r.__index__=0,r.__values__=void 0,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},reverse:function(){var t=this.__wrapped__;if(t instanceof Ct){var e=t;return this.__actions__.length&&(e=new Ct(this)),(e=e.reverse()).__actions__.push({func:wh,args:[Rf],thisArg:void 0}),new Bt(e,this.__chain__)}return this.thru(Rf)},tap:function(t,e){return e(t),t},thru:wh,toIterator:function(){return this},toJSON:Ah,value:Ah,valueOf:Ah,wrapperChain:function(){return Fi(this)}},mp={camelCase:Pi,capitalize:si,deburr:pi,endsWith:function(t,e,n){t=pr(t),e=N(e);var r=t.length,i=n=void 0===n?r:Wi(K(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},escape:vu,escapeRegExp:function(t){return(t=pr(t))&&yu.test(t)?t.replace(gu,"\\$&"):t},kebabCase:Kc,lowerCase:el,lowerFirst:nl,pad:function(t,e,n){t=pr(t);var r=(e=K(e))?Ql(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return ef(rf(i),n)+t+ef(nf(i),n)},padEnd:function(t,e,n){t=pr(t);var r=(e=K(e))?Ql(t):0;return e&&r<e?t+ef(e-r,n):t},padStart:function(t,e,n){t=pr(t);var r=(e=K(e))?Ql(t):0;return e&&r<e?ef(e-r,n)+t:t},parseInt:function(t,e,n){return n||null==e?e=0:e&&(e=+e),af(pr(t).replace(of,""),e||0)},repeat:function(t,e,n){return e=(n?sn(t,e,n):void 0===e)?1:K(e),Gl(pr(t),e)},replace:function(){var t=arguments,e=pr(t[0]);return t.length<3?e:e.replace(t[1],t[2])},snakeCase:Yf,split:function(t,e,n){return n&&"number"!=typeof n&&sn(t,e,n)&&(e=n=void 0),(n=void 0===n?nh:n>>>0)?(t=pr(t))&&("string"==typeof e||null!=e&&!Uc(e))&&!(e=N(e))&&Xr(t)?Ur(ii(t),0,n):t.split(e,n):[]},startCase:oh,startsWith:function(t,e,n){return t=pr(t),n=null==n?0:Wi(K(n),0,t.length),e=N(e),t.slice(n,n+e.length)==e},template:function(t,e,n){var r=ph.imports._.templateSettings||ph;n&&sn(t,e,n)&&(e=void 0),t=pr(t),e=Hn({},e,r,ch);var i,o,a=Hn({},e.imports,r.imports,ch),s=Nn(a),u=ac(a,s),c=0,l=e.interpolate||_h,f="__p += '",h=RegExp((e.escape||_h).source+"|"+l.source+"|"+(l===hh?yh:_h).source+"|"+(e.evaluate||_h).source+"|$","g"),p=bh.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";t.replace(h,(function(e,n,r,a,s,u){return r||(r=a),f+=t.slice(c,u).replace(mh,fh),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(o=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e})),f+="';\n";var d=bh.call(e,"variable")&&e.variable;d||(f="with (obj) {\n"+f+"\n}\n"),f=(o?f.replace(dh,""):f).replace(vh,"$1").replace(gh,"$1;"),f="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=Br((function(){return Function(s,p+"return "+f).apply(void 0,u)}));if(v.source=f,Nr(v))throw v;return v},templateSettings:ph,toLower:function(t){return pr(t).toLowerCase()},toUpper:function(t){return pr(t).toUpperCase()},trim:function(t,e,n){if((t=pr(t))&&(n||void 0===e))return t.replace(jh,"");if(!t||!(e=N(e)))return t;var r=ii(t),i=ii(e);return Ur(r,Lh(r,i),kh(r,i)+1).join("")},trimEnd:function(t,e,n){if((t=pr(t))&&(n||void 0===e))return t.replace(Ch,"");if(!t||!(e=N(e)))return t;var r=ii(t);return Ur(r,0,kh(r,ii(e))+1).join("")},trimStart:function(t,e,n){if((t=pr(t))&&(n||void 0===e))return t.replace(Dh,"");if(!t||!(e=N(e)))return t;var r=ii(t);return Ur(r,Lh(r,ii(e))).join("")},truncate:function(t,e){var n=Ph,r=Rh;if(z(e)){var i="separator"in e?e.separator:i;n="length"in e?K(e.length):n,r="omission"in e?N(e.omission):r}var o=(t=pr(t)).length;if(Xr(t)){var a=ii(t);o=a.length}if(n>=o)return t;var s=n-Ql(r);if(s<1)return r;var u=a?Ur(a,0,s).join(""):t.slice(0,s);if(void 0===i)return u+r;if(a&&(s+=u.length-s),Uc(i)){if(t.slice(s).search(i)){var c,l=u;for(i.global||(i=RegExp(i.source,pr(Ih.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;u=u.slice(0,void 0===f?s:f)}}else if(t.indexOf(N(i),s)!=s){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+r},unescape:function(t){return(t=pr(t))&&Fh.test(t)?t.replace(Bh,Nh):t},upperCase:Jh,upperFirst:ai,words:ji},bp={attempt:Br,bindAll:Wr,cond:function(t){var e=null==t?0:t.length,n=ss;return t=e?C(t,(function(t){if("function"!=typeof t[1])throw new TypeError(us);return[n(t[0]),t[1]]})):[],nn((function(n){for(var r=-1;++r<e;){var i=t[r];if(Et(i[0],this,n))return Et(i[1],this,n)}}))},conforms:function(t){return function(t){var e=Nn(t);return function(n){return cs(n,t,e)}}(oa(t,ls))},constant:Jt,defaultTo:function(t,e){return null==t||t!=t?e:t},flow:Uu,flowRight:Yu,identity:Q,iteratee:function(t){return ss("function"==typeof t?t:oa(t,$c))},matches:function(t){return Ja(oa(t,al))},matchesProperty:function(t,e){return is(t,oa(e,sl))},method:pl,methodOf:dl,mixin:vl,noop:Dt,nthArg:function(t){return t=K(t),nn((function(e){return Ol(e,t)}))},over:Dl,overEvery:Nl,overSome:Bl,property:as,propertyOf:function(t){return function(e){return null==t?void 0:yr(t,e)}},range:Sf,rangeRight:kf,stubArray:Ji,stubFalse:_n,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,e){if((t=K(t))<1||t>Oh)return[];var n=Th,r=Eh(t,Th);e=tu(e),t-=Th;for(var i=fn(r,e);++n<t;)e(n);return i},toPath:function(t){return D(t)?C(t,gr):k(t)?[t]:Ft(hr(pr(t)))},uniqueId:function(t){var e=++Xh;return pr(t)+e}};var xp=Math.max,wp=Math.min;var Op=1,Tp=2,Ep=Math.min;
/**
* @license
* Lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
var Mp,Ap,Sp=Array.prototype,kp=Object.prototype.hasOwnProperty,Lp=y?y.iterator:void 0,jp=Math.max,Cp=Math.min,Dp=function(t){return function(e,n,r){if(null==r){var i=z(n),o=i&&Nn(n),a=o&&o.length&&Xu(n,o);(a?a.length:i)||(r=n,n=e,e=this)}return t(e,n,r)}}(vl);Wt.after=fp.after,Wt.ary=fp.ary,Wt.assign=yp.assign,Wt.assignIn=yp.assignIn,Wt.assignInWith=yp.assignInWith,Wt.assignWith=yp.assignWith,Wt.at=yp.at,Wt.before=fp.before,Wt.bind=fp.bind,Wt.bindAll=bp.bindAll,Wt.bindKey=fp.bindKey,Wt.castArray=hp.castArray,Wt.chain=_p.chain,Wt.chunk=up.chunk,Wt.compact=up.compact,Wt.concat=up.concat,Wt.cond=bp.cond,Wt.conforms=bp.conforms,Wt.constant=bp.constant,Wt.countBy=cp.countBy,Wt.create=yp.create,Wt.curry=fp.curry,Wt.curryRight=fp.curryRight,Wt.debounce=fp.debounce,Wt.defaults=yp.defaults,Wt.defaultsDeep=yp.defaultsDeep,Wt.defer=fp.defer,Wt.delay=fp.delay,Wt.difference=up.difference,Wt.differenceBy=up.differenceBy,Wt.differenceWith=up.differenceWith,Wt.drop=up.drop,Wt.dropRight=up.dropRight,Wt.dropRightWhile=up.dropRightWhile,Wt.dropWhile=up.dropWhile,Wt.fill=up.fill,Wt.filter=cp.filter,Wt.flatMap=cp.flatMap,Wt.flatMapDeep=cp.flatMapDeep,Wt.flatMapDepth=cp.flatMapDepth,Wt.flatten=up.flatten,Wt.flattenDeep=up.flattenDeep,Wt.flattenDepth=up.flattenDepth,Wt.flip=fp.flip,Wt.flow=bp.flow,Wt.flowRight=bp.flowRight,Wt.fromPairs=up.fromPairs,Wt.functions=yp.functions,Wt.functionsIn=yp.functionsIn,Wt.groupBy=cp.groupBy,Wt.initial=up.initial,Wt.intersection=up.intersection,Wt.intersectionBy=up.intersectionBy,Wt.intersectionWith=up.intersectionWith,Wt.invert=yp.invert,Wt.invertBy=yp.invertBy,Wt.invokeMap=cp.invokeMap,Wt.iteratee=bp.iteratee,Wt.keyBy=cp.keyBy,Wt.keys=Nn,Wt.keysIn=yp.keysIn,Wt.map=cp.map,Wt.mapKeys=yp.mapKeys,Wt.mapValues=yp.mapValues,Wt.matches=bp.matches,Wt.matchesProperty=bp.matchesProperty,Wt.memoize=fp.memoize,Wt.merge=yp.merge,Wt.mergeWith=yp.mergeWith,Wt.method=bp.method,Wt.methodOf=bp.methodOf,Wt.mixin=Dp,Wt.negate=_l,Wt.nthArg=bp.nthArg,Wt.omit=yp.omit,Wt.omitBy=yp.omitBy,Wt.once=fp.once,Wt.orderBy=cp.orderBy,Wt.over=bp.over,Wt.overArgs=fp.overArgs,Wt.overEvery=bp.overEvery,Wt.overSome=bp.overSome,Wt.partial=fp.partial,Wt.partialRight=fp.partialRight,Wt.partition=cp.partition,Wt.pick=yp.pick,Wt.pickBy=yp.pickBy,Wt.property=bp.property,Wt.propertyOf=bp.propertyOf,Wt.pull=up.pull,Wt.pullAll=up.pullAll,Wt.pullAllBy=up.pullAllBy,Wt.pullAllWith=up.pullAllWith,Wt.pullAt=up.pullAt,Wt.range=bp.range,Wt.rangeRight=bp.rangeRight,Wt.rearg=fp.rearg,Wt.reject=cp.reject,Wt.remove=up.remove,Wt.rest=fp.rest,Wt.reverse=up.reverse,Wt.sampleSize=cp.sampleSize,Wt.set=yp.set,Wt.setWith=yp.setWith,Wt.shuffle=cp.shuffle,Wt.slice=up.slice,Wt.sortBy=cp.sortBy,Wt.sortedUniq=up.sortedUniq,Wt.sortedUniqBy=up.sortedUniqBy,Wt.split=mp.split,Wt.spread=fp.spread,Wt.tail=up.tail,Wt.take=up.take,Wt.takeRight=up.takeRight,Wt.takeRightWhile=up.takeRightWhile,Wt.takeWhile=up.takeWhile,Wt.tap=_p.tap,Wt.throttle=fp.throttle,Wt.thru=wh,Wt.toArray=hp.toArray,Wt.toPairs=yp.toPairs,Wt.toPairsIn=yp.toPairsIn,Wt.toPath=bp.toPath,Wt.toPlainObject=hp.toPlainObject,Wt.transform=yp.transform,Wt.unary=fp.unary,Wt.union=up.union,Wt.unionBy=up.unionBy,Wt.unionWith=up.unionWith,Wt.uniq=up.uniq,Wt.uniqBy=up.uniqBy,Wt.uniqWith=up.uniqWith,Wt.unset=yp.unset,Wt.unzip=up.unzip,Wt.unzipWith=up.unzipWith,Wt.update=yp.update,Wt.updateWith=yp.updateWith,Wt.values=yp.values,Wt.valuesIn=yp.valuesIn,Wt.without=up.without,Wt.words=mp.words,Wt.wrap=fp.wrap,Wt.xor=up.xor,Wt.xorBy=up.xorBy,Wt.xorWith=up.xorWith,Wt.zip=up.zip,Wt.zipObject=up.zipObject,Wt.zipObjectDeep=up.zipObjectDeep,Wt.zipWith=up.zipWith,Wt.entries=yp.toPairs,Wt.entriesIn=yp.toPairsIn,Wt.extend=yp.assignIn,Wt.extendWith=yp.assignInWith,Dp(Wt,Wt),Wt.add=pp.add,Wt.attempt=bp.attempt,Wt.camelCase=mp.camelCase,Wt.capitalize=mp.capitalize,Wt.ceil=pp.ceil,Wt.clamp=dp,Wt.clone=hp.clone,Wt.cloneDeep=hp.cloneDeep,Wt.cloneDeepWith=hp.cloneDeepWith,Wt.cloneWith=hp.cloneWith,Wt.conformsTo=hp.conformsTo,Wt.deburr=mp.deburr,Wt.defaultTo=bp.defaultTo,Wt.divide=pp.divide,Wt.endsWith=mp.endsWith,Wt.eq=hp.eq,Wt.escape=mp.escape,Wt.escapeRegExp=mp.escapeRegExp,Wt.every=cp.every,Wt.find=cp.find,Wt.findIndex=up.findIndex,Wt.findKey=yp.findKey,Wt.findLast=cp.findLast,Wt.findLastIndex=up.findLastIndex,Wt.findLastKey=yp.findLastKey,Wt.floor=pp.floor,Wt.forEach=cp.forEach,Wt.forEachRight=cp.forEachRight,Wt.forIn=yp.forIn,Wt.forInRight=yp.forInRight,Wt.forOwn=yp.forOwn,Wt.forOwnRight=yp.forOwnRight,Wt.get=yp.get,Wt.gt=hp.gt,Wt.gte=hp.gte,Wt.has=yp.has,Wt.hasIn=yp.hasIn,Wt.head=up.head,Wt.identity=Q,Wt.includes=cp.includes,Wt.indexOf=up.indexOf,Wt.inRange=vp,Wt.invoke=yp.invoke,Wt.isArguments=hp.isArguments,Wt.isArray=D,Wt.isArrayBuffer=hp.isArrayBuffer,Wt.isArrayLike=hp.isArrayLike,Wt.isArrayLikeObject=hp.isArrayLikeObject,Wt.isBoolean=hp.isBoolean,Wt.isBuffer=hp.isBuffer,Wt.isDate=hp.isDate,Wt.isElement=hp.isElement,Wt.isEmpty=hp.isEmpty,Wt.isEqual=hp.isEqual,Wt.isEqualWith=hp.isEqualWith,Wt.isError=hp.isError,Wt.isFinite=hp.isFinite,Wt.isFunction=hp.isFunction,Wt.isInteger=hp.isInteger,Wt.isLength=hp.isLength,Wt.isMap=hp.isMap,Wt.isMatch=hp.isMatch,Wt.isMatchWith=hp.isMatchWith,Wt.isNaN=hp.isNaN,Wt.isNative=hp.isNative,Wt.isNil=hp.isNil,Wt.isNull=hp.isNull,Wt.isNumber=hp.isNumber,Wt.isObject=z,Wt.isObjectLike=hp.isObjectLike,Wt.isPlainObject=hp.isPlainObject,Wt.isRegExp=hp.isRegExp,Wt.isSafeInteger=hp.isSafeInteger,Wt.isSet=hp.isSet,Wt.isString=hp.isString,Wt.isSymbol=hp.isSymbol,Wt.isTypedArray=hp.isTypedArray,Wt.isUndefined=hp.isUndefined,Wt.isWeakMap=hp.isWeakMap,Wt.isWeakSet=hp.isWeakSet,Wt.join=up.join,Wt.kebabCase=mp.kebabCase,Wt.last=$s,Wt.lastIndexOf=up.lastIndexOf,Wt.lowerCase=mp.lowerCase,Wt.lowerFirst=mp.lowerFirst,Wt.lt=hp.lt,Wt.lte=hp.lte,Wt.max=pp.max,Wt.maxBy=pp.maxBy,Wt.mean=pp.mean,Wt.meanBy=pp.meanBy,Wt.min=pp.min,Wt.minBy=pp.minBy,Wt.stubArray=bp.stubArray,Wt.stubFalse=bp.stubFalse,Wt.stubObject=bp.stubObject,Wt.stubString=bp.stubString,Wt.stubTrue=bp.stubTrue,Wt.multiply=pp.multiply,Wt.nth=up.nth,Wt.noop=bp.noop,Wt.now=lp.now,Wt.pad=mp.pad,Wt.padEnd=mp.padEnd,Wt.padStart=mp.padStart,Wt.parseInt=mp.parseInt,Wt.random=gp,Wt.reduce=cp.reduce,Wt.reduceRight=cp.reduceRight,Wt.repeat=mp.repeat,Wt.replace=mp.replace,Wt.result=yp.result,Wt.round=pp.round,Wt.sample=cp.sample,Wt.size=cp.size,Wt.snakeCase=mp.snakeCase,Wt.some=cp.some,Wt.sortedIndex=up.sortedIndex,Wt.sortedIndexBy=up.sortedIndexBy,Wt.sortedIndexOf=up.sortedIndexOf,Wt.sortedLastIndex=up.sortedLastIndex,Wt.sortedLastIndexBy=up.sortedLastIndexBy,Wt.sortedLastIndexOf=up.sortedLastIndexOf,Wt.startCase=mp.startCase,Wt.startsWith=mp.startsWith,Wt.subtract=pp.subtract,Wt.sum=pp.sum,Wt.sumBy=pp.sumBy,Wt.template=mp.template,Wt.times=bp.times,Wt.toFinite=hp.toFinite,Wt.toInteger=K,Wt.toLength=hp.toLength,Wt.toLower=mp.toLower,Wt.toNumber=hp.toNumber,Wt.toSafeInteger=hp.toSafeInteger,Wt.toString=hp.toString,Wt.toUpper=mp.toUpper,Wt.trim=mp.trim,Wt.trimEnd=mp.trimEnd,Wt.trimStart=mp.trimStart,Wt.truncate=mp.truncate,Wt.unescape=mp.unescape,Wt.uniqueId=bp.uniqueId,Wt.upperCase=mp.upperCase,Wt.upperFirst=mp.upperFirst,Wt.each=cp.forEach,Wt.eachRight=cp.forEachRight,Wt.first=up.head,Dp(Wt,(Mp={},ds(Wt,(function(t,e){kp.call(Wt.prototype,e)||(Mp[e]=t)})),Mp),{chain:!1}),Wt.VERSION="4.17.15",(Wt.templateSettings=mp.templateSettings).imports._=Wt,ee(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Wt[t].placeholder=Wt})),ee(["drop","take"],(function(t,e){Ct.prototype[t]=function(n){n=void 0===n?1:jp(K(n),0);var r=this.__filtered__&&!e?new Ct(this):this.clone();return r.__filtered__?r.__takeCount__=Cp(n,r.__takeCount__):r.__views__.push({size:Cp(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Ct.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ee(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Ct.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ss(t),type:n}),e.__filtered__=e.__filtered__||r,e}})),ee(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Ct.prototype[t]=function(){return this[n](1).value()[0]}})),ee(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Ct.prototype[t]=function(){return this.__filtered__?new Ct(this):this[n](1)}})),Ct.prototype.compact=function(){return this.filter(Q)},Ct.prototype.find=function(t){return this.filter(t).head()},Ct.prototype.findLast=function(t){return this.reverse().find(t)},Ct.prototype.invokeMap=nn((function(t,e){return"function"==typeof t?new Ct(this):this.map((function(n){return Tc(n,t,e)}))})),Ct.prototype.reject=function(t){return this.filter(_l(ss(t)))},Ct.prototype.slice=function(t,e){t=K(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Ct(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=K(e))<0?n.dropRight(-e):n.take(e-t)),n)},Ct.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Ct.prototype.toArray=function(){return this.take(4294967295)},ds(Ct.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Wt[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(Wt.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,s=e instanceof Ct,u=a[0],c=s||D(e),l=function(t){var e=i.apply(Wt,br([t],a));return r&&f?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,h=!!this.__actions__.length,p=o&&!f,d=s&&!h;if(!o&&c){e=d?e:new Ct(this);var v=t.apply(e,a);return v.__actions__.push({func:wh,args:[l],thisArg:void 0}),new Bt(v,f)}return p&&d?t.apply(this,a):(v=this.thru(l),p?r?v.value()[0]:v.value():v)})})),ee(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Sp[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Wt.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(D(i)?i:[],t)}return this[n]((function(n){return e.apply(D(n)?n:[],t)}))}})),ds(Ct.prototype,(function(t,e){var n=Wt[e];if(n){var r=n.name+"";kp.call(Rt,r)||(Rt[r]=[]),Rt[r].push({name:e,func:n})}})),Rt[Se(void 0,2).name]=[{name:"wrapper",func:void 0}],Ct.prototype.clone=function(){var t=new Ct(this.__wrapped__);return t.__actions__=Ft(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ft(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ft(this.__views__),t},Ct.prototype.reverse=function(){if(this.__filtered__){var t=new Ct(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Ct.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=D(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=wp(e,t+a);break;case"takeRight":t=xp(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,f=l.length,h=0,p=Ep(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return Mh(t,this.__actions__);var d=[];t:for(;u--&&h<p;){for(var v=-1,g=t[c+=e];++v<f;){var y=l[v],_=y.iteratee,m=y.type,b=_(g);if(m==Tp)g=b;else if(!b){if(m==Op)continue t;break t}}d[h++]=g}return d},Wt.prototype.at=_p.at,Wt.prototype.chain=_p.wrapperChain,Wt.prototype.commit=_p.commit,Wt.prototype.next=_p.next,Wt.prototype.plant=_p.plant,Wt.prototype.reverse=_p.reverse,Wt.prototype.toJSON=Wt.prototype.valueOf=Wt.prototype.value=_p.value,Wt.prototype.first=Wt.prototype.head,Lp&&(Wt.prototype[Lp]=_p.toIterator),function(t){t.debounce=ks,t.clone=ca,t.merge=hl,t.removeArrayDuplicates=Yh,t.getDimensions=function(t){return{width:parseFloat(t.style.width.replace("px","")||t.offsetWidth),height:parseFloat(t.style.height.replace("px","")||t.offsetHeight)}},t.getTranslationValues=function(t){var e=t.getAttribute("transform").match(/translate\([0-9]+\.?[0-9]*,[0-9]+\.?[0-9]*\)/);if(e[0]){var n=e[0].replace(/translate\(/,"").replace(/\)/,"").split(",");return{tx:n[0],ty:n[1]}}return null},t.getTranformOffsets=function(t){var e=/\(([^)]+)\)/.exec(t)[1].split(",");return{x:parseFloat(e[0]),y:parseFloat(e[1])}},t.capitalizeFirstLetter=function(t){return t[0].toUpperCase()+t.slice(1)},t.convertValueToPercentage=function(t,e){var n=t/e.reduce((function(t,e){return t+e.value}),0)*100;return n<1?n.toPrecision(1):Math.floor(n)},t.arrayDifferences=function(t,e){var n={missing:[],added:[]};return t.forEach((function(t){-1===e.indexOf(t)&&n.missing.push(t)})),e.forEach((function(e){-1===t.indexOf(e)&&n.added.push(e)})),n},t.getDuplicateValues=function(t){var e=[],n=[];return t.forEach((function(t){-1!==e.indexOf(t)&&-1===n.indexOf(t)&&n.push(t),e.push(t)})),n},t.moveToFront=function(t){return t.each((function(){this.parentNode.appendChild(this)}))},t.getProperty=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=t;if(r){for(var i=0,o=e;i<o.length;i++){var a=o[i];if(!r[a])return null;r=r[a]}return r}return null}}(Ap||(Ap={}));var Pp={position:a.BOTTOM,clickable:!0,items:{status:{ACTIVE:1,DISABLED:0},horizontalSpace:12,verticalSpace:24,textYOffset:8},checkbox:{radius:6.5,spaceAfter:4}},Rp={x:{numberOfTicks:5},y:{numberOfTicks:5}},Ip={datapoint:{horizontalOffset:10,enabled:!0},title:{verticalOffset:.75,width:.4}},Np=Ap.merge({},Ip,{gridline:{enabled:!0,threshold:.25}}),Bp=Ap.merge({},Np,{datapoint:{verticalOffset:4},gridline:{enabled:!1}}),Fp={},zp={addSpaceOnEdges:!0},Gp={width:"100%",height:"100%",resizable:!0,theme:t.DEFAULT,tooltip:Ip,legend:Pp,style:{prefix:"cc"}},Wp=Ap.merge({},Gp,{axes:Fp,timeScale:zp,grid:Rp,tooltip:Np}),Vp=Ap.merge({},Wp,{bars:{maxWidth:16},tooltip:Bp}),Hp=Ap.merge({},Vp,{}),Up=Ap.merge({},Vp,{}),Yp=Ap.merge({},Vp,{bars:Ap.merge({},Vp.bars,{dividerSize:1.5})}),Xp=Ap.merge({},Wp,{points:{radius:3,filled:!1}}),qp=Ap.merge({},Wp,{points:{radius:4,fillOpacity:.3,filled:!0}}),$p=Ap.merge({},Gp,{pie:{radiusOffset:-15,innerRadius:2,padAngle:.007,hoverArc:{outerRadiusOffset:3},xOffset:30,yOffset:20,yOffsetCallout:10,callout:{minSliceDegree:5,offsetX:15,offsetY:12,horizontalLineLength:8,textMargin:2},labels:{formatter:null}}}),Zp={chart:Gp,axisChart:Wp,simpleBarChart:Hp,groupedBarChart:Up,stackedBarChart:Yp,lineChart:Xp,scatterChart:qp,pieChart:$p,donutChart:Ap.merge({},$p,{donut:{center:{numberFontSize:function(t){return Math.min(t/100*24,24)+"px"},titleFontSize:function(t){return Math.min(t/100*15,15)+"px"},titleYPosition:function(t){return Math.min(t/80*20,20)},numberFormatter:function(t){return Math.floor(t).toLocaleString()}}}})},Kp={opacity:{unselected:.3,selected:1}},Jp={default:{duration:300},pie_slice_mouseover:{duration:100},pie_chart_titles:{duration:375},graph_element_mouseover_fill_update:{duration:100},graph_element_mouseout_fill_update:{duration:100}},Qp=Object.freeze({legend:Pp,grid:Rp,baseTooltip:Ip,axisChartTooltip:Np,barChartTooltip:Bp,axes:Fp,timeScale:zp,options:Zp,lines:Kp,transitions:Jp});var td=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n={10:"#fff0f1",20:"#fcd0d3",30:"#ffa4a9",40:"#ff767c",50:"#fb4b53",60:"#da1e28",70:"#a51920",80:"#750e13",90:"#570408",100:"#2c080a"},r={10:"#fff0f6",20:"#ffcfe1",30:"#ffa0c2",40:"#fa75a6",50:"#ee538b",60:"#d12765",70:"#a11950",80:"#760a3a",90:"#57002b",100:"#2a0a16"},i={10:"#f7f1ff",20:"#e6d6ff",30:"#d0b0ff",40:"#bb8eff",50:"#a66efa",60:"#8a3ffc",70:"#6e32c9",80:"#4f2196",90:"#38146b",100:"#1e1033"},o={10:"#edf4ff",20:"#c9deff",30:"#97c1ff",40:"#6ea6ff",50:"#408bfc",60:"#0062ff",70:"#054ada",80:"#0530ad",90:"#061f80",100:"#051243"},a={10:"#e3f6ff",20:"#b3e6ff",30:"#6ccaff",40:"#30b0ff",50:"#1191e6",60:"#0072c3",70:"#0058a1",80:"#003d73",90:"#002b50",100:"#07192b"},s={10:"#dbfbfb",20:"#92eeee",30:"#20d5d2",40:"#00bab6",50:"#009c98",60:"#007d79",70:"#006161",80:"#004548",90:"#003137",100:"#081a1c"},u={10:"#dafbe4",20:"#9deeb2",30:"#56d679",40:"#3dbb61",50:"#24a148",60:"#198038",70:"#10642a",80:"#054719",90:"#01330f",100:"#081b09"},c={10:"#f2f4f8",20:"#d5d9e0",30:"#b9bfc7",40:"#9fa5ad",50:"#868d95",60:"#697077",70:"#50565b",80:"#373d42",90:"#242a2e",100:"#13171a"},l={10:"#f3f3f3",20:"#dcdcdc",30:"#bebebe",40:"#a4a4a4",50:"#8c8c8c",60:"#6f6f6f",70:"#565656",80:"#3d3d3d",90:"#282828",100:"#171717"},f={10:"#f7f3f1",20:"#e0dbda",30:"#c1bcbb",40:"#a7a2a2",50:"#8f8b8b",60:"#726e6e",70:"#595555",80:"#403c3c",90:"#2b2828",100:"#1a1717"},h={black:{100:"#000000"},blue:o,coolGray:c,cyan:a,gray:l,green:u,magenta:r,orange:{40:"#fc7b1e"},purple:i,red:n,teal:s,warmGray:f,white:{0:"#ffffff"},yellow:{20:"#fdd13a"}};e.black="#000000",e.black100="#000000",e.white="#ffffff",e.white0="#ffffff",e.yellow="#fdd13a",e.yellow20="#fdd13a",e.orange="#fc7b1e",e.orange40="#fc7b1e",e.red10="#fff0f1",e.red20="#fcd0d3",e.red30="#ffa4a9",e.red40="#ff767c",e.red50="#fb4b53",e.red60="#da1e28",e.red70="#a51920",e.red80="#750e13",e.red90="#570408",e.red100="#2c080a",e.red=n,e.magenta10="#fff0f6",e.magenta20="#ffcfe1",e.magenta30="#ffa0c2",e.magenta40="#fa75a6",e.magenta50="#ee538b",e.magenta60="#d12765",e.magenta70="#a11950",e.magenta80="#760a3a",e.magenta90="#57002b",e.magenta100="#2a0a16",e.magenta=r,e.purple10="#f7f1ff",e.purple20="#e6d6ff",e.purple30="#d0b0ff",e.purple40="#bb8eff",e.purple50="#a66efa",e.purple60="#8a3ffc",e.purple70="#6e32c9",e.purple80="#4f2196",e.purple90="#38146b",e.purple100="#1e1033",e.purple=i,e.blue10="#edf4ff",e.blue20="#c9deff",e.blue30="#97c1ff",e.blue40="#6ea6ff",e.blue50="#408bfc",e.blue60="#0062ff",e.blue70="#054ada",e.blue80="#0530ad",e.blue90="#061f80",e.blue100="#051243",e.blue=o,e.cyan10="#e3f6ff",e.cyan20="#b3e6ff",e.cyan30="#6ccaff",e.cyan40="#30b0ff",e.cyan50="#1191e6",e.cyan60="#0072c3",e.cyan70="#0058a1",e.cyan80="#003d73",e.cyan90="#002b50",e.cyan100="#07192b",e.cyan=a,e.teal10="#dbfbfb",e.teal20="#92eeee",e.teal30="#20d5d2",e.teal40="#00bab6",e.teal50="#009c98",e.teal60="#007d79",e.teal70="#006161",e.teal80="#004548",e.teal90="#003137",e.teal100="#081a1c",e.teal=s,e.green10="#dafbe4",e.green20="#9deeb2",e.green30="#56d679",e.green40="#3dbb61",e.green50="#24a148",e.green60="#198038",e.green70="#10642a",e.green80="#054719",e.green90="#01330f",e.green100="#081b09",e.green=u,e.coolGray10="#f2f4f8",e.coolGray20="#d5d9e0",e.coolGray30="#b9bfc7",e.coolGray40="#9fa5ad",e.coolGray50="#868d95",e.coolGray60="#697077",e.coolGray70="#50565b",e.coolGray80="#373d42",e.coolGray90="#242a2e",e.coolGray100="#13171a",e.coolGray=c,e.gray10="#f3f3f3",e.gray20="#dcdcdc",e.gray30="#bebebe",e.gray40="#a4a4a4",e.gray50="#8c8c8c",e.gray60="#6f6f6f",e.gray70="#565656",e.gray80="#3d3d3d",e.gray90="#282828",e.gray100="#171717",e.gray=l,e.warmGray10="#f7f3f1",e.warmGray20="#e0dbda",e.warmGray30="#c1bcbb",e.warmGray40="#a7a2a2",e.warmGray50="#8f8b8b",e.warmGray60="#726e6e",e.warmGray70="#595555",e.warmGray80="#403c3c",e.warmGray90="#2b2828",e.warmGray100="#1a1717",e.warmGray=f,e.colors=h,e.rgba=function(t,e){var n=[t.substring(1,3),t.substring(3,5),t.substring(5,7)].map((function(t){return parseInt(t,16)}));return"rgba(".concat(n[0],", ").concat(n[1],", ").concat(n[2],", ").concat(e,")")}}));!function(t){t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")&&t.default}(td);td.black,td.black100,td.white,td.white0,td.yellow,td.yellow20,td.orange,td.orange40,td.red10,td.red20,td.red30,td.red40,td.red50,td.red60,td.red70,td.red80,td.red90,td.red100;var ed=td.red,nd=(td.magenta10,td.magenta20,td.magenta30,td.magenta40,td.magenta50,td.magenta60,td.magenta70,td.magenta80,td.magenta90,td.magenta100,td.magenta),rd=(td.purple10,td.purple20,td.purple30,td.purple40,td.purple50,td.purple60,td.purple70,td.purple80,td.purple90,td.purple100,td.purple),id=(td.blue10,td.blue20,td.blue30,td.blue40,td.blue50,td.blue60,td.blue70,td.blue80,td.blue90,td.blue100,td.blue),od=(td.cyan10,td.cyan20,td.cyan30,td.cyan40,td.cyan50,td.cyan60,td.cyan70,td.cyan80,td.cyan90,td.cyan100,td.cyan),ad=(td.teal10,td.teal20,td.teal30,td.teal40,td.teal50,td.teal60,td.teal70,td.teal80,td.teal90,td.teal100,td.teal),sd=(td.green10,td.green20,td.green30,td.green40,td.green50,td.green60,td.green70,td.green80,td.green90,td.green100,td.green),ud=(td.coolGray10,td.coolGray20,td.coolGray30,td.coolGray40,td.coolGray50,td.coolGray60,td.coolGray70,td.coolGray80,td.coolGray90,td.coolGray100,td.coolGray,td.gray10,td.gray20,td.gray30,td.gray40,td.gray50,td.gray60,td.gray70,td.gray80,td.gray90,td.gray100,td.gray,td.warmGray10,td.warmGray20,td.warmGray30,td.warmGray40,td.warmGray50,td.warmGray60,td.warmGray70,td.warmGray80,td.warmGray90,td.warmGray100,td.warmGray,td.colors,td.rgba,function(t,e){return t[e]}),cd=function(t){return ud(id,t)},ld=function(t){return ud(od,t)},fd=function(t){return ud(sd,t)},hd=function(t){return ud(nd,t)},pd=function(t){return ud(rd,t)},dd=function(t){return ud(ed,t)},vd=function(t){return ud(ad,t)},gd=[pd(70),ld(50),vd(70),hd(70),dd(50),dd(90),fd(60),cd(80),hd(50),"#b28600",vd(50),ld(90),"#8a3800",pd(50)],yd=[pd(60),ld(40),vd(60),hd(40),dd(50),dd(10),fd(30),cd(50),hd(60),"#d2a106",vd(40),ld(20),"#ba4e00",pd(30)],_d=gd,md=yd,bd=yd,xd=gd,wd=Object.freeze({WHITE:gd,DARK:yd,G10:_d,G90:md,G100:bd,DEFAULT:xd});function Od(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Td(t){var e;return 1===t.length&&(e=t,t=function(t,n){return Od(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}var Ed=Td(Od).right;function Md(t,e){var n,r,i,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(n=t[a])&&n>=n)for(r=i=n;++a<o;)null!=(n=t[a])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++a<o;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=i=n;++a<o;)null!=(n=e(t[a],a,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var Ad=Math.sqrt(50),Sd=Math.sqrt(10),kd=Math.sqrt(2);function Ld(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=jd(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o}function jd(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Ad?10:o>=Sd?5:o>=kd?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Ad?10:o>=Sd?5:o>=kd?2:1)}function Cd(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Ad?i*=10:o>=Sd?i*=5:o>=kd&&(i*=2),e<t?-i:i}function Dd(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Pd(){}function Rd(t,e){var n=new Pd;if(t instanceof Pd)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}function Id(){}Pd.prototype=Rd.prototype={constructor:Pd,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var Nd=Rd.prototype;Id.prototype=function(t,e){var n=new Id;if(t instanceof Id)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}.prototype={constructor:Id,has:Nd.has,add:function(t){return this["$"+(t+="")]=t,this},remove:Nd.remove,clear:Nd.clear,values:Nd.keys,size:Nd.size,empty:Nd.empty,each:Nd.each};var Bd=Array.prototype,Fd=Bd.map,zd=Bd.slice,Gd={name:"implicit"};function Wd(){var t=Rd(),e=[],n=[],r=Gd;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Gd)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=Rd();for(var r,o,a=-1,s=n.length;++a<s;)t.has(o=(r=n[a])+"")||t.set(o,e.push(r));return i},i.range=function(t){return arguments.length?(n=zd.call(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Wd(e,n).unknown(r)},Dd.apply(i,arguments),i}function Vd(){var t,e,n=Wd().unknown(void 0),r=n.domain,i=n.range,o=[0,1],a=!1,s=0,u=0,c=.5;function l(){var n=r().length,l=o[1]<o[0],f=o[l-0],h=o[1-l];t=(h-f)/Math.max(1,n-s+2*u),a&&(t=Math.floor(t)),f+=(h-f-t*(n-s))*c,e=t*(1-s),a&&(f=Math.round(f),e=Math.round(e));var p=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}(n).map((function(e){return f+t*e}));return i(l?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){return arguments.length?(o=[+t[0],+t[1]],l()):o.slice()},n.rangeRound=function(t){return o=[+t[0],+t[1]],a=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,l()):a},n.padding=function(t){return arguments.length?(s=Math.min(1,u=+t),l()):s},n.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),l()):s},n.paddingOuter=function(t){return arguments.length?(u=+t,l()):u},n.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),l()):c},n.copy=function(){return Vd(r(),o).round(a).paddingInner(s).paddingOuter(u).align(c)},Dd.apply(l(),arguments)}function Hd(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ud(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Yd(){}var Xd="\\s*([+-]?\\d+)\\s*",qd="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",$d="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Zd=/^#([0-9a-f]{3,8})$/,Kd=new RegExp("^rgb\\("+[Xd,Xd,Xd]+"\\)$"),Jd=new RegExp("^rgb\\("+[$d,$d,$d]+"\\)$"),Qd=new RegExp("^rgba\\("+[Xd,Xd,Xd,qd]+"\\)$"),tv=new RegExp("^rgba\\("+[$d,$d,$d,qd]+"\\)$"),ev=new RegExp("^hsl\\("+[qd,$d,$d]+"\\)$"),nv=new RegExp("^hsla\\("+[qd,$d,$d,qd]+"\\)$"),rv={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function iv(){return this.rgb().formatHex()}function ov(){return this.rgb().formatRgb()}function av(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Zd.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?sv(e):3===n?new lv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?new lv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?new lv(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Kd.exec(t))?new lv(e[1],e[2],e[3],1):(e=Jd.exec(t))?new lv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Qd.exec(t))?uv(e[1],e[2],e[3],e[4]):(e=tv.exec(t))?uv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ev.exec(t))?dv(e[1],e[2]/100,e[3]/100,1):(e=nv.exec(t))?dv(e[1],e[2]/100,e[3]/100,e[4]):rv.hasOwnProperty(t)?sv(rv[t]):"transparent"===t?new lv(NaN,NaN,NaN,0):null}function sv(t){return new lv(t>>16&255,t>>8&255,255&t,1)}function uv(t,e,n,r){return r<=0&&(t=e=n=NaN),new lv(t,e,n,r)}function cv(t,e,n,r){return 1===arguments.length?((i=t)instanceof Yd||(i=av(i)),i?new lv((i=i.rgb()).r,i.g,i.b,i.opacity):new lv):new lv(t,e,n,null==r?1:r);var i}function lv(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function fv(){return"#"+pv(this.r)+pv(this.g)+pv(this.b)}function hv(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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))+(1===t?")":", "+t+")")}function pv(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function dv(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new gv(t,e,n,r)}function vv(t){if(t instanceof gv)return new gv(t.h,t.s,t.l,t.opacity);if(t instanceof Yd||(t=av(t)),!t)return new gv;if(t instanceof gv)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new gv(a,s,u,t.opacity)}function gv(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function yv(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function _v(t){return function(){return t}}function mv(t){return 1==(t=+t)?bv:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):_v(isNaN(e)?n:e)}}function bv(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):_v(isNaN(t)?e:t)}Hd(Yd,av,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:iv,formatHex:iv,formatHsl:function(){return vv(this).formatHsl()},formatRgb:ov,toString:ov}),Hd(lv,cv,Ud(Yd,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new lv(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new lv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:fv,formatHex:fv,formatRgb:hv,toString:hv})),Hd(gv,(function(t,e,n,r){return 1===arguments.length?vv(t):new gv(t,e,n,null==r?1:r)}),Ud(Yd,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new gv(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new gv(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new lv(yv(t>=240?t-240:t+120,i,r),yv(t,i,r),yv(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var xv=function t(e){var n=mv(e);function r(t,e){var r=n((t=cv(t)).r,(e=cv(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=bv(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function wv(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=kv(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Ov(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}}function Tv(t,e){return e-=t=+t,function(n){return t+e*n}}function Ev(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=kv(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var Mv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Av=new RegExp(Mv.source,"g");function Sv(t,e){var n,r,i,o=Mv.lastIndex=Av.lastIndex=0,a=-1,s=[],u=[];for(t+="",e+="";(n=Mv.exec(t))&&(r=Av.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Tv(n,r)})),o=Av.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var n,r=0;r<e;++r)s[(n=u[r]).i]=n.x(t);return s.join("")})}function kv(t,e){var n,r=typeof e;return null==e||"boolean"===r?_v(e):("number"===r?Tv:"string"===r?(n=av(e))?(e=n,xv):Sv:e instanceof av?xv:e instanceof Date?Ov:Array.isArray(e)?wv:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Ev:Tv)(t,e)}function Lv(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}}var jv,Cv,Dv,Pv,Rv=180/Math.PI,Iv={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Nv(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r<e*n&&(t=-t,e=-e,u=-u,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Rv,skewX:Math.atan(u)*Rv,scaleX:a,scaleY:s}}function Bv(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],u=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var u=a.push("translate(",null,e,null,n);s.push({i:u-4,x:Tv(t,i)},{i:u-2,x:Tv(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,u),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Tv(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Tv(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,u),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Tv(t,n)},{i:s-2,x:Tv(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var e,n=-1,r=u.length;++n<r;)s[(e=u[n]).i]=e.x(t);return s.join("")}}}var Fv=Bv((function(t){return"none"===t?Iv:(jv||(jv=document.createElement("DIV"),Cv=document.documentElement,Dv=document.defaultView),jv.style.transform=t,t=Dv.getComputedStyle(Cv.appendChild(jv),null).getPropertyValue("transform"),Cv.removeChild(jv),Nv(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),zv=Bv((function(t){return null==t?Iv:(Pv||(Pv=document.createElementNS("http://www.w3.org/2000/svg","g")),Pv.setAttribute("transform",t),(t=Pv.transform.baseVal.consolidate())?Nv((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Iv)}),", ",")",")");function Gv(t){return+t}var Wv=[0,1];function Vv(t){return t}function Hv(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function Uv(t){var e,n=t[0],r=t[t.length-1];return n>r&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function Yv(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=Hv(i,r),o=n(a,o)):(r=Hv(r,i),o=n(o,a)),function(t){return o(r(t))}}function Xv(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=Hv(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=Ed(t,e,1,r)-1;return o[n](i[n](e))}}function qv(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function $v(){var t,e,n,r,i,o,a=Wv,s=Wv,u=kv,c=Vv;function l(){return r=Math.min(a.length,s.length)>2?Xv:Yv,i=o=null,f}function f(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return f.invert=function(n){return c(e((o||(o=r(s,a.map(t),Tv)))(n)))},f.domain=function(t){return arguments.length?(a=Fd.call(t,Gv),c===Vv||(c=Uv(a)),l()):a.slice()},f.range=function(t){return arguments.length?(s=zd.call(t),l()):s.slice()},f.rangeRound=function(t){return s=zd.call(t),u=Lv,l()},f.clamp=function(t){return arguments.length?(c=t?Uv(a):Vv,f):c!==Vv},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function Zv(t,e){return $v()(t,e)}function Kv(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Jv(t){return(t=Kv(Math.abs(t)))?t[1]:NaN}var Qv,tg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function eg(t){if(!(e=tg.exec(t)))throw new Error("invalid format: "+t);var e;return new ng({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ng(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function rg(t,e){var n=Kv(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}eg.prototype=ng.prototype,ng.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ig={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return rg(100*t,e)},r:rg,s:function(t,e){var n=Kv(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Qv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Kv(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function og(t){return t}var ag,sg,ug,cg=Array.prototype.map,lg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fg(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?og:(e=cg.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?og:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(cg.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=eg(t)).fill,n=t.align,f=t.sign,h=t.symbol,p=t.zero,d=t.width,v=t.comma,g=t.precision,y=t.trim,_=t.type;"n"===_?(v=!0,_="g"):ig[_]||(void 0===g&&(g=12),y=!0,_="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var m="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",b="$"===h?o:/[%p]/.test(_)?u:"",x=ig[_],w=/[defgprs%]/.test(_);function O(t){var i,o,u,h=m,O=b;if("c"===_)O=x(t)+O,t="";else{var T=(t=+t)<0;if(t=isNaN(t)?l:x(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(i>0){if(!+t[r])break t;i=0}}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&(T=!1),h=(T?"("===f?f:c:"-"===f||"("===f?"":f)+h,O=("s"===_?lg[8+Qv/3]:"")+O+(T&&"("===f?")":""),w)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){O=(46===u?a+t.slice(i+1):t.slice(i))+O,t=t.slice(0,i);break}}v&&!p&&(t=r(t,1/0));var E=h.length+t.length+O.length,M=E<d?new Array(d-E+1).join(e):"";switch(v&&p&&(t=r(M+t,M.length?d-O.length:1/0),M=""),n){case"<":t=h+t+O+M;break;case"=":t=h+M+t+O;break;case"^":t=M.slice(0,E=M.length>>1)+h+t+O+M.slice(E);break;default:t=M+h+t+O}return s(t)}return g=void 0===g?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),O.toString=function(){return t+""},O}return{format:f,formatPrefix:function(t,e){var n=f(((t=eg(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Jv(e)/3))),i=Math.pow(10,-r),o=lg[8+r/3];return function(t){return n(i*t)+o}}}}function hg(t,e,n,r){var i,o=Cd(t,e,n);switch((r=eg(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Jv(e)/3)))-Jv(Math.abs(t)))}(o,a))||(r.precision=i),ug(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Jv(e)-Jv(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-Jv(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return sg(r)}function pg(){var t=Zv(Vv,Vv);return t.copy=function(){return qv(t,pg())},Dd.apply(t,arguments),function(t){var e=t.domain;return t.ticks=function(t){var n=e();return Ld(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return hg(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,s=i[o],u=i[a];return u<s&&(r=s,s=u,u=r,r=o,o=a,a=r),(r=jd(s,u,n))>0?r=jd(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,n):r<0&&(r=jd(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,e(i)),t},t}(t)}function dg(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function vg(t){return Math.log(t)}function gg(t){return Math.exp(t)}function yg(t){return-Math.log(-t)}function _g(t){return-Math.exp(-t)}function mg(t){return isFinite(t)?+("1e"+t):t<0?0:t}function bg(t){return function(e){return-t(-e)}}function xg(t){var e,n,r=t(vg,gg),i=r.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?mg:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=bg(e),n=bg(n),t(yg,_g)):t(vg,gg),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),s=a[0],u=a[a.length-1];(r=u<s)&&(h=s,s=u,u=h);var c,l,f,h=e(s),p=e(u),d=null==t?10:+t,v=[];if(!(o%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,s>0){for(;h<p;++h)for(l=1,c=n(h);l<o;++l)if(!((f=c*l)<s)){if(f>u)break;v.push(f)}}else for(;h<p;++h)for(l=o-1,c=n(h);l>=1;--l)if(!((f=c*l)<s)){if(f>u)break;v.push(f)}}else v=Ld(h,p,Math.min(p-h,d)).map(n);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=sg(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(dg(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}ag=fg({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),sg=ag.format,ug=ag.formatPrefix;var wg=new Date,Og=new Date;function Tg(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return s},i.filter=function(n){return Tg((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return wg.setTime(+e),Og.setTime(+r),t(wg),t(Og),Math.floor(n(wg,Og))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Eg=Tg((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));Eg.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Tg((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Eg:null};var Mg=6e4,Ag=6048e5,Sg=Tg((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()})),kg=Tg((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+e*Mg)}),(function(t,e){return(e-t)/Mg}),(function(t){return t.getMinutes()})),Lg=Tg((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Mg)}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()})),jg=Tg((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Mg)/864e5}),(function(t){return t.getDate()-1}));function Cg(t){return Tg((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Mg)/Ag}))}var Dg=Cg(0),Pg=Cg(1),Rg=(Cg(2),Cg(3),Cg(4)),Ig=(Cg(5),Cg(6),Tg((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),Ng=Tg((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Ng.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Tg((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Bg=Tg((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1}));function Fg(t){return Tg((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Ag}))}var zg=Fg(0),Gg=Fg(1),Wg=(Fg(2),Fg(3),Fg(4)),Vg=(Fg(5),Fg(6),Tg((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));function Hg(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Ug(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Yg(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}Vg.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Tg((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Xg,qg,$g,Zg,Kg={"-":"",_:" ",0:"0"},Jg=/^\s*\d+/,Qg=/^%/,ty=/[\\^$*+?|[\]().{}]/g;function ey(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function ny(t){return t.replace(ty,"\\$&")}function ry(t){return new RegExp("^(?:"+t.map(ny).join("|")+")","i")}function iy(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function oy(t,e,n){var r=Jg.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function ay(t,e,n){var r=Jg.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function sy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function uy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function cy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ly(t,e,n){var r=Jg.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function fy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function hy(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function py(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function dy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function vy(t,e,n){var r=Jg.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function gy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function yy(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function _y(t,e,n){var r=Jg.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function my(t,e,n){var r=Jg.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function by(t,e,n){var r=Jg.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xy(t,e,n){var r=Qg.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function wy(t,e,n){var r=Jg.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Oy(t,e,n){var r=Jg.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function Ty(t,e){return ey(t.getDate(),e,2)}function Ey(t,e){return ey(t.getHours(),e,2)}function My(t,e){return ey(t.getHours()%12||12,e,2)}function Ay(t,e){return ey(1+jg.count(Ng(t),t),e,3)}function Sy(t,e){return ey(t.getMilliseconds(),e,3)}function ky(t,e){return Sy(t,e)+"000"}function Ly(t,e){return ey(t.getMonth()+1,e,2)}function jy(t,e){return ey(t.getMinutes(),e,2)}function Cy(t,e){return ey(t.getSeconds(),e,2)}function Dy(t){var e=t.getDay();return 0===e?7:e}function Py(t,e){return ey(Dg.count(Ng(t),t),e,2)}function Ry(t,e){var n=t.getDay();return t=n>=4||0===n?Rg(t):Rg.ceil(t),ey(Rg.count(Ng(t),t)+(4===Ng(t).getDay()),e,2)}function Iy(t){return t.getDay()}function Ny(t,e){return ey(Pg.count(Ng(t),t),e,2)}function By(t,e){return ey(t.getFullYear()%100,e,2)}function Fy(t,e){return ey(t.getFullYear()%1e4,e,4)}function zy(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ey(e/60|0,"0",2)+ey(e%60,"0",2)}function Gy(t,e){return ey(t.getUTCDate(),e,2)}function Wy(t,e){return ey(t.getUTCHours(),e,2)}function Vy(t,e){return ey(t.getUTCHours()%12||12,e,2)}function Hy(t,e){return ey(1+Bg.count(Vg(t),t),e,3)}function Uy(t,e){return ey(t.getUTCMilliseconds(),e,3)}function Yy(t,e){return Uy(t,e)+"000"}function Xy(t,e){return ey(t.getUTCMonth()+1,e,2)}function qy(t,e){return ey(t.getUTCMinutes(),e,2)}function $y(t,e){return ey(t.getUTCSeconds(),e,2)}function Zy(t){var e=t.getUTCDay();return 0===e?7:e}function Ky(t,e){return ey(zg.count(Vg(t),t),e,2)}function Jy(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Wg(t):Wg.ceil(t),ey(Wg.count(Vg(t),t)+(4===Vg(t).getUTCDay()),e,2)}function Qy(t){return t.getUTCDay()}function t_(t,e){return ey(Gg.count(Vg(t),t),e,2)}function e_(t,e){return ey(t.getUTCFullYear()%100,e,2)}function n_(t,e){return ey(t.getUTCFullYear()%1e4,e,4)}function r_(){return"+0000"}function i_(){return"%"}function o_(t){return+t}function a_(t){return Math.floor(+t/1e3)}function s_(t){return Xg=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=ry(i),l=iy(i),f=ry(o),h=iy(o),p=ry(a),d=iy(a),v=ry(s),g=iy(s),y=ry(u),_=iy(u),m={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Ty,e:Ty,f:ky,H:Ey,I:My,j:Ay,L:Sy,m:Ly,M:jy,p:function(t){return i[+(t.getHours()>=12)]},Q:o_,s:a_,S:Cy,u:Dy,U:Py,V:Ry,w:Iy,W:Ny,x:null,X:null,y:By,Y:Fy,Z:zy,"%":i_},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Gy,e:Gy,f:Yy,H:Wy,I:Vy,j:Hy,L:Uy,m:Xy,M:qy,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:o_,s:a_,S:$y,u:Zy,U:Ky,V:Jy,w:Qy,W:t_,x:null,X:null,y:e_,Y:n_,Z:r_,"%":i_},x={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=d[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=_[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:dy,e:dy,f:by,H:gy,I:gy,j:vy,L:my,m:py,M:yy,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=l[r[0].toLowerCase()],n+r[0].length):-1},Q:wy,s:Oy,S:_y,u:ay,U:sy,V:uy,w:oy,W:cy,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:fy,Y:ly,Z:hy,"%":xy};function w(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(i=Kg[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function O(t,e){return function(n){var r,i,o=Yg(1900);if(T(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Ug(Yg(o.y))).getUTCDay(),r=i>4||0===i?Gg.ceil(r):Gg(r),r=Bg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=e(Yg(o.y))).getDay(),r=i>4||0===i?Pg.ceil(r):Pg(r),r=jg.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Ug(Yg(o.y)).getUTCDay():e(Yg(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Ug(o)):e(o)}}function T(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a<s;){if(r>=u)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=x[i in Kg?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return(m.x=w(n,m),m.X=w(r,m),m.c=w(e,m),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",m);return e.toString=function(){return t},e},parse:function(t){var e=O(t+="",Hg);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=O(t,Ug);return e.toString=function(){return t},e}})}(t),qg=Xg.format,Xg.parse,$g=Xg.utcFormat,Zg=Xg.utcParse,Xg}s_({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"]});Date.prototype.toISOString||$g("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||Zg("%Y-%m-%dT%H:%M:%S.%LZ");var u_=1e3,c_=60*u_,l_=60*c_,f_=24*l_,h_=7*f_,p_=30*f_,d_=365*f_;function v_(t){return new Date(t)}function g_(t){return t instanceof Date?+t:+new Date(+t)}function y_(){return Dd.apply(function t(e,n,r,i,o,a,s,u,c){var l=Zv(Vv,Vv),f=l.invert,h=l.domain,p=c(".%L"),d=c(":%S"),v=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),_=c("%b %d"),m=c("%B"),b=c("%Y"),x=[[s,1,u_],[s,5,5*u_],[s,15,15*u_],[s,30,30*u_],[a,1,c_],[a,5,5*c_],[a,15,15*c_],[a,30,30*c_],[o,1,l_],[o,3,3*l_],[o,6,6*l_],[o,12,12*l_],[i,1,f_],[i,2,2*f_],[r,1,h_],[n,1,p_],[n,3,3*p_],[e,1,d_]];function w(t){return(s(t)<t?p:a(t)<t?d:o(t)<t?v:i(t)<t?g:n(t)<t?r(t)<t?y:_:e(t)<t?m:b)(t)}function O(t,n,r,i){if(null==t&&(t=10),"number"==typeof t){var o=Math.abs(r-n)/t,a=Td((function(t){return t[2]})).right(x,o);a===x.length?(i=Cd(n/d_,r/d_,t),t=e):a?(i=(a=x[o/x[a-1][2]<x[a][2]/o?a-1:a])[1],t=a[0]):(i=Math.max(Cd(n,r,t),1),t=u)}return null==i?t:t.every(i)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Fd.call(t,g_)):h().map(v_)},l.ticks=function(t,e){var n,r=h(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=(n=O(t,i,o,e))?n.range(i,o+1):[],a?n.reverse():n},l.tickFormat=function(t,e){return null==e?w:c(e)},l.nice=function(t,e){var n=h();return(t=O(t,n[0],n[n.length-1],e))?h(dg(n,t)):l},l.copy=function(){return qv(l,t(e,n,r,i,o,a,s,u,c))},l}(Ng,Ig,Dg,jg,Lg,kg,Sg,Eg,qg).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var __=function(){function t(t){this.state={options:{}},this.patternScale={},this.colorScale={},this.services=t}return t.prototype.getDisplayData=function(){var t=Pp.items.status.ACTIVE,e=this.get("dataLabels");if(!this.get("data"))return null;var n=Ap.clone(this.get("data"));return n.datasets=n.datasets.filter((function(n){return e[n.label]===t})),n},t.prototype.getData=function(){return this.get("data")},t.prototype.setData=function(t){var e=this.generateDataLabels(t);return this.set({data:t,dataLabels:e}),this.state.data},t.prototype.generateDataLabels=function(t){var e={};return t.datasets.forEach((function(t){e[t.label]=Pp.items.status.ACTIVE})),e},t.prototype.getOptions=function(){return this.state.options},t.prototype.set=function(t,e){void 0===e&&(e=!1),this.state=Object.assign({},this.state,t),e||this.update()},t.prototype.get=function(t){return t?this.state[t]:this.state},t.prototype.setOptions=function(t){this.set({options:Ap.merge(this.getOptions(),t)})},t.prototype.update=function(){this.getDisplayData()&&(this.updateAllDataLabels(),this.setColorScale(),this.services.events.dispatchEvent("model-update"))},t.prototype.setUpdateCallback=function(t){this.updateCallback=t},t.prototype.toggleDataLabel=function(t){var e=Pp.items.status,n=e.ACTIVE,r=e.DISABLED,i=this.get("dataLabels"),o=Object.keys(i).some((function(t){return i[t]===r})),a=Object.keys(i).filter((function(t){return i[t]===n}));o?1===a.length&&a[0]===t?Object.keys(i).forEach((function(t){i[t]=n})):i[t]=i[t]===r?n:r:Object.keys(i).forEach((function(e){i[e]=e===t?n:r})),this.set({dataLabels:i})},t.prototype.setColorScale=function(){var t=this;if(this.getDisplayData().datasets[0].fillColors)this.getDisplayData().datasets.forEach((function(e){t.colorScale[e.label]=Wd().range(e.fillColors).domain(t.allDataLabels)}));else{var e=xd;this.getDisplayData().datasets.forEach((function(n,r){t.colorScale[n.label]=Wd().range([e[r]]).domain(t.allDataLabels)}))}},t.prototype.getFillColor=function(t,e,n){var r=this.getOptions();return r.getFillColor?r.getFillColor(t,e,n):this.getFillScale()[t](e)},t.prototype.getStrokeColor=function(t,e,n){var r=this.getOptions();return r.getStrokeColor?r.getStrokeColor(t,e,n):this.colorScale[t](e)},t.prototype.getFillScale=function(){return this.colorScale},t.prototype.updateAllDataLabels=function(){var t=this;this.allDataLabels?this.getDisplayData().labels.forEach((function(e){-1===t.allDataLabels.indexOf(e)&&t.allDataLabels.push(e)})):this.allDataLabels=this.getDisplayData().labels},t}(),m_=function(){function t(t,e){this.model=t,this.services=e,this.init()}return t.prototype.init=function(){},t.prototype.update=function(){},t.prototype.setModel=function(t){this.model=t},t.prototype.setServices=function(t){this.services=t},t}(),b_="http://www.w3.org/1999/xhtml",x_={svg:"http://www.w3.org/2000/svg",xhtml:b_,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function w_(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),x_.hasOwnProperty(e)?{space:x_[e],local:t}:t}function O_(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===b_&&e.documentElement.namespaceURI===b_?e.createElement(t):e.createElementNS(n,t)}}function T_(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function E_(t){var e=w_(t);return(e.local?T_:O_)(e)}function M_(){}function A_(t){return null==t?M_:function(){return this.querySelector(t)}}function S_(){return[]}function k_(t){return null==t?S_:function(){return this.querySelectorAll(t)}}function L_(t){return function(){return this.matches(t)}}function j_(t){return new Array(t.length)}function C_(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}C_.prototype={constructor:C_,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var D_="$";function P_(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new C_(t,o[s]);for(;s<u;++s)(a=e[s])&&(i[s]=a)}function R_(t,e,n,r,i,o,a){var s,u,c,l={},f=e.length,h=o.length,p=new Array(f);for(s=0;s<f;++s)(u=e[s])&&(p[s]=c=D_+a.call(u,u.__data__,s,e),c in l?i[s]=u:l[c]=u);for(s=0;s<h;++s)(u=l[c=D_+a.call(t,o[s],s,o)])?(r[s]=u,u.__data__=o[s],l[c]=null):n[s]=new C_(t,o[s]);for(s=0;s<f;++s)(u=e[s])&&l[p[s]]===u&&(i[s]=u)}function I_(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function N_(t){return function(){this.removeAttribute(t)}}function B_(t){return function(){this.removeAttributeNS(t.space,t.local)}}function F_(t,e){return function(){this.setAttribute(t,e)}}function z_(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function G_(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function W_(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function V_(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function H_(t){return function(){this.style.removeProperty(t)}}function U_(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Y_(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function X_(t,e){return t.style.getPropertyValue(e)||V_(t).getComputedStyle(t,null).getPropertyValue(e)}function q_(t){return function(){delete this[t]}}function $_(t,e){return function(){this[t]=e}}function Z_(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function K_(t){return t.trim().split(/^|\s+/)}function J_(t){return t.classList||new Q_(t)}function Q_(t){this._node=t,this._names=K_(t.getAttribute("class")||"")}function tm(t,e){for(var n=J_(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function em(t,e){for(var n=J_(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function nm(t){return function(){tm(this,t)}}function rm(t){return function(){em(this,t)}}function im(t,e){return function(){(e.apply(this,arguments)?tm:em)(this,t)}}function om(){this.textContent=""}function am(t){return function(){this.textContent=t}}function sm(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function um(){this.innerHTML=""}function cm(t){return function(){this.innerHTML=t}}function lm(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function fm(){this.nextSibling&&this.parentNode.appendChild(this)}function hm(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function pm(){return null}function dm(){var t=this.parentNode;t&&t.removeChild(this)}function vm(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function gm(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Q_.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ym={},_m=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(ym={mouseenter:"mouseover",mouseleave:"mouseout"}));function mm(t,e,n){return t=bm(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function bm(t,e,n){return function(r){var i=_m;_m=r;try{t.call(this,this.__data__,e,n)}finally{_m=i}}}function xm(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function wm(t,e,n){var r=ym.hasOwnProperty(t.type)?mm:bm;return function(i,o,a){var s,u=this.__on,c=r(e,o,a);if(u)for(var l=0,f=u.length;l<f;++l)if((s=u[l]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=n),void(s.value=e);this.addEventListener(t.type,c,n),s={type:t.type,name:t.name,value:e,listener:c,capture:n},u?u.push(s):this.__on=[s]}}function Om(t,e,n){var r=V_(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Tm(t,e){return function(){return Om(this,t,e)}}function Em(t,e){return function(){return Om(this,t,e.apply(this,arguments))}}var Mm=[null];function Am(t,e){this._groups=t,this._parents=e}function Sm(){return new Am([[document.documentElement]],Mm)}function km(t){return"string"==typeof t?new Am([[document.querySelector(t)]],[document.documentElement]):new Am([[t]],Mm)}function Lm(){for(var t,e=_m;t=e.sourceEvent;)e=t;return e}function jm(t){var e=Lm();return e.changedTouches&&(e=e.changedTouches[0]),function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}(t,e)}Am.prototype=Sm.prototype={constructor:Am,select:function(t){"function"!=typeof t&&(t=A_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],u=s.length,c=r[i]=new Array(u),l=0;l<u;++l)(o=s[l])&&(a=t.call(o,o.__data__,l,s))&&("__data__"in o&&(a.__data__=o.__data__),c[l]=a);return new Am(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=k_(t));for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],u=s.length,c=0;c<u;++c)(a=s[c])&&(r.push(t.call(a,a.__data__,c,s)),i.push(a));return new Am(r,i)},filter:function(t){"function"!=typeof t&&(t=L_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,u=r[i]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new Am(r,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),c=-1,this.each((function(t){p[++c]=t})),p;var n=e?R_:P_,r=this._parents,i=this._groups;"function"!=typeof t&&(t=function(t){return function(){return t}}(t));for(var o=i.length,a=new Array(o),s=new Array(o),u=new Array(o),c=0;c<o;++c){var l=r[c],f=i[c],h=f.length,p=t.call(l,l&&l.__data__,c,r),d=p.length,v=s[c]=new Array(d),g=a[c]=new Array(d);n(l,f,v,g,u[c]=new Array(h),p,e);for(var y,_,m=0,b=0;m<d;++m)if(y=v[m]){for(m>=b&&(b=m+1);!(_=g[b])&&++b<d;);y._next=_||null}}return(a=new Am(a,r))._enter=s,a._exit=u,a},enter:function(){return new Am(this._enter||this._groups.map(j_),this._parents)},exit:function(){return new Am(this._exit||this._groups.map(j_),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var u,c=e[s],l=n[s],f=c.length,h=a[s]=new Array(f),p=0;p<f;++p)(u=c[p]||l[p])&&(h[p]=u);for(;s<r;++s)a[s]=e[s];return new Am(a,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=I_);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],u=s.length,c=i[o]=new Array(u),l=0;l<u;++l)(a=s[l])&&(c[l]=a);c.sort(e)}return new Am(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each((function(){t[++e]=this})),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=w_(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?B_:N_:"function"==typeof e?n.local?W_:G_:n.local?z_:F_)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?H_:"function"==typeof e?Y_:U_)(t,e,null==n?"":n)):X_(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?q_:"function"==typeof e?Z_:$_)(t,e)):this.node()[t]},classed:function(t,e){var n=K_(t+"");if(arguments.length<2){for(var r=J_(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?im:e?nm:rm)(n,e))},text:function(t){return arguments.length?this.each(null==t?om:("function"==typeof t?sm:am)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?um:("function"==typeof t?lm:cm)(t)):this.node().innerHTML},raise:function(){return this.each(fm)},lower:function(){return this.each(hm)},append:function(t){var e="function"==typeof t?t:E_(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:E_(t),r=null==e?pm:"function"==typeof e?e:A_(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(dm)},clone:function(t){return this.select(t?gm:vm)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?wm:xm,null==n&&(n=!1),r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var u,c=0,l=s.length;c<l;++c)for(r=0,u=s[c];r<a;++r)if((i=o[r]).type===u.type&&i.name===u.name)return u.value},dispatch:function(t,e){return this.each(("function"==typeof e?Em:Tm)(t,e))}};var Cm={prefix:"bx",selectorTabbable:"\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]\n "},Dm=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];t.call(e,i[1],i[0])}},Object.defineProperties(e.prototype,n),e}()}(),Pm="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Rm="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Im="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Rm):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},Nm=2,Bm=["top","right","bottom","left","width","height","size","weight"],Fm="undefined"!=typeof MutationObserver,zm=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&s()}function a(){Im(o)}function s(){var t=Date.now();if(n){if(t-i<Nm)return;r=!0}else n=!0,r=!1,setTimeout(a,e);i=t}return s}(this.refresh.bind(this),20)};zm.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},zm.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},zm.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},zm.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},zm.prototype.connect_=function(){Pm&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fm?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},zm.prototype.disconnect_=function(){Pm&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},zm.prototype.onTransitionEnd_=function(t){var e=t.propertyName;void 0===e&&(e=""),Bm.some((function(t){return!!~e.indexOf(t)}))&&this.refresh()},zm.getInstance=function(){return this.instance_||(this.instance_=new zm),this.instance_},zm.instance_=null;var Gm=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n+=1){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},Wm=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||Rm},Vm=$m(0,0,0,0);function Hm(t){return parseFloat(t)||0}function Um(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return e.reduce((function(e,n){return e+Hm(t["border-"+n+"-width"])}),0)}function Ym(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return Vm;var r=Wm(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=t["padding-"+i];e[i]=Hm(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=Hm(r.width),u=Hm(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=Um(r,"left","right")+o),Math.round(u+a)!==n&&(u-=Um(r,"top","bottom")+a)),!function(t){return t===Wm(t).document.documentElement}(t)){var c=Math.round(s+o)-e,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return $m(i.left,i.top,s,u)}var Xm="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof Wm(t).SVGGraphicsElement}:function(t){return t instanceof Wm(t).SVGElement&&"function"==typeof t.getBBox};function qm(t){return Pm?Xm(t)?function(t){var e=t.getBBox();return $m(0,0,e.width,e.height)}(t):Ym(t):Vm}function $m(t,e,n,r){return{x:t,y:e,width:n,height:r}}var Zm=function(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=$m(0,0,0,0),this.target=t};Zm.prototype.isActive=function(){var t=qm(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},Zm.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var Km=function(t,e){var n=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return Gm(a,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),a}(e);Gm(this,{target:t,contentRect:n})},Jm=function(t,e,n){if(this.activeObservations_=[],this.observations_=new Dm,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n};Jm.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Wm(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Zm(t)),this.controller_.addObserver(this),this.controller_.refresh())}},Jm.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Wm(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},Jm.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},Jm.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},Jm.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new Km(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},Jm.prototype.clearActive=function(){this.activeObservations_.splice(0)},Jm.prototype.hasActive=function(){return this.activeObservations_.length>0};var Qm="undefined"!=typeof WeakMap?new WeakMap:new Dm,tb=function(t){if(!(this instanceof tb))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=zm.getInstance(),n=new Jm(t,e,this);Qm.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){tb.prototype[t]=function(){return(e=Qm.get(this))[t].apply(e,arguments);var e}}));var eb=void 0!==Rm.ResizeObserver?Rm.ResizeObserver:tb,nb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.getSVGElementSize=function(t,e){t.attr||(t=km(t));var n,r,i,o,a={width:t.attr("width"),height:t.attr("height")};try{r={width:(n=t.node().getBBox()).width,height:n.height}}catch(t){}try{o={width:(i=t.node().getBoundingClientRect()).width,height:i.height}}catch(t){}var s={width:t.node().clientWidth,height:t.node().clientHeight},u=function(t){return!!(t&&t.width&&t.height&&!isNaN(t.height)&&!isNaN(t.width)&&-1===(""+t.width+t.height).indexOf("%")&&t.width>0&&t.height>0)};if(e){if(e.useAttrs&&u(a))return a;if(e.useClientDimensions&&u(s))return s;if(e.useBBox&&u(r))return r;if(e.useBoundingRect&&u(o))return o}try{var c={width:Ap.getProperty(t.node(),"width","baseVal","value"),height:Ap.getProperty(t.node(),"height","baseVal","value")};if(u(c))return c}catch(t){if(u(s))return s;if(u(r))return r;if(u(a))return a}return{width:0,height:0}},e.appendOrSelect=function(t,e){var n=e.split("."),r=n[0],i=t.select(e);return i.empty()?t.append(r).attr("class",n.slice(1).join(" ")):i},e.prototype.init=function(){this.styleHolderElement(),this.addSVGElement(),this.model.getOptions().resizable&&this.addResizeListener()},e.prototype.update=function(){this.styleHolderElement()},e.prototype.styleHolderElement=function(){var t=this.getHolder();km(this.getHolder()).classed(Cm.prefix+"--chart-holder",!0);var e=this.model.getOptions(),n=e.width,r=e.height;n!==this.width&&(t.style.width=n,this.width=n),r!==this.height&&(t.style.height=r,this.height=r)},e.prototype.getHolder=function(){return this.model.get("holder")},e.prototype.addSVGElement=function(){var t=Ap.getProperty(this.model.getOptions(),"style","prefix"),e=km(this.getHolder()).append("svg").classed(Cm.prefix+"--"+t+"--chart-svg",!0).attr("height","100%").attr("width","100%");this.svg=e.node()},e.prototype.getMainSVG=function(){return this.svg},e.prototype.addResizeListener=function(){var t=this,e=this.getHolder();if(e){var n=e.clientWidth,r=e.clientHeight,i=Ap.debounce((function(i,o){e&&(Math.abs(n-e.clientWidth)>1||Math.abs(r-e.clientHeight)>1)&&(n=e.clientWidth,r=e.clientHeight,t.services.events.dispatchEvent("chart-resize"))}),12.5);new eb(i).observe(e)}},e}(m_),rb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.init=function(){this.documentFragment=document.createDocumentFragment()},e.prototype.addEventListener=function(t,e){this.documentFragment.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.documentFragment.removeEventListener(t,e)},e.prototype.dispatchEvent=function(t,e){var n;e?n=new CustomEvent(t,{detail:e}):(n=document.createEvent("Event")).initEvent(t,!1,!0),this.documentFragment.dispatchEvent(n)},e}(m_),ib={value:function(){}};function ob(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ab(r)}function ab(t){this._=t}function sb(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function ub(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function cb(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=ib,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}ab.prototype=ob.prototype={constructor:ab,on:function(t,e){var n,r=this._,i=sb(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=cb(r[n],t.name,e);else if(null==e)for(n in r)r[n]=cb(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=ub(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ab(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var lb,fb,hb=0,pb=0,db=0,vb=1e3,gb=0,yb=0,_b=0,mb="object"==typeof performance&&performance.now?performance:Date,bb="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function xb(){return yb||(bb(wb),yb=mb.now()+_b)}function wb(){yb=0}function Ob(){this._call=this._time=this._next=null}function Tb(t,e,n){var r=new Ob;return r.restart(t,e,n),r}function Eb(){yb=(gb=mb.now())+_b,hb=pb=0;try{!function(){xb(),++hb;for(var t,e=lb;e;)(t=yb-e._time)>=0&&e._call.call(null,t),e=e._next;--hb}()}finally{hb=0,function(){var t,e,n=lb,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:lb=e);fb=t,Ab(r)}(),yb=0}}function Mb(){var t=mb.now(),e=t-gb;e>vb&&(_b-=e,gb=t)}function Ab(t){hb||(pb&&(pb=clearTimeout(pb)),t-yb>24?(t<1/0&&(pb=setTimeout(Eb,t-mb.now()-_b)),db&&(db=clearInterval(db))):(db||(gb=mb.now(),db=setInterval(Mb,vb)),hb=1,bb(Eb)))}function Sb(t,e,n){var r=new Ob;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}Ob.prototype=Tb.prototype={constructor:Ob,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?xb():+n)+(null==e?0:+e),this._next||fb===this||(fb?fb._next=this:lb=this,fb=this),this._call=t,this._time=n,Ab()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ab())}};var kb=ob("start","end","cancel","interrupt"),Lb=[],jb=0,Cb=1,Db=2,Pb=3,Rb=4,Ib=5,Nb=6;function Bb(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(u){var c,l,f,h;if(n.state!==Cb)return s();for(c in i)if((h=i[c]).name===n.name){if(h.state===Pb)return Sb(o);h.state===Rb?(h.state=Nb,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[c]):+c<e&&(h.state=Nb,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[c])}if(Sb((function(){n.state===Pb&&(n.state=Rb,n.timer.restart(a,n.delay,n.time),a(u))})),n.state=Db,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Db){for(n.state=Pb,r=new Array(f=n.tween.length),c=0,l=-1;c<f;++c)(h=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=Ib,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);n.state===Ib&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=Nb,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Tb((function(t){n.state=Cb,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}),0,n.time)}(t,n,{name:e,index:r,group:i,on:kb,tween:Lb,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:jb})}function Fb(t,e){var n=Gb(t,e);if(n.state>jb)throw new Error("too late; already scheduled");return n}function zb(t,e){var n=Gb(t,e);if(n.state>Pb)throw new Error("too late; already running");return n}function Gb(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Wb(t,e){var n,r;return function(){var i=zb(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function Vb(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=zb(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},u=0,c=i.length;u<c;++u)if(i[u].name===e){i[u]=s;break}u===c&&i.push(s)}o.tween=i}}function Hb(t,e,n){var r=t._id;return t.each((function(){var t=zb(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return Gb(t,r).value[e]}}function Ub(t,e){var n;return("number"==typeof e?Tv:e instanceof av?xv:(n=av(e))?(e=n,xv):Sv)(t,e)}function Yb(t){return function(){this.removeAttribute(t)}}function Xb(t){return function(){this.removeAttributeNS(t.space,t.local)}}function qb(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function $b(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function Zb(t,e,n){var r,i,o;return function(){var a,s,u=n(this);if(null!=u)return(a=this.getAttribute(t))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,u));this.removeAttribute(t)}}function Kb(t,e,n){var r,i,o;return function(){var a,s,u=n(this);if(null!=u)return(a=this.getAttributeNS(t.space,t.local))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,u));this.removeAttributeNS(t.space,t.local)}}function Jb(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e(n))}}(t,i)),n}return i._value=e,i}function Qb(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e(n))}}(t,i)),n}return i._value=e,i}function tx(t,e){return function(){Fb(this,t).delay=+e.apply(this,arguments)}}function ex(t,e){return e=+e,function(){Fb(this,t).delay=e}}function nx(t,e){return function(){zb(this,t).duration=+e.apply(this,arguments)}}function rx(t,e){return e=+e,function(){zb(this,t).duration=e}}var ix=Sm.prototype.constructor;function ox(t){return function(){this.style.removeProperty(t)}}var ax=0;function sx(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function ux(t){return Sm().transition(t)}function cx(){return++ax}var lx=Sm.prototype;sx.prototype=ux.prototype={constructor:sx,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=A_(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,u,c=r[a],l=c.length,f=o[a]=new Array(l),h=0;h<l;++h)(s=c[h])&&(u=t.call(s,s.__data__,h,c))&&("__data__"in s&&(u.__data__=s.__data__),f[h]=u,Bb(f[h],e,n,h,f,Gb(s,n)));return new sx(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=k_(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var u,c=r[s],l=c.length,f=0;f<l;++f)if(u=c[f]){for(var h,p=t.call(u,u.__data__,f,c),d=Gb(u,n),v=0,g=p.length;v<g;++v)(h=p[v])&&Bb(h,e,n,v,p,d);o.push(p),a.push(u)}return new sx(o,a,e,n)},filter:function(t){"function"!=typeof t&&(t=L_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,u=r[i]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new sx(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var u,c=e[s],l=n[s],f=c.length,h=a[s]=new Array(f),p=0;p<f;++p)(u=c[p]||l[p])&&(h[p]=u);for(;s<r;++s)a[s]=e[s];return new sx(a,this._parents,this._name,this._id)},selection:function(){return new ix(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=cx(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],u=s.length,c=0;c<u;++c)if(a=s[c]){var l=Gb(a,e);Bb(a,t,n,c,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new sx(r,this._parents,t,n)},call:lx.call,nodes:lx.nodes,node:lx.node,size:lx.size,empty:lx.empty,each:lx.each,on:function(t,e){var n=this._id;return arguments.length<2?Gb(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?Fb:zb;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=w_(t),r="transform"===n?zv:Ub;return this.attrTween(t,"function"==typeof e?(n.local?Kb:Zb)(n,r,Hb(this,"attr."+t,e)):null==e?(n.local?Xb:Yb)(n):(n.local?$b:qb)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=w_(t);return this.tween(n,(r.local?Jb:Qb)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Fv:Ub;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=X_(this,t),a=(this.style.removeProperty(t),X_(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,ox(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=X_(this,t),s=n(this),u=s+"";return null==s&&(this.style.removeProperty(t),u=s=X_(this,t)),a===u?null:a===r&&u===i?o:(i=u,o=e(r=a,s))}}(t,r,Hb(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var u=zb(this,t),c=u.on,l=null==u.value[a]?o||(o=ox(e)):void 0;c===n&&i===l||(r=(n=c).copy()).on(s,i=l),u.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=X_(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e(r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(Hb(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Gb(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Wb:Vb)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?tx:ex)(e,t)):Gb(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?nx:rx)(e,t)):Gb(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){zb(this,t).ease=e}}(e,t)):Gb(this.node(),e).ease},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},u={value:function(){0==--i&&o()}};n.each((function(){var n=zb(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(u)),n.on=e}))}))}};var fx={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function hx(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return fx.time=xb(),fx;return n}Sm.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>Db&&n.state<Ib,n.state=Nb,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)}))},Sm.prototype.transition=function(t){var e,n;t instanceof sx?(e=t._id,t=t._name):(e=cx(),(n=fx).time=xb(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],u=s.length,c=0;c<u;++c)(a=s[c])&&Bb(a,t,e,c,s,n||hx(a,e));return new sx(r,this._parents,t,e)};var px=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.pendingTransitions={},e}return h(e,t),e.prototype.init=function(){var t=this;this.services.events.addEventListener("model-update",(function(){t.pendingTransitions={}}))},e.prototype.getTransition=function(t,e){var n=this;if(!1===this.model.getOptions().animations||!1===e)return this.getInstantTransition(t);var r=ux(t).duration(Ap.getProperty(Jp,t,"duration")||Jp.default.duration);return this.pendingTransitions[r._id]=r,r.on("end",(function(){delete n.pendingTransitions[r._id]})),r},e.prototype.getInstantTransition=function(t){var e=this,n=ux(t).duration(0);return this.pendingTransitions[n._id]=n,n.on("end",(function(){delete e.pendingTransitions[n._id]})),n},e.prototype.getPendingTransitions=function(){return this.pendingTransitions},e}(m_),dx=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return h(i,t),i.prototype.getMainXAxis=function(){var t=this.model.get(n.PRIMARY),r=this.model.get(n.SECONDARY);return t===this.model.get(e.TOP)||t===this.model.get(e.BOTTOM)?t:r===this.model.get(e.TOP)||r===this.model.get(e.BOTTOM)?r:this.model.get(e.BOTTOM)},i.prototype.getMainYAxis=function(){var t=this.model.get(n.PRIMARY),r=this.model.get(n.SECONDARY);return t===this.model.get(e.LEFT)||t===this.model.get(e.RIGHT)?t:r===this.model.get(e.LEFT)||r===this.model.get(e.RIGHT)?r:this.model.get(e.LEFT)},i.prototype.getXValue=function(t,e){return this.getMainXAxis().getValueFromScale(t,e)},i.prototype.getYValue=function(t,e){return this.getMainYAxis().getValueFromScale(t,e)},i.prototype.getDataFromDomain=function(t){var e=this.model.getDisplayData(),n=[];switch(this.getMainXAxis().scaleType){case r.LABELS:var i=e.labels.indexOf(t);e.datasets.forEach((function(t){n.push({datasetLabel:t.label,value:t.data[i]})}));break;case r.TIME:var o=Object.keys(e.datasets[0].data[0]).filter((function(t){return"value"!==t}))[0];e.datasets.forEach((function(e){var r=e.label;e.data.filter((function(e){var n=new Date(e[o]),r=new Date(t);return n.getTime()===r.getTime()})).forEach((function(t){n.push(Object.assign({datasetLabel:r,value:t.value},t))}))}))}return n},i}(m_),vx=Math.PI,gx=2*vx,yx=gx-1e-6;function _x(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function mx(){return new _x}function bx(t){return function(){return t}}_x.prototype=mx.prototype={constructor:_x,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-t,u=r-e,c=o-t,l=a-e,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>1e-6)if(Math.abs(l*s-u*c)>1e-6&&i){var h=n-o,p=r-a,d=s*s+u*u,v=h*h+p*p,g=Math.sqrt(d),y=Math.sqrt(f),_=i*Math.tan((vx-Math.acos((d+f-v)/(2*g*y)))/2),m=_/y,b=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*c)+","+(e+m*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*p)+","+(this._x1=t+b*s)+","+(this._y1=e+b*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),u=t+a,c=e+s,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+u+","+c),n&&(f<0&&(f=f%gx+gx),f>yx?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=vx)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var xx=Math.abs,wx=Math.atan2,Ox=Math.cos,Tx=Math.max,Ex=Math.min,Mx=Math.sin,Ax=Math.sqrt,Sx=1e-12,kx=Math.PI,Lx=kx/2,jx=2*kx;function Cx(t){return t>=1?Lx:t<=-1?-Lx:Math.asin(t)}function Dx(t){return t.innerRadius}function Px(t){return t.outerRadius}function Rx(t){return t.startAngle}function Ix(t){return t.endAngle}function Nx(t){return t&&t.padAngle}function Bx(t,e,n,r,i,o,a){var s=t-n,u=e-r,c=(a?o:-o)/Ax(s*s+u*u),l=c*u,f=-c*s,h=t+l,p=e+f,d=n+l,v=r+f,g=(h+d)/2,y=(p+v)/2,_=d-h,m=v-p,b=_*_+m*m,x=i-o,w=h*v-d*p,O=(m<0?-1:1)*Ax(Tx(0,x*x*b-w*w)),T=(w*m-_*O)/b,E=(-w*_-m*O)/b,M=(w*m+_*O)/b,A=(-w*_+m*O)/b,S=T-g,k=E-y,L=M-g,j=A-y;return S*S+k*k>L*L+j*j&&(T=M,E=A),{cx:T,cy:E,x01:-l,y01:-f,x11:T*(i/x-1),y11:E*(i/x-1)}}function Fx(){var t=Dx,e=Px,n=bx(0),r=null,i=Rx,o=Ix,a=Nx,s=null;function u(){var u,c,l=+t.apply(this,arguments),f=+e.apply(this,arguments),h=i.apply(this,arguments)-Lx,p=o.apply(this,arguments)-Lx,d=xx(p-h),v=p>h;if(s||(s=u=mx()),f<l&&(c=f,f=l,l=c),f>Sx)if(d>jx-Sx)s.moveTo(f*Ox(h),f*Mx(h)),s.arc(0,0,f,h,p,!v),l>Sx&&(s.moveTo(l*Ox(p),l*Mx(p)),s.arc(0,0,l,p,h,v));else{var g,y,_=h,m=p,b=h,x=p,w=d,O=d,T=a.apply(this,arguments)/2,E=T>Sx&&(r?+r.apply(this,arguments):Ax(l*l+f*f)),M=Ex(xx(f-l)/2,+n.apply(this,arguments)),A=M,S=M;if(E>Sx){var k=Cx(E/l*Mx(T)),L=Cx(E/f*Mx(T));(w-=2*k)>Sx?(b+=k*=v?1:-1,x-=k):(w=0,b=x=(h+p)/2),(O-=2*L)>Sx?(_+=L*=v?1:-1,m-=L):(O=0,_=m=(h+p)/2)}var j=f*Ox(_),C=f*Mx(_),D=l*Ox(x),P=l*Mx(x);if(M>Sx){var R,I=f*Ox(m),N=f*Mx(m),B=l*Ox(b),F=l*Mx(b);if(d<kx&&(R=function(t,e,n,r,i,o,a,s){var u=n-t,c=r-e,l=a-i,f=s-o,h=f*u-l*c;if(!(h*h<Sx))return[t+(h=(l*(e-o)-f*(t-i))/h)*u,e+h*c]}(j,C,B,F,I,N,D,P))){var z=j-R[0],G=C-R[1],W=I-R[0],V=N-R[1],H=1/Mx(function(t){return t>1?0:t<-1?kx:Math.acos(t)}((z*W+G*V)/(Ax(z*z+G*G)*Ax(W*W+V*V)))/2),U=Ax(R[0]*R[0]+R[1]*R[1]);A=Ex(M,(l-U)/(H-1)),S=Ex(M,(f-U)/(H+1))}}O>Sx?S>Sx?(g=Bx(B,F,j,C,f,S,v),y=Bx(I,N,D,P,f,S,v),s.moveTo(g.cx+g.x01,g.cy+g.y01),S<M?s.arc(g.cx,g.cy,S,wx(g.y01,g.x01),wx(y.y01,y.x01),!v):(s.arc(g.cx,g.cy,S,wx(g.y01,g.x01),wx(g.y11,g.x11),!v),s.arc(0,0,f,wx(g.cy+g.y11,g.cx+g.x11),wx(y.cy+y.y11,y.cx+y.x11),!v),s.arc(y.cx,y.cy,S,wx(y.y11,y.x11),wx(y.y01,y.x01),!v))):(s.moveTo(j,C),s.arc(0,0,f,_,m,!v)):s.moveTo(j,C),l>Sx&&w>Sx?A>Sx?(g=Bx(D,P,I,N,l,-A,v),y=Bx(j,C,B,F,l,-A,v),s.lineTo(g.cx+g.x01,g.cy+g.y01),A<M?s.arc(g.cx,g.cy,A,wx(g.y01,g.x01),wx(y.y01,y.x01),!v):(s.arc(g.cx,g.cy,A,wx(g.y01,g.x01),wx(g.y11,g.x11),!v),s.arc(0,0,l,wx(g.cy+g.y11,g.cx+g.x11),wx(y.cy+y.y11,y.cx+y.x11),v),s.arc(y.cx,y.cy,A,wx(y.y11,y.x11),wx(y.y01,y.x01),!v))):s.arc(0,0,l,x,b,v):s.lineTo(D,P)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-kx/2;return[Ox(r)*n,Mx(r)*n]},u.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:bx(+e),u):t},u.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:bx(+t),u):e},u.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:bx(+t),u):n},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:bx(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:bx(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:bx(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:bx(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function zx(t){this._context=t}function Gx(t){return new zx(t)}function Wx(t){return t[0]}function Vx(t){return t[1]}function Hx(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function Ux(t){return t}zx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var Yx=Array.prototype.slice;function Xx(){}function qx(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function $x(t){this._context=t}function Zx(t){return new $x(t)}function Kx(t){this._context=t}function Jx(t){return new Kx(t)}function Qx(t){this._context=t}function tw(t){return new Qx(t)}function ew(t,e){this._basis=new $x(t),this._beta=e}$x.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:qx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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);default:qx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Kx.prototype={areaStart:Xx,areaEnd:Xx,lineStart:function(){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(){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)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:qx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Qx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:qx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ew.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var nw=function t(e){function n(t){return 1===e?new $x(t):new ew(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function rw(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function iw(t,e){this._context=t,this._k=(1-e)/6}iw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:rw(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:rw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ow=function t(e){function n(t){return new iw(t,e)}return n.tension=function(e){return t(+e)},n}(0);function aw(t,e){this._context=t,this._k=(1-e)/6}aw.prototype={areaStart:Xx,areaEnd:Xx,lineStart:function(){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(){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)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var sw=function t(e){function n(t){return new aw(t,e)}return n.tension=function(e){return t(+e)},n}(0);function uw(t,e){this._context=t,this._k=(1-e)/6}uw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,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;default:rw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var cw=function t(e){function n(t){return new uw(t,e)}return n.tension=function(e){return t(+e)},n}(0);function lw(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Sx){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>Sx){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function fw(t,e){this._context=t,this._alpha=e}fw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){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(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:lw(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var hw=function t(e){function n(t){return e?new fw(t,e):new iw(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function pw(t,e){this._context=t,this._alpha=e}pw.prototype={areaStart:Xx,areaEnd:Xx,lineStart:function(){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(){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)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:lw(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var dw=function t(e){function n(t){return e?new pw(t,e):new aw(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function vw(t,e){this._context=t,this._alpha=e}vw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){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(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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;default:lw(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var gw=function t(e){function n(t){return e?new vw(t,e):new uw(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function yw(t){this._context=t}function _w(t){return new yw(t)}function mw(t){return t<0?-1:1}function bw(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(mw(o)+mw(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function xw(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ww(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function Ow(t){this._context=t}function Tw(t){this._context=new Ew(t)}function Ew(t){this._context=t}function Mw(t){return new Ow(t)}function Aw(t){return new Tw(t)}function Sw(t){this._context=t}function kw(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function Lw(t){return new Sw(t)}function jw(t,e){this._context=t,this._t=e}function Cw(t){return new jw(t,.5)}function Dw(t){return new jw(t,0)}function Pw(t){return new jw(t,1)}function Rw(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Iw(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Nw(t,e){return t[e]}yw.prototype={areaStart:Xx,areaEnd:Xx,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Ow.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ww(this,this._t0,xw(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ww(this,xw(this,n=bw(this,t,e)),n);break;default:ww(this,this._t0,n=bw(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Tw.prototype=Object.create(Ow.prototype)).point=function(t,e){Ow.prototype.point.call(this,e,t)},Ew.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},Sw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=kw(t),i=kw(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},jw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var Bw,Fw,zw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.curveTypes={curveLinear:Gx,curveLinearClosed:_w,curveBasis:Zx,curveBasisClosed:Jx,curveBasisOpen:tw,curveBundle:nw,curveCardinal:ow,curveCardinalClosed:sw,curveCardinalOpen:cw,curveCatmullRom:hw,curveCatmullRomClosed:dw,curveCatmullRomOpen:gw,curveMonotoneX:Mw,curveMonotoneY:Aw,curveNatural:Lw,curveStep:Cw,curveStepAfter:Pw,curveStepBefore:Dw},e}return h(e,t),e.prototype.getD3Curve=function(){var t="curveLinear",e=this.model.getOptions().curve;if(e&&(t="string"==typeof e?e:e.name),this.curveTypes[t]){var n=this.curveTypes[t];return e&&Object.keys(e).forEach((function(t){n[t]&&(n=n[t](e[t]))})),n}return console.warn("The curve type '"+t+"' is invalid, using 'curveLinear' instead"),this.curveTypes.curveLinear},e}(m_),Gw=function(){function t(t,e,n){this.configs={},this.model=t,this.services=e,n&&(this.configs=n),this.parent||this.setParent(km(this.services.domUtils.getMainSVG()))}return t.prototype.init=function(){},t.prototype.render=function(t){console.error("render() method is not implemented")},t.prototype.destroy=function(){},t.prototype.setModel=function(t){this.model=t},t.prototype.setServices=function(t){this.services=t},t.prototype.setParent=function(t){var e=this.parent;if(this.parent=t,(!e||e.node()!==t.node())&&this.type){var n=Ap.getProperty(this.model.getOptions(),"style","prefix");this.parent.classed(Cm.prefix+"--"+n+"--"+this.type,!0),e&&e.classed(Cm.prefix+"--"+n+"--"+this.type,!1)}},t.prototype.getParent=function(){return this.parent},t.prototype.getContainerSVG=function(){if(this.type){var t=Ap.getProperty(this.model.getOptions(),"style","prefix");return nb.appendOrSelect(this.parent,"g."+Cm.prefix+"--"+t+"--"+this.type)}return this.parent},t}(),Ww=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="legend",e}return h(e,t),e.prototype.render=function(){var t=this,e=this.getContainerSVG(),n=this.model.getOptions(),r=e.selectAll("g.legend-item").data(this.getLegendItemArray()),i=r.enter().append("g").classed("legend-item",!0),o=n.legend.checkbox.radius;i.append("rect").classed("checkbox",!0).merge(r.select("rect.checkbox")).attr("width",2*o).attr("height",2*o).attr("rx",1).attr("ry",1).style("fill",(function(e){return e.value===n.legend.items.status.ACTIVE?t.model.getStrokeColor(e.key):null})).classed("active",(function(t,e){return t.value===n.legend.items.status.ACTIVE})),i.append("text").merge(r.select("text")).text((function(t){return t.key})).attr("alignment-baseline","middle"),this.breakItemsIntoLines(i),r.exit().on("mouseover",null).on("click",null).on("mouseout",null).remove();var s=Ap.getProperty(this.model.getOptions(),"legend","clickable");e.classed("clickable",s),s&&i.size()>0&&this.addEventListeners();var u=Ap.getProperty(n,"legend","position");u!==a.BOTTOM&&u!==a.TOP||nb.appendOrSelect(e,"rect.spacer").attr("x",0).attr("y",10).attr("width",20).attr("height",20).attr("fill","none")},e.prototype.breakItemsIntoLines=function(t){var e,n=this,r=this.getContainerSVG(),i=this.model.getOptions(),o=i.legend.checkbox.radius,u=i.legend.items.horizontalSpace,c=i.legend.items.verticalSpace,l=i.legend.items.textYOffset,f=2*o+i.legend.checkbox.spaceAfter,h=i.legend.items.status.DISABLED,p=this.model.get("dataLabels"),d=Object.keys(p).some((function(t){return p[t]===h})),v=Ap.getProperty(i,"legend","orientation"),g=0,y=0,_=0;t.merge(r.selectAll("g.legend-item")).each((function(t,h){var p=km(this),m=km(r.selectAll("g.legend-item").nodes()[h-1]);if(0===_||m.empty()||v===s.VERTICAL)v===s.VERTICAL&&y++;else{var b=nb.getSVGElementSize(n.parent,{useAttr:!0}),x=nb.getSVGElementSize(km(this).select("text"),{useBBox:!0}),w=nb.getSVGElementSize(m.select("text"),{useBBox:!0});(g=g+w.width+f+u)+f+x.width>b.width&&(y++,g=0,_=0)}var O=0;Ap.getProperty(i,"legend","position")===a.BOTTOM&&(O=20),p.select("rect.checkbox").attr("x",g).attr("y",O+y*c);var T=l+y*c;p.select("text").attr("x",g+f).attr("y",O+T),e=T,d&&p.select("g.check").empty()?(p.append("g").classed("check",!0).html('\n\t\t\t\t\t\t\t<svg focusable="false" preserveAspectRatio="xMidYMid meet"\n\t\t\t\t\t\t\t\txmlns="http://www.w3.org/2000/svg" width="32" height="32"\n\t\t\t\t\t\t\t\tviewBox="0 0 32 32" aria-hidden="true"\n\t\t\t\t\t\t\t\tstyle="will-change: transform;">\n\t\t\t\t\t\t\t\t<path d="M13 21.2l-7.1-7.1-1.4 1.4 7.1 7.1L13 24 27.1 9.9l-1.4-1.5z"></path>\n\t\t\t\t\t\t\t\t<title>Checkmark</title>\n\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t'),p.select("g.check svg").attr("width",2*o-1).attr("height",2*o-1).attr("x",parseFloat(p.select("rect.checkbox").attr("x"))+.5).attr("y",parseFloat(p.select("rect.checkbox").attr("y"))+.5)):d||p.select("g.check").empty()||p.select("g.check").remove(),_++})),nb.appendOrSelect(r,"rect.spacer").attr("x",0).attr("y",e).attr("width",16).attr("height",16).attr("fill","none")},e.prototype.getLegendItemArray=function(){var t=this.model.get("dataLabels");return Object.keys(t).map((function(e){return{key:e,value:t[e]}}))},e.prototype.addEventListeners=function(){var t=this,e=this.getContainerSVG(),n=this.model.getOptions();e.selectAll("g.legend-item").on("mouseover",(function(){t.services.events.dispatchEvent("legend-item-onhover",{hoveredElement:km(this)});var e=n.legend.checkbox.radius,r=km(this);r.append("rect").classed("hover-stroke",!0).attr("x",parseFloat(r.select("rect.checkbox").attr("x"))-2).attr("y",parseFloat(r.select("rect.checkbox").attr("y"))-2).attr("width",2*e+4).attr("height",2*e+4).attr("rx",3).attr("ry",3).lower()})).on("click",(function(){t.services.events.dispatchEvent("legend-item-onclick",{clickedElement:km(this)});var e=km(this).datum();t.model.toggleDataLabel(e.key)})).on("mouseout",(function(){var e=km(this);e.select("rect.hover-stroke").remove(),t.services.events.dispatchEvent("legend-item-onmouseout",{hoveredElement:e})}))},e}(Gw),Vw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="title",e}return h(e,t),e.prototype.truncateTitle=function(){var t=nb.getSVGElementSize(this.parent).width,e=nb.appendOrSelect(this.parent,"text.title");if(e.node().getComputedTextLength()>t){e.append("tspan").text("...");var n=nb.appendOrSelect(e,"tspan").node().getComputedTextLength(),r=Math.floor(t-n),i=this.model.getOptions().title,a=this.getSubstringIndex(e.node(),0,i.length-1,r);e.text(i.substring(0,a-1)).append("tspan").text("...");var s=this;e.on("mouseenter",(function(){s.services.events.dispatchEvent("show-tooltip",{hoveredElement:e,type:o.TITLE})})).on("mouseout",(function(){s.services.events.dispatchEvent("hide-tooltip",{hoveredElement:e})}))}},e.prototype.render=function(){var t=this.getContainerSVG();nb.appendOrSelect(t,"text.title").attr("x",0).attr("y",20).text(this.model.getOptions().title),nb.appendOrSelect(t,"rect.spacer").attr("x",0).attr("y",20).attr("width",20).attr("height",20).attr("fill","none"),this.truncateTitle()},e.prototype.getSubstringIndex=function(t,e,n,r){var i=Math.floor((n+e)/2);return t.getSubStringLength(0,i)>r?this.getSubstringIndex(t,e,i,r):t.getSubStringLength(0,i)<r?t.getSubStringLength(0,i+1)>r?i:this.getSubstringIndex(t,i,n,r):i},e}(Gw);!function(t){t.LEFT="left",t.RIGHT="right",t.TOP="top",t.BOTTOM="bottom"}(Fw||(Fw={}));var Hw=((Bw={})[Fw.LEFT]=function(t,e,n){return{top:t.top-Math.round(e.offsetHeight/2)+Math.round(n.height/2),left:Math.round(t.left-e.offsetWidth)}},Bw[Fw.RIGHT]=function(t,e,n){return{top:t.top-Math.round(e.offsetHeight/2)+Math.round(n.height/2),left:Math.round(t.left+n.width)}},Bw[Fw.TOP]=function(t,e,n){return{top:Math.round(t.top-e.offsetHeight),left:t.left-Math.round(e.offsetWidth/2)+Math.round(n.width/2)}},Bw[Fw.BOTTOM]=function(t,e,n){return{top:Math.round(t.top+n.height),left:t.left-Math.round(e.offsetWidth/2)+Math.round(n.width/2)}},Bw),Uw="undefined"!=typeof window?window:{innerHeight:0,scrollY:0,innerWidth:0,scrollX:0},Yw=function(){function t(t){void 0===t&&(t={}),this.positions=Hw,this.positions=Object.assign({},Hw,t)}return t.prototype.getRelativeOffset=function(t){for(var e={left:t.offsetLeft,top:t.offsetTop};t.offsetParent&&"static"===getComputedStyle(t.offsetParent).position;)e.left+=t.offsetLeft,e.top+=t.offsetTop,t=t.offsetParent;return e},t.prototype.getAbsoluteOffset=function(t){for(var e=t,n={top:0,left:0};e.offsetParent;){var r=getComputedStyle(e.offsetParent);"static"===r.position&&r.marginLeft&&r.marginTop&&(parseInt(r.marginTop,10)&&(n.top+=parseInt(r.marginTop,10)),parseInt(r.marginLeft,10)&&(n.left+=parseInt(r.marginLeft,10))),e=e.offsetParent}var i=t.getBoundingClientRect(),o=document.body.getBoundingClientRect();return{top:i.top-o.top+n.top,left:i.left-o.left+n.left}},t.prototype.findRelative=function(t,e,n){var r=this.getRelativeOffset(t),i=t.getBoundingClientRect();return this.calculatePosition(r,i,e,n)},t.prototype.findAbsolute=function(t,e,n){var r=this.getAbsoluteOffset(t),i=t.getBoundingClientRect();return this.calculatePosition(r,i,e,n)},t.prototype.findPosition=function(t,e,n,r){void 0===r&&(r=this.getAbsoluteOffset);var i=r(t),o=t.getBoundingClientRect();return this.calculatePosition(i,o,e,n)},t.prototype.findPositionAt=function(t,e,n){return this.calculatePosition(t,{height:0,width:0},e,n)},t.prototype.getPlacementBox=function(t,e){var n=t.offsetHeight+e.top,r=t.offsetWidth+e.left;return{top:e.top,bottom:n,left:e.left,right:r}},t.prototype.addOffset=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),Object.assign({},t,{top:t.top+e,left:t.left+n})},t.prototype.setElement=function(t,e){t.style.top=e.top+"px",t.style.left=e.left+"px"},t.prototype.findBestPlacement=function(t,e,n,r,i){var o=this;void 0===r&&(r=this.defaultContainerFunction),void 0===i&&(i=this.findPosition);var a=n.map((function(n){var a=i(t,e,n),s=o.getPlacementBox(e,a),u=s.bottom-r().height,c=s.right-r().width;u=u<0?e.offsetHeight:u,c=c<0?e.offsetWidth:c;var l=e.offsetHeight*e.offsetWidth,f=l-u*c;return{placement:n,weight:(f=0===f?l:f)/l}}));return a.sort((function(t,e){return e.weight-t.weight})),a[0].placement},t.prototype.findBestPlacementAt=function(t,e,n,r){var i=this;void 0===r&&(r=this.defaultContainerFunction);return this.findBestPlacement(null,e,n,r,(function(e,n,r){return i.findPositionAt(t,n,r)}))},t.prototype.defaultContainerFunction=function(){return{width:Uw.innerHeight-Uw.scrollY,height:Uw.innerWidth-Uw.scrollX}},t.prototype.calculatePosition=function(t,e,n,r){return this.positions[r]?this.positions[r](t,n,e):(console.error("No function found for placement, defaulting to 0,0"),{left:0,top:0})},t}(),Xw=(new Yw,function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.type="tooltip",i.positionService=new Yw,i.init(),i}return h(e,t),e.prototype.init=function(){var t=this,e=km(this.services.domUtils.getHolder()),n=Ap.getProperty(this.model.getOptions(),"style","prefix");this.tooltip=nb.appendOrSelect(e,"div."+Cm.prefix+"--"+n+"--tooltip");var r=nb.appendOrSelect(this.tooltip,"div.content-box");this.tooltip.style("max-width",null),this.services.events.addEventListener("show-tooltip",(function(i){if(i.detail.type===o.DATAPOINT&&Ap.getProperty(t.model.getOptions(),"tooltip","datapoint","enabled")||i.detail.type===o.GRIDLINE&&Ap.getProperty(t.model.getOptions(),"tooltip","gridline","enabled")){var a=km(_m.target).datum(),s=void 0;i.detail.multidata?(a=i.detail.multidata,s=t.getMultilineTooltipHTML(a)):s=t.getTooltipHTML(a,o.DATAPOINT),Ap.getProperty(t.model.getOptions(),"tooltip","customHTML")?r.html(t.model.getOptions().tooltip.customHTML(a,s)):r.html(s),t.positionTooltip()}else if(i.detail.type===o.TITLE){var u=nb.appendOrSelect(e,"svg."+Cm.prefix+"--"+n+"--chart-svg"),c=nb.getSVGElementSize(u).width*Ap.getProperty(t.model.getOptions(),"tooltip","title","width");t.tooltip.style("max-width",c),r.html(t.getTooltipHTML(i.detail.hoveredElement,o.TITLE));var l=t.getTooltipPosition(i.detail.hoveredElement.node());t.positionTooltip(l)}t.tooltip.classed("hidden",!1)})),this.services.events.addEventListener("hide-tooltip",(function(){t.tooltip.classed("hidden",!0)}))},e.prototype.getTooltipHTML=function(t,e){if(e===o.TITLE)return'<div class="title-tooltip"><text>'+this.model.getOptions().title+"</text></div>";var n=Ap.getProperty(t,"data")?t.data:t,r=Ap.getProperty(this.model.getOptions(),"tooltip","valueFormatter"),i=r?r(n.value):n.value.toLocaleString("en");return'<div class="datapoint-tooltip">\n\t\t\t\t\t<p class="label">'+(n.datasetLabel?n.datasetLabel:n.label)+'</p>\n\t\t\t\t\t<p class="value">'+i+"</p>\n\t\t\t\t</div>"},e.prototype.getMultilineTooltipHTML=function(t){var e=this,n=t;n.sort((function(t,e){return e.value-t.value}));var i=this.services.axes.getMainXAxis().scaleType;return"<ul class='multi-tooltip'>"+n.map((function(t){var n=t.value;n instanceof Object&&(n=i===r.TIME?t.value.date:t.value.value);var o=Ap.getProperty(e.model.getOptions(),"tooltip","valueFormatter"),a=o?o(n):n.toLocaleString("en");return'\n\t\t\t\t<li>\n\t\t\t\t\t<div class="datapoint-tooltip">\n\t\t\t\t\t\t<a style="background-color:'+e.model.getStrokeColor(t.datasetLabel,t.label)+'" class="tooltip-color"></a>\n\t\t\t\t\t\t<p class="label">'+t.datasetLabel+'</p>\n\t\t\t\t\t\t<p class="value">'+a+"</p>\n\t\t\t\t\t</div>\n\t\t\t\t</li>"})).join("")+"</ul>"},e.prototype.render=function(){this.tooltip.classed("hidden",!0)},e.prototype.getTooltipPosition=function(t){var e=km(this.services.domUtils.getHolder()).node().getBoundingClientRect(),n=t.getBoundingClientRect(),r=this.model.getOptions().tooltip.title.verticalOffset,o={left:n.left-e.left+n.width/2,top:n.top-e.top-r};return{placement:i.BOTTOM,position:o}},e.prototype.positionTooltip=function(t){var e,n=this.services.domUtils.getHolder(),r=this.tooltip.node(),o=jm(n);if(t){var a=t.placement===i.TOP?Fw.TOP:Fw.BOTTOM;e=this.positionService.findPositionAt(t.position,r,a)}else{var s=this.positionService.findBestPlacementAt({left:o[0],top:o[1]},r,[Fw.RIGHT,Fw.LEFT,Fw.TOP,Fw.BOTTOM],(function(){return{width:n.offsetWidth,height:n.offsetHeight}})),u=this.model.getOptions().tooltip.datapoint.horizontalOffset;s===Fw.LEFT&&(u*=-1),e=this.positionService.findPositionAt({left:o[0]+u,top:o[1]},r,s)}this.positionService.setElement(r,e)},e}(Gw)),qw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.init=function(){var e=this,n=km(this.services.domUtils.getHolder()),r=Ap.getProperty(this.model.getOptions(),"style","prefix");this.tooltip=nb.appendOrSelect(n,"div."+Cm.prefix+"--"+r+"--tooltip");var i=nb.appendOrSelect(this.tooltip,"div.content-box");this.tooltip.style("max-width",null),this.services.events.addEventListener("show-tooltip",(function(a){if(a.detail.type===o.DATAPOINT&&Ap.getProperty(e.model.getOptions(),"tooltip","datapoint","enabled")||a.detail.type===o.GRIDLINE&&Ap.getProperty(e.model.getOptions(),"tooltip","gridline","enabled")){var s=a.detail.hoveredElement.node(),u=void 0;u=a.detail.multidata?e.getMultilineTooltipHTML(a.detail.multidata):e.getTooltipHTML(a.detail.hoveredElement.datum()),Ap.getProperty(e.model.getOptions(),"tooltip","customHTML")?i.html(e.model.getOptions().tooltip.customHTML(s,u)):i.html(u);var c=e.getTooltipPosition(s);e.positionTooltip(a.detail.multidata?void 0:c)}else if(a.detail.type===o.TITLE){var l=nb.appendOrSelect(n,"svg."+Cm.prefix+"--"+r+"--chart-svg"),f=nb.getSVGElementSize(l).width*Ap.getProperty(e.model.getOptions(),"tooltip","title","width");e.tooltip.style("max-width",f),i.html(t.prototype.getTooltipHTML.call(e,a.detail.hoveredElement,o.TITLE));c=t.prototype.getTooltipPosition.call(e,a.detail.hoveredElement.node());e.positionTooltip(c)}e.tooltip.classed("hidden",!1)})),this.services.events.addEventListener("hide-tooltip",(function(){e.tooltip.classed("hidden",!0)}))},e.prototype.getTooltipPosition=function(t){var e=km(t).datum(),n=km(this.services.domUtils.getHolder()).node().getBoundingClientRect(),r=t.getBoundingClientRect(),o=this.model.getOptions().tooltip.datapoint.verticalOffset;if(e.value<=0){var a={left:r.left-n.left+r.width/2,top:r.bottom-n.top+o};return{placement:i.BOTTOM,position:a}}a={left:r.left-n.left+r.width/2,top:r.top-n.top-o};return{placement:i.TOP,position:a}},e.prototype.getTooltipHTML=function(t){var e=Ap.getProperty(this.model.getOptions(),"tooltip","valueFormatter");return'<div class="datapoint-tooltip"><p class="value">'+(e?e(t.value):t.value.toLocaleString("en"))+"</p></div>"},e.prototype.getMultilineTooltipHTML=function(t){var e=this,n=t;n.reverse();var r=n.reduce((function(t,e){return t+e.value}),0),i=Ap.getProperty(this.model.getOptions(),"tooltip","valueFormatter");return r=i?i(r):r.toLocaleString("en"),"<ul class='multi-tooltip'>"+n.map((function(t){var n=i?i(t.value):t.value.toLocaleString("en");return'\n\t\t\t\t<li>\n\t\t\t\t\t<div class="datapoint-tooltip">\n\t\t\t\t\t\t<a style="background-color:'+e.model.getStrokeColor(t.datasetLabel,t.label,t.value)+'" class="tooltip-color"></a>\n\t\t\t\t\t\t<p class="label">'+t.datasetLabel+'</p>\n\t\t\t\t\t\t<p class="value">'+n+"</p>\n\t\t\t\t\t</div>\n\t\t\t\t</li>"})).join("")+"<li>\n\t\t\t\t\t<div class='total-val'>\n\t\t\t\t\t\t<p class='label'>Total</p>\n\t\t\t\t\t\t<p class='value'>"+r+"</p>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t</ul>"},e}(Xw),$w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.getTooltipHTML=function(e,n){if(n===o.TITLE)return t.prototype.getTooltipHTML.call(this,e,n);var r=Ap.getProperty(this.model.getOptions(),"tooltip","valueFormatter"),i=r?r(e.value):e.value.toLocaleString("en");return'\n\t\t\t<div class="datapoint-tooltip">\n\t\t\t\t<a style="background-color:'+this.model.getStrokeColor(e.datasetLabel,e.label,e.value)+'" class="tooltip-color"></a>\n\t\t\t\t<p class="label">'+e.datasetLabel+'</p>\n\t\t\t\t<p class="value">'+i+"</p>\n\t\t\t</div>"},e}(Xw),Zw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.getBarWidth=function(){var t=this.services.axes.getMainXAxis(),e=this.model.getOptions();return t.scale.step?Math.min(e.bars.maxWidth,t.scale.step()/2):Math.min(e.bars.maxWidth,5/t.scale.ticks().length*e.bars.maxWidth)},e}(Gw),Kw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="simple-bar",e.handleLegendOnHover=function(t){var n=t.detail.hoveredElement;e.parent.selectAll("rect.bar").transition(e.services.transitions.getTransition("legend-hover-simple-bar")).attr("opacity",(function(t){return t.label!==n.datum().key?.3:1}))},e.handleLegendMouseOut=function(t){e.parent.selectAll("rect.bar").transition(e.services.transitions.getTransition("legend-mouseout-simple-bar")).attr("opacity",1)},e}return h(e,t),e.prototype.init=function(){var t=this.services.events;t.addEventListener("legend-item-onhover",this.handleLegendOnHover),t.addEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e.prototype.render=function(t){var e=this,n=this.getContainerSVG().selectAll("g.bars").data(this.model.getDisplayData().datasets,(function(t){return t.label}));n.exit().attr("opacity",0).remove();var r=n.enter().append("g").classed("bars",!0).merge(n).selectAll("rect.bar").data((function(t,n){return e.addLabelsToDataPoints(t,n)}),(function(t){return t.label}));r.exit().attr("opacity",0).remove(),r.enter().append("rect").attr("opacity",0).merge(r).classed("bar",!0).attr("x",(function(t,n){var r=e.getBarWidth();return e.services.axes.getXValue(t,n)-r/2})).attr("width",this.getBarWidth.bind(this)).transition(this.services.transitions.getTransition("bar-update-enter",t)).attr("y",(function(t,n){return e.services.axes.getYValue(Math.max(0,t.value))})).attr("fill",(function(t){return e.model.getFillScale()(t.label)})).attr("height",(function(t,n){return Math.abs(e.services.axes.getYValue(t,n)-e.services.axes.getYValue(0))})).attr("opacity",1),this.addEventListeners()},e.prototype.addLabelsToDataPoints=function(t,e){var n=this.model.getDisplayData().labels;return t.data.map((function(e,r){return{date:e.date,label:n[r],datasetLabel:t.label,value:isNaN(e)?e.value:e}}))},e.prototype.addEventListeners=function(){var t=this;this.parent.selectAll("rect.bar").on("mouseover",(function(){var e=km(this);e.classed("hovered",!0),e.transition(t.services.transitions.getTransition("graph_element_mouseover_fill_update")).attr("fill",av(e.attr("fill")).darker(.7).toString()),t.services.events.dispatchEvent("show-tooltip",{hoveredElement:e,type:o.DATAPOINT})})).on("mouseout",(function(){var e=km(this);e.classed("hovered",!1),e.transition(t.services.transitions.getTransition("graph_element_mouseout_fill_update")).attr("fill",(function(e){return t.model.getFillScale()(e.label)})),t.services.events.dispatchEvent("hide-tooltip",{hoveredElement:e})}))},e.prototype.destroy=function(){this.parent.selectAll("rect.bar").on("mouseover",null).on("mousemove",null).on("mouseout",null);var t=this.services.events;t.removeEventListener("legend-item-onhover",this.handleLegendOnHover),t.removeEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e}(Zw),Jw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grouped-bar",e.handleLegendOnHover=function(t){var n=t.detail.hoveredElement;e.parent.selectAll("rect.bar").transition(e.services.transitions.getTransition("legend-hover-bar")).attr("opacity",(function(t){return t.datasetLabel!==n.datum().key?.3:1}))},e.handleLegendMouseOut=function(t){e.parent.selectAll("rect.bar").transition(e.services.transitions.getTransition("legend-mouseout-bar")).attr("opacity",1)},e}return h(e,t),e.prototype.init=function(){var t=this.services.events;t.addEventListener("legend-item-onhover",this.handleLegendOnHover),t.addEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e.prototype.getGroupWidth=function(){var t=this.model.getDisplayData().datasets;return t.length*this.getBarWidth()+5*(t.length-1)},e.prototype.setGroupScale=function(){var t=this.model.getDisplayData().datasets;this.groupScale=Vd().domain(t.map((function(t){return t.label}))).rangeRound([0,this.getGroupWidth()])},e.prototype.getBarWidth=function(){var e=this.model.getDisplayData().datasets;return Math.min(this.services.axes.getMainXAxis().scale.step()/2/e.length,t.prototype.getBarWidth.call(this))},e.prototype.render=function(t){var e=this,n=this.model.getDisplayData();this.setGroupScale();var r=this.getContainerSVG().selectAll("g.bars").data(n.labels);r.exit().attr("opacity",0).remove();var i=r.enter().append("g").classed("bars",!0).merge(r).attr("transform",(function(t,n){return"translate("+(e.services.axes.getXValue(t,n)-e.getGroupWidth()/2)+", 0)"})).selectAll("rect.bar").data((function(t,n){return e.addLabelsToDataPoints(t,n)}));i.exit().attr("opacity",0).remove(),i.enter().append("rect").attr("opacity",0).merge(i).classed("bar",!0).attr("x",(function(t){return e.groupScale(t.datasetLabel)})).attr("width",this.getBarWidth.bind(this)).transition(this.services.transitions.getTransition("bar-update-enter",t)).attr("y",(function(t,n){return e.services.axes.getYValue(Math.max(0,t.value))})).attr("height",(function(t,n){return Math.abs(e.services.axes.getYValue(t,n)-e.services.axes.getYValue(0))})).attr("fill",(function(t){return e.model.getFillScale()[t.datasetLabel](t.label)})).attr("opacity",1),this.addEventListeners()},e.prototype.addLabelsToDataPoints=function(t,e){return this.model.getDisplayData().datasets.map((function(n){return{label:t,datasetLabel:n.label,value:n.data[e]}}))},e.prototype.addEventListeners=function(){var t=this;this.parent.selectAll("rect.bar").on("mouseover",(function(){var e=km(this);e.transition(t.services.transitions.getTransition("graph_element_mouseover_fill_update")).attr("fill",av(e.attr("fill")).darker(.7).toString()),t.services.events.dispatchEvent("show-tooltip",{hoveredElement:e,type:o.DATAPOINT})})).on("mouseout",(function(){var e=km(this);e.classed("hovered",!1),e.transition(t.services.transitions.getTransition("graph_element_mouseout_fill_update")).attr("fill",(function(e){return t.model.getFillScale()[e.datasetLabel](e.label)})),t.services.events.dispatchEvent("hide-tooltip",{hoveredElement:e})}))},e.prototype.destroy=function(){this.parent.selectAll("rect.bar").on("mouseover",null).on("mousemove",null).on("mouseout",null);var t=this.services.events;t.removeEventListener("legend-item-onhover",this.handleLegendOnHover),t.removeEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e}(Zw),Qw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="stacked-bar",e.handleLegendOnHover=function(t){var n=t.detail.hoveredElement;e.parent.selectAll("rect.bar").transition(e.services.transitions.getTransition("legend-hover-bar")).attr("opacity",(function(t){return t.datasetLabel!==n.datum().key?.3:1}))},e.handleLegendMouseOut=function(t){e.parent.selectAll("rect.bar").transition(e.services.transitions.getTransition("legend-mouseout-bar")).attr("opacity",1)},e}return h(e,t),e.prototype.init=function(){var t=this.services.events;t.addEventListener("legend-item-onhover",this.handleLegendOnHover),t.addEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e.prototype.getStackData=function(){var t,e=this.model.getDisplayData();if(this.services.axes.getMainXAxis().scaleType===r.TIME){var n=[];e.datasets.forEach((function(t){n=n.concat(t.data.map((function(t){return Number(t.date)})))})),t=(n=Ap.removeArrayDuplicates(n).sort()).map((function(t,n){var r={};return e.datasets.forEach((function(e){var n=e.data.find((function(e){return Number(e.date)===Number(t)}));r[e.label]=n?n.value:0})),r.label=t,r}))}else t=e.labels.map((function(t,n){var r={};return e.datasets.forEach((function(t){r[t.label]=isNaN(t.data[n])?t.data[n].value:t.data[n]})),r.label=t,r}));return t},e.prototype.render=function(t){var e=this,n=this.model.getOptions(),r=this.getContainerSVG(),i=this.model.getDisplayData(),o=this.getStackData(),a=i.datasets.map((function(t){return t.label})),s=r.selectAll("g.bars").data(function(){var t=bx([]),e=Iw,n=Rw,r=Nw;function i(i){var o,a,s=t.apply(this,arguments),u=i.length,c=s.length,l=new Array(c);for(o=0;o<c;++o){for(var f,h=s[o],p=l[o]=new Array(u),d=0;d<u;++d)p[d]=f=[0,+r(i[d],h,d,i)],f.data=i[d];p.key=h}for(o=0,a=e(l);o<c;++o)l[a[o]].index=o;return n(l,a),l}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:bx(Yx.call(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:bx(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?Iw:"function"==typeof t?t:bx(Yx.call(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?Rw:t,i):n},i}().keys(a)(o),(function(t){return t.key}));s.exit().attr("opacity",0).remove(),s.enter().append("g").classed("bars",!0);var u=r.selectAll("g.bars").selectAll("rect.bar").data((function(t){return function(t){return Object.keys(t).map((function(e){"object"==typeof t[e]&&(t[e].datasetLabel=t.key,t[e].label=t[e].data.label,t[e].value=t[e].data[t.key])})),t}(t)}),(function(t){return t.label}));u.exit().remove(),u.enter().append("rect").merge(u).classed("bar",!0).attr("x",(function(t,n){var r=e.getBarWidth();return e.services.axes.getXValue(t,n)-r/2})).attr("width",this.getBarWidth.bind(this)).transition(this.services.transitions.getTransition("bar-update-enter",t)).attr("y",(function(t,n){return e.services.axes.getYValue(t[1],n)})).attr("fill",(function(t){return e.model.getFillScale()[t.datasetLabel](t.label)})).attr("height",(function(t,r){var i=t.datasetLabel,o=a.indexOf(i),s=e.services.axes.getYValue(t[0])-e.services.axes.getYValue(t[1]);return o>0&&s>=n.bars.dividerSize?s-n.bars.dividerSize:s})).attr("opacity",1),this.addEventListeners()},e.prototype.addEventListeners=function(){var t=this;this.parent.selectAll("rect.bar").on("mouseover",(function(){var e=km(this);e.transition(t.services.transitions.getTransition("graph_element_mouseover_fill_update")).attr("fill",av(e.attr("fill")).darker(.7).toString())})).on("mousemove",(function(){var e=km(this),n=km(this).datum();e.classed("hovered",!0);var r=n.data,i=r.label;delete r.label;var a=Object.keys(r).map((function(t){return{datasetLabel:t,value:r[t],label:i}}));t.services.events.dispatchEvent("show-tooltip",{multidata:a,hoveredElement:e,type:o.DATAPOINT})})).on("mouseout",(function(){var e=km(this);e.classed("hovered",!1),e.transition(t.services.transitions.getTransition("graph_element_mouseout_fill_update")).attr("fill",(function(e){return t.model.getFillScale()[e.datasetLabel](e.label)})),t.services.events.dispatchEvent("hide-tooltip",{hoveredElement:e})}))},e.prototype.destroy=function(){this.parent.selectAll("rect.bar").on("mouseover",null).on("mousemove",null).on("mouseout",null);var t=this.services.events;t.removeEventListener("legend-item-onhover",this.handleLegendOnHover),t.removeEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e}(Zw),tO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return h(e,t),e.prototype.init=function(){var t=this;this.services.events.addEventListener("legend-item-onhover",(function(e){var n=e.detail.hoveredElement;t.parent.selectAll("g.lines").transition(t.services.transitions.getTransition("legend-hover-line")).attr("opacity",(function(t){return t.label!==n.datum().key?Kp.opacity.unselected:Kp.opacity.selected}))})),this.services.events.addEventListener("legend-item-onmouseout",(function(e){t.parent.selectAll("g.lines").transition(t.services.transitions.getTransition("legend-mouseout-line")).attr("opacity",Kp.opacity.selected)}))},e.prototype.render=function(t){var e=this;void 0===t&&(t=!0);var n=this.getContainerSVG();this.lineGenerator=function(){var t=Wx,e=Vx,n=bx(!0),r=null,i=Gx,o=null;function a(a){var s,u,c,l=a.length,f=!1;for(null==r&&(o=i(c=mx())),s=0;s<=l;++s)!(s<l&&n(u=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,s,a),+e(u,s,a));if(c)return o=null,c+""||null}return a.x=function(e){return arguments.length?(t="function"==typeof e?e:bx(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:bx(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:bx(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}().x((function(t,n){return e.services.axes.getXValue(t,n)})).y((function(t,n){return e.services.axes.getYValue(t,n)})).curve(this.services.curves.getD3Curve());var r=n.selectAll("g.lines").data(this.model.getDisplayData().datasets,(function(t){return t.label}));r.exit().attr("opacity",0).remove();var i=r.enter().append("g").classed("lines",!0),o=this;i.append("path").attr("opacity",0).merge(n.selectAll("g.lines path")).attr("stroke",(function(t){var e=km(this.parentNode).datum();return o.model.getStrokeColor(e.label)})).datum((function(t){var e=km(this.parentNode).datum();return this._datasetLabel=e.label,e.data})).transition(this.services.transitions.getTransition("line-update-enter",t)).attr("opacity",1).attr("class","line").attr("d",this.lineGenerator)},e}(Gw),eO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="scatter",e.handleLegendOnHover=function(t){var n=t.detail.hoveredElement;e.parent.selectAll("circle.dot").transition(e.services.transitions.getTransition("legend-hover-scatter")).attr("opacity",(function(t){return t.datasetLabel!==n.datum().key?.3:1}))},e.handleLegendMouseOut=function(t){e.parent.selectAll("circle.dot").transition(e.services.transitions.getTransition("legend-mouseout-scatter")).attr("opacity",1)},e}return h(e,t),e.prototype.init=function(){var t=this.services.events;t.addEventListener("legend-item-onhover",this.handleLegendOnHover),t.addEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e.prototype.render=function(t){var e=this,n=this.model.getOptions(),r=this.getContainerSVG().selectAll("g.dots").data(this.model.getDisplayData().datasets,(function(t){return t.label}));r.exit().attr("opacity",0).remove();var i=r.enter().append("g").classed("dots",!0).merge(r).selectAll("circle.dot").data((function(t,n){return e.addLabelsToDataPoints(t,n)})),o=i.enter().append("circle").attr("opacity",0),a=n.points.filled;o.merge(i).raise().classed("dot",!0).classed("filled",a).classed("unfilled",!a).attr("cx",(function(t,n){return e.services.axes.getXValue(t,n)})).transition(this.services.transitions.getTransition("scatter-update-enter",t)).attr("cy",(function(t,n){return e.services.axes.getYValue(t,n)})).attr("r",n.points.radius).attr("fill",(function(t){if(a)return e.model.getFillScale()[t.datasetLabel](t.label)})).attr("fill-opacity",a?.2:1).attr("stroke",(function(t){return e.model.getStrokeColor(t.datasetLabel,t.label,t.value)})).attr("opacity",1),this.addEventListeners()},e.prototype.addLabelsToDataPoints=function(t,e){var n=this.model.getDisplayData().labels;return t.data.map((function(e,r){return{date:e.date,label:n[r],datasetLabel:t.label,value:isNaN(e)?e.value:e}}))},e.prototype.addEventListeners=function(){var t=this;this.parent.selectAll("circle").on("mouseover mousemove",(function(){var e=km(this);e.classed("hovered",!0),e.style("fill",(function(e){return t.model.getFillScale()[e.datasetLabel](e.label)})),t.services.events.dispatchEvent("show-tooltip",{hoveredElement:e,type:o.DATAPOINT})})).on("mouseout",(function(){var e=km(this);e.classed("hovered",!1),t.configs.filled||e.style("fill",null),t.services.events.dispatchEvent("hide-tooltip",{hoveredElement:e})}))},e.prototype.destroy=function(){this.parent.selectAll("circle").on("mousemove",null).on("mouseout",null);var t=this.services.events;t.removeEventListener("legend-item-onhover",this.handleLegendOnHover),t.removeEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e}(Gw);function nO(t,e){var n=this,r=kv(this._current,t);return function(t){return n._current=r(t),e(n._current)}}var rO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e.handleLegendOnHover=function(t){var n=t.detail.hoveredElement;e.parent.selectAll("path.slice").transition(e.services.transitions.getTransition("legend-hover-bar")).attr("opacity",(function(t){return t.data.label!==n.datum().key?.3:1}))},e.handleLegendMouseOut=function(t){e.parent.selectAll("path.slice").transition(e.services.transitions.getTransition("legend-mouseout-bar")).attr("opacity",1)},e}return h(e,t),e.prototype.init=function(){var t=this.services.events;t.addEventListener("legend-item-onhover",this.handleLegendOnHover),t.addEventListener("legend-item-onmouseout",this.handleLegendMouseOut)},e.prototype.getDataList=function(){var t=this.model.getDisplayData();return t.datasets[0].data.map((function(e,n){return{label:t.labels[n],value:e}}))},e.prototype.getInnerRadius=function(){return this.model.getOptions().pie.innerRadius},e.prototype.render=function(t){var e=this;void 0===t&&(t=!0);var n=this,r=this.getContainerSVG(),i=this.model.getOptions(),o=this.getDataList(),a=this.computeRadius();this.arc=Fx().innerRadius(this.getInnerRadius()).outerRadius(a),this.hoverArc=Fx().innerRadius(this.getInnerRadius()).outerRadius(a+i.pie.hoverArc.outerRadiusOffset);var s=function(){var t=Ux,e=Hx,n=null,r=bx(0),i=bx(jx),o=bx(0);function a(a){var s,u,c,l,f,h=a.length,p=0,d=new Array(h),v=new Array(h),g=+r.apply(this,arguments),y=Math.min(jx,Math.max(-jx,i.apply(this,arguments)-g)),_=Math.min(Math.abs(y)/h,o.apply(this,arguments)),m=_*(y<0?-1:1);for(s=0;s<h;++s)(f=v[d[s]=s]=+t(a[s],s,a))>0&&(p+=f);for(null!=e?d.sort((function(t,n){return e(v[t],v[n])})):null!=n&&d.sort((function(t,e){return n(a[t],a[e])})),s=0,c=p?(y-h*m)/p:0;s<h;++s,g=l)u=d[s],l=g+((f=v[u])>0?f*c:0)+m,v[u]={data:a[u],index:s,value:f,startAngle:g,endAngle:l,padAngle:_};return v}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:bx(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:bx(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:bx(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:bx(+t),a):o},a}().value((function(t){return t.value})).sort((function(t,e){return e.value-t.value})).padAngle(i.pie.padAngle)(o).sort((function(t,e){return t.index-e.index})),u=nb.appendOrSelect(r,"g.slices").selectAll("path.slice").data(s,(function(t){return t.data.label}));u.exit().attr("opacity",0).remove(),u.enter().append("path").classed("slice",!0).attr("opacity",0).merge(u).attr("fill",(function(t){return e.model.getFillScale()(t.data.label)})).attr("d",this.arc).transition(this.services.transitions.getTransition("pie-slice-enter-update",t)).attr("opacity",1).attrTween("d",(function(t){return nO.bind(this)(t,n.arc)}));var c=nb.appendOrSelect(r,"g.labels").selectAll("text.pie-label").data(s,(function(t){return t.data.label}));c.exit().attr("opacity",0).remove();var f=c.enter().append("text").classed("pie-label",!0),h=[];f.merge(c).style("text-anchor","middle").text((function(t){return i.pie.labels.formatter?i.pie.labels.formatter(t):Ap.convertValueToPercentage(t.data.value,o)+"%"})).datum((function(t){var e=this.getComputedTextLength();t.textOffsetX=e/2,t.textOffsetY=parseFloat(getComputedStyle(this).fontSize)/2;var n=a+7,r=(t.endAngle-t.startAngle)/2+t.startAngle;return t.xPosition=(t.textOffsetX+n)*Math.sin(r),t.yPosition=(t.textOffsetY+n)*-Math.cos(r),t})).attr("transform",(function(t,e){var n=o.length,r=(t.endAngle-t.startAngle)*(180/Math.PI);if(e>=n-2&&r<i.pie.callout.minSliceDegree){var a=void 0,s=void 0;return t.index===n-1?(a=t.xPosition+i.pie.callout.offsetX+i.pie.callout.textMargin+t.textOffsetX,s=t.yPosition-i.pie.callout.offsetY,t.direction=l.RIGHT,h.push(t)):(a=t.xPosition-i.pie.callout.offsetX-t.textOffsetX-i.pie.callout.textMargin,s=t.yPosition-i.pie.callout.offsetY,t.direction=l.LEFT,h.push(t)),"translate("+a+", "+s+")"}return"translate("+t.xPosition+", "+t.yPosition+")"})),this.renderCallouts(h);var p=a+i.pie.xOffset,d=a+i.pie.yOffset;h.length>0&&(d+=i.pie.yOffsetCallout),r.attr("transform","translate("+p+", "+d+")"),this.addEventListeners()},e.prototype.renderCallouts=function(t){var e=nb.appendOrSelect(this.getContainerSVG(),"g.callouts"),n=this.model.getOptions(),r=e.selectAll("g.callout").data(t);r.exit().remove();var i=r.enter().append("g").classed("callout",!0);i.merge(r).datum((function(t){var e=t.xPosition,r=t.yPosition;return t.direction===l.RIGHT?(t.startPos={x:e,y:r+t.textOffsetY},t.endPos={x:e+n.pie.callout.offsetX,y:r-n.pie.callout.offsetY+t.textOffsetY},t.intersectPointX=t.endPos.x-n.pie.callout.horizontalLineLength):(t.startPos={x:e,y:r+t.textOffsetY},t.endPos={x:e-n.pie.callout.offsetX,y:r-n.pie.callout.offsetY+t.textOffsetY},t.intersectPointX=t.endPos.x+n.pie.callout.horizontalLineLength),t})),i.append("line").classed("vertical-line",!0).merge(e.selectAll("line.vertical-line")).datum((function(t){return km(this.parentNode).datum()})).style("stroke-width","1px").attr("x1",(function(t){return t.startPos.x})).attr("y1",(function(t){return t.startPos.y})).attr("x2",(function(t){return t.intersectPointX})).attr("y2",(function(t){return t.endPos.y})),i.append("line").classed("horizontal-line",!0).merge(r.selectAll("line.horizontal-line")).datum((function(t){return km(this.parentNode).datum()})).style("stroke-width","1px").attr("x1",(function(t){return t.intersectPointX})).attr("y1",(function(t){return t.endPos.y})).attr("x2",(function(t){return t.endPos.x})).attr("y2",(function(t){return t.endPos.y}))},e.prototype.addEventListeners=function(){var t=this;this.parent.selectAll("path.slice").on("mousemove",(function(){var e=km(this);e.classed("hovered",!0).transition(t.services.transitions.getTransition("pie_slice_mouseover")).attr("d",t.hoverArc),t.services.events.dispatchEvent("pie-slice-mouseover",e),t.services.events.dispatchEvent("show-tooltip",{hoveredElement:e,type:o.DATAPOINT})})).on("mouseout",(function(){var e=km(this);e.classed("hovered",!1).transition(t.services.transitions.getTransition("pie_slice_mouseover")).attr("d",t.arc),t.services.events.dispatchEvent("pie-slice-mouseout",e),t.services.events.dispatchEvent("hide-tooltip",{hoveredElement:e})})).on("click",(function(e){return t.services.events.dispatchEvent("pie-slice-click",e)}))},e.prototype.computeRadius=function(){var t=this.model.getOptions(),e=nb.getSVGElementSize(this.parent,{useAttrs:!0}),n=e.width,r=e.height;return Math.min(n,r)/2+t.pie.radiusOffset},e}(Gw),iO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="donut",e}return h(e,t),e.prototype.render=function(e){void 0===e&&(e=!0),t.prototype.render.call(this,e);var n=this,r=nb.appendOrSelect(this.getContainerSVG(),"g.center"),i=this.model.getOptions(),o=this.computeRadius();nb.appendOrSelect(r,"text.donut-figure").attr("text-anchor","middle").style("font-size",(function(){return i.donut.center.numberFontSize(o)})).transition(this.services.transitions.getTransition("donut-figure-enter-update",e)).tween("text",(function(){return n.centerNumberTween(km(this))})),nb.appendOrSelect(r,"text.donut-title").attr("text-anchor","middle").style("font-size",(function(){return i.donut.center.titleFontSize(o)})).attr("y",i.donut.center.titleYPosition(o)).text(Ap.getProperty(i,"donut","center","label"))},e.prototype.getInnerRadius=function(){return.75*this.computeRadius()},e.prototype.centerNumberTween=function(t){var e=this.model.getOptions(),n=Ap.getProperty(e,"donut","center","number");n||(n=this.getDataList().reduce((function(t,e){return t+e.value}),0));var r=Tv(parseInt(t.text().replace(/[, ]+/g,""),10)||0,n);return function(n){var i=e.donut.center.numberFormatter;t.text(i(r(n)))}},e}(rO),oO=Array.prototype.slice;function aO(t){return t}var sO=1,uO=2,cO=3,lO=4,fO=1e-6;function hO(t){return"translate("+(t+.5)+",0)"}function pO(t){return"translate(0,"+(t+.5)+")"}function dO(t){return function(e){return+t(e)}}function vO(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function gO(){return!this.__axis}function yO(t,e){var n=[],r=null,i=null,o=6,a=6,s=3,u=t===sO||t===lO?-1:1,c=t===lO||t===uO?"x":"y",l=t===sO||t===cO?hO:pO;function f(f){var h=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,p=null==i?e.tickFormat?e.tickFormat.apply(e,n):aO:i,d=Math.max(o,0)+s,v=e.range(),g=+v[0]+.5,y=+v[v.length-1]+.5,_=(e.bandwidth?vO:dO)(e.copy()),m=f.selection?f.selection():f,b=m.selectAll(".domain").data([null]),x=m.selectAll(".tick").data(h,e).order(),w=x.exit(),O=x.enter().append("g").attr("class","tick"),T=x.select("line"),E=x.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(O),T=T.merge(O.append("line").attr("stroke","currentColor").attr(c+"2",u*o)),E=E.merge(O.append("text").attr("fill","currentColor").attr(c,u*d).attr("dy",t===sO?"0em":t===cO?"0.71em":"0.32em")),f!==m&&(b=b.transition(f),x=x.transition(f),T=T.transition(f),E=E.transition(f),w=w.transition(f).attr("opacity",fO).attr("transform",(function(t){return isFinite(t=_(t))?l(t):this.getAttribute("transform")})),O.attr("opacity",fO).attr("transform",(function(t){var e=this.parentNode.__axis;return l(e&&isFinite(e=e(t))?e:_(t))}))),w.remove(),b.attr("d",t===lO||t==uO?a?"M"+u*a+","+g+"H0.5V"+y+"H"+u*a:"M0.5,"+g+"V"+y:a?"M"+g+","+u*a+"V0.5H"+y+"V"+u*a:"M"+g+",0.5H"+y),x.attr("opacity",1).attr("transform",(function(t){return l(_(t))})),T.attr(c+"2",u*o),E.attr(c,u*d).text(p),m.filter(gO).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===uO?"start":t===lO?"end":"middle"),m.each((function(){this.__axis=_}))}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=oO.call(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:oO.call(t),f):n.slice()},f.tickValues=function(t){return arguments.length?(r=null==t?null:oO.call(t),f):r&&r.slice()},f.tickFormat=function(t){return arguments.length?(i=t,f):i},f.tickSize=function(t){return arguments.length?(o=a=+t,f):o},f.tickSizeInner=function(t){return arguments.length?(o=+t,f):o},f.tickSizeOuter=function(t){return arguments.length?(a=+t,f):a},f.tickPadding=function(t){return arguments.length?(s=+t,f):s},f}function _O(t){return yO(sO,t)}function mO(t){return yO(uO,t)}function bO(t){return yO(cO,t)}function xO(t){return yO(lO,t)}var wO=function(t){function i(e,n,r){var i=t.call(this,e,n,r)||this;return i.type="axes",r&&(i.configs=r),i.margins=i.configs.margins,i}return h(i,t),i.prototype.createOrGetScale=function(){var t,e,i=this.configs.position,o=Ap.getProperty(this.model.getOptions(),"axes",i);if(this.scaleType=o&&o.scaleType?o.scaleType:r.LINEAR,e=this.scaleType===r.TIME?y_():this.scaleType===r.LOG?function t(){var e=xg($v()).domain([1,10]);return e.copy=function(){return qv(e,t()).base(e.base())},Dd.apply(e,arguments),e}().base(o.base||10):this.scaleType===r.LABELS?Vd():pg(),!this.model.get(i)){var a=((t={})[i]=this,t);o&&(!0===o.primary&&(a[n.PRIMARY]=this),!0===o.secondary&&(a[n.SECONDARY]=this)),this.model.set(a,!0)}return this.scale=e,e},i.prototype.getScale=function(){return this.scale?this.scale:this.createOrGetScale()},i.prototype.getScaleDomain=function(){var t,e=this.model.getOptions(),n=this.configs.position,i=Ap.getProperty(e,"axes",n),o=this.model.getDisplayData(),a=o.datasets,s=o.labels;if(i&&i.scaleType===r.LABELS)return s||this.model.getDisplayData().datasets[0].data.map((function(t,e){return e+1}));if(i.stacked)t=Md(s.reduce((function(t,e,n){var r=a.map((function(t){return isNaN(t.data[n])?t.data[n].value:t.data[n]})),i=r.reduce((function(t,e){return t+e}),0);return t.concat(i,function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&r>n&&(r=n);return r}(r))}),[]).concat(0));else{var u=a.reduce((function(t,e){return e.data.forEach((function(e){t=i.scaleType===r.TIME?t.concat(e.date):t.concat(isNaN(e)?e.value:e)})),t}),[]);i.scaleType!==r.TIME&&(u=u.concat(0)),t=Md(u)}if(i.scaleType===r.TIME){if(Ap.getProperty(e,"timeScale","addSpaceOnEdges")){var c=t[0],l=t[1];c.setDate(c.getDate()-1),l.setDate(l.getDate()+1)}return[new Date(t[0]),new Date(t[1])]}return t[1]=1.1*t[1],t},i.prototype.render=function(t){void 0===t&&(t=!0);var n,i,o=this.configs.position,a=this.model.getOptions(),s=Ap.getProperty(a,"axes",o),u=this.getContainerSVG(),c=nb.getSVGElementSize(this.parent,{useAttrs:!0}),l=c.width,f=c.height;o===e.BOTTOM||o===e.TOP?(n=this.configs.axes[e.LEFT]?this.margins.left:0,i=this.configs.axes[e.RIGHT]?l-this.margins.right:l):(n=f-this.margins.bottom,i=this.margins.top);var h,p=this.createOrGetScale().domain(this.getScaleDomain());switch(this.scaleType===r.LABELS?p.rangeRound([n,i]):p.range([n,i]),o){case e.LEFT:h=xO;break;case e.BOTTOM:h=bO;break;case e.RIGHT:h=mO;break;case e.TOP:h=_O}if(this.scaleType===r.TIME){var d=Ap.getProperty(a,"locale","time");d&&s_(d)}var v=h(p).tickSizeOuter(0).tickFormat(Ap.getProperty(s,"ticks","formatter"));if(p.ticks){if(v.ticks(7),this.scaleType===r.TIME){var g=p.ticks(7).concat(p.domain()).map((function(t){return+t})).sort();g=Ap.removeArrayDuplicates(g),Ap.getProperty(a,"timeScale","addSpaceOnEdges")&&g.length>2&&(g.splice(g.length-1,1),g.splice(0,1)),v.tickValues(g)}}var y=nb.appendOrSelect(u,"g.axis."+o),_=!y.select("g.ticks").empty(),m=nb.appendOrSelect(y,"g.ticks");switch(o){case e.LEFT:m.attr("transform","translate("+this.margins.left+", 0)");break;case e.BOTTOM:m.attr("transform","translate(0, "+(f-this.margins.bottom)+")");break;case e.RIGHT:m.attr("transform","translate("+(l-this.margins.right)+", 0)");break;case e.TOP:m.attr("transform","translate(0, "+this.margins.top+")")}if(s.title){var b=nb.appendOrSelect(y,"text.axis-title").text(s.title);switch(o){case e.LEFT:b.attr("transform","rotate(-90)").attr("y",0).attr("x",-p.range()[0]/2).attr("dy","1em").style("text-anchor","middle");break;case e.BOTTOM:b.attr("transform","translate("+(this.margins.left/2+p.range()[1]/2)+", "+f+")").style("text-anchor","middle");break;case e.RIGHT:b.attr("transform","rotate(90)").attr("y",-l).attr("x",p.range()[0]/2).attr("dy","1em").style("text-anchor","middle");break;case e.TOP:var x=nb.getSVGElementSize(b,{useBBox:!0}).height;b.attr("transform","translate("+(this.margins.left/2+p.range()[1]/2)+", "+x/2+")").style("text-anchor","middle")}}if(m=t&&_?m.transition(this.services.transitions.getTransition("axis-update")).call(v):m.call(v),o===e.BOTTOM||o===e.TOP){if(p.step){if(m.selectAll("g.tick text").nodes().some((function(t){return nb.getSVGElementSize(t,{useBBox:!0}).width>=p.step()})))return void m.selectAll("g.tick text").attr("transform","rotate(45)").style("text-anchor",o===e.TOP?"end":"start")}else if(l/p.ticks().length/2<30)return void m.selectAll("g.tick text").attr("transform","rotate(45)").style("text-anchor",o===e.TOP?"end":"start");m.selectAll("g.tick text").attr("transform",null).style("text-anchor",null)}},i.prototype.getValueFromScale=function(t,e){var n=isNaN(t)?t.value:t;if(this.scaleType===r.LABELS){var i=this.model.getDisplayData().labels[e];return this.scale(i)+this.scale.step()/2}return this.scaleType===r.TIME?this.scale(new Date(t.date||t.label)):this.scale(n)},i.prototype.getAxisRef=function(){var t=this.configs.position;return this.getContainerSVG().select("g.axis."+t+" g.ticks")},i.prototype.getTitleRef=function(){var t=this.configs.position;return this.getContainerSVG().select("g.axis."+t+" text.axis-title")},i}(Gw),OO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="2D-axes",e.children={},e.margins={top:0,right:0,bottom:0,left:0},e}return h(n,t),n.prototype.render=function(t){var n=this;void 0===t&&(t=!1);var i={},o=Object.keys(e),a=Ap.getProperty(this.model.getOptions(),"axes");a?o.forEach((function(t){var n=a[e[t]];n&&(i[e[t]]=!0,!0===n.primary||n.secondary)})):(this.model.getOptions().axes={left:{primary:!0},bottom:{secondary:!0,type:this.model.getDisplayData().labels?r.LABELS:void 0}},i[e.LEFT]=!0,i[e.BOTTOM]=!0),this.configs.axes=i,o.forEach((function(t){var r=e[t];if(n.configs.axes[r]&&!n.children[r]){var i=new wO(n.model,n.services,{position:r,axes:n.configs.axes,margins:n.margins});i.setModel(n.model),i.setServices(n.services),i.setParent(n.parent),n.children[r]=i}})),Object.keys(this.children).forEach((function(e){n.children[e].render(t)}));var s={};Object.keys(this.children).forEach((function(t){var r,i=n.children[t],o=i.configs.position,a=nb.getSVGElementSize(i.getAxisRef(),{useBBox:!0}),u=a.width,c=a.height;switch(r=i.getTitleRef().empty()?0:nb.getSVGElementSize(i.getTitleRef(),{useBBox:!0}).height,o){case e.TOP:s.top=c+r;break;case e.BOTTOM:s.bottom=c+r;break;case e.LEFT:s.left=u+r;break;case e.RIGHT:s.right=u+r}})),Object.keys(s).some((function(t){return n.margins[t]!==s[t]}))&&(this.margins=Object.assign(this.margins,s),Object.keys(this.children).forEach((function(t){n.children[t].margins=n.margins})),this.render(!0))},n}(Gw),TO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return h(e,t),e.prototype.render=function(){this.drawBackdrop(),nb.appendOrSelect(this.backdrop,"g.x.grid"),nb.appendOrSelect(this.backdrop,"g.y.grid"),this.drawXGrid(),this.drawYGrid(),Ap.getProperty(this.model.getOptions(),"tooltip","gridline","enabled")&&this.addGridEventListeners()},e.prototype.drawXGrid=function(){var t=this.parent,e=this.backdrop.attr("height"),n=bO(this.services.axes.getMainXAxis().getScale()).tickSizeInner(-e).tickSizeOuter(0),r=Ap.getProperty(this.model.getOptions(),"grid","x","numberOfTicks");n.ticks(r);var i=t.select(".x.grid").attr("transform","translate("+-this.backdrop.attr("x")+", "+e+")").call(n);this.cleanGrid(i)},e.prototype.drawYGrid=function(){var t=this.parent,e=this.backdrop.attr("width"),n=xO(this.services.axes.getMainYAxis().getScale()).tickSizeInner(-e).tickSizeOuter(0),r=Ap.getProperty(this.model.getOptions(),"grid","y","numberOfTicks");n.ticks(r);var i=t.select(".y.grid").attr("transform","translate(0, "+-this.backdrop.attr("y")+")").call(n);this.cleanGrid(i)},e.prototype.getGridlineThreshold=function(t){var e,n=this.parent,r=n.selectAll(".x.grid .tick").nodes().sort((function(t,e){return Number(Ap.getTranslationValues(t).tx)-Number(Ap.getTranslationValues(e).tx)})),i=-1;r.forEach((function(e,n){t[0]>=+Ap.getTranslationValues(e).tx&&i++})),e=i+1<r.length?i+1:r.length;var o,a=r[i],s=r[e];if(a)if(s)o=+Ap.getTranslationValues(s).tx-+Ap.getTranslationValues(a).tx;else{var u=n.select("rect.chart-grid-backdrop").node();o=nb.getSVGElementSize(u).width-+Ap.getTranslationValues(a).tx}else o=+Ap.getTranslationValues(s).tx;return o*this.model.getOptions().tooltip.gridline.threshold},e.prototype.getActiveGridline=function(t){var e=Ap.getProperty(this.model.getOptions,"tooltip","gridline","threshold")?Ap.getProperty(this.model.getOptions,"tooltip","gridline","threshold"):this.getGridlineThreshold(t);return this.parent.selectAll(".x.grid .tick").filter((function(){var n=Ap.getTranslationValues(this),r=Number(n.tx)-e,i=Number(n.tx)+e;return r<=t[0]&&t[0]<=i}))},e.prototype.addGridEventListeners=function(){var t=this,e=this.parent;nb.appendOrSelect(e,"rect.chart-grid-backdrop").on("mousemove mouseover",(function(){var n=jm(t.services.domUtils.getMainSVG()),r=km(this);e.selectAll(".x.grid .tick").classed("active",!1);var i,a=t.getActiveGridline(n);a.empty()?t.services.events.dispatchEvent("hide-tooltip",{}):(a.classed("active",!0),a.each((function(e){i=t.services.axes.getDataFromDomain(e)})),t.services.events.dispatchEvent("show-tooltip",{hoveredElement:r,multidata:i,type:o.GRIDLINE}))})).on("mouseout",(function(){e.selectAll(".x.grid .tick").classed("active",!1),t.services.events.dispatchEvent("hide-tooltip",{})}))},e.prototype.drawBackdrop=function(){var t=this.parent,e=this.services.axes.getMainXAxis().getScale(),n=this.services.axes.getMainYAxis().getScale(),r=e.range(),i=r[0],o=r[1],a=n.range(),s=a[0],u=a[1];this.backdrop=nb.appendOrSelect(t,"svg.chart-grid-backdrop");var c=nb.appendOrSelect(this.backdrop,"rect.chart-grid-backdrop");this.backdrop.merge(c).attr("x",i).attr("y",u).attr("width",o-i).attr("height",s-u).lower(),c.attr("width","100%").attr("height","100%")},e.prototype.cleanGrid=function(t){var e=this.model.getOptions();t.selectAll("line").attr("stroke",e.grid.strokeColor),t.selectAll("text").remove(),t.select(".domain").remove()},e}(Gw),EO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="horizontal-zero-line",e}return h(e,t),e.prototype.render=function(t){var e=this.getContainerSVG(),n=this.services.axes.getMainXAxis().scale.range(),r=n[0],i=n[1],o=this.services.axes.getYValue(0)+.5;nb.appendOrSelect(e,"line.domain").transition(this.services.transitions.getTransition("horizontal-line-update",t)).attr("y1",o).attr("y2",o).attr("x1",r).attr("x2",i)},e}(Gw);function MO(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function AO(t,e){var n,r,i,o,a,s=new jO(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=SO);n=c.pop();)if(u&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new jO(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(LO)}function SO(t){return t.children}function kO(t){t.data=t.data.data}function LO(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function jO(t){this.data=t,this.depth=this.height=0,this.parent=null}function CO(t){if("function"!=typeof t)throw new Error;return t}function DO(){return 0}function PO(t){return function(){return t}}function RO(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function IO(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s<u;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*c}function NO(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(i-n)/t.value;++s<u;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*c}jO.prototype=AO.prototype={constructor:jO,count:function(){return this.eachAfter(MO)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return AO(this).eachBefore(kO)}};var BO=function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,f,h,p,d,v,g,y=[],_=e.children,m=0,b=0,x=_.length,w=e.value;m<x;){u=i-n,c=o-r;do{l=_[b++].value}while(!l&&b<x);for(f=h=l,g=l*l*(v=Math.max(c/u,u/c)/(w*t)),d=Math.max(h/g,g/f);b<x;++b){if(l+=s=_[b].value,s<f&&(f=s),s>h&&(h=s),g=l*l*v,(p=Math.max(h/g,g/f))>d){l-=s;break}d=p}y.push(a={value:l,dice:u<c,children:_.slice(m,b)}),a.dice?IO(a,n,r,i,w?r+=c*l/w:o):NO(a,n,r,w?n+=u*l/w:i,o),w-=l,m=b}}(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2);function FO(){var t=BO,e=!1,n=1,r=1,i=[0],o=DO,a=DO,s=DO,u=DO,c=DO;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(RO),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=o(e)/2,r+=c(e)-n,l+=a(e)-n,(f-=s(e)-n)<r&&(r=f=(r+f)/2),(h-=u(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=CO(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:PO(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:PO(+t),l):a},l.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:PO(+t),l):s},l.paddingBottom=function(t){return arguments.length?(u="function"==typeof t?t:PO(+t),l):u},l.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:PO(+t),l):c},l}var zO=function(t){function e(n,r,i,o){var a=t.call(this,n,r,o)||this;return a.type="layout",a.configs=o,a.children=i,a._instanceID=e.instanceID++,(a.configs.direction===u.ROW_REVERSE||a.configs.direction===u.COLUMN_REVERSE)&&(a.children=a.children.reverse()),a.init(),a}return h(e,t),e.prototype.init=function(){this.children.forEach((function(t){t.components.forEach((function(t){t.init()}))}))},e.prototype.getPreferedAndFixedSizeSum=function(){var t=this.parent,e=0;return t.selectAll("svg.layout-child-"+this._instanceID).filter((function(t){var e=Ap.getProperty(t,"data","growth","x");return e===c.PREFERRED||e===c.FIXED})).each((function(t){e+=t.data.size})),e},e.prototype.getNumOfStretchChildren=function(){return this.parent.selectAll("svg.layout-child-"+this._instanceID).filter((function(t){return Ap.getProperty(t,"data","growth","x")===c.STRETCH})).size()},e.prototype.render=function(t){var e=this;void 0===t&&(t=!0);var n=this.parent,r=nb.getSVGElementSize(n,{useAttrs:!0}),i=r.width,o=r.height,a=AO({children:this.children}).sum((function(t){return t.size})),s=this.configs.direction===u.ROW||this.configs.direction===u.ROW_REVERSE?IO:NO;FO().tile(s).size([i,o])(a);var l=this.configs.direction===u.ROW||this.configs.direction===u.ROW_REVERSE,f=n.selectAll("svg.layout-child-"+this._instanceID).data(a.leaves(),(function(t){return t.data.id}));f.attr("width",(function(t){return t.x1-t.x0})).attr("height",(function(t){return t.y1-t.y0})),f.enter().append("svg").attr("class",(function(t){return"layout-child layout-child-"+e._instanceID+" "+t.data.id})).attr("x",(function(t){return t.x0})).attr("y",(function(t){return t.y0})).merge(n.selectAll("svg.layout-child-"+this._instanceID)).each((function(e){var n=this;e.data.components.forEach((function(r){r.setParent(km(n));var i=Ap.getProperty(e,"data","growth","x");i!==c.PREFERRED&&i!==c.FIXED||r.render(t)}))})),n.selectAll("svg.layout-child-"+this._instanceID).each((function(t){var e=Ap.getProperty(t,"data","growth","x"),n=nb.getSVGElementSize(km(this),{useBBox:!0});if(e===c.PREFERRED){var r=l?n.width:n.height,a=l?i:o;t.data.size=r/a*100}})),f.exit().remove(),this.children.filter((function(t){return Ap.getProperty(t,"growth","x")===c.STRETCH})).forEach((function(t,n){t.size=(100-+e.getPreferedAndFixedSizeSum())/+e.getNumOfStretchChildren()})),a=AO({children:this.children}).sum((function(t){return t.size})),FO().tile(s).size([i,o]).padding(0)(a),n.selectAll("svg.layout-child-"+this._instanceID).data(a.leaves(),(function(t){return t.data.id})).attr("x",(function(t){return t.x0})).attr("y",(function(t){return t.y0})).attr("width",(function(t){return t.x1-t.x0})).attr("height",(function(t){return t.y1-t.y0})).each((function(e,n){e.data.components.forEach((function(n){Ap.getProperty(e,"data","growth","x")===c.STRETCH&&n.render(t)}))}))},e.prototype.setModel=function(e){t.prototype.setModel.call(this,e),this.children.forEach((function(t){t.components.forEach((function(t){return t.setModel(e)}))}))},e.prototype.setServices=function(e){t.prototype.setServices.call(this,e),this.children.forEach((function(t){t.components.forEach((function(t){return t.setServices(e)}))}))},e.prototype.destroy=function(){this.children.forEach((function(t){t.components.forEach((function(t){return t.destroy()}))}))},e.instanceID=Math.floor(99999999999*Math.random()),e}(Gw),GO=function(){function t(t,e){this.services={domUtils:nb,events:rb,transitions:px},this.model=new __(this.services)}return t.prototype.init=function(t,e){var n=this;this.model.set({holder:t},!0),Object.keys(this.services).forEach((function(t){var e=n.services[t];n.services[t]=new e(n.model,n.services)})),this.services.events.addEventListener("model-update",(function(){n.update(!0)})),this.model.setData(e.data),this.services.events.addEventListener("chart-resize",(function(){n.update(!1)})),this.components=this.getComponents(),this.update()},t.prototype.getComponents=function(){return console.error("getComponents() method is not implemented"),null},t.prototype.update=function(t){var e=this;if(void 0===t&&(t=!0),this.components){Object.keys(this.services).forEach((function(t){e.services[t].update()})),this.components.forEach((function(e){return e.render(t)}));var n=this.services.transitions.getPendingTransitions(),r=Object.keys(n).map((function(t){return n[t].end().catch((function(t){return t}))}));Promise.all(r).then((function(){return e.services.events.dispatchEvent("render-finished")}))}},t.prototype.destroy=function(){this.components.forEach((function(t){return t.destroy()})),this.model.set({destroyed:!0},!0)},t.prototype.getChartComponents=function(t){var e={id:"title",components:[new Vw(this.model,this.services)],growth:{x:c.PREFERRED,y:c.FIXED}},n={id:"legend",components:[new Ww(this.model,this.services)],growth:{x:c.PREFERRED,y:c.FIXED}},r={id:"graph-frame",components:t,growth:{x:c.STRETCH,y:c.FIXED}},i=u.COLUMN,o=Ap.getProperty(this.model.getOptions(),"legend","position");"left"===o?(i=u.ROW,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.VERTICAL)):"right"===o?(i=u.ROW_REVERSE,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.VERTICAL)):"bottom"===o&&(i=u.COLUMN_REVERSE);var a={id:"full-frame",components:[new zO(this.model,this.services,[n,r],{direction:i})],growth:{x:c.STRETCH,y:c.FIXED}},l=[];return this.model.getOptions().title&&l.push(e),l.push(a),[new zO(this.model,this.services,l,{direction:u.COLUMN})]},t}(),WO=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.services=Object.assign(r.services,{axes:dx,curves:zw}),r}return h(e,t),e.prototype.getAxisChartComponents=function(t){var e={id:"title",components:[new Vw(this.model,this.services)],growth:{x:c.PREFERRED,y:c.FIXED}},n={id:"legend",components:[new Ww(this.model,this.services)],growth:{x:c.PREFERRED,y:c.FIXED}},r={id:"graph-frame",components:t,growth:{x:c.STRETCH,y:c.FIXED}},i=u.COLUMN,o=Ap.getProperty(this.model.getOptions(),"legend","position");o===a.LEFT?(i=u.ROW,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.VERTICAL)):o===a.RIGHT?(i=u.ROW_REVERSE,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.VERTICAL)):o===a.BOTTOM&&(i=u.COLUMN_REVERSE);var l={id:"full-frame",components:[new zO(this.model,this.services,[n,r],{direction:i})],growth:{x:c.STRETCH,y:c.FIXED}},f=[];return this.model.getOptions().title&&f.push(e),f.push(l),[new zO(this.model,this.services,f,{direction:u.COLUMN})]},e}(GO),VO=function(t){function e(e){return t.call(this,e)||this}return h(e,t),e.prototype.generateDataLabels=function(t){var e={};return t.labels.forEach((function(t){e[t]=Pp.items.status.ACTIVE})),e},e.prototype.getDisplayData=function(){var t=Pp.items.status.ACTIVE,e=this.get("dataLabels");if(!this.get("data"))return null;var n=Ap.clone(this.get("data")),r=n.datasets[0];return r.data=r.data.filter((function(r,i){var o=n.labels[i];return e[o]===t})),n.labels=n.labels.filter((function(n){return e[n]===t})),n},e.prototype.setColorScale=function(){var t=this.getDisplayData().datasets[0];if(t.fillColors)this.colorScale=Wd().range(t.fillColors).domain(this.allDataLabels);else{var e=xd;this.colorScale=Wd().range(e).domain(this.allDataLabels)}},e.prototype.getFillColor=function(t){var e=this.getOptions();return e.getFillColor?e.getFillColor(t):this.getFillScale()(t)},e.prototype.getStrokeColor=function(t){var e=this.getOptions();return e.getStrokeColor?e.getStrokeColor(t):this.colorScale(t)},e}(__),HO=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.model=new VO(r.services),r.model.setOptions(Ap.merge(Ap.clone(Zp.simpleBarChart),n.options)),r.init(e,n),r}return h(e,t),e.prototype.getComponents=function(){var t=[new OO(this.model,this.services),new TO(this.model,this.services),new Kw(this.model,this.services),new EO(this.model,this.services)],e=this.getAxisChartComponents(t);return e.push(new qw(this.model,this.services)),e},e}(WO),UO=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.model.setOptions(Ap.merge(Ap.clone(Zp.groupedBarChart),n.options)),r.init(e,n),r}return h(e,t),e.prototype.getComponents=function(){var t=[new OO(this.model,this.services),new TO(this.model,this.services),new Jw(this.model,this.services),new EO(this.model,this.services)],e=this.getAxisChartComponents(t);return e.push(new qw(this.model,this.services)),e},e}(WO),YO=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.model.setOptions(Ap.merge(Ap.clone(Zp.stackedBarChart),n.options)),r.init(e,n),r}return h(e,t),e.prototype.getComponents=function(){var t=[new OO(this.model,this.services),new TO(this.model,this.services),new Qw(this.model,this.services)],e=this.getAxisChartComponents(t);return e.push(new qw(this.model,this.services)),e},e}(WO),XO=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.model.setOptions(Ap.merge(Ap.clone(Zp.lineChart),n.options)),r.init(e,n),r}return h(e,t),e.prototype.getComponents=function(){var t=[new OO(this.model,this.services),new TO(this.model,this.services),new tO(this.model,this.services),new eO(this.model,this.services)],e=this.getAxisChartComponents(t);return e.push(new $w(this.model,this.services)),e},e}(WO),qO=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.model.setOptions(Ap.merge(Ap.clone(Zp.scatterChart),n.options)),r.init(e,n),r}return h(e,t),e.prototype.getComponents=function(){var t=[new OO(this.model,this.services),new TO(this.model,this.services),new eO(this.model,this.services)],e=this.getAxisChartComponents(t);return e.push(new $w(this.model,this.services)),e},e}(WO),$O=function(t){function e(e){return t.call(this,e)||this}return h(e,t),e.prototype.generateDataLabels=function(t){var e={};return t.labels.forEach((function(t){e[t]=Pp.items.status.ACTIVE})),e},e.prototype.getDisplayData=function(){var t=Pp.items.status.ACTIVE,e=this.get("dataLabels");if(!this.get("data"))return null;var n=Ap.clone(this.get("data")),r=n.datasets[0];return r.data=r.data.filter((function(r,i){var o=n.labels[i];return e[o]===t})),n.labels=n.labels.filter((function(n){return e[n]===t})),n},e.prototype.toggleDataLabel=function(t){var e=Pp.items.status,n=e.ACTIVE,r=e.DISABLED,i=this.get("dataLabels"),o=Object.keys(i).some((function(t){return i[t]===r})),a=Object.keys(i).filter((function(t){return i[t]===n}));o?1===a.length&&a[0]===t?Object.keys(i).forEach((function(t){i[t]=n})):i[t]=i[t]===r?n:r:Object.keys(i).forEach((function(e){i[e]=e===t?n:r})),this.set({dataLabels:i})},e.prototype.setColorScale=function(){var t=this.getDisplayData().datasets[0];if(t.fillColors)this.colorScale=Wd().range(t.fillColors).domain(this.allDataLabels);else{var e=xd;this.colorScale=Wd().range(e).domain(this.allDataLabels)}},e.prototype.getFillColor=function(t){var e=this.getOptions();return e.getFillColor?e.getFillColor(t):this.getFillScale()(t)},e.prototype.getStrokeColor=function(t){var e=this.getOptions();return e.getStrokeColor?e.getStrokeColor(t):this.colorScale(t)},e}(__),ZO=function(t){function e(e,n,r){void 0===r&&(r=!1);var i=t.call(this,e,n)||this;return i.model=new $O(i.services),r?i:(i.model.setOptions(Ap.merge(Ap.clone(Zp.pieChart),n.options)),i.init(e,n),i)}return h(e,t),e.prototype.getComponents=function(){var t=[new rO(this.model,this.services)],e=this.getChartComponents(t);return e.push(new Xw(this.model,this.services)),e},e}(GO),KO=function(t){function e(e,n){var r=t.call(this,e,n,!0)||this;return r.model.setOptions(Ap.merge(Ap.clone(Zp.donutChart),n.options)),r.init(e,n),r}return h(e,t),e.prototype.getComponents=function(){var t=[new iO(this.model,this.services)],e=this.getChartComponents(t);return e.push(new Xw(this.model,this.services)),e},e}(ZO),JO=xd;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("2c53"), __webpack_require__("0b74")(module)))
/***/ }),
/***/ "3d85":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("a124")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "402c":
/***/ (function(module, exports, __webpack_require__) {
var pIE = __webpack_require__("d0e9");
var createDesc = __webpack_require__("ad8d");
var toIObject = __webpack_require__("0b04");
var toPrimitive = __webpack_require__("78d3");
var has = __webpack_require__("25a6");
var IE8_DOM_DEFINE = __webpack_require__("cd30");
var gOPD = Object.getOwnPropertyDescriptor;
exports.f = __webpack_require__("3d85") ? gOPD : function getOwnPropertyDescriptor(O, P) {
O = toIObject(O);
P = toPrimitive(P, true);
if (IE8_DOM_DEFINE) try {
return gOPD(O, P);
} catch (e) { /* empty */ }
if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
};
/***/ }),
/***/ "4823":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// ECMAScript 6 symbols shim
var global = __webpack_require__("0e8c");
var has = __webpack_require__("25a6");
var DESCRIPTORS = __webpack_require__("3d85");
var $export = __webpack_require__("ef37");
var redefine = __webpack_require__("e385");
var META = __webpack_require__("054c").KEY;
var $fails = __webpack_require__("a124");
var shared = __webpack_require__("3460");
var setToStringTag = __webpack_require__("0e85");
var uid = __webpack_require__("f455");
var wks = __webpack_require__("d951");
var wksExt = __webpack_require__("b6ac");
var wksDefine = __webpack_require__("36f8");
var enumKeys = __webpack_require__("ffaf");
var isArray = __webpack_require__("4cf2");
var anObject = __webpack_require__("8c7e");
var isObject = __webpack_require__("194e");
var toObject = __webpack_require__("79c1");
var toIObject = __webpack_require__("0b04");
var toPrimitive = __webpack_require__("78d3");
var createDesc = __webpack_require__("ad8d");
var _create = __webpack_require__("bec8");
var gOPNExt = __webpack_require__("2866");
var $GOPD = __webpack_require__("402c");
var $GOPS = __webpack_require__("8109");
var $DP = __webpack_require__("6f0d");
var $keys = __webpack_require__("8996");
var gOPD = $GOPD.f;
var dP = $DP.f;
var gOPN = gOPNExt.f;
var $Symbol = global.Symbol;
var $JSON = global.JSON;
var _stringify = $JSON && $JSON.stringify;
var PROTOTYPE = 'prototype';
var HIDDEN = wks('_hidden');
var TO_PRIMITIVE = wks('toPrimitive');
var isEnum = {}.propertyIsEnumerable;
var SymbolRegistry = shared('symbol-registry');
var AllSymbols = shared('symbols');
var OPSymbols = shared('op-symbols');
var ObjectProto = Object[PROTOTYPE];
var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
var QObject = global.QObject;
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
var setSymbolDesc = DESCRIPTORS && $fails(function () {
return _create(dP({}, 'a', {
get: function () { return dP(this, 'a', { value: 7 }).a; }
})).a != 7;
}) ? function (it, key, D) {
var protoDesc = gOPD(ObjectProto, key);
if (protoDesc) delete ObjectProto[key];
dP(it, key, D);
if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
} : dP;
var wrap = function (tag) {
var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
sym._k = tag;
return sym;
};
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
return typeof it == 'symbol';
} : function (it) {
return it instanceof $Symbol;
};
var $defineProperty = function defineProperty(it, key, D) {
if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
anObject(it);
key = toPrimitive(key, true);
anObject(D);
if (has(AllSymbols, key)) {
if (!D.enumerable) {
if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
it[HIDDEN][key] = true;
} else {
if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
D = _create(D, { enumerable: createDesc(0, false) });
} return setSymbolDesc(it, key, D);
} return dP(it, key, D);
};
var $defineProperties = function defineProperties(it, P) {
anObject(it);
var keys = enumKeys(P = toIObject(P));
var i = 0;
var l = keys.length;
var key;
while (l > i) $defineProperty(it, key = keys[i++], P[key]);
return it;
};
var $create = function create(it, P) {
return P === undefined ? _create(it) : $defineProperties(_create(it), P);
};
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
var E = isEnum.call(this, key = toPrimitive(key, true));
if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
};
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
it = toIObject(it);
key = toPrimitive(key, true);
if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
var D = gOPD(it, key);
if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
return D;
};
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
var names = gOPN(toIObject(it));
var result = [];
var i = 0;
var key;
while (names.length > i) {
if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
} return result;
};
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
var IS_OP = it === ObjectProto;
var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
var result = [];
var i = 0;
var key;
while (names.length > i) {
if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
} return result;
};
// 19.4.1.1 Symbol([description])
if (!USE_NATIVE) {
$Symbol = function Symbol() {
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
var $set = function (value) {
if (this === ObjectProto) $set.call(OPSymbols, value);
if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
setSymbolDesc(this, tag, createDesc(1, value));
};
if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
return wrap(tag);
};
redefine($Symbol[PROTOTYPE], 'toString', function toString() {
return this._k;
});
$GOPD.f = $getOwnPropertyDescriptor;
$DP.f = $defineProperty;
__webpack_require__("c74b").f = gOPNExt.f = $getOwnPropertyNames;
__webpack_require__("d0e9").f = $propertyIsEnumerable;
$GOPS.f = $getOwnPropertySymbols;
if (DESCRIPTORS && !__webpack_require__("742f")) {
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
}
wksExt.f = function (name) {
return wrap(wks(name));
};
}
$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
for (var es6Symbols = (
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
// 19.4.2.1 Symbol.for(key)
'for': function (key) {
return has(SymbolRegistry, key += '')
? SymbolRegistry[key]
: SymbolRegistry[key] = $Symbol(key);
},
// 19.4.2.5 Symbol.keyFor(sym)
keyFor: function keyFor(sym) {
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
},
useSetter: function () { setter = true; },
useSimple: function () { setter = false; }
});
$export($export.S + $export.F * !USE_NATIVE, 'Object', {
// 19.1.2.2 Object.create(O [, Properties])
create: $create,
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
defineProperty: $defineProperty,
// 19.1.2.3 Object.defineProperties(O, Properties)
defineProperties: $defineProperties,
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
// 19.1.2.7 Object.getOwnPropertyNames(O)
getOwnPropertyNames: $getOwnPropertyNames,
// 19.1.2.8 Object.getOwnPropertySymbols(O)
getOwnPropertySymbols: $getOwnPropertySymbols
});
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
return $GOPS.f(toObject(it));
}
});
// 24.3.2 JSON.stringify(value [, replacer [, space]])
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
var S = $Symbol();
// MS Edge converts symbol values to JSON as {}
// WebKit converts symbol values to JSON as null
// V8 throws on boxed symbols
return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
})), 'JSON', {
stringify: function stringify(it) {
var args = [it];
var i = 1;
var replacer, $replacer;
while (arguments.length > i) args.push(arguments[i++]);
$replacer = replacer = args[1];
if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
if (!isArray(replacer)) replacer = function (key, value) {
if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
if (!isSymbol(value)) return value;
};
args[1] = replacer;
return _stringify.apply($JSON, args);
}
});
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__("bafe")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
// 19.4.3.5 Symbol.prototype[@@toStringTag]
setToStringTag($Symbol, 'Symbol');
// 20.2.1.9 Math[@@toStringTag]
setToStringTag(Math, 'Math', true);
// 24.3.3 JSON[@@toStringTag]
setToStringTag(global.JSON, 'JSON', true);
/***/ }),
/***/ "4cf2":
/***/ (function(module, exports, __webpack_require__) {
// 7.2.2 IsArray(argument)
var cof = __webpack_require__("b735");
module.exports = Array.isArray || function isArray(arg) {
return cof(arg) == 'Array';
};
/***/ }),
/***/ "4f72":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// https://github.com/tc39/Array.prototype.includes
var $export = __webpack_require__("ef37");
var $includes = __webpack_require__("af6b")(true);
$export($export.P, 'Array', {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
});
__webpack_require__("96ba")('includes');
/***/ }),
/***/ "50cc":
/***/ (function(module, exports, __webpack_require__) {
var document = __webpack_require__("0e8c").document;
module.exports = document && document.documentElement;
/***/ }),
/***/ "5c50":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.9' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "5e32":
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__("36f8")('asyncIterator');
/***/ }),
/***/ "6ccd":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("6f0d");
var anObject = __webpack_require__("8c7e");
var getKeys = __webpack_require__("8996");
module.exports = __webpack_require__("3d85") ? Object.defineProperties : function defineProperties(O, Properties) {
anObject(O);
var keys = getKeys(Properties);
var length = keys.length;
var i = 0;
var P;
while (length > i) dP.f(O, P = keys[i++], Properties[P]);
return O;
};
/***/ }),
/***/ "6f0d":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("8c7e");
var IE8_DOM_DEFINE = __webpack_require__("cd30");
var toPrimitive = __webpack_require__("78d3");
var dP = Object.defineProperty;
exports.f = __webpack_require__("3d85") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "742f":
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ "78d3":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("194e");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ }),
/***/ "79c1":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.13 ToObject(argument)
var defined = __webpack_require__("c8ae");
module.exports = function (it) {
return Object(defined(it));
};
/***/ }),
/***/ "8109":
/***/ (function(module, exports) {
exports.f = Object.getOwnPropertySymbols;
/***/ }),
/***/ "8222":
/***/ (function(module, exports, __webpack_require__) {
var MATCH = __webpack_require__("d951")('match');
module.exports = function (KEY) {
var re = /./;
try {
'/./'[KEY](re);
} catch (e) {
try {
re[MATCH] = false;
return !'/./'[KEY](re);
} catch (f) { /* empty */ }
} return true;
};
/***/ }),
/***/ "8996":
/***/ (function(module, exports, __webpack_require__) {
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
var $keys = __webpack_require__("dd61");
var enumBugKeys = __webpack_require__("eaa3");
module.exports = Object.keys || function keys(O) {
return $keys(O, enumBugKeys);
};
/***/ }),
/***/ "8c7e":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("194e");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "904a":
/***/ (function(module, exports, __webpack_require__) {
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
var has = __webpack_require__("25a6");
var toObject = __webpack_require__("79c1");
var IE_PROTO = __webpack_require__("f962")('IE_PROTO');
var ObjectProto = Object.prototype;
module.exports = Object.getPrototypeOf || function (O) {
O = toObject(O);
if (has(O, IE_PROTO)) return O[IE_PROTO];
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
return O.constructor.prototype;
} return O instanceof Object ? ObjectProto : null;
};
/***/ }),
/***/ "96ba":
/***/ (function(module, exports, __webpack_require__) {
// 22.1.3.31 Array.prototype[@@unscopables]
var UNSCOPABLES = __webpack_require__("d951")('unscopables');
var ArrayProto = Array.prototype;
if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("bafe")(ArrayProto, UNSCOPABLES, {});
module.exports = function (key) {
ArrayProto[UNSCOPABLES][key] = true;
};
/***/ }),
/***/ "9b86":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("194e");
var document = __webpack_require__("0e8c").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "9c84":
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__("3460")('native-function-to-string', Function.toString);
/***/ }),
/***/ "9dd3":
/***/ (function(module, exports) {
module.exports = {};
/***/ }),
/***/ "9e61":
/***/ (function(module, exports) {
// 7.1.4 ToInteger
var ceil = Math.ceil;
var floor = Math.floor;
module.exports = function (it) {
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
};
/***/ }),
/***/ "a124":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "ad8d":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "adb3":
/***/ (function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__("9e61");
var max = Math.max;
var min = Math.min;
module.exports = function (index, length) {
index = toInteger(index);
return index < 0 ? max(index + length, 0) : min(index, length);
};
/***/ }),
/***/ "aec0":
/***/ (function(module, exports, __webpack_require__) {
// fallback for non-array-like ES3 and non-enumerable old V8 strings
var cof = __webpack_require__("b735");
// eslint-disable-next-line no-prototype-builtins
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
return cof(it) == 'String' ? it.split('') : Object(it);
};
/***/ }),
/***/ "af6b":
/***/ (function(module, exports, __webpack_require__) {
// false -> Array#indexOf
// true -> Array#includes
var toIObject = __webpack_require__("0b04");
var toLength = __webpack_require__("bb64");
var toAbsoluteIndex = __webpack_require__("adb3");
module.exports = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIObject($this);
var length = toLength(O.length);
var index = toAbsoluteIndex(fromIndex, length);
var value;
// Array#includes uses SameValueZero equality algorithm
// eslint-disable-next-line no-self-compare
if (IS_INCLUDES && el != el) while (length > index) {
value = O[index++];
// eslint-disable-next-line no-self-compare
if (value != value) return true;
// Array#indexOf ignores holes, Array#includes - not
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
if (O[index] === el) return IS_INCLUDES || index || 0;
} return !IS_INCLUDES && -1;
};
};
/***/ }),
/***/ "b6ac":
/***/ (function(module, exports, __webpack_require__) {
exports.f = __webpack_require__("d951");
/***/ }),
/***/ "b735":
/***/ (function(module, exports) {
var toString = {}.toString;
module.exports = function (it) {
return toString.call(it).slice(8, -1);
};
/***/ }),
/***/ "bafe":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("6f0d");
var createDesc = __webpack_require__("ad8d");
module.exports = __webpack_require__("3d85") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "bb64":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.15 ToLength
var toInteger = __webpack_require__("9e61");
var min = Math.min;
module.exports = function (it) {
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
};
/***/ }),
/***/ "bec8":
/***/ (function(module, exports, __webpack_require__) {
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
var anObject = __webpack_require__("8c7e");
var dPs = __webpack_require__("6ccd");
var enumBugKeys = __webpack_require__("eaa3");
var IE_PROTO = __webpack_require__("f962")('IE_PROTO');
var Empty = function () { /* empty */ };
var PROTOTYPE = 'prototype';
// Create object with fake `null` prototype: use iframe Object with cleared prototype
var createDict = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = __webpack_require__("9b86")('iframe');
var i = enumBugKeys.length;
var lt = '<';
var gt = '>';
var iframeDocument;
iframe.style.display = 'none';
__webpack_require__("50cc").appendChild(iframe);
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
// createDict = iframe.contentWindow.Object;
// html.removeChild(iframe);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
iframeDocument.close();
createDict = iframeDocument.F;
while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
return createDict();
};
module.exports = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
Empty[PROTOTYPE] = anObject(O);
result = new Empty();
Empty[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO] = O;
} else result = createDict();
return Properties === undefined ? result : dPs(result, Properties);
};
/***/ }),
/***/ "c74b":
/***/ (function(module, exports, __webpack_require__) {
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
var $keys = __webpack_require__("dd61");
var hiddenKeys = __webpack_require__("eaa3").concat('length', 'prototype');
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return $keys(O, hiddenKeys);
};
/***/ }),
/***/ "c880":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("6f0d").f;
var FProto = Function.prototype;
var nameRE = /^\s*function ([^ (]*)/;
var NAME = 'name';
// 19.2.4.2 name
NAME in FProto || __webpack_require__("3d85") && dP(FProto, NAME, {
configurable: true,
get: function () {
try {
return ('' + this).match(nameRE)[1];
} catch (e) {
return '';
}
}
});
/***/ }),
/***/ "c8ae":
/***/ (function(module, exports) {
// 7.2.1 RequireObjectCoercible(argument)
module.exports = function (it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};
/***/ }),
/***/ "cd30":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("3d85") && !__webpack_require__("a124")(function () {
return Object.defineProperty(__webpack_require__("9b86")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "d0e9":
/***/ (function(module, exports) {
exports.f = {}.propertyIsEnumerable;
/***/ }),
/***/ "d3d5":
/***/ (function(module, exports) {
module.exports = function (it) {
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
return it;
};
/***/ }),
/***/ "d951":
/***/ (function(module, exports, __webpack_require__) {
var store = __webpack_require__("3460")('wks');
var uid = __webpack_require__("f455");
var Symbol = __webpack_require__("0e8c").Symbol;
var USE_SYMBOL = typeof Symbol == 'function';
var $exports = module.exports = function (name) {
return store[name] || (store[name] =
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
};
$exports.store = store;
/***/ }),
/***/ "dafe":
/***/ (function(module, exports, __webpack_require__) {
// helper for String#{startsWith, endsWith, includes}
var isRegExp = __webpack_require__("eb58");
var defined = __webpack_require__("c8ae");
module.exports = function (that, searchString, NAME) {
if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
return String(defined(that));
};
/***/ }),
/***/ "dcce":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var LIBRARY = __webpack_require__("742f");
var $export = __webpack_require__("ef37");
var redefine = __webpack_require__("e385");
var hide = __webpack_require__("bafe");
var Iterators = __webpack_require__("9dd3");
var $iterCreate = __webpack_require__("3bd0");
var setToStringTag = __webpack_require__("0e85");
var getPrototypeOf = __webpack_require__("904a");
var ITERATOR = __webpack_require__("d951")('iterator');
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
var FF_ITERATOR = '@@iterator';
var KEYS = 'keys';
var VALUES = 'values';
var returnThis = function () { return this; };
module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
$iterCreate(Constructor, NAME, next);
var getMethod = function (kind) {
if (!BUGGY && kind in proto) return proto[kind];
switch (kind) {
case KEYS: return function keys() { return new Constructor(this, kind); };
case VALUES: return function values() { return new Constructor(this, kind); };
} return function entries() { return new Constructor(this, kind); };
};
var TAG = NAME + ' Iterator';
var DEF_VALUES = DEFAULT == VALUES;
var VALUES_BUG = false;
var proto = Base.prototype;
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
var $default = $native || getMethod(DEFAULT);
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
var methods, key, IteratorPrototype;
// Fix native
if ($anyNative) {
IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
// Set @@toStringTag to native iterators
setToStringTag(IteratorPrototype, TAG, true);
// fix for some old engines
if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
}
}
// fix Array#{values, @@iterator}.name in V8 / FF
if (DEF_VALUES && $native && $native.name !== VALUES) {
VALUES_BUG = true;
$default = function values() { return $native.call(this); };
}
// Define iterator
if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
hide(proto, ITERATOR, $default);
}
// Plug for library
Iterators[NAME] = $default;
Iterators[TAG] = returnThis;
if (DEFAULT) {
methods = {
values: DEF_VALUES ? $default : getMethod(VALUES),
keys: IS_SET ? $default : getMethod(KEYS),
entries: $entries
};
if (FORCED) for (key in methods) {
if (!(key in proto)) redefine(proto, key, methods[key]);
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
}
return methods;
};
/***/ }),
/***/ "dd61":
/***/ (function(module, exports, __webpack_require__) {
var has = __webpack_require__("25a6");
var toIObject = __webpack_require__("0b04");
var arrayIndexOf = __webpack_require__("af6b")(false);
var IE_PROTO = __webpack_require__("f962")('IE_PROTO');
module.exports = function (object, names) {
var O = toIObject(object);
var i = 0;
var result = [];
var key;
for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
// Don't enum bug & hidden keys
while (names.length > i) if (has(O, key = names[i++])) {
~arrayIndexOf(result, key) || result.push(key);
}
return result;
};
/***/ }),
/***/ "dde3":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var addToUnscopables = __webpack_require__("96ba");
var step = __webpack_require__("2d2d");
var Iterators = __webpack_require__("9dd3");
var toIObject = __webpack_require__("0b04");
// 22.1.3.4 Array.prototype.entries()
// 22.1.3.13 Array.prototype.keys()
// 22.1.3.29 Array.prototype.values()
// 22.1.3.30 Array.prototype[@@iterator]()
module.exports = __webpack_require__("dcce")(Array, 'Array', function (iterated, kind) {
this._t = toIObject(iterated); // target
this._i = 0; // next index
this._k = kind; // kind
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
}, function () {
var O = this._t;
var kind = this._k;
var index = this._i++;
if (!O || index >= O.length) {
this._t = undefined;
return step(1);
}
if (kind == 'keys') return step(0, index);
if (kind == 'values') return step(0, O[index]);
return step(0, [index, O[index]]);
}, 'values');
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
Iterators.Arguments = Iterators.Array;
addToUnscopables('keys');
addToUnscopables('values');
addToUnscopables('entries');
/***/ }),
/***/ "e385":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("0e8c");
var hide = __webpack_require__("bafe");
var has = __webpack_require__("25a6");
var SRC = __webpack_require__("f455")('src');
var $toString = __webpack_require__("9c84");
var TO_STRING = 'toString';
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("5c50").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "eaa3":
/***/ (function(module, exports) {
// IE 8- don't enum bug keys
module.exports = (
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
).split(',');
/***/ }),
/***/ "eb58":
/***/ (function(module, exports, __webpack_require__) {
// 7.2.8 IsRegExp(argument)
var isObject = __webpack_require__("194e");
var cof = __webpack_require__("b735");
var MATCH = __webpack_require__("d951")('match');
module.exports = function (it) {
var isRegExp;
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
};
/***/ }),
/***/ "ef37":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("0e8c");
var core = __webpack_require__("5c50");
var hide = __webpack_require__("bafe");
var redefine = __webpack_require__("e385");
var ctx = __webpack_require__("124c");
var PROTOTYPE = 'prototype';
var $export = function (type, name, source) {
var IS_FORCED = type & $export.F;
var IS_GLOBAL = type & $export.G;
var IS_STATIC = type & $export.S;
var IS_PROTO = type & $export.P;
var IS_BIND = type & $export.B;
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
var key, own, out, exp;
if (IS_GLOBAL) source = name;
for (key in source) {
// contains in native
own = !IS_FORCED && target && target[key] !== undefined;
// export native or passed
out = (own ? target : source)[key];
// bind timers to global for call from export context
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
// extend global
if (target) redefine(target, key, out, type & $export.U);
// export
if (exports[key] != out) hide(exports, key, exp);
if (IS_PROTO && expProto[key] != out) expProto[key] = out;
}
};
global.core = core;
// type bitmap
$export.F = 1; // forced
$export.G = 2; // global
$export.S = 4; // static
$export.P = 8; // proto
$export.B = 16; // bind
$export.W = 32; // wrap
$export.U = 64; // safe
$export.R = 128; // real proto method for `library`
module.exports = $export;
/***/ }),
/***/ "f455":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "f962":
/***/ (function(module, exports, __webpack_require__) {
var shared = __webpack_require__("3460")('keys');
var uid = __webpack_require__("f455");
module.exports = function (key) {
return shared[key] || (shared[key] = uid(key));
};
/***/ }),
/***/ "ffaf":
/***/ (function(module, exports, __webpack_require__) {
// all enumerable object keys, includes symbols
var getKeys = __webpack_require__("8996");
var gOPS = __webpack_require__("8109");
var pIE = __webpack_require__("d0e9");
module.exports = function (it) {
var result = getKeys(it);
var getSymbols = gOPS.f;
if (getSymbols) {
var symbols = getSymbols(it);
var isEnum = pIE.f;
var i = 0;
var key;
while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
} return result;
};
/***/ })
/******/ });
//# sourceMappingURL=charts-vue.common.js.map