@spaziodati/atoka-design-system 2.1.2 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/AddableItems/index.js +145 -141
  2. package/AddableItems/index.js.map +1 -1
  3. package/Alert/index.js +6 -4
  4. package/Alert/index.js.map +1 -1
  5. package/Badge/index.js +4 -4
  6. package/Badge/index.js.map +1 -1
  7. package/Bs4V3Wrapper/index.js +6 -4
  8. package/Bs4V3Wrapper/index.js.map +1 -1
  9. package/BubbleChart/index.js +1729 -2098
  10. package/BubbleChart/index.js.map +1 -1
  11. package/Button/Button.storiesConfig.d.ts +0 -10
  12. package/Button/index.js +9 -7
  13. package/Button/index.js.map +1 -1
  14. package/ButtonDropdown/index.js +131 -133
  15. package/ButtonDropdown/index.js.map +1 -1
  16. package/CardsPage/index.js +227 -233
  17. package/CardsPage/index.js.map +1 -1
  18. package/CursorPagination/index.js +132 -136
  19. package/CursorPagination/index.js.map +1 -1
  20. package/DatePicker/index.js +123 -126
  21. package/DatePicker/index.js.map +1 -1
  22. package/DetailPage/index.js +1353 -1429
  23. package/DetailPage/index.js.map +1 -1
  24. package/Dropdown/index.js +133 -133
  25. package/Dropdown/index.js.map +1 -1
  26. package/EditableString/index.js +2400 -2483
  27. package/EditableString/index.js.map +1 -1
  28. package/EllipsableContent/index.js +14 -12
  29. package/EllipsableContent/index.js.map +1 -1
  30. package/EmptyState/index.js +6 -4
  31. package/EmptyState/index.js.map +1 -1
  32. package/Facet/index.js +149 -144
  33. package/Facet/index.js.map +1 -1
  34. package/FacetSection/index.js +15 -11
  35. package/FacetSection/index.js.map +1 -1
  36. package/FadeAnimation/index.js +660 -731
  37. package/FadeAnimation/index.js.map +1 -1
  38. package/FeedbackButton/index.js +10 -8
  39. package/FeedbackButton/index.js.map +1 -1
  40. package/Form/index.js +7 -7
  41. package/Form/index.js.map +1 -1
  42. package/Funnel/index.js +2854 -3227
  43. package/Funnel/index.js.map +1 -1
  44. package/GridCard/index.js +162 -154
  45. package/GridCard/index.js.map +1 -1
  46. package/HighlightableText/index.js +138 -137
  47. package/HighlightableText/index.js.map +1 -1
  48. package/Histogram/index.js +1168 -1180
  49. package/Histogram/index.js.map +1 -1
  50. package/InlineStringEditor/index.js +183 -203
  51. package/InlineStringEditor/index.js.map +1 -1
  52. package/InputGroup/index.js +3 -3
  53. package/InputGroup/index.js.map +1 -1
  54. package/Jumbotron/index.js +7 -5
  55. package/Jumbotron/index.js.map +1 -1
  56. package/Map/Map.d.ts +3 -3
  57. package/Map/Types.d.ts +2 -2
  58. package/Map/index.js +4200 -3823
  59. package/Map/index.js.map +1 -1
  60. package/Modal/index.js +12 -10
  61. package/Modal/index.js.map +1 -1
  62. package/Navbar/index.js +2426 -2517
  63. package/Navbar/index.js.map +1 -1
  64. package/Pagination/index.js +132 -136
  65. package/Pagination/index.js.map +1 -1
  66. package/PieChart/index.js +204 -219
  67. package/PieChart/index.js.map +1 -1
  68. package/PublicFooter/index.js +14 -10
  69. package/PublicFooter/index.js.map +1 -1
  70. package/PublicNavbar/index.js +6 -4
  71. package/PublicNavbar/index.js.map +1 -1
  72. package/README.md +5 -2
  73. package/RecordBit/index.js +15 -11
  74. package/RecordBit/index.js.map +1 -1
  75. package/ResultItemCard/index.js +25 -19
  76. package/ResultItemCard/index.js.map +1 -1
  77. package/SelectDropdown/index.js +171 -185
  78. package/SelectDropdown/index.js.map +1 -1
  79. package/Spinner/index.js +6 -4
  80. package/Spinner/index.js.map +1 -1
  81. package/StatisticsItemCard/index.js +170 -160
  82. package/StatisticsItemCard/index.js.map +1 -1
  83. package/StatisticsItemNumeric/index.js +6 -4
  84. package/StatisticsItemNumeric/index.js.map +1 -1
  85. package/StatisticsLegend/index.js +173 -189
  86. package/StatisticsLegend/index.js.map +1 -1
  87. package/StatisticsTooltip/index.js +15 -15
  88. package/StatisticsTooltip/index.js.map +1 -1
  89. package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +1 -1
  90. package/Suggester/index.js +160 -160
  91. package/Suggester/index.js.map +1 -1
  92. package/SunBurst/index.js +140 -144
  93. package/SunBurst/index.js.map +1 -1
  94. package/TabSwitcher/index.js +144 -144
  95. package/TabSwitcher/index.js.map +1 -1
  96. package/Title/index.js +8 -6
  97. package/Title/index.js.map +1 -1
  98. package/Toasts/Toast.d.ts +41 -0
  99. package/Toasts/ToastContainer.d.ts +4 -0
  100. package/Toasts/ToastHeader.d.ts +7 -0
  101. package/Toasts/index.d.ts +2 -0
  102. package/Toasts/index.js +2285 -0
  103. package/Toasts/index.js.map +1 -0
  104. package/ToggleButtonGroup/index.js +128 -130
  105. package/ToggleButtonGroup/index.js.map +1 -1
  106. package/Tooltip/index.js +3 -3
  107. package/Tooltip/index.js.map +1 -1
  108. package/Utils/index.js +1049 -1426
  109. package/Utils/index.js.map +1 -1
  110. package/{atoka-design-system-2.1.2.min.css → atoka-design-system-2.1.5.min.css} +1 -1
  111. package/index.d.ts +1 -0
  112. package/index.js +13126 -11649
  113. package/index.js.map +1 -1
  114. package/package.json +48 -40
  115. package/styles/atoka-bs.less +1 -1
  116. package/styles/variant-mixins.less +7 -7
@@ -9,199 +9,686 @@
9
9
  root["atoka-design-system"] = factory(root["@fortawesome/pro-light-svg-icons/faEmptySet"], root["@fortawesome/react-fontawesome"], root["@nivo/bar"], root["@nivo/tooltip"], root["classnames"], root["react"], root["react-bootstrap/Form"], root["react-bootstrap/FormControl"], root["react-bootstrap/FormText"]);
10
10
  })(self, function(__WEBPACK_EXTERNAL_MODULE__3402__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__2895__, __WEBPACK_EXTERNAL_MODULE__5521__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 5385:
15
+ /***/ 6627:
15
16
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
17
 
17
- "use strict";
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "MR": () => (/* binding */ boundMethod)
20
+ /* harmony export */ });
21
+ /* unused harmony exports boundClass, default */
22
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
18
23
 
19
- // EXPORTS
20
- __webpack_require__.d(__webpack_exports__, {
21
- "EmptyState": () => (/* reexport */ EmptyState)
22
- });
23
24
 
24
- // EXTERNAL MODULE: external "react"
25
- var external_react_ = __webpack_require__(8156);
26
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
27
- // EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
28
- var react_fontawesome_ = __webpack_require__(5692);
29
- // EXTERNAL MODULE: external "@fortawesome/pro-light-svg-icons/faEmptySet"
30
- var faEmptySet_ = __webpack_require__(3402);
31
- // EXTERNAL MODULE: external "classnames"
32
- var external_classnames_ = __webpack_require__(8310);
33
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
34
- ;// CONCATENATED MODULE: ./src/components/EmptyState/EmptyState.tsx
35
- var __extends = (undefined && undefined.__extends) || (function () {
36
- var extendStatics = function (d, b) {
37
- extendStatics = Object.setPrototypeOf ||
38
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
39
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
40
- return extendStatics(d, b);
25
+ function _typeof(obj) {
26
+ if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
27
+ _typeof = function _typeof(obj) {
28
+ return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
41
29
  };
42
- return function (d, b) {
43
- extendStatics(d, b);
44
- function __() { this.constructor = d; }
45
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30
+ } else {
31
+ _typeof = function _typeof(obj) {
32
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
46
33
  };
47
- })();
48
-
49
-
50
-
51
-
34
+ }
52
35
 
36
+ return _typeof(obj);
37
+ }
53
38
  /**
54
- * ### Overview
55
- *
56
- * An empty state is a predominant element the user sees on a page where there is nothing to display.
39
+ * Return a descriptor removing the value and returning a getter
40
+ * The getter will return a .bind version of the function
41
+ * and memoize the result against a symbol on the instance
57
42
  */
58
- var EmptyState = /** @class */ (function (_super) {
59
- __extends(EmptyState, _super);
60
- function EmptyState() {
61
- return _super !== null && _super.apply(this, arguments) || this;
62
- }
63
- EmptyState.prototype.render = function () {
64
- return (external_react_default().createElement("div", { className: external_classnames_default()('atoka-empty-state', this.props.className) },
65
- external_react_default().createElement("div", { className: 'mb-2' },
66
- external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: faEmptySet_.faEmptySet })),
67
- this.props.children));
68
- };
69
- EmptyState.displayName = 'EmptyState';
70
- return EmptyState;
71
- }((external_react_default()).PureComponent));
72
-
73
-
74
- ;// CONCATENATED MODULE: ./src/components/EmptyState/index.ts
75
-
76
-
77
-
78
- /***/ }),
79
43
 
80
- /***/ 9316:
81
- /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
82
-
83
- "use strict";
84
-
85
- // UNUSED EXPORTS: Form
86
-
87
- // EXTERNAL MODULE: external "react"
88
- var external_react_ = __webpack_require__(8156);
89
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
90
- // EXTERNAL MODULE: external "classnames"
91
- var external_classnames_ = __webpack_require__(8310);
92
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
93
- // EXTERNAL MODULE: external "react-bootstrap/Form"
94
- var Form_ = __webpack_require__(8721);
95
- var Form_default = /*#__PURE__*/__webpack_require__.n(Form_);
96
- ;// CONCATENATED MODULE: ./src/components/Form/FormLabel.tsx
97
44
 
45
+ function boundMethod(target, key, descriptor) {
46
+ var fn = descriptor.value;
98
47
 
48
+ if (typeof fn !== 'function') {
49
+ throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
50
+ } // In IE11 calling Object.defineProperty has a side-effect of evaluating the
51
+ // getter for the property which is being replaced. This causes infinite
52
+ // recursion and an "Out of stack space" error.
99
53
 
100
54
 
101
- var FormLabel = external_react_default().memo(function (props) {
102
- var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-label');
103
- return external_react_default().createElement((Form_default()).Label, { className: className }, props.children);
104
- });
105
- FormLabel.displayName = 'FormLabel';
55
+ var definingProperty = false;
56
+ return {
57
+ configurable: true,
58
+ get: function get() {
59
+ // eslint-disable-next-line no-prototype-builtins
60
+ if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
61
+ return fn;
62
+ }
106
63
 
107
- // EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
108
- var FormControl = __webpack_require__(3422);
109
- ;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
110
- var __assign = (undefined && undefined.__assign) || function () {
111
- __assign = Object.assign || function(t) {
112
- for (var s, i = 1, n = arguments.length; i < n; i++) {
113
- s = arguments[i];
114
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
115
- t[p] = s[p];
64
+ var boundFn = fn.bind(this);
65
+ definingProperty = true;
66
+ Object.defineProperty(this, key, {
67
+ configurable: true,
68
+ get: function get() {
69
+ return boundFn;
70
+ },
71
+ set: function set(value) {
72
+ fn = value;
73
+ delete this[key];
116
74
  }
117
- return t;
118
- };
119
- return __assign.apply(this, arguments);
120
- };
121
-
122
-
123
-
75
+ });
76
+ definingProperty = false;
77
+ return boundFn;
78
+ },
79
+ set: function set(value) {
80
+ fn = value;
81
+ }
82
+ };
83
+ }
84
+ /**
85
+ * Use boundMethod to bind all methods on the target.prototype
86
+ */
124
87
 
