@spaziodati/atoka-design-system 2.0.72-beta

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 (294) hide show
  1. package/AddableItems/AddableItems.d.ts +72 -0
  2. package/AddableItems/ClickableExcludableItem.d.ts +23 -0
  3. package/AddableItems/ClickableItemList.d.ts +32 -0
  4. package/AddableItems/index.d.ts +1 -0
  5. package/AddableItems/index.js +1046 -0
  6. package/AddableItems/index.js.map +1 -0
  7. package/Alert/Alert.d.ts +37 -0
  8. package/Alert/index.d.ts +1 -0
  9. package/Alert/index.js +319 -0
  10. package/Alert/index.js.map +1 -0
  11. package/Badge/Badge.d.ts +38 -0
  12. package/Badge/index.d.ts +1 -0
  13. package/Badge/index.js +285 -0
  14. package/Badge/index.js.map +1 -0
  15. package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +7 -0
  16. package/Bs4V3Wrapper/StoryWrapper.d.ts +8 -0
  17. package/Bs4V3Wrapper/index.d.ts +1 -0
  18. package/Bs4V3Wrapper/index.js +251 -0
  19. package/Bs4V3Wrapper/index.js.map +1 -0
  20. package/BubbleChart/BubbleChart.d.ts +33 -0
  21. package/BubbleChart/BubbleChartUI.d.ts +31 -0
  22. package/BubbleChart/index.d.ts +1 -0
  23. package/BubbleChart/index.js +3793 -0
  24. package/BubbleChart/index.js.map +1 -0
  25. package/Button/Button.d.ts +29 -0
  26. package/Button/Button.storiesConfig.d.ts +68 -0
  27. package/Button/index.d.ts +1 -0
  28. package/Button/index.js +323 -0
  29. package/Button/index.js.map +1 -0
  30. package/ButtonDropdown/ButtonDropdown.d.ts +23 -0
  31. package/ButtonDropdown/index.d.ts +2 -0
  32. package/ButtonDropdown/index.js +603 -0
  33. package/ButtonDropdown/index.js.map +1 -0
  34. package/CardsPage/CardsPage.d.ts +12 -0
  35. package/CardsPage/CardsPageActions.d.ts +2 -0
  36. package/CardsPage/CardsPageCards.d.ts +5 -0
  37. package/CardsPage/CardsPageCardsCounter.d.ts +7 -0
  38. package/CardsPage/CardsPageFilters.d.ts +3 -0
  39. package/CardsPage/CardsPageHeader.d.ts +11 -0
  40. package/CardsPage/CardsPageLayoutMode.d.ts +13 -0
  41. package/CardsPage/CardsPageSelectionActions.d.ts +17 -0
  42. package/CardsPage/CardsPageSelectionToggler.d.ts +8 -0
  43. package/CardsPage/CardsPageSorting.d.ts +15 -0
  44. package/CardsPage/CardsPageSubtitle.d.ts +2 -0
  45. package/CardsPage/CardsPageTabContent.d.ts +19 -0
  46. package/CardsPage/CardsPageTabSwitcher.d.ts +3 -0
  47. package/CardsPage/CardsPageTitle.d.ts +2 -0
  48. package/CardsPage/index.d.ts +2 -0
  49. package/CardsPage/index.js +2511 -0
  50. package/CardsPage/index.js.map +1 -0
  51. package/CursorPagination/CursorPagination.d.ts +21 -0
  52. package/CursorPagination/index.d.ts +1 -0
  53. package/CursorPagination/index.js +952 -0
  54. package/CursorPagination/index.js.map +1 -0
  55. package/DatePicker/DatePicker.d.ts +27 -0
  56. package/DatePicker/index.d.ts +1 -0
  57. package/DatePicker/index.js +452 -0
  58. package/DatePicker/index.js.map +1 -0
  59. package/DetailPage/DetailPage.d.ts +18 -0
  60. package/DetailPage/DetailPageBodyContainer.d.ts +2 -0
  61. package/DetailPage/DetailPageBodySection.d.ts +3 -0
  62. package/DetailPage/DetailPageHeaderContainer.d.ts +7 -0
  63. package/DetailPage/DetailPageHeaderUI.d.ts +12 -0
  64. package/DetailPage/DetailPageMenuContainer.d.ts +2 -0
  65. package/DetailPage/DetailPageMenuUI.d.ts +4 -0
  66. package/DetailPage/index.d.ts +1 -0
  67. package/DetailPage/index.js +2066 -0
  68. package/DetailPage/index.js.map +1 -0
  69. package/Dropdown/AtokaDropdownToggles.d.ts +11 -0
  70. package/Dropdown/Dropdown.d.ts +12 -0
  71. package/Dropdown/DropdownMenu.d.ts +7 -0
  72. package/Dropdown/index.d.ts +3 -0
  73. package/Dropdown/index.js +723 -0
  74. package/Dropdown/index.js.map +1 -0
  75. package/EditableString/EditableString.d.ts +42 -0
  76. package/EditableString/index.d.ts +1 -0
  77. package/EditableString/index.js +3321 -0
  78. package/EditableString/index.js.map +1 -0
  79. package/EllipsableContent/EllipsableContent.d.ts +18 -0
  80. package/EllipsableContent/index.d.ts +1 -0
  81. package/EllipsableContent/index.js +784 -0
  82. package/EllipsableContent/index.js.map +1 -0
  83. package/EmptyState/EmptyState.d.ts +12 -0
  84. package/EmptyState/index.d.ts +1 -0
  85. package/EmptyState/index.js +278 -0
  86. package/EmptyState/index.js.map +1 -0
  87. package/Facet/Facet.d.ts +21 -0
  88. package/Facet/FacetHelp.d.ts +28 -0
  89. package/Facet/FacetItemCount.d.ts +7 -0
  90. package/Facet/FacetSubtitle.d.ts +2 -0
  91. package/Facet/index.d.ts +1 -0
  92. package/Facet/index.js +914 -0
  93. package/Facet/index.js.map +1 -0
  94. package/FacetSection/FacetSection.d.ts +21 -0
  95. package/FacetSection/index.d.ts +1 -0
  96. package/FacetSection/index.js +443 -0
  97. package/FacetSection/index.js.map +1 -0
  98. package/FadeAnimation/FadeAnimation.d.ts +14 -0
  99. package/FadeAnimation/index.d.ts +1 -0
  100. package/FadeAnimation/index.js +1228 -0
  101. package/FadeAnimation/index.js.map +1 -0
  102. package/FeedbackButton/FeedbackButton.d.ts +19 -0
  103. package/FeedbackButton/index.d.ts +1 -0
  104. package/FeedbackButton/index.js +398 -0
  105. package/FeedbackButton/index.js.map +1 -0
  106. package/Form/Form.d.ts +23 -0
  107. package/Form/FormCheckbox.d.ts +10 -0
  108. package/Form/FormControl.d.ts +23 -0
  109. package/Form/FormControlFeedBack.d.ts +6 -0
  110. package/Form/FormHelp.d.ts +7 -0
  111. package/Form/FormLabel.d.ts +4 -0
  112. package/Form/FormRadio.d.ts +10 -0
  113. package/Form/index.d.ts +1 -0
  114. package/Form/index.js +450 -0
  115. package/Form/index.js.map +1 -0
  116. package/Funnel/Funnel.d.ts +54 -0
  117. package/Funnel/SVGDataLabel.d.ts +11 -0
  118. package/Funnel/index.d.ts +1 -0
  119. package/Funnel/index.js +3997 -0
  120. package/Funnel/index.js.map +1 -0
  121. package/GridCard/Fixtures.d.ts +3 -0
  122. package/GridCard/GridCard.d.ts +20 -0
  123. package/GridCard/GridCardContent.d.ts +2 -0
  124. package/GridCard/GridCardFooter.d.ts +2 -0
  125. package/GridCard/GridCardHeader.d.ts +14 -0
  126. package/GridCard/GridCardMenu.d.ts +2 -0
  127. package/GridCard/GridCardTags.d.ts +2 -0
  128. package/GridCard/GridCardTitle.d.ts +6 -0
  129. package/GridCard/index.d.ts +1 -0
  130. package/GridCard/index.js +1618 -0
  131. package/GridCard/index.js.map +1 -0
  132. package/HighlightableText/HighlightableText.d.ts +21 -0
  133. package/HighlightableText/index.d.ts +1 -0
  134. package/HighlightableText/index.js +624 -0
  135. package/HighlightableText/index.js.map +1 -0
  136. package/Histogram/Histogram.d.ts +126 -0
  137. package/Histogram/Types.d.ts +19 -0
  138. package/Histogram/index.d.ts +1 -0
  139. package/Histogram/index.js +2359 -0
  140. package/Histogram/index.js.map +1 -0
  141. package/InlineStringEditor/InlineStringEditor.d.ts +49 -0
  142. package/InlineStringEditor/index.d.ts +1 -0
  143. package/InlineStringEditor/index.js +1882 -0
  144. package/InlineStringEditor/index.js.map +1 -0
  145. package/InputGroup/InputGroup.d.ts +16 -0
  146. package/InputGroup/InputGroupText.d.ts +2 -0
  147. package/InputGroup/index.d.ts +1 -0
  148. package/InputGroup/index.js +279 -0
  149. package/InputGroup/index.js.map +1 -0
  150. package/Jumbotron/Jumbotron.d.ts +16 -0
  151. package/Jumbotron/index.d.ts +1 -0
  152. package/Jumbotron/index.js +270 -0
  153. package/Jumbotron/index.js.map +1 -0
  154. package/Map/Map.d.ts +27 -0
  155. package/Map/MapChoropleth.d.ts +31 -0
  156. package/Map/MapControl.d.ts +13 -0
  157. package/Map/MapLegendContent.d.ts +27 -0
  158. package/Map/MapPopup.d.ts +5 -0
  159. package/Map/MapUtils.d.ts +2 -0
  160. package/Map/Types.d.ts +38 -0
  161. package/Map/index.d.ts +2 -0
  162. package/Map/index.js +4810 -0
  163. package/Map/index.js.map +1 -0
  164. package/Modal/Modal.d.ts +32 -0
  165. package/Modal/index.d.ts +1 -0
  166. package/Modal/index.js +743 -0
  167. package/Modal/index.js.map +1 -0
  168. package/Navbar/Navbar.d.ts +42 -0
  169. package/Navbar/NavbarMobileMenuCollapse.d.ts +3 -0
  170. package/Navbar/NavbarMobileMenuToggle.d.ts +3 -0
  171. package/Navbar/NavbarNavigationMenu.d.ts +9 -0
  172. package/Navbar/NavbarNavigationMenuItem.d.ts +9 -0
  173. package/Navbar/NavbarNinjaMenu.d.ts +6 -0
  174. package/Navbar/NavbarNinjaMenuItem.d.ts +6 -0
  175. package/Navbar/NavbarNotificationMenu.d.ts +12 -0
  176. package/Navbar/NavbarNotificationMenuItem.d.ts +8 -0
  177. package/Navbar/NavbarOverlaySearch.d.ts +28 -0
  178. package/Navbar/NavbarOverlaySearchCard.d.ts +9 -0
  179. package/Navbar/NavbarOverlaySearchResults.d.ts +12 -0
  180. package/Navbar/NavbarUserMenu.d.ts +9 -0
  181. package/Navbar/NavbarUserMenuItem.d.ts +6 -0
  182. package/Navbar/index.d.ts +1 -0
  183. package/Navbar/index.js +3521 -0
  184. package/Navbar/index.js.map +1 -0
  185. package/Pagination/Pagination.d.ts +27 -0
  186. package/Pagination/PaginationNext.d.ts +7 -0
  187. package/Pagination/PaginationPrev.d.ts +7 -0
  188. package/Pagination/index.d.ts +1 -0
  189. package/Pagination/index.js +994 -0
  190. package/Pagination/index.js.map +1 -0
  191. package/PieChart/PieChart.d.ts +71 -0
  192. package/PieChart/index.d.ts +1 -0
  193. package/PieChart/index.js +1986 -0
  194. package/PieChart/index.js.map +1 -0
  195. package/PublicFooter/PublicFooter.d.ts +6 -0
  196. package/PublicFooter/index.d.ts +1 -0
  197. package/PublicFooter/index.js +454 -0
  198. package/PublicFooter/index.js.map +1 -0
  199. package/PublicNavbar/PublicNavbar.d.ts +6 -0
  200. package/PublicNavbar/index.d.ts +1 -0
  201. package/PublicNavbar/index.js +255 -0
  202. package/PublicNavbar/index.js.map +1 -0
  203. package/RecordBit/RecordBit.d.ts +14 -0
  204. package/RecordBit/index.d.ts +1 -0
  205. package/RecordBit/index.js +482 -0
  206. package/RecordBit/index.js.map +1 -0
  207. package/ResultItemCard/ResultItemCard.d.ts +19 -0
  208. package/ResultItemCard/ResultItemCardActions.d.ts +3 -0
  209. package/ResultItemCard/ResultItemCardFooter.d.ts +6 -0
  210. package/ResultItemCard/ResultItemCardImage.d.ts +6 -0
  211. package/ResultItemCard/ResultItemCardSubtitle.d.ts +6 -0
  212. package/ResultItemCard/ResultItemCardText.d.ts +7 -0
  213. package/ResultItemCard/ResultItemCardTitle.d.ts +7 -0
  214. package/ResultItemCard/index.d.ts +1 -0
  215. package/ResultItemCard/index.js +1067 -0
  216. package/ResultItemCard/index.js.map +1 -0
  217. package/SelectDropdown/SelectDropdown.d.ts +29 -0
  218. package/SelectDropdown/index.d.ts +1 -0
  219. package/SelectDropdown/index.js +1520 -0
  220. package/SelectDropdown/index.js.map +1 -0
  221. package/Spinner/Spinner.d.ts +32 -0
  222. package/Spinner/index.d.ts +1 -0
  223. package/Spinner/index.js +325 -0
  224. package/Spinner/index.js.map +1 -0
  225. package/StatisticsItemCard/StatisticsItemCard.d.ts +35 -0
  226. package/StatisticsItemCard/index.d.ts +1 -0
  227. package/StatisticsItemCard/index.js +1786 -0
  228. package/StatisticsItemCard/index.js.map +1 -0
  229. package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +18 -0
  230. package/StatisticsItemNumeric/index.d.ts +1 -0
  231. package/StatisticsItemNumeric/index.js +283 -0
  232. package/StatisticsItemNumeric/index.js.map +1 -0
  233. package/StatisticsLegend/StatisticsLegend.d.ts +35 -0
  234. package/StatisticsLegend/StatisticsLegendItem.d.ts +50 -0
  235. package/StatisticsLegend/StatisticsSVGLegend.d.ts +26 -0
  236. package/StatisticsLegend/helpers.d.ts +19 -0
  237. package/StatisticsLegend/index.d.ts +3 -0
  238. package/StatisticsLegend/index.js +1571 -0
  239. package/StatisticsLegend/index.js.map +1 -0
  240. package/StatisticsTooltip/StatisticsTooltip.d.ts +20 -0
  241. package/StatisticsTooltip/helpers.d.ts +19 -0
  242. package/StatisticsTooltip/index.d.ts +2 -0
  243. package/StatisticsTooltip/index.js +796 -0
  244. package/StatisticsTooltip/index.js.map +1 -0
  245. package/Suggester/CustomOption.d.ts +29 -0
  246. package/Suggester/InputValueContainer.d.ts +11 -0
  247. package/Suggester/Suggester.d.ts +80 -0
  248. package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +6 -0
  249. package/Suggester/index.d.ts +3 -0
  250. package/Suggester/index.js +1126 -0
  251. package/Suggester/index.js.map +1 -0
  252. package/SunBurst/SunBurst.d.ts +61 -0
  253. package/SunBurst/index.d.ts +2 -0
  254. package/SunBurst/index.js +1170 -0
  255. package/SunBurst/index.js.map +1 -0
  256. package/TabSwitcher/TabSwitcher.d.ts +35 -0
  257. package/TabSwitcher/TabSwitcherChoice.d.ts +21 -0
  258. package/TabSwitcher/index.d.ts +1 -0
  259. package/TabSwitcher/index.js +1135 -0
  260. package/TabSwitcher/index.js.map +1 -0
  261. package/Title/Title.d.ts +16 -0
  262. package/Title/index.d.ts +1 -0
  263. package/Title/index.js +302 -0
  264. package/Title/index.js.map +1 -0
  265. package/ToggleButtonGroup/ToggleButton.d.ts +15 -0
  266. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +24 -0
  267. package/ToggleButtonGroup/index.d.ts +1 -0
  268. package/ToggleButtonGroup/index.js +609 -0
  269. package/ToggleButtonGroup/index.js.map +1 -0
  270. package/Tooltip/Tooltip.d.ts +20 -0
  271. package/Tooltip/index.d.ts +1 -0
  272. package/Tooltip/index.js +291 -0
  273. package/Tooltip/index.js.map +1 -0
  274. package/Utils/CommonTypes.d.ts +29 -0
  275. package/Utils/Statistics.d.ts +3 -0
  276. package/Utils/Style.d.ts +5 -0
  277. package/Utils/Text.d.ts +12 -0
  278. package/Utils/Utils.d.ts +12 -0
  279. package/Utils/index.d.ts +5 -0
  280. package/Utils/index.js +3379 -0
  281. package/Utils/index.js.map +1 -0
  282. package/atoka-design-system-2.0.72-beta.min.css +1 -0
  283. package/commonFixtures.d.ts +1 -0
  284. package/index.d.ts +51 -0
  285. package/index.js +15343 -0
  286. package/index.js.map +1 -0
  287. package/package.json +157 -0
  288. package/styles/animations-mixin.less +28 -0
  289. package/styles/atoka-bootstrap-fixed-mixins.less +81 -0
  290. package/styles/atoka-bootstrap-variables.less +70 -0
  291. package/styles/atoka-bs.less +99 -0
  292. package/styles/atoka-namespaced-bs.less +28 -0
  293. package/styles/variables.less +106 -0
  294. package/styles/variant-mixins.less +96 -0
