@spaziodati/atoka-design-system 2.1.2 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/AddableItems/index.js +145 -141
  2. package/AddableItems/index.js.map +1 -1
  3. package/Alert/index.js +6 -4
  4. package/Alert/index.js.map +1 -1
  5. package/Badge/index.js +4 -4
  6. package/Badge/index.js.map +1 -1
  7. package/Bs4V3Wrapper/index.js +6 -4
  8. package/Bs4V3Wrapper/index.js.map +1 -1
  9. package/BubbleChart/index.js +1729 -2098
  10. package/BubbleChart/index.js.map +1 -1
  11. package/Button/Button.storiesConfig.d.ts +0 -10
  12. package/Button/index.js +9 -7
  13. package/Button/index.js.map +1 -1
  14. package/ButtonDropdown/index.js +131 -133
  15. package/ButtonDropdown/index.js.map +1 -1
  16. package/CardsPage/index.js +227 -233
  17. package/CardsPage/index.js.map +1 -1
  18. package/CursorPagination/index.js +132 -136
  19. package/CursorPagination/index.js.map +1 -1
  20. package/DatePicker/index.js +123 -126
  21. package/DatePicker/index.js.map +1 -1
  22. package/DetailPage/index.js +1353 -1429
  23. package/DetailPage/index.js.map +1 -1
  24. package/Dropdown/index.js +133 -133
  25. package/Dropdown/index.js.map +1 -1
  26. package/EditableString/index.js +2400 -2483
  27. package/EditableString/index.js.map +1 -1
  28. package/EllipsableContent/index.js +14 -12
  29. package/EllipsableContent/index.js.map +1 -1
  30. package/EmptyState/index.js +6 -4
  31. package/EmptyState/index.js.map +1 -1
  32. package/Facet/index.js +149 -144
  33. package/Facet/index.js.map +1 -1
  34. package/FacetSection/index.js +15 -11
  35. package/FacetSection/index.js.map +1 -1
  36. package/FadeAnimation/index.js +660 -731
  37. package/FadeAnimation/index.js.map +1 -1
  38. package/FeedbackButton/index.js +10 -8
  39. package/FeedbackButton/index.js.map +1 -1
  40. package/Form/index.js +7 -7
  41. package/Form/index.js.map +1 -1
  42. package/Funnel/index.js +2854 -3227
  43. package/Funnel/index.js.map +1 -1
  44. package/GridCard/index.js +162 -154
  45. package/GridCard/index.js.map +1 -1
  46. package/HighlightableText/index.js +138 -137
  47. package/HighlightableText/index.js.map +1 -1
  48. package/Histogram/index.js +1168 -1180
  49. package/Histogram/index.js.map +1 -1
  50. package/InlineStringEditor/index.js +183 -203
  51. package/InlineStringEditor/index.js.map +1 -1
  52. package/InputGroup/index.js +3 -3
  53. package/InputGroup/index.js.map +1 -1
  54. package/Jumbotron/index.js +7 -5
  55. package/Jumbotron/index.js.map +1 -1
  56. package/Map/Map.d.ts +3 -3
  57. package/Map/Types.d.ts +2 -2
  58. package/Map/index.js +4200 -3823
  59. package/Map/index.js.map +1 -1
  60. package/Modal/index.js +12 -10
  61. package/Modal/index.js.map +1 -1
  62. package/Navbar/index.js +2426 -2517
  63. package/Navbar/index.js.map +1 -1
  64. package/Pagination/index.js +132 -136
  65. package/Pagination/index.js.map +1 -1
  66. package/PieChart/index.js +204 -219
  67. package/PieChart/index.js.map +1 -1
  68. package/PublicFooter/index.js +14 -10
  69. package/PublicFooter/index.js.map +1 -1
  70. package/PublicNavbar/index.js +6 -4
  71. package/PublicNavbar/index.js.map +1 -1
  72. package/README.md +5 -2
  73. package/RecordBit/index.js +15 -11
  74. package/RecordBit/index.js.map +1 -1
  75. package/ResultItemCard/index.js +25 -19
  76. package/ResultItemCard/index.js.map +1 -1
  77. package/SelectDropdown/index.js +171 -185
  78. package/SelectDropdown/index.js.map +1 -1
  79. package/Spinner/index.js +6 -4
  80. package/Spinner/index.js.map +1 -1
  81. package/StatisticsItemCard/index.js +170 -160
  82. package/StatisticsItemCard/index.js.map +1 -1
  83. package/StatisticsItemNumeric/index.js +6 -4
  84. package/StatisticsItemNumeric/index.js.map +1 -1
  85. package/StatisticsLegend/index.js +173 -189
  86. package/StatisticsLegend/index.js.map +1 -1
  87. package/StatisticsTooltip/index.js +15 -15
  88. package/StatisticsTooltip/index.js.map +1 -1
  89. package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +1 -1
  90. package/Suggester/index.js +160 -160
  91. package/Suggester/index.js.map +1 -1
  92. package/SunBurst/index.js +140 -144
  93. package/SunBurst/index.js.map +1 -1
  94. package/TabSwitcher/index.js +144 -144
  95. package/TabSwitcher/index.js.map +1 -1
  96. package/Title/index.js +8 -6
  97. package/Title/index.js.map +1 -1
  98. package/Toasts/Toast.d.ts +41 -0
  99. package/Toasts/ToastContainer.d.ts +4 -0
  100. package/Toasts/ToastHeader.d.ts +7 -0
  101. package/Toasts/index.d.ts +2 -0
  102. package/Toasts/index.js +2285 -0
  103. package/Toasts/index.js.map +1 -0
  104. package/ToggleButtonGroup/index.js +128 -130
  105. package/ToggleButtonGroup/index.js.map +1 -1
  106. package/Tooltip/index.js +3 -3
  107. package/Tooltip/index.js.map +1 -1
  108. package/Utils/index.js +1049 -1426
  109. package/Utils/index.js.map +1 -1
  110. package/{atoka-design-system-2.1.2.min.css → atoka-design-system-2.1.5.min.css} +1 -1
  111. package/index.d.ts +1 -0
  112. package/index.js +13126 -11649
  113. package/index.js.map +1 -1
  114. package/package.json +48 -40
  115. package/styles/atoka-bs.less +1 -1
  116. package/styles/variant-mixins.less +7 -7