125
- var FormCheckbox = function (props) {
126
- var _a;
127
- var className = external_classnames_default()('atoka-form-checkbox', props === null || props === void 0 ? void 0 : props.className);
128
- return external_react_default().createElement((Form_default()).Check, __assign({ type: 'checkbox' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
129
- };
130
- FormCheckbox.displayName = 'FormCheckbox';
88
+ function boundClass(target) {
89
+ // (Using reflect to get all keys including symbols)
90
+ var keys; // Use Reflect if exists
131
91
 
132
- ;// CONCATENATED MODULE: ./src/components/Form/FormRadio.tsx
133
- var FormRadio_assign = (undefined && undefined.__assign) || function () {
134
- FormRadio_assign = Object.assign || function(t) {
135
- for (var s, i = 1, n = arguments.length; i < n; i++) {
136
- s = arguments[i];
137
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
138
- t[p] = s[p];
139
- }
140
- return t;
141
- };
142
- return FormRadio_assign.apply(this, arguments);
143
- };
92
+ if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
93
+ keys = Reflect.ownKeys(target.prototype);
94
+ } else {
95
+ keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
144
96
 
97
+ if (typeof Object.getOwnPropertySymbols === 'function') {
98
+ keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
99
+ }
100
+ }
145
101
 
102
+ keys.forEach(function (key) {
103
+ // Ignore special case target method
104
+ if (key === 'constructor') {
105
+ return;
106
+ }
146
107
 
108
+ var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
147
109
 
148
- var FormRadio = function (props) {
149
- var _a;
150
- var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-radio');
151
- return external_react_default().createElement((Form_default()).Check, FormRadio_assign({ type: 'radio' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
152
- };
153
- FormRadio.displayName = 'FormRadio';
110
+ if (typeof descriptor.value === 'function') {
111
+ Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
112
+ }
113
+ });
114
+ return target;
115
+ }
116
+ function autobind() {
117
+ if (arguments.length === 1) {
118
+ return boundClass.apply(void 0, arguments);
119
+ }
154
120
 
155
- // EXTERNAL MODULE: external "react-bootstrap/FormText"
156
- var FormText_ = __webpack_require__(8763);
157
- var FormText_default = /*#__PURE__*/__webpack_require__.n(FormText_);
158
- ;// CONCATENATED MODULE: ./src/components/Form/FormHelp.tsx
159
- var __rest = (undefined && undefined.__rest) || function (s, e) {
160
- var t = {};
161
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
162
- t[p] = s[p];
163
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
164
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
165
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
166
- t[p[i]] = s[p[i]];
167
- }
168
- return t;
169
- };
121
+ return boundMethod.apply(void 0, arguments);
122
+ }
170
123
 
124
+ /***/ }),
171
125
 
126
+ /***/ 2766:
127
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
172
128
 
173
129
 
174
- var FormHelp = external_react_default().memo(function (_a) {
175
- var children = _a.children, props = __rest(_a, ["children"]);
176
- var className = external_classnames_default()('d-block', props === null || props === void 0 ? void 0 : props.className);
177
- return (external_react_default().createElement((FormText_default()), { bsPrefix: 'atoka-form-help', className: className }, children));
130
+ // EXPORTS
131
+ __webpack_require__.d(__webpack_exports__, {
132
+ "ZP": () => (/* binding */ color)
178
133
  });
179
- FormHelp.displayName = 'FormHelp';
180
-
181
- ;// CONCATENATED MODULE: ./src/components/Form/Form.tsx
182
- var Form_assign = (undefined && undefined.__assign) || function () {
183
- Form_assign = Object.assign || function(t) {
184
- for (var s, i = 1, n = arguments.length; i < n; i++) {
185
- s = arguments[i];
186
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
187
- t[p] = s[p];
188
- }
189
- return t;
190
- };
191
- return Form_assign.apply(this, arguments);
192
- };
193
134
 
135
+ // UNUSED EXPORTS: Color, Rgb, brighter, darker, hsl, hslConvert, rgb, rgbConvert
194
136
 
137
+ ;// CONCATENATED MODULE: ./node_modules/d3-color/src/define.js
138
+ /* harmony default export */ function src_define(constructor, factory, prototype) {
139
+ constructor.prototype = factory.prototype = prototype;
140
+ prototype.constructor = constructor;
141
+ }
142
+ function extend(parent, definition) {
143
+ var prototype = Object.create(parent.prototype);
195
144
 
145
+ for (var key in definition) {
146
+ prototype[key] = definition[key];
147
+ }
196
148
 
149
+ return prototype;
150
+ }
151
+ ;// CONCATENATED MODULE: ./node_modules/d3-color/src/color.js
197
152
 
153
+ function Color() {}
154
+ var _darker = 0.7;
198
155
 
199
156
 
157
+ var _brighter = 1 / _darker;
200
158
 
201
159
 
202
- var Form = function (props) {
203
- var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form');
204
- return (external_react_default().createElement((Form_default()), Form_assign({}, props, { className: className }), props.children));
160
+ var reI = "\\s*([+-]?\\d+)\\s*",
161
+ reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
162
+ reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
163
+ reHex = /^#([0-9a-f]{3,8})$/,
164
+ reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
165
+ reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
166
+ reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
167
+ reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
168
+ reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
169
+ reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
170
+ var named = {
171
+ aliceblue: 0xf0f8ff,
172
+ antiquewhite: 0xfaebd7,
173
+ aqua: 0x00ffff,
174
+ aquamarine: 0x7fffd4,
175
+ azure: 0xf0ffff,
176
+ beige: 0xf5f5dc,
177
+ bisque: 0xffe4c4,
178
+ black: 0x000000,
179
+ blanchedalmond: 0xffebcd,
180
+ blue: 0x0000ff,
181
+ blueviolet: 0x8a2be2,
182
+ brown: 0xa52a2a,
183
+ burlywood: 0xdeb887,
184
+ cadetblue: 0x5f9ea0,
185
+ chartreuse: 0x7fff00,
186
+ chocolate: 0xd2691e,
187
+ coral: 0xff7f50,
188
+ cornflowerblue: 0x6495ed,
189
+ cornsilk: 0xfff8dc,
190
+ crimson: 0xdc143c,
191
+ cyan: 0x00ffff,
192
+ darkblue: 0x00008b,
193
+ darkcyan: 0x008b8b,
194
+ darkgoldenrod: 0xb8860b,
195
+ darkgray: 0xa9a9a9,
196
+ darkgreen: 0x006400,
197
+ darkgrey: 0xa9a9a9,
198
+ darkkhaki: 0xbdb76b,
199
+ darkmagenta: 0x8b008b,
200
+ darkolivegreen: 0x556b2f,
201
+ darkorange: 0xff8c00,
202
+ darkorchid: 0x9932cc,
203
+ darkred: 0x8b0000,
204
+ darksalmon: 0xe9967a,
205
+ darkseagreen: 0x8fbc8f,
206
+ darkslateblue: 0x483d8b,
207
+ darkslategray: 0x2f4f4f,
208
+ darkslategrey: 0x2f4f4f,
209
+ darkturquoise: 0x00ced1,
210
+ darkviolet: 0x9400d3,
211
+ deeppink: 0xff1493,
212
+ deepskyblue: 0x00bfff,
213
+ dimgray: 0x696969,
214
+ dimgrey: 0x696969,
215
+ dodgerblue: 0x1e90ff,
216
+ firebrick: 0xb22222,
217
+ floralwhite: 0xfffaf0,
218
+ forestgreen: 0x228b22,
219
+ fuchsia: 0xff00ff,
220
+ gainsboro: 0xdcdcdc,
221
+ ghostwhite: 0xf8f8ff,
222
+ gold: 0xffd700,
223
+ goldenrod: 0xdaa520,
224
+ gray: 0x808080,
225
+ green: 0x008000,
226
+ greenyellow: 0xadff2f,
227
+ grey: 0x808080,
228
+ honeydew: 0xf0fff0,
229
+ hotpink: 0xff69b4,
230
+ indianred: 0xcd5c5c,
231
+ indigo: 0x4b0082,
232
+ ivory: 0xfffff0,
233
+ khaki: 0xf0e68c,
234
+ lavender: 0xe6e6fa,
235
+ lavenderblush: 0xfff0f5,
236
+ lawngreen: 0x7cfc00,
237
+ lemonchiffon: 0xfffacd,
238
+ lightblue: 0xadd8e6,
239
+ lightcoral: 0xf08080,
240
+ lightcyan: 0xe0ffff,
241
+ lightgoldenrodyellow: 0xfafad2,
242
+ lightgray: 0xd3d3d3,
243
+ lightgreen: 0x90ee90,
244
+ lightgrey: 0xd3d3d3,
245
+ lightpink: 0xffb6c1,
246
+ lightsalmon: 0xffa07a,
247
+ lightseagreen: 0x20b2aa,
248
+ lightskyblue: 0x87cefa,
249
+ lightslategray: 0x778899,
250
+ lightslategrey: 0x778899,
251
+ lightsteelblue: 0xb0c4de,
252
+ lightyellow: 0xffffe0,
253
+ lime: 0x00ff00,
254
+ limegreen: 0x32cd32,
255
+ linen: 0xfaf0e6,
256
+ magenta: 0xff00ff,
257
+ maroon: 0x800000,
258
+ mediumaquamarine: 0x66cdaa,
259
+ mediumblue: 0x0000cd,
260
+ mediumorchid: 0xba55d3,
261
+ mediumpurple: 0x9370db,
262
+ mediumseagreen: 0x3cb371,
263
+ mediumslateblue: 0x7b68ee,
264
+ mediumspringgreen: 0x00fa9a,
265
+ mediumturquoise: 0x48d1cc,
266
+ mediumvioletred: 0xc71585,
267
+ midnightblue: 0x191970,
268
+ mintcream: 0xf5fffa,
269
+ mistyrose: 0xffe4e1,
270
+ moccasin: 0xffe4b5,
271
+ navajowhite: 0xffdead,
272
+ navy: 0x000080,
273
+ oldlace: 0xfdf5e6,
274
+ olive: 0x808000,
275
+ olivedrab: 0x6b8e23,
276
+ orange: 0xffa500,
277
+ orangered: 0xff4500,
278
+ orchid: 0xda70d6,
279
+ palegoldenrod: 0xeee8aa,
280
+ palegreen: 0x98fb98,
281
+ paleturquoise: 0xafeeee,
282
+ palevioletred: 0xdb7093,
283
+ papayawhip: 0xffefd5,
284
+ peachpuff: 0xffdab9,
285
+ peru: 0xcd853f,
286
+ pink: 0xffc0cb,
287
+ plum: 0xdda0dd,
288
+ powderblue: 0xb0e0e6,
289
+ purple: 0x800080,
290
+ rebeccapurple: 0x663399,
291
+ red: 0xff0000,
292
+ rosybrown: 0xbc8f8f,
293
+ royalblue: 0x4169e1,
294
+ saddlebrown: 0x8b4513,
295
+ salmon: 0xfa8072,
296
+ sandybrown: 0xf4a460,
297
+ seagreen: 0x2e8b57,
298
+ seashell: 0xfff5ee,
299
+ sienna: 0xa0522d,
300
+ silver: 0xc0c0c0,
301
+ skyblue: 0x87ceeb,
302
+ slateblue: 0x6a5acd,
303
+ slategray: 0x708090,
304
+ slategrey: 0x708090,
305
+ snow: 0xfffafa,
306
+ springgreen: 0x00ff7f,
307
+ steelblue: 0x4682b4,
308
+ tan: 0xd2b48c,
309
+ teal: 0x008080,
310
+ thistle: 0xd8bfd8,
311
+ tomato: 0xff6347,
312
+ turquoise: 0x40e0d0,
313
+ violet: 0xee82ee,
314
+ wheat: 0xf5deb3,
315
+ white: 0xffffff,
316
+ whitesmoke: 0xf5f5f5,
317
+ yellow: 0xffff00,
318
+ yellowgreen: 0x9acd32
319
+ };
320
+ src_define(Color, color, {
321
+ copy: function copy(channels) {
322
+ return Object.assign(new this.constructor(), this, channels);
323
+ },
324
+ displayable: function displayable() {
325
+ return this.rgb().displayable();
326
+ },
327
+ hex: color_formatHex,
328
+ // Deprecated! Use color.formatHex.
329
+ formatHex: color_formatHex,
330
+ formatHsl: color_formatHsl,
331
+ formatRgb: color_formatRgb,
332
+ toString: color_formatRgb
333
+ });
334
+
335
+ function color_formatHex() {
336
+ return this.rgb().formatHex();
337
+ }
338
+
339
+ function color_formatHsl() {
340
+ return hslConvert(this).formatHsl();
341
+ }
342
+
343
+ function color_formatRgb() {
344
+ return this.rgb().formatRgb();
345
+ }
346
+
347
+ function color(format) {
348
+ var m, l;
349
+ format = (format + "").trim().toLowerCase();
350
+ return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
351
+ : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00
352
+ : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
353
+ : l === 4 ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000
354
+ : null // invalid hex
355
+ ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
356
+ : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
357
+ : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
358
+ : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
359
+ : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
360
+ : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
361
+ : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
362
+ : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
363
+ }
364
+
365
+ function rgbn(n) {
366
+ return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
367
+ }
368
+
369
+ function rgba(r, g, b, a) {
370
+ if (a <= 0) r = g = b = NaN;
371
+ return new Rgb(r, g, b, a);
372
+ }
373
+
374
+ function rgbConvert(o) {
375
+ if (!(o instanceof Color)) o = color(o);
376
+ if (!o) return new Rgb();
377
+ o = o.rgb();
378
+ return new Rgb(o.r, o.g, o.b, o.opacity);
379
+ }
380
+ function rgb(r, g, b, opacity) {
381
+ return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
382
+ }
383
+ function Rgb(r, g, b, opacity) {
384
+ this.r = +r;
385
+ this.g = +g;
386
+ this.b = +b;
387
+ this.opacity = +opacity;
388
+ }
389
+ src_define(Rgb, rgb, extend(Color, {
390
+ brighter: function brighter(k) {
391
+ k = k == null ? _brighter : Math.pow(_brighter, k);
392
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
393
+ },
394
+ darker: function darker(k) {
395
+ k = k == null ? _darker : Math.pow(_darker, k);
396
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
397
+ },
398
+ rgb: function rgb() {
399
+ return this;
400
+ },
401
+ displayable: function displayable() {
402
+ return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
403
+ },
404
+ hex: rgb_formatHex,
405
+ // Deprecated! Use color.formatHex.
406
+ formatHex: rgb_formatHex,
407
+ formatRgb: rgb_formatRgb,
408
+ toString: rgb_formatRgb
409
+ }));
410
+
411
+ function rgb_formatHex() {
412
+ return "#" + hex(this.r) + hex(this.g) + hex(this.b);
413
+ }
414
+
415
+ function rgb_formatRgb() {
416
+ var a = this.opacity;
417
+ a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
418
+ return (a === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? ")" : ", " + a + ")");
419
+ }
420
+
421
+ function hex(value) {
422
+ value = Math.max(0, Math.min(255, Math.round(value) || 0));
423
+ return (value < 16 ? "0" : "") + value.toString(16);
424
+ }
425
+
426
+ function hsla(h, s, l, a) {
427
+ if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;
428
+ return new Hsl(h, s, l, a);
429
+ }
430
+
431
+ function hslConvert(o) {
432
+ if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
433
+ if (!(o instanceof Color)) o = color(o);
434
+ if (!o) return new Hsl();
435
+ if (o instanceof Hsl) return o;
436
+ o = o.rgb();
437
+ var r = o.r / 255,
438
+ g = o.g / 255,
439
+ b = o.b / 255,
440
+ min = Math.min(r, g, b),
441
+ max = Math.max(r, g, b),
442
+ h = NaN,
443
+ s = max - min,
444
+ l = (max + min) / 2;
445
+
446
+ if (s) {
447
+ if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;
448
+ s /= l < 0.5 ? max + min : 2 - max - min;
449
+ h *= 60;
450
+ } else {
451
+ s = l > 0 && l < 1 ? 0 : h;
452
+ }
453
+
454
+ return new Hsl(h, s, l, o.opacity);
455
+ }
456
+ function hsl(h, s, l, opacity) {
457
+ return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
458
+ }
459
+
460
+ function Hsl(h, s, l, opacity) {
461
+ this.h = +h;
462
+ this.s = +s;
463
+ this.l = +l;
464
+ this.opacity = +opacity;
465
+ }
466
+
467
+ src_define(Hsl, hsl, extend(Color, {
468
+ brighter: function brighter(k) {
469
+ k = k == null ? _brighter : Math.pow(_brighter, k);
470
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
471
+ },
472
+ darker: function darker(k) {
473
+ k = k == null ? _darker : Math.pow(_darker, k);
474
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
475
+ },
476
+ rgb: function rgb() {
477
+ var h = this.h % 360 + (this.h < 0) * 360,
478
+ s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
479
+ l = this.l,
480
+ m2 = l + (l < 0.5 ? l : 1 - l) * s,
481
+ m1 = 2 * l - m2;
482
+ return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
483
+ },
484
+ displayable: function displayable() {
485
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
486
+ },
487
+ formatHsl: function formatHsl() {
488
+ var a = this.opacity;
489
+ a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
490
+ return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
491
+ }
492
+ }));
493
+ /* From FvD 13.37, CSS Color Module Level 3 */
494
+
495
+ function hsl2rgb(h, m1, m2) {
496
+ return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
497
+ }
498
+
499
+ /***/ }),
500
+
501
+ /***/ 1469:
502
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
503
+
504
+
505
+ // EXPORTS
506
+ __webpack_require__.d(__webpack_exports__, {
507
+ "EmptyState": () => (/* reexport */ EmptyState)
508
+ });
509
+
510
+ // EXTERNAL MODULE: external "react"
511
+ var external_react_ = __webpack_require__(8156);
512
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
513
+ // EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
514
+ var react_fontawesome_ = __webpack_require__(5692);
515
+ // EXTERNAL MODULE: external "@fortawesome/pro-light-svg-icons/faEmptySet"
516
+ var faEmptySet_ = __webpack_require__(3402);
517
+ // EXTERNAL MODULE: external "classnames"
518
+ var external_classnames_ = __webpack_require__(8310);
519
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
520
+ ;// CONCATENATED MODULE: ./src/components/EmptyState/EmptyState.tsx
521
+ var __extends = (undefined && undefined.__extends) || (function () {
522
+ var extendStatics = function (d, b) {
523
+ extendStatics = Object.setPrototypeOf ||
524
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
525
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
526
+ return extendStatics(d, b);
527
+ };
528
+ return function (d, b) {
529
+ if (typeof b !== "function" && b !== null)
530
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
531
+ extendStatics(d, b);
532
+ function __() { this.constructor = d; }
533
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
534
+ };
535
+ })();
536
+
537
+
538
+
539
+
540
+
541
+ /**
542
+ * ### Overview
543
+ *
544
+ * An empty state is a predominant element the user sees on a page where there is nothing to display.
545
+ */
546
+ var EmptyState = /** @class */ (function (_super) {
547
+ __extends(EmptyState, _super);
548
+ function EmptyState() {
549
+ return _super !== null && _super.apply(this, arguments) || this;
550
+ }
551
+ EmptyState.prototype.render = function () {
552
+ return (external_react_default().createElement("div", { className: external_classnames_default()('atoka-empty-state', this.props.className) },
553
+ external_react_default().createElement("div", { className: 'mb-2' },
554
+ external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: faEmptySet_.faEmptySet })),
555
+ this.props.children));
556
+ };
557
+ EmptyState.displayName = 'EmptyState';
558
+ return EmptyState;
559
+ }((external_react_default()).PureComponent));
560
+
561
+
562
+ ;// CONCATENATED MODULE: ./src/components/EmptyState/index.ts
563
+
564
+
565
+
566
+ /***/ }),
567
+
568
+ /***/ 8352:
569
+ /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
570
+
571
+
572
+ // UNUSED EXPORTS: Form
573
+
574
+ // EXTERNAL MODULE: external "react"
575
+ var external_react_ = __webpack_require__(8156);
576
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
577
+ // EXTERNAL MODULE: external "classnames"
578
+ var external_classnames_ = __webpack_require__(8310);
579
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
580
+ // EXTERNAL MODULE: external "react-bootstrap/Form"
581
+ var Form_ = __webpack_require__(8721);
582
+ var Form_default = /*#__PURE__*/__webpack_require__.n(Form_);
583
+ ;// CONCATENATED MODULE: ./src/components/Form/FormLabel.tsx
584
+
585
+
586
+
587
+
588
+ var FormLabel = external_react_default().memo(function (props) {
589
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-label');
590
+ return external_react_default().createElement((Form_default()).Label, { className: className }, props.children);
591
+ });
592
+ FormLabel.displayName = 'FormLabel';
593
+
594
+ // EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
595
+ var FormControl = __webpack_require__(2048);
596
+ ;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
597
+ var __assign = (undefined && undefined.__assign) || function () {
598
+ __assign = Object.assign || function(t) {
599
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
600
+ s = arguments[i];
601
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
602
+ t[p] = s[p];
603
+ }
604
+ return t;
605
+ };
606
+ return __assign.apply(this, arguments);
607
+ };
608
+
609
+
610
+
611
+
612
+ var FormCheckbox = function (props) {
613
+ var _a;
614
+ var className = external_classnames_default()('atoka-form-checkbox', props === null || props === void 0 ? void 0 : props.className);
615
+ return external_react_default().createElement((Form_default()).Check, __assign({ type: 'checkbox' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
616
+ };
617
+ FormCheckbox.displayName = 'FormCheckbox';
618
+
619
+ ;// CONCATENATED MODULE: ./src/components/Form/FormRadio.tsx
620
+ var FormRadio_assign = (undefined && undefined.__assign) || function () {
621
+ FormRadio_assign = Object.assign || function(t) {
622
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
623
+ s = arguments[i];
624
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
625
+ t[p] = s[p];
626
+ }
627
+ return t;
628
+ };
629
+ return FormRadio_assign.apply(this, arguments);
630
+ };
631
+
632
+
633
+
634
+
635
+ var FormRadio = function (props) {
636
+ var _a;
637
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-radio');
638
+ return external_react_default().createElement((Form_default()).Check, FormRadio_assign({ type: 'radio' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
639
+ };
640
+ FormRadio.displayName = 'FormRadio';
641
+
642
+ // EXTERNAL MODULE: external "react-bootstrap/FormText"
643
+ var FormText_ = __webpack_require__(8763);
644
+ var FormText_default = /*#__PURE__*/__webpack_require__.n(FormText_);
645
+ ;// CONCATENATED MODULE: ./src/components/Form/FormHelp.tsx
646
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
647
+ var t = {};
648
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
649
+ t[p] = s[p];
650
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
651
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
652
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
653
+ t[p[i]] = s[p[i]];
654
+ }
655
+ return t;
656
+ };
657
+
658
+
659
+
660
+
661
+ var FormHelp = external_react_default().memo(function (_a) {
662
+ var children = _a.children, props = __rest(_a, ["children"]);
663
+ var className = external_classnames_default()('d-block', props === null || props === void 0 ? void 0 : props.className);
664
+ return (external_react_default().createElement((FormText_default()), { bsPrefix: 'atoka-form-help', className: className }, children));
665
+ });
666
+ FormHelp.displayName = 'FormHelp';
667
+
668
+ ;// CONCATENATED MODULE: ./src/components/Form/Form.tsx
669
+ var Form_assign = (undefined && undefined.__assign) || function () {
670
+ Form_assign = Object.assign || function(t) {
671
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
672
+ s = arguments[i];
673
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
674
+ t[p] = s[p];
675
+ }
676
+ return t;
677
+ };
678
+ return Form_assign.apply(this, arguments);
679
+ };
680
+
681
+
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+ var Form = function (props) {
690
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form');
691
+ return (external_react_default().createElement((Form_default()), Form_assign({}, props, { className: className }), props.children));
205
692
  };
206
693
  Form.displayName = 'Form';
207
694
  Form.Control = FormControl/* FormControl */.N;
@@ -217,10 +704,9 @@ Form.Group = (Form_default()).Group;
217
704
 
218
705
  /***/ }),
