@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,3321 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("@fortawesome/pro-light-svg-icons/faCheck"), require("@fortawesome/pro-light-svg-icons/faPencil"), require("@fortawesome/pro-light-svg-icons/faTimes"), require("@fortawesome/pro-regular-svg-icons/faChevronDown"), require("@fortawesome/pro-regular-svg-icons/faEllipsisH"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Button"), require("react-bootstrap/Col"), require("react-bootstrap/Collapse"), require("react-bootstrap/Dropdown"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"), require("react-bootstrap/Row"), require("react-dom"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["@fortawesome/pro-light-svg-icons/faCheck", "@fortawesome/pro-light-svg-icons/faPencil", "@fortawesome/pro-light-svg-icons/faTimes", "@fortawesome/pro-regular-svg-icons/faChevronDown", "@fortawesome/pro-regular-svg-icons/faEllipsisH", "@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/Button", "react-bootstrap/Col", "react-bootstrap/Collapse", "react-bootstrap/Dropdown", "react-bootstrap/Form", "react-bootstrap/FormControl", "react-bootstrap/FormText", "react-bootstrap/Row", "react-dom"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("@fortawesome/pro-light-svg-icons/faCheck"), require("@fortawesome/pro-light-svg-icons/faPencil"), require("@fortawesome/pro-light-svg-icons/faTimes"), require("@fortawesome/pro-regular-svg-icons/faChevronDown"), require("@fortawesome/pro-regular-svg-icons/faEllipsisH"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Button"), require("react-bootstrap/Col"), require("react-bootstrap/Collapse"), require("react-bootstrap/Dropdown"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"), require("react-bootstrap/Row"), require("react-dom"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["@fortawesome/pro-light-svg-icons/faCheck"], root["@fortawesome/pro-light-svg-icons/faPencil"], root["@fortawesome/pro-light-svg-icons/faTimes"], root["@fortawesome/pro-regular-svg-icons/faChevronDown"], root["@fortawesome/pro-regular-svg-icons/faEllipsisH"], root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/Button"], root["react-bootstrap/Col"], root["react-bootstrap/Collapse"], root["react-bootstrap/Dropdown"], root["react-bootstrap/Form"], root["react-bootstrap/FormControl"], root["react-bootstrap/FormText"], root["react-bootstrap/Row"], root["react-dom"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__4600__, __WEBPACK_EXTERNAL_MODULE__6466__, __WEBPACK_EXTERNAL_MODULE__6988__, __WEBPACK_EXTERNAL_MODULE__1349__, __WEBPACK_EXTERNAL_MODULE__3041__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8926__, __WEBPACK_EXTERNAL_MODULE__5315__, __WEBPACK_EXTERNAL_MODULE__4440__, __WEBPACK_EXTERNAL_MODULE__4976__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__, __WEBPACK_EXTERNAL_MODULE__3915__, __WEBPACK_EXTERNAL_MODULE__7111__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 1710:
15
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
+
17
+ "use strict";
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "z": () => (/* binding */ Button)
20
+ /* harmony export */ });
21
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
22
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
23
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8310);
24
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
25
+ /* harmony import */ var react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8926);
26
+ /* harmony import */ var react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2__);
27
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5692);
28
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__);
29
+ var __extends = (undefined && undefined.__extends) || (function () {
30
+ var extendStatics = function (d, b) {
31
+ extendStatics = Object.setPrototypeOf ||
32
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
+ return extendStatics(d, b);
35
+ };
36
+ return function (d, b) {
37
+ extendStatics(d, b);
38
+ function __() { this.constructor = d; }
39
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
40
+ };
41
+ })();
42
+
43
+
44
+
45
+
46
+
47
+ var Button = /** @class */ (function (_super) {
48
+ __extends(Button, _super);
49
+ function Button() {
50
+ return _super !== null && _super.apply(this, arguments) || this;
51
+ }
52
+ Button.prototype.renderIcon = function () {
53
+ if (this.props.icon == null) {
54
+ return null;
55
+ }
56
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.icon });
57
+ };
58
+ Button.prototype.renderChildren = function () {
59
+ if (this.props.children == null) {
60
+ return null;
61
+ }
62
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: 'btn-children' }, this.props.children);
63
+ };
64
+ Button.prototype.renderLeftSide = function () {
65
+ if (this.props.iconLeft == null) {
66
+ if (this.props.iconRight == null) {
67
+ return null;
68
+ }
69
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconRight, className: 'invisible' });
70
+ }
71
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconLeft });
72
+ };
73
+ Button.prototype.renderRightSide = function () {
74
+ if (this.props.iconRight == null) {
75
+ if (this.props.iconLeft == null) {
76
+ return null;
77
+ }
78
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconLeft, className: 'invisible' });
79
+ }
80
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconRight });
81
+ };
82
+ Button.prototype.renderContent = function () {
83
+ if (this.props.icon != null && this.props.children == null) {
84
+ return this.renderIcon();
85
+ }
86
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'button-content-center-container' },
87
+ this.renderIcon(),
88
+ this.renderChildren()));
89
+ };
90
+ Button.prototype.render = function () {
91
+ var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-" + this.props.size, this.props.className, {
92
+ 'btn-icon-only': this.props.icon != null && this.props.children == null,
93
+ });
94
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default()), { className: className, variant: this.props.variant, disabled: this.props.disabled, block: this.props.block, onClick: this.props.onClick, href: this.props.href, target: this.props.target },
95
+ this.renderLeftSide(),
96
+ this.renderContent(),
97
+ this.renderRightSide()));
98
+ };
99
+ Button.displayName = 'Button';
100
+ Button.defaultProps = {
101
+ variant: 'primary',
102
+ size: 'md',
103
+ disabled: false,
104
+ block: false,
105
+ };
106
+ return Button;
107
+ }((react__WEBPACK_IMPORTED_MODULE_0___default().PureComponent)));
108
+
109
+
110
+
111
+ /***/ }),
112
+
113
+ /***/ 125:
114
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
115
+
116
+ "use strict";
117
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
118
+ /* harmony export */ "Button": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__.z)
119
+ /* harmony export */ });
120
+ /* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1710);
121
+ // use the star because of this issue: https://github.com/babel/babel-loader/issues/603
122
+
123
+
124
+
125
+ /***/ }),
126
+
127
+ /***/ 7180:
128
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
129
+
130
+ "use strict";
131
+
132
+ // EXPORTS
133
+ __webpack_require__.d(__webpack_exports__, {
134
+ "AtokaCustomDropdownToggleWithChevron": () => (/* reexport */ AtokaCustomDropdownToggleWithChevron),
135
+ "Dropdown": () => (/* reexport */ Dropdown)
136
+ });
137
+
138
+ // UNUSED EXPORTS: AtokaCustomDropdownToggle, AtokaSimpleDropdownToggle, DropdownMenu
139
+
140
+ // EXTERNAL MODULE: external "react"
141
+ var external_react_ = __webpack_require__(8156);
142
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
143
+ // EXTERNAL MODULE: external "classnames"
144
+ var external_classnames_ = __webpack_require__(8310);
145
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
146
+ // EXTERNAL MODULE: external "react-bootstrap/Dropdown"
147
+ var Dropdown_ = __webpack_require__(4976);
148
+ var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
149
+ ;// CONCATENATED MODULE: ./src/components/Dropdown/DropdownMenu.tsx
150
+ var __assign = (undefined && undefined.__assign) || function () {
151
+ __assign = Object.assign || function(t) {
152
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
153
+ s = arguments[i];
154
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
155
+ t[p] = s[p];
156
+ }
157
+ return t;
158
+ };
159
+ return __assign.apply(this, arguments);
160
+ };
161
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
162
+ var t = {};
163
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
164
+ t[p] = s[p];
165
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
166
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
167
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
168
+ t[p[i]] = s[p[i]];
169
+ }
170
+ return t;
171
+ };
172
+
173
+
174
+
175
+
176
+ var DropdownMenu = external_react_default().memo(function (_a) {
177
+ var _b;
178
+ var _c;
179
+ var _d = _a.size, size = _d === void 0 ? 'sm' : _d, props = __rest(_a, ["size"]);
180
+ var className = external_classnames_default()((_b = {},
181
+ _b[(_c = props === null || props === void 0 ? void 0 : props.className) !== null && _c !== void 0 ? _c : ''] = true,
182
+ _b['atoka-dropdown-menu'] = true,
183
+ _b[size] = true,
184
+ _b));
185
+ return (external_react_default().createElement((Dropdown_default()).Menu, __assign({}, props, { className: className }), props.children));
186
+ });
187
+ DropdownMenu.displayName = 'DropdownMenu';
188
+
189
+ ;// CONCATENATED MODULE: ./src/components/Dropdown/Dropdown.tsx
190
+ var __extends = (undefined && undefined.__extends) || (function () {
191
+ var extendStatics = function (d, b) {
192
+ extendStatics = Object.setPrototypeOf ||
193
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
194
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
195
+ return extendStatics(d, b);
196
+ };
197
+ return function (d, b) {
198
+ extendStatics(d, b);
199
+ function __() { this.constructor = d; }
200
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
201
+ };
202
+ })();
203
+ var Dropdown_assign = (undefined && undefined.__assign) || function () {
204
+ Dropdown_assign = Object.assign || function(t) {
205
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
206
+ s = arguments[i];
207
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
208
+ t[p] = s[p];
209
+ }
210
+ return t;
211
+ };
212
+ return Dropdown_assign.apply(this, arguments);
213
+ };
214
+
215
+
216
+
217
+
218
+ var Dropdown = /** @class */ (function (_super) {
219
+ __extends(Dropdown, _super);
220
+ function Dropdown() {
221
+ return _super !== null && _super.apply(this, arguments) || this;
222
+ }
223
+ Dropdown.prototype.render = function () {
224
+ var className = external_classnames_default()(this.props.className, 'atoka-dropdown');
225
+ return (external_react_default().createElement((Dropdown_default()), Dropdown_assign({}, this.props, { className: className }), this.props.children));
226
+ };
227
+ Dropdown.displayName = 'DropDown';
228
+ Dropdown.Toggle = (Dropdown_default()).Toggle;
229
+ Dropdown.Menu = DropdownMenu;
230
+ Dropdown.Item = (Dropdown_default()).Item;
231
+ Dropdown.Divider = (Dropdown_default()).Divider;
232
+ Dropdown.Header = (Dropdown_default()).Header;
233
+ return Dropdown;
234
+ }((external_react_default()).PureComponent));
235
+
236
+
237
+ // EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
238
+ var esm = __webpack_require__(6627);
239
+ // EXTERNAL MODULE: external "@fortawesome/pro-regular-svg-icons/faEllipsisH"
240
+ var faEllipsisH_ = __webpack_require__(3041);
241
+ // EXTERNAL MODULE: external "@fortawesome/pro-regular-svg-icons/faChevronDown"
242
+ var faChevronDown_ = __webpack_require__(1349);
243
+ // EXTERNAL MODULE: ./src/components/Button/index.ts
244
+ var Button = __webpack_require__(125);
245
+ ;// CONCATENATED MODULE: ./src/components/Dropdown/AtokaDropdownToggles.tsx
246
+ var AtokaDropdownToggles_extends = (undefined && undefined.__extends) || (function () {
247
+ var extendStatics = function (d, b) {
248
+ extendStatics = Object.setPrototypeOf ||
249
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
250
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
251
+ return extendStatics(d, b);
252
+ };
253
+ return function (d, b) {
254
+ extendStatics(d, b);
255
+ function __() { this.constructor = d; }
256
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
257
+ };
258
+ })();
259
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
260
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
261
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
262
+ 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;
263
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
264
+ };
265
+ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
266
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
267
+ };
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+ function withRef(displayName, Component) {
276
+ var newComponent = external_react_default().forwardRef(function (props, ref) {
277
+ return (external_react_default().createElement("div", { ref: ref },
278
+ external_react_default().createElement(Component, { disabled: props.disabled, onClick: props.onClick }, props.children)));
279
+ });
280
+ newComponent.displayName = displayName;
281
+ return newComponent;
282
+ }
283
+ var AtokaSimpleDropdownToggleComponent = /** @class */ (function (_super) {
284
+ AtokaDropdownToggles_extends(AtokaSimpleDropdownToggleComponent, _super);
285
+ function AtokaSimpleDropdownToggleComponent() {
286
+ return _super !== null && _super.apply(this, arguments) || this;
287
+ }
288
+ AtokaSimpleDropdownToggleComponent.prototype.handleClick = function (e) {
289
+ e.preventDefault();
290
+ this.props.onClick(e);
291
+ };
292
+ AtokaSimpleDropdownToggleComponent.prototype.render = function () {
293
+ return (external_react_default().createElement(Button.Button, { variant: 'secondary', size: 'xs', icon: faEllipsisH_.faEllipsisH, onClick: !this.props.disabled ? this.handleClick : undefined }));
294
+ };
295
+ var _a;
296
+ AtokaSimpleDropdownToggleComponent.displayName = 'AtokaSimpleDropdownToggleComponent';
297
+ __decorate([
298
+ esm/* default */.ZP,
299
+ __metadata("design:type", Function),
300
+ __metadata("design:paramtypes", [typeof (_a = typeof (external_react_default()) !== "undefined" && (external_react_default()).SyntheticEvent) === "function" ? _a : Object]),
301
+ __metadata("design:returntype", void 0)
302
+ ], AtokaSimpleDropdownToggleComponent.prototype, "handleClick", null);
303
+ return AtokaSimpleDropdownToggleComponent;
304
+ }((external_react_default()).Component));
305
+ var AtokaCustomDropdownToggleComponent = /** @class */ (function (_super) {
306
+ AtokaDropdownToggles_extends(AtokaCustomDropdownToggleComponent, _super);
307
+ function AtokaCustomDropdownToggleComponent() {
308
+ return _super !== null && _super.apply(this, arguments) || this;
309
+ }
310
+ AtokaCustomDropdownToggleComponent.prototype.handleClick = function (e) {
311
+ e.preventDefault();
312
+ this.props.onClick(e);
313
+ };
314
+ AtokaCustomDropdownToggleComponent.prototype.render = function () {
315
+ return (external_react_default().createElement("div", { className: 'atoka-dropdown-toggle', onClick: !this.props.disabled ? this.handleClick : undefined }, this.props.children));
316
+ };
317
+ var _b;
318
+ AtokaCustomDropdownToggleComponent.displayName = 'AtokaCustomDropdownToggleComponent';
319
+ __decorate([
320
+ esm/* default */.ZP,
321
+ __metadata("design:type", Function),
322
+ __metadata("design:paramtypes", [typeof (_b = typeof (external_react_default()) !== "undefined" && (external_react_default()).SyntheticEvent) === "function" ? _b : Object]),
323
+ __metadata("design:returntype", void 0)
324
+ ], AtokaCustomDropdownToggleComponent.prototype, "handleClick", null);
325
+ return AtokaCustomDropdownToggleComponent;
326
+ }((external_react_default()).Component));
327
+ var AtokaCustomDropdownToggleWithChevronComponent = /** @class */ (function (_super) {
328
+ AtokaDropdownToggles_extends(AtokaCustomDropdownToggleWithChevronComponent, _super);
329
+ function AtokaCustomDropdownToggleWithChevronComponent() {
330
+ return _super !== null && _super.apply(this, arguments) || this;
331
+ }
332
+ AtokaCustomDropdownToggleWithChevronComponent.prototype.handleClick = function (e) {
333
+ e.preventDefault();
334
+ this.props.onClick(e);
335
+ };
336
+ AtokaCustomDropdownToggleWithChevronComponent.prototype.render = function () {
337
+ var className = external_classnames_default()({
338
+ 'atoka-dropdown-toggle': true,
339
+ 'disabled': this.props.disabled,
340
+ });
341
+ return (external_react_default().createElement("div", { className: className, onClick: !this.props.disabled ? this.handleClick : undefined },
342
+ this.props.children,
343
+ external_react_default().createElement("div", { className: 'chevron-container' },
344
+ external_react_default().createElement(Button.Button, { variant: 'tertiary', size: 'md', icon: faChevronDown_.faChevronDown }))));
345
+ };
346
+ var _c;
347
+ AtokaCustomDropdownToggleWithChevronComponent.displayName = 'AtokaCustomDropdownToggleWithChevronComponent ';
348
+ __decorate([
349
+ esm/* default */.ZP,
350
+ __metadata("design:type", Function),
351
+ __metadata("design:paramtypes", [typeof (_c = typeof (external_react_default()) !== "undefined" && (external_react_default()).SyntheticEvent) === "function" ? _c : Object]),
352
+ __metadata("design:returntype", void 0)
353
+ ], AtokaCustomDropdownToggleWithChevronComponent.prototype, "handleClick", null);
354
+ return AtokaCustomDropdownToggleWithChevronComponent;
355
+ }((external_react_default()).Component));
356
+ var AtokaSimpleDropdownToggle = withRef('AtokaSimpleDropdownToggle', AtokaSimpleDropdownToggleComponent);
357
+ var AtokaCustomDropdownToggle = withRef('AtokaCustomDropdownToggle', AtokaCustomDropdownToggleComponent);
358
+ var AtokaCustomDropdownToggleWithChevron = withRef('AtokaCustomDropdownToggleWithChevron', AtokaCustomDropdownToggleWithChevronComponent);
359
+
360
+
361
+ ;// CONCATENATED MODULE: ./src/components/Dropdown/index.ts
362
+
363
+
364
+
365
+
366
+
367
+ /***/ }),
368
+
369
+ /***/ 2434:
370
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
371
+
372
+ "use strict";
373
+ // ESM COMPAT FLAG
374
+ __webpack_require__.r(__webpack_exports__);
375
+
376
+ // EXPORTS
377
+ __webpack_require__.d(__webpack_exports__, {
378
+ "EditableString": () => (/* reexport */ EditableString)
379
+ });
380
+
381
+ // EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
382
+ var esm = __webpack_require__(6627);
383
+ // EXTERNAL MODULE: external "classnames"
384
+ var external_classnames_ = __webpack_require__(8310);
385
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
386
+ // EXTERNAL MODULE: external "react"
387
+ var external_react_ = __webpack_require__(8156);
388
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
389
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
390
+ var CSSTransition = __webpack_require__(1750);
391
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
392
+ var objectWithoutPropertiesLoose = __webpack_require__(7038);
393
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
394
+ var esm_extends = __webpack_require__(32);
395
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
396
+ function _assertThisInitialized(self) {
397
+ if (self === void 0) {
398
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
399
+ }
400
+
401
+ return self;
402
+ }
403
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
404
+ var inheritsLoose = __webpack_require__(7581);
405
+ // EXTERNAL MODULE: ./node_modules/prop-types/index.js
406
+ var prop_types = __webpack_require__(8691);
407
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
408
+ var TransitionGroupContext = __webpack_require__(3493);
409
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/utils/ChildMapping.js
410
+
411
+ /**
412
+ * Given `this.props.children`, return an object mapping key to child.
413
+ *
414
+ * @param {*} children `this.props.children`
415
+ * @return {object} Mapping of key to child
416
+ */
417
+
418
+ function getChildMapping(children, mapFn) {
419
+ var mapper = function mapper(child) {
420
+ return mapFn && (0,external_react_.isValidElement)(child) ? mapFn(child) : child;
421
+ };
422
+
423
+ var result = Object.create(null);
424
+ if (children) external_react_.Children.map(children, function (c) {
425
+ return c;
426
+ }).forEach(function (child) {
427
+ // run the map function here instead so that the key is the computed one
428
+ result[child.key] = mapper(child);
429
+ });
430
+ return result;
431
+ }
432
+ /**
433
+ * When you're adding or removing children some may be added or removed in the
434
+ * same render pass. We want to show *both* since we want to simultaneously
435
+ * animate elements in and out. This function takes a previous set of keys
436
+ * and a new set of keys and merges them with its best guess of the correct
437
+ * ordering. In the future we may expose some of the utilities in
438
+ * ReactMultiChild to make this easy, but for now React itself does not
439
+ * directly have this concept of the union of prevChildren and nextChildren
440
+ * so we implement it here.
441
+ *
442
+ * @param {object} prev prev children as returned from
443
+ * `ReactTransitionChildMapping.getChildMapping()`.
444
+ * @param {object} next next children as returned from
445
+ * `ReactTransitionChildMapping.getChildMapping()`.
446
+ * @return {object} a key set that contains all keys in `prev` and all keys
447
+ * in `next` in a reasonable order.
448
+ */
449
+
450
+ function mergeChildMappings(prev, next) {
451
+ prev = prev || {};
452
+ next = next || {};
453
+
454
+ function getValueForKey(key) {
455
+ return key in next ? next[key] : prev[key];
456
+ } // For each key of `next`, the list of keys to insert before that key in
457
+ // the combined list
458
+
459
+
460
+ var nextKeysPending = Object.create(null);
461
+ var pendingKeys = [];
462
+
463
+ for (var prevKey in prev) {
464
+ if (prevKey in next) {
465
+ if (pendingKeys.length) {
466
+ nextKeysPending[prevKey] = pendingKeys;
467
+ pendingKeys = [];
468
+ }
469
+ } else {
470
+ pendingKeys.push(prevKey);
471
+ }
472
+ }
473
+
474
+ var i;
475
+ var childMapping = {};
476
+
477
+ for (var nextKey in next) {
478
+ if (nextKeysPending[nextKey]) {
479
+ for (i = 0; i < nextKeysPending[nextKey].length; i++) {
480
+ var pendingNextKey = nextKeysPending[nextKey][i];
481
+ childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
482
+ }
483
+ }
484
+
485
+ childMapping[nextKey] = getValueForKey(nextKey);
486
+ } // Finally, add the keys which didn't appear before any key in `next`
487
+
488
+
489
+ for (i = 0; i < pendingKeys.length; i++) {
490
+ childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
491
+ }
492
+
493
+ return childMapping;
494
+ }
495
+
496
+ function getProp(child, prop, props) {
497
+ return props[prop] != null ? props[prop] : child.props[prop];
498
+ }
499
+
500
+ function getInitialChildMapping(props, onExited) {
501
+ return getChildMapping(props.children, function (child) {
502
+ return (0,external_react_.cloneElement)(child, {
503
+ onExited: onExited.bind(null, child),
504
+ "in": true,
505
+ appear: getProp(child, 'appear', props),
506
+ enter: getProp(child, 'enter', props),
507
+ exit: getProp(child, 'exit', props)
508
+ });
509
+ });
510
+ }
511
+ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
512
+ var nextChildMapping = getChildMapping(nextProps.children);
513
+ var children = mergeChildMappings(prevChildMapping, nextChildMapping);
514
+ Object.keys(children).forEach(function (key) {
515
+ var child = children[key];
516
+ if (!(0,external_react_.isValidElement)(child)) return;
517
+ var hasPrev = (key in prevChildMapping);
518
+ var hasNext = (key in nextChildMapping);
519
+ var prevChild = prevChildMapping[key];
520
+ var isLeaving = (0,external_react_.isValidElement)(prevChild) && !prevChild.props["in"]; // item is new (entering)
521
+
522
+ if (hasNext && (!hasPrev || isLeaving)) {
523
+ // console.log('entering', key)
524
+ children[key] = (0,external_react_.cloneElement)(child, {
525
+ onExited: onExited.bind(null, child),
526
+ "in": true,
527
+ exit: getProp(child, 'exit', nextProps),
528
+ enter: getProp(child, 'enter', nextProps)
529
+ });
530
+ } else if (!hasNext && hasPrev && !isLeaving) {
531
+ // item is old (exiting)
532
+ // console.log('leaving', key)
533
+ children[key] = (0,external_react_.cloneElement)(child, {
534
+ "in": false
535
+ });
536
+ } else if (hasNext && hasPrev && (0,external_react_.isValidElement)(prevChild)) {
537
+ // item hasn't changed transition states
538
+ // copy over the last transition props;
539
+ // console.log('unchanged', key)
540
+ children[key] = (0,external_react_.cloneElement)(child, {
541
+ onExited: onExited.bind(null, child),
542
+ "in": prevChild.props["in"],
543
+ exit: getProp(child, 'exit', nextProps),
544
+ enter: getProp(child, 'enter', nextProps)
545
+ });
546
+ }
547
+ });
548
+ return children;
549
+ }
550
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+ var values = Object.values || function (obj) {
561
+ return Object.keys(obj).map(function (k) {
562
+ return obj[k];
563
+ });
564
+ };
565
+
566
+ var defaultProps = {
567
+ component: 'div',
568
+ childFactory: function childFactory(child) {
569
+ return child;
570
+ }
571
+ };
572
+ /**
573
+ * The `<TransitionGroup>` component manages a set of transition components
574
+ * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition
575
+ * components, `<TransitionGroup>` is a state machine for managing the mounting
576
+ * and unmounting of components over time.
577
+ *
578
+ * Consider the example below. As items are removed or added to the TodoList the
579
+ * `in` prop is toggled automatically by the `<TransitionGroup>`.
580
+ *
581
+ * Note that `<TransitionGroup>` does not define any animation behavior!
582
+ * Exactly _how_ a list item animates is up to the individual transition
583
+ * component. This means you can mix and match animations across different list
584
+ * items.
585
+ */
586
+
587
+ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
588
+ (0,inheritsLoose/* default */.Z)(TransitionGroup, _React$Component);
589
+
590
+ function TransitionGroup(props, context) {
591
+ var _this;
592
+
593
+ _this = _React$Component.call(this, props, context) || this;
594
+
595
+ var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear
596
+
597
+
598
+ _this.state = {
599
+ contextValue: {
600
+ isMounting: true
601
+ },
602
+ handleExited: handleExited,
603
+ firstRender: true
604
+ };
605
+ return _this;
606
+ }
607
+
608
+ var _proto = TransitionGroup.prototype;
609
+
610
+ _proto.componentDidMount = function componentDidMount() {
611
+ this.mounted = true;
612
+ this.setState({
613
+ contextValue: {
614
+ isMounting: false
615
+ }
616
+ });
617
+ };
618
+
619
+ _proto.componentWillUnmount = function componentWillUnmount() {
620
+ this.mounted = false;
621
+ };
622
+
623
+ TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
624
+ var prevChildMapping = _ref.children,
625
+ handleExited = _ref.handleExited,
626
+ firstRender = _ref.firstRender;
627
+ return {
628
+ children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
629
+ firstRender: false
630
+ };
631
+ } // node is `undefined` when user provided `nodeRef` prop
632
+ ;
633
+
634
+ _proto.handleExited = function handleExited(child, node) {
635
+ var currentChildMapping = getChildMapping(this.props.children);
636
+ if (child.key in currentChildMapping) return;
637
+
638
+ if (child.props.onExited) {
639
+ child.props.onExited(node);
640
+ }
641
+
642
+ if (this.mounted) {
643
+ this.setState(function (state) {
644
+ var children = (0,esm_extends/* default */.Z)({}, state.children);
645
+
646
+ delete children[child.key];
647
+ return {
648
+ children: children
649
+ };
650
+ });
651
+ }
652
+ };
653
+
654
+ _proto.render = function render() {
655
+ var _this$props = this.props,
656
+ Component = _this$props.component,
657
+ childFactory = _this$props.childFactory,
658
+ props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["component", "childFactory"]);
659
+
660
+ var contextValue = this.state.contextValue;
661
+ var children = values(this.state.children).map(childFactory);
662
+ delete props.appear;
663
+ delete props.enter;
664
+ delete props.exit;
665
+
666
+ if (Component === null) {
667
+ return /*#__PURE__*/external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
668
+ value: contextValue
669
+ }, children);
670
+ }
671
+
672
+ return /*#__PURE__*/external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
673
+ value: contextValue
674
+ }, /*#__PURE__*/external_react_default().createElement(Component, props, children));
675
+ };
676
+
677
+ return TransitionGroup;
678
+ }((external_react_default()).Component);
679
+
680
+ TransitionGroup.propTypes = false ? 0 : {};
681
+ TransitionGroup.defaultProps = defaultProps;
682
+ /* harmony default export */ const esm_TransitionGroup = (TransitionGroup);
683
+ // EXTERNAL MODULE: external "@fortawesome/pro-light-svg-icons/faPencil"
684
+ var faPencil_ = __webpack_require__(6466);
685
+ // EXTERNAL MODULE: ./src/components/InlineStringEditor/InlineStringEditor.tsx
686
+ var InlineStringEditor = __webpack_require__(539);
687
+ // EXTERNAL MODULE: ./src/components/Button/index.ts
688
+ var Button = __webpack_require__(125);
689
+ ;// CONCATENATED MODULE: ./src/components/EditableString/EditableString.tsx
690
+ var __extends = (undefined && undefined.__extends) || (function () {
691
+ var extendStatics = function (d, b) {
692
+ extendStatics = Object.setPrototypeOf ||
693
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
694
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
695
+ return extendStatics(d, b);
696
+ };
697
+ return function (d, b) {
698
+ extendStatics(d, b);
699
+ function __() { this.constructor = d; }
700
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
701
+ };
702
+ })();
703
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
704
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
705
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
706
+ 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;
707
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
708
+ };
709
+ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
710
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
711
+ };
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+ /**
721
+ * ### Overview
722
+ *
723
+ * This component is used in Atoka to edit an item directly.
724
+ */
725
+ var EditableString = /** @class */ (function (_super) {
726
+ __extends(EditableString, _super);
727
+ function EditableString() {
728
+ var _this = _super !== null && _super.apply(this, arguments) || this;
729
+ _this.state = {
730
+ isEditing: false,
731
+ currentValue: _this.props.value,
732
+ };
733
+ return _this;
734
+ }
735
+ EditableString.prototype.componentDidUpdate = function (prevProps) {
736
+ if (prevProps.value !== this.props.value) {
737
+ this.setState({ currentValue: this.props.value });
738
+ }
739
+ };
740
+ EditableString.prototype.handleClick = function () {
741
+ if (this.state.isEditing) {
742
+ return;
743
+ }
744
+ this.setState({ isEditing: true });
745
+ };
746
+ EditableString.prototype.handleCancel = function () {
747
+ // On cancel we could reset currentValue and set it back from props.. is it a good idea?
748
+ this.setState({ isEditing: false });
749
+ if (this.props.onCancel != null) {
750
+ this.props.onCancel();
751
+ }
752
+ };
753
+ EditableString.prototype.handleSave = function (newValue) {
754
+ var _this = this;
755
+ if (!this.state.isEditing) {
756
+ return;
757
+ }
758
+ this.props.onSave(newValue);
759
+ // Dirty tricks are dirty: allow some time for eventual store update and rerender, to avoid flickering
760
+ setTimeout(function () { return _this.setState({ isEditing: false }); }, 10);
761
+ };
762
+ EditableString.prototype.handleChange = function (newValue) {
763
+ if (this.props.onChange != null) {
764
+ this.props.onChange(newValue);
765
+ return;
766
+ }
767
+ this.setState({ currentValue: newValue });
768
+ };
769
+ EditableString.prototype.renderEditingContent = function () {
770
+ return (external_react_default().createElement(CSSTransition/* default */.Z, { classNames: 'editable-string', timeout: { enter: 400, exit: 400 }, key: 'editing' },
771
+ external_react_default().createElement("div", { className: 'editable-string-editing w-100' },
772
+ external_react_default().createElement(InlineStringEditor/* InlineStringEditor */.M, { value: this.state.currentValue, onCancel: this.handleCancel, onSave: this.handleSave, onChange: this.handleChange, useIcons: this.props.useIcons, minLength: this.props.minLength, maxLength: this.props.maxLength, getIsSaveDisabled: this.props.getIsSaveDisabled, options: this.props.options, inputType: this.props.inputType, getError: this.props.getError, help: this.props.help }))));
773
+ };
774
+ EditableString.prototype.renderShownValue = function () {
775
+ var _a = this.props, value = _a.value, shownValue = _a.shownValue;
776
+ if (shownValue != null) {
777
+ return shownValue;
778
+ }
779
+ if (value == null) {
780
+ return null;
781
+ }
782
+ if (typeof value === 'string') {
783
+ return value;
784
+ }
785
+ return value.label;
786
+ };
787
+ EditableString.prototype.renderContent = function () {
788
+ if (this.state.isEditing) {
789
+ return this.renderEditingContent();
790
+ }
791
+ return (external_react_default().createElement(CSSTransition/* default */.Z, { classNames: 'editable-string', timeout: { enter: 400, exit: 400 }, key: 'viewing' },
792
+ external_react_default().createElement("div", { className: 'editable-string-viewing w-100', onClick: this.handleClick },
793
+ this.renderShownValue(),
794
+ external_react_default().createElement(Button.Button, { icon: faPencil_.faPencil, className: 'edit-icon', variant: 'tertiary' }))));
795
+ };
796
+ EditableString.prototype.render = function () {
797
+ var className = external_classnames_default()(this.props.className, 'editable-string-container');
798
+ return external_react_default().createElement(esm_TransitionGroup, { className: className }, this.renderContent());
799
+ };
800
+ EditableString.displayName = 'EditableString';
801
+ __decorate([
802
+ esm/* default */.ZP,
803
+ __metadata("design:type", Function),
804
+ __metadata("design:paramtypes", []),
805
+ __metadata("design:returntype", void 0)
806
+ ], EditableString.prototype, "handleClick", null);
807
+ __decorate([
808
+ esm/* default */.ZP,
809
+ __metadata("design:type", Function),
810
+ __metadata("design:paramtypes", []),
811
+ __metadata("design:returntype", void 0)
812
+ ], EditableString.prototype, "handleCancel", null);
813
+ __decorate([
814
+ esm/* default */.ZP,
815
+ __metadata("design:type", Function),
816
+ __metadata("design:paramtypes", [String]),
817
+ __metadata("design:returntype", void 0)
818
+ ], EditableString.prototype, "handleSave", null);
819
+ __decorate([
820
+ esm/* default */.ZP,
821
+ __metadata("design:type", Function),
822
+ __metadata("design:paramtypes", [String]),
823
+ __metadata("design:returntype", void 0)
824
+ ], EditableString.prototype, "handleChange", null);
825
+ return EditableString;
826
+ }((external_react_default()).PureComponent));
827
+
828
+
829
+ ;// CONCATENATED MODULE: ./src/components/EditableString/index.ts
830
+ // use the star because of this issue: https://github.com/babel/babel-loader/issues/603
831
+
832
+
833
+
834
+ /***/ }),
835
+
836
+ /***/ 9316:
837
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
838
+
839
+ "use strict";
840
+
841
+ // EXPORTS
842
+ __webpack_require__.d(__webpack_exports__, {
843
+ "l": () => (/* binding */ Form)
844
+ });
845
+
846
+ // EXTERNAL MODULE: external "react"
847
+ var external_react_ = __webpack_require__(8156);
848
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
849
+ // EXTERNAL MODULE: external "classnames"
850
+ var external_classnames_ = __webpack_require__(8310);
851
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
852
+ // EXTERNAL MODULE: external "react-bootstrap/Form"
853
+ var Form_ = __webpack_require__(8721);
854
+ var Form_default = /*#__PURE__*/__webpack_require__.n(Form_);
855
+ ;// CONCATENATED MODULE: ./src/components/Form/FormLabel.tsx
856
+
857
+
858
+
859
+
860
+ var FormLabel = external_react_default().memo(function (props) {
861
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-label');
862
+ return external_react_default().createElement((Form_default()).Label, { className: className }, props.children);
863
+ });
864
+ FormLabel.displayName = 'FormLabel';
865
+
866
+ // EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
867
+ var FormControl = __webpack_require__(3422);
868
+ ;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
869
+ var __assign = (undefined && undefined.__assign) || function () {
870
+ __assign = Object.assign || function(t) {
871
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
872
+ s = arguments[i];
873
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
874
+ t[p] = s[p];
875
+ }
876
+ return t;
877
+ };
878
+ return __assign.apply(this, arguments);
879
+ };
880
+
881
+
882
+
883
+
884
+ var FormCheckbox = function (props) {
885
+ var _a;
886
+ var className = external_classnames_default()('atoka-form-checkbox', props === null || props === void 0 ? void 0 : props.className);
887
+ 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 : '' }));
888
+ };
889
+ FormCheckbox.displayName = 'FormCheckbox';
890
+
891
+ ;// CONCATENATED MODULE: ./src/components/Form/FormRadio.tsx
892
+ var FormRadio_assign = (undefined && undefined.__assign) || function () {
893
+ FormRadio_assign = Object.assign || function(t) {
894
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
895
+ s = arguments[i];
896
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
897
+ t[p] = s[p];
898
+ }
899
+ return t;
900
+ };
901
+ return FormRadio_assign.apply(this, arguments);
902
+ };
903
+
904
+
905
+
906
+
907
+ var FormRadio = function (props) {
908
+ var _a;
909
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-radio');
910
+ 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 : '' }));
911
+ };
912
+ FormRadio.displayName = 'FormRadio';
913
+
914
+ // EXTERNAL MODULE: external "react-bootstrap/FormText"
915
+ var FormText_ = __webpack_require__(8763);
916
+ var FormText_default = /*#__PURE__*/__webpack_require__.n(FormText_);
917
+ ;// CONCATENATED MODULE: ./src/components/Form/FormHelp.tsx
918
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
919
+ var t = {};
920
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
921
+ t[p] = s[p];
922
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
923
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
924
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
925
+ t[p[i]] = s[p[i]];
926
+ }
927
+ return t;
928
+ };
929
+
930
+
931
+
932
+
933
+ var FormHelp = external_react_default().memo(function (_a) {
934
+ var children = _a.children, props = __rest(_a, ["children"]);
935
+ var className = external_classnames_default()('d-block', props === null || props === void 0 ? void 0 : props.className);
936
+ return (external_react_default().createElement((FormText_default()), { bsPrefix: 'atoka-form-help', className: className }, children));
937
+ });
938
+ FormHelp.displayName = 'FormHelp';
939
+
940
+ ;// CONCATENATED MODULE: ./src/components/Form/Form.tsx
941
+ var Form_assign = (undefined && undefined.__assign) || function () {
942
+ Form_assign = Object.assign || function(t) {
943
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
944
+ s = arguments[i];
945
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
946
+ t[p] = s[p];
947
+ }
948
+ return t;
949
+ };
950
+ return Form_assign.apply(this, arguments);
951
+ };
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+ var Form = function (props) {
962
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form');
963
+ return (external_react_default().createElement((Form_default()), Form_assign({}, props, { className: className }), props.children));
964
+ };
965
+ Form.displayName = 'Form';
966
+ Form.Control = FormControl/* FormControl */.N;
967
+ Form.Label = FormLabel;
968
+ Form.Checkbox = FormCheckbox;
969
+ Form.Radio = FormRadio;
970
+ Form.File = (Form_default()).File;
971
+ Form.Switch = (Form_default()).Switch;
972
+ Form.Help = FormHelp;
973
+ Form.Group = (Form_default()).Group;
974
+
975
+
976
+
977
+ /***/ }),
978
+
979
+ /***/ 3422:
980
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
981
+
982
+ "use strict";
983
+
984
+ // EXPORTS
985
+ __webpack_require__.d(__webpack_exports__, {
986
+ "N": () => (/* binding */ FormControl)
987
+ });
988
+
989
+ // EXTERNAL MODULE: external "react"
990
+ var external_react_ = __webpack_require__(8156);
991
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
992
+ // EXTERNAL MODULE: external "classnames"
993
+ var external_classnames_ = __webpack_require__(8310);
994
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
995
+ // EXTERNAL MODULE: external "react-bootstrap/FormControl"
996
+ var FormControl_ = __webpack_require__(1082);
997
+ var FormControl_default = /*#__PURE__*/__webpack_require__.n(FormControl_);
998
+ ;// CONCATENATED MODULE: ./src/components/Form/FormControlFeedBack.tsx
999
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
1000
+ var t = {};
1001
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1002
+ t[p] = s[p];
1003
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1004
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1005
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1006
+ t[p[i]] = s[p[i]];
1007
+ }
1008
+ return t;
1009
+ };
1010
+
1011
+
1012
+
1013
+ var FormControlFeedBack = external_react_default().memo(function (_a) {
1014
+ var _b = _a.show, show = _b === void 0 ? true : _b, props = __rest(_a, ["show"]);
1015
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-control-feedback', {
1016
+ 'd-block': show,
1017
+ });
1018
+ return (external_react_default().createElement((FormControl_default()).Feedback, { type: props.type, className: className }, props.children));
1019
+ });
1020
+ FormControlFeedBack.displayName = ' FormControlFeedBack';
1021
+
1022
+ ;// CONCATENATED MODULE: ./src/components/Form/FormControl.tsx
1023
+ var FormControl_rest = (undefined && undefined.__rest) || function (s, e) {
1024
+ var t = {};
1025
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1026
+ t[p] = s[p];
1027
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1028
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1029
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1030
+ t[p[i]] = s[p[i]];
1031
+ }
1032
+ return t;
1033
+ };
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ var FormControlComponent = external_react_default().forwardRef(function (_a, ref) {
1040
+ var _b = _a.size, size = _b === void 0 ? 'md' : _b, props = FormControl_rest(_a, ["size"]);
1041
+ var className = external_classnames_default()('atoka-form-control', props === null || props === void 0 ? void 0 : props.className, {
1042
+ 'atoka-shadow': props.withShadow,
1043
+ 'disabled': props.disabled,
1044
+ });
1045
+ 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));
1046
+ });
1047
+ FormControlComponent.displayName = 'FormControlComponent';
1048
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1049
+ var FormControl = FormControlComponent;
1050
+ FormControl.FeedBack = FormControlFeedBack;
1051
+ FormControl.displayName = 'FormControl';
1052
+
1053
+
1054
+
1055
+ /***/ }),
1056
+
1057
+ /***/ 4323:
1058
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1059
+
1060
+ "use strict";
1061
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1062
+ /* harmony export */ "Form": () => (/* reexport safe */ _Form__WEBPACK_IMPORTED_MODULE_0__.l)
1063
+ /* harmony export */ });
1064
+ /* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9316);
1065
+
1066
+
1067
+
1068
+ /***/ }),
1069
+
1070
+ /***/ 539:
1071
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1072
+
1073
+ "use strict";
1074
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1075
+ /* harmony export */ "M": () => (/* binding */ InlineStringEditor)
1076
+ /* harmony export */ });
1077
+ /* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6627);
1078
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
1079
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1080
+ /* harmony import */ var react_bootstrap_Col__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5315);
1081
+ /* harmony import */ var react_bootstrap_Col__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Col__WEBPACK_IMPORTED_MODULE_1__);
1082
+ /* harmony import */ var react_bootstrap_Row__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3915);
1083
+ /* harmony import */ var react_bootstrap_Row__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Row__WEBPACK_IMPORTED_MODULE_2__);
1084
+ /* harmony import */ var react_bootstrap_Collapse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4440);
1085
+ /* harmony import */ var react_bootstrap_Collapse__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Collapse__WEBPACK_IMPORTED_MODULE_3__);
1086
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8310);
1087
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);
1088
+ /* harmony import */ var _fortawesome_pro_light_svg_icons_faTimes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6988);
1089
+ /* harmony import */ var _fortawesome_pro_light_svg_icons_faTimes__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_pro_light_svg_icons_faTimes__WEBPACK_IMPORTED_MODULE_5__);
1090
+ /* harmony import */ var _fortawesome_pro_light_svg_icons_faCheck__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4600);
1091
+ /* harmony import */ var _fortawesome_pro_light_svg_icons_faCheck__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_pro_light_svg_icons_faCheck__WEBPACK_IMPORTED_MODULE_6__);
1092
+ /* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(125);
1093
+ /* harmony import */ var _Form_FormControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3422);
1094
+ /* harmony import */ var _SelectDropdown__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(9450);
1095
+ /* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4323);
1096
+ var __extends = (undefined && undefined.__extends) || (function () {
1097
+ var extendStatics = function (d, b) {
1098
+ extendStatics = Object.setPrototypeOf ||
1099
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1100
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1101
+ return extendStatics(d, b);
1102
+ };
1103
+ return function (d, b) {
1104
+ extendStatics(d, b);
1105
+ function __() { this.constructor = d; }
1106
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1107
+ };
1108
+ })();
1109
+ var __assign = (undefined && undefined.__assign) || function () {
1110
+ __assign = Object.assign || function(t) {
1111
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1112
+ s = arguments[i];
1113
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
1114
+ t[p] = s[p];
1115
+ }
1116
+ return t;
1117
+ };
1118
+ return __assign.apply(this, arguments);
1119
+ };
1120
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1121
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1122
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1123
+ 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;
1124
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1125
+ };
1126
+ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
1127
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1128
+ };
1129
+ var __values = (undefined && undefined.__values) || function(o) {
1130
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1131
+ if (m) return m.call(o);
1132
+ if (o && typeof o.length === "number") return {
1133
+ next: function () {
1134
+ if (o && i >= o.length) o = void 0;
1135
+ return { value: o && o[i++], done: !o };
1136
+ }
1137
+ };
1138
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1139
+ };
1140
+
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+ /**
1154
+ * ### Overview
1155
+ *
1156
+ * This component is used in Atoka to create or rename an item directly.
1157
+ */
1158
+ var InlineStringEditor = /** @class */ (function (_super) {
1159
+ __extends(InlineStringEditor, _super);
1160
+ function InlineStringEditor() {
1161
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1162
+ _this.inputRef = react__WEBPACK_IMPORTED_MODULE_0___default().createRef();
1163
+ _this.state = {
1164
+ currentValue: _this.props.value,
1165
+ };
1166
+ return _this;
1167
+ }
1168
+ InlineStringEditor.prototype.componentDidMount = function () {
1169
+ var _a, _b, _c, _d;
1170
+ (_b = (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.focus();
1171
+ (_d = (_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.select();
1172
+ };
1173
+ InlineStringEditor.prototype.componentDidUpdate = function (prevProps) {
1174
+ if (prevProps.value !== this.props.value) {
1175
+ this.setState({ currentValue: this.props.value });
1176
+ }
1177
+ };
1178
+ InlineStringEditor.prototype.handleKeyDown = function (e) {
1179
+ if (e.key === 'Escape' || e.key === 'Esc') {
1180
+ this.handleCancel();
1181
+ }
1182
+ if (e.key === 'Enter') {
1183
+ e.stopPropagation();
1184
+ this.handleSave();
1185
+ }
1186
+ };
1187
+ InlineStringEditor.prototype.handleCancel = function () {
1188
+ this.setState({ currentValue: this.props.value });
1189
+ this.props.onCancel();
1190
+ };
1191
+ InlineStringEditor.prototype.handleSave = function () {
1192
+ if (this.isSaveDisabled()) {
1193
+ return;
1194
+ }
1195
+ this.props.onSave(this.state.currentValue);
1196
+ };
1197
+ InlineStringEditor.prototype.handleTextChange = function (e) {
1198
+ var _a, _b;
1199
+ var text = e.target.value;
1200
+ // maxLength is in defaultProps
1201
+ var maxLength = (_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.maxLength) !== null && _b !== void 0 ? _b : 0;
1202
+ if (text.length <= maxLength) {
1203
+ if (this.props.onChange != null) {
1204
+ this.props.onChange(text);
1205
+ }
1206
+ this.setState({ currentValue: text });
1207
+ }
1208
+ };
1209
+ InlineStringEditor.prototype.handleOptionChange = function (id) {
1210
+ var e_1, _a;
1211
+ var _b;
1212
+ // If handleOptionChange is called, we are using the select hence we have options
1213
+ var options = (_b = this.props.options) !== null && _b !== void 0 ? _b : [];
1214
+ try {
1215
+ for (var options_1 = __values(options), options_1_1 = options_1.next(); !options_1_1.done; options_1_1 = options_1.next()) {
1216
+ var option = options_1_1.value;
1217
+ if (String(option.value) === String(id)) {
1218
+ if (this.props.onChange != null) {
1219
+ this.props.onChange(option);
1220
+ }
1221
+ this.setState({ currentValue: option });
1222
+ }
1223
+ }
1224
+ }
1225
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
1226
+ finally {
1227
+ try {
1228
+ if (options_1_1 && !options_1_1.done && (_a = options_1.return)) _a.call(options_1);
1229
+ }
1230
+ finally { if (e_1) throw e_1.error; }
1231
+ }
1232
+ };
1233
+ InlineStringEditor.prototype.isSaveDisabled = function () {
1234
+ if (this.props.getIsSaveDisabled != null) {
1235
+ return this.props.getIsSaveDisabled(this.state.currentValue);
1236
+ }
1237
+ if (this.props.getError != null && this.props.getError(this.state.currentValue) != null) {
1238
+ return true;
1239
+ }
1240
+ // If there's not an onChange, props.text did not change, but state.text did
1241
+ if (this.props.onChange == null && this.state.currentValue === this.props.value) {
1242
+ return true;
1243
+ }
1244
+ if (typeof this.state.currentValue === 'string') {
1245
+ // maxLength is in defaultProps
1246
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1247
+ return this.state.currentValue.length < this.props.minLength;
1248
+ }
1249
+ return false;
1250
+ };
1251
+ InlineStringEditor.prototype.renderHelp = function () {
1252
+ if (this.props.help == null) {
1253
+ return null;
1254
+ }
1255
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Collapse__WEBPACK_IMPORTED_MODULE_3___default()), { appear: true, in: true },
1256
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Form__WEBPACK_IMPORTED_MODULE_10__.Form.Help, null, this.props.help)));
1257
+ };
1258
+ InlineStringEditor.prototype.renderError = function () {
1259
+ if (this.props.getError == null) {
1260
+ return null;
1261
+ }
1262
+ var error = this.props.getError(this.state.currentValue);
1263
+ if (error == null) {
1264
+ return null;
1265
+ }
1266
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Collapse__WEBPACK_IMPORTED_MODULE_3___default()), { appear: true, in: true },
1267
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Form__WEBPACK_IMPORTED_MODULE_10__.Form.Control.FeedBack, { type: 'invalid' }, error)));
1268
+ };
1269
+ InlineStringEditor.prototype.renderInput = function () {
1270
+ var _a;
1271
+ if (this.props.options != null && this.props.options.length > 0) {
1272
+ var value = this.state.currentValue != null ? this.state.currentValue.value : '';
1273
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_SelectDropdown__WEBPACK_IMPORTED_MODULE_9__.SelectDropdown, { className: 'inline-dropdown-select', size: this.props.size, selected: String(value), onSelect: this.handleOptionChange, onKeyDown: this.handleKeyDown, options: this.props.options, isInvalid: this.renderError() != null }));
1274
+ }
1275
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Form_FormControl__WEBPACK_IMPORTED_MODULE_8__/* .FormControl */ .N, { ref: this.inputRef, size: this.props.size, type: this.props.inputType, value: ((_a = this.state.currentValue) !== null && _a !== void 0 ? _a : ''), onChange: this.handleTextChange, onKeyDown: this.handleKeyDown, isInvalid: this.renderError() != null }));
1276
+ };
1277
+ InlineStringEditor.prototype.renderCancelButton = function () {
1278
+ var props = {
1279
+ onClick: this.handleCancel,
1280
+ variant: 'secondary',
1281
+ size: this.props.size,
1282
+ className: 'inline-string-editor-cancel',
1283
+ };
1284
+ if (this.props.useIcons === true) {
1285
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Button__WEBPACK_IMPORTED_MODULE_7__.Button, __assign({ icon: _fortawesome_pro_light_svg_icons_faTimes__WEBPACK_IMPORTED_MODULE_5__.faTimes }, props));
1286
+ }
1287
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Button__WEBPACK_IMPORTED_MODULE_7__.Button, __assign({}, props), this.props.cancelLabel);
1288
+ };
1289
+ InlineStringEditor.prototype.renderSaveButton = function () {
1290
+ var props = {
1291
+ onClick: this.handleSave,
1292
+ variant: 'primary',
1293
+ disabled: this.isSaveDisabled(),
1294
+ size: this.props.size,
1295
+ className: 'inline-string-editor-save',
1296
+ };
1297
+ if (this.props.useIcons === true) {
1298
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Button__WEBPACK_IMPORTED_MODULE_7__.Button, __assign({ icon: _fortawesome_pro_light_svg_icons_faCheck__WEBPACK_IMPORTED_MODULE_6__.faCheck }, props));
1299
+ }
1300
+ return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Button__WEBPACK_IMPORTED_MODULE_7__.Button, __assign({}, props), this.props.saveLabel);
1301
+ };
1302
+ InlineStringEditor.prototype.render = function () {
1303
+ var className = classnames__WEBPACK_IMPORTED_MODULE_4___default()('inline-string-editor w-100', this.props.className);
1304
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: className },
1305
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Row__WEBPACK_IMPORTED_MODULE_2___default()), { className: 'no-gutters' },
1306
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Col__WEBPACK_IMPORTED_MODULE_1___default()), null, this.renderInput()),
1307
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Col__WEBPACK_IMPORTED_MODULE_1___default()), { xs: 'auto', className: 'inline-string-editor-controls' },
1308
+ this.renderCancelButton(),
1309
+ this.renderSaveButton())),
1310
+ this.renderError(),
1311
+ this.renderHelp()));
1312
+ };
1313
+ var _a, _b;
1314
+ InlineStringEditor.displayName = 'InlineStringEditor';
1315
+ InlineStringEditor.defaultProps = {
1316
+ useIcons: false,
1317
+ inputType: 'text',
1318
+ maxLength: 60,
1319
+ minLength: 3,
1320
+ saveLabel: 'Save',
1321
+ cancelLabel: 'Cancel',
1322
+ size: 'md',
1323
+ };
1324
+ __decorate([
1325
+ autobind_decorator__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP,
1326
+ __metadata("design:type", Function),
1327
+ __metadata("design:paramtypes", [typeof (_a = typeof (react__WEBPACK_IMPORTED_MODULE_0___default()) !== "undefined" && (react__WEBPACK_IMPORTED_MODULE_0___default().KeyboardEvent)) === "function" ? _a : Object]),
1328
+ __metadata("design:returntype", void 0)
1329
+ ], InlineStringEditor.prototype, "handleKeyDown", null);
1330
+ __decorate([
1331
+ autobind_decorator__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP,
1332
+ __metadata("design:type", Function),
1333
+ __metadata("design:paramtypes", []),
1334
+ __metadata("design:returntype", void 0)
1335
+ ], InlineStringEditor.prototype, "handleCancel", null);
1336
+ __decorate([
1337
+ autobind_decorator__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP,
1338
+ __metadata("design:type", Function),
1339
+ __metadata("design:paramtypes", []),
1340
+ __metadata("design:returntype", void 0)
1341
+ ], InlineStringEditor.prototype, "handleSave", null);
1342
+ __decorate([
1343
+ autobind_decorator__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP,
1344
+ __metadata("design:type", Function),
1345
+ __metadata("design:paramtypes", [typeof (_b = typeof (react__WEBPACK_IMPORTED_MODULE_0___default()) !== "undefined" && (react__WEBPACK_IMPORTED_MODULE_0___default().FormEvent)) === "function" ? _b : Object]),
1346
+ __metadata("design:returntype", void 0)
1347
+ ], InlineStringEditor.prototype, "handleTextChange", null);
1348
+ __decorate([
1349
+ autobind_decorator__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP,
1350
+ __metadata("design:type", Function),
1351
+ __metadata("design:paramtypes", [String]),
1352
+ __metadata("design:returntype", void 0)
1353
+ ], InlineStringEditor.prototype, "handleOptionChange", null);
1354
+ return InlineStringEditor;
1355
+ }((react__WEBPACK_IMPORTED_MODULE_0___default().Component)));
1356
+
1357
+
1358
+
1359
+ /***/ }),
1360
+
1361
+ /***/ 9450:
1362
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1363
+
1364
+ "use strict";
1365
+
1366
+ // EXPORTS
1367
+ __webpack_require__.d(__webpack_exports__, {
1368
+ "SelectDropdown": () => (/* reexport */ SelectDropdown)
1369
+ });
1370
+
1371
+ // EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
1372
+ var esm = __webpack_require__(6627);
1373
+ // EXTERNAL MODULE: external "react"
1374
+ var external_react_ = __webpack_require__(8156);
1375
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
1376
+ // EXTERNAL MODULE: external "react-bootstrap/Dropdown"
1377
+ var Dropdown_ = __webpack_require__(4976);
1378
+ var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
1379
+ // EXTERNAL MODULE: external "classnames"
1380
+ var external_classnames_ = __webpack_require__(8310);
1381
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
1382
+ // EXTERNAL MODULE: ./src/components/Dropdown/index.ts + 3 modules
1383
+ var Dropdown = __webpack_require__(7180);
1384
+ // EXTERNAL MODULE: ./src/components/Utils/index.ts
1385
+ var Utils = __webpack_require__(6350);
1386
+ ;// CONCATENATED MODULE: ./src/components/SelectDropdown/SelectDropdown.tsx
1387
+ var __extends = (undefined && undefined.__extends) || (function () {
1388
+ var extendStatics = function (d, b) {
1389
+ extendStatics = Object.setPrototypeOf ||
1390
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1391
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1392
+ return extendStatics(d, b);
1393
+ };
1394
+ return function (d, b) {
1395
+ extendStatics(d, b);
1396
+ function __() { this.constructor = d; }
1397
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1398
+ };
1399
+ })();
1400
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1401
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1402
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1403
+ 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;
1404
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1405
+ };
1406
+ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
1407
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1408
+ };
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+ /**
1417
+ * ### Overview
1418
+ *
1419
+ * The `SelectDropdown` allows users to either filter or sort items in a list according to specific parameters.
1420
+ */
1421
+ var SelectDropdown = /** @class */ (function (_super) {
1422
+ __extends(SelectDropdown, _super);
1423
+ function SelectDropdown() {
1424
+ return _super !== null && _super.apply(this, arguments) || this;
1425
+ }
1426
+ SelectDropdown.prototype.renderOptions = function () {
1427
+ return this.props.options.map(this.renderItem);
1428
+ };
1429
+ SelectDropdown.prototype.renderItem = function (option) {
1430
+ var _a, _b, _c;
1431
+ var value = "" + option.value;
1432
+ if (option.isDivider) {
1433
+ return external_react_default().createElement(Dropdown.Dropdown.Divider, { key: value });
1434
+ }
1435
+ return (external_react_default().createElement(Dropdown.Dropdown.Item, { key: value, disabled: option.disabled, eventKey: value }, (_c = (_b = (_a = this.props).renderValue) === null || _b === void 0 ? void 0 : _b.call(_a, option)) !== null && _c !== void 0 ? _c : option.label));
1436
+ };
1437
+ SelectDropdown.prototype.renderSelectedValue = function () {
1438
+ var _this = this;
1439
+ var _a, _b, _c;
1440
+ var placeholder = external_react_default().createElement("span", { className: 'placeholder' }, this.props.placeholder);
1441
+ if (this.props.selected == null) {
1442
+ return placeholder;
1443
+ }
1444
+ var selection = this.props.options.find(function (option) { return option.value === _this.props.selected; });
1445
+ if (selection == null) {
1446
+ return placeholder;
1447
+ }
1448
+ return (_c = (_b = (_a = this.props).renderSelectedValue) === null || _b === void 0 ? void 0 : _b.call(_a, selection)) !== null && _c !== void 0 ? _c : selection.label;
1449
+ };
1450
+ SelectDropdown.prototype.render = function () {
1451
+ var classNames = external_classnames_default()('atoka-select-dropdown', this.props.className, this.props.size, {
1452
+ 'is-invalid': this.props.isInvalid,
1453
+ }), menuClassNames = external_classnames_default()('atoka-select-dropdown-menu', this.props.size, this.props.menuClassName);
1454
+ return (external_react_default().createElement(Dropdown.Dropdown, { onSelect: this.props.onSelect, className: classNames },
1455
+ external_react_default().createElement(Dropdown.Dropdown.Toggle, { disabled: this.props.disabled, as: Dropdown.AtokaCustomDropdownToggleWithChevron },
1456
+ external_react_default().createElement("span", { className: 'dropdown-toggle-text-container' }, this.renderSelectedValue())),
1457
+ external_react_default().createElement((Dropdown_default()).Menu, { className: menuClassNames, flip: false }, this.renderOptions())));
1458
+ };
1459
+ var _a, _b;
1460
+ SelectDropdown.displayName = 'SelectDropdown';
1461
+ SelectDropdown.defaultProps = {
1462
+ size: 'md',
1463
+ placeholder: '--',
1464
+ };
1465
+ __decorate([
1466
+ esm/* default */.ZP,
1467
+ __metadata("design:type", Function),
1468
+ __metadata("design:paramtypes", [typeof (_a = typeof Utils.OptionData !== "undefined" && Utils.OptionData) === "function" ? _a : Object]),
1469
+ __metadata("design:returntype", typeof (_b = typeof (external_react_default()) !== "undefined" && (external_react_default()).ReactNode) === "function" ? _b : Object)
1470
+ ], SelectDropdown.prototype, "renderItem", null);
1471
+ return SelectDropdown;
1472
+ }((external_react_default()).PureComponent));
1473
+
1474
+
1475
+ ;// CONCATENATED MODULE: ./src/components/SelectDropdown/index.ts
1476
+
1477
+
1478
+
1479
+ /***/ }),
1480
+
1481
+ /***/ 6055:
1482
+ /***/ (() => {
1483
+
1484
+
1485
+
1486
+ /***/ }),
1487
+
1488
+ /***/ 5258:
1489
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1490
+
1491
+ "use strict";
1492
+ /* unused harmony exports createDataWithOtherSlice, createCleanTree, normalizePercentage */
1493
+ /* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5654);
1494
+ var __values = (undefined && undefined.__values) || function(o) {
1495
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1496
+ if (m) return m.call(o);
1497
+ if (o && typeof o.length === "number") return {
1498
+ next: function () {
1499
+ if (o && i >= o.length) o = void 0;
1500
+ return { value: o && o[i++], done: !o };
1501
+ }
1502
+ };
1503
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1504
+ };
1505
+
1506
+
1507
+ function createDataWithOtherSlice(data, otherId, otherLabel, maxSlicesNumber, total, dataValueKey) {
1508
+ var _a, _b;
1509
+ if (maxSlicesNumber === void 0) { maxSlicesNumber = 0; }
1510
+ if (dataValueKey === void 0) { dataValueKey = 'value'; }
1511
+ var otherValue = 0, newOtherId = otherId !== null && otherId !== void 0 ? otherId : 'other',
1512
+ // We know it is defined but Typescript does not get it.
1513
+ newmaxSlicesNumber = maxSlicesNumber !== null && maxSlicesNumber !== void 0 ? maxSlicesNumber : 0, newData = [], maxToMinData = data === null || data === void 0 ? void 0 : data.sort(sortObjDesc(dataValueKey));
1514
+ maxToMinData === null || maxToMinData === void 0 ? void 0 : maxToMinData.forEach(function (node, i) {
1515
+ var _a;
1516
+ if (i < newmaxSlicesNumber && node.id !== otherId) {
1517
+ newData.push(createCleanTree(node));
1518
+ }
1519
+ else {
1520
+ var nodeValue = (_a = Number(node === null || node === void 0 ? void 0 : node.value)) !== null && _a !== void 0 ? _a : 0;
1521
+ otherValue += nodeValue;
1522
+ }
1523
+ });
1524
+ var otherNode = {};
1525
+ otherNode['id'] = newOtherId;
1526
+ otherNode['value'] = parseFloat(otherValue.toFixed(2));
1527
+ otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));
1528
+ otherNode['label'] = (_a = otherLabel !== null && otherLabel !== void 0 ? otherLabel : newOtherId) !== null && _a !== void 0 ? _a : '';
1529
+ if (((_b = data === null || data === void 0 ? void 0 : data[0]) === null || _b === void 0 ? void 0 : _b.percentage) != null && total != null) {
1530
+ otherNode['percentage'] = (otherValue / total) * 100;
1531
+ }
1532
+ if (maxSlicesNumber !== Infinity || otherValue !== 0) {
1533
+ newData.push(otherNode);
1534
+ }
1535
+ return newData;
1536
+ }
1537
+ function createCleanTree(node) {
1538
+ if (node.children == null) {
1539
+ return node;
1540
+ }
1541
+ var newNode = clone(node);
1542
+ removeValueIfChildren(newNode);
1543
+ return newNode;
1544
+ }
1545
+ // eslint-disable-next-line @typescript-eslint/ban-types
1546
+ function removeValueIfChildren(node) {
1547
+ var e_1, _a;
1548
+ var _b;
1549
+ var children = ((_b = node === null || node === void 0 ? void 0 : node['children']) !== null && _b !== void 0 ? _b : []);
1550
+ node['initialValue'] = node['value'];
1551
+ if (children.length > 0) {
1552
+ delete node['value'];
1553
+ }
1554
+ try {
1555
+ for (var children_1 = __values(children), children_1_1 = children_1.next(); !children_1_1.done; children_1_1 = children_1.next()) {
1556
+ var child = children_1_1.value;
1557
+ removeValueIfChildren(child);
1558
+ }
1559
+ }
1560
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
1561
+ finally {
1562
+ try {
1563
+ if (children_1_1 && !children_1_1.done && (_a = children_1.return)) _a.call(children_1);
1564
+ }
1565
+ finally { if (e_1) throw e_1.error; }
1566
+ }
1567
+ }
1568
+ function normalizePercentage(value) {
1569
+ var _a;
1570
+ return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10) + "%";
1571
+ }
1572
+
1573
+
1574
+ /***/ }),
1575
+
1576
+ /***/ 6347:
1577
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1578
+
1579
+ "use strict";
1580
+ /* unused harmony exports isStringEmpty, slugify, estimateWordSize, ellipse, matchAndFormatRangeLabel, formatRange, ellipseAndFormat, escapeRegExp, isMatching, splitTextInParts */
1581
+ var __values = (undefined && undefined.__values) || function(o) {
1582
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1583
+ if (m) return m.call(o);
1584
+ if (o && typeof o.length === "number") return {
1585
+ next: function () {
1586
+ if (o && i >= o.length) o = void 0;
1587
+ return { value: o && o[i++], done: !o };
1588
+ }
1589
+ };
1590
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1591
+ };
1592
+ var __read = (undefined && undefined.__read) || function (o, n) {
1593
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
1594
+ if (!m) return o;
1595
+ var i = m.call(o), r, ar = [], e;
1596
+ try {
1597
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1598
+ }
1599
+ catch (error) { e = { error: error }; }
1600
+ finally {
1601
+ try {
1602
+ if (r && !r.done && (m = i["return"])) m.call(i);
1603
+ }
1604
+ finally { if (e) throw e.error; }
1605
+ }
1606
+ return ar;
1607
+ };
1608
+ var __spread = (undefined && undefined.__spread) || function () {
1609
+ for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
1610
+ return ar;
1611
+ };
1612
+ function isStringEmpty(s) {
1613
+ if (s == null) {
1614
+ return true;
1615
+ }
1616
+ return s.match(/^\s*$/) !== null;
1617
+ }
1618
+ function slugify(text) {
1619
+ var a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;', b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------', p = new RegExp(a.split('').join('|'), 'g');
1620
+ return text
1621
+ .toString()
1622
+ .toLowerCase()
1623
+ .replace(/\s+/g, '-') // Replace spaces with -
1624
+ .replace(p, function (c) { return b.charAt(a.indexOf(c)); }) // Replace special characters
1625
+ .replace(/&/g, '-and-') // Replace & with 'and'
1626
+ .replace(/[^\w-]+/g, '') // Remove all non-word characters
1627
+ .replace(/--+/g, '-') // Replace multiple - with single -
1628
+ .replace(/^-+/, '') // Trim - from start of text
1629
+ .replace(/-+$/, ''); // Trim - from end of text
1630
+ }
1631
+ function estimateWordSize(wordLength, letterPixels, constant) {
1632
+ return wordLength * letterPixels + constant;
1633
+ }
1634
+ function ellipse(input, length) {
1635
+ if (input == null) {
1636
+ return '';
1637
+ }
1638
+ return input.length > length ? input.substr(0, length - 1) + "\u2026" : input;
1639
+ }
1640
+ function matchAndFormatRangeLabel(formatter) {
1641
+ return function (label) {
1642
+ var match = /^([\d*]+)-([\d*]+)$/.exec(label);
1643
+ if (match == null) {
1644
+ return label;
1645
+ }
1646
+ return formatRange({
1647
+ from: match[1],
1648
+ to: match[2],
1649
+ }, formatter !== null && formatter !== void 0 ? formatter : (function (v) { return v; }));
1650
+ };
1651
+ }
1652
+ function formatRange(item, formatter) {
1653
+ var _a, _b;
1654
+ 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));
1655
+ if (from === to) {
1656
+ return "" + from;
1657
+ }
1658
+ return from + " - " + to;
1659
+ }
1660
+ function ellipseAndFormat(formatter, maxLabelLength) {
1661
+ return function (value) {
1662
+ var strValue = value.toString();
1663
+ if (formatter == null) {
1664
+ return ellipse(strValue, maxLabelLength);
1665
+ }
1666
+ return ellipse("" + formatter(strValue), maxLabelLength);
1667
+ };
1668
+ }
1669
+ function escapeRegExp(input) {
1670
+ // eslint-disable-next-line
1671
+ return input.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
1672
+ }
1673
+ function isMatching(text0, text1) {
1674
+ var e_1, _a;
1675
+ if (text0 == null || text1 == null) {
1676
+ return false;
1677
+ }
1678
+ text0 = text0.toLowerCase();
1679
+ text1 = text1.toLowerCase();
1680
+ if (text1.match(' ') === null) {
1681
+ return text0.match(escapeRegExp(text1)) !== null;
1682
+ }
1683
+ var splitNeedles = text1
1684
+ .split(' ')
1685
+ .filter(function (s) { return !isStringEmpty(s); })
1686
+ .sort(function (a, b) { return b.length - a.length; });
1687
+ try {
1688
+ for (var splitNeedles_1 = __values(splitNeedles), splitNeedles_1_1 = splitNeedles_1.next(); !splitNeedles_1_1.done; splitNeedles_1_1 = splitNeedles_1.next()) {
1689
+ var needle = splitNeedles_1_1.value;
1690
+ if (text0 === needle) {
1691
+ return true;
1692
+ }
1693
+ }
1694
+ }
1695
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
1696
+ finally {
1697
+ try {
1698
+ if (splitNeedles_1_1 && !splitNeedles_1_1.done && (_a = splitNeedles_1.return)) _a.call(splitNeedles_1);
1699
+ }
1700
+ finally { if (e_1) throw e_1.error; }
1701
+ }
1702
+ return false;
1703
+ }
1704
+ function splitTextInParts(needles, text) {
1705
+ var e_2, _a;
1706
+ if (text == null) {
1707
+ return [];
1708
+ }
1709
+ if (needles.match(' ') === null) {
1710
+ var re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');
1711
+ return text.split(re);
1712
+ }
1713
+ var splitNeedles = needles
1714
+ .split(' ')
1715
+ .filter(function (s) { return !isStringEmpty(s); })
1716
+ .sort(function (a, b) { return b.length - a.length; }), ret = [text];
1717
+ try {
1718
+ for (var splitNeedles_2 = __values(splitNeedles), splitNeedles_2_1 = splitNeedles_2.next(); !splitNeedles_2_1.done; splitNeedles_2_1 = splitNeedles_2.next()) {
1719
+ var needle = splitNeedles_2_1.value;
1720
+ var re = new RegExp('(' + needle + ')', 'gi');
1721
+ for (var index = 0; index < ret.length; index++) {
1722
+ var currentText = ret[index];
1723
+ if (isMatching(currentText, escapeRegExp(needles))) {
1724
+ continue;
1725
+ }
1726
+ var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
1727
+ ret.splice.apply(ret, __spread([index, 1], newParts));
1728
+ }
1729
+ }
1730
+ }
1731
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
1732
+ finally {
1733
+ try {
1734
+ if (splitNeedles_2_1 && !splitNeedles_2_1.done && (_a = splitNeedles_2.return)) _a.call(splitNeedles_2);
1735
+ }
1736
+ finally { if (e_2) throw e_2.error; }
1737
+ }
1738
+ return ret;
1739
+ }
1740
+
1741
+
1742
+ /***/ }),
1743
+
1744
+ /***/ 5654:
1745
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1746
+
1747
+ "use strict";
1748
+ /* unused harmony exports findChildrenByComponent, findChildByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, sortObjDesc, clone, getDebouncer, deepEqual, rgbToHex */
1749
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5692);
1750
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
1751
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
1752
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
1753
+ /* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9316);
1754
+ var __read = (undefined && undefined.__read) || function (o, n) {
1755
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
1756
+ if (!m) return o;
1757
+ var i = m.call(o), r, ar = [], e;
1758
+ try {
1759
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1760
+ }
1761
+ catch (error) { e = { error: error }; }
1762
+ finally {
1763
+ try {
1764
+ if (r && !r.done && (m = i["return"])) m.call(i);
1765
+ }
1766
+ finally { if (e) throw e.error; }
1767
+ }
1768
+ return ar;
1769
+ };
1770
+
1771
+
1772
+
1773
+ function findChildrenByComponent(children,
1774
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1775
+ component) {
1776
+ var ret = [];
1777
+ React.Children.forEach(children, function (element) {
1778
+ if ((element === null || element === void 0 ? void 0 : element.type) === component) {
1779
+ ret.push(element);
1780
+ }
1781
+ });
1782
+ return ret;
1783
+ }
1784
+ function findChildByComponent(children,
1785
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1786
+ component) {
1787
+ var _a, _b;
1788
+ return (_b = (_a = findChildrenByComponent(children, component)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
1789
+ }
1790
+ function hasChildIconOrCheckboxComponent(children) {
1791
+ var ret = false;
1792
+ React.Children.forEach(children, function (element) {
1793
+ if ((element === null || element === void 0 ? void 0 : element.type) != null &&
1794
+ ((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)) {
1795
+ ret = true;
1796
+ return;
1797
+ }
1798
+ });
1799
+ return ret;
1800
+ }
1801
+ function scrollToTop() {
1802
+ window.scrollTo(0, 0);
1803
+ }
1804
+ function zip(arr1, arr2) {
1805
+ var ret = [];
1806
+ var i = 0;
1807
+ while (arr1[i]) {
1808
+ ret.push(arr1[i]);
1809
+ ret.push(arr2[i++]);
1810
+ }
1811
+ return ret;
1812
+ }
1813
+ // eslint-disable-next-line @typescript-eslint/ban-types
1814
+ function sortObjDesc(accessor) {
1815
+ return function (a, b) {
1816
+ var leftVal = 0, rightVal = 0;
1817
+ if ((a === null || a === void 0 ? void 0 : a[accessor]) != null) {
1818
+ leftVal = a === null || a === void 0 ? void 0 : a[accessor];
1819
+ }
1820
+ if ((b === null || b === void 0 ? void 0 : b[accessor]) != null) {
1821
+ rightVal = b === null || b === void 0 ? void 0 : b[accessor];
1822
+ }
1823
+ return leftVal > rightVal ? -1 : 1;
1824
+ };
1825
+ }
1826
+ function clone(ob) {
1827
+ return JSON.parse(JSON.stringify(ob));
1828
+ }
1829
+ function getDebouncer(delay) {
1830
+ if (delay === void 0) { delay = 1; }
1831
+ var debounceTimeout = null;
1832
+ return function debounce(f) {
1833
+ if (debounceTimeout !== null) {
1834
+ clearTimeout(debounceTimeout);
1835
+ }
1836
+ debounceTimeout = window.setTimeout(f, delay);
1837
+ };
1838
+ }
1839
+ function isObject(obj) {
1840
+ return typeof obj === 'object' && obj != null;
1841
+ }
1842
+ function deepEqual(obj1, obj2) {
1843
+ if (obj1 === obj2) {
1844
+ return true;
1845
+ }
1846
+ if (isObject(obj1) && isObject(obj2)) {
1847
+ if (Object.keys(obj1).length !== Object.keys(obj2).length) {
1848
+ return false;
1849
+ }
1850
+ for (var prop in obj1) {
1851
+ if (!deepEqual(obj1[prop], obj2[prop])) {
1852
+ return false;
1853
+ }
1854
+ }
1855
+ return true;
1856
+ }
1857
+ return false;
1858
+ }
1859
+ function componentToHex(c) {
1860
+ if (isNaN(c)) {
1861
+ throw Error('The color has not been written correctly');
1862
+ }
1863
+ var hex = c.toString(16).toUpperCase();
1864
+ return hex.length === 1 ? '0' + hex : hex;
1865
+ }
1866
+ function cleanSingleColor(c) {
1867
+ return c.replace(/"|'/g, '').trim();
1868
+ }
1869
+ function rgbToHex(rgb) {
1870
+ if (rgb.includes('rgba')) {
1871
+ throw Error('not implemented');
1872
+ }
1873
+ var _a = __read(rgb
1874
+ .replace('rgb', '')
1875
+ .replace(/\(|\)/gi, '')
1876
+ .split(',')
1877
+ .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;
1878
+ return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
1879
+ }
1880
+
1881
+
1882
+ /***/ }),
1883
+
1884
+ /***/ 6350:
1885
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1886
+
1887
+ "use strict";
1888
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1889
+ /* harmony export */ "OptionData": () => (/* reexport safe */ _CommonTypes__WEBPACK_IMPORTED_MODULE_0__.OptionData)
1890
+ /* harmony export */ });
1891
+ /* harmony import */ var _CommonTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6055);
1892
+ /* harmony import */ var _CommonTypes__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_CommonTypes__WEBPACK_IMPORTED_MODULE_0__);
1893
+ /* harmony import */ var _Statistics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5258);
1894
+ /* harmony import */ var _Utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5654);
1895
+ /* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6347);
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+ /***/ }),
1904
+
1905
+ /***/ 6627:
1906
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1907
+
1908
+ "use strict";
1909
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1910
+ /* harmony export */ "ZP": () => (/* binding */ autobind)
1911
+ /* harmony export */ });
1912
+ /* unused harmony exports boundMethod, boundClass */
1913
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
1914
+
1915
+
1916
+ function _typeof(obj) {
1917
+ if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
1918
+ _typeof = function _typeof(obj) {
1919
+ return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
1920
+ };
1921
+ } else {
1922
+ _typeof = function _typeof(obj) {
1923
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
1924
+ };
1925
+ }
1926
+
1927
+ return _typeof(obj);
1928
+ }
1929
+ /**
1930
+ * Return a descriptor removing the value and returning a getter
1931
+ * The getter will return a .bind version of the function
1932
+ * and memoize the result against a symbol on the instance
1933
+ */
1934
+
1935
+
1936
+ function boundMethod(target, key, descriptor) {
1937
+ var fn = descriptor.value;
1938
+
1939
+ if (typeof fn !== 'function') {
1940
+ throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
1941
+ } // In IE11 calling Object.defineProperty has a side-effect of evaluating the
1942
+ // getter for the property which is being replaced. This causes infinite
1943
+ // recursion and an "Out of stack space" error.
1944
+
1945
+
1946
+ var definingProperty = false;
1947
+ return {
1948
+ configurable: true,
1949
+ get: function get() {
1950
+ // eslint-disable-next-line no-prototype-builtins
1951
+ if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
1952
+ return fn;
1953
+ }
1954
+
1955
+ var boundFn = fn.bind(this);
1956
+ definingProperty = true;
1957
+ Object.defineProperty(this, key, {
1958
+ configurable: true,
1959
+ get: function get() {
1960
+ return boundFn;
1961
+ },
1962
+ set: function set(value) {
1963
+ fn = value;
1964
+ delete this[key];
1965
+ }
1966
+ });
1967
+ definingProperty = false;
1968
+ return boundFn;
1969
+ },
1970
+ set: function set(value) {
1971
+ fn = value;
1972
+ }
1973
+ };
1974
+ }
1975
+ /**
1976
+ * Use boundMethod to bind all methods on the target.prototype
1977
+ */
1978
+
1979
+ function boundClass(target) {
1980
+ // (Using reflect to get all keys including symbols)
1981
+ var keys; // Use Reflect if exists
1982
+
1983
+ if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
1984
+ keys = Reflect.ownKeys(target.prototype);
1985
+ } else {
1986
+ keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
1987
+
1988
+ if (typeof Object.getOwnPropertySymbols === 'function') {
1989
+ keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
1990
+ }
1991
+ }
1992
+
1993
+ keys.forEach(function (key) {
1994
+ // Ignore special case target method
1995
+ if (key === 'constructor') {
1996
+ return;
1997
+ }
1998
+
1999
+ var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
2000
+
2001
+ if (typeof descriptor.value === 'function') {
2002
+ Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
2003
+ }
2004
+ });
2005
+ return target;
2006
+ }
2007
+ function autobind() {
2008
+ if (arguments.length === 1) {
2009
+ return boundClass.apply(void 0, arguments);
2010
+ }
2011
+
2012
+ return boundMethod.apply(void 0, arguments);
2013
+ }
2014
+
2015
+ /***/ }),
2016
+
2017
+ /***/ 9112:
2018
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2019
+
2020
+ "use strict";
2021
+ /**
2022
+ * Copyright (c) 2013-present, Facebook, Inc.
2023
+ *
2024
+ * This source code is licensed under the MIT license found in the
2025
+ * LICENSE file in the root directory of this source tree.
2026
+ */
2027
+
2028
+
2029
+ var ReactPropTypesSecret = __webpack_require__(5073);
2030
+
2031
+ function emptyFunction() {}
2032
+
2033
+ function emptyFunctionWithReset() {}
2034
+
2035
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
2036
+
2037
+ module.exports = function () {
2038
+ function shim(props, propName, componentName, location, propFullName, secret) {
2039
+ if (secret === ReactPropTypesSecret) {
2040
+ // It is still safe when called from React.
2041
+ return;
2042
+ }
2043
+
2044
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
2045
+ err.name = 'Invariant Violation';
2046
+ throw err;
2047
+ }
2048
+
2049
+ ;
2050
+ shim.isRequired = shim;
2051
+
2052
+ function getShim() {
2053
+ return shim;
2054
+ }
2055
+
2056
+ ; // Important!
2057
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
2058
+
2059
+ var ReactPropTypes = {
2060
+ array: shim,
2061
+ bool: shim,
2062
+ func: shim,
2063
+ number: shim,
2064
+ object: shim,
2065
+ string: shim,
2066
+ symbol: shim,
2067
+ any: shim,
2068
+ arrayOf: getShim,
2069
+ element: shim,
2070
+ elementType: shim,
2071
+ instanceOf: getShim,
2072
+ node: shim,
2073
+ objectOf: getShim,
2074
+ oneOf: getShim,
2075
+ oneOfType: getShim,
2076
+ shape: getShim,
2077
+ exact: getShim,
2078
+ checkPropTypes: emptyFunctionWithReset,
2079
+ resetWarningCache: emptyFunction
2080
+ };
2081
+ ReactPropTypes.PropTypes = ReactPropTypes;
2082
+ return ReactPropTypes;
2083
+ };
2084
+
2085
+ /***/ }),
2086
+
2087
+ /***/ 8691:
2088
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2089
+
2090
+ /**
2091
+ * Copyright (c) 2013-present, Facebook, Inc.
2092
+ *
2093
+ * This source code is licensed under the MIT license found in the
2094
+ * LICENSE file in the root directory of this source tree.
2095
+ */
2096
+ if (false) { var throwOnDirectAccess, ReactIs; } else {
2097
+ // By explicitly using `prop-types` you are opting into new production behavior.
2098
+ // http://fb.me/prop-types-in-prod
2099
+ module.exports = __webpack_require__(9112)();
2100
+ }
2101
+
2102
+ /***/ }),
2103
+
2104
+ /***/ 5073:
2105
+ /***/ ((module) => {
2106
+
2107
+ "use strict";
2108
+ /**
2109
+ * Copyright (c) 2013-present, Facebook, Inc.
2110
+ *
2111
+ * This source code is licensed under the MIT license found in the
2112
+ * LICENSE file in the root directory of this source tree.
2113
+ */
2114
+
2115
+
2116
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
2117
+ module.exports = ReactPropTypesSecret;
2118
+
2119
+ /***/ }),
2120
+
2121
+ /***/ 1750:
2122
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2123
+
2124
+ "use strict";
2125
+
2126
+ // EXPORTS
2127
+ __webpack_require__.d(__webpack_exports__, {
2128
+ "Z": () => (/* binding */ esm_CSSTransition)
2129
+ });
2130
+
2131
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
2132
+ var esm_extends = __webpack_require__(32);
2133
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
2134
+ var objectWithoutPropertiesLoose = __webpack_require__(7038);
2135
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
2136
+ var inheritsLoose = __webpack_require__(7581);
2137
+ // EXTERNAL MODULE: ./node_modules/prop-types/index.js
2138
+ var prop_types = __webpack_require__(8691);
2139
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/hasClass.js
2140
+ function hasClass(element, className) {
2141
+ if (element.classList) return !!className && element.classList.contains(className);
2142
+ return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
2143
+ }
2144
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/addClass.js
2145
+
2146
+ function addClass_addClass(element, className) {
2147
+ if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
2148
+ }
2149
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/removeClass.js
2150
+ function replaceClassName(origClass, classToRemove) {
2151
+ return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
2152
+ }
2153
+
2154
+ function removeClass_removeClass(element, className) {
2155
+ if (element.classList) {
2156
+ element.classList.remove(className);
2157
+ } else if (typeof element.className === 'string') {
2158
+ ;
2159
+ element.className = replaceClassName(element.className, className);
2160
+ } else {
2161
+ element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
2162
+ }
2163
+ }
2164
+ // EXTERNAL MODULE: external "react"
2165
+ var external_react_ = __webpack_require__(8156);
2166
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
2167
+ // EXTERNAL MODULE: external "react-dom"
2168
+ var external_react_dom_ = __webpack_require__(7111);
2169
+ var external_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_react_dom_);
2170
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
2171
+ /* harmony default export */ const config = ({
2172
+ disabled: false
2173
+ });
2174
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
2175
+ var TransitionGroupContext = __webpack_require__(3493);
2176
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+
2184
+
2185
+ var UNMOUNTED = 'unmounted';
2186
+ var EXITED = 'exited';
2187
+ var ENTERING = 'entering';
2188
+ var ENTERED = 'entered';
2189
+ var EXITING = 'exiting';
2190
+ /**
2191
+ * The Transition component lets you describe a transition from one component
2192
+ * state to another _over time_ with a simple declarative API. Most commonly
2193
+ * it's used to animate the mounting and unmounting of a component, but can also
2194
+ * be used to describe in-place transition states as well.
2195
+ *
2196
+ * ---
2197
+ *
2198
+ * **Note**: `Transition` is a platform-agnostic base component. If you're using
2199
+ * transitions in CSS, you'll probably want to use
2200
+ * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
2201
+ * instead. It inherits all the features of `Transition`, but contains
2202
+ * additional features necessary to play nice with CSS transitions (hence the
2203
+ * name of the component).
2204
+ *
2205
+ * ---
2206
+ *
2207
+ * By default the `Transition` component does not alter the behavior of the
2208
+ * component it renders, it only tracks "enter" and "exit" states for the
2209
+ * components. It's up to you to give meaning and effect to those states. For
2210
+ * example we can add styles to a component when it enters or exits:
2211
+ *
2212
+ * ```jsx
2213
+ * import { Transition } from 'react-transition-group';
2214
+ *
2215
+ * const duration = 300;
2216
+ *
2217
+ * const defaultStyle = {
2218
+ * transition: `opacity ${duration}ms ease-in-out`,
2219
+ * opacity: 0,
2220
+ * }
2221
+ *
2222
+ * const transitionStyles = {
2223
+ * entering: { opacity: 1 },
2224
+ * entered: { opacity: 1 },
2225
+ * exiting: { opacity: 0 },
2226
+ * exited: { opacity: 0 },
2227
+ * };
2228
+ *
2229
+ * const Fade = ({ in: inProp }) => (
2230
+ * <Transition in={inProp} timeout={duration}>
2231
+ * {state => (
2232
+ * <div style={{
2233
+ * ...defaultStyle,
2234
+ * ...transitionStyles[state]
2235
+ * }}>
2236
+ * I'm a fade Transition!
2237
+ * </div>
2238
+ * )}
2239
+ * </Transition>
2240
+ * );
2241
+ * ```
2242
+ *
2243
+ * There are 4 main states a Transition can be in:
2244
+ * - `'entering'`
2245
+ * - `'entered'`
2246
+ * - `'exiting'`
2247
+ * - `'exited'`
2248
+ *
2249
+ * Transition state is toggled via the `in` prop. When `true` the component
2250
+ * begins the "Enter" stage. During this stage, the component will shift from
2251
+ * its current transition state, to `'entering'` for the duration of the
2252
+ * transition and then to the `'entered'` stage once it's complete. Let's take
2253
+ * the following example (we'll use the
2254
+ * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
2255
+ *
2256
+ * ```jsx
2257
+ * function App() {
2258
+ * const [inProp, setInProp] = useState(false);
2259
+ * return (
2260
+ * <div>
2261
+ * <Transition in={inProp} timeout={500}>
2262
+ * {state => (
2263
+ * // ...
2264
+ * )}
2265
+ * </Transition>
2266
+ * <button onClick={() => setInProp(true)}>
2267
+ * Click to Enter
2268
+ * </button>
2269
+ * </div>
2270
+ * );
2271
+ * }
2272
+ * ```
2273
+ *
2274
+ * When the button is clicked the component will shift to the `'entering'` state
2275
+ * and stay there for 500ms (the value of `timeout`) before it finally switches
2276
+ * to `'entered'`.
2277
+ *
2278
+ * When `in` is `false` the same thing happens except the state moves from
2279
+ * `'exiting'` to `'exited'`.
2280
+ */
2281
+
2282
+ var Transition = /*#__PURE__*/function (_React$Component) {
2283
+ (0,inheritsLoose/* default */.Z)(Transition, _React$Component);
2284
+
2285
+ function Transition(props, context) {
2286
+ var _this;
2287
+
2288
+ _this = _React$Component.call(this, props, context) || this;
2289
+ var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
2290
+
2291
+ var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
2292
+ var initialStatus;
2293
+ _this.appearStatus = null;
2294
+
2295
+ if (props["in"]) {
2296
+ if (appear) {
2297
+ initialStatus = EXITED;
2298
+ _this.appearStatus = ENTERING;
2299
+ } else {
2300
+ initialStatus = ENTERED;
2301
+ }
2302
+ } else {
2303
+ if (props.unmountOnExit || props.mountOnEnter) {
2304
+ initialStatus = UNMOUNTED;
2305
+ } else {
2306
+ initialStatus = EXITED;
2307
+ }
2308
+ }
2309
+
2310
+ _this.state = {
2311
+ status: initialStatus
2312
+ };
2313
+ _this.nextCallback = null;
2314
+ return _this;
2315
+ }
2316
+
2317
+ Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
2318
+ var nextIn = _ref["in"];
2319
+
2320
+ if (nextIn && prevState.status === UNMOUNTED) {
2321
+ return {
2322
+ status: EXITED
2323
+ };
2324
+ }
2325
+
2326
+ return null;
2327
+ } // getSnapshotBeforeUpdate(prevProps) {
2328
+ // let nextStatus = null
2329
+ // if (prevProps !== this.props) {
2330
+ // const { status } = this.state
2331
+ // if (this.props.in) {
2332
+ // if (status !== ENTERING && status !== ENTERED) {
2333
+ // nextStatus = ENTERING
2334
+ // }
2335
+ // } else {
2336
+ // if (status === ENTERING || status === ENTERED) {
2337
+ // nextStatus = EXITING
2338
+ // }
2339
+ // }
2340
+ // }
2341
+ // return { nextStatus }
2342
+ // }
2343
+ ;
2344
+
2345
+ var _proto = Transition.prototype;
2346
+
2347
+ _proto.componentDidMount = function componentDidMount() {
2348
+ this.updateStatus(true, this.appearStatus);
2349
+ };
2350
+
2351
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
2352
+ var nextStatus = null;
2353
+
2354
+ if (prevProps !== this.props) {
2355
+ var status = this.state.status;
2356
+
2357
+ if (this.props["in"]) {
2358
+ if (status !== ENTERING && status !== ENTERED) {
2359
+ nextStatus = ENTERING;
2360
+ }
2361
+ } else {
2362
+ if (status === ENTERING || status === ENTERED) {
2363
+ nextStatus = EXITING;
2364
+ }
2365
+ }
2366
+ }
2367
+
2368
+ this.updateStatus(false, nextStatus);
2369
+ };
2370
+
2371
+ _proto.componentWillUnmount = function componentWillUnmount() {
2372
+ this.cancelNextCallback();
2373
+ };
2374
+
2375
+ _proto.getTimeouts = function getTimeouts() {
2376
+ var timeout = this.props.timeout;
2377
+ var exit, enter, appear;
2378
+ exit = enter = appear = timeout;
2379
+
2380
+ if (timeout != null && typeof timeout !== 'number') {
2381
+ exit = timeout.exit;
2382
+ enter = timeout.enter; // TODO: remove fallback for next major
2383
+
2384
+ appear = timeout.appear !== undefined ? timeout.appear : enter;
2385
+ }
2386
+
2387
+ return {
2388
+ exit: exit,
2389
+ enter: enter,
2390
+ appear: appear
2391
+ };
2392
+ };
2393
+
2394
+ _proto.updateStatus = function updateStatus(mounting, nextStatus) {
2395
+ if (mounting === void 0) {
2396
+ mounting = false;
2397
+ }
2398
+
2399
+ if (nextStatus !== null) {
2400
+ // nextStatus will always be ENTERING or EXITING.
2401
+ this.cancelNextCallback();
2402
+
2403
+ if (nextStatus === ENTERING) {
2404
+ this.performEnter(mounting);
2405
+ } else {
2406
+ this.performExit();
2407
+ }
2408
+ } else if (this.props.unmountOnExit && this.state.status === EXITED) {
2409
+ this.setState({
2410
+ status: UNMOUNTED
2411
+ });
2412
+ }
2413
+ };
2414
+
2415
+ _proto.performEnter = function performEnter(mounting) {
2416
+ var _this2 = this;
2417
+
2418
+ var enter = this.props.enter;
2419
+ var appearing = this.context ? this.context.isMounting : mounting;
2420
+
2421
+ var _ref2 = this.props.nodeRef ? [appearing] : [external_react_dom_default().findDOMNode(this), appearing],
2422
+ maybeNode = _ref2[0],
2423
+ maybeAppearing = _ref2[1];
2424
+
2425
+ var timeouts = this.getTimeouts();
2426
+ var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
2427
+ // if we are mounting and running this it means appear _must_ be set
2428
+
2429
+ if (!mounting && !enter || config.disabled) {
2430
+ this.safeSetState({
2431
+ status: ENTERED
2432
+ }, function () {
2433
+ _this2.props.onEntered(maybeNode);
2434
+ });
2435
+ return;
2436
+ }
2437
+
2438
+ this.props.onEnter(maybeNode, maybeAppearing);
2439
+ this.safeSetState({
2440
+ status: ENTERING
2441
+ }, function () {
2442
+ _this2.props.onEntering(maybeNode, maybeAppearing);
2443
+
2444
+ _this2.onTransitionEnd(enterTimeout, function () {
2445
+ _this2.safeSetState({
2446
+ status: ENTERED
2447
+ }, function () {
2448
+ _this2.props.onEntered(maybeNode, maybeAppearing);
2449
+ });
2450
+ });
2451
+ });
2452
+ };
2453
+
2454
+ _proto.performExit = function performExit() {
2455
+ var _this3 = this;
2456
+
2457
+ var exit = this.props.exit;
2458
+ var timeouts = this.getTimeouts();
2459
+ var maybeNode = this.props.nodeRef ? undefined : external_react_dom_default().findDOMNode(this); // no exit animation skip right to EXITED
2460
+
2461
+ if (!exit || config.disabled) {
2462
+ this.safeSetState({
2463
+ status: EXITED
2464
+ }, function () {
2465
+ _this3.props.onExited(maybeNode);
2466
+ });
2467
+ return;
2468
+ }
2469
+
2470
+ this.props.onExit(maybeNode);
2471
+ this.safeSetState({
2472
+ status: EXITING
2473
+ }, function () {
2474
+ _this3.props.onExiting(maybeNode);
2475
+
2476
+ _this3.onTransitionEnd(timeouts.exit, function () {
2477
+ _this3.safeSetState({
2478
+ status: EXITED
2479
+ }, function () {
2480
+ _this3.props.onExited(maybeNode);
2481
+ });
2482
+ });
2483
+ });
2484
+ };
2485
+
2486
+ _proto.cancelNextCallback = function cancelNextCallback() {
2487
+ if (this.nextCallback !== null) {
2488
+ this.nextCallback.cancel();
2489
+ this.nextCallback = null;
2490
+ }
2491
+ };
2492
+
2493
+ _proto.safeSetState = function safeSetState(nextState, callback) {
2494
+ // This shouldn't be necessary, but there are weird race conditions with
2495
+ // setState callbacks and unmounting in testing, so always make sure that
2496
+ // we can cancel any pending setState callbacks after we unmount.
2497
+ callback = this.setNextCallback(callback);
2498
+ this.setState(nextState, callback);
2499
+ };
2500
+
2501
+ _proto.setNextCallback = function setNextCallback(callback) {
2502
+ var _this4 = this;
2503
+
2504
+ var active = true;
2505
+
2506
+ this.nextCallback = function (event) {
2507
+ if (active) {
2508
+ active = false;
2509
+ _this4.nextCallback = null;
2510
+ callback(event);
2511
+ }
2512
+ };
2513
+
2514
+ this.nextCallback.cancel = function () {
2515
+ active = false;
2516
+ };
2517
+
2518
+ return this.nextCallback;
2519
+ };
2520
+
2521
+ _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
2522
+ this.setNextCallback(handler);
2523
+ var node = this.props.nodeRef ? this.props.nodeRef.current : external_react_dom_default().findDOMNode(this);
2524
+ var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
2525
+
2526
+ if (!node || doesNotHaveTimeoutOrListener) {
2527
+ setTimeout(this.nextCallback, 0);
2528
+ return;
2529
+ }
2530
+
2531
+ if (this.props.addEndListener) {
2532
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
2533
+ maybeNode = _ref3[0],
2534
+ maybeNextCallback = _ref3[1];
2535
+
2536
+ this.props.addEndListener(maybeNode, maybeNextCallback);
2537
+ }
2538
+
2539
+ if (timeout != null) {
2540
+ setTimeout(this.nextCallback, timeout);
2541
+ }
2542
+ };
2543
+
2544
+ _proto.render = function render() {
2545
+ var status = this.state.status;
2546
+
2547
+ if (status === UNMOUNTED) {
2548
+ return null;
2549
+ }
2550
+
2551
+ var _this$props = this.props,
2552
+ children = _this$props.children,
2553
+ _in = _this$props["in"],
2554
+ _mountOnEnter = _this$props.mountOnEnter,
2555
+ _unmountOnExit = _this$props.unmountOnExit,
2556
+ _appear = _this$props.appear,
2557
+ _enter = _this$props.enter,
2558
+ _exit = _this$props.exit,
2559
+ _timeout = _this$props.timeout,
2560
+ _addEndListener = _this$props.addEndListener,
2561
+ _onEnter = _this$props.onEnter,
2562
+ _onEntering = _this$props.onEntering,
2563
+ _onEntered = _this$props.onEntered,
2564
+ _onExit = _this$props.onExit,
2565
+ _onExiting = _this$props.onExiting,
2566
+ _onExited = _this$props.onExited,
2567
+ _nodeRef = _this$props.nodeRef,
2568
+ childProps = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
2569
+
2570
+ return (
2571
+ /*#__PURE__*/
2572
+ // allows for nested Transitions
2573
+ external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
2574
+ value: null
2575
+ }, typeof children === 'function' ? children(status, childProps) : external_react_default().cloneElement(external_react_default().Children.only(children), childProps))
2576
+ );
2577
+ };
2578
+
2579
+ return Transition;
2580
+ }((external_react_default()).Component);
2581
+
2582
+ Transition.contextType = TransitionGroupContext/* default */.Z;
2583
+ Transition.propTypes = false ? 0 : {}; // Name the function so it is clearer in the documentation
2584
+
2585
+ function noop() {}
2586
+
2587
+ Transition.defaultProps = {
2588
+ "in": false,
2589
+ mountOnEnter: false,
2590
+ unmountOnExit: false,
2591
+ appear: false,
2592
+ enter: true,
2593
+ exit: true,
2594
+ onEnter: noop,
2595
+ onEntering: noop,
2596
+ onEntered: noop,
2597
+ onExit: noop,
2598
+ onExiting: noop,
2599
+ onExited: noop
2600
+ };
2601
+ Transition.UNMOUNTED = UNMOUNTED;
2602
+ Transition.EXITED = EXITED;
2603
+ Transition.ENTERING = ENTERING;
2604
+ Transition.ENTERED = ENTERED;
2605
+ Transition.EXITING = EXITING;
2606
+ /* harmony default export */ const esm_Transition = (Transition);
2607
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
2608
+
2609
+
2610
+
2611
+
2612
+
2613
+
2614
+
2615
+
2616
+
2617
+
2618
+ var _addClass = function addClass(node, classes) {
2619
+ return node && classes && classes.split(' ').forEach(function (c) {
2620
+ return addClass_addClass(node, c);
2621
+ });
2622
+ };
2623
+
2624
+ var removeClass = function removeClass(node, classes) {
2625
+ return node && classes && classes.split(' ').forEach(function (c) {
2626
+ return removeClass_removeClass(node, c);
2627
+ });
2628
+ };
2629
+ /**
2630
+ * A transition component inspired by the excellent
2631
+ * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
2632
+ * use it if you're using CSS transitions or animations. It's built upon the
2633
+ * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
2634
+ * component, so it inherits all of its props.
2635
+ *
2636
+ * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
2637
+ * and `exit` states of the transition. The first class is applied and then a
2638
+ * second `*-active` class in order to activate the CSS transition. After the
2639
+ * transition, matching `*-done` class names are applied to persist the
2640
+ * transition state.
2641
+ *
2642
+ * ```jsx
2643
+ * function App() {
2644
+ * const [inProp, setInProp] = useState(false);
2645
+ * return (
2646
+ * <div>
2647
+ * <CSSTransition in={inProp} timeout={200} classNames="my-node">
2648
+ * <div>
2649
+ * {"I'll receive my-node-* classes"}
2650
+ * </div>
2651
+ * </CSSTransition>
2652
+ * <button type="button" onClick={() => setInProp(true)}>
2653
+ * Click to Enter
2654
+ * </button>
2655
+ * </div>
2656
+ * );
2657
+ * }
2658
+ * ```
2659
+ *
2660
+ * When the `in` prop is set to `true`, the child component will first receive
2661
+ * the class `example-enter`, then the `example-enter-active` will be added in
2662
+ * the next tick. `CSSTransition` [forces a
2663
+ * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
2664
+ * between before adding the `example-enter-active`. This is an important trick
2665
+ * because it allows us to transition between `example-enter` and
2666
+ * `example-enter-active` even though they were added immediately one after
2667
+ * another. Most notably, this is what makes it possible for us to animate
2668
+ * _appearance_.
2669
+ *
2670
+ * ```css
2671
+ * .my-node-enter {
2672
+ * opacity: 0;
2673
+ * }
2674
+ * .my-node-enter-active {
2675
+ * opacity: 1;
2676
+ * transition: opacity 200ms;
2677
+ * }
2678
+ * .my-node-exit {
2679
+ * opacity: 1;
2680
+ * }
2681
+ * .my-node-exit-active {
2682
+ * opacity: 0;
2683
+ * transition: opacity 200ms;
2684
+ * }
2685
+ * ```
2686
+ *
2687
+ * `*-active` classes represent which styles you want to animate **to**, so it's
2688
+ * important to add `transition` declaration only to them, otherwise transitions
2689
+ * might not behave as intended! This might not be obvious when the transitions
2690
+ * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
2691
+ * the example above (minus `transition`), but it becomes apparent in more
2692
+ * complex transitions.
2693
+ *
2694
+ * **Note**: If you're using the
2695
+ * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
2696
+ * prop, make sure to define styles for `.appear-*` classes as well.
2697
+ */
2698
+
2699
+
2700
+ var CSSTransition = /*#__PURE__*/function (_React$Component) {
2701
+ (0,inheritsLoose/* default */.Z)(CSSTransition, _React$Component);
2702
+
2703
+ function CSSTransition() {
2704
+ var _this;
2705
+
2706
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2707
+ args[_key] = arguments[_key];
2708
+ }
2709
+
2710
+ _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
2711
+ _this.appliedClasses = {
2712
+ appear: {},
2713
+ enter: {},
2714
+ exit: {}
2715
+ };
2716
+
2717
+ _this.onEnter = function (maybeNode, maybeAppearing) {
2718
+ var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
2719
+ node = _this$resolveArgument[0],
2720
+ appearing = _this$resolveArgument[1];
2721
+
2722
+ _this.removeClasses(node, 'exit');
2723
+
2724
+ _this.addClass(node, appearing ? 'appear' : 'enter', 'base');
2725
+
2726
+ if (_this.props.onEnter) {
2727
+ _this.props.onEnter(maybeNode, maybeAppearing);
2728
+ }
2729
+ };
2730
+
2731
+ _this.onEntering = function (maybeNode, maybeAppearing) {
2732
+ var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
2733
+ node = _this$resolveArgument2[0],
2734
+ appearing = _this$resolveArgument2[1];
2735
+
2736
+ var type = appearing ? 'appear' : 'enter';
2737
+
2738
+ _this.addClass(node, type, 'active');
2739
+
2740
+ if (_this.props.onEntering) {
2741
+ _this.props.onEntering(maybeNode, maybeAppearing);
2742
+ }
2743
+ };
2744
+
2745
+ _this.onEntered = function (maybeNode, maybeAppearing) {
2746
+ var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
2747
+ node = _this$resolveArgument3[0],
2748
+ appearing = _this$resolveArgument3[1];
2749
+
2750
+ var type = appearing ? 'appear' : 'enter';
2751
+
2752
+ _this.removeClasses(node, type);
2753
+
2754
+ _this.addClass(node, type, 'done');
2755
+
2756
+ if (_this.props.onEntered) {
2757
+ _this.props.onEntered(maybeNode, maybeAppearing);
2758
+ }
2759
+ };
2760
+
2761
+ _this.onExit = function (maybeNode) {
2762
+ var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
2763
+ node = _this$resolveArgument4[0];
2764
+
2765
+ _this.removeClasses(node, 'appear');
2766
+
2767
+ _this.removeClasses(node, 'enter');
2768
+
2769
+ _this.addClass(node, 'exit', 'base');
2770
+
2771
+ if (_this.props.onExit) {
2772
+ _this.props.onExit(maybeNode);
2773
+ }
2774
+ };
2775
+
2776
+ _this.onExiting = function (maybeNode) {
2777
+ var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
2778
+ node = _this$resolveArgument5[0];
2779
+
2780
+ _this.addClass(node, 'exit', 'active');
2781
+
2782
+ if (_this.props.onExiting) {
2783
+ _this.props.onExiting(maybeNode);
2784
+ }
2785
+ };
2786
+
2787
+ _this.onExited = function (maybeNode) {
2788
+ var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
2789
+ node = _this$resolveArgument6[0];
2790
+
2791
+ _this.removeClasses(node, 'exit');
2792
+
2793
+ _this.addClass(node, 'exit', 'done');
2794
+
2795
+ if (_this.props.onExited) {
2796
+ _this.props.onExited(maybeNode);
2797
+ }
2798
+ };
2799
+
2800
+ _this.resolveArguments = function (maybeNode, maybeAppearing) {
2801
+ return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
2802
+ : [maybeNode, maybeAppearing];
2803
+ };
2804
+
2805
+ _this.getClassNames = function (type) {
2806
+ var classNames = _this.props.classNames;
2807
+ var isStringClassNames = typeof classNames === 'string';
2808
+ var prefix = isStringClassNames && classNames ? classNames + "-" : '';
2809
+ var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
2810
+ var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
2811
+ var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
2812
+ return {
2813
+ baseClassName: baseClassName,
2814
+ activeClassName: activeClassName,
2815
+ doneClassName: doneClassName
2816
+ };
2817
+ };
2818
+
2819
+ return _this;
2820
+ }
2821
+
2822
+ var _proto = CSSTransition.prototype;
2823
+
2824
+ _proto.addClass = function addClass(node, type, phase) {
2825
+ var className = this.getClassNames(type)[phase + "ClassName"];
2826
+
2827
+ var _this$getClassNames = this.getClassNames('enter'),
2828
+ doneClassName = _this$getClassNames.doneClassName;
2829
+
2830
+ if (type === 'appear' && phase === 'done' && doneClassName) {
2831
+ className += " " + doneClassName;
2832
+ } // This is for to force a repaint,
2833
+ // which is necessary in order to transition styles when adding a class name.
2834
+
2835
+
2836
+ if (phase === 'active') {
2837
+ /* eslint-disable no-unused-expressions */
2838
+ node && node.scrollTop;
2839
+ }
2840
+
2841
+ if (className) {
2842
+ this.appliedClasses[type][phase] = className;
2843
+
2844
+ _addClass(node, className);
2845
+ }
2846
+ };
2847
+
2848
+ _proto.removeClasses = function removeClasses(node, type) {
2849
+ var _this$appliedClasses$ = this.appliedClasses[type],
2850
+ baseClassName = _this$appliedClasses$.base,
2851
+ activeClassName = _this$appliedClasses$.active,
2852
+ doneClassName = _this$appliedClasses$.done;
2853
+ this.appliedClasses[type] = {};
2854
+
2855
+ if (baseClassName) {
2856
+ removeClass(node, baseClassName);
2857
+ }
2858
+
2859
+ if (activeClassName) {
2860
+ removeClass(node, activeClassName);
2861
+ }
2862
+
2863
+ if (doneClassName) {
2864
+ removeClass(node, doneClassName);
2865
+ }
2866
+ };
2867
+
2868
+ _proto.render = function render() {
2869
+ var _this$props = this.props,
2870
+ _ = _this$props.classNames,
2871
+ props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["classNames"]);
2872
+
2873
+ return /*#__PURE__*/external_react_default().createElement(esm_Transition, (0,esm_extends/* default */.Z)({}, props, {
2874
+ onEnter: this.onEnter,
2875
+ onEntered: this.onEntered,
2876
+ onEntering: this.onEntering,
2877
+ onExit: this.onExit,
2878
+ onExiting: this.onExiting,
2879
+ onExited: this.onExited
2880
+ }));
2881
+ };
2882
+
2883
+ return CSSTransition;
2884
+ }((external_react_default()).Component);
2885
+
2886
+ CSSTransition.defaultProps = {
2887
+ classNames: ''
2888
+ };
2889
+ CSSTransition.propTypes = false ? 0 : {};
2890
+ /* harmony default export */ const esm_CSSTransition = (CSSTransition);
2891
+
2892
+ /***/ }),
2893
+
2894
+ /***/ 3493:
2895
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2896
+
2897
+ "use strict";
2898
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2899
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
2900
+ /* harmony export */ });
2901
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
2902
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
2903
+
2904
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null));
2905
+
2906
+ /***/ }),
2907
+
2908
+ /***/ 4600:
2909
+ /***/ ((module) => {
2910
+
2911
+ "use strict";
2912
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4600__;
2913
+
2914
+ /***/ }),
2915
+
2916
+ /***/ 6466:
2917
+ /***/ ((module) => {
2918
+
2919
+ "use strict";
2920
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6466__;
2921
+
2922
+ /***/ }),
2923
+
2924
+ /***/ 6988:
2925
+ /***/ ((module) => {
2926
+
2927
+ "use strict";
2928
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6988__;
2929
+
2930
+ /***/ }),
2931
+
2932
+ /***/ 1349:
2933
+ /***/ ((module) => {
2934
+
2935
+ "use strict";
2936
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1349__;
2937
+
2938
+ /***/ }),
2939
+
2940
+ /***/ 3041:
2941
+ /***/ ((module) => {
2942
+
2943
+ "use strict";
2944
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3041__;
2945
+
2946
+ /***/ }),
2947
+
2948
+ /***/ 5692:
2949
+ /***/ ((module) => {
2950
+
2951
+ "use strict";
2952
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
2953
+
2954
+ /***/ }),
2955
+
2956
+ /***/ 8310:
2957
+ /***/ ((module) => {
2958
+
2959
+ "use strict";
2960
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
2961
+
2962
+ /***/ }),
2963
+
2964
+ /***/ 8156:
2965
+ /***/ ((module) => {
2966
+
2967
+ "use strict";
2968
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
2969
+
2970
+ /***/ }),
2971
+
2972
+ /***/ 8926:
2973
+ /***/ ((module) => {
2974
+
2975
+ "use strict";
2976
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8926__;
2977
+
2978
+ /***/ }),
2979
+
2980
+ /***/ 5315:
2981
+ /***/ ((module) => {
2982
+
2983
+ "use strict";
2984
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5315__;
2985
+
2986
+ /***/ }),
2987
+
2988
+ /***/ 4440:
2989
+ /***/ ((module) => {
2990
+
2991
+ "use strict";
2992
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4440__;
2993
+
2994
+ /***/ }),
2995
+
2996
+ /***/ 4976:
2997
+ /***/ ((module) => {
2998
+
2999
+ "use strict";
3000
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;
3001
+
3002
+ /***/ }),
3003
+
3004
+ /***/ 8721:
3005
+ /***/ ((module) => {
3006
+
3007
+ "use strict";
3008
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
3009
+
3010
+ /***/ }),
3011
+
3012
+ /***/ 1082:
3013
+ /***/ ((module) => {
3014
+
3015
+ "use strict";
3016
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
3017
+
3018
+ /***/ }),
3019
+
3020
+ /***/ 8763:
3021
+ /***/ ((module) => {
3022
+
3023
+ "use strict";
3024
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
3025
+
3026
+ /***/ }),
3027
+
3028
+ /***/ 3915:
3029
+ /***/ ((module) => {
3030
+
3031
+ "use strict";
3032
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3915__;
3033
+
3034
+ /***/ }),
3035
+
3036
+ /***/ 7111:
3037
+ /***/ ((module) => {
3038
+
3039
+ "use strict";
3040
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7111__;
3041
+
3042
+ /***/ }),
3043
+
3044
+ /***/ 32:
3045
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3046
+
3047
+ "use strict";
3048
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3049
+ /* harmony export */ "Z": () => (/* binding */ _extends)
3050
+ /* harmony export */ });
3051
+ function _extends() {
3052
+ _extends = Object.assign || function (target) {
3053
+ for (var i = 1; i < arguments.length; i++) {
3054
+ var source = arguments[i];
3055
+
3056
+ for (var key in source) {
3057
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
3058
+ target[key] = source[key];
3059
+ }
3060
+ }
3061
+ }
3062
+
3063
+ return target;
3064
+ };
3065
+
3066
+ return _extends.apply(this, arguments);
3067
+ }
3068
+
3069
+ /***/ }),
3070
+
3071
+ /***/ 7581:
3072
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3073
+
3074
+ "use strict";
3075
+
3076
+ // EXPORTS
3077
+ __webpack_require__.d(__webpack_exports__, {
3078
+ "Z": () => (/* binding */ _inheritsLoose)
3079
+ });
3080
+
3081
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
3082
+ function _setPrototypeOf(o, p) {
3083
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
3084
+ o.__proto__ = p;
3085
+ return o;
3086
+ };
3087
+
3088
+ return _setPrototypeOf(o, p);
3089
+ }
3090
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
3091
+
3092
+ function _inheritsLoose(subClass, superClass) {
3093
+ subClass.prototype = Object.create(superClass.prototype);
3094
+ subClass.prototype.constructor = subClass;
3095
+ _setPrototypeOf(subClass, superClass);
3096
+ }
3097
+
3098
+ /***/ }),
3099
+
3100
+ /***/ 7038:
3101
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3102
+
3103
+ "use strict";
3104
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3105
+ /* harmony export */ "Z": () => (/* binding */ _objectWithoutPropertiesLoose)
3106
+ /* harmony export */ });
3107
+ function _objectWithoutPropertiesLoose(source, excluded) {
3108
+ if (source == null) return {};
3109
+ var target = {};
3110
+ var sourceKeys = Object.keys(source);
3111
+ var key, i;
3112
+
3113
+ for (i = 0; i < sourceKeys.length; i++) {
3114
+ key = sourceKeys[i];
3115
+ if (excluded.indexOf(key) >= 0) continue;
3116
+ target[key] = source[key];
3117
+ }
3118
+
3119
+ return target;
3120
+ }
3121
+
3122
+ /***/ }),
3123
+
3124
+ /***/ 4329:
3125
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3126
+
3127
+ "use strict";
3128
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3129
+ /* harmony export */ "Z": () => (/* binding */ _typeof)
3130
+ /* harmony export */ });
3131
+ function _typeof(obj) {
3132
+ "@babel/helpers - typeof";
3133
+
3134
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
3135
+ _typeof = function _typeof(obj) {
3136
+ return typeof obj;
3137
+ };
3138
+ } else {
3139
+ _typeof = function _typeof(obj) {
3140
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3141
+ };
3142
+ }
3143
+
3144
+ return _typeof(obj);
3145
+ }
3146
+
3147
+ /***/ })
3148
+
3149
+ /******/ });
3150
+ /************************************************************************/
3151
+ /******/ // The module cache
3152
+ /******/ var __webpack_module_cache__ = {};
3153
+ /******/
3154
+ /******/ // The require function
3155
+ /******/ function __webpack_require__(moduleId) {
3156
+ /******/ // Check if module is in cache
3157
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
3158
+ /******/ if (cachedModule !== undefined) {
3159
+ /******/ return cachedModule.exports;
3160
+ /******/ }
3161
+ /******/ // Create a new module (and put it into the cache)
3162
+ /******/ var module = __webpack_module_cache__[moduleId] = {
3163
+ /******/ // no module.id needed
3164
+ /******/ // no module.loaded needed
3165
+ /******/ exports: {}
3166
+ /******/ };
3167
+ /******/
3168
+ /******/ // Execute the module function
3169
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
3170
+ /******/
3171
+ /******/ // Return the exports of the module
3172
+ /******/ return module.exports;
3173
+ /******/ }
3174
+ /******/
3175
+ /******/ // expose the modules object (__webpack_modules__)
3176
+ /******/ __webpack_require__.m = __webpack_modules__;
3177
+ /******/
3178
+ /************************************************************************/
3179
+ /******/ /* webpack/runtime/chunk loaded */
3180
+ /******/ (() => {
3181
+ /******/ var deferred = [];
3182
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
3183
+ /******/ if(chunkIds) {
3184
+ /******/ priority = priority || 0;
3185
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
3186
+ /******/ deferred[i] = [chunkIds, fn, priority];
3187
+ /******/ return;
3188
+ /******/ }
3189
+ /******/ var notFulfilled = Infinity;
3190
+ /******/ for (var i = 0; i < deferred.length; i++) {
3191
+ /******/ var [chunkIds, fn, priority] = deferred[i];
3192
+ /******/ var fulfilled = true;
3193
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
3194
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
3195
+ /******/ chunkIds.splice(j--, 1);
3196
+ /******/ } else {
3197
+ /******/ fulfilled = false;
3198
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
3199
+ /******/ }
3200
+ /******/ }
3201
+ /******/ if(fulfilled) {
3202
+ /******/ deferred.splice(i--, 1)
3203
+ /******/ var r = fn();
3204
+ /******/ if (r !== undefined) result = r;
3205
+ /******/ }
3206
+ /******/ }
3207
+ /******/ return result;
3208
+ /******/ };
3209
+ /******/ })();
3210
+ /******/
3211
+ /******/ /* webpack/runtime/compat get default export */
3212
+ /******/ (() => {
3213
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
3214
+ /******/ __webpack_require__.n = (module) => {
3215
+ /******/ var getter = module && module.__esModule ?
3216
+ /******/ () => (module['default']) :
3217
+ /******/ () => (module);
3218
+ /******/ __webpack_require__.d(getter, { a: getter });
3219
+ /******/ return getter;
3220
+ /******/ };
3221
+ /******/ })();
3222
+ /******/
3223
+ /******/ /* webpack/runtime/define property getters */
3224
+ /******/ (() => {
3225
+ /******/ // define getter functions for harmony exports
3226
+ /******/ __webpack_require__.d = (exports, definition) => {
3227
+ /******/ for(var key in definition) {
3228
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
3229
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
3230
+ /******/ }
3231
+ /******/ }
3232
+ /******/ };
3233
+ /******/ })();
3234
+ /******/
3235
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
3236
+ /******/ (() => {
3237
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
3238
+ /******/ })();
3239
+ /******/
3240
+ /******/ /* webpack/runtime/make namespace object */
3241
+ /******/ (() => {
3242
+ /******/ // define __esModule on exports
3243
+ /******/ __webpack_require__.r = (exports) => {
3244
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
3245
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3246
+ /******/ }
3247
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
3248
+ /******/ };
3249
+ /******/ })();
3250
+ /******/
3251
+ /******/ /* webpack/runtime/jsonp chunk loading */
3252
+ /******/ (() => {
3253
+ /******/ // no baseURI
3254
+ /******/
3255
+ /******/ // object to store loaded and loading chunks
3256
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
3257
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
3258
+ /******/ var installedChunks = {
3259
+ /******/ 9900: 0,
3260
+ /******/ 6615: 0,
3261
+ /******/ 8621: 0,
3262
+ /******/ 6419: 0,
3263
+ /******/ 6740: 0,
3264
+ /******/ 1981: 0
3265
+ /******/ };
3266
+ /******/
3267
+ /******/ // no chunk on demand loading
3268
+ /******/
3269
+ /******/ // no prefetching
3270
+ /******/
3271
+ /******/ // no preloaded
3272
+ /******/
3273
+ /******/ // no HMR
3274
+ /******/
3275
+ /******/ // no HMR manifest
3276
+ /******/
3277
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
3278
+ /******/
3279
+ /******/ // install a JSONP callback for chunk loading
3280
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
3281
+ /******/ var [chunkIds, moreModules, runtime] = data;
3282
+ /******/ // add "moreModules" to the modules object,
3283
+ /******/ // then flag all "chunkIds" as loaded and fire callback
3284
+ /******/ var moduleId, chunkId, i = 0;
3285
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
3286
+ /******/ for(moduleId in moreModules) {
3287
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
3288
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
3289
+ /******/ }
3290
+ /******/ }
3291
+ /******/ if(runtime) var result = runtime(__webpack_require__);
3292
+ /******/ }
3293
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
3294
+ /******/ for(;i < chunkIds.length; i++) {
3295
+ /******/ chunkId = chunkIds[i];
3296
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
3297
+ /******/ installedChunks[chunkId][0]();
3298
+ /******/ }
3299
+ /******/ installedChunks[chunkIds[i]] = 0;
3300
+ /******/ }
3301
+ /******/ return __webpack_require__.O(result);
3302
+ /******/ }
3303
+ /******/
3304
+ /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
3305
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
3306
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
3307
+ /******/ })();
3308
+ /******/
3309
+ /************************************************************************/
3310
+ /******/
3311
+ /******/ // startup
3312
+ /******/ // Load entry module and return exports
3313
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
3314
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(2434)))
3315
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
3316
+ /******/
3317
+ /******/ return __webpack_exports__;
3318
+ /******/ })()
3319
+ ;
3320
+ });
3321
+ //# sourceMappingURL=index.js.map