package/Dropdown/index.js CHANGED
@@ -12,7 +12,118 @@ return /******/ (() => { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 1710:
15
+ /***/ 6627:
16
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
+
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "ZP": () => (/* binding */ autobind)
20
+ /* harmony export */ });
21
+ /* unused harmony exports boundMethod, boundClass */
22
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
23
+
24
+
25
+ function _typeof(obj) {
26
+ if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
27
+ _typeof = function _typeof(obj) {
28
+ return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
29
+ };
30
+ } else {
31
+ _typeof = function _typeof(obj) {
32
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
33
+ };
34
+ }
35
+
36
+ return _typeof(obj);
37
+ }
38
+ /**
39
+ * Return a descriptor removing the value and returning a getter
40
+ * The getter will return a .bind version of the function
41
+ * and memoize the result against a symbol on the instance
42
+ */
43
+
44
+
45
+ function boundMethod(target, key, descriptor) {
46
+ var fn = descriptor.value;
47
+
48
+ if (typeof fn !== 'function') {
49
+ throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
50
+ } // In IE11 calling Object.defineProperty has a side-effect of evaluating the
51
+ // getter for the property which is being replaced. This causes infinite
52
+ // recursion and an "Out of stack space" error.
53
+
54
+
55
+ var definingProperty = false;
56
+ return {
57
+ configurable: true,
58
+ get: function get() {
59
+ // eslint-disable-next-line no-prototype-builtins
60
+ if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
61
+ return fn;
62
+ }
63
+
64
+ var boundFn = fn.bind(this);
65
+ definingProperty = true;
66
+ Object.defineProperty(this, key, {
67
+ configurable: true,
68
+ get: function get() {
69
+ return boundFn;
70
+ },
71
+ set: function set(value) {
72
+ fn = value;
73
+ delete this[key];
74
+ }
75
+ });
76
+ definingProperty = false;
77
+ return boundFn;
78
+ },
79
+ set: function set(value) {
80
+ fn = value;
81
+ }
82
+ };
83
+ }
84
+ /**
85
+ * Use boundMethod to bind all methods on the target.prototype
86
+ */
87
+
88
+ function boundClass(target) {
89
+ // (Using reflect to get all keys including symbols)
90
+ var keys; // Use Reflect if exists
91
+
92
+ if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
93
+ keys = Reflect.ownKeys(target.prototype);
94
+ } else {
95
+ keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
96
+
97
+ if (typeof Object.getOwnPropertySymbols === 'function') {
98
+ keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
99
+ }
100
+ }
101
+
102
+ keys.forEach(function (key) {
103
+ // Ignore special case target method
104
+ if (key === 'constructor') {
105
+ return;
106
+ }
107
+
108
+ var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
109
+
110
+ if (typeof descriptor.value === 'function') {
111
+ Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
112
+ }
113
+ });
114
+ return target;
115
+ }
116
+ function autobind() {
117
+ if (arguments.length === 1) {
118
+ return boundClass.apply(void 0, arguments);
119
+ }
120
+
121
+ return boundMethod.apply(void 0, arguments);
122
+ }
123
+
124
+ /***/ }),
125
+
126
+ /***/ 4397:
16
127
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
128
 
18
129
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -30,10 +141,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
30
141
  var extendStatics = function (d, b) {
31
142
  extendStatics = Object.setPrototypeOf ||
32
143
  ({ __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]; };
144
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
34
145
  return extendStatics(d, b);
35
146
  };