219
706
 
220
- /***/ 3422:
707
+ /***/ 2048:
221
708
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
222
709
 
223
- "use strict";
224
710
 
225
711
  // EXPORTS
226
712
  __webpack_require__.d(__webpack_exports__, {
@@ -295,19 +781,19 @@ FormControl.displayName = 'FormControl';
295
781
 
296
782
  /***/ }),
297
783
 
298
- /***/ 2141:
784
+ /***/ 4950:
299
785
  /***/ (() => {
300
786
 
301
787
  // !!! Many of these types are copied from @nivo/bar and @nivo/core. !!!
302
788
  // !!! When updating nivo, make sure these are updated accordingly !!!
303
789
 
304
790
 
791
+
305
792
  /***/ }),
306
793
 
307
- /***/ 4964:
794
+ /***/ 9825:
308
795
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
309
796
 
310
- "use strict";
311
797
  // ESM COMPAT FLAG
312
798
  __webpack_require__.r(__webpack_exports__);
313
799
 
@@ -341,30 +827,32 @@ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_cl
341
827
  // EXTERNAL MODULE: external "@nivo/tooltip"
342
828
  var tooltip_ = __webpack_require__(5521);
343
829
  // EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
344
- var Utils = __webpack_require__(5654);
830
+ var Utils = __webpack_require__(4915);
345
831
  // EXTERNAL MODULE: ./src/components/Spinner/index.ts + 1 modules
346
- var Spinner = __webpack_require__(4482);
832
+ var Spinner = __webpack_require__(6216);
347
833
  // EXTERNAL MODULE: ./src/components/EmptyState/index.ts + 1 modules
348
- var EmptyState = __webpack_require__(5385);
834
+ var EmptyState = __webpack_require__(1469);
349
835
  // EXTERNAL MODULE: ./src/components/Utils/Style.ts
350
- var Style = __webpack_require__(2755);
836
+ var Style = __webpack_require__(7540);
351
837
  // EXTERNAL MODULE: ./src/components/StatisticsTooltip/index.ts + 1 modules
352
- var StatisticsTooltip = __webpack_require__(8805);
838
+ var StatisticsTooltip = __webpack_require__(4806);
353
839
  // EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
354
- var Statistics = __webpack_require__(5258);
840
+ var Statistics = __webpack_require__(5909);
355
841
  // EXTERNAL MODULE: ./src/components/Utils/Text.ts
356
- var Text = __webpack_require__(6347);
842
+ var Text = __webpack_require__(2394);
357
843
  // EXTERNAL MODULE: ./src/components/Histogram/Types.ts
358
- var Types = __webpack_require__(2141);
844
+ var Types = __webpack_require__(4950);
359
845
  ;// CONCATENATED MODULE: ./src/components/Histogram/Histogram.tsx
360
846
  var __extends = (undefined && undefined.__extends) || (function () {
361
847
  var extendStatics = function (d, b) {
362
848
  extendStatics = Object.setPrototypeOf ||
363
849
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
364
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
850
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
365
851
  return extendStatics(d, b);
366
852
  };
367
853
  return function (d, b) {
854
+ if (typeof b !== "function" && b !== null)
855
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
368
856
  extendStatics(d, b);
369
857
  function __() { this.constructor = d; }
370
858
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -406,9 +894,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
406
894
  }
407
895
  return ar;
408
896
  };
409
- var __spread = (undefined && undefined.__spread) || function () {
410
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
411
- return ar;
897
+ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
898
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
899
+ if (ar || !(i in from)) {
900
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
901
+ ar[i] = from[i];
902
+ }
903
+ }
904
+ return to.concat(ar || Array.prototype.slice.call(from));
412
905
  };
413
906
 
414
907
 
@@ -503,7 +996,7 @@ var Histogram = /** @class */ (function (_super) {
503
996
  otherId: this.props.otherId,
504
997
  otherLabel: this.props.otherLabel,
505
998
  // {vrut} wrapping into a function since the valueFormat is slightly different.
506
- numberToStringFormatter: function (value) { var _a, _b, _c; return "" + ((_c = (_b = (_a = _this.props).tooltipValueFormat) === null || _b === void 0 ? void 0 : _b.call(_a, value)) !== null && _c !== void 0 ? _c : value); },
999
+ numberToStringFormatter: function (value) { var _a, _b, _c; return "".concat((_c = (_b = (_a = _this.props).tooltipValueFormat) === null || _b === void 0 ? void 0 : _b.call(_a, value)) !== null && _c !== void 0 ? _c : value); },
507
1000
  withColor: false,
508
1001
  })
509
1002
  : this.props.renderTooltip;
@@ -540,8 +1033,7 @@ var Histogram = /** @class */ (function (_super) {
540
1033
  else {
541
1034
  value = Math.min(value, -zeroReplacing);
542
1035
  }
543
- return __assign(__assign({}, Histogram.fromDataPointToBarDatum(dataPoint)), { id: id,
544
- value: value, label: id, initialLabel: dataPoint.label, initialValue: dataPoint.value });
1036
+ return __assign(__assign({}, Histogram.fromDataPointToBarDatum(dataPoint)), { id: id, value: value, label: id, initialLabel: dataPoint.label, initialValue: dataPoint.value });
545
1037
  });
546
1038
  };