@@ -0,0 +1,3793 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("@fortawesome/react-fontawesome"), require("@nivo/circle-packing"), require("classnames"), require("react"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["@fortawesome/react-fontawesome", "@nivo/circle-packing", "classnames", "react", "react-bootstrap/Form", "react-bootstrap/FormControl", "react-bootstrap/FormText"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("@fortawesome/react-fontawesome"), require("@nivo/circle-packing"), require("classnames"), require("react"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["@fortawesome/react-fontawesome"], root["@nivo/circle-packing"], root["classnames"], root["react"], root["react-bootstrap/Form"], root["react-bootstrap/FormControl"], root["react-bootstrap/FormText"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__3741__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 2174:
15
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
+
17
+ "use strict";
18
+ // ESM COMPAT FLAG
19
+ __webpack_require__.r(__webpack_exports__);
20
+
21
+ // EXPORTS
22
+ __webpack_require__.d(__webpack_exports__, {
23
+ "BubbleChart": () => (/* reexport */ BubbleChart),
24
+ "BubbleChartDataPoint": () => (/* reexport */ BubbleChart_namespaceObject.BubbleChartDataPoint),
25
+ "BubbleChartTooltip": () => (/* reexport */ BubbleChart_namespaceObject.BubbleChartTooltip)
26
+ });
27
+
28
+ // NAMESPACE OBJECT: ./src/components/BubbleChart/BubbleChart.tsx
29
+ var BubbleChart_namespaceObject = {};
30
+ __webpack_require__.r(BubbleChart_namespaceObject);
31
+ __webpack_require__.d(BubbleChart_namespaceObject, {
32
+ "O": () => (BubbleChart)
33
+ });
34
+
35
+ // EXTERNAL MODULE: external "react"
36
+ var external_react_ = __webpack_require__(8156);
37
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
38
+ // EXTERNAL MODULE: ./src/components/Utils/Style.ts
39
+ var Style = __webpack_require__(2755);
40
+ // EXTERNAL MODULE: ./src/components/StatisticsTooltip/index.ts + 1 modules
41
+ var StatisticsTooltip = __webpack_require__(8805);
42
+ // EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
43
+ var Statistics = __webpack_require__(5258);
44
+ // EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
45
+ var Utils = __webpack_require__(5654);
46
+ // EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
47
+ var esm = __webpack_require__(6627);
48
+ // EXTERNAL MODULE: external "@nivo/circle-packing"
49
+ var circle_packing_ = __webpack_require__(3741);
50
+ // EXTERNAL MODULE: external "classnames"
51
+ var external_classnames_ = __webpack_require__(8310);
52
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
53
+ // EXTERNAL MODULE: ./src/components/Utils/Text.ts
54
+ var Text = __webpack_require__(6347);
55
+ ;// CONCATENATED MODULE: ./src/components/BubbleChart/BubbleChartUI.tsx
56
+ var __extends = (undefined && undefined.__extends) || (function () {
57
+ var extendStatics = function (d, b) {
58
+ extendStatics = Object.setPrototypeOf ||
59
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
60
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
61
+ return extendStatics(d, b);
62
+ };
63
+ return function (d, b) {
64
+ extendStatics(d, b);
65
+ function __() { this.constructor = d; }
66
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
67
+ };
68
+ })();
69
+ var __assign = (undefined && undefined.__assign) || function () {
70
+ __assign = Object.assign || function(t) {
71
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
72
+ s = arguments[i];
73
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
74
+ t[p] = s[p];
75
+ }
76
+ return t;
77
+ };
78
+ return __assign.apply(this, arguments);
79
+ };
80
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
81
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
82
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
83
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
84
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
85
+ };
86
+ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
87
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
88
+ };
89
+
90
+
91
+
92
+
93
+
94
+
95
+ var BubbleChartUI = /** @class */ (function (_super) {
96
+ __extends(BubbleChartUI, _super);
97
+ function BubbleChartUI() {
98
+ var _this = _super !== null && _super.apply(this, arguments) || this;
99
+ _this.defaultLayers = ['circles', 'labels'];
100
+ return _this;
101
+ }
102
+ BubbleChartUI.prototype.getEllipsedLabel = function (radius, input) {
103
+ var maxLetterLength = Math.round((radius * 1.5) / BubbleChartUI.ESTIMATED_LETTER_PIXELS);
104
+ return (0,Text/* ellipse */.Hp)(input, maxLetterLength);
105
+ };
106
+ BubbleChartUI.prototype.renderColor = function (d) {
107
+ var _a, _b, _c, _d;
108
+ // the color will be based on the significance, whereas the circle radius is based on the value
109
+ return (_d = (_b = (_a = this === null || this === void 0 ? void 0 : this.props) === null || _a === void 0 ? void 0 : _a.colors) === null || _b === void 0 ? void 0 : _b[String((_c = d === null || d === void 0 ? void 0 : d.data) === null || _c === void 0 ? void 0 : _c['id'])]) !== null && _d !== void 0 ? _d : Style/* blue300 */.p5;
110
+ };
111
+ BubbleChartUI.prototype.getLabel = function (d) {
112
+ return this.getEllipsedLabel(d.radius, d.data.label);
113
+ };
114
+ BubbleChartUI.prototype.renderContent = function () {
115
+ var _a = this.props, id = _a.id, isCanvas = _a.isCanvas, fontSize = _a.fontSize, commonProps = {
116
+ layers: this.defaultLayers,
117
+ margin: { top: 0, right: 0, bottom: 0, left: 0 },
118
+ data: this.props.data,
119
+ colors: this.renderColor,
120
+ id: id + "-component",
121
+ padding: 4,
122
+ leavesOnly: true,
123
+ tooltip: this.props.renderTooltip,
124
+ enableLabels: true,
125
+ labelTextColor: 'white',
126
+ label: this.getLabel,
127
+ value: this.props.dataValueKey,
128
+ };
129
+ if (isCanvas) {
130
+ var theme = {
131
+ fontSize: fontSize,
132
+ background: '#fff',
133
+ };
134
+ return external_react_default().createElement(circle_packing_.ResponsiveCirclePackingCanvas, __assign({}, commonProps, { theme: theme }));
135
+ }
136
+ return external_react_default().createElement(circle_packing_.ResponsiveCirclePacking, __assign({}, commonProps));
137
+ };
138
+ BubbleChartUI.prototype.render = function () {
139
+ var _a, _b;
140
+ var _c = this.props, id = _c.id, className = _c.className, chartRef = _c.chartRef, size = _c.size, chartWidth = (_a = size === null || size === void 0 ? void 0 : size.width) !== null && _a !== void 0 ? _a : '100%', chartHeight = (_b = size === null || size === void 0 ? void 0 : size.height) !== null && _b !== void 0 ? _b : '100%', classNames = external_classnames_default()('bubble-chart-container d-flex justify-content-center align-items-center', className);
141
+ return (external_react_default().createElement("div", { id: id, className: classNames, ref: chartRef, style: { width: chartWidth, height: chartHeight } }, this.renderContent()));
142
+ };
143
+ var _a, _b;
144
+ BubbleChartUI.displayName = 'BubbleChartUI';
145
+ BubbleChartUI.ESTIMATED_LETTER_PIXELS = 6.2;
146
+ BubbleChartUI.defaultProps = {
147
+ labelSkipRadius: 17,
148
+ dataValueKey: 'significance',
149
+ };
150
+ __decorate([
151
+ esm/* boundMethod */.MR,
152
+ __metadata("design:type", Function),
153
+ __metadata("design:paramtypes", [typeof (_a = typeof circle_packing_.ComputedDatum !== "undefined" && circle_packing_.ComputedDatum) === "function" ? _a : Object]),
154
+ __metadata("design:returntype", String)
155
+ ], BubbleChartUI.prototype, "renderColor", null);
156
+ __decorate([
157
+ esm/* boundMethod */.MR,
158
+ __metadata("design:type", Function),
159
+ __metadata("design:paramtypes", [typeof (_b = typeof circle_packing_.ComputedDatum !== "undefined" && circle_packing_.ComputedDatum) === "function" ? _b : Object]),
160
+ __metadata("design:returntype", String)
161
+ ], BubbleChartUI.prototype, "getLabel", null);
162
+ return BubbleChartUI;
163
+ }((external_react_default()).PureComponent));
164
+
165
+
166
+ ;// CONCATENATED MODULE: ./src/components/BubbleChart/BubbleChart.tsx
167
+ var BubbleChart_extends = (undefined && undefined.__extends) || (function () {
168
+ var extendStatics = function (d, b) {
169
+ extendStatics = Object.setPrototypeOf ||
170
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
171
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
172
+ return extendStatics(d, b);
173
+ };
174
+ return function (d, b) {
175
+ extendStatics(d, b);
176
+ function __() { this.constructor = d; }
177
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
178
+ };
179
+ })();
180
+ var BubbleChart_assign = (undefined && undefined.__assign) || function () {
181
+ BubbleChart_assign = Object.assign || function(t) {
182
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
183
+ s = arguments[i];
184
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
185
+ t[p] = s[p];
186
+ }
187
+ return t;
188
+ };
189
+ return BubbleChart_assign.apply(this, arguments);
190
+ };
191
+ var __read = (undefined && undefined.__read) || function (o, n) {
192
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
193
+ if (!m) return o;
194
+ var i = m.call(o), r, ar = [], e;
195
+ try {
196
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
197
+ }
198
+ catch (error) { e = { error: error }; }
199
+ finally {
200
+ try {
201
+ if (r && !r.done && (m = i["return"])) m.call(i);
202
+ }
203
+ finally { if (e) throw e.error; }
204
+ }
205
+ return ar;
206
+ };
207
+ var __spread = (undefined && undefined.__spread) || function () {
208
+ for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
209
+ return ar;
210
+ };
211
+
212
+
213
+
214
+
215
+
216
+
217
+ /**
218
+ * ### Overview
219
+ *
220
+ * The `BubbleChart` is most useful to display large sets of data.
221
+ * Please note this chart is not suited for tree data structures.
222
+ * Circle colors and size by default derive from the `significance`
223
+ * prop of a given `datapoint`.
224
+ * */
225
+ var BubbleChart = /** @class */ (function (_super) {
226
+ BubbleChart_extends(BubbleChart, _super);
227
+ function BubbleChart() {
228
+ return _super !== null && _super.apply(this, arguments) || this;
229
+ }
230
+ BubbleChart.prototype.shouldComponentUpdate = function (nextProps) {
231
+ return !(0,Utils/* deepEqual */.vZ)(this.props, nextProps);
232
+ };
233
+ BubbleChart.prototype.getComponentSetup = function () {
234
+ var _a, _b, _c, _d;
235
+ var _e = this.props, otherId = _e.otherId, maxBubbleNumber = _e.maxBubbleNumber, data = _e.data, id = _e.id, numberToStringFormatter = _e.numberToStringFormatter, isCanvas = _e.isCanvas, total = _e.total, chartData = __spread((data !== null && data !== void 0 ? data : [])), dataValueKey = (_a = this.props.dataValueKey) !== null && _a !== void 0 ? _a : BubbleChart.defaultDataValueKey, children = this.props.maxBubbleNumber == null
236
+ ? chartData.sort((0,Utils/* sortObjDesc */.kV)(dataValueKey))
237
+ : (0,Statistics/* createDataWithOtherSlice */.xG)(chartData, otherId, otherId, maxBubbleNumber, total, dataValueKey), arrayColors = this.computeColors(children), colors = arrayColors === null || arrayColors === void 0 ? void 0 : arrayColors.reduce(function (acc, color, i) {
238
+ acc[String(children[i].id)] = color;
239
+ return acc;
240
+ }, {}), childrenData = maxBubbleNumber == null ? children : children.slice(0, children.length - 1);
241
+ return {
242
+ isCanvas: isCanvas,
243
+ colors: colors,
244
+ numberToStringFormatter: numberToStringFormatter,
245
+ renderTooltip: (_b = this.props.renderTooltip) !== null && _b !== void 0 ? _b : (0,StatisticsTooltip.getRenderStatisticsTooltip)({
246
+ tooltipDataLabelKey: (_d = (_c = this.props) === null || _c === void 0 ? void 0 : _c.dataValueKey) !== null && _d !== void 0 ? _d : BubbleChart.defaultDataValueKey,
247
+ tooltipDataTitleKey: 'label',
248
+ otherId: this.props.otherId,
249
+ numberToStringFormatter: this.props.numberToStringFormatter,
250
+ withColor: true,
251
+ }),
252
+ data: {
253
+ children: childrenData,
254
+ value: 0,
255
+ label: id,
256
+ },
257
+ };
258
+ };
259
+ BubbleChart.prototype.computeColors = function (children) {
260
+ var _a;
261
+ return (_a = (0,Style/* generateRangeColor */.vA)(children.length, this.props.colors)) === null || _a === void 0 ? void 0 : _a.reverse();
262
+ };
263
+ BubbleChart.prototype.render = function () {
264
+ var _a = this.props, id = _a.id, className = _a.className, chartRef = _a.chartRef, size = _a.size, labelSkipRadius = _a.labelSkipRadius, fontSize = _a.fontSize;
265
+ return (external_react_default().createElement(BubbleChartUI, BubbleChart_assign({}, this.getComponentSetup(), { id: id, chartRef: chartRef, className: className, size: size, labelSkipRadius: labelSkipRadius, fontSize: fontSize })));
266
+ };
267
+ BubbleChart.defaultDataValueKey = 'significance';
268
+ BubbleChart.displayName = 'BubbleChart';
269
+ BubbleChart.defaultProps = {
270
+ colors: [Style/* blue30 */.KH, Style/* blue300 */.p5],
271
+ dataValueKey: BubbleChart.defaultDataValueKey,
272
+ };
273
+ return BubbleChart;
274
+ }((external_react_default()).Component));
275
+
276
+
277
+ ;// CONCATENATED MODULE: ./src/components/BubbleChart/index.ts
278
+
279
+
280
+
281
+ /***/ }),
282
+
283
+ /***/ 9316:
284
+ /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
285
+
286
+ "use strict";
287
+
288
+ // UNUSED EXPORTS: Form
289
+
290
+ // EXTERNAL MODULE: external "react"
291
+ var external_react_ = __webpack_require__(8156);
292
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
293
+ // EXTERNAL MODULE: external "classnames"
294
+ var external_classnames_ = __webpack_require__(8310);
295
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
296
+ // EXTERNAL MODULE: external "react-bootstrap/Form"
297
+ var Form_ = __webpack_require__(8721);
298
+ var Form_default = /*#__PURE__*/__webpack_require__.n(Form_);
299
+ ;// CONCATENATED MODULE: ./src/components/Form/FormLabel.tsx
300
+
301
+
302
+
303
+
304
+ var FormLabel = external_react_default().memo(function (props) {
305
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-label');
306
+ return external_react_default().createElement((Form_default()).Label, { className: className }, props.children);
307
+ });
308
+ FormLabel.displayName = 'FormLabel';
309
+
310
+ // EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
311
+ var FormControl = __webpack_require__(3422);
312
+ ;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
313
+ var __assign = (undefined && undefined.__assign) || function () {
314
+ __assign = Object.assign || function(t) {
315
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
316
+ s = arguments[i];
317
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
318
+ t[p] = s[p];
319
+ }
320
+ return t;
321
+ };
322
+ return __assign.apply(this, arguments);
323
+ };
324
+
325
+
326
+
327
+
328
+ var FormCheckbox = function (props) {
329
+ var _a;
330
+ var className = external_classnames_default()('atoka-form-checkbox', props === null || props === void 0 ? void 0 : props.className);
331
+ 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 : '' }));
332
+ };
333
+ FormCheckbox.displayName = 'FormCheckbox';
334
+
335
+ ;// CONCATENATED MODULE: ./src/components/Form/FormRadio.tsx
336
+ var FormRadio_assign = (undefined && undefined.__assign) || function () {
337
+ FormRadio_assign = Object.assign || function(t) {
338
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
339
+ s = arguments[i];
340
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
341
+ t[p] = s[p];
342
+ }
343
+ return t;
344
+ };
345
+ return FormRadio_assign.apply(this, arguments);
346
+ };
347
+
348
+
349
+
350
+
351
+ var FormRadio = function (props) {
352
+ var _a;
353
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-radio');
354
+ 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 : '' }));
355
+ };
356
+ FormRadio.displayName = 'FormRadio';
357
+
358
+ // EXTERNAL MODULE: external "react-bootstrap/FormText"
359
+ var FormText_ = __webpack_require__(8763);
360
+ var FormText_default = /*#__PURE__*/__webpack_require__.n(FormText_);
361
+ ;// CONCATENATED MODULE: ./src/components/Form/FormHelp.tsx
362
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
363
+ var t = {};
364
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
365
+ t[p] = s[p];
366
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
367
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
368
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
369
+ t[p[i]] = s[p[i]];
370
+ }
371
+ return t;
372
+ };
373
+
374
+
375
+
376
+
377
+ var FormHelp = external_react_default().memo(function (_a) {
378
+ var children = _a.children, props = __rest(_a, ["children"]);
379
+ var className = external_classnames_default()('d-block', props === null || props === void 0 ? void 0 : props.className);
380
+ return (external_react_default().createElement((FormText_default()), { bsPrefix: 'atoka-form-help', className: className }, children));
381
+ });
382
+ FormHelp.displayName = 'FormHelp';
383
+
384
+ ;// CONCATENATED MODULE: ./src/components/Form/Form.tsx
385
+ var Form_assign = (undefined && undefined.__assign) || function () {
386
+ Form_assign = Object.assign || function(t) {
387
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
388
+ s = arguments[i];
389
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
390
+ t[p] = s[p];
391
+ }
392
+ return t;
393
+ };
394
+ return Form_assign.apply(this, arguments);
395
+ };
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+ var Form = function (props) {
406
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form');
407
+ return (external_react_default().createElement((Form_default()), Form_assign({}, props, { className: className }), props.children));
408
+ };
409
+ Form.displayName = 'Form';
410
+ Form.Control = FormControl/* FormControl */.N;
411
+ Form.Label = FormLabel;
412
+ Form.Checkbox = FormCheckbox;
413
+ Form.Radio = FormRadio;
414
+ Form.File = (Form_default()).File;
415
+ Form.Switch = (Form_default()).Switch;
416
+ Form.Help = FormHelp;
417
+ Form.Group = (Form_default()).Group;
418
+
419
+
420
+
421
+ /***/ }),
422
+
423
+ /***/ 3422:
424
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
425
+
426
+ "use strict";
427
+
428
+ // EXPORTS
429
+ __webpack_require__.d(__webpack_exports__, {
430
+ "N": () => (/* binding */ FormControl)
431
+ });
432
+
433
+ // EXTERNAL MODULE: external "react"
434
+ var external_react_ = __webpack_require__(8156);
435
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
436
+ // EXTERNAL MODULE: external "classnames"
437
+ var external_classnames_ = __webpack_require__(8310);
438
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
439
+ // EXTERNAL MODULE: external "react-bootstrap/FormControl"
440
+ var FormControl_ = __webpack_require__(1082);
441
+ var FormControl_default = /*#__PURE__*/__webpack_require__.n(FormControl_);
442
+ ;// CONCATENATED MODULE: ./src/components/Form/FormControlFeedBack.tsx
443
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
444
+ var t = {};
445
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
446
+ t[p] = s[p];
447
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
448
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
449
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
450
+ t[p[i]] = s[p[i]];
451
+ }
452
+ return t;
453
+ };
454
+
455
+
456
+
457
+ var FormControlFeedBack = external_react_default().memo(function (_a) {
458
+ var _b = _a.show, show = _b === void 0 ? true : _b, props = __rest(_a, ["show"]);
459
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-control-feedback', {
460
+ 'd-block': show,
461
+ });
462
+ return (external_react_default().createElement((FormControl_default()).Feedback, { type: props.type, className: className }, props.children));
463
+ });
464
+ FormControlFeedBack.displayName = ' FormControlFeedBack';
465
+
466
+ ;// CONCATENATED MODULE: ./src/components/Form/FormControl.tsx
467
+ var FormControl_rest = (undefined && undefined.__rest) || function (s, e) {
468
+ var t = {};
469
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
470
+ t[p] = s[p];
471
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
472
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
473
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
474
+ t[p[i]] = s[p[i]];
475
+ }
476
+ return t;
477
+ };
478
+
479
+
480
+
481
+
482
+
483
+ var FormControlComponent = external_react_default().forwardRef(function (_a, ref) {
484
+ var _b = _a.size, size = _b === void 0 ? 'md' : _b, props = FormControl_rest(_a, ["size"]);
485
+ var className = external_classnames_default()('atoka-form-control', props === null || props === void 0 ? void 0 : props.className, {
486
+ 'atoka-shadow': props.withShadow,
487
+ 'disabled': props.disabled,
488
+ });
489
+ return (external_react_default().createElement((FormControl_default()), { as: props.as, rows: props.rows, cols: props.cols, placeholder: props.placeholder, className: className, disabled: props.disabled, readOnly: props.readOnly, value: props.value, onChange: props.onChange, onKeyPress: props.onKeyPress, onKeyDown: props.onKeyDown, defaultValue: props.defaultValue, size: size === 'md' ? undefined : size, type: props.type, id: props.id, isValid: props.isValid, isInvalid: props.isInvalid, ref: ref, autoComplete: 'off' }, props.children));
490
+ });
491
+ FormControlComponent.displayName = 'FormControlComponent';
492
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
493
+ var FormControl = FormControlComponent;
494
+ FormControl.FeedBack = FormControlFeedBack;
495
+ FormControl.displayName = 'FormControl';
496
+
497
+
498
+
499
+ /***/ }),
500
+
501
+ /***/ 1470:
502
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
503
+
504
+ "use strict";
505
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
506
+ /* harmony export */ "q": () => (/* binding */ getRenderStatisticsTooltip)
507
+ /* harmony export */ });
508
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
509
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
510
+ /* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8805);
511
+ var __assign = (undefined && undefined.__assign) || function () {
512
+ __assign = Object.assign || function(t) {
513
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
514
+ s = arguments[i];
515
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
516
+ t[p] = s[p];
517
+ }
518
+ return t;
519
+ };
520
+ return __assign.apply(this, arguments);
521
+ };
522
+
523
+
524
+ function getRenderStatisticsTooltip(_a) {
525
+ 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;
526
+ // eslint-disable-next-line react/display-name
527
+ return function (props) {
528
+ var _a, _b, _c, _d;
529
+ 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'] });
530
+ 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 }));
531
+ };
532
+ }
533
+
534
+
535
+ /***/ }),
536
+
537
+ /***/ 8805:
538
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
539
+
540
+ "use strict";
541
+
542
+ // EXPORTS
543
+ __webpack_require__.d(__webpack_exports__, {
544
+ "StatisticsTooltip": () => (/* reexport */ StatisticsTooltip),
545
+ "getRenderStatisticsTooltip": () => (/* reexport */ helpers/* getRenderStatisticsTooltip */.q)
546
+ });
547
+
548
+ // UNUSED EXPORTS: GetRenderStatisticsTooltipType
549
+
550
+ // EXTERNAL MODULE: external "react"
551
+ var external_react_ = __webpack_require__(8156);
552
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
553
+ // EXTERNAL MODULE: external "classnames"
554
+ var external_classnames_ = __webpack_require__(8310);
555
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
556
+ // EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
557
+ var Statistics = __webpack_require__(5258);
558
+ ;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/StatisticsTooltip.tsx
559
+
560
+
561
+
562
+ var StatisticsTooltip = external_react_default().memo(function (props) {
563
+ // eslint-disable-next-line react/display-name
564
+ function renderSubtitle() {
565
+ var values = [
566
+ { value: getLabel(), key: props.tooltipDataLabelKey, className: 'label' },
567
+ { value: getValue(), key: props.tooltipDataValueKey, className: 'value' },
568
+ ]
569
+ .filter(function (el) { return el.value != null; })
570
+ .map(function (el) { return (external_react_default().createElement("span", { key: el.key, className: el.className }, el.value)); });
571
+ if (values.length === 0) {
572
+ return null;
573
+ }
574
+ return external_react_default().createElement("div", { className: 'd-flex justify-content-between' }, values);
575
+ }
576
+ function getLabel() {
577
+ var tooltipDataLabelKey = props.tooltipDataLabelKey, numberToStringFormatter = props.numberToStringFormatter, data = props.data, label = getValueFromData(tooltipDataLabelKey, data);
578
+ if (label == null) {
579
+ return undefined;
580
+ }
581
+ if (numberToStringFormatter == null) {
582
+ return String(label);
583
+ }
584
+ if (typeof label == 'string') {
585
+ return label;
586
+ }
587
+ return numberToStringFormatter(label);
588
+ }
589
+ function getValue() {
590
+ var tooltipDataValueKey = props.tooltipDataValueKey, data = props.data, value = getValueFromData(tooltipDataValueKey, data);
591
+ if (value == null) {
592
+ return undefined;
593
+ }
594
+ if (typeof value == 'number') {
595
+ return (0,Statistics/* normalizePercentage */.Ow)(value);
596
+ }
597
+ return value;
598
+ }
599
+ function getTitle() {
600
+ var tooltipDataTitleKey = props.tooltipDataTitleKey, data = props.data, otherId = props.otherId, otherLabel = props.otherLabel, title = getValueFromData(tooltipDataTitleKey, data);
601
+ if (title === otherId) {
602
+ return otherLabel !== null && otherLabel !== void 0 ? otherLabel : otherId;
603
+ }
604
+ return title ? String(title) : undefined;
605
+ }
606
+ function getValueFromData(key, data) {
607
+ return key == null ? undefined : data === null || data === void 0 ? void 0 : data[key];
608
+ }
609
+ 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 } });
610
+ return (external_react_default().createElement("div", { className: className },
611
+ external_react_default().createElement("div", { className: 'd-flex align-items-center' },
612
+ colorRectangle,
613
+ external_react_default().createElement("span", { className: 'text-left' }, getTitle())),
614
+ renderSubtitle(),
615
+ props.children));
616
+ });
617
+ StatisticsTooltip.displayName = 'StatisticsTooltip';
618
+
619
+ // EXTERNAL MODULE: ./src/components/StatisticsTooltip/helpers.tsx
620
+ var helpers = __webpack_require__(1470);
621
+ ;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/index.ts
622
+
623
+
624
+
625
+
626
+ /***/ }),
627
+
628
+ /***/ 5258:
629
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
630
+
631
+ "use strict";
632
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
633
+ /* harmony export */ "xG": () => (/* binding */ createDataWithOtherSlice),
634
+ /* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
635
+ /* harmony export */ });
636
+ /* unused harmony export createCleanTree */
637
+ /* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5654);
638
+ var __values = (undefined && undefined.__values) || function(o) {
639
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
640
+ if (m) return m.call(o);
641
+ if (o && typeof o.length === "number") return {
642
+ next: function () {
643
+ if (o && i >= o.length) o = void 0;
644
+ return { value: o && o[i++], done: !o };
645
+ }
646
+ };
647
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
648
+ };
649
+
650
+
651
+ function createDataWithOtherSlice(data, otherId, otherLabel, maxSlicesNumber, total, dataValueKey) {
652
+ var _a, _b;
653
+ if (maxSlicesNumber === void 0) { maxSlicesNumber = 0; }
654
+ if (dataValueKey === void 0) { dataValueKey = 'value'; }
655
+ var otherValue = 0, newOtherId = otherId !== null && otherId !== void 0 ? otherId : 'other',
656
+ // We know it is defined but Typescript does not get it.
657
+ 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));
658
+ maxToMinData === null || maxToMinData === void 0 ? void 0 : maxToMinData.forEach(function (node, i) {
659
+ var _a;
660
+ if (i < newmaxSlicesNumber && node.id !== otherId) {
661
+ newData.push(createCleanTree(node));
662
+ }
663
+ else {
664
+ var nodeValue = (_a = Number(node === null || node === void 0 ? void 0 : node.value)) !== null && _a !== void 0 ? _a : 0;
665
+ otherValue += nodeValue;
666
+ }
667
+ });
668
+ var otherNode = {};
669
+ otherNode['id'] = newOtherId;
670
+ otherNode['value'] = parseFloat(otherValue.toFixed(2));
671
+ otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));
672
+ otherNode['label'] = (_a = otherLabel !== null && otherLabel !== void 0 ? otherLabel : newOtherId) !== null && _a !== void 0 ? _a : '';
673
+ if (((_b = data === null || data === void 0 ? void 0 : data[0]) === null || _b === void 0 ? void 0 : _b.percentage) != null && total != null) {
674
+ otherNode['percentage'] = (otherValue / total) * 100;
675
+ }
676
+ if (maxSlicesNumber !== Infinity || otherValue !== 0) {
677
+ newData.push(otherNode);
678
+ }
679
+ return newData;
680
+ }
681
+ function createCleanTree(node) {
682
+ if (node.children == null) {
683
+ return node;
684
+ }
685
+ var newNode = (0,_Utils_Utils__WEBPACK_IMPORTED_MODULE_0__/* .clone */ .d9)(node);
686
+ removeValueIfChildren(newNode);
687
+ return newNode;
688
+ }
689
+ // eslint-disable-next-line @typescript-eslint/ban-types
690
+ function removeValueIfChildren(node) {
691
+ var e_1, _a;
692
+ var _b;
693
+ var children = ((_b = node === null || node === void 0 ? void 0 : node['children']) !== null && _b !== void 0 ? _b : []);
694
+ node['initialValue'] = node['value'];
695
+ if (children.length > 0) {
696
+ delete node['value'];
697
+ }
698
+ try {
699
+ for (var children_1 = __values(children), children_1_1 = children_1.next(); !children_1_1.done; children_1_1 = children_1.next()) {
700
+ var child = children_1_1.value;
701
+ removeValueIfChildren(child);
702
+ }
703
+ }
704
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
705
+ finally {
706
+ try {
707
+ if (children_1_1 && !children_1_1.done && (_a = children_1.return)) _a.call(children_1);
708
+ }
709
+ finally { if (e_1) throw e_1.error; }
710
+ }
711
+ }
712
+ function normalizePercentage(value) {
713
+ var _a;
714
+ return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10) + "%";
715
+ }
716
+
717
+
718
+ /***/ }),
719
+
720
+ /***/ 2755:
721
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
722
+
723
+ "use strict";
724
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
725
+ /* harmony export */ "vA": () => (/* binding */ generateRangeColor),
726
+ /* harmony export */ "KH": () => (/* binding */ blue30),
727
+ /* harmony export */ "p5": () => (/* binding */ blue300)
728
+ /* harmony export */ });
729
+ /* unused harmony exports calculateDomain, white, blue25, blue50, blue80, blue90, blue95, blue100, gray200, blue400, yellow, orange, red, green, gray100, gray300, gray400, purple, viola, pink100, pink200, salmon, black */
730
+ /* harmony import */ var d3_scale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1820);
731
+
732
+ function generateRangeColor(len, rangeColors) {
733
+ if (rangeColors === void 0) { rangeColors = ['#82CA9D', '#f6ea25', '#F7977A']; }
734
+ var generatedColors = [];
735
+ if (len === 0) {
736
+ return undefined;
737
+ }
738
+ var colors = (0,d3_scale__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(), domain = calculateDomain(rangeColors.length, rangeColors.length), targetDomain = calculateDomain(len, rangeColors.length);
739
+ colors = colors.domain(domain).range(rangeColors);
740
+ for (var i = 0; i < len; i++) {
741
+ generatedColors.push(colors(targetDomain[i]));
742
+ }
743
+ return generatedColors;
744
+ }
745
+ function calculateDomain(len, rangeColorsLength) {
746
+ var domain = [];
747
+ domain.push(0);
748
+ for (var i = 0; i < len - 2; i++) {
749
+ var num = Number((rangeColorsLength / len) * (i + 1));
750
+ domain.push(parseFloat(num.toFixed(2)));
751
+ }
752
+ domain.push(rangeColorsLength);
753
+ return domain;
754
+ }
755
+ // Keep these in sync with variables.less
756
+ var white = '#FFFFFF', blue25 = '#eef2f5', blue30 = '#CBD8E0', blue50 = '#AFD1E0', blue80 = '#8FB7CB', blue90 = '#94C2DA', blue95 = '#6E9DB5', blue100 = '#578EA8', blue300 = 'rgb(32, 88, 113)', // #205871
757
+ 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';
758
+
759
+
760
+
761
+ /***/ }),
762
+
763
+ /***/ 6347:
764
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
765
+
766
+ "use strict";
767
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
768
+ /* harmony export */ "Hp": () => (/* binding */ ellipse)
769
+ /* harmony export */ });
770
+ /* unused harmony exports isStringEmpty, slugify, estimateWordSize, matchAndFormatRangeLabel, formatRange, ellipseAndFormat, escapeRegExp, isMatching, splitTextInParts */
771
+ var __values = (undefined && undefined.__values) || function(o) {
772
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
773
+ if (m) return m.call(o);
774
+ if (o && typeof o.length === "number") return {
775
+ next: function () {
776
+ if (o && i >= o.length) o = void 0;
777
+ return { value: o && o[i++], done: !o };
778
+ }
779
+ };
780
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
781
+ };
782
+ var __read = (undefined && undefined.__read) || function (o, n) {
783
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
784
+ if (!m) return o;
785
+ var i = m.call(o), r, ar = [], e;
786
+ try {
787
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
788
+ }
789
+ catch (error) { e = { error: error }; }
790
+ finally {
791
+ try {
792
+ if (r && !r.done && (m = i["return"])) m.call(i);
793
+ }
794
+ finally { if (e) throw e.error; }
795
+ }
796
+ return ar;
797
+ };
798
+ var __spread = (undefined && undefined.__spread) || function () {
799
+ for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
800
+ return ar;
801
+ };
802
+ function isStringEmpty(s) {
803
+ if (s == null) {
804
+ return true;
805
+ }
806
+ return s.match(/^\s*$/) !== null;
807
+ }
808
+ function slugify(text) {
809
+ var a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;', b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------', p = new RegExp(a.split('').join('|'), 'g');
810
+ return text
811
+ .toString()
812
+ .toLowerCase()
813
+ .replace(/\s+/g, '-') // Replace spaces with -
814
+ .replace(p, function (c) { return b.charAt(a.indexOf(c)); }) // Replace special characters
815
+ .replace(/&/g, '-and-') // Replace & with 'and'
816
+ .replace(/[^\w-]+/g, '') // Remove all non-word characters
817
+ .replace(/--+/g, '-') // Replace multiple - with single -
818
+ .replace(/^-+/, '') // Trim - from start of text
819
+ .replace(/-+$/, ''); // Trim - from end of text
820
+ }
821
+ function estimateWordSize(wordLength, letterPixels, constant) {
822
+ return wordLength * letterPixels + constant;
823
+ }
824
+ function ellipse(input, length) {
825
+ if (input == null) {
826
+ return '';
827
+ }
828
+ return input.length > length ? input.substr(0, length - 1) + "\u2026" : input;
829
+ }
830
+ function matchAndFormatRangeLabel(formatter) {
831
+ return function (label) {
832
+ var match = /^([\d*]+)-([\d*]+)$/.exec(label);
833
+ if (match == null) {
834
+ return label;
835
+ }
836
+ return formatRange({
837
+ from: match[1],
838
+ to: match[2],
839
+ }, formatter !== null && formatter !== void 0 ? formatter : (function (v) { return v; }));
840
+ };
841
+ }
842
+ function formatRange(item, formatter) {
843
+ var _a, _b;
844
+ 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));
845
+ if (from === to) {
846
+ return "" + from;
847
+ }
848
+ return from + " - " + to;
849
+ }
850
+ function ellipseAndFormat(formatter, maxLabelLength) {
851
+ return function (value) {
852
+ var strValue = value.toString();
853
+ if (formatter == null) {
854
+ return ellipse(strValue, maxLabelLength);
855
+ }
856
+ return ellipse("" + formatter(strValue), maxLabelLength);
857
+ };
858
+ }
859
+ function escapeRegExp(input) {
860
+ // eslint-disable-next-line
861
+ return input.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
862
+ }
863
+ function isMatching(text0, text1) {
864
+ var e_1, _a;
865
+ if (text0 == null || text1 == null) {
866
+ return false;
867
+ }
868
+ text0 = text0.toLowerCase();
869
+ text1 = text1.toLowerCase();
870
+ if (text1.match(' ') === null) {
871
+ return text0.match(escapeRegExp(text1)) !== null;
872
+ }
873
+ var splitNeedles = text1
874
+ .split(' ')
875
+ .filter(function (s) { return !isStringEmpty(s); })
876
+ .sort(function (a, b) { return b.length - a.length; });
877
+ try {
878
+ for (var splitNeedles_1 = __values(splitNeedles), splitNeedles_1_1 = splitNeedles_1.next(); !splitNeedles_1_1.done; splitNeedles_1_1 = splitNeedles_1.next()) {
879
+ var needle = splitNeedles_1_1.value;
880
+ if (text0 === needle) {
881
+ return true;
882
+ }
883
+ }
884
+ }
885
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
886
+ finally {
887
+ try {
888
+ if (splitNeedles_1_1 && !splitNeedles_1_1.done && (_a = splitNeedles_1.return)) _a.call(splitNeedles_1);
889
+ }
890
+ finally { if (e_1) throw e_1.error; }
891
+ }
892
+ return false;
893
+ }
894
+ function splitTextInParts(needles, text) {
895
+ var e_2, _a;
896
+ if (text == null) {
897
+ return [];
898
+ }
899
+ if (needles.match(' ') === null) {
900
+ var re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');
901
+ return text.split(re);
902
+ }
903
+ var splitNeedles = needles
904
+ .split(' ')
905
+ .filter(function (s) { return !isStringEmpty(s); })
906
+ .sort(function (a, b) { return b.length - a.length; }), ret = [text];
907
+ try {
908
+ for (var splitNeedles_2 = __values(splitNeedles), splitNeedles_2_1 = splitNeedles_2.next(); !splitNeedles_2_1.done; splitNeedles_2_1 = splitNeedles_2.next()) {
909
+ var needle = splitNeedles_2_1.value;
910
+ var re = new RegExp('(' + needle + ')', 'gi');
911
+ for (var index = 0; index < ret.length; index++) {
912
+ var currentText = ret[index];
913
+ if (isMatching(currentText, escapeRegExp(needles))) {
914
+ continue;
915
+ }
916
+ var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
917
+ ret.splice.apply(ret, __spread([index, 1], newParts));
918
+ }
919
+ }
920
+ }
921
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
922
+ finally {
923
+ try {
924
+ if (splitNeedles_2_1 && !splitNeedles_2_1.done && (_a = splitNeedles_2.return)) _a.call(splitNeedles_2);
925
+ }
926
+ finally { if (e_2) throw e_2.error; }
927
+ }
928
+ return ret;
929
+ }
930
+
931
+
932
+ /***/ }),
933
+
934
+ /***/ 5654:
935
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
936
+
937
+ "use strict";
938
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
939
+ /* harmony export */ "kV": () => (/* binding */ sortObjDesc),
940
+ /* harmony export */ "d9": () => (/* binding */ clone),
941
+ /* harmony export */ "vZ": () => (/* binding */ deepEqual)
942
+ /* harmony export */ });
943
+ /* unused harmony exports findChildrenByComponent, findChildByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, getDebouncer, rgbToHex */
944
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5692);
945
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
946
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
947
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
948
+ /* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9316);
949
+ var __read = (undefined && undefined.__read) || function (o, n) {
950
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
951
+ if (!m) return o;
952
+ var i = m.call(o), r, ar = [], e;
953
+ try {
954
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
955
+ }
956
+ catch (error) { e = { error: error }; }
957
+ finally {
958
+ try {
959
+ if (r && !r.done && (m = i["return"])) m.call(i);
960
+ }
961
+ finally { if (e) throw e.error; }
962
+ }
963
+ return ar;
964
+ };
965
+
966
+
967
+
968
+ function findChildrenByComponent(children,
969
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
970
+ component) {
971
+ var ret = [];
972
+ React.Children.forEach(children, function (element) {
973
+ if ((element === null || element === void 0 ? void 0 : element.type) === component) {
974
+ ret.push(element);
975
+ }
976
+ });
977
+ return ret;
978
+ }
979
+ function findChildByComponent(children,
980
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
981
+ component) {
982
+ var _a, _b;
983
+ return (_b = (_a = findChildrenByComponent(children, component)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
984
+ }
985
+ function hasChildIconOrCheckboxComponent(children) {
986
+ var ret = false;
987
+ React.Children.forEach(children, function (element) {
988
+ if ((element === null || element === void 0 ? void 0 : element.type) != null &&
989
+ ((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)) {
990
+ ret = true;
991
+ return;
992
+ }
993
+ });
994
+ return ret;
995
+ }
996
+ function scrollToTop() {
997
+ window.scrollTo(0, 0);
998
+ }
999
+ function zip(arr1, arr2) {
1000
+ var ret = [];
1001
+ var i = 0;
1002
+ while (arr1[i]) {
1003
+ ret.push(arr1[i]);
1004
+ ret.push(arr2[i++]);
1005
+ }
1006
+ return ret;
1007
+ }
1008
+ // eslint-disable-next-line @typescript-eslint/ban-types
1009
+ function sortObjDesc(accessor) {
1010
+ return function (a, b) {
1011
+ var leftVal = 0, rightVal = 0;
1012
+ if ((a === null || a === void 0 ? void 0 : a[accessor]) != null) {
1013
+ leftVal = a === null || a === void 0 ? void 0 : a[accessor];
1014
+ }
1015
+ if ((b === null || b === void 0 ? void 0 : b[accessor]) != null) {
1016
+ rightVal = b === null || b === void 0 ? void 0 : b[accessor];
1017
+ }
1018
+ return leftVal > rightVal ? -1 : 1;
1019
+ };
1020
+ }
1021
+ function clone(ob) {
1022
+ return JSON.parse(JSON.stringify(ob));
1023
+ }
1024
+ function getDebouncer(delay) {
1025
+ if (delay === void 0) { delay = 1; }
1026
+ var debounceTimeout = null;
1027
+ return function debounce(f) {
1028
+ if (debounceTimeout !== null) {
1029
+ clearTimeout(debounceTimeout);
1030
+ }
1031
+ debounceTimeout = window.setTimeout(f, delay);
1032
+ };
1033
+ }
1034
+ function isObject(obj) {
1035
+ return typeof obj === 'object' && obj != null;
1036
+ }
1037
+ function deepEqual(obj1, obj2) {
1038
+ if (obj1 === obj2) {
1039
+ return true;
1040
+ }
1041
+ if (isObject(obj1) && isObject(obj2)) {
1042
+ if (Object.keys(obj1).length !== Object.keys(obj2).length) {
1043
+ return false;
1044
+ }
1045
+ for (var prop in obj1) {
1046
+ if (!deepEqual(obj1[prop], obj2[prop])) {
1047
+ return false;
1048
+ }
1049
+ }
1050
+ return true;
1051
+ }
1052
+ return false;
1053
+ }
1054
+ function componentToHex(c) {
1055
+ if (isNaN(c)) {
1056
+ throw Error('The color has not been written correctly');
1057
+ }
1058
+ var hex = c.toString(16).toUpperCase();
1059
+ return hex.length === 1 ? '0' + hex : hex;
1060
+ }
1061
+ function cleanSingleColor(c) {
1062
+ return c.replace(/"|'/g, '').trim();
1063
+ }
1064
+ function rgbToHex(rgb) {
1065
+ if (rgb.includes('rgba')) {
1066
+ throw Error('not implemented');
1067
+ }
1068
+ var _a = __read(rgb
1069
+ .replace('rgb', '')
1070
+ .replace(/\(|\)/gi, '')
1071
+ .split(',')
1072
+ .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;
1073
+ return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
1074
+ }
1075
+
1076
+
1077
+ /***/ }),
1078
+
1079
+ /***/ 6496:
1080
+ /***/ ((module) => {
1081
+
1082
+ function _typeof(obj) {
1083
+ "@babel/helpers - typeof";
1084
+
1085
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1086
+ module.exports = _typeof = function _typeof(obj) {
1087
+ return typeof obj;
1088
+ };
1089
+
1090
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
1091
+ } else {
1092
+ module.exports = _typeof = function _typeof(obj) {
1093
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1094
+ };
1095
+
1096
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
1097
+ }
1098
+
1099
+ return _typeof(obj);
1100
+ }
1101
+
1102
+ module.exports = _typeof;
1103
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
1104
+
1105
+ /***/ }),
1106
+
1107
+ /***/ 9673:
1108
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1109
+
1110
+ module.exports = __webpack_require__(3538);
1111
+
1112
+ /***/ }),
1113
+
1114
+ /***/ 6627:
1115
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1116
+
1117
+ "use strict";
1118
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1119
+ /* harmony export */ "MR": () => (/* binding */ boundMethod)
1120
+ /* harmony export */ });
1121
+ /* unused harmony exports boundClass, default */
1122
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
1123
+
1124
+
1125
+ function _typeof(obj) {
1126
+ if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
1127
+ _typeof = function _typeof(obj) {
1128
+ return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
1129
+ };
1130
+ } else {
1131
+ _typeof = function _typeof(obj) {
1132
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
1133
+ };
1134
+ }
1135
+
1136
+ return _typeof(obj);
1137
+ }
1138
+ /**
1139
+ * Return a descriptor removing the value and returning a getter
1140
+ * The getter will return a .bind version of the function
1141
+ * and memoize the result against a symbol on the instance
1142
+ */
1143
+
1144
+
1145
+ function boundMethod(target, key, descriptor) {
1146
+ var fn = descriptor.value;
1147
+
1148
+ if (typeof fn !== 'function') {
1149
+ throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
1150
+ } // In IE11 calling Object.defineProperty has a side-effect of evaluating the
1151
+ // getter for the property which is being replaced. This causes infinite
1152
+ // recursion and an "Out of stack space" error.
1153
+
1154
+
1155
+ var definingProperty = false;
1156
+ return {
1157
+ configurable: true,
1158
+ get: function get() {
1159
+ // eslint-disable-next-line no-prototype-builtins
1160
+ if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
1161
+ return fn;
1162
+ }
1163
+
1164
+ var boundFn = fn.bind(this);
1165
+ definingProperty = true;
1166
+ Object.defineProperty(this, key, {
1167
+ configurable: true,
1168
+ get: function get() {
1169
+ return boundFn;
1170
+ },
1171
+ set: function set(value) {
1172
+ fn = value;
1173
+ delete this[key];
1174
+ }
1175
+ });
1176
+ definingProperty = false;
1177
+ return boundFn;
1178
+ },
1179
+ set: function set(value) {
1180
+ fn = value;
1181
+ }
1182
+ };
1183
+ }
1184
+ /**
1185
+ * Use boundMethod to bind all methods on the target.prototype
1186
+ */
1187
+
1188
+ function boundClass(target) {
1189
+ // (Using reflect to get all keys including symbols)
1190
+ var keys; // Use Reflect if exists
1191
+
1192
+ if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
1193
+ keys = Reflect.ownKeys(target.prototype);
1194
+ } else {
1195
+ keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
1196
+
1197
+ if (typeof Object.getOwnPropertySymbols === 'function') {
1198
+ keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
1199
+ }
1200
+ }
1201
+
1202
+ keys.forEach(function (key) {
1203
+ // Ignore special case target method
1204
+ if (key === 'constructor') {
1205
+ return;
1206
+ }
1207
+
1208
+ var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
1209
+
1210
+ if (typeof descriptor.value === 'function') {
1211
+ Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
1212
+ }
1213
+ });
1214
+ return target;
1215
+ }
1216
+ function autobind() {
1217
+ if (arguments.length === 1) {
1218
+ return boundClass.apply(void 0, arguments);
1219
+ }
1220
+
1221
+ return boundMethod.apply(void 0, arguments);
1222
+ }
1223
+
1224
+ /***/ }),
1225
+
1226
+ /***/ 2766:
1227
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1228
+
1229
+ "use strict";
1230
+
1231
+ // EXPORTS
1232
+ __webpack_require__.d(__webpack_exports__, {
1233
+ "ZP": () => (/* binding */ color),
1234
+ "B8": () => (/* binding */ rgb)
1235
+ });
1236
+
1237
+ // UNUSED EXPORTS: Color, Rgb, brighter, darker, hsl, hslConvert, rgbConvert
1238
+
1239
+ ;// CONCATENATED MODULE: ./node_modules/d3-color/src/define.js
1240
+ /* harmony default export */ function src_define(constructor, factory, prototype) {
1241
+ constructor.prototype = factory.prototype = prototype;
1242
+ prototype.constructor = constructor;
1243
+ }
1244
+ function extend(parent, definition) {
1245
+ var prototype = Object.create(parent.prototype);
1246
+
1247
+ for (var key in definition) {
1248
+ prototype[key] = definition[key];
1249
+ }
1250
+
1251
+ return prototype;
1252
+ }
1253
+ ;// CONCATENATED MODULE: ./node_modules/d3-color/src/color.js
1254
+
1255
+ function Color() {}
1256
+ var _darker = 0.7;
1257
+
1258
+
1259
+ var _brighter = 1 / _darker;
1260
+
1261
+
1262
+ var reI = "\\s*([+-]?\\d+)\\s*",
1263
+ reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
1264
+ reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
1265
+ reHex = /^#([0-9a-f]{3,8})$/,
1266
+ reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
1267
+ reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
1268
+ reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
1269
+ reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
1270
+ reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
1271
+ reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
1272
+ var named = {
1273
+ aliceblue: 0xf0f8ff,
1274
+ antiquewhite: 0xfaebd7,
1275
+ aqua: 0x00ffff,
1276
+ aquamarine: 0x7fffd4,
1277
+ azure: 0xf0ffff,
1278
+ beige: 0xf5f5dc,
1279
+ bisque: 0xffe4c4,
1280
+ black: 0x000000,
1281
+ blanchedalmond: 0xffebcd,
1282
+ blue: 0x0000ff,
1283
+ blueviolet: 0x8a2be2,
1284
+ brown: 0xa52a2a,
1285
+ burlywood: 0xdeb887,
1286
+ cadetblue: 0x5f9ea0,
1287
+ chartreuse: 0x7fff00,
1288
+ chocolate: 0xd2691e,
1289
+ coral: 0xff7f50,
1290
+ cornflowerblue: 0x6495ed,
1291
+ cornsilk: 0xfff8dc,
1292
+ crimson: 0xdc143c,
1293
+ cyan: 0x00ffff,
1294
+ darkblue: 0x00008b,
1295
+ darkcyan: 0x008b8b,
1296
+ darkgoldenrod: 0xb8860b,
1297
+ darkgray: 0xa9a9a9,
1298
+ darkgreen: 0x006400,
1299
+ darkgrey: 0xa9a9a9,
1300
+ darkkhaki: 0xbdb76b,
1301
+ darkmagenta: 0x8b008b,
1302
+ darkolivegreen: 0x556b2f,
1303
+ darkorange: 0xff8c00,
1304
+ darkorchid: 0x9932cc,
1305
+ darkred: 0x8b0000,
1306
+ darksalmon: 0xe9967a,
1307
+ darkseagreen: 0x8fbc8f,
1308
+ darkslateblue: 0x483d8b,
1309
+ darkslategray: 0x2f4f4f,
1310
+ darkslategrey: 0x2f4f4f,
1311
+ darkturquoise: 0x00ced1,
1312
+ darkviolet: 0x9400d3,
1313
+ deeppink: 0xff1493,
1314
+ deepskyblue: 0x00bfff,
1315
+ dimgray: 0x696969,
1316
+ dimgrey: 0x696969,
1317
+ dodgerblue: 0x1e90ff,
1318
+ firebrick: 0xb22222,
1319
+ floralwhite: 0xfffaf0,
1320
+ forestgreen: 0x228b22,
1321
+ fuchsia: 0xff00ff,
1322
+ gainsboro: 0xdcdcdc,
1323
+ ghostwhite: 0xf8f8ff,
1324
+ gold: 0xffd700,
1325
+ goldenrod: 0xdaa520,
1326
+ gray: 0x808080,
1327
+ green: 0x008000,
1328
+ greenyellow: 0xadff2f,
1329
+ grey: 0x808080,
1330
+ honeydew: 0xf0fff0,
1331
+ hotpink: 0xff69b4,
1332
+ indianred: 0xcd5c5c,
1333
+ indigo: 0x4b0082,
1334
+ ivory: 0xfffff0,
1335
+ khaki: 0xf0e68c,
1336
+ lavender: 0xe6e6fa,
1337
+ lavenderblush: 0xfff0f5,
1338
+ lawngreen: 0x7cfc00,
1339
+ lemonchiffon: 0xfffacd,
1340
+ lightblue: 0xadd8e6,
1341
+ lightcoral: 0xf08080,
1342
+ lightcyan: 0xe0ffff,
1343
+ lightgoldenrodyellow: 0xfafad2,
1344
+ lightgray: 0xd3d3d3,
1345
+ lightgreen: 0x90ee90,
1346
+ lightgrey: 0xd3d3d3,
1347
+ lightpink: 0xffb6c1,
1348
+ lightsalmon: 0xffa07a,
1349
+ lightseagreen: 0x20b2aa,
1350
+ lightskyblue: 0x87cefa,
1351
+ lightslategray: 0x778899,
1352
+ lightslategrey: 0x778899,
1353
+ lightsteelblue: 0xb0c4de,
1354
+ lightyellow: 0xffffe0,
1355
+ lime: 0x00ff00,
1356
+ limegreen: 0x32cd32,
1357
+ linen: 0xfaf0e6,
1358
+ magenta: 0xff00ff,
1359
+ maroon: 0x800000,
1360
+ mediumaquamarine: 0x66cdaa,
1361
+ mediumblue: 0x0000cd,
1362
+ mediumorchid: 0xba55d3,
1363
+ mediumpurple: 0x9370db,
1364
+ mediumseagreen: 0x3cb371,
1365
+ mediumslateblue: 0x7b68ee,
1366
+ mediumspringgreen: 0x00fa9a,
1367
+ mediumturquoise: 0x48d1cc,
1368
+ mediumvioletred: 0xc71585,
1369
+ midnightblue: 0x191970,
1370
+ mintcream: 0xf5fffa,
1371
+ mistyrose: 0xffe4e1,
1372
+ moccasin: 0xffe4b5,
1373
+ navajowhite: 0xffdead,
1374
+ navy: 0x000080,
1375
+ oldlace: 0xfdf5e6,
1376
+ olive: 0x808000,
1377
+ olivedrab: 0x6b8e23,
1378
+ orange: 0xffa500,
1379
+ orangered: 0xff4500,
1380
+ orchid: 0xda70d6,
1381
+ palegoldenrod: 0xeee8aa,
1382
+ palegreen: 0x98fb98,
1383
+ paleturquoise: 0xafeeee,
1384
+ palevioletred: 0xdb7093,
1385
+ papayawhip: 0xffefd5,
1386
+ peachpuff: 0xffdab9,
1387
+ peru: 0xcd853f,
1388
+ pink: 0xffc0cb,
1389
+ plum: 0xdda0dd,
1390
+ powderblue: 0xb0e0e6,
1391
+ purple: 0x800080,
1392
+ rebeccapurple: 0x663399,
1393
+ red: 0xff0000,
1394
+ rosybrown: 0xbc8f8f,
1395
+ royalblue: 0x4169e1,
1396
+ saddlebrown: 0x8b4513,
1397
+ salmon: 0xfa8072,
1398
+ sandybrown: 0xf4a460,
1399
+ seagreen: 0x2e8b57,
1400
+ seashell: 0xfff5ee,
1401
+ sienna: 0xa0522d,
1402
+ silver: 0xc0c0c0,
1403
+ skyblue: 0x87ceeb,
1404
+ slateblue: 0x6a5acd,
1405
+ slategray: 0x708090,
1406
+ slategrey: 0x708090,
1407
+ snow: 0xfffafa,
1408
+ springgreen: 0x00ff7f,
1409
+ steelblue: 0x4682b4,
1410
+ tan: 0xd2b48c,
1411
+ teal: 0x008080,
1412
+ thistle: 0xd8bfd8,
1413
+ tomato: 0xff6347,
1414
+ turquoise: 0x40e0d0,
1415
+ violet: 0xee82ee,
1416
+ wheat: 0xf5deb3,
1417
+ white: 0xffffff,
1418
+ whitesmoke: 0xf5f5f5,
1419
+ yellow: 0xffff00,
1420
+ yellowgreen: 0x9acd32
1421
+ };
1422
+ src_define(Color, color, {
1423
+ copy: function copy(channels) {
1424
+ return Object.assign(new this.constructor(), this, channels);
1425
+ },
1426
+ displayable: function displayable() {
1427
+ return this.rgb().displayable();
1428
+ },
1429
+ hex: color_formatHex,
1430
+ // Deprecated! Use color.formatHex.
1431
+ formatHex: color_formatHex,
1432
+ formatHsl: color_formatHsl,
1433
+ formatRgb: color_formatRgb,
1434
+ toString: color_formatRgb
1435
+ });
1436
+
1437
+ function color_formatHex() {
1438
+ return this.rgb().formatHex();
1439
+ }
1440
+
1441
+ function color_formatHsl() {
1442
+ return hslConvert(this).formatHsl();
1443
+ }
1444
+
1445
+ function color_formatRgb() {
1446
+ return this.rgb().formatRgb();
1447
+ }
1448
+
1449
+ function color(format) {
1450
+ var m, l;
1451
+ format = (format + "").trim().toLowerCase();
1452
+ return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
1453
+ : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00
1454
+ : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
1455
+ : 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
1456
+ : null // invalid hex
1457
+ ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
1458
+ : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
1459
+ : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
1460
+ : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
1461
+ : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
1462
+ : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
1463
+ : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
1464
+ : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
1465
+ }
1466
+
1467
+ function rgbn(n) {
1468
+ return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
1469
+ }
1470
+
1471
+ function rgba(r, g, b, a) {
1472
+ if (a <= 0) r = g = b = NaN;
1473
+ return new Rgb(r, g, b, a);
1474
+ }
1475
+
1476
+ function rgbConvert(o) {
1477
+ if (!(o instanceof Color)) o = color(o);
1478
+ if (!o) return new Rgb();
1479
+ o = o.rgb();
1480
+ return new Rgb(o.r, o.g, o.b, o.opacity);
1481
+ }
1482
+ function rgb(r, g, b, opacity) {
1483
+ return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
1484
+ }
1485
+ function Rgb(r, g, b, opacity) {
1486
+ this.r = +r;
1487
+ this.g = +g;
1488
+ this.b = +b;
1489
+ this.opacity = +opacity;
1490
+ }
1491
+ src_define(Rgb, rgb, extend(Color, {
1492
+ brighter: function brighter(k) {
1493
+ k = k == null ? _brighter : Math.pow(_brighter, k);
1494
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1495
+ },
1496
+ darker: function darker(k) {
1497
+ k = k == null ? _darker : Math.pow(_darker, k);
1498
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1499
+ },
1500
+ rgb: function rgb() {
1501
+ return this;
1502
+ },
1503
+ displayable: function displayable() {
1504
+ 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;
1505
+ },
1506
+ hex: rgb_formatHex,
1507
+ // Deprecated! Use color.formatHex.
1508
+ formatHex: rgb_formatHex,
1509
+ formatRgb: rgb_formatRgb,
1510
+ toString: rgb_formatRgb
1511
+ }));
1512
+
1513
+ function rgb_formatHex() {
1514
+ return "#" + hex(this.r) + hex(this.g) + hex(this.b);
1515
+ }
1516
+
1517
+ function rgb_formatRgb() {
1518
+ var a = this.opacity;
1519
+ a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
1520
+ 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 + ")");
1521
+ }
1522
+
1523
+ function hex(value) {
1524
+ value = Math.max(0, Math.min(255, Math.round(value) || 0));
1525
+ return (value < 16 ? "0" : "") + value.toString(16);
1526
+ }
1527
+
1528
+ function hsla(h, s, l, a) {
1529
+ if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;
1530
+ return new Hsl(h, s, l, a);
1531
+ }
1532
+
1533
+ function hslConvert(o) {
1534
+ if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
1535
+ if (!(o instanceof Color)) o = color(o);
1536
+ if (!o) return new Hsl();
1537
+ if (o instanceof Hsl) return o;
1538
+ o = o.rgb();
1539
+ var r = o.r / 255,
1540
+ g = o.g / 255,
1541
+ b = o.b / 255,
1542
+ min = Math.min(r, g, b),
1543
+ max = Math.max(r, g, b),
1544
+ h = NaN,
1545
+ s = max - min,
1546
+ l = (max + min) / 2;
1547
+
1548
+ if (s) {
1549
+ 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;
1550
+ s /= l < 0.5 ? max + min : 2 - max - min;
1551
+ h *= 60;
1552
+ } else {
1553
+ s = l > 0 && l < 1 ? 0 : h;
1554
+ }
1555
+
1556
+ return new Hsl(h, s, l, o.opacity);
1557
+ }
1558
+ function hsl(h, s, l, opacity) {
1559
+ return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
1560
+ }
1561
+
1562
+ function Hsl(h, s, l, opacity) {
1563
+ this.h = +h;
1564
+ this.s = +s;
1565
+ this.l = +l;
1566
+ this.opacity = +opacity;
1567
+ }
1568
+
1569
+ src_define(Hsl, hsl, extend(Color, {
1570
+ brighter: function brighter(k) {
1571
+ k = k == null ? _brighter : Math.pow(_brighter, k);
1572
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
1573
+ },
1574
+ darker: function darker(k) {
1575
+ k = k == null ? _darker : Math.pow(_darker, k);
1576
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
1577
+ },
1578
+ rgb: function rgb() {
1579
+ var h = this.h % 360 + (this.h < 0) * 360,
1580
+ s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
1581
+ l = this.l,
1582
+ m2 = l + (l < 0.5 ? l : 1 - l) * s,
1583
+ m1 = 2 * l - m2;
1584
+ 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);
1585
+ },
1586
+ displayable: function displayable() {
1587
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
1588
+ },
1589
+ formatHsl: function formatHsl() {
1590
+ var a = this.opacity;
1591
+ a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
1592
+ return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
1593
+ }
1594
+ }));
1595
+ /* From FvD 13.37, CSS Color Module Level 3 */
1596
+
1597
+ function hsl2rgb(h, m1, m2) {
1598
+ return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
1599
+ }
1600
+
1601
+ /***/ }),
1602
+
1603
+ /***/ 1820:
1604
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1605
+
1606
+ "use strict";
1607
+
1608
+ // EXPORTS
1609
+ __webpack_require__.d(__webpack_exports__, {
1610
+ "Z": () => (/* binding */ linear_linear)
1611
+ });
1612
+
1613
+ // UNUSED EXPORTS: linearish
1614
+
1615
+ ;// CONCATENATED MODULE: ./node_modules/d3-array/src/ticks.js
1616
+ var e10 = Math.sqrt(50),
1617
+ e5 = Math.sqrt(10),
1618
+ e2 = Math.sqrt(2);
1619
+ /* harmony default export */ function ticks(start, stop, count) {
1620
+ var reverse,
1621
+ i = -1,
1622
+ n,
1623
+ ticks,
1624
+ step;
1625
+ stop = +stop, start = +start, count = +count;
1626
+ if (start === stop && count > 0) return [start];
1627
+ if (reverse = stop < start) n = start, start = stop, stop = n;
1628
+ if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];
1629
+
1630
+ if (step > 0) {
1631
+ var r0 = Math.round(start / step),
1632
+ r1 = Math.round(stop / step);
1633
+ if (r0 * step < start) ++r0;
1634
+ if (r1 * step > stop) --r1;
1635
+ ticks = new Array(n = r1 - r0 + 1);
1636
+
1637
+ while (++i < n) {
1638
+ ticks[i] = (r0 + i) * step;
1639
+ }
1640
+ } else {
1641
+ step = -step;
1642
+
1643
+ var _r = Math.round(start * step),
1644
+ _r2 = Math.round(stop * step);
1645
+
1646
+ if (_r / step < start) ++_r;
1647
+ if (_r2 / step > stop) --_r2;
1648
+ ticks = new Array(n = _r2 - _r + 1);
1649
+
1650
+ while (++i < n) {
1651
+ ticks[i] = (_r + i) / step;
1652
+ }
1653
+ }
1654
+
1655
+ if (reverse) ticks.reverse();
1656
+ return ticks;
1657
+ }
1658
+ function tickIncrement(start, stop, count) {
1659
+ var step = (stop - start) / Math.max(0, count),
1660
+ power = Math.floor(Math.log(step) / Math.LN10),
1661
+ error = step / Math.pow(10, power);
1662
+ return power >= 0 ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
1663
+ }
1664
+ function tickStep(start, stop, count) {
1665
+ var step0 = Math.abs(stop - start) / Math.max(0, count),
1666
+ step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
1667
+ error = step0 / step1;
1668
+ if (error >= e10) step1 *= 10;else if (error >= e5) step1 *= 5;else if (error >= e2) step1 *= 2;
1669
+ return stop < start ? -step1 : step1;
1670
+ }
1671
+ ;// CONCATENATED MODULE: ./node_modules/d3-array/src/ascending.js
1672
+ /* harmony default export */ function ascending(a, b) {
1673
+ return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
1674
+ }
1675
+ ;// CONCATENATED MODULE: ./node_modules/d3-array/src/bisector.js
1676
+
1677
+ /* harmony default export */ function bisector(f) {
1678
+ var delta = f;
1679
+ var compare = f;
1680
+
1681
+ if (f.length === 1) {
1682
+ delta = function delta(d, x) {
1683
+ return f(d) - x;
1684
+ };
1685
+
1686
+ compare = ascendingComparator(f);
1687
+ }
1688
+
1689
+ function left(a, x, lo, hi) {
1690
+ if (lo == null) lo = 0;
1691
+ if (hi == null) hi = a.length;
1692
+
1693
+ while (lo < hi) {
1694
+ var mid = lo + hi >>> 1;
1695
+ if (compare(a[mid], x) < 0) lo = mid + 1;else hi = mid;
1696
+ }
1697
+
1698
+ return lo;
1699
+ }
1700
+
1701
+ function right(a, x, lo, hi) {
1702
+ if (lo == null) lo = 0;
1703
+ if (hi == null) hi = a.length;
1704
+
1705
+ while (lo < hi) {
1706
+ var mid = lo + hi >>> 1;
1707
+ if (compare(a[mid], x) > 0) hi = mid;else lo = mid + 1;
1708
+ }
1709
+
1710
+ return lo;
1711
+ }
1712
+
1713
+ function center(a, x, lo, hi) {
1714
+ if (lo == null) lo = 0;
1715
+ if (hi == null) hi = a.length;
1716
+ var i = left(a, x, lo, hi - 1);
1717
+ return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
1718
+ }
1719
+
1720
+ return {
1721
+ left: left,
1722
+ center: center,
1723
+ right: right
1724
+ };
1725
+ }
1726
+
1727
+ function ascendingComparator(f) {
1728
+ return function (d, x) {
1729
+ return ascending(f(d), x);
1730
+ };
1731
+ }
1732
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
1733
+ var regenerator = __webpack_require__(9673);
1734
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
1735
+ ;// CONCATENATED MODULE: ./node_modules/d3-array/src/number.js
1736
+
1737
+
1738
+ var _marked = /*#__PURE__*/regenerator_default().mark(numbers);
1739
+
1740
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
1741
+
1742
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1743
+
1744
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1745
+
1746
+ /* harmony default export */ function number(x) {
1747
+ return x === null ? NaN : +x;
1748
+ }
1749
+ function numbers(values, valueof) {
1750
+ var _iterator, _step, value, index, _iterator2, _step2, _value;
1751
+
1752
+ return regenerator_default().wrap(function numbers$(_context) {
1753
+ while (1) {
1754
+ switch (_context.prev = _context.next) {
1755
+ case 0:
1756
+ if (!(valueof === undefined)) {
1757
+ _context.next = 21;
1758
+ break;
1759
+ }
1760
+
1761
+ _iterator = _createForOfIteratorHelper(values);
1762
+ _context.prev = 2;
1763
+
1764
+ _iterator.s();
1765
+
1766
+ case 4:
1767
+ if ((_step = _iterator.n()).done) {
1768
+ _context.next = 11;
1769
+ break;
1770
+ }
1771
+
1772
+ value = _step.value;
1773
+
1774
+ if (!(value != null && (value = +value) >= value)) {
1775
+ _context.next = 9;
1776
+ break;
1777
+ }
1778
+
1779
+ _context.next = 9;
1780
+ return value;
1781
+
1782
+ case 9:
1783
+ _context.next = 4;
1784
+ break;
1785
+
1786
+ case 11:
1787
+ _context.next = 16;
1788
+ break;
1789
+
1790
+ case 13:
1791
+ _context.prev = 13;
1792
+ _context.t0 = _context["catch"](2);
1793
+
1794
+ _iterator.e(_context.t0);
1795
+
1796
+ case 16:
1797
+ _context.prev = 16;
1798
+
1799
+ _iterator.f();
1800
+
1801
+ return _context.finish(16);
1802
+
1803
+ case 19:
1804
+ _context.next = 40;
1805
+ break;
1806
+
1807
+ case 21:
1808
+ index = -1;
1809
+ _iterator2 = _createForOfIteratorHelper(values);
1810
+ _context.prev = 23;
1811
+
1812
+ _iterator2.s();
1813
+
1814
+ case 25:
1815
+ if ((_step2 = _iterator2.n()).done) {
1816
+ _context.next = 32;
1817
+ break;
1818
+ }
1819
+
1820
+ _value = _step2.value;
1821
+
1822
+ if (!((_value = valueof(_value, ++index, values)) != null && (_value = +_value) >= _value)) {
1823
+ _context.next = 30;
1824
+ break;
1825
+ }
1826
+
1827
+ _context.next = 30;
1828
+ return _value;
1829
+
1830
+ case 30:
1831
+ _context.next = 25;
1832
+ break;
1833
+
1834
+ case 32:
1835
+ _context.next = 37;
1836
+ break;
1837
+
1838
+ case 34:
1839
+ _context.prev = 34;
1840
+ _context.t1 = _context["catch"](23);
1841
+
1842
+ _iterator2.e(_context.t1);
1843
+
1844
+ case 37:
1845
+ _context.prev = 37;
1846
+
1847
+ _iterator2.f();
1848
+
1849
+ return _context.finish(37);
1850
+
1851
+ case 40:
1852
+ case "end":
1853
+ return _context.stop();
1854
+ }
1855
+ }
1856
+ }, _marked, null, [[2, 13, 16, 19], [23, 34, 37, 40]]);
1857
+ }
1858
+ ;// CONCATENATED MODULE: ./node_modules/d3-array/src/bisect.js
1859
+
1860
+
1861
+
1862
+ var ascendingBisect = bisector(ascending);
1863
+ var bisectRight = ascendingBisect.right;
1864
+ var bisectLeft = ascendingBisect.left;
1865
+ var bisectCenter = bisector(number).center;
1866
+ /* harmony default export */ const bisect = (bisectRight);
1867
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
1868
+ var esm_typeof = __webpack_require__(4329);
1869
+ // EXTERNAL MODULE: ./node_modules/d3-color/src/color.js + 1 modules
1870
+ var src_color = __webpack_require__(2766);
1871
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/basis.js
1872
+ function basis(t1, v0, v1, v2, v3) {
1873
+ var t2 = t1 * t1,
1874
+ t3 = t2 * t1;
1875
+ return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6;
1876
+ }
1877
+ /* harmony default export */ function src_basis(values) {
1878
+ var n = values.length - 1;
1879
+ return function (t) {
1880
+ var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),
1881
+ v1 = values[i],
1882
+ v2 = values[i + 1],
1883
+ v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,
1884
+ v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;
1885
+ return basis((t - i / n) * n, v0, v1, v2, v3);
1886
+ };
1887
+ }
1888
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/basisClosed.js
1889
+
1890
+ /* harmony default export */ function basisClosed(values) {
1891
+ var n = values.length;
1892
+ return function (t) {
1893
+ var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),
1894
+ v0 = values[(i + n - 1) % n],
1895
+ v1 = values[i % n],
1896
+ v2 = values[(i + 1) % n],
1897
+ v3 = values[(i + 2) % n];
1898
+ return basis((t - i / n) * n, v0, v1, v2, v3);
1899
+ };
1900
+ }
1901
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/constant.js
1902
+ /* harmony default export */ const src_constant = (function (x) {
1903
+ return function () {
1904
+ return x;
1905
+ };
1906
+ });
1907
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/color.js
1908
+
1909
+
1910
+ function linear(a, d) {
1911
+ return function (t) {
1912
+ return a + t * d;
1913
+ };
1914
+ }
1915
+
1916
+ function exponential(a, b, y) {
1917
+ return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function (t) {
1918
+ return Math.pow(a + t * b, y);
1919
+ };
1920
+ }
1921
+
1922
+ function hue(a, b) {
1923
+ var d = b - a;
1924
+ return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
1925
+ }
1926
+ function gamma(y) {
1927
+ return (y = +y) === 1 ? nogamma : function (a, b) {
1928
+ return b - a ? exponential(a, b, y) : src_constant(isNaN(a) ? b : a);
1929
+ };
1930
+ }
1931
+ function nogamma(a, b) {
1932
+ var d = b - a;
1933
+ return d ? linear(a, d) : src_constant(isNaN(a) ? b : a);
1934
+ }
1935
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/rgb.js
1936
+
1937
+
1938
+
1939
+
1940
+ /* harmony default export */ const rgb = ((function rgbGamma(y) {
1941
+ var color = gamma(y);
1942
+
1943
+ function rgb(start, end) {
1944
+ var r = color((start = (0,src_color/* rgb */.B8)(start)).r, (end = (0,src_color/* rgb */.B8)(end)).r),
1945
+ g = color(start.g, end.g),
1946
+ b = color(start.b, end.b),
1947
+ opacity = nogamma(start.opacity, end.opacity);
1948
+ return function (t) {
1949
+ start.r = r(t);
1950
+ start.g = g(t);
1951
+ start.b = b(t);
1952
+ start.opacity = opacity(t);
1953
+ return start + "";
1954
+ };
1955
+ }
1956
+
1957
+ rgb.gamma = rgbGamma;
1958
+ return rgb;
1959
+ })(1));
1960
+
1961
+ function rgbSpline(spline) {
1962
+ return function (colors) {
1963
+ var n = colors.length,
1964
+ r = new Array(n),
1965
+ g = new Array(n),
1966
+ b = new Array(n),
1967
+ i,
1968
+ color;
1969
+
1970
+ for (i = 0; i < n; ++i) {
1971
+ color = (0,src_color/* rgb */.B8)(colors[i]);
1972
+ r[i] = color.r || 0;
1973
+ g[i] = color.g || 0;
1974
+ b[i] = color.b || 0;
1975
+ }
1976
+
1977
+ r = spline(r);
1978
+ g = spline(g);
1979
+ b = spline(b);
1980
+ color.opacity = 1;
1981
+ return function (t) {
1982
+ color.r = r(t);
1983
+ color.g = g(t);
1984
+ color.b = b(t);
1985
+ return color + "";
1986
+ };
1987
+ };
1988
+ }
1989
+
1990
+ var rgbBasis = rgbSpline(src_basis);
1991
+ var rgbBasisClosed = rgbSpline(basisClosed);
1992
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/array.js
1993
+
1994
+
1995
+ /* harmony default export */ function array(a, b) {
1996
+ return (isNumberArray(b) ? numberArray : genericArray)(a, b);
1997
+ }
1998
+ function genericArray(a, b) {
1999
+ var nb = b ? b.length : 0,
2000
+ na = a ? Math.min(nb, a.length) : 0,
2001
+ x = new Array(na),
2002
+ c = new Array(nb),
2003
+ i;
2004
+
2005
+ for (i = 0; i < na; ++i) {
2006
+ x[i] = value(a[i], b[i]);
2007
+ }
2008
+
2009
+ for (; i < nb; ++i) {
2010
+ c[i] = b[i];
2011
+ }
2012
+
2013
+ return function (t) {
2014
+ for (i = 0; i < na; ++i) {
2015
+ c[i] = x[i](t);
2016
+ }
2017
+
2018
+ return c;
2019
+ };
2020
+ }
2021
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/date.js
2022
+ /* harmony default export */ function date(a, b) {
2023
+ var d = new Date();
2024
+ return a = +a, b = +b, function (t) {
2025
+ return d.setTime(a * (1 - t) + b * t), d;
2026
+ };
2027
+ }
2028
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/number.js
2029
+ /* harmony default export */ function src_number(a, b) {
2030
+ return a = +a, b = +b, function (t) {
2031
+ return a * (1 - t) + b * t;
2032
+ };
2033
+ }
2034
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/object.js
2035
+
2036
+
2037
+ /* harmony default export */ function object(a, b) {
2038
+ var i = {},
2039
+ c = {},
2040
+ k;
2041
+ if (a === null || (0,esm_typeof/* default */.Z)(a) !== "object") a = {};
2042
+ if (b === null || (0,esm_typeof/* default */.Z)(b) !== "object") b = {};
2043
+
2044
+ for (k in b) {
2045
+ if (k in a) {
2046
+ i[k] = value(a[k], b[k]);
2047
+ } else {
2048
+ c[k] = b[k];
2049
+ }
2050
+ }
2051
+
2052
+ return function (t) {
2053
+ for (k in i) {
2054
+ c[k] = i[k](t);
2055
+ }
2056
+
2057
+ return c;
2058
+ };
2059
+ }
2060
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/string.js
2061
+
2062
+ var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
2063
+ reB = new RegExp(reA.source, "g");
2064
+
2065
+ function zero(b) {
2066
+ return function () {
2067
+ return b;
2068
+ };
2069
+ }
2070
+
2071
+ function one(b) {
2072
+ return function (t) {
2073
+ return b(t) + "";
2074
+ };
2075
+ }
2076
+
2077
+ /* harmony default export */ function string(a, b) {
2078
+ var bi = reA.lastIndex = reB.lastIndex = 0,
2079
+ // scan index for next number in b
2080
+ am,
2081
+ // current match in a
2082
+ bm,
2083
+ // current match in b
2084
+ bs,
2085
+ // string preceding current number in b, if any
2086
+ i = -1,
2087
+ // index in s
2088
+ s = [],
2089
+ // string constants and placeholders
2090
+ q = []; // number interpolators
2091
+ // Coerce inputs to strings.
2092
+
2093
+ a = a + "", b = b + ""; // Interpolate pairs of numbers in a & b.
2094
+
2095
+ while ((am = reA.exec(a)) && (bm = reB.exec(b))) {
2096
+ if ((bs = bm.index) > bi) {
2097
+ // a string precedes the next number in b
2098
+ bs = b.slice(bi, bs);
2099
+ if (s[i]) s[i] += bs; // coalesce with previous string
2100
+ else s[++i] = bs;
2101
+ }
2102
+
2103
+ if ((am = am[0]) === (bm = bm[0])) {
2104
+ // numbers in a & b match
2105
+ if (s[i]) s[i] += bm; // coalesce with previous string
2106
+ else s[++i] = bm;
2107
+ } else {
2108
+ // interpolate non-matching numbers
2109
+ s[++i] = null;
2110
+ q.push({
2111
+ i: i,
2112
+ x: src_number(am, bm)
2113
+ });
2114
+ }
2115
+
2116
+ bi = reB.lastIndex;
2117
+ } // Add remains of b.
2118
+
2119
+
2120
+ if (bi < b.length) {
2121
+ bs = b.slice(bi);
2122
+ if (s[i]) s[i] += bs; // coalesce with previous string
2123
+ else s[++i] = bs;
2124
+ } // Special optimization for only a single match.
2125
+ // Otherwise, interpolate each of the numbers and rejoin the string.
2126
+
2127
+
2128
+ return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function (t) {
2129
+ for (var i = 0, o; i < b; ++i) {
2130
+ s[(o = q[i]).i] = o.x(t);
2131
+ }
2132
+
2133
+ return s.join("");
2134
+ });
2135
+ }
2136
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/numberArray.js
2137
+ /* harmony default export */ function src_numberArray(a, b) {
2138
+ if (!b) b = [];
2139
+ var n = a ? Math.min(b.length, a.length) : 0,
2140
+ c = b.slice(),
2141
+ i;
2142
+ return function (t) {
2143
+ for (i = 0; i < n; ++i) {
2144
+ c[i] = a[i] * (1 - t) + b[i] * t;
2145
+ }
2146
+
2147
+ return c;
2148
+ };
2149
+ }
2150
+ function numberArray_isNumberArray(x) {
2151
+ return ArrayBuffer.isView(x) && !(x instanceof DataView);
2152
+ }
2153
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/value.js
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+ /* harmony default export */ function value(a, b) {
2165
+ var t = (0,esm_typeof/* default */.Z)(b),
2166
+ c;
2167
+
2168
+ return b == null || t === "boolean" ? src_constant(b) : (t === "number" ? src_number : t === "string" ? (c = (0,src_color/* default */.ZP)(b)) ? (b = c, rgb) : string : b instanceof src_color/* default */.ZP ? rgb : b instanceof Date ? date : numberArray_isNumberArray(b) ? src_numberArray : Array.isArray(b) ? genericArray : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object : src_number)(a, b);
2169
+ }
2170
+ ;// CONCATENATED MODULE: ./node_modules/d3-interpolate/src/round.js
2171
+ /* harmony default export */ function round(a, b) {
2172
+ return a = +a, b = +b, function (t) {
2173
+ return Math.round(a * (1 - t) + b * t);
2174
+ };
2175
+ }
2176
+ ;// CONCATENATED MODULE: ./node_modules/d3-scale/src/constant.js
2177
+ function constants(x) {
2178
+ return function () {
2179
+ return x;
2180
+ };
2181
+ }
2182
+ ;// CONCATENATED MODULE: ./node_modules/d3-scale/src/number.js
2183
+ function number_number(x) {
2184
+ return +x;
2185
+ }
2186
+ ;// CONCATENATED MODULE: ./node_modules/d3-scale/src/continuous.js
2187
+
2188
+
2189
+
2190
+
2191
+ var unit = [0, 1];
2192
+ function identity(x) {
2193
+ return x;
2194
+ }
2195
+
2196
+ function normalize(a, b) {
2197
+ return (b -= a = +a) ? function (x) {
2198
+ return (x - a) / b;
2199
+ } : constants(isNaN(b) ? NaN : 0.5);
2200
+ }
2201
+
2202
+ function clamper(a, b) {
2203
+ var t;
2204
+ if (a > b) t = a, a = b, b = t;
2205
+ return function (x) {
2206
+ return Math.max(a, Math.min(b, x));
2207
+ };
2208
+ } // normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].
2209
+ // interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].
2210
+
2211
+
2212
+ function bimap(domain, range, interpolate) {
2213
+ var d0 = domain[0],
2214
+ d1 = domain[1],
2215
+ r0 = range[0],
2216
+ r1 = range[1];
2217
+ if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);
2218
+ return function (x) {
2219
+ return r0(d0(x));
2220
+ };
2221
+ }
2222
+
2223
+ function polymap(domain, range, interpolate) {
2224
+ var j = Math.min(domain.length, range.length) - 1,
2225
+ d = new Array(j),
2226
+ r = new Array(j),
2227
+ i = -1; // Reverse descending domains.
2228
+
2229
+ if (domain[j] < domain[0]) {
2230
+ domain = domain.slice().reverse();
2231
+ range = range.slice().reverse();
2232
+ }
2233
+
2234
+ while (++i < j) {
2235
+ d[i] = normalize(domain[i], domain[i + 1]);
2236
+ r[i] = interpolate(range[i], range[i + 1]);
2237
+ }
2238
+
2239
+ return function (x) {
2240
+ var i = bisect(domain, x, 1, j) - 1;
2241
+ return r[i](d[i](x));
2242
+ };
2243
+ }
2244
+
2245
+ function copy(source, target) {
2246
+ return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
2247
+ }
2248
+ function transformer() {
2249
+ var domain = unit,
2250
+ range = unit,
2251
+ interpolate = value,
2252
+ transform,
2253
+ untransform,
2254
+ unknown,
2255
+ clamp = identity,
2256
+ piecewise,
2257
+ output,
2258
+ input;
2259
+
2260
+ function rescale() {
2261
+ var n = Math.min(domain.length, range.length);
2262
+ if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
2263
+ piecewise = n > 2 ? polymap : bimap;
2264
+ output = input = null;
2265
+ return scale;
2266
+ }
2267
+
2268
+ function scale(x) {
2269
+ return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
2270
+ }
2271
+
2272
+ scale.invert = function (y) {
2273
+ return clamp(untransform((input || (input = piecewise(range, domain.map(transform), src_number)))(y)));
2274
+ };
2275
+
2276
+ scale.domain = function (_) {
2277
+ return arguments.length ? (domain = Array.from(_, number_number), rescale()) : domain.slice();
2278
+ };
2279
+
2280
+ scale.range = function (_) {
2281
+ return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
2282
+ };
2283
+
2284
+ scale.rangeRound = function (_) {
2285
+ return range = Array.from(_), interpolate = round, rescale();
2286
+ };
2287
+
2288
+ scale.clamp = function (_) {
2289
+ return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
2290
+ };
2291
+
2292
+ scale.interpolate = function (_) {
2293
+ return arguments.length ? (interpolate = _, rescale()) : interpolate;
2294
+ };
2295
+
2296
+ scale.unknown = function (_) {
2297
+ return arguments.length ? (unknown = _, scale) : unknown;
2298
+ };
2299
+
2300
+ return function (t, u) {
2301
+ transform = t, untransform = u;
2302
+ return rescale();
2303
+ };
2304
+ }
2305
+ function continuous() {
2306
+ return transformer()(identity, identity);
2307
+ }
2308
+ ;// CONCATENATED MODULE: ./node_modules/d3-scale/src/init.js
2309
+ function initRange(domain, range) {
2310
+ switch (arguments.length) {
2311
+ case 0:
2312
+ break;
2313
+
2314
+ case 1:
2315
+ this.range(domain);
2316
+ break;
2317
+
2318
+ default:
2319
+ this.range(range).domain(domain);
2320
+ break;
2321
+ }
2322
+
2323
+ return this;
2324
+ }
2325
+ function initInterpolator(domain, interpolator) {
2326
+ switch (arguments.length) {
2327
+ case 0:
2328
+ break;
2329
+
2330
+ case 1:
2331
+ {
2332
+ if (typeof domain === "function") this.interpolator(domain);else this.range(domain);
2333
+ break;
2334
+ }
2335
+
2336
+ default:
2337
+ {
2338
+ this.domain(domain);
2339
+ if (typeof interpolator === "function") this.interpolator(interpolator);else this.range(interpolator);
2340
+ break;
2341
+ }
2342
+ }
2343
+
2344
+ return this;
2345
+ }
2346
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatSpecifier.js
2347
+ // [[fill]align][sign][symbol][0][width][,][.precision][~][type]
2348
+ var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
2349
+ function formatSpecifier(specifier) {
2350
+ if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
2351
+ var match;
2352
+ return new FormatSpecifier({
2353
+ fill: match[1],
2354
+ align: match[2],
2355
+ sign: match[3],
2356
+ symbol: match[4],
2357
+ zero: match[5],
2358
+ width: match[6],
2359
+ comma: match[7],
2360
+ precision: match[8] && match[8].slice(1),
2361
+ trim: match[9],
2362
+ type: match[10]
2363
+ });
2364
+ }
2365
+ formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof
2366
+
2367
+ function FormatSpecifier(specifier) {
2368
+ this.fill = specifier.fill === undefined ? " " : specifier.fill + "";
2369
+ this.align = specifier.align === undefined ? ">" : specifier.align + "";
2370
+ this.sign = specifier.sign === undefined ? "-" : specifier.sign + "";
2371
+ this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + "";
2372
+ this.zero = !!specifier.zero;
2373
+ this.width = specifier.width === undefined ? undefined : +specifier.width;
2374
+ this.comma = !!specifier.comma;
2375
+ this.precision = specifier.precision === undefined ? undefined : +specifier.precision;
2376
+ this.trim = !!specifier.trim;
2377
+ this.type = specifier.type === undefined ? "" : specifier.type + "";
2378
+ }
2379
+
2380
+ FormatSpecifier.prototype.toString = function () {
2381
+ return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === undefined ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
2382
+ };
2383
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatDecimal.js
2384
+ /* harmony default export */ function formatDecimal(x) {
2385
+ return Math.abs(x = Math.round(x)) >= 1e21 ? x.toLocaleString("en").replace(/,/g, "") : x.toString(10);
2386
+ } // Computes the decimal coefficient and exponent of the specified number x with
2387
+ // significant digits p, where x is positive and p is in [1, 21] or undefined.
2388
+ // For example, formatDecimalParts(1.23) returns ["123", 0].
2389
+
2390
+ function formatDecimalParts(x, p) {
2391
+ if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity
2392
+
2393
+ var i,
2394
+ coefficient = x.slice(0, i); // The string returned by toExponential either has the form \d\.\d+e[-+]\d+
2395
+ // (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3).
2396
+
2397
+ return [coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, +x.slice(i + 1)];
2398
+ }
2399
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/exponent.js
2400
+
2401
+ /* harmony default export */ function exponent(x) {
2402
+ return x = formatDecimalParts(Math.abs(x)), x ? x[1] : NaN;
2403
+ }
2404
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/precisionPrefix.js
2405
+
2406
+ /* harmony default export */ function precisionPrefix(step, value) {
2407
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));
2408
+ }
2409
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatGroup.js
2410
+ /* harmony default export */ function formatGroup(grouping, thousands) {
2411
+ return function (value, width) {
2412
+ var i = value.length,
2413
+ t = [],
2414
+ j = 0,
2415
+ g = grouping[0],
2416
+ length = 0;
2417
+
2418
+ while (i > 0 && g > 0) {
2419
+ if (length + g + 1 > width) g = Math.max(1, width - length);
2420
+ t.push(value.substring(i -= g, i + g));
2421
+ if ((length += g + 1) > width) break;
2422
+ g = grouping[j = (j + 1) % grouping.length];
2423
+ }
2424
+
2425
+ return t.reverse().join(thousands);
2426
+ };
2427
+ }
2428
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatNumerals.js
2429
+ /* harmony default export */ function formatNumerals(numerals) {
2430
+ return function (value) {
2431
+ return value.replace(/[0-9]/g, function (i) {
2432
+ return numerals[+i];
2433
+ });
2434
+ };
2435
+ }
2436
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatTrim.js
2437
+ // Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.
2438
+ /* harmony default export */ function formatTrim(s) {
2439
+ out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {
2440
+ switch (s[i]) {
2441
+ case ".":
2442
+ i0 = i1 = i;
2443
+ break;
2444
+
2445
+ case "0":
2446
+ if (i0 === 0) i0 = i;
2447
+ i1 = i;
2448
+ break;
2449
+
2450
+ default:
2451
+ if (!+s[i]) break out;
2452
+ if (i0 > 0) i0 = 0;
2453
+ break;
2454
+ }
2455
+ }
2456
+
2457
+ return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
2458
+ }
2459
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatPrefixAuto.js
2460
+
2461
+ var prefixExponent;
2462
+ /* harmony default export */ function formatPrefixAuto(x, p) {
2463
+ var d = formatDecimalParts(x, p);
2464
+ if (!d) return x + "";
2465
+ var coefficient = d[0],
2466
+ exponent = d[1],
2467
+ i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,
2468
+ n = coefficient.length;
2469
+ return i === n ? coefficient : i > n ? coefficient + new Array(i - n + 1).join("0") : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) : "0." + new Array(1 - i).join("0") + formatDecimalParts(x, Math.max(0, p + i - 1))[0]; // less than 1y!
2470
+ }
2471
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatRounded.js
2472
+
2473
+ /* harmony default export */ function formatRounded(x, p) {
2474
+ var d = formatDecimalParts(x, p);
2475
+ if (!d) return x + "";
2476
+ var coefficient = d[0],
2477
+ exponent = d[1];
2478
+ return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
2479
+ }
2480
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/formatTypes.js
2481
+
2482
+
2483
+
2484
+ /* harmony default export */ const formatTypes = ({
2485
+ "%": function _(x, p) {
2486
+ return (x * 100).toFixed(p);
2487
+ },
2488
+ "b": function b(x) {
2489
+ return Math.round(x).toString(2);
2490
+ },
2491
+ "c": function c(x) {
2492
+ return x + "";
2493
+ },
2494
+ "d": formatDecimal,
2495
+ "e": function e(x, p) {
2496
+ return x.toExponential(p);
2497
+ },
2498
+ "f": function f(x, p) {
2499
+ return x.toFixed(p);
2500
+ },
2501
+ "g": function g(x, p) {
2502
+ return x.toPrecision(p);
2503
+ },
2504
+ "o": function o(x) {
2505
+ return Math.round(x).toString(8);
2506
+ },
2507
+ "p": function p(x, _p) {
2508
+ return formatRounded(x * 100, _p);
2509
+ },
2510
+ "r": formatRounded,
2511
+ "s": formatPrefixAuto,
2512
+ "X": function X(x) {
2513
+ return Math.round(x).toString(16).toUpperCase();
2514
+ },
2515
+ "x": function x(_x) {
2516
+ return Math.round(_x).toString(16);
2517
+ }
2518
+ });
2519
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/identity.js
2520
+ /* harmony default export */ function src_identity(x) {
2521
+ return x;
2522
+ }
2523
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/locale.js
2524
+
2525
+
2526
+
2527
+
2528
+
2529
+
2530
+
2531
+
2532
+ var map = Array.prototype.map,
2533
+ prefixes = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
2534
+ /* harmony default export */ function locale(locale) {
2535
+ var group = locale.grouping === undefined || locale.thousands === undefined ? src_identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + ""),
2536
+ currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
2537
+ currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
2538
+ decimal = locale.decimal === undefined ? "." : locale.decimal + "",
2539
+ numerals = locale.numerals === undefined ? src_identity : formatNumerals(map.call(locale.numerals, String)),
2540
+ percent = locale.percent === undefined ? "%" : locale.percent + "",
2541
+ minus = locale.minus === undefined ? "−" : locale.minus + "",
2542
+ nan = locale.nan === undefined ? "NaN" : locale.nan + "";
2543
+
2544
+ function newFormat(specifier) {
2545
+ specifier = formatSpecifier(specifier);
2546
+ var fill = specifier.fill,
2547
+ align = specifier.align,
2548
+ sign = specifier.sign,
2549
+ symbol = specifier.symbol,
2550
+ zero = specifier.zero,
2551
+ width = specifier.width,
2552
+ comma = specifier.comma,
2553
+ precision = specifier.precision,
2554
+ trim = specifier.trim,
2555
+ type = specifier.type; // The "n" type is an alias for ",g".
2556
+
2557
+ if (type === "n") comma = true, type = "g"; // The "" type, and any invalid type, is an alias for ".12~g".
2558
+ else if (!formatTypes[type]) precision === undefined && (precision = 12), trim = true, type = "g"; // If zero fill is specified, padding goes after sign and before digits.
2559
+
2560
+ if (zero || fill === "0" && align === "=") zero = true, fill = "0", align = "="; // Compute the prefix and suffix.
2561
+ // For SI-prefix, the suffix is lazily computed.
2562
+
2563
+ var prefix = symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : "",
2564
+ suffix = symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : ""; // What format function should we use?
2565
+ // Is this an integer type?
2566
+ // Can this type generate exponential notation?
2567
+
2568
+ var formatType = formatTypes[type],
2569
+ maybeSuffix = /[defgprs%]/.test(type); // Set the default precision if not specified,
2570
+ // or clamp the specified precision to the supported range.
2571
+ // For significant precision, it must be in [1, 21].
2572
+ // For fixed precision, it must be in [0, 20].
2573
+
2574
+ precision = precision === undefined ? 6 : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision)) : Math.max(0, Math.min(20, precision));
2575
+
2576
+ function format(value) {
2577
+ var valuePrefix = prefix,
2578
+ valueSuffix = suffix,
2579
+ i,
2580
+ n,
2581
+ c;
2582
+
2583
+ if (type === "c") {
2584
+ valueSuffix = formatType(value) + valueSuffix;
2585
+ value = "";
2586
+ } else {
2587
+ value = +value; // Determine the sign. -0 is not less than 0, but 1 / -0 is!
2588
+
2589
+ var valueNegative = value < 0 || 1 / value < 0; // Perform the initial formatting.
2590
+
2591
+ value = isNaN(value) ? nan : formatType(Math.abs(value), precision); // Trim insignificant zeros.
2592
+
2593
+ if (trim) value = formatTrim(value); // If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.
2594
+
2595
+ if (valueNegative && +value === 0 && sign !== "+") valueNegative = false; // Compute the prefix and suffix.
2596
+
2597
+ valuePrefix = (valueNegative ? sign === "(" ? sign : minus : sign === "-" || sign === "(" ? "" : sign) + valuePrefix;
2598
+ valueSuffix = (type === "s" ? prefixes[8 + prefixExponent / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : ""); // Break the formatted value into the integer “value” part that can be
2599
+ // grouped, and fractional or exponential “suffix” part that is not.
2600
+
2601
+ if (maybeSuffix) {
2602
+ i = -1, n = value.length;
2603
+
2604
+ while (++i < n) {
2605
+ if (c = value.charCodeAt(i), 48 > c || c > 57) {
2606
+ valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;
2607
+ value = value.slice(0, i);
2608
+ break;
2609
+ }
2610
+ }
2611
+ }
2612
+ } // If the fill character is not "0", grouping is applied before padding.
2613
+
2614
+
2615
+ if (comma && !zero) value = group(value, Infinity); // Compute the padding.
2616
+
2617
+ var length = valuePrefix.length + value.length + valueSuffix.length,
2618
+ padding = length < width ? new Array(width - length + 1).join(fill) : ""; // If the fill character is "0", grouping is applied after padding.
2619
+
2620
+ if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = ""; // Reconstruct the final output based on the desired alignment.
2621
+
2622
+ switch (align) {
2623
+ case "<":
2624
+ value = valuePrefix + value + valueSuffix + padding;
2625
+ break;
2626
+
2627
+ case "=":
2628
+ value = valuePrefix + padding + value + valueSuffix;
2629
+ break;
2630
+
2631
+ case "^":
2632
+ value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length);
2633
+ break;
2634
+
2635
+ default:
2636
+ value = padding + valuePrefix + value + valueSuffix;
2637
+ break;
2638
+ }
2639
+
2640
+ return numerals(value);
2641
+ }
2642
+
2643
+ format.toString = function () {
2644
+ return specifier + "";
2645
+ };
2646
+
2647
+ return format;
2648
+ }
2649
+
2650
+ function formatPrefix(specifier, value) {
2651
+ var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier)),
2652
+ e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,
2653
+ k = Math.pow(10, -e),
2654
+ prefix = prefixes[8 + e / 3];
2655
+ return function (value) {
2656
+ return f(k * value) + prefix;
2657
+ };
2658
+ }
2659
+
2660
+ return {
2661
+ format: newFormat,
2662
+ formatPrefix: formatPrefix
2663
+ };
2664
+ }
2665
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/defaultLocale.js
2666
+
2667
+ var defaultLocale_locale;
2668
+ var format;
2669
+ var formatPrefix;
2670
+ defaultLocale({
2671
+ thousands: ",",
2672
+ grouping: [3],
2673
+ currency: ["$", ""]
2674
+ });
2675
+ function defaultLocale(definition) {
2676
+ defaultLocale_locale = locale(definition);
2677
+ format = defaultLocale_locale.format;
2678
+ formatPrefix = defaultLocale_locale.formatPrefix;
2679
+ return defaultLocale_locale;
2680
+ }
2681
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/precisionRound.js
2682
+
2683
+ /* harmony default export */ function precisionRound(step, max) {
2684
+ step = Math.abs(step), max = Math.abs(max) - step;
2685
+ return Math.max(0, exponent(max) - exponent(step)) + 1;
2686
+ }
2687
+ ;// CONCATENATED MODULE: ./node_modules/d3-format/src/precisionFixed.js
2688
+
2689
+ /* harmony default export */ function precisionFixed(step) {
2690
+ return Math.max(0, -exponent(Math.abs(step)));
2691
+ }
2692
+ ;// CONCATENATED MODULE: ./node_modules/d3-scale/src/tickFormat.js
2693
+
2694
+
2695
+ function tickFormat(start, stop, count, specifier) {
2696
+ var step = tickStep(start, stop, count),
2697
+ precision;
2698
+ specifier = formatSpecifier(specifier == null ? ",f" : specifier);
2699
+
2700
+ switch (specifier.type) {
2701
+ case "s":
2702
+ {
2703
+ var value = Math.max(Math.abs(start), Math.abs(stop));
2704
+ if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;
2705
+ return formatPrefix(specifier, value);
2706
+ }
2707
+
2708
+ case "":
2709
+ case "e":
2710
+ case "g":
2711
+ case "p":
2712
+ case "r":
2713
+ {
2714
+ if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
2715
+ break;
2716
+ }
2717
+
2718
+ case "f":
2719
+ case "%":
2720
+ {
2721
+ if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === "%") * 2;
2722
+ break;
2723
+ }
2724
+ }
2725
+
2726
+ return format(specifier);
2727
+ }
2728
+ ;// CONCATENATED MODULE: ./node_modules/d3-scale/src/linear.js
2729
+
2730
+
2731
+
2732
+
2733
+ function linearish(scale) {
2734
+ var domain = scale.domain;
2735
+
2736
+ scale.ticks = function (count) {
2737
+ var d = domain();
2738
+ return ticks(d[0], d[d.length - 1], count == null ? 10 : count);
2739
+ };
2740
+
2741
+ scale.tickFormat = function (count, specifier) {
2742
+ var d = domain();
2743
+ return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
2744
+ };
2745
+
2746
+ scale.nice = function (count) {
2747
+ if (count == null) count = 10;
2748
+ var d = domain();
2749
+ var i0 = 0;
2750
+ var i1 = d.length - 1;
2751
+ var start = d[i0];
2752
+ var stop = d[i1];
2753
+ var prestep;
2754
+ var step;
2755
+ var maxIter = 10;
2756
+
2757
+ if (stop < start) {
2758
+ step = start, start = stop, stop = step;
2759
+ step = i0, i0 = i1, i1 = step;
2760
+ }
2761
+
2762
+ while (maxIter-- > 0) {
2763
+ step = tickIncrement(start, stop, count);
2764
+
2765
+ if (step === prestep) {
2766
+ d[i0] = start;
2767
+ d[i1] = stop;
2768
+ return domain(d);
2769
+ } else if (step > 0) {
2770
+ start = Math.floor(start / step) * step;
2771
+ stop = Math.ceil(stop / step) * step;
2772
+ } else if (step < 0) {
2773
+ start = Math.ceil(start * step) / step;
2774
+ stop = Math.floor(stop * step) / step;
2775
+ } else {
2776
+ break;
2777
+ }
2778
+
2779
+ prestep = step;
2780
+ }
2781
+
2782
+ return scale;
2783
+ };
2784
+
2785
+ return scale;
2786
+ }
2787
+ function linear_linear() {
2788
+ var scale = continuous();
2789
+
2790
+ scale.copy = function () {
2791
+ return copy(scale, linear_linear());
2792
+ };
2793
+
2794
+ initRange.apply(scale, arguments);
2795
+ return linearish(scale);
2796
+ }
2797
+
2798
+ /***/ }),
2799
+
2800
+ /***/ 3538:
2801
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2802
+
2803
+ /* module decorator */ module = __webpack_require__.nmd(module);
2804
+ var _typeof = __webpack_require__(6496);
2805
+
2806
+ /**
2807
+ * Copyright (c) 2014-present, Facebook, Inc.
2808
+ *
2809
+ * This source code is licensed under the MIT license found in the
2810
+ * LICENSE file in the root directory of this source tree.
2811
+ */
2812
+ var runtime = function (exports) {
2813
+ "use strict";
2814
+
2815
+ var Op = Object.prototype;
2816
+ var hasOwn = Op.hasOwnProperty;
2817
+ var undefined; // More compressible than void 0.
2818
+
2819
+ var $Symbol = typeof Symbol === "function" ? Symbol : {};
2820
+ var iteratorSymbol = $Symbol.iterator || "@@iterator";
2821
+ var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
2822
+ var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
2823
+
2824
+ function define(obj, key, value) {
2825
+ Object.defineProperty(obj, key, {
2826
+ value: value,
2827
+ enumerable: true,
2828
+ configurable: true,
2829
+ writable: true
2830
+ });
2831
+ return obj[key];
2832
+ }
2833
+
2834
+ try {
2835
+ // IE 8 has a broken Object.defineProperty that only works on DOM objects.
2836
+ define({}, "");
2837
+ } catch (err) {
2838
+ define = function define(obj, key, value) {
2839
+ return obj[key] = value;
2840
+ };
2841
+ }
2842
+
2843
+ function wrap(innerFn, outerFn, self, tryLocsList) {
2844
+ // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
2845
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
2846
+ var generator = Object.create(protoGenerator.prototype);
2847
+ var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next,
2848
+ // .throw, and .return methods.
2849
+
2850
+ generator._invoke = makeInvokeMethod(innerFn, self, context);
2851
+ return generator;
2852
+ }
2853
+
2854
+ exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion
2855
+ // record like context.tryEntries[i].completion. This interface could
2856
+ // have been (and was previously) designed to take a closure to be
2857
+ // invoked without arguments, but in all the cases we care about we
2858
+ // already have an existing method we want to call, so there's no need
2859
+ // to create a new function object. We can even get away with assuming
2860
+ // the method takes exactly one argument, since that happens to be true
2861
+ // in every case, so we don't have to touch the arguments object. The
2862
+ // only additional allocation required is the completion record, which
2863
+ // has a stable shape and so hopefully should be cheap to allocate.
2864
+
2865
+ function tryCatch(fn, obj, arg) {
2866
+ try {
2867
+ return {
2868
+ type: "normal",
2869
+ arg: fn.call(obj, arg)
2870
+ };
2871
+ } catch (err) {
2872
+ return {
2873
+ type: "throw",
2874
+ arg: err
2875
+ };
2876
+ }
2877
+ }
2878
+
2879
+ var GenStateSuspendedStart = "suspendedStart";
2880
+ var GenStateSuspendedYield = "suspendedYield";
2881
+ var GenStateExecuting = "executing";
2882
+ var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as
2883
+ // breaking out of the dispatch switch statement.
2884
+
2885
+ var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and
2886
+ // .constructor.prototype properties for functions that return Generator
2887
+ // objects. For full spec compliance, you may wish to configure your
2888
+ // minifier not to mangle the names of these two functions.
2889
+
2890
+ function Generator() {}
2891
+
2892
+ function GeneratorFunction() {}
2893
+
2894
+ function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that
2895
+ // don't natively support it.
2896
+
2897
+
2898
+ var IteratorPrototype = {};
2899
+
2900
+ IteratorPrototype[iteratorSymbol] = function () {
2901
+ return this;
2902
+ };
2903
+
2904
+ var getProto = Object.getPrototypeOf;
2905
+ var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
2906
+
2907
+ if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
2908
+ // This environment has a native %IteratorPrototype%; use it instead
2909
+ // of the polyfill.
2910
+ IteratorPrototype = NativeIteratorPrototype;
2911
+ }
2912
+
2913
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
2914
+ GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
2915
+ GeneratorFunctionPrototype.constructor = GeneratorFunction;
2916
+ GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
2917
+ // Iterator interface in terms of a single ._invoke method.
2918
+
2919
+ function defineIteratorMethods(prototype) {
2920
+ ["next", "throw", "return"].forEach(function (method) {
2921
+ define(prototype, method, function (arg) {
2922
+ return this._invoke(method, arg);
2923
+ });
2924
+ });
2925
+ }
2926
+
2927
+ exports.isGeneratorFunction = function (genFun) {
2928
+ var ctor = typeof genFun === "function" && genFun.constructor;
2929
+ return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can
2930
+ // do is to check its .name property.
2931
+ (ctor.displayName || ctor.name) === "GeneratorFunction" : false;
2932
+ };
2933
+
2934
+ exports.mark = function (genFun) {
2935
+ if (Object.setPrototypeOf) {
2936
+ Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
2937
+ } else {
2938
+ genFun.__proto__ = GeneratorFunctionPrototype;
2939
+ define(genFun, toStringTagSymbol, "GeneratorFunction");
2940
+ }
2941
+
2942
+ genFun.prototype = Object.create(Gp);
2943
+ return genFun;
2944
+ }; // Within the body of any async function, `await x` is transformed to
2945
+ // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
2946
+ // `hasOwn.call(value, "__await")` to determine if the yielded value is
2947
+ // meant to be awaited.
2948
+
2949
+
2950
+ exports.awrap = function (arg) {
2951
+ return {
2952
+ __await: arg
2953
+ };
2954
+ };
2955
+
2956
+ function AsyncIterator(generator, PromiseImpl) {
2957
+ function invoke(method, arg, resolve, reject) {
2958
+ var record = tryCatch(generator[method], generator, arg);
2959
+
2960
+ if (record.type === "throw") {
2961
+ reject(record.arg);
2962
+ } else {
2963
+ var result = record.arg;
2964
+ var value = result.value;
2965
+
2966
+ if (value && _typeof(value) === "object" && hasOwn.call(value, "__await")) {
2967
+ return PromiseImpl.resolve(value.__await).then(function (value) {
2968
+ invoke("next", value, resolve, reject);
2969
+ }, function (err) {
2970
+ invoke("throw", err, resolve, reject);
2971
+ });
2972
+ }
2973
+
2974
+ return PromiseImpl.resolve(value).then(function (unwrapped) {
2975
+ // When a yielded Promise is resolved, its final value becomes
2976
+ // the .value of the Promise<{value,done}> result for the
2977
+ // current iteration.
2978
+ result.value = unwrapped;
2979
+ resolve(result);
2980
+ }, function (error) {
2981
+ // If a rejected Promise was yielded, throw the rejection back
2982
+ // into the async generator function so it can be handled there.
2983
+ return invoke("throw", error, resolve, reject);
2984
+ });
2985
+ }
2986
+ }
2987
+
2988
+ var previousPromise;
2989
+
2990
+ function enqueue(method, arg) {
2991
+ function callInvokeWithMethodAndArg() {
2992
+ return new PromiseImpl(function (resolve, reject) {
2993
+ invoke(method, arg, resolve, reject);
2994
+ });
2995
+ }
2996
+
2997
+ return previousPromise = // If enqueue has been called before, then we want to wait until
2998
+ // all previous Promises have been resolved before calling invoke,
2999
+ // so that results are always delivered in the correct order. If
3000
+ // enqueue has not been called before, then it is important to
3001
+ // call invoke immediately, without waiting on a callback to fire,
3002
+ // so that the async generator function has the opportunity to do
3003
+ // any necessary setup in a predictable way. This predictability
3004
+ // is why the Promise constructor synchronously invokes its
3005
+ // executor callback, and why async functions synchronously
3006
+ // execute code before the first await. Since we implement simple
3007
+ // async functions in terms of async generators, it is especially
3008
+ // important to get this right, even though it requires care.
3009
+ previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later
3010
+ // invocations of the iterator.
3011
+ callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
3012
+ } // Define the unified helper method that is used to implement .next,
3013
+ // .throw, and .return (see defineIteratorMethods).
3014
+
3015
+
3016
+ this._invoke = enqueue;
3017
+ }
3018
+
3019
+ defineIteratorMethods(AsyncIterator.prototype);
3020
+
3021
+ AsyncIterator.prototype[asyncIteratorSymbol] = function () {
3022
+ return this;
3023
+ };
3024
+
3025
+ exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
3026
+ // AsyncIterator objects; they just return a Promise for the value of
3027
+ // the final result produced by the iterator.
3028
+
3029
+ exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
3030
+ if (PromiseImpl === void 0) PromiseImpl = Promise;
3031
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
3032
+ return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
3033
+ : iter.next().then(function (result) {
3034
+ return result.done ? result.value : iter.next();
3035
+ });
3036
+ };
3037
+
3038
+ function makeInvokeMethod(innerFn, self, context) {
3039
+ var state = GenStateSuspendedStart;
3040
+ return function invoke(method, arg) {
3041
+ if (state === GenStateExecuting) {
3042
+ throw new Error("Generator is already running");
3043
+ }
3044
+
3045
+ if (state === GenStateCompleted) {
3046
+ if (method === "throw") {
3047
+ throw arg;
3048
+ } // Be forgiving, per 25.3.3.3.3 of the spec:
3049
+ // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
3050
+
3051
+
3052
+ return doneResult();
3053
+ }
3054
+
3055
+ context.method = method;
3056
+ context.arg = arg;
3057
+
3058
+ while (true) {
3059
+ var delegate = context.delegate;
3060
+
3061
+ if (delegate) {
3062
+ var delegateResult = maybeInvokeDelegate(delegate, context);
3063
+
3064
+ if (delegateResult) {
3065
+ if (delegateResult === ContinueSentinel) continue;
3066
+ return delegateResult;
3067
+ }
3068
+ }
3069
+
3070
+ if (context.method === "next") {
3071
+ // Setting context._sent for legacy support of Babel's
3072
+ // function.sent implementation.
3073
+ context.sent = context._sent = context.arg;
3074
+ } else if (context.method === "throw") {
3075
+ if (state === GenStateSuspendedStart) {
3076
+ state = GenStateCompleted;
3077
+ throw context.arg;
3078
+ }
3079
+
3080
+ context.dispatchException(context.arg);
3081
+ } else if (context.method === "return") {
3082
+ context.abrupt("return", context.arg);
3083
+ }
3084
+
3085
+ state = GenStateExecuting;
3086
+ var record = tryCatch(innerFn, self, context);
3087
+
3088
+ if (record.type === "normal") {
3089
+ // If an exception is thrown from innerFn, we leave state ===
3090
+ // GenStateExecuting and loop back for another invocation.
3091
+ state = context.done ? GenStateCompleted : GenStateSuspendedYield;
3092
+
3093
+ if (record.arg === ContinueSentinel) {
3094
+ continue;
3095
+ }
3096
+
3097
+ return {
3098
+ value: record.arg,
3099
+ done: context.done
3100
+ };
3101
+ } else if (record.type === "throw") {
3102
+ state = GenStateCompleted; // Dispatch the exception by looping back around to the
3103
+ // context.dispatchException(context.arg) call above.
3104
+
3105
+ context.method = "throw";
3106
+ context.arg = record.arg;
3107
+ }
3108
+ }
3109
+ };
3110
+ } // Call delegate.iterator[context.method](context.arg) and handle the
3111
+ // result, either by returning a { value, done } result from the
3112
+ // delegate iterator, or by modifying context.method and context.arg,
3113
+ // setting context.delegate to null, and returning the ContinueSentinel.
3114
+
3115
+
3116
+ function maybeInvokeDelegate(delegate, context) {
3117
+ var method = delegate.iterator[context.method];
3118
+
3119
+ if (method === undefined) {
3120
+ // A .throw or .return when the delegate iterator has no .throw
3121
+ // method always terminates the yield* loop.
3122
+ context.delegate = null;
3123
+
3124
+ if (context.method === "throw") {
3125
+ // Note: ["return"] must be used for ES3 parsing compatibility.
3126
+ if (delegate.iterator["return"]) {
3127
+ // If the delegate iterator has a return method, give it a
3128
+ // chance to clean up.
3129
+ context.method = "return";
3130
+ context.arg = undefined;
3131
+ maybeInvokeDelegate(delegate, context);
3132
+
3133
+ if (context.method === "throw") {
3134
+ // If maybeInvokeDelegate(context) changed context.method from
3135
+ // "return" to "throw", let that override the TypeError below.
3136
+ return ContinueSentinel;
3137
+ }
3138
+ }
3139
+
3140
+ context.method = "throw";
3141
+ context.arg = new TypeError("The iterator does not provide a 'throw' method");
3142
+ }
3143
+
3144
+ return ContinueSentinel;
3145
+ }
3146
+
3147
+ var record = tryCatch(method, delegate.iterator, context.arg);
3148
+
3149
+ if (record.type === "throw") {
3150
+ context.method = "throw";
3151
+ context.arg = record.arg;
3152
+ context.delegate = null;
3153
+ return ContinueSentinel;
3154
+ }
3155
+
3156
+ var info = record.arg;
3157
+
3158
+ if (!info) {
3159
+ context.method = "throw";
3160
+ context.arg = new TypeError("iterator result is not an object");
3161
+ context.delegate = null;
3162
+ return ContinueSentinel;
3163
+ }
3164
+
3165
+ if (info.done) {
3166
+ // Assign the result of the finished delegate to the temporary
3167
+ // variable specified by delegate.resultName (see delegateYield).
3168
+ context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield).
3169
+
3170
+ context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the
3171
+ // exception, let the outer generator proceed normally. If
3172
+ // context.method was "next", forget context.arg since it has been
3173
+ // "consumed" by the delegate iterator. If context.method was
3174
+ // "return", allow the original .return call to continue in the
3175
+ // outer generator.
3176
+
3177
+ if (context.method !== "return") {
3178
+ context.method = "next";
3179
+ context.arg = undefined;
3180
+ }
3181
+ } else {
3182
+ // Re-yield the result returned by the delegate method.
3183
+ return info;
3184
+ } // The delegate iterator is finished, so forget it and continue with
3185
+ // the outer generator.
3186
+
3187
+
3188
+ context.delegate = null;
3189
+ return ContinueSentinel;
3190
+ } // Define Generator.prototype.{next,throw,return} in terms of the
3191
+ // unified ._invoke helper method.
3192
+
3193
+
3194
+ defineIteratorMethods(Gp);
3195
+ define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the
3196
+ // @@iterator function is called on it. Some browsers' implementations of the
3197
+ // iterator prototype chain incorrectly implement this, causing the Generator
3198
+ // object to not be returned from this call. This ensures that doesn't happen.
3199
+ // See https://github.com/facebook/regenerator/issues/274 for more details.
3200
+
3201
+ Gp[iteratorSymbol] = function () {
3202
+ return this;
3203
+ };
3204
+
3205
+ Gp.toString = function () {
3206
+ return "[object Generator]";
3207
+ };
3208
+
3209
+ function pushTryEntry(locs) {
3210
+ var entry = {
3211
+ tryLoc: locs[0]
3212
+ };
3213
+
3214
+ if (1 in locs) {
3215
+ entry.catchLoc = locs[1];
3216
+ }
3217
+
3218
+ if (2 in locs) {
3219
+ entry.finallyLoc = locs[2];
3220
+ entry.afterLoc = locs[3];
3221
+ }
3222
+
3223
+ this.tryEntries.push(entry);
3224
+ }
3225
+
3226
+ function resetTryEntry(entry) {
3227
+ var record = entry.completion || {};
3228
+ record.type = "normal";
3229
+ delete record.arg;
3230
+ entry.completion = record;
3231
+ }
3232
+
3233
+ function Context(tryLocsList) {
3234
+ // The root entry object (effectively a try statement without a catch
3235
+ // or a finally block) gives us a place to store values thrown from
3236
+ // locations where there is no enclosing try statement.
3237
+ this.tryEntries = [{
3238
+ tryLoc: "root"
3239
+ }];
3240
+ tryLocsList.forEach(pushTryEntry, this);
3241
+ this.reset(true);
3242
+ }
3243
+
3244
+ exports.keys = function (object) {
3245
+ var keys = [];
3246
+
3247
+ for (var key in object) {
3248
+ keys.push(key);
3249
+ }
3250
+
3251
+ keys.reverse(); // Rather than returning an object with a next method, we keep
3252
+ // things simple and return the next function itself.
3253
+
3254
+ return function next() {
3255
+ while (keys.length) {
3256
+ var key = keys.pop();
3257
+
3258
+ if (key in object) {
3259
+ next.value = key;
3260
+ next.done = false;
3261
+ return next;
3262
+ }
3263
+ } // To avoid creating an additional object, we just hang the .value
3264
+ // and .done properties off the next function object itself. This
3265
+ // also ensures that the minifier will not anonymize the function.
3266
+
3267
+
3268
+ next.done = true;
3269
+ return next;
3270
+ };
3271
+ };
3272
+
3273
+ function values(iterable) {
3274
+ if (iterable) {
3275
+ var iteratorMethod = iterable[iteratorSymbol];
3276
+
3277
+ if (iteratorMethod) {
3278
+ return iteratorMethod.call(iterable);
3279
+ }
3280
+
3281
+ if (typeof iterable.next === "function") {
3282
+ return iterable;
3283
+ }
3284
+
3285
+ if (!isNaN(iterable.length)) {
3286
+ var i = -1,
3287
+ next = function next() {
3288
+ while (++i < iterable.length) {
3289
+ if (hasOwn.call(iterable, i)) {
3290
+ next.value = iterable[i];
3291
+ next.done = false;
3292
+ return next;
3293
+ }
3294
+ }
3295
+
3296
+ next.value = undefined;
3297
+ next.done = true;
3298
+ return next;
3299
+ };
3300
+
3301
+ return next.next = next;
3302
+ }
3303
+ } // Return an iterator with no values.
3304
+
3305
+
3306
+ return {
3307
+ next: doneResult
3308
+ };
3309
+ }
3310
+
3311
+ exports.values = values;
3312
+
3313
+ function doneResult() {
3314
+ return {
3315
+ value: undefined,
3316
+ done: true
3317
+ };
3318
+ }
3319
+
3320
+ Context.prototype = {
3321
+ constructor: Context,
3322
+ reset: function reset(skipTempReset) {
3323
+ this.prev = 0;
3324
+ this.next = 0; // Resetting context._sent for legacy support of Babel's
3325
+ // function.sent implementation.
3326
+
3327
+ this.sent = this._sent = undefined;
3328
+ this.done = false;
3329
+ this.delegate = null;
3330
+ this.method = "next";
3331
+ this.arg = undefined;
3332
+ this.tryEntries.forEach(resetTryEntry);
3333
+
3334
+ if (!skipTempReset) {
3335
+ for (var name in this) {
3336
+ // Not sure about the optimal order of these conditions:
3337
+ if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) {
3338
+ this[name] = undefined;
3339
+ }
3340
+ }
3341
+ }
3342
+ },
3343
+ stop: function stop() {
3344
+ this.done = true;
3345
+ var rootEntry = this.tryEntries[0];
3346
+ var rootRecord = rootEntry.completion;
3347
+
3348
+ if (rootRecord.type === "throw") {
3349
+ throw rootRecord.arg;
3350
+ }
3351
+
3352
+ return this.rval;
3353
+ },
3354
+ dispatchException: function dispatchException(exception) {
3355
+ if (this.done) {
3356
+ throw exception;
3357
+ }
3358
+
3359
+ var context = this;
3360
+
3361
+ function handle(loc, caught) {
3362
+ record.type = "throw";
3363
+ record.arg = exception;
3364
+ context.next = loc;
3365
+
3366
+ if (caught) {
3367
+ // If the dispatched exception was caught by a catch block,
3368
+ // then let that catch block handle the exception normally.
3369
+ context.method = "next";
3370
+ context.arg = undefined;
3371
+ }
3372
+
3373
+ return !!caught;
3374
+ }
3375
+
3376
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
3377
+ var entry = this.tryEntries[i];
3378
+ var record = entry.completion;
3379
+
3380
+ if (entry.tryLoc === "root") {
3381
+ // Exception thrown outside of any try block that could handle
3382
+ // it, so set the completion value of the entire function to
3383
+ // throw the exception.
3384
+ return handle("end");
3385
+ }
3386
+
3387
+ if (entry.tryLoc <= this.prev) {
3388
+ var hasCatch = hasOwn.call(entry, "catchLoc");
3389
+ var hasFinally = hasOwn.call(entry, "finallyLoc");
3390
+
3391
+ if (hasCatch && hasFinally) {
3392
+ if (this.prev < entry.catchLoc) {
3393
+ return handle(entry.catchLoc, true);
3394
+ } else if (this.prev < entry.finallyLoc) {
3395
+ return handle(entry.finallyLoc);
3396
+ }
3397
+ } else if (hasCatch) {
3398
+ if (this.prev < entry.catchLoc) {
3399
+ return handle(entry.catchLoc, true);
3400
+ }
3401
+ } else if (hasFinally) {
3402
+ if (this.prev < entry.finallyLoc) {
3403
+ return handle(entry.finallyLoc);
3404
+ }
3405
+ } else {
3406
+ throw new Error("try statement without catch or finally");
3407
+ }
3408
+ }
3409
+ }
3410
+ },
3411
+ abrupt: function abrupt(type, arg) {
3412
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
3413
+ var entry = this.tryEntries[i];
3414
+
3415
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
3416
+ var finallyEntry = entry;
3417
+ break;
3418
+ }
3419
+ }
3420
+
3421
+ if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
3422
+ // Ignore the finally entry if control is not jumping to a
3423
+ // location outside the try/catch block.
3424
+ finallyEntry = null;
3425
+ }
3426
+
3427
+ var record = finallyEntry ? finallyEntry.completion : {};
3428
+ record.type = type;
3429
+ record.arg = arg;
3430
+
3431
+ if (finallyEntry) {
3432
+ this.method = "next";
3433
+ this.next = finallyEntry.finallyLoc;
3434
+ return ContinueSentinel;
3435
+ }
3436
+
3437
+ return this.complete(record);
3438
+ },
3439
+ complete: function complete(record, afterLoc) {
3440
+ if (record.type === "throw") {
3441
+ throw record.arg;
3442
+ }
3443
+
3444
+ if (record.type === "break" || record.type === "continue") {
3445
+ this.next = record.arg;
3446
+ } else if (record.type === "return") {
3447
+ this.rval = this.arg = record.arg;
3448
+ this.method = "return";
3449
+ this.next = "end";
3450
+ } else if (record.type === "normal" && afterLoc) {
3451
+ this.next = afterLoc;
3452
+ }
3453
+
3454
+ return ContinueSentinel;
3455
+ },
3456
+ finish: function finish(finallyLoc) {
3457
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
3458
+ var entry = this.tryEntries[i];
3459
+
3460
+ if (entry.finallyLoc === finallyLoc) {
3461
+ this.complete(entry.completion, entry.afterLoc);
3462
+ resetTryEntry(entry);
3463
+ return ContinueSentinel;
3464
+ }
3465
+ }
3466
+ },
3467
+ "catch": function _catch(tryLoc) {
3468
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
3469
+ var entry = this.tryEntries[i];
3470
+
3471
+ if (entry.tryLoc === tryLoc) {
3472
+ var record = entry.completion;
3473
+
3474
+ if (record.type === "throw") {
3475
+ var thrown = record.arg;
3476
+ resetTryEntry(entry);
3477
+ }
3478
+
3479
+ return thrown;
3480
+ }
3481
+ } // The context.catch method must only be called with a location
3482
+ // argument that corresponds to a known catch block.
3483
+
3484
+
3485
+ throw new Error("illegal catch attempt");
3486
+ },
3487
+ delegateYield: function delegateYield(iterable, resultName, nextLoc) {
3488
+ this.delegate = {
3489
+ iterator: values(iterable),
3490
+ resultName: resultName,
3491
+ nextLoc: nextLoc
3492
+ };
3493
+
3494
+ if (this.method === "next") {
3495
+ // Deliberately forget the last sent value so that we don't
3496
+ // accidentally pass it on to the delegate.
3497
+ this.arg = undefined;
3498
+ }
3499
+
3500
+ return ContinueSentinel;
3501
+ }
3502
+ }; // Regardless of whether this script is executing as a CommonJS module
3503
+ // or not, return the runtime object so that we can declare the variable
3504
+ // regeneratorRuntime in the outer scope, which allows this module to be
3505
+ // injected easily by `bin/regenerator --include-runtime script.js`.
3506
+
3507
+ return exports;
3508
+ }( // If this script is executing as a CommonJS module, use module.exports
3509
+ // as the regeneratorRuntime namespace. Otherwise create a new empty
3510
+ // object. Either way, the resulting object will be used to initialize
3511
+ // the regeneratorRuntime variable at the top of this file.
3512
+ ( false ? 0 : _typeof(module)) === "object" ? module.exports : {});
3513
+
3514
+ try {
3515
+ regeneratorRuntime = runtime;
3516
+ } catch (accidentalStrictMode) {
3517
+ // This module should not be running in strict mode, so the above
3518
+ // assignment should always work unless something is misconfigured. Just
3519
+ // in case runtime.js accidentally runs in strict mode, we can escape
3520
+ // strict mode using a global Function call. This could conceivably fail
3521
+ // if a Content Security Policy forbids using Function, but in that case
3522
+ // the proper solution is to fix the accidental strict mode problem. If
3523
+ // you've misconfigured your bundler to force strict mode and applied a
3524
+ // CSP to forbid Function, and you're not willing to fix either of those
3525
+ // problems, please detail your unique predicament in a GitHub issue.
3526
+ Function("r", "regeneratorRuntime = r")(runtime);
3527
+ }
3528
+
3529
+ /***/ }),
3530
+
3531
+ /***/ 5692:
3532
+ /***/ ((module) => {
3533
+
3534
+ "use strict";
3535
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
3536
+
3537
+ /***/ }),
3538
+
3539
+ /***/ 3741:
3540
+ /***/ ((module) => {
3541
+
3542
+ "use strict";
3543
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3741__;
3544
+
3545
+ /***/ }),
3546
+
3547
+ /***/ 8310:
3548
+ /***/ ((module) => {
3549
+
3550
+ "use strict";
3551
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
3552
+
3553
+ /***/ }),
3554
+
3555
+ /***/ 8156:
3556
+ /***/ ((module) => {
3557
+
3558
+ "use strict";
3559
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
3560
+
3561
+ /***/ }),
3562
+
3563
+ /***/ 8721:
3564
+ /***/ ((module) => {
3565
+
3566
+ "use strict";
3567
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
3568
+
3569
+ /***/ }),
3570
+
3571
+ /***/ 1082:
3572
+ /***/ ((module) => {
3573
+
3574
+ "use strict";
3575
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
3576
+
3577
+ /***/ }),
3578
+
3579
+ /***/ 8763:
3580
+ /***/ ((module) => {
3581
+
3582
+ "use strict";
3583
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
3584
+
3585
+ /***/ }),
3586
+
3587
+ /***/ 4329:
3588
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3589
+
3590
+ "use strict";
3591
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3592
+ /* harmony export */ "Z": () => (/* binding */ _typeof)
3593
+ /* harmony export */ });
3594
+ function _typeof(obj) {
3595
+ "@babel/helpers - typeof";
3596
+
3597
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
3598
+ _typeof = function _typeof(obj) {
3599
+ return typeof obj;
3600
+ };
3601
+ } else {
3602
+ _typeof = function _typeof(obj) {
3603
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3604
+ };
3605
+ }
3606
+
3607
+ return _typeof(obj);
3608
+ }
3609
+
3610
+ /***/ })
3611
+
3612
+ /******/ });
3613
+ /************************************************************************/
3614
+ /******/ // The module cache
3615
+ /******/ var __webpack_module_cache__ = {};
3616
+ /******/
3617
+ /******/ // The require function
3618
+ /******/ function __webpack_require__(moduleId) {
3619
+ /******/ // Check if module is in cache
3620
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
3621
+ /******/ if (cachedModule !== undefined) {
3622
+ /******/ return cachedModule.exports;
3623
+ /******/ }
3624
+ /******/ // Create a new module (and put it into the cache)
3625
+ /******/ var module = __webpack_module_cache__[moduleId] = {
3626
+ /******/ id: moduleId,
3627
+ /******/ loaded: false,
3628
+ /******/ exports: {}
3629
+ /******/ };
3630
+ /******/
3631
+ /******/ // Execute the module function
3632
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
3633
+ /******/
3634
+ /******/ // Flag the module as loaded
3635
+ /******/ module.loaded = true;
3636
+ /******/
3637
+ /******/ // Return the exports of the module
3638
+ /******/ return module.exports;
3639
+ /******/ }
3640
+ /******/
3641
+ /******/ // expose the modules object (__webpack_modules__)
3642
+ /******/ __webpack_require__.m = __webpack_modules__;
3643
+ /******/
3644
+ /************************************************************************/
3645
+ /******/ /* webpack/runtime/chunk loaded */
3646
+ /******/ (() => {
3647
+ /******/ var deferred = [];
3648
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
3649
+ /******/ if(chunkIds) {
3650
+ /******/ priority = priority || 0;
3651
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
3652
+ /******/ deferred[i] = [chunkIds, fn, priority];
3653
+ /******/ return;
3654
+ /******/ }
3655
+ /******/ var notFulfilled = Infinity;
3656
+ /******/ for (var i = 0; i < deferred.length; i++) {
3657
+ /******/ var [chunkIds, fn, priority] = deferred[i];
3658
+ /******/ var fulfilled = true;
3659
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
3660
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
3661
+ /******/ chunkIds.splice(j--, 1);
3662
+ /******/ } else {
3663
+ /******/ fulfilled = false;
3664
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
3665
+ /******/ }
3666
+ /******/ }
3667
+ /******/ if(fulfilled) {
3668
+ /******/ deferred.splice(i--, 1)
3669
+ /******/ var r = fn();
3670
+ /******/ if (r !== undefined) result = r;
3671
+ /******/ }
3672
+ /******/ }
3673
+ /******/ return result;
3674
+ /******/ };
3675
+ /******/ })();
3676
+ /******/
3677
+ /******/ /* webpack/runtime/compat get default export */
3678
+ /******/ (() => {
3679
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
3680
+ /******/ __webpack_require__.n = (module) => {
3681
+ /******/ var getter = module && module.__esModule ?
3682
+ /******/ () => (module['default']) :
3683
+ /******/ () => (module);
3684
+ /******/ __webpack_require__.d(getter, { a: getter });
3685
+ /******/ return getter;
3686
+ /******/ };
3687
+ /******/ })();
3688
+ /******/
3689
+ /******/ /* webpack/runtime/define property getters */
3690
+ /******/ (() => {
3691
+ /******/ // define getter functions for harmony exports
3692
+ /******/ __webpack_require__.d = (exports, definition) => {
3693
+ /******/ for(var key in definition) {
3694
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
3695
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
3696
+ /******/ }
3697
+ /******/ }
3698
+ /******/ };
3699
+ /******/ })();
3700
+ /******/
3701
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
3702
+ /******/ (() => {
3703
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
3704
+ /******/ })();
3705
+ /******/
3706
+ /******/ /* webpack/runtime/make namespace object */
3707
+ /******/ (() => {
3708
+ /******/ // define __esModule on exports
3709
+ /******/ __webpack_require__.r = (exports) => {
3710
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
3711
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3712
+ /******/ }
3713
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
3714
+ /******/ };
3715
+ /******/ })();
3716
+ /******/
3717
+ /******/ /* webpack/runtime/node module decorator */
3718
+ /******/ (() => {
3719
+ /******/ __webpack_require__.nmd = (module) => {
3720
+ /******/ module.paths = [];
3721
+ /******/ if (!module.children) module.children = [];
3722
+ /******/ return module;
3723
+ /******/ };
3724
+ /******/ })();
3725
+ /******/
3726
+ /******/ /* webpack/runtime/jsonp chunk loading */
3727
+ /******/ (() => {
3728
+ /******/ // no baseURI
3729
+ /******/
3730
+ /******/ // object to store loaded and loading chunks
3731
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
3732
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
3733
+ /******/ var installedChunks = {
3734
+ /******/ 3227: 0,
3735
+ /******/ 9811: 0,
3736
+ /******/ 1981: 0
3737
+ /******/ };
3738
+ /******/
3739
+ /******/ // no chunk on demand loading
3740
+ /******/
3741
+ /******/ // no prefetching
3742
+ /******/
3743
+ /******/ // no preloaded
3744
+ /******/
3745
+ /******/ // no HMR
3746
+ /******/
3747
+ /******/ // no HMR manifest
3748
+ /******/
3749
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
3750
+ /******/
3751
+ /******/ // install a JSONP callback for chunk loading
3752
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
3753
+ /******/ var [chunkIds, moreModules, runtime] = data;
3754
+ /******/ // add "moreModules" to the modules object,
3755
+ /******/ // then flag all "chunkIds" as loaded and fire callback
3756
+ /******/ var moduleId, chunkId, i = 0;
3757
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
3758
+ /******/ for(moduleId in moreModules) {
3759
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
3760
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
3761
+ /******/ }
3762
+ /******/ }
3763
+ /******/ if(runtime) var result = runtime(__webpack_require__);
3764
+ /******/ }
3765
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
3766
+ /******/ for(;i < chunkIds.length; i++) {
3767
+ /******/ chunkId = chunkIds[i];
3768
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
3769
+ /******/ installedChunks[chunkId][0]();
3770
+ /******/ }
3771
+ /******/ installedChunks[chunkIds[i]] = 0;
3772
+ /******/ }
3773
+ /******/ return __webpack_require__.O(result);
3774
+ /******/ }
3775
+ /******/
3776
+ /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
3777
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
3778
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
3779
+ /******/ })();
3780
+ /******/
3781
+ /************************************************************************/
3782
+ /******/
3783
+ /******/ // startup
3784
+ /******/ // Load entry module and return exports
3785
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
3786
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(2174)))
3787
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
3788
+ /******/
3789
+ /******/ return __webpack_exports__;
3790
+ /******/ })()
3791
+ ;
3792
+ });
3793
+ //# sourceMappingURL=index.js.map