36
147
  return function (d, b) {
148
+ if (typeof b !== "function" && b !== null)
149
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
37
150
  extendStatics(d, b);
38
151
  function __() { this.constructor = d; }
39
152
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -88,7 +201,7 @@ var Button = /** @class */ (function (_super) {
88
201
  this.renderChildren()));
89
202
  };
90
203
  Button.prototype.render = function () {
91
- var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-" + this.props.size, this.props.className, {
204
+ var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-".concat(this.props.size), this.props.className, {
92
205
  'btn-icon-only': this.props.icon != null && this.props.children == null,
93
206
  });
94
207
  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 },
@@ -110,20 +223,20 @@ var Button = /** @class */ (function (_super) {
110
223
 
111
224
  /***/ }),
112
225
 
113
- /***/ 125:
226
+ /***/ 7325:
114
227
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
115
228
 
116
229
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
117
230
  /* harmony export */ "Button": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__.z)
118
231
  /* harmony export */ });
119
- /* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1710);
232
+ /* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4397);
120
233
  // use the star because of this issue: https://github.com/babel/babel-loader/issues/603
121
234
 
122
235
 
123
236
 
124
237
  /***/ }),
125
238
 
126
- /***/ 7180:
239
+ /***/ 5111:
127
240
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
128
241
 
129
242
  // ESM COMPAT FLAG
@@ -192,10 +305,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
192
305
  var extendStatics = function (d, b) {
193
306
  extendStatics = Object.setPrototypeOf ||
194
307
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
195
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
308
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
196
309
  return extendStatics(d, b);
197
310
  };
198
311
  return function (d, b) {
312
+ if (typeof b !== "function" && b !== null)
313
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
199
314
  extendStatics(d, b);
200
315
  function __() { this.constructor = d; }
201
316
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -242,16 +357,18 @@ var faEllipsisH_ = __webpack_require__(3041);
242
357
  // EXTERNAL MODULE: external "@fortawesome/pro-regular-svg-icons/faChevronDown"
243
358
  var faChevronDown_ = __webpack_require__(1349);
244
359
  // EXTERNAL MODULE: ./src/components/Button/index.ts
245
- var Button = __webpack_require__(125);
360
+ var Button = __webpack_require__(7325);
246
361
  ;// CONCATENATED MODULE: ./src/components/Dropdown/AtokaDropdownToggles.tsx
247
362
  var AtokaDropdownToggles_extends = (undefined && undefined.__extends) || (function () {
248
363
  var extendStatics = function (d, b) {
249
364
  extendStatics = Object.setPrototypeOf ||
250
365
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
251
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
366
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
252
367
  return extendStatics(d, b);
253
368
  };
254
369
  return function (d, b) {
370
+ if (typeof b !== "function" && b !== null)
371
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
255
372
  extendStatics(d, b);
256
373
  function __() { this.constructor = d; }
257
374
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -365,117 +482,6 @@ var AtokaCustomDropdownToggleWithChevron = withRef('AtokaCustomDropdownToggleWit
365
482
 
366
483
 
367
484
 
368
- /***/ }),
369
-
370
- /***/ 6627:
371
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
372
-
373
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
374
- /* harmony export */ "ZP": () => (/* binding */ autobind)
375
- /* harmony export */ });
376
- /* unused harmony exports boundMethod, boundClass */
377
- /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
378
-
379
-
380
- function _typeof(obj) {
381
- if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
382
- _typeof = function _typeof(obj) {
383
- return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
384
- };
385
- } else {
386
- _typeof = function _typeof(obj) {
387
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
388
- };
389
- }
390
-
391
- return _typeof(obj);
392
- }
393
- /**
394
- * Return a descriptor removing the value and returning a getter
395
- * The getter will return a .bind version of the function
396
- * and memoize the result against a symbol on the instance
397
- */
398
-
399
-
400
- function boundMethod(target, key, descriptor) {
401
- var fn = descriptor.value;
402
-
403
- if (typeof fn !== 'function') {
404
- throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
405
- } // In IE11 calling Object.defineProperty has a side-effect of evaluating the
406
- // getter for the property which is being replaced. This causes infinite
407
- // recursion and an "Out of stack space" error.
408
-
409
-
410
- var definingProperty = false;
411
- return {
412
- configurable: true,
413
- get: function get() {
414
- // eslint-disable-next-line no-prototype-builtins
415
- if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
416
- return fn;
417
- }
418
-
419
- var boundFn = fn.bind(this);
420
- definingProperty = true;
421
- Object.defineProperty(this, key, {
422
- configurable: true,
423
- get: function get() {
424
- return boundFn;
425
- },
426
- set: function set(value) {
427
- fn = value;
428
- delete this[key];
429
- }
430
- });
431
- definingProperty = false;
432
- return boundFn;
433
- },
434
- set: function set(value) {
435
- fn = value;
436
- }
437
- };
438
- }
439
- /**
440
- * Use boundMethod to bind all methods on the target.prototype
441
- */
442
-
443
- function boundClass(target) {
444
- // (Using reflect to get all keys including symbols)
445
- var keys; // Use Reflect if exists
446
-
447
- if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
448
- keys = Reflect.ownKeys(target.prototype);
449
- } else {
450
- keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
451
-
452
- if (typeof Object.getOwnPropertySymbols === 'function') {
453
- keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
454
- }
455
- }
456
-
457
- keys.forEach(function (key) {
458
- // Ignore special case target method
459
- if (key === 'constructor') {
460
- return;
461
- }
462
-
463
- var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
464
-
465
- if (typeof descriptor.value === 'function') {
466
- Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
467
- }
468
- });
469
- return target;
470
- }
471
- function autobind() {
472
- if (arguments.length === 1) {
473
- return boundClass.apply(void 0, arguments);
474
- }
475
-
476
- return boundMethod.apply(void 0, arguments);
477
- }
478
-
479
485
  /***/ }),