547
1039
  Histogram.prototype.idFormatWrapper = function (label) {
@@ -642,7 +1134,7 @@ var Histogram = /** @class */ (function (_super) {
642
1134
  var commonProps = {
643
1135
  tickRotation: -45,
644
1136
  tickSize: 0,
645
- tickPadding: this.props.isCanvas ? 20 : 0,
1137
+ tickPadding: this.props.isCanvas ? 20 : undefined,
646
1138
  };
647
1139
  if (this.props.layout === 'vertical') {
648
1140
  return __assign(__assign({}, commonProps), { format: this.ellipseAndFormat(this.matchAndFormatRangeLabel(this.props.labelFormat), this.props.maxLabelLength) });
@@ -720,8 +1212,8 @@ var Histogram = /** @class */ (function (_super) {
720
1212
  var labelTextMetrics = context.measureText(item.label), valueX = labelX + labelTextMetrics.width + wordSpacing;
721
1213
  context.fillStyle = Style/* black */.Sn;
722
1214
  context.font = 'bold';
723
- context.fillText("" + item.value, valueX, y);
724
- var valueTextMetrics = context.measureText("" + item.value);
1215
+ context.fillText("".concat(item.value), valueX, y);
1216
+ var valueTextMetrics = context.measureText("".concat(item.value));
725
1217
  textMetrics.push(valueX + valueTextMetrics.width);
726
1218
  });
727
1219
  };
@@ -757,19 +1249,19 @@ var Histogram = /** @class */ (function (_super) {
757
1249
  (_a = params.onMouseLeave) === null || _a === void 0 ? void 0 : _a.call(params, bar.data, event);
758
1250
  hideTooltip();
759
1251
  }, [bar.data, hideTooltip, params.onMouseLeave]);
760
- return (external_react_default().createElement("g", { key: key, transform: "translate(" + bar.x + ", " + (bar.y + bar.height) + ")" },
1252
+ return (external_react_default().createElement("g", { key: key, transform: "translate(".concat(bar.x, ", ").concat(bar.y + bar.height, ")") },
761
1253
  external_react_default().createElement("rect", { width: bar.width, height: Math.max(_this.computeZeroReplacingValue(bar.height), 2), rx: '0', ry: '0', fill: Style/* blue100 */.qi, strokeWidth: '0', stroke: Style/* blue100 */.qi, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onMouseMove: handleTooltip })));
762
1254
  };
763
1255
  };
764
1256
  Histogram.prototype.getLayers = function () {
765
- var layers = this.areAllDataZero ? [this.renderEmptyParts] : __spread(this.baseLayers);
1257
+ var layers = this.areAllDataZero ? [this.renderEmptyParts] : __spreadArray([], __read(this.baseLayers), false);
766
1258
  if (this.props.renderSVGLegend != null) {
767
1259
  layers.push(this.props.renderSVGLegend);
768
1260
  }
769
1261
  return layers;
770
1262
  };
771
1263
  Histogram.prototype.getCanvasLayers = function () {
772
- var layers = __spread(this.baseLayers);
1264
+ var layers = __spreadArray([], __read(this.baseLayers), false);
773
1265
  if (this.props.getCanvasLegendConfig != null) {
774
1266
  layers.push(this.buildCanvasLegend);
775
1267
  }
@@ -840,7 +1332,7 @@ var Histogram = /** @class */ (function (_super) {
840
1332
  __decorate([
841
1333
  esm/* boundMethod */.MR,
842
1334
  __metadata("design:type", Function),
843
- __metadata("design:paramtypes", [typeof (_a = typeof Types.BarTooltipDatum !== "undefined" && Types.BarTooltipDatum) === "function" ? _a : Object]),
1335
+ __metadata("design:paramtypes", [typeof (_a = typeof Types/* BarTooltipDatum */.Z !== "undefined" && Types/* BarTooltipDatum */.Z) === "function" ? _a : Object]),
844
1336
  __metadata("design:returntype", void 0)
845
1337
  ], Histogram.prototype, "handleClick", null);
846
1338
  __decorate([
@@ -889,10 +1381,9 @@ var Histogram = /** @class */ (function (_super) {
889
1381
 
890
1382
  /***/ }),
891
1383
 
892
- /***/ 4482:
1384
+ /***/ 6216:
893
1385
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
894
1386
 
895
- "use strict";
896
1387
 
897
1388
  // EXPORTS
898
1389
  __webpack_require__.d(__webpack_exports__, {
@@ -912,10 +1403,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
912
1403
  var extendStatics = function (d, b) {
913
1404
  extendStatics = Object.setPrototypeOf ||
914
1405
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
915
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1406
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
916
1407
  return extendStatics(d, b);
917
1408
  };
918
1409
  return function (d, b) {
1410
+ if (typeof b !== "function" && b !== null)
1411
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
919
1412
  extendStatics(d, b);
920
1413
  function __() { this.constructor = d; }
921
1414
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -1016,1081 +1509,591 @@ var Spinner = /** @class */ (function (_super) {
1016
1509
 
1017
1510
 
1018
1511
  /***/ }),
1019
-
1020
- /***/ 1470:
1021
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1022
-
1023
- "use strict";
1024
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1025
- /* harmony export */ "q": () => (/* binding */ getRenderStatisticsTooltip)
1026
- /* harmony export */ });
1027
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
1028
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1029
- /* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8805);
1030
- var __assign = (undefined && undefined.__assign) || function () {
1031
- __assign = Object.assign || function(t) {
1032
- for (var s, i = 1, n = arguments.length; i < n; i++) {
1033
- s = arguments[i];
1034
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
1035
- t[p] = s[p];
1036
- }
1037
- return t;
1038
- };
1039
- return __assign.apply(this, arguments);
1040
- };
1041
-
1042
-
1043
- function getRenderStatisticsTooltip(_a) {
1044
- var tooltipDataLabelKey = _a.tooltipDataLabelKey, tooltipDataValueKey = _a.tooltipDataValueKey, tooltipDataTitleKey = _a.tooltipDataTitleKey, otherId = _a.otherId, otherLabel = _a.otherLabel, numberToStringFormatter = _a.numberToStringFormatter, withColor = _a.withColor, _b = _a.className, className = _b === void 0 ? 'tooltip-background' : _b;
1045
- // eslint-disable-next-line react/display-name
1046
- return function (props) {
1047
- var _a, _b, _c, _d;
1048
- var tooltipData = __assign(__assign({}, props.data), { value: (_a = props.data) === null || _a === void 0 ? void 0 : _a['value'], label: (_b = props.data) === null || _b === void 0 ? void 0 : _b['label'], id: (_c = props.data) === null || _c === void 0 ? void 0 : _c['id'], percentage: (_d = props.data) === null || _d === void 0 ? void 0 : _d['percentage'] });
1049
- return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_index__WEBPACK_IMPORTED_MODULE_1__.StatisticsTooltip, { otherId: otherId, otherLabel: otherLabel, numberToStringFormatter: numberToStringFormatter, data: tooltipData, tooltipDataLabelKey: tooltipDataLabelKey, tooltipDataTitleKey: tooltipDataTitleKey, tooltipDataValueKey: tooltipDataValueKey, className: className !== null && className !== void 0 ? className : '', color: withColor ? props.color : undefined }));
1050
- };
1051
- }
1052
-
1053
-
1054
- /***/ }),
1055
-
1056
- /***/ 8805:
1057
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1058
-
1059
- "use strict";
1060
-
1061
- // EXPORTS
1062
- __webpack_require__.d(__webpack_exports__, {
1063
- "StatisticsTooltip": () => (/* reexport */ StatisticsTooltip),
1064
- "getRenderStatisticsTooltip": () => (/* reexport */ helpers/* getRenderStatisticsTooltip */.q)
1065
- });
1066
-
1067
- // UNUSED EXPORTS: GetRenderStatisticsTooltipType
1068
-
1069
- // EXTERNAL MODULE: external "react"
1070
- var external_react_ = __webpack_require__(8156);
1071
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
1072
- // EXTERNAL MODULE: external "classnames"
1073
- var external_classnames_ = __webpack_require__(8310);
1074
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
1075
- // EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
1076
- var Statistics = __webpack_require__(5258);
1077
- ;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/StatisticsTooltip.tsx
1078
-
1079
-
1080
-
1081
- var StatisticsTooltip = external_react_default().memo(function (props) {
1082
- // eslint-disable-next-line react/display-name
1083
- function renderSubtitle() {
1084
- var values = [
1085
- { value: getLabel(), key: props.tooltipDataLabelKey, className: 'label' },
1086
- { value: getValue(), key: props.tooltipDataValueKey, className: 'value' },
1087
- ]
1088
- .filter(function (el) { return el.value != null; })
1089
- .map(function (el) { return (external_react_default().createElement("span", { key: el.key, className: el.className }, el.value)); });
1090
- if (values.length === 0) {
1091
- return null;
1092
- }
1093
- return external_react_default().createElement("div", { className: 'd-flex justify-content-between' }, values);
1094
- }
1095
- function getLabel() {
1096
- var tooltipDataLabelKey = props.tooltipDataLabelKey, numberToStringFormatter = props.numberToStringFormatter, data = props.data, label = getValueFromData(tooltipDataLabelKey, data);
1097
- if (label == null) {
1098
- return undefined;
1099
- }
1100
- if (numberToStringFormatter == null) {
1101
- return String(label);
1102
- }
1103
- if (typeof label == 'string') {
1104
- return label;
1105
- }
1106
- return numberToStringFormatter(label);
1107
- }
1108
- function getValue() {
1109
- var tooltipDataValueKey = props.tooltipDataValueKey, data = props.data, value = getValueFromData(tooltipDataValueKey, data);
1110
- if (value == null) {
1111
- return undefined;
1112
- }
1113
- if (typeof value == 'number') {
1114
- return (0,Statistics/* normalizePercentage */.Ow)(value);
1115
- }
1116
- return value;
1117
- }
1118
- function getTitle() {
1119
- var tooltipDataTitleKey = props.tooltipDataTitleKey, data = props.data, otherId = props.otherId, otherLabel = props.otherLabel, title = getValueFromData(tooltipDataTitleKey, data);
1120
- if (title === otherId) {
1121
- return otherLabel !== null && otherLabel !== void 0 ? otherLabel : otherId;
1122
- }
1123
- return title ? String(title) : undefined;
1124
- }
1125
- function getValueFromData(key, data) {
1126
- return key == null ? undefined : data === null || data === void 0 ? void 0 : data[key];
1127
- }
1128
- var className = external_classnames_default()('statistics-tooltip', props === null || props === void 0 ? void 0 : props.className), colorRectangle = props.color == null ? null : external_react_default().createElement("span", { className: 'tooltip-rectangle', style: { background: props.color } });
1129
- return (external_react_default().createElement("div", { className: className },
1130
- external_react_default().createElement("div", { className: 'd-flex align-items-center' },
1131
- colorRectangle,
1132
- external_react_default().createElement("span", { className: 'text-left' }, getTitle())),
1133
- renderSubtitle(),
1134
- props.children));
1135
- });
1136
- StatisticsTooltip.displayName = 'StatisticsTooltip';
1137
-
1138
- // EXTERNAL MODULE: ./src/components/StatisticsTooltip/helpers.tsx
1139
- var helpers = __webpack_require__(1470);
1140
- ;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/index.ts
1141
-
1142
-
1143
-
1144
-
1145
- /***/ }),
1146
-
1147
- /***/ 5258:
1148
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1149
-
1150
- "use strict";
1151
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1152
- /* harmony export */ "xG": () => (/* binding */ createDataWithOtherSlice),
1153
- /* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
1154
- /* harmony export */ });
1155
- /* unused harmony export createCleanTree */
1156
- /* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5654);
1157
- var __values = (undefined && undefined.__values) || function(o) {
1158
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1159
- if (m) return m.call(o);
1160
- if (o && typeof o.length === "number") return {
1161
- next: function () {
1162
- if (o && i >= o.length) o = void 0;
1163
- return { value: o && o[i++], done: !o };
1512
+
1513
+ /***/ 8007:
1514
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1515
+
1516
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1517
+ /* harmony export */ "q": () => (/* binding */ getRenderStatisticsTooltip)
1518
+ /* harmony export */ });
1519
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
1520
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1521
+ /* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4806);
1522
+ var __assign = (undefined && undefined.__assign) || function () {
1523
+ __assign = Object.assign || function(t) {
1524
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1525
+ s = arguments[i];
1526
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
1527
+ t[p] = s[p];
1164
1528
  }
1529
+ return t;
1165
1530
  };
1166
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1531
+ return __assign.apply(this, arguments);
1167
1532
  };
1168
1533
 
1169
1534
 
1170
- function createDataWithOtherSlice(data, otherId, otherLabel, maxSlicesNumber, total, dataValueKey) {
1171
- var _a, _b;
1172
- if (maxSlicesNumber === void 0) { maxSlicesNumber = 0; }
1173
- if (dataValueKey === void 0) { dataValueKey = 'value'; }
1174
- var otherValue = 0, newOtherId = otherId !== null && otherId !== void 0 ? otherId : 'other',
1175
- // We know it is defined but Typescript does not get it.
1176
- newmaxSlicesNumber = maxSlicesNumber !== null && maxSlicesNumber !== void 0 ? maxSlicesNumber : 0, newData = [], maxToMinData = data === null || data === void 0 ? void 0 : data.sort((0,_Utils_Utils__WEBPACK_IMPORTED_MODULE_0__/* .sortObjDesc */ .kV)(dataValueKey));
1177
- maxToMinData === null || maxToMinData === void 0 ? void 0 : maxToMinData.forEach(function (node, i) {
1178
- var _a;
1179
- if (i < newmaxSlicesNumber && node.id !== otherId) {
1180
- newData.push(createCleanTree(node));
1181
- }
1182
- else {
1183
- var nodeValue = (_a = Number(node === null || node === void 0 ? void 0 : node.value)) !== null && _a !== void 0 ? _a : 0;
1184
- otherValue += nodeValue;
1185
- }
1186
- });
1187
- var otherNode = {};
1188
- otherNode['id'] = newOtherId;
1189
- otherNode['value'] = parseFloat(otherValue.toFixed(2));
1190
- otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));
1191
- otherNode['label'] = (_a = otherLabel !== null && otherLabel !== void 0 ? otherLabel : newOtherId) !== null && _a !== void 0 ? _a : '';
1192
- if (((_b = data === null || data === void 0 ? void 0 : data[0]) === null || _b === void 0 ? void 0 : _b.percentage) != null && total != null) {
1193
- otherNode['percentage'] = (otherValue / total) * 100;
1194
- }
1195
- if (maxSlicesNumber !== Infinity || otherValue !== 0) {
1196
- newData.push(otherNode);
1197
- }
1198
- return newData;
1199
- }
1200
- function createCleanTree(node) {
1201
- if (node.children == null) {
1202
- return node;
1203
- }
1204
- var newNode = (0,_Utils_Utils__WEBPACK_IMPORTED_MODULE_0__/* .clone */ .d9)(node);
1205
- removeValueIfChildren(newNode);
1206
- return newNode;
1207
- }
1208
- // eslint-disable-next-line @typescript-eslint/ban-types
1209
- function removeValueIfChildren(node) {
1210
- var e_1, _a;
1211
- var _b;
1212
- var children = ((_b = node === null || node === void 0 ? void 0 : node['children']) !== null && _b !== void 0 ? _b : []);
1213
- node['initialValue'] = node['value'];
1214
- if (children.length > 0) {
1215
- delete node['value'];
1216
- }
1217
- try {
1218
- for (var children_1 = __values(children), children_1_1 = children_1.next(); !children_1_1.done; children_1_1 = children_1.next()) {
1219
- var child = children_1_1.value;
1220
- removeValueIfChildren(child);
1221
- }
1222
- }
1223
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1224
- finally {
1225
- try {
1226
- if (children_1_1 && !children_1_1.done && (_a = children_1.return)) _a.call(children_1);
1227
- }
1228
- finally { if (e_1) throw e_1.error; }
1229
- }
1230
- }
1231
- function normalizePercentage(value) {
1232
- var _a;
1233
- return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10) + "%";
1535
+ function getRenderStatisticsTooltip(_a) {
1536
+ var tooltipDataLabelKey = _a.tooltipDataLabelKey, tooltipDataValueKey = _a.tooltipDataValueKey, tooltipDataTitleKey = _a.tooltipDataTitleKey, otherId = _a.otherId, otherLabel = _a.otherLabel, numberToStringFormatter = _a.numberToStringFormatter, withColor = _a.withColor, _b = _a.className, className = _b === void 0 ? 'tooltip-background' : _b;
1537
+ // eslint-disable-next-line react/display-name
1538
+ return function (props) {
1539
+ var _a, _b, _c, _d;
1540
+ var tooltipData = __assign(__assign({}, props.data), { value: (_a = props.data) === null || _a === void 0 ? void 0 : _a['value'], label: (_b = props.data) === null || _b === void 0 ? void 0 : _b['label'], id: (_c = props.data) === null || _c === void 0 ? void 0 : _c['id'], percentage: (_d = props.data) === null || _d === void 0 ? void 0 : _d['percentage'] });
1541
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_index__WEBPACK_IMPORTED_MODULE_1__.StatisticsTooltip, { otherId: otherId, otherLabel: otherLabel, numberToStringFormatter: numberToStringFormatter, data: tooltipData, tooltipDataLabelKey: tooltipDataLabelKey, tooltipDataTitleKey: tooltipDataTitleKey, tooltipDataValueKey: tooltipDataValueKey, className: className !== null && className !== void 0 ? className : '', color: withColor ? props.color : undefined }));
1542
+ };
1234
1543
  }
1235
1544
 
1236
1545
 
1237
1546
  /***/ }),
1238
1547
 
1239
- /***/ 2755:
1548
+ /***/ 4806:
1240
1549
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1241
1550
 
1242
- "use strict";
1243
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1244
- /* harmony export */ "KH": () => (/* binding */ blue30),
1245
- /* harmony export */ "qi": () => (/* binding */ blue100),
1246
- /* harmony export */ "pN": () => (/* binding */ gray200),
1247
- /* harmony export */ "ZM": () => (/* binding */ blue400),
1248
- /* harmony export */ "de": () => (/* binding */ gray400),
1249
- /* harmony export */ "Sn": () => (/* binding */ black)
1250
- /* harmony export */ });
1251
- /* unused harmony exports calculateDomain, generateRangeColor, white, blue25, blue50, blue80, blue90, blue95, blue300, yellow, orange, red, green, gray100, gray300, purple, viola, pink100, pink200, salmon */
1252
1551
 
1253
- function generateRangeColor(len, rangeColors) {
1254
- if (rangeColors === void 0) { rangeColors = ['#82CA9D', '#f6ea25', '#F7977A']; }
1255
- var generatedColors = [];
1256
- if (len === 0) {
1257
- return undefined;
1258
- }
1259
- var colors = scaleLinear(), domain = calculateDomain(rangeColors.length, rangeColors.length), targetDomain = calculateDomain(len, rangeColors.length);
1260
- colors = colors.domain(domain).range(rangeColors);
1261
- for (var i = 0; i < len; i++) {
1262
- generatedColors.push(colors(targetDomain[i]));
1263
- }
1264
- return generatedColors;
1265
- }
1266
- function calculateDomain(len, rangeColorsLength) {
1267
- var domain = [];
1268
- domain.push(0);
1269
- for (var i = 0; i < len - 2; i++) {
1270
- var num = Number((rangeColorsLength / len) * (i + 1));
1271
- domain.push(parseFloat(num.toFixed(2)));
1272
- }
1273
- domain.push(rangeColorsLength);
1274
- return domain;
1275
- }
1276
- // Keep these in sync with variables.less
1277
- var white = '#FFFFFF', blue25 = '#eef2f5', blue30 = '#CBD8E0', blue50 = '#AFD1E0', blue80 = '#8FB7CB', blue90 = '#94C2DA', blue95 = '#6E9DB5', blue100 = '#578EA8', blue300 = 'rgb(32, 88, 113)', // #205871
1278
- blue400 = '#11455C', gray100 = '#FAFAFA', gray200 = '#EBEBEB', gray300 = '#B0B0B0', gray400 = '#717171', yellow = '#FFBB00', orange = '#F38522', red = '#F72200', green = '#309B0A', purple = '#63619F', viola = '#965DA3', pink200 = '#C55795', pink100 = '#E85778', salmon = '#F86752', black = '#222222';
1552
+ // EXPORTS
1553
+ __webpack_require__.d(__webpack_exports__, {
1554
+ "StatisticsTooltip": () => (/* reexport */ StatisticsTooltip),
1555
+ "getRenderStatisticsTooltip": () => (/* reexport */ helpers/* getRenderStatisticsTooltip */.q)
1556
+ });
1279
1557
 
1558
+ // UNUSED EXPORTS: GetRenderStatisticsTooltipType
1280
1559
 
1560
+ // EXTERNAL MODULE: external "react"
1561
+ var external_react_ = __webpack_require__(8156);
1562
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
1563
+ // EXTERNAL MODULE: external "classnames"
1564
+ var external_classnames_ = __webpack_require__(8310);
1565
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
1566
+ // EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
1567
+ var Statistics = __webpack_require__(5909);
1568
+ ;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/StatisticsTooltip.tsx
1281
1569
 
1282
- /***/ }),
1283
1570
 
1284
- /***/ 6347:
1285
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1286
1571
 
1287
- "use strict";
1288
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1289
- /* harmony export */ "eR": () => (/* binding */ matchAndFormatRangeLabel),
1290
- /* harmony export */ "TK": () => (/* binding */ ellipseAndFormat)
1291
- /* harmony export */ });
1292
- /* unused harmony exports isStringEmpty, slugify, estimateWordSize, ellipse, formatRange, escapeRegExp, isMatching, splitTextInParts */
1293
- var __values = (undefined && undefined.__values) || function(o) {
1294
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1295
- if (m) return m.call(o);
1296
- if (o && typeof o.length === "number") return {
1297
- next: function () {
1298
- if (o && i >= o.length) o = void 0;
1299
- return { value: o && o[i++], done: !o };
1300
- }
1301
- };
1302
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1303
- };
1304
- var __read = (undefined && undefined.__read) || function (o, n) {
1305
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1306
- if (!m) return o;
1307
- var i = m.call(o), r, ar = [], e;
1308
- try {
1309
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1310
- }
1311
- catch (error) { e = { error: error }; }
1312
- finally {
1313
- try {
1314
- if (r && !r.done && (m = i["return"])) m.call(i);
1315
- }
1316
- finally { if (e) throw e.error; }
1317
- }
1318
- return ar;
1319
- };
1320
- var __spread = (undefined && undefined.__spread) || function () {
1321
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
1322
- return ar;
1323
- };
1324
- function isStringEmpty(s) {
1325
- if (s == null) {
1326
- return true;
1327
- }
1328
- return s.match(/^\s*$/) !== null;
1329
- }
1330
- function slugify(text) {
1331
- var a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;', b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------', p = new RegExp(a.split('').join('|'), 'g');
1332
- return text
1333
- .toString()
1334
- .toLowerCase()
1335
- .replace(/\s+/g, '-') // Replace spaces with -
1336
- .replace(p, function (c) { return b.charAt(a.indexOf(c)); }) // Replace special characters
1337
- .replace(/&/g, '-and-') // Replace & with 'and'
1338
- .replace(/[^\w-]+/g, '') // Remove all non-word characters
1339
- .replace(/--+/g, '-') // Replace multiple - with single -
1340
- .replace(/^-+/, '') // Trim - from start of text
1341
- .replace(/-+$/, ''); // Trim - from end of text
1342
- }
1343
- function estimateWordSize(wordLength, letterPixels, constant) {
1344
- return wordLength * letterPixels + constant;
1345
- }
1346
- function ellipse(input, length) {
1347
- if (input == null) {
1348
- return '';
1349
- }
1350
- return input.length > length ? input.substr(0, length - 1) + "\u2026" : input;
1351
- }
1352
- function matchAndFormatRangeLabel(formatter) {
1353
- return function (label) {
1354
- var match = /^([\d*]+)-([\d*]+)$/.exec(label);
1355
- if (match == null) {
1356
- return label;
1357
- }
1358
- return formatRange({
1359
- from: match[1],
1360
- to: match[2],
1361
- }, formatter !== null && formatter !== void 0 ? formatter : (function (v) { return v; }));
1362
- };
1363
- }
1364
- function formatRange(item, formatter) {
1365
- var _a, _b;
1366
- var to = item.to === '*' ? '*' : formatter(parseInt((_a = item.to) !== null && _a !== void 0 ? _a : '0', 10)), from = formatter(parseInt((_b = item.from) !== null && _b !== void 0 ? _b : '0', 10));
1367
- if (from === to) {
1368
- return "" + from;
1369
- }
1370
- return from + " - " + to;
1371
- }
1372
- function ellipseAndFormat(formatter, maxLabelLength) {
1373
- return function (value) {
1374
- var strValue = value.toString();
1375
- if (formatter == null) {
1376
- return ellipse(strValue, maxLabelLength);
1377
- }
1378
- return ellipse("" + formatter(strValue), maxLabelLength);
1379
- };
1380
- }
1381
- function escapeRegExp(input) {
1382
- // eslint-disable-next-line
1383
- return input.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
1384
- }
1385
- function isMatching(text0, text1) {
1386
- var e_1, _a;
1387
- if (text0 == null || text1 == null) {
1388
- return false;
1389
- }
1390
- text0 = text0.toLowerCase();
1391
- text1 = text1.toLowerCase();
1392
- if (text1.match(' ') === null) {
1393
- return text0.match(escapeRegExp(text1)) !== null;
1394
- }
1395
- var splitNeedles = text1
1396
- .split(' ')
1397
- .filter(function (s) { return !isStringEmpty(s); })
1398
- .sort(function (a, b) { return b.length - a.length; });
1399
- try {
1400
- for (var splitNeedles_1 = __values(splitNeedles), splitNeedles_1_1 = splitNeedles_1.next(); !splitNeedles_1_1.done; splitNeedles_1_1 = splitNeedles_1.next()) {
1401
- var needle = splitNeedles_1_1.value;
1402
- if (text0 === needle) {
1403
- return true;
1404
- }
1572
+ var StatisticsTooltip = external_react_default().memo(function (props) {
1573
+ // eslint-disable-next-line react/display-name
1574
+ function renderSubtitle() {
1575
+ var values = [
1576
+ { value: getLabel(), key: props.tooltipDataLabelKey, className: 'label' },
1577
+ { value: getValue(), key: props.tooltipDataValueKey, className: 'value' },
1578
+ ]
1579
+ .filter(function (el) { return el.value != null; })
1580
+ .map(function (el) { return (external_react_default().createElement("span", { key: el.key, className: el.className }, el.value)); });
1581
+ if (values.length === 0) {
1582
+ return null;
1405
1583
  }
1584
+ return external_react_default().createElement("div", { className: 'd-flex justify-content-between' }, values);
1406
1585
  }
1407
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1408
- finally {
1409
- try {
1410
- if (splitNeedles_1_1 && !splitNeedles_1_1.done && (_a = splitNeedles_1.return)) _a.call(splitNeedles_1);
1586
+ function getLabel() {
1587
+ var tooltipDataLabelKey = props.tooltipDataLabelKey, numberToStringFormatter = props.numberToStringFormatter, data = props.data, label = getValueFromData(tooltipDataLabelKey, data);
1588
+ if (label == null) {
1589
+ return undefined;
1411
1590
  }
1412
- finally { if (e_1) throw e_1.error; }
1413
- }
1414
- return false;
1415
- }
1416
- function splitTextInParts(needles, text) {
1417
- var e_2, _a;
1418
- if (text == null) {
1419
- return [];
1420
- }
1421
- if (needles.match(' ') === null) {
1422
- var re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');
1423
- return text.split(re);
1591
+ if (numberToStringFormatter == null) {
1592
+ return String(label);
1593
+ }
1594
+ if (typeof label == 'string') {
1595
+ return label;
1596
+ }
1597
+ return numberToStringFormatter(label);
1424
1598
  }
1425
- var splitNeedles = needles
1426
- .split(' ')
1427
- .filter(function (s) { return !isStringEmpty(s); })
1428
- .sort(function (a, b) { return b.length - a.length; }), ret = [text];
1429
- try {
1430
- for (var splitNeedles_2 = __values(splitNeedles), splitNeedles_2_1 = splitNeedles_2.next(); !splitNeedles_2_1.done; splitNeedles_2_1 = splitNeedles_2.next()) {
1431
- var needle = splitNeedles_2_1.value;
1432
- var re = new RegExp('(' + needle + ')', 'gi');
1433
- for (var index = 0; index < ret.length; index++) {
1434
- var currentText = ret[index];
1435
- if (isMatching(currentText, escapeRegExp(needles))) {
1436
- continue;
1437
- }
1438
- var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
1439
- ret.splice.apply(ret, __spread([index, 1], newParts));
1440
- }
1599
+ function getValue() {
1600
+ var tooltipDataValueKey = props.tooltipDataValueKey, data = props.data, value = getValueFromData(tooltipDataValueKey, data);
1601
+ if (value == null) {
1602
+ return undefined;
1441
1603
  }
1604
+ if (typeof value == 'number') {
1605
+ return (0,Statistics/* normalizePercentage */.Ow)(value);
1606
+ }
1607
+ return value;
1442
1608
  }
1443
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1444
- finally {
1445
- try {
1446
- if (splitNeedles_2_1 && !splitNeedles_2_1.done && (_a = splitNeedles_2.return)) _a.call(splitNeedles_2);
1609
+ function getTitle() {
1610
+ var tooltipDataTitleKey = props.tooltipDataTitleKey, data = props.data, otherId = props.otherId, otherLabel = props.otherLabel, title = getValueFromData(tooltipDataTitleKey, data);
1611
+ if (title === otherId) {
1612
+ return otherLabel !== null && otherLabel !== void 0 ? otherLabel : otherId;
1447
1613
  }
1448
- finally { if (e_2) throw e_2.error; }
1614
+ return title ? String(title) : undefined;
1449
1615
  }
1450
- return ret;
1451
- }
1616
+ function getValueFromData(key, data) {
1617
+ return key == null ? undefined : data === null || data === void 0 ? void 0 : data[key];
1618
+ }
1619
+ var className = external_classnames_default()('statistics-tooltip', props === null || props === void 0 ? void 0 : props.className), colorRectangle = props.color == null ? null : external_react_default().createElement("span", { className: 'tooltip-rectangle', style: { background: props.color } });
1620
+ return (external_react_default().createElement("div", { className: className },
1621
+ external_react_default().createElement("div", { className: 'd-flex align-items-center' },
1622
+ colorRectangle,
1623
+ external_react_default().createElement("span", { className: 'text-left' }, getTitle())),
1624
+ renderSubtitle(),
1625
+ props.children));
1626
+ });
1627
+ StatisticsTooltip.displayName = 'StatisticsTooltip';
1628
+
1629
+ // EXTERNAL MODULE: ./src/components/StatisticsTooltip/helpers.tsx
1630
+ var helpers = __webpack_require__(8007);
1631
+ ;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/index.ts
1632
+
1633
+
1452
1634
 
1453
1635
 
1454
1636
  /***/ }),
1455
1637
 
1456
- /***/ 5654:
1638
+ /***/ 5909:
1457
1639
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1458
1640
 
1459
- "use strict";
1460
1641
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1461
- /* harmony export */ "z8": () => (/* binding */ findChildByComponent),
1462
- /* harmony export */ "kV": () => (/* binding */ sortObjDesc),
1463
- /* harmony export */ "d9": () => (/* binding */ clone),
1464
- /* harmony export */ "vZ": () => (/* binding */ deepEqual)
1642
+ /* harmony export */ "xG": () => (/* binding */ createDataWithOtherSlice),
1643
+ /* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
1465
1644
  /* harmony export */ });
1466
- /* unused harmony exports findChildrenByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, getDebouncer, rgbToHex */
1467
- /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5692);
1468
- /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
1469
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
1470
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
1471
- /* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9316);
1472
- var __read = (undefined && undefined.__read) || function (o, n) {
1473
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1474
- if (!m) return o;
1475
- var i = m.call(o), r, ar = [], e;
1476
- try {
1477
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1478
- }
1479
- catch (error) { e = { error: error }; }
1480
- finally {
1481
- try {
1482
- if (r && !r.done && (m = i["return"])) m.call(i);
1645
+ /* unused harmony export createCleanTree */
1646
+ /* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4915);
1647
+ var __values = (undefined && undefined.__values) || function(o) {
1648
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1649
+ if (m) return m.call(o);
1650
+ if (o && typeof o.length === "number") return {
1651
+ next: function () {
1652
+ if (o && i >= o.length) o = void 0;
1653
+ return { value: o && o[i++], done: !o };
1483
1654
  }
1484
- finally { if (e) throw e.error; }
1485
- }
1486
- return ar;
1655
+ };
1656
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1487
1657
  };
1488
1658
 
1489
1659
 
1490
-
1491
- function findChildrenByComponent(children,
1492
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1493
- component) {
1494
- var ret = [];
1495
- react__WEBPACK_IMPORTED_MODULE_1___default().Children.forEach(children, function (element) {
1496
- if ((element === null || element === void 0 ? void 0 : element.type) === component) {
1497
- ret.push(element);
1498
- }
1499
- });
1500
- return ret;
1501
- }
1502
- function findChildByComponent(children,
1503
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1504
- component) {
1660
+ function createDataWithOtherSlice(data, otherId, otherLabel, maxSlicesNumber, total, dataValueKey) {
1505
1661
  var _a, _b;
1506
- return (_b = (_a = findChildrenByComponent(children, component)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
1507
- }
1508
- function hasChildIconOrCheckboxComponent(children) {
1509
- var ret = false;
1510
- React.Children.forEach(children, function (element) {
1511
- if ((element === null || element === void 0 ? void 0 : element.type) != null &&
1512
- ((element === null || element === void 0 ? void 0 : element.type) === FontAwesomeIcon || (element === null || element === void 0 ? void 0 : element.type) === 'i' || (element === null || element === void 0 ? void 0 : element.type) === Form.Checkbox)) {
1513
- ret = true;
1514
- return;
1662
+ if (maxSlicesNumber === void 0) { maxSlicesNumber = 0; }
1663
+ if (dataValueKey === void 0) { dataValueKey = 'value'; }
1664
+ var otherValue = 0, newOtherId = otherId !== null && otherId !== void 0 ? otherId : 'other',
1665
+ // We know it is defined but Typescript does not get it.
1666
+ newmaxSlicesNumber = maxSlicesNumber !== null && maxSlicesNumber !== void 0 ? maxSlicesNumber : 0, newData = [], maxToMinData = data === null || data === void 0 ? void 0 : data.sort((0,_Utils_Utils__WEBPACK_IMPORTED_MODULE_0__/* .sortObjDesc */ .kV)(dataValueKey));
1667
+ maxToMinData === null || maxToMinData === void 0 ? void 0 : maxToMinData.forEach(function (node, i) {
1668
+ var _a;
1669
+ if (i < newmaxSlicesNumber && node.id !== otherId) {
1670
+ newData.push(createCleanTree(node));
1671
+ }
1672
+ else {
1673
+ var nodeValue = (_a = Number(node === null || node === void 0 ? void 0 : node.value)) !== null && _a !== void 0 ? _a : 0;
1674
+ otherValue += nodeValue;
1515
1675
  }
1516
1676
  });
1517
- return ret;
1518
- }
1519
- function scrollToTop() {
1520
- window.scrollTo(0, 0);
1677
+ var otherNode = {};
1678
+ otherNode['id'] = newOtherId;
1679
+ otherNode['value'] = parseFloat(otherValue.toFixed(2));
1680
+ otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));
1681
+ otherNode['label'] = (_a = otherLabel !== null && otherLabel !== void 0 ? otherLabel : newOtherId) !== null && _a !== void 0 ? _a : '';
1682
+ if (((_b = data === null || data === void 0 ? void 0 : data[0]) === null || _b === void 0 ? void 0 : _b.percentage) != null && total != null) {
1683
+ otherNode['percentage'] = (otherValue / total) * 100;
1684
+ }
1685
+ if (maxSlicesNumber !== Infinity || otherValue !== 0) {
1686
+ newData.push(otherNode);
1687
+ }
1688
+ return newData;
1521
1689
  }