480
486
 
481
487
  /***/ 1349:
@@ -536,17 +542,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;
536
542
  function _typeof(obj) {
537
543
  "@babel/helpers - typeof";
538
544
 
539
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
540
- _typeof = function _typeof(obj) {
541
- return typeof obj;
542
- };
543
- } else {
544
- _typeof = function _typeof(obj) {
545
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
546
- };
547
- }
548
-
549
- return _typeof(obj);
545
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
546
+ return typeof obj;
547
+ } : function (obj) {
548
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
549
+ }, _typeof(obj);
550
550
  }
551
551
 
552
552
  /***/ })
@@ -663,7 +663,7 @@ function _typeof(obj) {
663
663
  /******/ var installedChunks = {
664
664
  /******/ 8621: 0,
665
665
  /******/ 6615: 0,
666
- /******/ 2210: 0
666
+ /******/ 6999: 0
667
667
  /******/ };
668
668
  /******/
669
669
  /******/ // no chunk on demand loading
@@ -713,7 +713,7 @@ function _typeof(obj) {
713
713
  /******/ // startup
714
714
  /******/ // Load entry module and return exports
715
715
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
716
- /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [2210], () => (__webpack_require__(7180)))
716
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(5111)))
717
717
  /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
718
718
  /******/
719
719
  /******/ return __webpack_exports__;
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV4C;AACR;AACU;AACiB;AAExC;AA+BvB;IAAqB,0BAAgC;IAArD;;IAkFA,CAAC;IAxEW,2BAAU,GAAlB;QACI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,IAAI,EAAE;YACzB,OAAO,IAAI,CAAC;SACf;QAED,OAAO,2DAAC,2EAAe,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,CAAC;IACtD,CAAC;IAEO,+BAAc,GAAtB;QACI,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,IAAI,EAAE;YAC7B,OAAO,IAAI,CAAC;SACf;QAED,OAAO,qEAAM,SAAS,EAAC,cAAc,IAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAQ,CAAC;IACvE,CAAC;IAEO,+BAAc,GAAtB;QACI,IAAI,IAAI,CAAC,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;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UElDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Button/Button.tsx","webpack://atoka-design-system/./src/components/Button/index.ts","webpack://atoka-design-system/./src/components/Dropdown/DropdownMenu.tsx","webpack://atoka-design-system/./src/components/Dropdown/Dropdown.tsx","webpack://atoka-design-system/./src/components/Dropdown/AtokaDropdownToggles.tsx","webpack://atoka-design-system/./src/components/Dropdown/index.ts","webpack://atoka-design-system/./node_modules/autobind-decorator/lib/esm/index.js","webpack://atoka-design-system/external umd \"@fortawesome/pro-regular-svg-icons/faChevronDown\"","webpack://atoka-design-system/external umd \"@fortawesome/pro-regular-svg-icons/faEllipsisH\"","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/Button\"","webpack://atoka-design-system/external umd \"react-bootstrap/Dropdown\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(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/Dropdown\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/pro-regular-svg-icons/faChevronDown\", \"@fortawesome/pro-regular-svg-icons/faEllipsisH\", \"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Button\", \"react-bootstrap/Dropdown\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(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/Dropdown\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(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/Dropdown\"]);\n})(self, function(__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__4976__) {\nreturn ","import React, {SyntheticEvent} from 'react';\nimport classnames from 'classnames';\nimport BsButton from 'react-bootstrap/Button';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\n\nimport './Button.less';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {PropsWithClassName} from '../Utils';\n\ntype ButtonVariant =\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'tertiary-danger'\n | 'danger'\n | 'primary-orange'\n | 'primary-white'\n | 'primary-danger';\ntype ButtonSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg';\ninterface ButtonProps extends PropsWithClassName {\n variant: ButtonVariant;\n size: ButtonSize;\n\n icon?: IconDefinition;\n iconLeft?: IconDefinition;\n iconRight?: IconDefinition;\n\n disabled: boolean;\n block: boolean;\n\n onClick?: (e?: SyntheticEvent) => void;\n\n href?: string;\n target?: string;\n}\n\nclass Button extends React.PureComponent<ButtonProps> {\n static displayName: string = 'Button';\n\n public static defaultProps: Partial<ButtonProps> = {\n variant: 'primary',\n size: 'md',\n disabled: false,\n block: false,\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n return <FontAwesomeIcon icon={this.props.icon} />;\n }\n\n private renderChildren(): React.ReactNode {\n if (this.props.children == null) {\n return null;\n }\n\n return <span className='btn-children'>{this.props.children}</span>;\n }\n\n private renderLeftSide(): React.ReactNode {\n if (this.props.iconLeft == null) {\n if (this.props.iconRight == null) {\n return null;\n }\n return <FontAwesomeIcon icon={this.props.iconRight} className='invisible' />;\n }\n\n return <FontAwesomeIcon icon={this.props.iconLeft} />;\n }\n\n private renderRightSide(): React.ReactNode {\n if (this.props.iconRight == null) {\n if (this.props.iconLeft == null) {\n return null;\n }\n return <FontAwesomeIcon icon={this.props.iconLeft} className='invisible' />;\n }\n\n return <FontAwesomeIcon icon={this.props.iconRight} />;\n }\n\n private renderContent(): React.ReactNode {\n if (this.props.icon != null && this.props.children == null) {\n return this.renderIcon();\n }\n\n return (\n <div className='button-content-center-container'>\n {this.renderIcon()}\n {this.renderChildren()}\n </div>\n );\n }\n\n public render(): React.ReactNode {\n const className: string = classnames('atoka-btn', `btn-${this.props.size}`, this.props.className, {\n 'btn-icon-only': this.props.icon != null && this.props.children == null,\n });\n\n return (\n <BsButton\n className={className}\n variant={this.props.variant}\n disabled={this.props.disabled}\n block={this.props.block}\n onClick={this.props.onClick}\n href={this.props.href}\n target={this.props.target}\n >\n {this.renderLeftSide()}\n {this.renderContent()}\n {this.renderRightSide()}\n </BsButton>\n );\n }\n}\n\nexport {Button, ButtonVariant, ButtonSize, ButtonProps};\n","// use the star because of this issue: https://github.com/babel/babel-loader/issues/603\nexport * from './Button';\n","import {DropdownMenuProps as BsDropdownMenuProps} from 'react-bootstrap/DropdownMenu';\nimport React from 'react';\nimport BsDropdown from 'react-bootstrap/Dropdown';\nimport classnames from 'classnames';\n\nimport './DropdownMenu.less';\n\nexport interface DropdownMenuProps extends BsDropdownMenuProps {\n size?: 'sm' | 'lg';\n}\n\nexport const DropdownMenu: React.FC<DropdownMenuProps> = React.memo(({size = 'sm', ...props}): React.ReactElement => {\n const className: string = classnames({\n [props?.className ?? '']: true,\n 'atoka-dropdown-menu': true,\n [size]: true,\n });\n return (\n <BsDropdown.Menu {...props} className={className}>\n {props.children}\n </BsDropdown.Menu>\n );\n});\n\nDropdownMenu.displayName = 'DropdownMenu';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsDropdown, {DropdownProps as BsDropdownProps} from 'react-bootstrap/Dropdown';\nimport {DropdownMenu} from './DropdownMenu';\n\nexport class Dropdown extends React.PureComponent<BsDropdownProps> {\n static displayName: string = 'DropDown';\n public static Toggle: typeof BsDropdown.Toggle = BsDropdown.Toggle;\n public static Menu: typeof DropdownMenu = DropdownMenu;\n public static Item: typeof BsDropdown.Item = BsDropdown.Item;\n public static Divider: typeof BsDropdown.Divider = BsDropdown.Divider;\n public static Header: typeof BsDropdown.Header = BsDropdown.Header;\n\n public render(): React.ReactNode {\n const className: string = classnames(this.props.className, 'atoka-dropdown');\n return (\n <BsDropdown {...this.props} className={className}>\n {this.props.children}\n </BsDropdown>\n );\n }\n}\n","import React from 'react';\nimport autobind from 'autobind-decorator';\nimport classnames from 'classnames';\nimport {faEllipsisH} from '@fortawesome/pro-regular-svg-icons/faEllipsisH';\nimport {faChevronDown} from '@fortawesome/pro-regular-svg-icons/faChevronDown';\nimport {Button} from '../Button';\n\nimport './AtokaDropdownToggles.less';\n\nexport interface AtokaDropdownToggleProps {\n children?: React.ReactNode;\n onClick: (e: React.SyntheticEvent<HTMLDivElement, MouseEvent>) => void;\n disabled?: boolean;\n}\n\nfunction withRef<P>(\n displayName: string,\n Component: React.ComponentType<AtokaDropdownToggleProps>,\n): React.ComponentType<AtokaDropdownToggleProps | P> {\n const newComponent: React.ComponentType<AtokaDropdownToggleProps | P> = React.forwardRef(\n (props: AtokaDropdownToggleProps, ref: React.Ref<HTMLDivElement>) => {\n return (\n <div ref={ref}>\n <Component disabled={props.disabled} onClick={props.onClick}>\n {props.children}\n </Component>\n </div>\n );\n },\n );\n newComponent.displayName = displayName;\n return newComponent;\n}\n\nclass AtokaSimpleDropdownToggleComponent extends React.Component<AtokaDropdownToggleProps> {\n static displayName: string = 'AtokaSimpleDropdownToggleComponent';\n\n @autobind\n private handleClick(e: React.SyntheticEvent<HTMLDivElement, MouseEvent>): void {\n e.preventDefault();\n this.props.onClick(e);\n }\n\n public render(): React.ReactNode {\n return (\n <Button\n variant='secondary'\n size='xs'\n icon={faEllipsisH}\n onClick={!this.props.disabled ? this.handleClick : undefined}\n />\n );\n }\n}\nclass AtokaCustomDropdownToggleComponent extends React.Component<AtokaDropdownToggleProps> {\n static displayName: string = 'AtokaCustomDropdownToggleComponent';\n\n @autobind\n private handleClick(e: React.SyntheticEvent<HTMLDivElement, MouseEvent>): void {\n e.preventDefault();\n this.props.onClick(e);\n }\n\n public render(): React.ReactNode {\n return (\n <div className='atoka-dropdown-toggle' onClick={!this.props.disabled ? this.handleClick : undefined}>\n {this.props.children}\n </div>\n );\n }\n}\n\nclass AtokaCustomDropdownToggleWithChevronComponent extends React.Component<AtokaDropdownToggleProps> {\n static displayName: string = 'AtokaCustomDropdownToggleWithChevronComponent ';\n\n @autobind\n private handleClick(e: React.SyntheticEvent<HTMLDivElement, MouseEvent>): void {\n e.preventDefault();\n this.props.onClick(e);\n }\n\n public render(): React.ReactNode {\n let className = classnames({\n 'atoka-dropdown-toggle': true,\n 'disabled': this.props.disabled,\n });\n\n return (\n <div className={className} onClick={!this.props.disabled ? this.handleClick : undefined}>\n {this.props.children}\n <div className='chevron-container'>\n <Button variant='tertiary' size='md' icon={faChevronDown} />\n </div>\n </div>\n );\n }\n}\n\nconst AtokaSimpleDropdownToggle: React.ComponentType<AtokaDropdownToggleProps> = withRef(\n 'AtokaSimpleDropdownToggle',\n AtokaSimpleDropdownToggleComponent,\n);\nconst AtokaCustomDropdownToggle: React.ComponentType<AtokaDropdownToggleProps> = withRef(\n 'AtokaCustomDropdownToggle',\n AtokaCustomDropdownToggleComponent,\n);\nconst AtokaCustomDropdownToggleWithChevron: React.ComponentType<AtokaDropdownToggleProps> = withRef(\n 'AtokaCustomDropdownToggleWithChevron',\n AtokaCustomDropdownToggleWithChevronComponent,\n);\n\nexport {AtokaSimpleDropdownToggle, AtokaCustomDropdownToggleWithChevron, AtokaCustomDropdownToggle};\n","export {Dropdown} from './Dropdown';\nexport {DropdownMenu} from './DropdownMenu';\nexport {\n AtokaSimpleDropdownToggle,\n AtokaCustomDropdownToggle,\n AtokaCustomDropdownToggleWithChevron,\n} from './AtokaDropdownToggles';\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__1349__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3041__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8926__;","module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t8621: 0,\n\t6615: 0,\n\t2210: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [2210], () => (__webpack_require__(7180)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}
1
+ {"version":3,"file":"Dropdown/index.js","mappings":"AAA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,OAAOA,GAAG,IAAI,cAAc,OAAOC,MAA5B,IAAsCD,GAAG,CAACG,WAAJ,KAAoBF,MAA1D,IAAoED,GAAG,KAAKC,MAAM,CAACG,SAAnF,GAA+F,QAA/F,GAA0G,OAAOJ,GAAxH;EACD,CAJM,EAIJD,OAAO,CAACC,GAAD,CAJV;AAKD;;;;;;UCRD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UElDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./node_modules/autobind-decorator/lib/esm/index.js","webpack://atoka-design-system/./src/components/Button/Button.tsx","webpack://atoka-design-system/./src/components/Button/index.ts","webpack://atoka-design-system/./src/components/Dropdown/DropdownMenu.tsx","webpack://atoka-design-system/./src/components/Dropdown/Dropdown.tsx","webpack://atoka-design-system/./src/components/Dropdown/AtokaDropdownToggles.tsx","webpack://atoka-design-system/./src/components/Dropdown/index.ts","webpack://atoka-design-system/external umd \"@fortawesome/pro-regular-svg-icons/faChevronDown\"","webpack://atoka-design-system/external umd \"@fortawesome/pro-regular-svg-icons/faEllipsisH\"","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/Button\"","webpack://atoka-design-system/external umd \"react-bootstrap/Dropdown\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(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/Dropdown\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/pro-regular-svg-icons/faChevronDown\", \"@fortawesome/pro-regular-svg-icons/faEllipsisH\", \"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Button\", \"react-bootstrap/Dropdown\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(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/Dropdown\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(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/Dropdown\"]);\n})(self, function(__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__4976__) {\nreturn ","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","import React, {SyntheticEvent} from 'react';\nimport classnames from 'classnames';\nimport BsButton from 'react-bootstrap/Button';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\n\nimport './Button.less';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {PropsWithClassName} from '../Utils';\n\ntype ButtonVariant =\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'tertiary-danger'\n | 'danger'\n | 'primary-orange'\n | 'primary-white'\n | 'primary-danger';\ntype ButtonSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg';\ninterface ButtonProps extends PropsWithClassName {\n variant: ButtonVariant;\n size: ButtonSize;\n\n icon?: IconDefinition;\n iconLeft?: IconDefinition;\n iconRight?: IconDefinition;\n\n disabled: boolean;\n block: boolean;\n\n onClick?: (e?: SyntheticEvent) => void;\n\n href?: string;\n target?: string;\n}\n\nclass Button extends React.PureComponent<ButtonProps> {\n static displayName: string = 'Button';\n\n public static defaultProps: Partial<ButtonProps> = {\n variant: 'primary',\n size: 'md',\n disabled: false,\n block: false,\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n return <FontAwesomeIcon icon={this.props.icon} />;\n }\n\n private renderChildren(): React.ReactNode {\n if (this.props.children == null) {\n return null;\n }\n\n return <span className='btn-children'>{this.props.children}</span>;\n }\n\n private renderLeftSide(): React.ReactNode {\n if (this.props.iconLeft == null) {\n if (this.props.iconRight == null) {\n return null;\n }\n return <FontAwesomeIcon icon={this.props.iconRight} className='invisible' />;\n }\n\n return <FontAwesomeIcon icon={this.props.iconLeft} />;\n }\n\n private renderRightSide(): React.ReactNode {\n if (this.props.iconRight == null) {\n if (this.props.iconLeft == null) {\n return null;\n }\n return <FontAwesomeIcon icon={this.props.iconLeft} className='invisible' />;\n }\n\n return <FontAwesomeIcon icon={this.props.iconRight} />;\n }\n\n private renderContent(): React.ReactNode {\n if (this.props.icon != null && this.props.children == null) {\n return this.renderIcon();\n }\n\n return (\n <div className='button-content-center-container'>\n {this.renderIcon()}\n {this.renderChildren()}\n </div>\n );\n }\n\n public render(): React.ReactNode {\n const className: string = classnames('atoka-btn', `btn-${this.props.size}`, this.props.className, {\n 'btn-icon-only': this.props.icon != null && this.props.children == null,\n });\n\n return (\n <BsButton\n className={className}\n variant={this.props.variant}\n disabled={this.props.disabled}\n block={this.props.block}\n onClick={this.props.onClick}\n href={this.props.href}\n target={this.props.target}\n >\n {this.renderLeftSide()}\n {this.renderContent()}\n {this.renderRightSide()}\n </BsButton>\n );\n }\n}\n\nexport {Button, ButtonVariant, ButtonSize, ButtonProps};\n","// use the star because of this issue: https://github.com/babel/babel-loader/issues/603\nexport * from './Button';\n","import {DropdownMenuProps as BsDropdownMenuProps} from 'react-bootstrap/DropdownMenu';\nimport React from 'react';\nimport BsDropdown from 'react-bootstrap/Dropdown';\nimport classnames from 'classnames';\n\nimport './DropdownMenu.less';\n\nexport interface DropdownMenuProps extends BsDropdownMenuProps {\n size?: 'sm' | 'lg';\n}\n\nexport const DropdownMenu: React.FC<DropdownMenuProps> = React.memo(({size = 'sm', ...props}): React.ReactElement => {\n const className: string = classnames({\n [props?.className ?? '']: true,\n 'atoka-dropdown-menu': true,\n [size]: true,\n });\n return (\n <BsDropdown.Menu {...props} className={className}>\n {props.children}\n </BsDropdown.Menu>\n );\n});\n\nDropdownMenu.displayName = 'DropdownMenu';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsDropdown, {DropdownProps as BsDropdownProps} from 'react-bootstrap/Dropdown';\nimport {DropdownMenu} from './DropdownMenu';\n\nexport class Dropdown extends React.PureComponent<BsDropdownProps> {\n static displayName: string = 'DropDown';\n public static Toggle: typeof BsDropdown.Toggle = BsDropdown.Toggle;\n public static Menu: typeof DropdownMenu = DropdownMenu;\n public static Item: typeof BsDropdown.Item = BsDropdown.Item;\n public static Divider: typeof BsDropdown.Divider = BsDropdown.Divider;\n public static Header: typeof BsDropdown.Header = BsDropdown.Header;\n\n public render(): React.ReactNode {\n const className: string = classnames(this.props.className, 'atoka-dropdown');\n return (\n <BsDropdown {...this.props} className={className}>\n {this.props.children}\n </BsDropdown>\n );\n }\n}\n","import React from 'react';\nimport autobind from 'autobind-decorator';\nimport classnames from 'classnames';\nimport {faEllipsisH} from '@fortawesome/pro-regular-svg-icons/faEllipsisH';\nimport {faChevronDown} from '@fortawesome/pro-regular-svg-icons/faChevronDown';\nimport {Button} from '../Button';\n\nimport './AtokaDropdownToggles.less';\n\nexport interface AtokaDropdownToggleProps {\n children?: React.ReactNode;\n onClick: (e: React.SyntheticEvent<HTMLDivElement, MouseEvent>) => void;\n disabled?: boolean;\n}\n\nfunction withRef<P>(\n displayName: string,\n Component: React.ComponentType<AtokaDropdownToggleProps>,\n): React.ComponentType<AtokaDropdownToggleProps | P> {\n const newComponent: React.ComponentType<AtokaDropdownToggleProps | P> = React.forwardRef(\n (props: AtokaDropdownToggleProps, ref: React.Ref<HTMLDivElement>) => {\n return (\n <div ref={ref}>\n <Component disabled={props.disabled} onClick={props.onClick}>\n {props.children}\n </Component>\n </div>\n );\n },\n );\n newComponent.displayName = displayName;\n return newComponent;\n}\n\nclass AtokaSimpleDropdownToggleComponent extends React.Component<AtokaDropdownToggleProps> {\n static displayName: string = 'AtokaSimpleDropdownToggleComponent';\n\n @autobind\n private handleClick(e: React.SyntheticEvent<HTMLDivElement, MouseEvent>): void {\n e.preventDefault();\n this.props.onClick(e);\n }\n\n public render(): React.ReactNode {\n return (\n <Button\n variant='secondary'\n size='xs'\n icon={faEllipsisH}\n onClick={!this.props.disabled ? this.handleClick : undefined}\n />\n );\n }\n}\nclass AtokaCustomDropdownToggleComponent extends React.Component<AtokaDropdownToggleProps> {\n static displayName: string = 'AtokaCustomDropdownToggleComponent';\n\n @autobind\n private handleClick(e: React.SyntheticEvent<HTMLDivElement, MouseEvent>): void {\n e.preventDefault();\n this.props.onClick(e);\n }\n\n public render(): React.ReactNode {\n return (\n <div className='atoka-dropdown-toggle' onClick={!this.props.disabled ? this.handleClick : undefined}>\n {this.props.children}\n </div>\n );\n }\n}\n\nclass AtokaCustomDropdownToggleWithChevronComponent extends React.Component<AtokaDropdownToggleProps> {\n static displayName: string = 'AtokaCustomDropdownToggleWithChevronComponent ';\n\n @autobind\n private handleClick(e: React.SyntheticEvent<HTMLDivElement, MouseEvent>): void {\n e.preventDefault();\n this.props.onClick(e);\n }\n\n public render(): React.ReactNode {\n let className = classnames({\n 'atoka-dropdown-toggle': true,\n 'disabled': this.props.disabled,\n });\n\n return (\n <div className={className} onClick={!this.props.disabled ? this.handleClick : undefined}>\n {this.props.children}\n <div className='chevron-container'>\n <Button variant='tertiary' size='md' icon={faChevronDown} />\n </div>\n </div>\n );\n }\n}\n\nconst AtokaSimpleDropdownToggle: React.ComponentType<AtokaDropdownToggleProps> = withRef(\n 'AtokaSimpleDropdownToggle',\n AtokaSimpleDropdownToggleComponent,\n);\nconst AtokaCustomDropdownToggle: React.ComponentType<AtokaDropdownToggleProps> = withRef(\n 'AtokaCustomDropdownToggle',\n AtokaCustomDropdownToggleComponent,\n);\nconst AtokaCustomDropdownToggleWithChevron: React.ComponentType<AtokaDropdownToggleProps> = withRef(\n 'AtokaCustomDropdownToggleWithChevron',\n AtokaCustomDropdownToggleWithChevronComponent,\n);\n\nexport {AtokaSimpleDropdownToggle, AtokaCustomDropdownToggleWithChevron, AtokaCustomDropdownToggle};\n","export {Dropdown} from './Dropdown';\nexport {DropdownMenu} from './DropdownMenu';\nexport {\n AtokaSimpleDropdownToggle,\n AtokaCustomDropdownToggle,\n AtokaCustomDropdownToggleWithChevron,\n} from './AtokaDropdownToggles';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__1349__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3041__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8926__;","module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t8621: 0,\n\t6615: 0,\n\t6999: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(5111)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}