1522
- function zip(arr1, arr2) {
1523
- var ret = [];
1524
- var i = 0;
1525
- while (arr1[i]) {
1526
- ret.push(arr1[i]);
1527
- ret.push(arr2[i++]);
1690
+ function createCleanTree(node) {
1691
+ if (node.children == null) {
1692
+ return node;
1528
1693
  }
1529
- return ret;
1694
+ var newNode = (0,_Utils_Utils__WEBPACK_IMPORTED_MODULE_0__/* .clone */ .d9)(node);
1695
+ removeValueIfChildren(newNode);
1696
+ return newNode;
1530
1697
  }
1531
1698
  // eslint-disable-next-line @typescript-eslint/ban-types
1532
- function sortObjDesc(accessor) {
1533
- return function (a, b) {
1534
- var leftVal = 0, rightVal = 0;
1535
- if ((a === null || a === void 0 ? void 0 : a[accessor]) != null) {
1536
- leftVal = a === null || a === void 0 ? void 0 : a[accessor];
1537
- }
1538
- if ((b === null || b === void 0 ? void 0 : b[accessor]) != null) {
1539
- rightVal = b === null || b === void 0 ? void 0 : b[accessor];
1540
- }
1541
- return leftVal > rightVal ? -1 : 1;
1542
- };
1543
- }
1544
- function clone(ob) {
1545
- return JSON.parse(JSON.stringify(ob));
1546
- }
1547
- function getDebouncer(delay) {
1548
- if (delay === void 0) { delay = 1; }
1549
- var debounceTimeout = null;
1550
- return function debounce(f) {
1551
- if (debounceTimeout !== null) {
1552
- clearTimeout(debounceTimeout);
1553
- }
1554
- debounceTimeout = window.setTimeout(f, delay);
1555
- };
1556
- }
1557
- function isObject(obj) {
1558
- return typeof obj === 'object' && obj != null;
1559
- }
1560
- function deepEqual(obj1, obj2) {
1561
- if (obj1 === obj2) {
1562
- return true;
1699
+ function removeValueIfChildren(node) {
1700
+ var e_1, _a;
1701
+ var _b;
1702
+ var children = ((_b = node === null || node === void 0 ? void 0 : node['children']) !== null && _b !== void 0 ? _b : []);
1703
+ node['initialValue'] = node['value'];
1704
+ if (children.length > 0) {
1705
+ delete node['value'];
1563
1706
  }
1564
- if (isObject(obj1) && isObject(obj2)) {
1565
- if (Object.keys(obj1).length !== Object.keys(obj2).length) {
1566
- return false;
1567
- }
1568
- for (var prop in obj1) {
1569
- if (!deepEqual(obj1[prop], obj2[prop])) {
1570
- return false;
1571
- }
1707
+ try {
1708
+ for (var children_1 = __values(children), children_1_1 = children_1.next(); !children_1_1.done; children_1_1 = children_1.next()) {
1709
+ var child = children_1_1.value;
1710
+ removeValueIfChildren(child);
1572
1711
  }
1573
- return true;
1574
- }
1575
- return false;
1576
- }
1577
- function componentToHex(c) {
1578
- if (isNaN(c)) {
1579
- throw Error('The color has not been written correctly');
1580
1712
  }
1581
- var hex = c.toString(16).toUpperCase();
1582
- return hex.length === 1 ? '0' + hex : hex;
1583
- }
1584
- function cleanSingleColor(c) {
1585
- return c.replace(/"|'/g, '').trim();
1586
- }
1587
- function rgbToHex(rgb) {
1588
- if (rgb.includes('rgba')) {
1589
- throw Error('not implemented');
1713
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
1714
+ finally {
1715
+ try {
1716
+ if (children_1_1 && !children_1_1.done && (_a = children_1.return)) _a.call(children_1);
1717
+ }
1718
+ finally { if (e_1) throw e_1.error; }
1590
1719
  }
1591
- var _a = __read(rgb
1592
- .replace('rgb', '')
1593
- .replace(/\(|\)/gi, '')
1594
- .split(',')
1595
- .map(function (c) { return parseInt(cleanSingleColor(c), 10); }), 3), _b = _a[0], r = _b === void 0 ? 0 : _b, _c = _a[1], g = _c === void 0 ? 0 : _c, _d = _a[2], b = _d === void 0 ? 0 : _d;
1596
- return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
1720
+ }
1721
+ function normalizePercentage(value) {
1722
+ var _a;
1723
+ return "".concat(parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10), "%");
1597
1724
  }
1598
1725
 
1599
1726
 
1600
1727
  /***/ }),
1601
1728
 
1602
- /***/ 6627:
1729
+ /***/ 7540:
1603
1730
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1604
1731
 
1605
- "use strict";
1606
1732
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1607
- /* harmony export */ "MR": () => (/* binding */ boundMethod)
1733
+ /* harmony export */ "KH": () => (/* binding */ blue30),
1734
+ /* harmony export */ "qi": () => (/* binding */ blue100),
1735
+ /* harmony export */ "pN": () => (/* binding */ gray200),
1736
+ /* harmony export */ "ZM": () => (/* binding */ blue400),
1737
+ /* harmony export */ "de": () => (/* binding */ gray400),
1738
+ /* harmony export */ "Sn": () => (/* binding */ black)
1608
1739
  /* harmony export */ });
1609
- /* unused harmony exports boundClass, default */
1610
- /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
1611
-
1612
-
1613
- function _typeof(obj) {
1614
- if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
1615
- _typeof = function _typeof(obj) {
1616
- return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
1617
- };
1618
- } else {
1619
- _typeof = function _typeof(obj) {
1620
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
1621
- };
1622
- }
1740
+ /* unused harmony exports calculateDomain, generateRangeColor, white, blue25, blue50, blue80, blue90, blue95, blue300, yellow, orange, red, green, gray100, gray300, purple, viola, pink100, pink200, salmon */
1623
1741
 
1624
- return _typeof(obj);
1742
+ function generateRangeColor(len, rangeColors) {
1743
+ if (rangeColors === void 0) { rangeColors = ['#82CA9D', '#f6ea25', '#F7977A']; }
1744
+ var generatedColors = [];
1745
+ if (len === 0) {
1746
+ return undefined;
1747
+ }
1748
+ var colors = scaleLinear(), domain = calculateDomain(rangeColors.length, rangeColors.length), targetDomain = calculateDomain(len, rangeColors.length);
1749
+ colors = colors.domain(domain).range(rangeColors);
1750
+ for (var i = 0; i < len; i++) {
1751
+ generatedColors.push(colors(targetDomain[i]));
1752
+ }
1753
+ return generatedColors;
1625
1754
  }
1626
- /**
1627
- * Return a descriptor removing the value and returning a getter
1628
- * The getter will return a .bind version of the function
1629
- * and memoize the result against a symbol on the instance
1630
- */
1631
-
1755
+ function calculateDomain(len, rangeColorsLength) {
1756
+ var domain = [];
1757
+ domain.push(0);
1758
+ for (var i = 0; i < len - 2; i++) {
1759
+ var num = Number((rangeColorsLength / len) * (i + 1));
1760
+ domain.push(parseFloat(num.toFixed(2)));
1761
+ }
1762
+ domain.push(rangeColorsLength);
1763
+ return domain;
1764
+ }
1765
+ // Keep these in sync with variables.less
1766
+ var white = '#FFFFFF', blue25 = '#eef2f5', blue30 = '#CBD8E0', blue50 = '#AFD1E0', blue80 = '#8FB7CB', blue90 = '#94C2DA', blue95 = '#6E9DB5', blue100 = '#578EA8', blue300 = 'rgb(32, 88, 113)', // #205871
1767
+ blue400 = '#11455C', gray100 = '#FAFAFA', gray200 = '#EBEBEB', gray300 = '#B0B0B0', gray400 = '#717171', yellow = '#FFBB00', orange = '#F38522', red = '#F72200', green = '#309B0A', purple = '#63619F', viola = '#965DA3', pink200 = '#C55795', pink100 = '#E85778', salmon = '#F86752', black = '#222222';
1632
1768
 
1633
- function boundMethod(target, key, descriptor) {
1634
- var fn = descriptor.value;
1635
1769
 
1636
- if (typeof fn !== 'function') {
1637
- throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
1638
- } // In IE11 calling Object.defineProperty has a side-effect of evaluating the
1639
- // getter for the property which is being replaced. This causes infinite
1640
- // recursion and an "Out of stack space" error.
1641
1770
 
1771
+ /***/ }),
1642
1772
 
1643
- var definingProperty = false;
1644
- return {
1645
- configurable: true,
1646
- get: function get() {
1647
- // eslint-disable-next-line no-prototype-builtins
1648
- if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
1649
- return fn;
1650
- }
1773
+ /***/ 2394:
1774
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1651
1775
 
1652
- var boundFn = fn.bind(this);
1653
- definingProperty = true;
1654
- Object.defineProperty(this, key, {
1655
- configurable: true,
1656
- get: function get() {
1657
- return boundFn;
1658
- },
1659
- set: function set(value) {
1660
- fn = value;
1661
- delete this[key];
1776
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1777
+ /* harmony export */ "eR": () => (/* binding */ matchAndFormatRangeLabel),
1778
+ /* harmony export */ "TK": () => (/* binding */ ellipseAndFormat)
1779
+ /* harmony export */ });
1780
+ /* unused harmony exports isStringEmpty, slugify, estimateWordSize, ellipse, formatRange, escapeRegExp, isMatching, splitTextInParts */
1781
+ var __values = (undefined && undefined.__values) || function(o) {
1782
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1783
+ if (m) return m.call(o);
1784
+ if (o && typeof o.length === "number") return {
1785
+ next: function () {
1786
+ if (o && i >= o.length) o = void 0;
1787
+ return { value: o && o[i++], done: !o };
1662
1788
  }
1663
- });
1664
- definingProperty = false;
1665
- return boundFn;
1666
- },
1667
- set: function set(value) {
1668
- fn = value;
1789
+ };
1790
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1791
+ };
1792
+ var __read = (undefined && undefined.__read) || function (o, n) {
1793
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
1794
+ if (!m) return o;
1795
+ var i = m.call(o), r, ar = [], e;
1796
+ try {
1797
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1669
1798
  }
1670
- };
1799
+ catch (error) { e = { error: error }; }
1800
+ finally {
1801
+ try {
1802
+ if (r && !r.done && (m = i["return"])) m.call(i);
1803
+ }
1804
+ finally { if (e) throw e.error; }
1805
+ }
1806
+ return ar;
1807
+ };
1808
+ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
1809
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
1810
+ if (ar || !(i in from)) {
1811
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
1812
+ ar[i] = from[i];
1813
+ }
1814
+ }
1815
+ return to.concat(ar || Array.prototype.slice.call(from));
1816
+ };
1817
+ function isStringEmpty(s) {
1818
+ if (s == null) {
1819
+ return true;
1820
+ }
1821
+ return s.match(/^\s*$/) !== null;
1671
1822
  }
1672
- /**
1673
- * Use boundMethod to bind all methods on the target.prototype
1674
- */
1675
-
1676
- function boundClass(target) {
1677
- // (Using reflect to get all keys including symbols)
1678
- var keys; // Use Reflect if exists
1679
-
1680
- if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
1681
- keys = Reflect.ownKeys(target.prototype);
1682
- } else {
1683
- keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
1684
-
1685
- if (typeof Object.getOwnPropertySymbols === 'function') {
1686
- keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
1823
+ function slugify(text) {
1824
+ var a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;', b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------', p = new RegExp(a.split('').join('|'), 'g');
1825
+ return text
1826
+ .toString()
1827
+ .toLowerCase()
1828
+ .replace(/\s+/g, '-') // Replace spaces with -
1829
+ .replace(p, function (c) { return b.charAt(a.indexOf(c)); }) // Replace special characters
1830
+ .replace(/&/g, '-and-') // Replace & with 'and'
1831
+ .replace(/[^\w-]+/g, '') // Remove all non-word characters
1832
+ .replace(/--+/g, '-') // Replace multiple - with single -
1833
+ .replace(/^-+/, '') // Trim - from start of text
1834
+ .replace(/-+$/, ''); // Trim - from end of text
1835
+ }
1836
+ function estimateWordSize(wordLength, letterPixels, constant) {
1837
+ return wordLength * letterPixels + constant;
1838
+ }
1839
+ function ellipse(input, length) {
1840
+ if (input == null) {
1841
+ return '';
1687
1842
  }
1688
- }
1689
-
1690
- keys.forEach(function (key) {
1691
- // Ignore special case target method
1692
- if (key === 'constructor') {
1693
- return;
1843
+ return input.length > length ? "".concat(input.substr(0, length - 1), "\u2026") : input;
1844
+ }
1845
+ function matchAndFormatRangeLabel(formatter) {
1846
+ return function (label) {
1847
+ var match = /^([\d*]+)-([\d*]+)$/.exec(label);
1848
+ if (match == null) {
1849
+ return label;
1850
+ }
1851
+ return formatRange({
1852
+ from: match[1],
1853
+ to: match[2],
1854
+ }, formatter !== null && formatter !== void 0 ? formatter : (function (v) { return v; }));
1855
+ };
1856
+ }
1857
+ function formatRange(item, formatter) {
1858
+ var _a, _b;
1859
+ var to = item.to === '*' ? '*' : formatter(parseInt((_a = item.to) !== null && _a !== void 0 ? _a : '0', 10)), from = formatter(parseInt((_b = item.from) !== null && _b !== void 0 ? _b : '0', 10));
1860
+ if (from === to) {
1861
+ return "".concat(from);
1862
+ }
1863
+ return "".concat(from, " - ").concat(to);
1864
+ }
1865
+ function ellipseAndFormat(formatter, maxLabelLength) {
1866
+ return function (value) {
1867
+ var strValue = value.toString();
1868
+ if (formatter == null) {
1869
+ return ellipse(strValue, maxLabelLength);
1870
+ }
1871
+ return ellipse("".concat(formatter(strValue)), maxLabelLength);
1872
+ };
1873
+ }
1874
+ function escapeRegExp(input) {
1875
+ // eslint-disable-next-line
1876
+ return input.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
1877
+ }
1878
+ function isMatching(text0, text1) {
1879
+ var e_1, _a;
1880
+ if (text0 == null || text1 == null) {
1881
+ return false;
1882
+ }
1883
+ text0 = text0.toLowerCase();
1884
+ text1 = text1.toLowerCase();
1885
+ if (text1.match(' ') === null) {
1886
+ return text0.match(escapeRegExp(text1)) !== null;
1887
+ }
1888
+ var splitNeedles = text1
1889
+ .split(' ')
1890
+ .filter(function (s) { return !isStringEmpty(s); })
1891
+ .sort(function (a, b) { return b.length - a.length; });
1892
+ try {
1893
+ for (var splitNeedles_1 = __values(splitNeedles), splitNeedles_1_1 = splitNeedles_1.next(); !splitNeedles_1_1.done; splitNeedles_1_1 = splitNeedles_1.next()) {
1894
+ var needle = splitNeedles_1_1.value;
1895
+ if (text0 === needle) {
1896
+ return true;
1897
+ }
1898
+ }
1899
+ }
1900
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
1901
+ finally {
1902
+ try {
1903
+ if (splitNeedles_1_1 && !splitNeedles_1_1.done && (_a = splitNeedles_1.return)) _a.call(splitNeedles_1);
1904
+ }
1905
+ finally { if (e_1) throw e_1.error; }
1906
+ }
1907
+ return false;
1908
+ }
1909
+ function splitTextInParts(needles, text) {
1910
+ var e_2, _a;
1911
+ if (text == null) {
1912
+ return [];
1913
+ }
1914
+ if (needles.match(' ') === null) {
1915
+ var re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');
1916
+ return text.split(re);
1917
+ }
1918
+ var splitNeedles = needles
1919
+ .split(' ')
1920
+ .filter(function (s) { return !isStringEmpty(s); })
1921
+ .sort(function (a, b) { return b.length - a.length; }), ret = [text];
1922
+ try {
1923
+ for (var splitNeedles_2 = __values(splitNeedles), splitNeedles_2_1 = splitNeedles_2.next(); !splitNeedles_2_1.done; splitNeedles_2_1 = splitNeedles_2.next()) {
1924
+ var needle = splitNeedles_2_1.value;
1925
+ var re = new RegExp('(' + needle + ')', 'gi');
1926
+ for (var index = 0; index < ret.length; index++) {
1927
+ var currentText = ret[index];
1928
+ if (isMatching(currentText, escapeRegExp(needles))) {
1929
+ continue;
1930
+ }
1931
+ var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
1932
+ ret.splice.apply(ret, __spreadArray([index, 1], __read(newParts), false));
1933
+ }
1934
+ }
1694
1935
  }
1695
-
1696
- var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
1697
-
1698
- if (typeof descriptor.value === 'function') {
1699
- Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
1936
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
1937
+ finally {
1938
+ try {
1939
+ if (splitNeedles_2_1 && !splitNeedles_2_1.done && (_a = splitNeedles_2.return)) _a.call(splitNeedles_2);
1940
+ }
1941
+ finally { if (e_2) throw e_2.error; }
1700
1942
  }
1701
- });
1702
- return target;
1943
+ return ret;
1703
1944
  }
1704
- function autobind() {
1705
- if (arguments.length === 1) {
1706
- return boundClass.apply(void 0, arguments);
1707
- }
1708
1945
 
1709
- return boundMethod.apply(void 0, arguments);
1710
- }
1711
1946
 
1712
1947
  /***/ }),
1713
1948
 
1714
- /***/ 2766:
1949
+ /***/ 4915:
1715
1950
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1716
1951
 
1717
- "use strict";
1718
-
1719
- // EXPORTS
1720
- __webpack_require__.d(__webpack_exports__, {
1721
- "ZP": () => (/* binding */ color)
1722
- });
1723
-
1724
- // UNUSED EXPORTS: Color, Rgb, brighter, darker, hsl, hslConvert, rgb, rgbConvert
1725
-
1726
- ;// CONCATENATED MODULE: ./node_modules/d3-color/src/define.js
1727
- /* harmony default export */ function src_define(constructor, factory, prototype) {
1728
- constructor.prototype = factory.prototype = prototype;
1729
- prototype.constructor = constructor;
1730
- }
1731
- function extend(parent, definition) {
1732
- var prototype = Object.create(parent.prototype);
1733
-
1734
- for (var key in definition) {
1735
- prototype[key] = definition[key];
1736
- }
1737
-
1738
- return prototype;
1739
- }
1740
- ;// CONCATENATED MODULE: ./node_modules/d3-color/src/color.js
1741
-
1742
- function Color() {}
1743
- var _darker = 0.7;
1744
-
1745
-
1746
- var _brighter = 1 / _darker;
1747
-
1748
-
1749
- var reI = "\\s*([+-]?\\d+)\\s*",
1750
- reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
1751
- reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
1752
- reHex = /^#([0-9a-f]{3,8})$/,
1753
- reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
1754
- reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
1755
- reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
1756
- reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
1757
- reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
1758
- reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
1759
- var named = {
1760
- aliceblue: 0xf0f8ff,
1761
- antiquewhite: 0xfaebd7,
1762
- aqua: 0x00ffff,
1763
- aquamarine: 0x7fffd4,
1764
- azure: 0xf0ffff,
1765
- beige: 0xf5f5dc,
1766
- bisque: 0xffe4c4,
1767
- black: 0x000000,
1768
- blanchedalmond: 0xffebcd,
1769
- blue: 0x0000ff,
1770
- blueviolet: 0x8a2be2,
1771
- brown: 0xa52a2a,
1772
- burlywood: 0xdeb887,
1773
- cadetblue: 0x5f9ea0,
1774
- chartreuse: 0x7fff00,
1775
- chocolate: 0xd2691e,
1776
- coral: 0xff7f50,
1777
- cornflowerblue: 0x6495ed,
1778
- cornsilk: 0xfff8dc,
1779
- crimson: 0xdc143c,
1780
- cyan: 0x00ffff,
1781
- darkblue: 0x00008b,
1782
- darkcyan: 0x008b8b,
1783
- darkgoldenrod: 0xb8860b,
1784
- darkgray: 0xa9a9a9,
1785
- darkgreen: 0x006400,
1786
- darkgrey: 0xa9a9a9,
1787
- darkkhaki: 0xbdb76b,
1788
- darkmagenta: 0x8b008b,
1789
- darkolivegreen: 0x556b2f,
1790
- darkorange: 0xff8c00,
1791
- darkorchid: 0x9932cc,
1792
- darkred: 0x8b0000,
1793
- darksalmon: 0xe9967a,
1794
- darkseagreen: 0x8fbc8f,
1795
- darkslateblue: 0x483d8b,
1796
- darkslategray: 0x2f4f4f,
1797
- darkslategrey: 0x2f4f4f,
1798
- darkturquoise: 0x00ced1,
1799
- darkviolet: 0x9400d3,
1800
- deeppink: 0xff1493,
1801
- deepskyblue: 0x00bfff,
1802
- dimgray: 0x696969,
1803
- dimgrey: 0x696969,
1804
- dodgerblue: 0x1e90ff,
1805
- firebrick: 0xb22222,
1806
- floralwhite: 0xfffaf0,
1807
- forestgreen: 0x228b22,
1808
- fuchsia: 0xff00ff,
1809
- gainsboro: 0xdcdcdc,
1810
- ghostwhite: 0xf8f8ff,
1811
- gold: 0xffd700,
1812
- goldenrod: 0xdaa520,
1813
- gray: 0x808080,
1814
- green: 0x008000,
1815
- greenyellow: 0xadff2f,
1816
- grey: 0x808080,
1817
- honeydew: 0xf0fff0,
1818
- hotpink: 0xff69b4,
1819
- indianred: 0xcd5c5c,
1820
- indigo: 0x4b0082,
1821
- ivory: 0xfffff0,
1822
- khaki: 0xf0e68c,
1823
- lavender: 0xe6e6fa,
1824
- lavenderblush: 0xfff0f5,
1825
- lawngreen: 0x7cfc00,
1826
- lemonchiffon: 0xfffacd,
1827
- lightblue: 0xadd8e6,
1828
- lightcoral: 0xf08080,
1829
- lightcyan: 0xe0ffff,
1830
- lightgoldenrodyellow: 0xfafad2,
1831
- lightgray: 0xd3d3d3,
1832
- lightgreen: 0x90ee90,
1833
- lightgrey: 0xd3d3d3,
1834
- lightpink: 0xffb6c1,
1835
- lightsalmon: 0xffa07a,
1836
- lightseagreen: 0x20b2aa,
1837
- lightskyblue: 0x87cefa,
1838
- lightslategray: 0x778899,
1839
- lightslategrey: 0x778899,
1840
- lightsteelblue: 0xb0c4de,
1841
- lightyellow: 0xffffe0,
1842
- lime: 0x00ff00,
1843
- limegreen: 0x32cd32,
1844
- linen: 0xfaf0e6,
1845
- magenta: 0xff00ff,
1846
- maroon: 0x800000,
1847
- mediumaquamarine: 0x66cdaa,
1848
- mediumblue: 0x0000cd,
1849
- mediumorchid: 0xba55d3,
1850
- mediumpurple: 0x9370db,
1851
- mediumseagreen: 0x3cb371,
1852
- mediumslateblue: 0x7b68ee,
1853
- mediumspringgreen: 0x00fa9a,
1854
- mediumturquoise: 0x48d1cc,
1855
- mediumvioletred: 0xc71585,
1856
- midnightblue: 0x191970,
1857
- mintcream: 0xf5fffa,
1858
- mistyrose: 0xffe4e1,
1859
- moccasin: 0xffe4b5,
1860
- navajowhite: 0xffdead,
1861
- navy: 0x000080,
1862
- oldlace: 0xfdf5e6,
1863
- olive: 0x808000,
1864
- olivedrab: 0x6b8e23,
1865
- orange: 0xffa500,
1866
- orangered: 0xff4500,
1867
- orchid: 0xda70d6,
1868
- palegoldenrod: 0xeee8aa,
1869
- palegreen: 0x98fb98,
1870
- paleturquoise: 0xafeeee,
1871
- palevioletred: 0xdb7093,
1872
- papayawhip: 0xffefd5,
1873
- peachpuff: 0xffdab9,
1874
- peru: 0xcd853f,
1875
- pink: 0xffc0cb,
1876
- plum: 0xdda0dd,
1877
- powderblue: 0xb0e0e6,
1878
- purple: 0x800080,
1879
- rebeccapurple: 0x663399,
1880
- red: 0xff0000,
1881
- rosybrown: 0xbc8f8f,
1882
- royalblue: 0x4169e1,
1883
- saddlebrown: 0x8b4513,
1884
- salmon: 0xfa8072,
1885
- sandybrown: 0xf4a460,
1886
- seagreen: 0x2e8b57,
1887
- seashell: 0xfff5ee,
1888
- sienna: 0xa0522d,
1889
- silver: 0xc0c0c0,
1890
- skyblue: 0x87ceeb,
1891
- slateblue: 0x6a5acd,
1892
- slategray: 0x708090,
1893
- slategrey: 0x708090,
1894
- snow: 0xfffafa,
1895
- springgreen: 0x00ff7f,
1896
- steelblue: 0x4682b4,
1897
- tan: 0xd2b48c,
1898
- teal: 0x008080,
1899
- thistle: 0xd8bfd8,
1900
- tomato: 0xff6347,
1901
- turquoise: 0x40e0d0,
1902
- violet: 0xee82ee,
1903
- wheat: 0xf5deb3,
1904
- white: 0xffffff,
1905
- whitesmoke: 0xf5f5f5,
1906
- yellow: 0xffff00,
1907
- yellowgreen: 0x9acd32
1908
- };
1909
- src_define(Color, color, {
1910
- copy: function copy(channels) {
1911
- return Object.assign(new this.constructor(), this, channels);
1912
- },
1913
- displayable: function displayable() {
1914
- return this.rgb().displayable();
1915
- },
1916
- hex: color_formatHex,
1917
- // Deprecated! Use color.formatHex.
1918
- formatHex: color_formatHex,
1919
- formatHsl: color_formatHsl,
1920
- formatRgb: color_formatRgb,
1921
- toString: color_formatRgb
1922
- });
1923
-
1924
- function color_formatHex() {
1925
- return this.rgb().formatHex();
1926
- }
1952
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1953
+ /* harmony export */ "z8": () => (/* binding */ findChildByComponent),
1954
+ /* harmony export */ "kV": () => (/* binding */ sortObjDesc),
1955
+ /* harmony export */ "d9": () => (/* binding */ clone),
1956
+ /* harmony export */ "vZ": () => (/* binding */ deepEqual)
1957
+ /* harmony export */ });
1958
+ /* unused harmony exports findChildrenByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, getDebouncer, rgbToHex */
1959
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5692);
1960
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
1961
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
1962
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
1963
+ /* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8352);
1964
+ var __read = (undefined && undefined.__read) || function (o, n) {
1965
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
1966
+ if (!m) return o;
1967
+ var i = m.call(o), r, ar = [], e;
1968
+ try {
1969
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1970
+ }
1971
+ catch (error) { e = { error: error }; }
1972
+ finally {
1973
+ try {
1974
+ if (r && !r.done && (m = i["return"])) m.call(i);
1975
+ }
1976
+ finally { if (e) throw e.error; }
1977
+ }
1978
+ return ar;
1979
+ };
1927
1980
 
1928
- function color_formatHsl() {
1929
- return hslConvert(this).formatHsl();
1930
- }
1931
1981
 
1932
- function color_formatRgb() {
1933
- return this.rgb().formatRgb();
1934
- }
1935
1982
 
1936
- function color(format) {
1937
- var m, l;
1938
- format = (format + "").trim().toLowerCase();
1939
- return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
1940
- : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00
1941
- : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
1942
- : l === 4 ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000
1943
- : null // invalid hex
1944
- ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
1945
- : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
1946
- : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
1947
- : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
1948
- : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
1949
- : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
1950
- : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
1951
- : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
1983
+ function findChildrenByComponent(children,
1984
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1985
+ component) {
1986
+ var ret = [];
1987
+ react__WEBPACK_IMPORTED_MODULE_1___default().Children.forEach(children, function (element) {
1988
+ if ((element === null || element === void 0 ? void 0 : element.type) === component) {
1989
+ ret.push(element);
1990
+ }
1991
+ });
1992
+ return ret;
1952
1993
  }
1953
-
1954
- function rgbn(n) {
1955
- return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
1994
+ function findChildByComponent(children,
1995
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1996
+ component) {
1997
+ var _a, _b;
1998
+ return (_b = (_a = findChildrenByComponent(children, component)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
1956
1999
  }
1957
-
1958
- function rgba(r, g, b, a) {
1959
- if (a <= 0) r = g = b = NaN;
1960
- return new Rgb(r, g, b, a);
2000
+ function hasChildIconOrCheckboxComponent(children) {
2001
+ var ret = false;
2002
+ React.Children.forEach(children, function (element) {
2003
+ if ((element === null || element === void 0 ? void 0 : element.type) != null &&
2004
+ ((element === null || element === void 0 ? void 0 : element.type) === FontAwesomeIcon || (element === null || element === void 0 ? void 0 : element.type) === 'i' || (element === null || element === void 0 ? void 0 : element.type) === Form.Checkbox)) {
2005
+ ret = true;
2006
+ return;
2007
+ }
2008
+ });
2009
+ return ret;
1961
2010
  }
1962
-
1963
- function rgbConvert(o) {
1964
- if (!(o instanceof Color)) o = color(o);
1965
- if (!o) return new Rgb();
1966
- o = o.rgb();
1967
- return new Rgb(o.r, o.g, o.b, o.opacity);
2011
+ function scrollToTop() {
2012
+ window.scrollTo(0, 0);
1968
2013
  }
1969
- function rgb(r, g, b, opacity) {
1970
- return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
2014
+ function zip(arr1, arr2) {
2015
+ var ret = [];
2016
+ var i = 0;
2017
+ while (arr1[i]) {
2018
+ ret.push(arr1[i]);
2019
+ ret.push(arr2[i++]);
2020
+ }
2021
+ return ret;
1971
2022
  }
1972
- function Rgb(r, g, b, opacity) {
1973
- this.r = +r;
1974
- this.g = +g;
1975
- this.b = +b;
1976
- this.opacity = +opacity;
2023
+ // eslint-disable-next-line @typescript-eslint/ban-types
2024
+ function sortObjDesc(accessor) {
2025
+ return function (a, b) {
2026
+ var leftVal = 0, rightVal = 0;
2027
+ if ((a === null || a === void 0 ? void 0 : a[accessor]) != null) {
2028
+ leftVal = a === null || a === void 0 ? void 0 : a[accessor];
2029
+ }
2030
+ if ((b === null || b === void 0 ? void 0 : b[accessor]) != null) {
2031
+ rightVal = b === null || b === void 0 ? void 0 : b[accessor];
2032
+ }
2033
+ return leftVal > rightVal ? -1 : 1;
2034
+ };
1977
2035
  }
1978
- src_define(Rgb, rgb, extend(Color, {
1979
- brighter: function brighter(k) {
1980
- k = k == null ? _brighter : Math.pow(_brighter, k);
1981
- return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1982
- },
1983
- darker: function darker(k) {
1984
- k = k == null ? _darker : Math.pow(_darker, k);
1985
- return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1986
- },
1987
- rgb: function rgb() {
1988
- return this;
1989
- },
1990
- displayable: function displayable() {
1991
- return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
1992
- },
1993
- hex: rgb_formatHex,
1994
- // Deprecated! Use color.formatHex.
1995
- formatHex: rgb_formatHex,
1996
- formatRgb: rgb_formatRgb,
1997
- toString: rgb_formatRgb
1998
- }));
1999
-
2000
- function rgb_formatHex() {
2001
- return "#" + hex(this.r) + hex(this.g) + hex(this.b);
2036
+ function clone(ob) {
2037
+ return JSON.parse(JSON.stringify(ob));
2002
2038
  }
2003
-
2004
- function rgb_formatRgb() {
2005
- var a = this.opacity;
2006
- a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
2007
- return (a === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? ")" : ", " + a + ")");
2039
+ function getDebouncer(delay) {
2040
+ if (delay === void 0) { delay = 1; }
2041
+ var debounceTimeout = null;
2042
+ return function debounce(f) {
2043
+ if (debounceTimeout !== null) {
2044
+ clearTimeout(debounceTimeout);
2045
+ }
2046
+ debounceTimeout = window.setTimeout(f, delay);
2047
+ };
2008
2048
  }
2009
-
2010
- function hex(value) {
2011
- value = Math.max(0, Math.min(255, Math.round(value) || 0));
2012
- return (value < 16 ? "0" : "") + value.toString(16);
2049
+ function isObject(obj) {
2050
+ return typeof obj === 'object' && obj != null;
2013
2051
  }
2014
-
2015
- function hsla(h, s, l, a) {
2016
- if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;
2017
- return new Hsl(h, s, l, a);
2052
+ function deepEqual(obj1, obj2) {
2053
+ if (obj1 === obj2) {
2054
+ return true;
2055
+ }
2056
+ if (isObject(obj1) && isObject(obj2)) {
2057
+ if (Object.keys(obj1).length !== Object.keys(obj2).length) {
2058
+ return false;
2059
+ }
2060
+ for (var prop in obj1) {
2061
+ if (!deepEqual(obj1[prop], obj2[prop])) {
2062
+ return false;
2063
+ }
2064
+ }
2065
+ return true;
2066
+ }
2067
+ return false;
2018
2068
  }
2019
-
2020
- function hslConvert(o) {
2021
- if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
2022
- if (!(o instanceof Color)) o = color(o);
2023
- if (!o) return new Hsl();
2024
- if (o instanceof Hsl) return o;
2025
- o = o.rgb();
2026
- var r = o.r / 255,
2027
- g = o.g / 255,
2028
- b = o.b / 255,
2029
- min = Math.min(r, g, b),
2030
- max = Math.max(r, g, b),
2031
- h = NaN,
2032
- s = max - min,
2033
- l = (max + min) / 2;
2034
-
2035
- if (s) {
2036
- if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;
2037
- s /= l < 0.5 ? max + min : 2 - max - min;
2038
- h *= 60;
2039
- } else {
2040
- s = l > 0 && l < 1 ? 0 : h;
2041
- }
2042
-
2043
- return new Hsl(h, s, l, o.opacity);
2069
+ function componentToHex(c) {
2070
+ if (isNaN(c)) {
2071
+ throw Error('The color has not been written correctly');
2072
+ }
2073
+ var hex = c.toString(16).toUpperCase();
2074
+ return hex.length === 1 ? '0' + hex : hex;
2044
2075
  }
2045
- function hsl(h, s, l, opacity) {
2046
- return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
2076
+ function cleanSingleColor(c) {
2077
+ return c.replace(/"|'/g, '').trim();
2047
2078
  }
2048
-
2049
- function Hsl(h, s, l, opacity) {
2050
- this.h = +h;
2051
- this.s = +s;
2052
- this.l = +l;
2053
- this.opacity = +opacity;
2079
+ function rgbToHex(rgb) {
2080
+ if (rgb.includes('rgba')) {
2081
+ throw Error('not implemented');
2082
+ }
2083
+ var _a = __read(rgb
2084
+ .replace('rgb', '')
2085
+ .replace(/\(|\)/gi, '')
2086
+ .split(',')
2087
+ .map(function (c) { return parseInt(cleanSingleColor(c), 10); }), 3), _b = _a[0], r = _b === void 0 ? 0 : _b, _c = _a[1], g = _c === void 0 ? 0 : _c, _d = _a[2], b = _d === void 0 ? 0 : _d;
2088
+ return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
2054
2089
  }
2055
2090
 
2056
- src_define(Hsl, hsl, extend(Color, {
2057
- brighter: function brighter(k) {
2058
- k = k == null ? _brighter : Math.pow(_brighter, k);
2059
- return new Hsl(this.h, this.s, this.l * k, this.opacity);
2060
- },
2061
- darker: function darker(k) {
2062
- k = k == null ? _darker : Math.pow(_darker, k);
2063
- return new Hsl(this.h, this.s, this.l * k, this.opacity);
2064
- },
2065
- rgb: function rgb() {
2066
- var h = this.h % 360 + (this.h < 0) * 360,
2067
- s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
2068
- l = this.l,
2069
- m2 = l + (l < 0.5 ? l : 1 - l) * s,
2070
- m1 = 2 * l - m2;
2071
- return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
2072
- },
2073
- displayable: function displayable() {
2074
- return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2075
- },
2076
- formatHsl: function formatHsl() {
2077
- var a = this.opacity;
2078
- a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
2079
- return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
2080
- }
2081
- }));
2082
- /* From FvD 13.37, CSS Color Module Level 3 */
2083
-
2084
- function hsl2rgb(h, m1, m2) {
2085
- return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
2086
- }
2087
2091
 
2088
2092
  /***/ }),
2089
2093
 
2090
2094
  /***/ 3402:
2091
2095
  /***/ ((module) => {
2092
2096
 
2093
- "use strict";
2094
2097
  module.exports = __WEBPACK_EXTERNAL_MODULE__3402__;
2095
2098
 
2096
2099
  /***/ }),
@@ -2098,7 +2101,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__3402__;
2098
2101
  /***/ 5692:
2099
2102
  /***/ ((module) => {
2100
2103
 
2101
- "use strict";
2102
2104
  module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
2103
2105
 
2104
2106
  /***/ }),
@@ -2106,7 +2108,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
2106
2108
  /***/ 2895:
2107
2109
  /***/ ((module) => {
2108
2110
 
2109
- "use strict";
2110
2111
  module.exports = __WEBPACK_EXTERNAL_MODULE__2895__;
2111
2112
 
2112
2113
  /***/ }),
@@ -2114,7 +2115,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2895__;
2114
2115
  /***/ 5521:
2115
2116
  /***/ ((module) => {
2116
2117
 
2117
- "use strict";
2118
2118
  module.exports = __WEBPACK_EXTERNAL_MODULE__5521__;
2119
2119
 
2120
2120
  /***/ }),
@@ -2122,7 +2122,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5521__;
2122
2122
  /***/ 8310:
2123
2123
  /***/ ((module) => {
2124
2124
 
2125
- "use strict";
2126
2125
  module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
2127
2126
 
2128
2127
  /***/ }),
@@ -2130,7 +2129,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
2130
2129
  /***/ 8156:
2131
2130
  /***/ ((module) => {
2132
2131
 
2133
- "use strict";
2134
2132
  module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
2135
2133
 
2136
2134
  /***/ }),
@@ -2138,7 +2136,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
2138
2136
  /***/ 8721:
2139
2137
  /***/ ((module) => {
2140
2138
 
2141
- "use strict";
2142
2139
  module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
2143
2140
 
2144
2141
  /***/ }),
@@ -2146,7 +2143,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
2146
2143
  /***/ 1082:
2147
2144
  /***/ ((module) => {
2148
2145
 
2149
- "use strict";
2150
2146
  module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
2151
2147
 
2152
2148
  /***/ }),
@@ -2154,7 +2150,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
2154
2150
  /***/ 8763:
2155
2151
  /***/ ((module) => {
2156
2152
 
2157
- "use strict";
2158
2153
  module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
2159
2154
 
2160
2155
  /***/ }),
@@ -2162,24 +2157,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
2162
2157
  /***/ 4329:
2163
2158
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
2164
2159
 
2165
- "use strict";
2166
2160
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2167
2161
  /* harmony export */ "Z": () => (/* binding */ _typeof)
2168
2162
  /* harmony export */ });
2169
2163
  function _typeof(obj) {
2170
2164
  "@babel/helpers - typeof";
2171
2165
 
2172
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
2173
- _typeof = function _typeof(obj) {
2174
- return typeof obj;
2175
- };
2176
- } else {
2177
- _typeof = function _typeof(obj) {
2178
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2179
- };
2180
- }
2181
-
2182
- return _typeof(obj);
2166
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
2167
+ return typeof obj;
2168
+ } : function (obj) {
2169
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2170
+ }, _typeof(obj);
2183
2171
  }
2184
2172
 
2185
2173
  /***/ })
@@ -2298,7 +2286,7 @@ function _typeof(obj) {
2298
2286
  /******/ 8016: 0,
2299
2287
  /******/ 410: 0,
2300
2288
  /******/ 9811: 0,
2301
- /******/ 2210: 0
2289
+ /******/ 6999: 0
2302
2290
  /******/ };
2303
2291
  /******/
2304
2292
  /******/ // no chunk on demand loading
@@ -2348,7 +2336,7 @@ function _typeof(obj) {
2348
2336
  /******/ // startup
2349
2337
  /******/ // Load entry module and return exports
2350
2338
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
2351
- /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [2210], () => (__webpack_require__(4964)))
2339
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(9825)))
2352
2340
  /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
2353
2341
  /******/
2354
2342
  /******/ return __webpack_exports__;