Version Description
(03rd August 2020) = * New: AD blocker 2.0 #153 * New: Taboola support #144 * New: Media.net support #134 * New: Outbrain support #143 * New: MediaVine support #142 * New: Background ad support #145 * New: Ads in-between Loop #127 * New: Added the ad option in the classic editor #201 * New: Go Pro button in New interface #198 * New: Adsense sub ad types #212 * Fix: bug with MGID #214 * Fix: Design issue #215 * Fix: Adsense ad related script not loading #216 * Fix: Changed help tab email Address #202 * Fix: Loading... issue in the homepage with Extra theme #209 * Fix: Hide Ads are not working on Elementor. #217
Download this release
Release Info
Developer | wpquads |
Plugin | AdSense Plugin WP QUADS |
Version | 2.0.10 |
Comparing to | |
See all releases |
Code changes from version 2.0.9.1 to 2.0.10
- admin/assets/js/dist/adminscript.js +9165 -7022
admin/assets/js/dist/adminscript.js
CHANGED
@@ -60,7 +60,7 @@
|
|
60 |
/******/ __webpack_require__.p = "";
|
61 |
/******/
|
62 |
/******/ // Load entry module and return exports
|
63 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
64 |
/******/ })
|
65 |
/************************************************************************/
|
66 |
/******/ ([
|
@@ -71,9 +71,9 @@
|
|
71 |
/* WEBPACK VAR INJECTION */(function(process) {
|
72 |
|
73 |
if (process.env.NODE_ENV === 'production') {
|
74 |
-
module.exports = __webpack_require__(
|
75 |
} else {
|
76 |
-
module.exports = __webpack_require__(
|
77 |
}
|
78 |
|
79 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
@@ -280,16 +280,16 @@ process.umask = function() { return 0; };
|
|
280 |
*/
|
281 |
|
282 |
if (process.env.NODE_ENV !== 'production') {
|
283 |
-
var ReactIs = __webpack_require__(
|
284 |
|
285 |
// By explicitly using `prop-types` you are opting into new development behavior.
|
286 |
// http://fb.me/prop-types-in-prod
|
287 |
var throwOnDirectAccess = true;
|
288 |
-
module.exports = __webpack_require__(
|
289 |
} else {
|
290 |
// By explicitly using `prop-types` you are opting into new production behavior.
|
291 |
// http://fb.me/prop-types-in-prod
|
292 |
-
module.exports = __webpack_require__(
|
293 |
}
|
294 |
|
295 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
@@ -324,7 +324,7 @@ function _extends() {
|
|
324 |
|
325 |
"use strict";
|
326 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
|
327 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__ = __webpack_require__(
|
328 |
|
329 |
function _objectWithoutProperties(source, excluded) {
|
330 |
if (source == null) return {};
|
@@ -352,37 +352,40 @@ function _objectWithoutProperties(source, excluded) {
|
|
352 |
"use strict";
|
353 |
function toVal(mix) {
|
354 |
var k, y, str='';
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
|
|
|
|
|
|
360 |
str && (str += ' ');
|
361 |
str += y;
|
362 |
}
|
363 |
}
|
364 |
-
}
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
}
|
371 |
}
|
372 |
-
} else if (typeof mix !== 'boolean' && !mix.call) {
|
373 |
-
str && (str += ' ');
|
374 |
-
str += mix;
|
375 |
}
|
376 |
}
|
|
|
377 |
return str;
|
378 |
}
|
379 |
|
380 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
381 |
-
var i=0, x, str='';
|
382 |
while (i < arguments.length) {
|
383 |
-
if (
|
384 |
-
|
385 |
-
|
|
|
|
|
386 |
}
|
387 |
}
|
388 |
return str;
|
@@ -395,8 +398,8 @@ function toVal(mix) {
|
|
395 |
|
396 |
"use strict";
|
397 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
398 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(
|
399 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(
|
400 |
|
401 |
|
402 |
|
@@ -414,23 +417,27 @@ function withStyles(stylesOrCreator, options) {
|
|
414 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
415 |
|
416 |
"use strict";
|
417 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__ = __webpack_require__(
|
418 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
419 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deepmerge__ = __webpack_require__(
|
420 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
421 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__ = __webpack_require__(
|
422 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
423 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__ = __webpack_require__(
|
424 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
425 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__exactProp__ = __webpack_require__(
|
426 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
427 |
-
/* harmony import */ var
|
428 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
429 |
-
/* harmony import */ var
|
430 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
431 |
-
/* harmony import */ var
|
432 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
433 |
-
|
|
|
|
|
|
|
|
|
434 |
*
|
435 |
* This source code is licensed under the MIT license found in the
|
436 |
* LICENSE file in the root directory of this source tree.
|
@@ -444,21 +451,77 @@ function withStyles(stylesOrCreator, options) {
|
|
444 |
|
445 |
|
446 |
|
|
|
|
|
447 |
/***/ }),
|
448 |
/* 8 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
450 |
|
451 |
"use strict";
|
452 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = capitalize;
|
|
|
|
|
453 |
// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
|
454 |
//
|
455 |
// A strict capitalization should uppercase the first letter of each word a the sentence.
|
456 |
// We only handle the first word.
|
457 |
function capitalize(string) {
|
458 |
-
if (
|
459 |
-
|
460 |
-
throw new Error('Material-UI: capitalize(string) expects a string argument.');
|
461 |
-
}
|
462 |
}
|
463 |
|
464 |
return string.charAt(0).toUpperCase() + string.slice(1);
|
@@ -466,7 +529,62 @@ function capitalize(string) {
|
|
466 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
467 |
|
468 |
/***/ }),
|
469 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
470 |
/***/ (function(module, exports, __webpack_require__) {
|
471 |
|
472 |
"use strict";
|
@@ -504,43 +622,158 @@ if (process.env.NODE_ENV === 'production') {
|
|
504 |
// DCE check should happen before ReactDOM bundle executes so that
|
505 |
// DevTools can report bad minification during injection.
|
506 |
checkDCE();
|
507 |
-
module.exports = __webpack_require__(
|
508 |
} else {
|
509 |
-
module.exports = __webpack_require__(
|
510 |
}
|
511 |
|
512 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
513 |
|
514 |
/***/ }),
|
515 |
-
/*
|
516 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
517 |
|
518 |
"use strict";
|
519 |
-
/* harmony
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
}
|
|
|
531 |
|
532 |
-
|
533 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
534 |
|
535 |
/***/ }),
|
536 |
-
/*
|
537 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
538 |
|
539 |
"use strict";
|
540 |
/* harmony export (immutable) */ __webpack_exports__["a"] = useForkRef;
|
541 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
542 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
543 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__setRef__ = __webpack_require__(
|
544 |
|
545 |
|
546 |
function useForkRef(refA, refB) {
|
@@ -549,7 +782,7 @@ function useForkRef(refA, refB) {
|
|
549 |
* This means react will call the old forkRef with `null` and the new forkRef
|
550 |
* with the ref. Cleanup naturally emerges from this behavior
|
551 |
*/
|
552 |
-
return
|
553 |
if (refA == null && refB == null) {
|
554 |
return null;
|
555 |
}
|
@@ -562,52 +795,77 @@ function useForkRef(refA, refB) {
|
|
562 |
}
|
563 |
|
564 |
/***/ }),
|
565 |
-
/*
|
566 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
567 |
-
|
568 |
-
"use strict";
|
569 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = useTheme;
|
570 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_styles__ = __webpack_require__(19);
|
571 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__defaultTheme__ = __webpack_require__(54);
|
572 |
-
|
573 |
-
|
574 |
-
function useTheme() {
|
575 |
-
return Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_styles__["f" /* useTheme */])() || __WEBPACK_IMPORTED_MODULE_1__defaultTheme__["a" /* default */];
|
576 |
-
}
|
577 |
-
|
578 |
-
/***/ }),
|
579 |
-
/* 13 */
|
580 |
/***/ (function(module, exports, __webpack_require__) {
|
581 |
|
582 |
"use strict";
|
583 |
/* WEBPACK VAR INJECTION */(function(process) {
|
584 |
|
585 |
if (process.env.NODE_ENV === 'production') {
|
586 |
-
module.exports = __webpack_require__(
|
587 |
} else {
|
588 |
-
module.exports = __webpack_require__(
|
589 |
}
|
590 |
|
591 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
592 |
|
593 |
/***/ }),
|
594 |
-
/*
|
595 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
596 |
|
597 |
"use strict";
|
598 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] =
|
599 |
-
|
600 |
-
|
601 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
|
|
|
|
|
|
|
603 |
|
|
|
|
|
|
|
|
|
|
|
|
|
604 |
|
605 |
-
|
606 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
607 |
}
|
|
|
608 |
|
609 |
/***/ }),
|
610 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
611 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
612 |
|
613 |
"use strict";
|
@@ -622,6 +880,9 @@ function _toConsumableArray(arr) {
|
|
622 |
/* harmony export (immutable) */ __webpack_exports__["c"] = fade;
|
623 |
/* harmony export (immutable) */ __webpack_exports__["a"] = darken;
|
624 |
/* harmony export (immutable) */ __webpack_exports__["e"] = lighten;
|
|
|
|
|
|
|
625 |
/* eslint-disable no-use-before-define */
|
626 |
|
627 |
/**
|
@@ -638,7 +899,7 @@ function clamp(value) {
|
|
638 |
|
639 |
if (process.env.NODE_ENV !== 'production') {
|
640 |
if (value < min || value > max) {
|
641 |
-
console.error("Material-UI:
|
642 |
}
|
643 |
}
|
644 |
|
@@ -654,7 +915,7 @@ function clamp(value) {
|
|
654 |
|
655 |
function hexToRgb(color) {
|
656 |
color = color.substr(1);
|
657 |
-
var re = new RegExp(".{1,".concat(color.length
|
658 |
var colors = color.match(re);
|
659 |
|
660 |
if (colors && colors[0].length === 1) {
|
@@ -663,8 +924,8 @@ function hexToRgb(color) {
|
|
663 |
});
|
664 |
}
|
665 |
|
666 |
-
return colors ? "rgb(".concat(colors.map(function (n) {
|
667 |
-
return parseInt(n, 16);
|
668 |
}).join(', '), ")") : '';
|
669 |
}
|
670 |
|
@@ -750,7 +1011,7 @@ function decomposeColor(color) {
|
|
750 |
var type = color.substring(0, marker);
|
751 |
|
752 |
if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {
|
753 |
-
throw new Error(
|
754 |
}
|
755 |
|
756 |
var values = color.substring(marker + 1, color.length - 1).split(',');
|
@@ -903,63 +1164,25 @@ function lighten(color, coefficient) {
|
|
903 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
904 |
|
905 |
/***/ }),
|
906 |
-
/*
|
907 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
908 |
-
|
909 |
-
"use strict";
|
910 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonBase__ = __webpack_require__(413);
|
911 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ButtonBase__["a"]; });
|
912 |
-
|
913 |
-
|
914 |
-
/***/ }),
|
915 |
-
/* 17 */
|
916 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
917 |
|
918 |
"use strict";
|
919 |
-
/* harmony
|
920 |
-
/* harmony
|
921 |
-
/* harmony
|
922 |
-
/* harmony
|
923 |
-
/* harmony
|
924 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createMuiTheme__ = __webpack_require__(154);
|
925 |
-
/* unused harmony reexport createMuiTheme */
|
926 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(401);
|
927 |
-
/* unused harmony reexport createStyles */
|
928 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__makeStyles__ = __webpack_require__(402);
|
929 |
-
/* unused harmony reexport makeStyles */
|
930 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__responsiveFontSizes__ = __webpack_require__(403);
|
931 |
-
/* unused harmony reexport responsiveFontSizes */
|
932 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styled__ = __webpack_require__(175);
|
933 |
-
/* unused harmony reexport styled */
|
934 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__transitions__ = __webpack_require__(27);
|
935 |
-
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_6__transitions__["b"]; });
|
936 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__useTheme__ = __webpack_require__(12);
|
937 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_7__useTheme__["a"]; });
|
938 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__withStyles__ = __webpack_require__(6);
|
939 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_8__withStyles__["a"]; });
|
940 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__withTheme__ = __webpack_require__(405);
|
941 |
-
/* unused harmony reexport withTheme */
|
942 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__material_ui_styles__ = __webpack_require__(19);
|
943 |
-
/* unused harmony reexport createGenerateClassName */
|
944 |
-
/* unused harmony reexport jssPreset */
|
945 |
-
/* unused harmony reexport ServerStyleSheets */
|
946 |
-
/* unused harmony reexport StylesProvider */
|
947 |
-
/* unused harmony reexport MuiThemeProvider */
|
948 |
-
/* unused harmony reexport ThemeProvider */
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
|
957 |
|
958 |
|
959 |
|
|
|
|
|
|
|
960 |
|
961 |
/***/ }),
|
962 |
-
/*
|
963 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
964 |
|
965 |
"use strict";
|
@@ -967,72 +1190,87 @@ function lighten(color, coefficient) {
|
|
967 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
968 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
969 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
970 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SvgIcon__ = __webpack_require__(
|
971 |
|
972 |
|
973 |
|
|
|
|
|
|
|
|
|
974 |
function createSvgIcon(path, displayName) {
|
975 |
-
var Component =
|
976 |
-
return __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
977 |
ref: ref
|
978 |
-
}), path);
|
979 |
-
}
|
980 |
|
981 |
if (process.env.NODE_ENV !== 'production') {
|
|
|
|
|
982 |
Component.displayName = "".concat(displayName, "Icon");
|
983 |
}
|
984 |
|
985 |
Component.muiName = __WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */].muiName;
|
986 |
-
return Component;
|
987 |
}
|
988 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
989 |
|
990 |
/***/ }),
|
991 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
992 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
993 |
|
994 |
"use strict";
|
995 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
|
996 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createGenerateClassName__ = __webpack_require__(
|
997 |
/* unused harmony reexport createGenerateClassName */
|
998 |
/* unused harmony namespace reexport */
|
999 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(
|
1000 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__createStyles__["a"]; });
|
1001 |
/* unused harmony namespace reexport */
|
1002 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getThemeProps__ = __webpack_require__(
|
1003 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__getThemeProps__["a"]; });
|
1004 |
/* unused harmony namespace reexport */
|
1005 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__jssPreset__ = __webpack_require__(
|
1006 |
/* unused harmony reexport jssPreset */
|
1007 |
/* unused harmony namespace reexport */
|
1008 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__makeStyles__ = __webpack_require__(
|
1009 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__makeStyles__["a"]; });
|
1010 |
/* unused harmony namespace reexport */
|
1011 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mergeClasses__ = __webpack_require__(
|
1012 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__mergeClasses__["a"]; });
|
1013 |
/* unused harmony namespace reexport */
|
1014 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ServerStyleSheets__ = __webpack_require__(
|
1015 |
/* unused harmony reexport ServerStyleSheets */
|
1016 |
/* unused harmony namespace reexport */
|
1017 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styled__ = __webpack_require__(
|
1018 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_8__styled__["a"]; });
|
1019 |
/* unused harmony namespace reexport */
|
1020 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StylesProvider__ = __webpack_require__(
|
1021 |
/* unused harmony reexport StylesProvider */
|
1022 |
/* unused harmony namespace reexport */
|
1023 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ThemeProvider__ = __webpack_require__(
|
1024 |
/* unused harmony reexport ThemeProvider */
|
1025 |
/* unused harmony namespace reexport */
|
1026 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useTheme__ = __webpack_require__(
|
1027 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useTheme__["a"]; });
|
1028 |
/* unused harmony namespace reexport */
|
1029 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__withStyles__ = __webpack_require__(
|
1030 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__withStyles__["a"]; });
|
1031 |
/* unused harmony namespace reexport */
|
1032 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withTheme__ = __webpack_require__(
|
1033 |
/* unused harmony reexport withTheme */
|
1034 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__withTheme__["a"]; });
|
1035 |
-
/** @license Material-UI v4.
|
1036 |
*
|
1037 |
* This source code is licensed under the MIT license found in the
|
1038 |
* LICENSE file in the root directory of this source tree.
|
@@ -1042,13 +1280,13 @@ function createSvgIcon(path, displayName) {
|
|
1042 |
/* Warning if there are several instances of @material-ui/styles */
|
1043 |
|
1044 |
if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
|
1045 |
-
__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["
|
1046 |
|
1047 |
-
if (__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["
|
1048 |
console.warn(['It looks like there are several instances of `@material-ui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://material-ui.com/r/styles-instance-warning for more info.'].join('\n'));
|
1049 |
}
|
1050 |
|
1051 |
-
__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["
|
1052 |
}
|
1053 |
|
1054 |
|
@@ -1080,60 +1318,136 @@ if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' &&
|
|
1080 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1081 |
|
1082 |
/***/ }),
|
1083 |
-
/*
|
1084 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1085 |
|
1086 |
"use strict";
|
1087 |
-
/* harmony import */ var
|
1088 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
1089 |
|
1090 |
|
1091 |
/***/ }),
|
1092 |
-
/*
|
1093 |
-
/***/ (function(module,
|
1094 |
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1098 |
|
1099 |
|
1100 |
/***/ }),
|
1101 |
-
/*
|
1102 |
-
/***/ (function(module,
|
1103 |
|
1104 |
-
|
1105 |
-
|
1106 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
1107 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
1108 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
1109 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_core_SvgIcon__ = __webpack_require__(59);
|
1110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1111 |
|
|
|
1112 |
|
1113 |
-
function createSvgIcon(path, displayName) {
|
1114 |
-
var Component = __WEBPACK_IMPORTED_MODULE_1_react__["memo"](__WEBPACK_IMPORTED_MODULE_1_react__["forwardRef"](function (props, ref) {
|
1115 |
-
return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](__WEBPACK_IMPORTED_MODULE_2__material_ui_core_SvgIcon__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
1116 |
-
ref: ref
|
1117 |
-
}, props), path);
|
1118 |
-
}));
|
1119 |
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
|
1124 |
-
|
1125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1126 |
}
|
1127 |
-
|
|
|
|
|
1128 |
|
1129 |
/***/ }),
|
1130 |
-
/*
|
1131 |
/***/ (function(module, exports, __webpack_require__) {
|
1132 |
|
1133 |
"use strict";
|
1134 |
|
1135 |
-
var strictUriEncode = __webpack_require__(
|
1136 |
-
var objectAssign = __webpack_require__(
|
1137 |
|
1138 |
function encoderForArrayFormat(opts) {
|
1139 |
switch (opts.arrayFormat) {
|
@@ -1339,79 +1653,131 @@ exports.stringify = function (obj, opts) {
|
|
1339 |
|
1340 |
|
1341 |
/***/ }),
|
1342 |
-
/*
|
1343 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1344 |
|
1345 |
"use strict";
|
1346 |
-
/* harmony
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__isMuiElement__ = __webpack_require__(61);
|
1351 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__isMuiElement__["a"]; });
|
1352 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ownerDocument__ = __webpack_require__(28);
|
1353 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_3__ownerDocument__["a"]; });
|
1354 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ownerWindow__ = __webpack_require__(62);
|
1355 |
-
/* unused harmony reexport ownerWindow */
|
1356 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__requirePropFactory__ = __webpack_require__(180);
|
1357 |
-
/* unused harmony reexport requirePropFactory */
|
1358 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__setRef__ = __webpack_require__(36);
|
1359 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__setRef__["a"]; });
|
1360 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__unsupportedProp__ = __webpack_require__(76);
|
1361 |
-
/* unused harmony reexport unsupportedProp */
|
1362 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__useEventCallback__ = __webpack_require__(31);
|
1363 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_8__useEventCallback__["a"]; });
|
1364 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__useForkRef__ = __webpack_require__(11);
|
1365 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_9__useForkRef__["a"]; });
|
1366 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__useControlled__ = __webpack_require__(42);
|
1367 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_10__useControlled__["a"]; });
|
1368 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__focusVisible__ = __webpack_require__(60);
|
1369 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_11__focusVisible__["a"]; });
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
|
|
|
|
|
|
|
1374 |
|
|
|
1375 |
|
|
|
|
|
1376 |
|
|
|
|
|
1377 |
|
|
|
1378 |
|
1379 |
|
|
|
|
|
|
|
1380 |
|
|
|
|
|
|
|
|
|
1381 |
|
1382 |
|
1383 |
/***/ }),
|
1384 |
-
/*
|
1385 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1386 |
|
1387 |
"use strict";
|
1388 |
-
|
1389 |
-
/* harmony import */ var
|
1390 |
-
/* harmony
|
|
|
|
|
|
|
|
|
1391 |
|
1392 |
|
|
|
|
|
|
|
|
|
1393 |
/***/ }),
|
1394 |
-
/*
|
1395 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1396 |
|
1397 |
"use strict";
|
1398 |
-
/*
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
}
|
1409 |
|
1410 |
-
return
|
|
|
|
|
1411 |
}
|
1412 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1413 |
/***/ }),
|
1414 |
-
/*
|
1415 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1416 |
|
1417 |
"use strict";
|
@@ -1486,23 +1852,23 @@ function formatMs(milliseconds) {
|
|
1486 |
};
|
1487 |
|
1488 |
if (!isString(props) && !Array.isArray(props)) {
|
1489 |
-
console.error('Material-UI:
|
1490 |
}
|
1491 |
|
1492 |
if (!isNumber(durationOption) && !isString(durationOption)) {
|
1493 |
-
console.error("Material-UI:
|
1494 |
}
|
1495 |
|
1496 |
if (!isString(easingOption)) {
|
1497 |
-
console.error('Material-UI:
|
1498 |
}
|
1499 |
|
1500 |
if (!isNumber(delay) && !isString(delay)) {
|
1501 |
-
console.error('Material-UI:
|
1502 |
}
|
1503 |
|
1504 |
if (Object.keys(other).length !== 0) {
|
1505 |
-
console.error("Material-UI:
|
1506 |
}
|
1507 |
}
|
1508 |
|
@@ -1523,135 +1889,139 @@ function formatMs(milliseconds) {
|
|
1523 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1524 |
|
1525 |
/***/ }),
|
1526 |
-
/*
|
1527 |
-
/***/ (function(module,
|
1528 |
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1533 |
}
|
1534 |
|
1535 |
-
|
1536 |
-
/* 29 */
|
1537 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1538 |
-
|
1539 |
-
"use strict";
|
1540 |
-
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(10);
|
1541 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(189);
|
1542 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(105);
|
1543 |
|
1544 |
|
|
|
|
|
|
|
1545 |
|
|
|
1546 |
|
1547 |
-
function getPath(obj, path) {
|
1548 |
-
if (!path || typeof path !== 'string') {
|
1549 |
-
return null;
|
1550 |
-
}
|
1551 |
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
|
1557 |
-
|
1558 |
-
var prop = options.prop,
|
1559 |
-
_options$cssProperty = options.cssProperty,
|
1560 |
-
cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,
|
1561 |
-
themeKey = options.themeKey,
|
1562 |
-
transform = options.transform;
|
1563 |
|
1564 |
-
|
1565 |
-
if (props[prop] == null) {
|
1566 |
-
return null;
|
1567 |
-
}
|
1568 |
|
1569 |
-
|
1570 |
-
var theme = props.theme;
|
1571 |
-
var themeMapping = getPath(theme, themeKey) || {};
|
1572 |
|
1573 |
-
|
1574 |
-
var value;
|
1575 |
|
1576 |
-
|
1577 |
-
value = themeMapping(propValueFinal);
|
1578 |
-
} else if (Array.isArray(themeMapping)) {
|
1579 |
-
value = themeMapping[propValueFinal] || propValueFinal;
|
1580 |
-
} else {
|
1581 |
-
value = getPath(themeMapping, propValueFinal) || propValueFinal;
|
1582 |
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1586 |
}
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
|
|
|
|
1590 |
}
|
|
|
|
|
|
|
|
|
1591 |
|
1592 |
-
|
1593 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1594 |
|
1595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1596 |
};
|
|
|
1597 |
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
/* harmony default export */ __webpack_exports__["a"] = (style);
|
1604 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1605 |
-
|
1606 |
-
/***/ }),
|
1607 |
-
/* 30 */
|
1608 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1609 |
-
|
1610 |
-
"use strict";
|
1611 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
|
1612 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(195);
|
1613 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__ = __webpack_require__(454);
|
1614 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__nonIterableRest__ = __webpack_require__(196);
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
function _slicedToArray(arr, i) {
|
1619 |
-
return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_2__nonIterableRest__["a" /* default */])();
|
1620 |
-
}
|
1621 |
-
|
1622 |
-
/***/ }),
|
1623 |
-
/* 31 */
|
1624 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1625 |
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1630 |
|
1631 |
-
var
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
|
1638 |
-
|
1639 |
-
var ref = __WEBPACK_IMPORTED_MODULE_0_react___default.a.useRef(fn);
|
1640 |
-
useEnhancedEffect(function () {
|
1641 |
-
ref.current = fn;
|
1642 |
-
});
|
1643 |
-
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.useCallback(function () {
|
1644 |
-
return (0, ref.current).apply(void 0, arguments);
|
1645 |
-
}, []);
|
1646 |
-
}
|
1647 |
|
1648 |
/***/ }),
|
1649 |
-
/*
|
1650 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1651 |
|
1652 |
"use strict";
|
1653 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
1654 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__merge__ = __webpack_require__(
|
1655 |
|
1656 |
|
1657 |
|
@@ -1700,38 +2070,64 @@ function compose() {
|
|
1700 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1701 |
|
1702 |
/***/ }),
|
1703 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1704 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1705 |
|
1706 |
"use strict";
|
1707 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1708 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__ = __webpack_require__(
|
1709 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "BrowserRouter", function() { return __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__["a"]; });
|
1710 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HashRouter__ = __webpack_require__(
|
1711 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HashRouter", function() { return __WEBPACK_IMPORTED_MODULE_1__HashRouter__["a"]; });
|
1712 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Link__ = __webpack_require__(
|
1713 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Link", function() { return __WEBPACK_IMPORTED_MODULE_2__Link__["a"]; });
|
1714 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(
|
1715 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryRouter", function() { return __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__["a"]; });
|
1716 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(
|
1717 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavLink", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
|
1718 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(
|
1719 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Prompt", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
|
1720 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(
|
1721 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Redirect", function() { return __WEBPACK_IMPORTED_MODULE_6__Redirect__["a"]; });
|
1722 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(
|
1723 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Route", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
|
1724 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(
|
1725 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Router", function() { return __WEBPACK_IMPORTED_MODULE_8__Router__["a"]; });
|
1726 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(
|
1727 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "StaticRouter", function() { return __WEBPACK_IMPORTED_MODULE_9__StaticRouter__["a"]; });
|
1728 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(
|
1729 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Switch", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
|
1730 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(
|
1731 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "generatePath", function() { return __WEBPACK_IMPORTED_MODULE_11__generatePath__["a"]; });
|
1732 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(
|
1733 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matchPath", function() { return __WEBPACK_IMPORTED_MODULE_12__matchPath__["a"]; });
|
1734 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withRouter__ = __webpack_require__(
|
1735 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "withRouter", function() { return __WEBPACK_IMPORTED_MODULE_13__withRouter__["a"]; });
|
1736 |
|
1737 |
|
@@ -1763,7 +2159,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
1763 |
|
1764 |
|
1765 |
/***/ }),
|
1766 |
-
/*
|
1767 |
/***/ (function(module, exports, __webpack_require__) {
|
1768 |
|
1769 |
"use strict";
|
@@ -1833,44 +2229,127 @@ module.exports = warning;
|
|
1833 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
1834 |
|
1835 |
/***/ }),
|
1836 |
-
/*
|
1837 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1838 |
|
1839 |
"use strict";
|
1840 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] =
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1848 |
}
|
1849 |
-
}
|
1850 |
|
1851 |
-
function
|
1852 |
-
|
1853 |
-
|
1854 |
-
|
|
|
|
|
1855 |
}
|
|
|
1856 |
|
1857 |
/***/ }),
|
1858 |
-
/*
|
1859 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1860 |
|
1861 |
"use strict";
|
1862 |
-
/* harmony
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1870 |
}
|
1871 |
|
|
|
|
|
|
|
1872 |
/***/ }),
|
1873 |
-
/*
|
1874 |
/***/ (function(module, exports, __webpack_require__) {
|
1875 |
|
1876 |
"use strict";
|
@@ -1927,27 +2406,49 @@ module.exports = invariant;
|
|
1927 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
1928 |
|
1929 |
/***/ }),
|
1930 |
-
/*
|
1931 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1932 |
|
1933 |
"use strict";
|
1934 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1935 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return create; });
|
1936 |
-
/* harmony export
|
1937 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return toCssValue; });
|
1938 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createRule; });
|
1939 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
1940 |
-
/*
|
1941 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RuleList; });
|
1942 |
/* unused harmony export sheets */
|
1943 |
-
/*
|
1944 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
1945 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_is_in_browser__ = __webpack_require__(
|
1946 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_tiny_warning__ = __webpack_require__(
|
1947 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__ = __webpack_require__(
|
1948 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(
|
1949 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(
|
1950 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(
|
1951 |
|
1952 |
|
1953 |
|
@@ -2601,21 +3102,22 @@ function () {
|
|
2601 |
var str = '';
|
2602 |
|
2603 |
for (var index = 0; index < this.style.length; index++) {
|
2604 |
-
str += toCss(this.
|
2605 |
if (this.style[index + 1]) str += '\n';
|
2606 |
}
|
2607 |
|
2608 |
return str;
|
2609 |
}
|
2610 |
|
2611 |
-
return toCss(this.
|
2612 |
};
|
2613 |
|
2614 |
return FontFaceRule;
|
2615 |
}();
|
|
|
2616 |
var pluginFontFaceRule = {
|
2617 |
onCreateRule: function onCreateRule(key, style, options) {
|
2618 |
-
return key
|
2619 |
}
|
2620 |
};
|
2621 |
|
@@ -2823,10 +3325,10 @@ function () {
|
|
2823 |
;
|
2824 |
|
2825 |
_proto.process = function process() {
|
2826 |
-
var plugins
|
2827 |
// we end up with very hard-to-track-down side effects.
|
2828 |
|
2829 |
-
this.index.slice(0).forEach(plugins
|
2830 |
}
|
2831 |
/**
|
2832 |
* Register a rule in `.map`, `.classes` and `.keyframes` maps.
|
@@ -2900,7 +3402,7 @@ function () {
|
|
2900 |
}
|
2901 |
|
2902 |
var _this$options2 = this.options,
|
2903 |
-
plugins
|
2904 |
sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.
|
2905 |
|
2906 |
if (rule.rules instanceof RuleList) {
|
@@ -2910,11 +3412,11 @@ function () {
|
|
2910 |
|
2911 |
var styleRule = rule;
|
2912 |
var style = styleRule.style;
|
2913 |
-
plugins
|
2914 |
|
2915 |
if (options.process && style && style !== styleRule.style) {
|
2916 |
// We need to run the plugins in case new `style` relies on syntax plugins.
|
2917 |
-
plugins
|
2918 |
|
2919 |
for (var prop in styleRule.style) {
|
2920 |
var nextValue = styleRule.style[prop];
|
@@ -3896,7 +4398,7 @@ var Jss =
|
|
3896 |
function () {
|
3897 |
function Jss(options) {
|
3898 |
this.id = instanceCounter++;
|
3899 |
-
this.version = "10.0
|
3900 |
this.plugins = new PluginsRegistry();
|
3901 |
this.options = {
|
3902 |
id: {
|
@@ -3997,7 +4499,7 @@ function () {
|
|
3997 |
*/
|
3998 |
;
|
3999 |
|
4000 |
-
_proto.createRule = function createRule
|
4001 |
if (style === void 0) {
|
4002 |
style = {};
|
4003 |
}
|
@@ -4034,11 +4536,11 @@ function () {
|
|
4034 |
_proto.use = function use() {
|
4035 |
var _this = this;
|
4036 |
|
4037 |
-
for (var _len = arguments.length, plugins
|
4038 |
-
plugins
|
4039 |
}
|
4040 |
|
4041 |
-
plugins
|
4042 |
_this.plugins.use(plugin);
|
4043 |
});
|
4044 |
return this;
|
@@ -4172,107 +4674,129 @@ var index = create();
|
|
4172 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
4173 |
|
4174 |
/***/ }),
|
4175 |
-
/*
|
4176 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4177 |
|
4178 |
"use strict";
|
4179 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] =
|
4180 |
-
|
4181 |
-
|
4182 |
-
|
4183 |
-
|
|
|
4184 |
|
4185 |
-
|
4186 |
-
|
|
|
|
|
4187 |
|
4188 |
-
|
4189 |
-
|
4190 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4191 |
|
4192 |
-
|
4193 |
-
|
4194 |
-
|
4195 |
-
|
4196 |
-
|
|
|
4197 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
4198 |
}
|
4199 |
|
4200 |
/***/ }),
|
4201 |
-
/*
|
4202 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4203 |
|
4204 |
"use strict";
|
4205 |
-
/* harmony
|
4206 |
-
|
4207 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
4208 |
|
4209 |
/***/ }),
|
4210 |
-
/*
|
4211 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4212 |
|
4213 |
"use strict";
|
4214 |
-
/*
|
4215 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
4216 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
4217 |
-
/*
|
4218 |
|
4219 |
-
function useControlled(_ref) {
|
4220 |
-
var controlled = _ref.controlled,
|
4221 |
-
defaultProp = _ref.default,
|
4222 |
-
name = _ref.name;
|
4223 |
|
4224 |
-
|
4225 |
-
|
|
|
4226 |
|
4227 |
-
|
4228 |
-
|
4229 |
-
|
4230 |
|
4231 |
-
|
|
|
|
|
4232 |
|
4233 |
-
|
4234 |
-
|
4235 |
-
|
4236 |
-
console.error(["Material-UI: A component is changing ".concat(isControlled ? 'a ' : 'an un', "controlled ").concat(name, " to be ").concat(isControlled ? 'un' : '', "controlled."), 'Elements should not switch from uncontrolled to controlled (or vice versa).', "Decide between using a controlled or uncontrolled ".concat(name, " ") + 'element for the lifetime of the component.', 'More info: https://fb.me/react-controlled-components'].join('\n'));
|
4237 |
-
}
|
4238 |
-
}, [controlled]);
|
4239 |
|
4240 |
-
|
4241 |
-
|
4242 |
|
4243 |
-
|
4244 |
-
|
4245 |
-
|
4246 |
-
|
4247 |
-
|
|
|
|
|
|
|
|
|
|
|
4248 |
}
|
4249 |
-
|
4250 |
-
|
4251 |
-
|
4252 |
-
setValue(newValue);
|
4253 |
-
}
|
4254 |
-
}, []);
|
4255 |
-
return [value, setValueIfUncontrolled];
|
4256 |
}
|
4257 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
4258 |
|
4259 |
-
|
4260 |
-
/* 43 */
|
4261 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4262 |
|
4263 |
-
"use strict";
|
4264 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = useFormControl;
|
4265 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
4266 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
4267 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__FormControlContext__ = __webpack_require__(80);
|
4268 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4269 |
|
4270 |
-
|
4271 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4272 |
}
|
4273 |
|
|
|
|
|
|
|
4274 |
/***/ }),
|
4275 |
-
/*
|
4276 |
/***/ (function(module, exports, __webpack_require__) {
|
4277 |
|
4278 |
"use strict";
|
@@ -4369,7 +4893,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
4369 |
|
4370 |
|
4371 |
/***/ }),
|
4372 |
-
/*
|
4373 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4374 |
|
4375 |
"use strict";
|
@@ -4381,10 +4905,10 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
4381 |
/* unused harmony export parsePath */
|
4382 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
|
4383 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
4384 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_resolve_pathname__ = __webpack_require__(
|
4385 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_value_equal__ = __webpack_require__(
|
4386 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_tiny_warning__ = __webpack_require__(
|
4387 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_tiny_invariant__ = __webpack_require__(
|
4388 |
|
4389 |
|
4390 |
|
@@ -5308,7 +5832,7 @@ function createMemoryHistory(props) {
|
|
5308 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
5309 |
|
5310 |
/***/ }),
|
5311 |
-
/*
|
5312 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5313 |
|
5314 |
"use strict";
|
@@ -5329,7 +5853,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
5329 |
}
|
5330 |
|
5331 |
/***/ }),
|
5332 |
-
/*
|
5333 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5334 |
|
5335 |
"use strict";
|
@@ -5341,30 +5865,73 @@ function _inheritsLoose(subClass, superClass) {
|
|
5341 |
}
|
5342 |
|
5343 |
/***/ }),
|
5344 |
-
/*
|
5345 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5346 |
|
5347 |
"use strict";
|
5348 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useTheme__ = __webpack_require__(
|
5349 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useTheme__["a"]; });
|
5350 |
|
5351 |
|
5352 |
/***/ }),
|
5353 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5354 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5355 |
|
5356 |
"use strict";
|
5357 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(
|
5358 |
/* unused harmony reexport CSSTransition */
|
5359 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(
|
5360 |
/* unused harmony reexport ReplaceTransition */
|
5361 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(
|
5362 |
/* unused harmony reexport SwitchTransition */
|
5363 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(
|
5364 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
|
5365 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(
|
5366 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
|
5367 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(
|
5368 |
/* unused harmony reexport config */
|
5369 |
|
5370 |
|
@@ -5374,7 +5941,16 @@ function _inheritsLoose(subClass, superClass) {
|
|
5374 |
|
5375 |
|
5376 |
/***/ }),
|
5377 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5378 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5379 |
|
5380 |
"use strict";
|
@@ -5394,51 +5970,16 @@ function getTransitionProps(props, options) {
|
|
5394 |
}
|
5395 |
|
5396 |
/***/ }),
|
5397 |
-
/*
|
5398 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5399 |
-
|
5400 |
-
"use strict";
|
5401 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = debounce;
|
5402 |
-
// Corresponds to 10 frames at 60 Hz.
|
5403 |
-
// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
|
5404 |
-
function debounce(func) {
|
5405 |
-
var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;
|
5406 |
-
var timeout;
|
5407 |
-
|
5408 |
-
function debounced() {
|
5409 |
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
5410 |
-
args[_key] = arguments[_key];
|
5411 |
-
}
|
5412 |
-
|
5413 |
-
// eslint-disable-next-line consistent-this
|
5414 |
-
var that = this;
|
5415 |
-
|
5416 |
-
var later = function later() {
|
5417 |
-
func.apply(that, args);
|
5418 |
-
};
|
5419 |
-
|
5420 |
-
clearTimeout(timeout);
|
5421 |
-
timeout = setTimeout(later, wait);
|
5422 |
-
}
|
5423 |
-
|
5424 |
-
debounced.clear = function () {
|
5425 |
-
clearTimeout(timeout);
|
5426 |
-
};
|
5427 |
-
|
5428 |
-
return debounced;
|
5429 |
-
}
|
5430 |
-
|
5431 |
-
/***/ }),
|
5432 |
-
/* 52 */
|
5433 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5434 |
|
5435 |
"use strict";
|
5436 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputBase__ = __webpack_require__(
|
5437 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputBase__["a"]; });
|
5438 |
|
5439 |
|
5440 |
/***/ }),
|
5441 |
-
/*
|
5442 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5443 |
|
5444 |
"use strict";
|
@@ -5461,75 +6002,60 @@ function formControlState(_ref) {
|
|
5461 |
}
|
5462 |
|
5463 |
/***/ }),
|
5464 |
-
/*
|
5465 |
-
/***/ (function(module,
|
5466 |
-
|
5467 |
-
"use strict";
|
5468 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createMuiTheme__ = __webpack_require__(154);
|
5469 |
-
|
5470 |
-
var defaultTheme = Object(__WEBPACK_IMPORTED_MODULE_0__createMuiTheme__["a" /* default */])();
|
5471 |
-
/* harmony default export */ __webpack_exports__["a"] = (defaultTheme);
|
5472 |
-
|
5473 |
-
/***/ }),
|
5474 |
-
/* 55 */
|
5475 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5476 |
-
|
5477 |
-
"use strict";
|
5478 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = _possibleConstructorReturn;
|
5479 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__helpers_esm_typeof__ = __webpack_require__(26);
|
5480 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__assertThisInitialized__ = __webpack_require__(39);
|
5481 |
-
|
5482 |
|
5483 |
-
|
5484 |
-
|
5485 |
-
return call;
|
5486 |
-
}
|
5487 |
|
5488 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5489 |
}
|
5490 |
|
5491 |
-
|
5492 |
-
/* 56 */
|
5493 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5494 |
|
5495 |
-
"use strict";
|
5496 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = _getPrototypeOf;
|
5497 |
-
function _getPrototypeOf(o) {
|
5498 |
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
5499 |
-
return o.__proto__ || Object.getPrototypeOf(o);
|
5500 |
-
};
|
5501 |
-
return _getPrototypeOf(o);
|
5502 |
-
}
|
5503 |
|
5504 |
/***/ }),
|
5505 |
-
/*
|
5506 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5507 |
|
5508 |
"use strict";
|
5509 |
-
/* harmony
|
5510 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__setPrototypeOf__ = __webpack_require__(372);
|
5511 |
-
|
5512 |
-
function _inherits(subClass, superClass) {
|
5513 |
-
if (typeof superClass !== "function" && superClass !== null) {
|
5514 |
-
throw new TypeError("Super expression must either be null or a function");
|
5515 |
-
}
|
5516 |
|
5517 |
-
|
5518 |
-
|
5519 |
-
value: subClass,
|
5520 |
-
writable: true,
|
5521 |
-
configurable: true
|
5522 |
-
}
|
5523 |
-
});
|
5524 |
-
if (superClass) Object(__WEBPACK_IMPORTED_MODULE_0__setPrototypeOf__["a" /* default */])(subClass, superClass);
|
5525 |
-
}
|
5526 |
|
5527 |
/***/ }),
|
5528 |
-
/*
|
5529 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5530 |
|
5531 |
"use strict";
|
5532 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(
|
5533 |
|
5534 |
|
5535 |
function css() {
|
@@ -5544,24 +6070,28 @@ function css() {
|
|
5544 |
|
5545 |
|
5546 |
/***/ }),
|
5547 |
-
/*
|
5548 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5549 |
|
5550 |
"use strict";
|
5551 |
-
/* harmony
|
5552 |
-
/* harmony
|
|
|
5553 |
|
|
|
|
|
|
|
5554 |
|
5555 |
/***/ }),
|
5556 |
-
/*
|
5557 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5558 |
|
5559 |
"use strict";
|
5560 |
-
/* unused harmony export teardown */
|
5561 |
/* harmony export (immutable) */ __webpack_exports__["a"] = useIsFocusVisible;
|
5562 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
5563 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
5564 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom__ = __webpack_require__(
|
5565 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react_dom__);
|
5566 |
// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
|
5567 |
|
@@ -5672,11 +6202,11 @@ function isFocusVisible(event) {
|
|
5672 |
|
5673 |
try {
|
5674 |
return target.matches(':focus-visible');
|
5675 |
-
} catch (error) {
|
5676 |
-
|
5677 |
-
|
5678 |
-
|
5679 |
-
// no need for validFocusTarget check. the user does that by attaching it to
|
5680 |
// focusable events only
|
5681 |
|
5682 |
|
@@ -5700,207 +6230,330 @@ function handleBlurVisible() {
|
|
5700 |
}
|
5701 |
|
5702 |
function useIsFocusVisible() {
|
5703 |
-
var ref =
|
5704 |
-
var node =
|
5705 |
|
5706 |
if (node != null) {
|
5707 |
prepare(node.ownerDocument);
|
5708 |
}
|
5709 |
}, []);
|
|
|
|
|
|
|
|
|
|
|
|
|
5710 |
return {
|
5711 |
isFocusVisible: isFocusVisible,
|
5712 |
onBlurVisible: handleBlurVisible,
|
5713 |
ref: ref
|
5714 |
};
|
5715 |
}
|
|
|
5716 |
|
5717 |
/***/ }),
|
5718 |
-
/*
|
5719 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5720 |
|
5721 |
"use strict";
|
5722 |
-
/* harmony
|
5723 |
-
/* harmony
|
5724 |
-
/* harmony import */ var
|
|
|
|
|
5725 |
|
5726 |
-
function isMuiElement(element, muiNames) {
|
5727 |
-
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;
|
5728 |
-
}
|
5729 |
|
5730 |
/***/ }),
|
5731 |
-
/*
|
5732 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5733 |
|
5734 |
"use strict";
|
5735 |
-
/* harmony
|
5736 |
-
/* harmony
|
5737 |
|
5738 |
-
function ownerWindow(node) {
|
5739 |
-
var doc = Object(__WEBPACK_IMPORTED_MODULE_0__ownerDocument__["a" /* default */])(node);
|
5740 |
-
return doc.defaultView || window;
|
5741 |
-
}
|
5742 |
|
5743 |
/***/ }),
|
5744 |
-
/*
|
5745 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5746 |
|
5747 |
"use strict";
|
5748 |
-
/* harmony import */ var
|
5749 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
5750 |
|
5751 |
|
5752 |
/***/ }),
|
5753 |
-
/*
|
5754 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5755 |
|
5756 |
"use strict";
|
5757 |
-
/* harmony import */ var
|
5758 |
-
/* harmony
|
5759 |
-
|
5760 |
-
|
|
|
|
|
|
|
|
|
5761 |
|
|
|
|
|
|
|
5762 |
|
|
|
|
|
5763 |
|
5764 |
/***/ }),
|
5765 |
-
/*
|
5766 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5767 |
|
5768 |
"use strict";
|
5769 |
-
/* WEBPACK VAR INJECTION */(function(process) {/* harmony
|
|
|
|
|
5770 |
/**
|
5771 |
-
*
|
5772 |
-
*
|
5773 |
-
* Will only create a new function if needed,
|
5774 |
-
* otherwise will pass back existing functions or null.
|
5775 |
-
*
|
5776 |
-
* @param {function} functions to chain
|
5777 |
-
* @returns {function|null}
|
5778 |
*/
|
5779 |
-
function createChainedFunction() {
|
5780 |
-
for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
|
5781 |
-
funcs[_key] = arguments[_key];
|
5782 |
-
}
|
5783 |
-
|
5784 |
-
return funcs.reduce(function (acc, func) {
|
5785 |
-
if (func == null) {
|
5786 |
-
return acc;
|
5787 |
-
}
|
5788 |
-
|
5789 |
-
if (process.env.NODE_ENV !== 'production') {
|
5790 |
-
if (typeof func !== 'function') {
|
5791 |
-
console.error('Material-UI: invalid Argument Type, must only provide functions, undefined, or null.');
|
5792 |
-
}
|
5793 |
-
}
|
5794 |
|
5795 |
-
|
5796 |
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
5797 |
-
args[_key2] = arguments[_key2];
|
5798 |
-
}
|
5799 |
|
5800 |
-
|
5801 |
-
|
5802 |
-
};
|
5803 |
-
}, function () {});
|
5804 |
}
|
|
|
|
|
5805 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
5806 |
|
5807 |
/***/ }),
|
5808 |
-
/*
|
5809 |
-
/***/ (function(module,
|
5810 |
|
5811 |
-
|
5812 |
-
|
5813 |
-
|
|
|
|
|
|
|
5814 |
|
5815 |
|
5816 |
/***/ }),
|
5817 |
-
/*
|
5818 |
-
/***/ (function(module,
|
5819 |
|
5820 |
-
|
5821 |
-
|
5822 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5823 |
|
5824 |
|
5825 |
/***/ }),
|
5826 |
-
/*
|
5827 |
-
/***/ (function(module,
|
5828 |
|
5829 |
-
|
5830 |
-
|
5831 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5832 |
|
5833 |
/**
|
5834 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5835 |
*/
|
|
|
|
|
|
|
5836 |
|
5837 |
-
var
|
|
|
5838 |
|
5839 |
-
|
5840 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5841 |
}
|
5842 |
|
5843 |
-
|
5844 |
-
|
5845 |
|
5846 |
/***/ }),
|
5847 |
-
/*
|
5848 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5849 |
|
5850 |
"use strict";
|
5851 |
-
/* WEBPACK VAR INJECTION */(function(process) {
|
5852 |
-
|
|
|
|
|
|
|
|
|
5853 |
|
5854 |
-
|
5855 |
-
* @ignore - internal component.
|
5856 |
-
*/
|
5857 |
|
5858 |
-
|
|
|
|
|
5859 |
|
5860 |
-
|
5861 |
-
|
|
|
|
|
5862 |
}
|
5863 |
|
5864 |
-
/* harmony default export */ __webpack_exports__["a"] = (
|
|
|
5865 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
5866 |
|
5867 |
/***/ }),
|
5868 |
-
/*
|
5869 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5870 |
|
5871 |
"use strict";
|
5872 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__ = __webpack_require__(
|
5873 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__["a"]; });
|
5874 |
|
5875 |
|
5876 |
/***/ }),
|
5877 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5878 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5879 |
|
5880 |
"use strict";
|
5881 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__makeStyles__ = __webpack_require__(
|
5882 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__makeStyles__["a"]; });
|
5883 |
|
5884 |
|
5885 |
/***/ }),
|
5886 |
-
/*
|
5887 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5888 |
|
5889 |
"use strict";
|
5890 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StylesProvider__ = __webpack_require__(
|
5891 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["b"]; });
|
5892 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["a"]; });
|
5893 |
|
5894 |
|
5895 |
|
5896 |
/***/ }),
|
5897 |
-
/*
|
5898 |
/***/ (function(module, exports, __webpack_require__) {
|
5899 |
|
5900 |
"use strict";
|
5901 |
|
5902 |
|
5903 |
-
var reactIs = __webpack_require__(
|
5904 |
|
5905 |
/**
|
5906 |
* Copyright 2015, Yahoo! Inc.
|
@@ -6004,57 +6657,53 @@ module.exports = hoistNonReactStatics;
|
|
6004 |
|
6005 |
|
6006 |
/***/ }),
|
6007 |
-
/*
|
6008 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6009 |
|
6010 |
"use strict";
|
6011 |
-
|
6012 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonceProvider", function() { return NonceProvider; });
|
6013 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
6014 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
6015 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(14);
|
6016 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectSpread__ = __webpack_require__(100);
|
6017 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(40);
|
6018 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_createClass__ = __webpack_require__(35);
|
6019 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_possibleConstructorReturn__ = __webpack_require__(55);
|
6020 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_esm_getPrototypeOf__ = __webpack_require__(56);
|
6021 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_inherits__ = __webpack_require__(57);
|
6022 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(39);
|
6023 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(10);
|
6024 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react__ = __webpack_require__(0);
|
6025 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_react__);
|
6026 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_memoize_one__ = __webpack_require__(165);
|
6027 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__emotion_core__ = __webpack_require__(101);
|
6028 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom__ = __webpack_require__(9);
|
6029 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_dom__);
|
6030 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_prop_types__ = __webpack_require__(2);
|
6031 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15_prop_types__);
|
6032 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__babel_runtime_helpers_esm_typeof__ = __webpack_require__(26);
|
6033 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__chunk_39d3fda8_browser_esm_js__ = __webpack_require__(102);
|
6034 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__chunk_80640036_browser_esm_js__ = __webpack_require__(169);
|
6035 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return __WEBPACK_IMPORTED_MODULE_18__chunk_80640036_browser_esm_js__["z"]; });
|
6036 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__base_dist_react_select_cac0a5ae_browser_esm_js__ = __webpack_require__(172);
|
6037 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createFilter", function() { return __WEBPACK_IMPORTED_MODULE_19__base_dist_react_select_cac0a5ae_browser_esm_js__["c"]; });
|
6038 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTheme", function() { return __WEBPACK_IMPORTED_MODULE_19__base_dist_react_select_cac0a5ae_browser_esm_js__["b"]; });
|
6039 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "mergeStyles", function() { return __WEBPACK_IMPORTED_MODULE_19__base_dist_react_select_cac0a5ae_browser_esm_js__["d"]; });
|
6040 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__emotion_css__ = __webpack_require__(58);
|
6041 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__babel_runtime_helpers_esm_taggedTemplateLiteral__ = __webpack_require__(170);
|
6042 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22_react_input_autosize__ = __webpack_require__(171);
|
6043 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_22_react_input_autosize__);
|
6044 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__chunk_b36baf1a_browser_esm_js__ = __webpack_require__(380);
|
6045 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__emotion_cache__ = __webpack_require__(166);
|
6046 |
-
|
6047 |
-
|
6048 |
-
|
6049 |
-
|
6050 |
-
|
6051 |
|
6052 |
|
|
|
|
|
|
|
|
|
6053 |
|
|
|
|
|
6054 |
|
|
|
|
|
6055 |
|
|
|
6056 |
|
|
|
|
|
|
|
6057 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6058 |
|
6059 |
|
6060 |
|
@@ -6069,59 +6718,70 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
6069 |
|
6070 |
|
6071 |
|
|
|
6072 |
|
6073 |
var NonceProvider =
|
6074 |
/*#__PURE__*/
|
6075 |
function (_Component) {
|
6076 |
-
|
6077 |
|
6078 |
function NonceProvider(props) {
|
6079 |
var _this;
|
6080 |
|
6081 |
-
|
6082 |
|
6083 |
-
_this =
|
6084 |
-
|
6085 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "createEmotionCache", function (nonce) {
|
6086 |
-
return Object(__WEBPACK_IMPORTED_MODULE_24__emotion_cache__["a" /* default */])({
|
6087 |
nonce: nonce
|
6088 |
});
|
6089 |
-
}
|
6090 |
|
6091 |
-
_this.createEmotionCache = Object(
|
6092 |
return _this;
|
6093 |
}
|
6094 |
|
6095 |
-
|
6096 |
-
|
6097 |
-
|
6098 |
-
|
6099 |
-
|
6100 |
-
|
6101 |
-
|
6102 |
-
|
6103 |
-
}]);
|
6104 |
|
6105 |
return NonceProvider;
|
6106 |
-
}(
|
6107 |
|
6108 |
-
var index = Object(
|
6109 |
|
6110 |
/* harmony default export */ __webpack_exports__["default"] = (index);
|
6111 |
|
6112 |
|
6113 |
|
6114 |
/***/ }),
|
6115 |
-
/*
|
6116 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6117 |
|
6118 |
"use strict";
|
6119 |
-
/* harmony import */ var
|
6120 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
6121 |
|
6122 |
|
6123 |
/***/ }),
|
6124 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6125 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6126 |
|
6127 |
"use strict";
|
@@ -6142,46 +6802,55 @@ function unsupportedProp(props, propName, componentName, location, propFullName)
|
|
6142 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6143 |
|
6144 |
/***/ }),
|
6145 |
-
/*
|
6146 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6147 |
|
6148 |
"use strict";
|
6149 |
-
/* harmony
|
6150 |
-
/* harmony
|
|
|
|
|
|
|
|
|
|
|
6151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6152 |
|
6153 |
/***/ }),
|
6154 |
-
/*
|
6155 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6156 |
|
6157 |
"use strict";
|
6158 |
-
/* harmony import */ var
|
6159 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
6160 |
|
6161 |
|
6162 |
/***/ }),
|
6163 |
-
/*
|
6164 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6165 |
|
6166 |
"use strict";
|
6167 |
-
/* harmony import */ var
|
6168 |
-
|
6169 |
-
|
6170 |
-
function merge(acc, item) {
|
6171 |
-
if (!item) {
|
6172 |
-
return acc;
|
6173 |
-
}
|
6174 |
-
|
6175 |
-
return Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["b" /* deepmerge */])(acc, item, {
|
6176 |
-
clone: false // No need to clone deep, it's way faster.
|
6177 |
-
|
6178 |
-
});
|
6179 |
-
}
|
6180 |
|
6181 |
-
/* harmony default export */ __webpack_exports__["a"] = (merge);
|
6182 |
|
6183 |
/***/ }),
|
6184 |
-
/*
|
6185 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6186 |
|
6187 |
"use strict";
|
@@ -6193,63 +6862,63 @@ function merge(acc, item) {
|
|
6193 |
* @ignore - internal component.
|
6194 |
*/
|
6195 |
|
6196 |
-
var FormControlContext =
|
6197 |
|
6198 |
if (process.env.NODE_ENV !== 'production') {
|
6199 |
FormControlContext.displayName = 'FormControlContext';
|
6200 |
}
|
6201 |
|
6202 |
function useFormControl() {
|
6203 |
-
return
|
6204 |
}
|
6205 |
/* harmony default export */ __webpack_exports__["a"] = (FormControlContext);
|
6206 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6207 |
|
6208 |
/***/ }),
|
6209 |
-
/*
|
6210 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6211 |
|
6212 |
"use strict";
|
6213 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Portal__ = __webpack_require__(
|
6214 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Portal__["a"]; });
|
6215 |
|
6216 |
|
6217 |
/***/ }),
|
6218 |
-
/*
|
6219 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6220 |
|
6221 |
"use strict";
|
6222 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fab__ = __webpack_require__(
|
6223 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fab__["a"]; });
|
6224 |
|
6225 |
|
6226 |
/***/ }),
|
6227 |
-
/*
|
6228 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6229 |
|
6230 |
"use strict";
|
6231 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FilledInput__ = __webpack_require__(
|
6232 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FilledInput__["a"]; });
|
6233 |
|
6234 |
|
6235 |
/***/ }),
|
6236 |
-
/*
|
6237 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6238 |
|
6239 |
"use strict";
|
6240 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControl__ = __webpack_require__(
|
6241 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormControl__["a"]; });
|
6242 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useFormControl__ = __webpack_require__(
|
6243 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__useFormControl__["a"]; });
|
6244 |
|
6245 |
|
6246 |
|
6247 |
/***/ }),
|
6248 |
-
/*
|
6249 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6250 |
|
6251 |
"use strict";
|
6252 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withWidth__ = __webpack_require__(
|
6253 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["a"]; });
|
6254 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["b"]; });
|
6255 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["c"]; });
|
@@ -6257,218 +6926,594 @@ function useFormControl() {
|
|
6257 |
|
6258 |
|
6259 |
/***/ }),
|
6260 |
-
/*
|
6261 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6262 |
|
6263 |
"use strict";
|
6264 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__ = __webpack_require__(
|
6265 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__["a"]; });
|
6266 |
|
6267 |
|
6268 |
/***/ }),
|
6269 |
-
/*
|
6270 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6271 |
|
6272 |
"use strict";
|
6273 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popper__ = __webpack_require__(
|
6274 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popper__["a"]; });
|
6275 |
|
6276 |
|
6277 |
/***/ }),
|
6278 |
-
/*
|
6279 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6280 |
|
6281 |
"use strict";
|
6282 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Select__ = __webpack_require__(
|
6283 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Select__["a"]; });
|
6284 |
|
6285 |
|
6286 |
/***/ }),
|
6287 |
-
/*
|
6288 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6289 |
|
6290 |
"use strict";
|
6291 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
6292 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tooltip__ = __webpack_require__(
|
6293 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Tooltip__["a"]; });
|
6294 |
|
6295 |
|
6296 |
/***/ }),
|
6297 |
-
/*
|
6298 |
-
/***/ (function(module,
|
6299 |
|
6300 |
"use strict";
|
6301 |
-
/*
|
6302 |
-
|
6303 |
-
|
6304 |
-
|
6305 |
-
|
6306 |
-
*/
|
6307 |
-
|
6308 |
|
6309 |
|
6310 |
-
var printWarning = function() {};
|
6311 |
|
6312 |
-
|
6313 |
-
|
6314 |
-
|
6315 |
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
6316 |
|
6317 |
-
|
6318 |
-
|
6319 |
-
|
6320 |
-
console.error(message);
|
6321 |
-
}
|
6322 |
-
try {
|
6323 |
-
// --- Welcome to debugging React ---
|
6324 |
-
// This error was thrown as a convenience so that you can use this stack
|
6325 |
-
// to find the callsite that caused this warning to fire.
|
6326 |
-
throw new Error(message);
|
6327 |
-
} catch (x) {}
|
6328 |
-
};
|
6329 |
-
}
|
6330 |
|
6331 |
/**
|
6332 |
-
*
|
6333 |
-
* Error messages are memorized and will only be shown once.
|
6334 |
-
*
|
6335 |
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
6336 |
-
* @param {object} values Runtime values that need to be type-checked
|
6337 |
-
* @param {string} location e.g. "prop", "context", "child context"
|
6338 |
-
* @param {string} componentName Name of the component for error messages.
|
6339 |
-
* @param {?Function} getStack Returns the component stack.
|
6340 |
-
* @private
|
6341 |
*/
|
6342 |
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
6343 |
-
if (process.env.NODE_ENV !== 'production') {
|
6344 |
-
for (var typeSpecName in typeSpecs) {
|
6345 |
-
if (has(typeSpecs, typeSpecName)) {
|
6346 |
-
var error;
|
6347 |
-
// Prop type validation may throw. In case they do, we don't want to
|
6348 |
-
// fail the render phase where it didn't fail before. So we log it.
|
6349 |
-
// After these have been cleaned up, we'll let them throw.
|
6350 |
-
try {
|
6351 |
-
// This is intentionally an invariant that gets caught. It's the same
|
6352 |
-
// behavior as without this statement except with a better message.
|
6353 |
-
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
6354 |
-
var err = Error(
|
6355 |
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
6356 |
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
6357 |
-
);
|
6358 |
-
err.name = 'Invariant Violation';
|
6359 |
-
throw err;
|
6360 |
-
}
|
6361 |
-
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
6362 |
-
} catch (ex) {
|
6363 |
-
error = ex;
|
6364 |
-
}
|
6365 |
-
if (error && !(error instanceof Error)) {
|
6366 |
-
printWarning(
|
6367 |
-
(componentName || 'React class') + ': type specification of ' +
|
6368 |
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
6369 |
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
6370 |
-
'You may have forgotten to pass an argument to the type checker ' +
|
6371 |
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
6372 |
-
'shape all require an argument).'
|
6373 |
-
);
|
6374 |
-
}
|
6375 |
-
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
6376 |
-
// Only monitor this failure once because there tends to be a lot of the
|
6377 |
-
// same error.
|
6378 |
-
loggedTypeFailures[error.message] = true;
|
6379 |
-
|
6380 |
-
var stack = getStack ? getStack() : '';
|
6381 |
|
6382 |
-
|
6383 |
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
6384 |
-
);
|
6385 |
-
}
|
6386 |
-
}
|
6387 |
-
}
|
6388 |
-
}
|
6389 |
-
}
|
6390 |
|
6391 |
-
|
6392 |
-
|
6393 |
-
*
|
6394 |
-
* @private
|
6395 |
-
*/
|
6396 |
-
checkPropTypes.resetWarningCache = function() {
|
6397 |
-
if (process.env.NODE_ENV !== 'production') {
|
6398 |
-
loggedTypeFailures = {};
|
6399 |
-
}
|
6400 |
}
|
6401 |
|
6402 |
-
|
6403 |
-
|
6404 |
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
6405 |
|
6406 |
/***/ }),
|
6407 |
-
/*
|
6408 |
/***/ (function(module, exports, __webpack_require__) {
|
6409 |
|
6410 |
-
|
6411 |
-
|
6412 |
-
* Copyright (c) 2013-present, Facebook, Inc.
|
6413 |
-
*
|
6414 |
-
* This source code is licensed under the MIT license found in the
|
6415 |
-
* LICENSE file in the root directory of this source tree.
|
6416 |
-
*/
|
6417 |
|
|
|
|
|
6418 |
|
|
|
|
|
6419 |
|
6420 |
-
|
|
|
6421 |
|
6422 |
-
|
|
|
6423 |
|
|
|
|
|
6424 |
|
6425 |
-
|
6426 |
-
|
6427 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6428 |
|
6429 |
-
|
6430 |
-
|
6431 |
-
|
6432 |
-
|
6433 |
-
|
6434 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6435 |
}
|
|
|
|
|
|
|
6436 |
|
6437 |
-
|
6438 |
|
6439 |
-
|
6440 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6441 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6442 |
|
|
|
|
|
|
|
|
|
|
|
6443 |
try {
|
6444 |
-
|
|
|
|
|
|
|
6445 |
} catch (x) {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6446 |
}
|
6447 |
}
|
6448 |
|
6449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6450 |
|
6451 |
-
|
|
|
|
|
6452 |
|
6453 |
/***/ }),
|
6454 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6455 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6456 |
|
6457 |
"use strict";
|
6458 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__ = __webpack_require__(
|
6459 |
// Written in this round about way for babel-transform-imports
|
6460 |
|
6461 |
|
6462 |
/* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__["a" /* default */]);
|
6463 |
|
6464 |
/***/ }),
|
6465 |
-
/*
|
6466 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6467 |
|
6468 |
"use strict";
|
6469 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(
|
6470 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
|
6471 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(
|
6472 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
|
6473 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
6474 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
@@ -6581,11 +7626,11 @@ Router.childContextTypes = {
|
|
6581 |
/* harmony default export */ __webpack_exports__["a"] = (Router);
|
6582 |
|
6583 |
/***/ }),
|
6584 |
-
/*
|
6585 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6586 |
|
6587 |
"use strict";
|
6588 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(
|
6589 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
|
6590 |
|
6591 |
|
@@ -6661,7 +7706,7 @@ var matchPath = function matchPath(pathname) {
|
|
6661 |
/* harmony default export */ __webpack_exports__["a"] = (matchPath);
|
6662 |
|
6663 |
/***/ }),
|
6664 |
-
/*
|
6665 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6666 |
|
6667 |
"use strict";
|
@@ -6680,208 +7725,425 @@ function chainPropTypes(propType1, propType2) {
|
|
6680 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6681 |
|
6682 |
/***/ }),
|
6683 |
-
/*
|
6684 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6685 |
|
6686 |
"use strict";
|
6687 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getThemeProps__ = __webpack_require__(
|
6688 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__getThemeProps__["a"]; });
|
6689 |
|
6690 |
|
6691 |
/***/ }),
|
6692 |
-
/*
|
6693 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6694 |
|
6695 |
"use strict";
|
6696 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jssPreset__ = __webpack_require__(
|
6697 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__jssPreset__["a"]; });
|
6698 |
|
6699 |
|
6700 |
/***/ }),
|
6701 |
-
/*
|
6702 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6703 |
|
6704 |
"use strict";
|
6705 |
-
/* harmony
|
6706 |
-
|
|
|
|
|
|
|
6707 |
|
|
|
|
|
6708 |
|
6709 |
/***/ }),
|
6710 |
-
/*
|
6711 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6712 |
|
6713 |
"use strict";
|
6714 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] =
|
6715 |
-
/* harmony import */ var
|
6716 |
|
6717 |
-
function
|
6718 |
-
|
6719 |
-
|
6720 |
-
|
|
|
|
|
|
|
|
|
6721 |
|
6722 |
-
|
6723 |
-
|
6724 |
-
|
6725 |
-
}));
|
6726 |
-
}
|
6727 |
|
6728 |
-
|
6729 |
-
|
6730 |
-
|
6731 |
-
}
|
6732 |
|
6733 |
-
return target;
|
6734 |
-
}
|
6735 |
|
6736 |
/***/ }),
|
6737 |
-
/*
|
6738 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6739 |
|
6740 |
"use strict";
|
6741 |
-
/*
|
6742 |
-
|
6743 |
-
|
6744 |
-
|
6745 |
-
|
6746 |
-
|
6747 |
-
/* unused harmony export withEmotionCache */
|
6748 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(373);
|
6749 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
|
6750 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
6751 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
6752 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(166);
|
6753 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(376);
|
6754 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(168);
|
6755 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(167);
|
6756 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(58);
|
6757 |
-
/* unused harmony reexport css */
|
6758 |
-
|
6759 |
|
|
|
|
|
|
|
6760 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6761 |
|
6762 |
|
6763 |
|
6764 |
|
6765 |
|
6766 |
|
6767 |
-
var EmotionCacheContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
6768 |
-
// because this module is primarily intended for the browser and node
|
6769 |
-
// but it's also required in react native and similar environments sometimes
|
6770 |
-
// and we could have a special build just for that
|
6771 |
-
// but this is much easier and the native packages
|
6772 |
-
// might use a different theme context in the future anyway
|
6773 |
-
typeof HTMLElement !== 'undefined' ? Object(__WEBPACK_IMPORTED_MODULE_2__emotion_cache__["a" /* default */])() : null);
|
6774 |
-
var ThemeContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])({});
|
6775 |
-
var CacheProvider = EmotionCacheContext.Provider;
|
6776 |
|
6777 |
-
var withEmotionCache = function withEmotionCache(func) {
|
6778 |
-
var render = function render(props, ref) {
|
6779 |
-
return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(EmotionCacheContext.Consumer, null, function (cache) {
|
6780 |
-
return func(props, cache, ref);
|
6781 |
-
});
|
6782 |
-
}; // $FlowFixMe
|
6783 |
|
6784 |
|
6785 |
-
return Object(__WEBPACK_IMPORTED_MODULE_1_react__["forwardRef"])(render);
|
6786 |
-
};
|
6787 |
|
6788 |
-
// thus we only need to replace what is a valid character for JS, but not for CSS
|
6789 |
|
6790 |
-
var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
|
6791 |
-
return identifier.replace(/\$/g, '-');
|
6792 |
-
};
|
6793 |
|
6794 |
-
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
6795 |
-
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
6796 |
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
6797 |
|
6798 |
-
|
6799 |
-
var
|
6800 |
-
// not passing the registered cache to serializeStyles because it would
|
6801 |
-
// make certain babel optimisations not possible
|
6802 |
|
6803 |
-
|
6804 |
-
|
6805 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6806 |
|
6807 |
-
var
|
6808 |
-
var
|
6809 |
-
var
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6810 |
|
6811 |
-
|
6812 |
-
|
6813 |
-
} else if (props.className != null) {
|
6814 |
-
className = props.className + " ";
|
6815 |
}
|
6816 |
|
6817 |
-
|
|
|
|
|
6818 |
|
6819 |
-
if (process.env.NODE_ENV !== 'production'
|
6820 |
-
var
|
6821 |
|
6822 |
-
|
6823 |
-
|
6824 |
-
|
6825 |
-
}
|
6826 |
|
6827 |
-
|
6828 |
-
|
6829 |
-
var newProps = {};
|
6830 |
|
6831 |
-
|
6832 |
-
|
6833 |
-
|
6834 |
-
|
6835 |
-
|
|
|
|
|
|
|
|
|
|
|
6836 |
|
6837 |
-
newProps.ref = ref;
|
6838 |
-
newProps.className = className;
|
6839 |
-
var ele = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(type, newProps);
|
6840 |
|
6841 |
-
|
6842 |
-
}
|
|
|
|
|
6843 |
|
6844 |
-
|
6845 |
-
/* #__PURE__ */
|
6846 |
-
withEmotionCache(function (props, cache, ref) {
|
6847 |
-
// use Context.read for the theme when it's stable
|
6848 |
-
if (typeof props.css === 'function') {
|
6849 |
-
return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
|
6850 |
-
return render(cache, props, theme, ref);
|
6851 |
-
});
|
6852 |
}
|
6853 |
|
6854 |
-
return
|
6855 |
-
}
|
6856 |
|
6857 |
-
|
6858 |
-
|
6859 |
-
} // $FlowFixMe
|
6860 |
|
|
|
|
|
|
|
6861 |
|
6862 |
-
|
6863 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
6864 |
|
6865 |
-
if (props == null || !hasOwnProperty.call(props, 'css')) {
|
6866 |
-
// $FlowFixMe
|
6867 |
-
return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(undefined, args);
|
6868 |
-
}
|
6869 |
|
6870 |
-
if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
|
6871 |
-
props.css.indexOf(':') !== -1) {
|
6872 |
-
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`" + props.css + "`");
|
6873 |
-
}
|
6874 |
|
6875 |
-
var argsLength = args.length;
|
6876 |
-
var createElementArgArray = new Array(argsLength);
|
6877 |
-
createElementArgArray[0] = Emotion;
|
6878 |
-
var newProps = {};
|
6879 |
|
6880 |
-
|
6881 |
-
|
6882 |
-
|
6883 |
-
|
6884 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6885 |
|
6886 |
newProps[typePropName] = type;
|
6887 |
|
@@ -7136,7 +8398,7 @@ var ClassNames = withEmotionCache(function (props, context) {
|
|
7136 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
7137 |
|
7138 |
/***/ }),
|
7139 |
-
/*
|
7140 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7141 |
|
7142 |
"use strict";
|
@@ -7144,18 +8406,15 @@ var ClassNames = withEmotionCache(function (props, context) {
|
|
7144 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getScrollTop; });
|
7145 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return animatedScrollTo; });
|
7146 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isMobileDevice; });
|
7147 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return
|
7148 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return
|
7149 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getBoundingClientObj; });
|
7150 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return
|
7151 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return isTouchCapable; });
|
7152 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return
|
7153 |
/* unused harmony export k */
|
7154 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return noop; });
|
7155 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return scrollTo; });
|
7156 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_typeof__ = __webpack_require__(26);
|
7157 |
-
|
7158 |
-
|
7159 |
// ==============================
|
7160 |
// NO OP
|
7161 |
// ==============================
|
@@ -7189,7 +8448,7 @@ function classNames(prefix, state, className) {
|
|
7189 |
if (state && prefix) {
|
7190 |
for (var key in state) {
|
7191 |
if (state.hasOwnProperty(key) && state[key]) {
|
7192 |
-
arr.push(""
|
7193 |
}
|
7194 |
}
|
7195 |
}
|
@@ -7205,7 +8464,7 @@ function classNames(prefix, state, className) {
|
|
7205 |
|
7206 |
var cleanValue = function cleanValue(value) {
|
7207 |
if (Array.isArray(value)) return value.filter(Boolean);
|
7208 |
-
if (
|
7209 |
return [];
|
7210 |
}; // ==============================
|
7211 |
// Handle Input Change
|
@@ -7280,9 +8539,15 @@ function easeOutCubic(t, b, c, d) {
|
|
7280 |
return c * ((t = t / d - 1) * t * t + 1) + b;
|
7281 |
}
|
7282 |
|
7283 |
-
function animatedScrollTo(element, to) {
|
7284 |
-
|
7285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
7286 |
var start = getScrollTop(element);
|
7287 |
var change = to - start;
|
7288 |
var increment = 10;
|
@@ -7356,7 +8621,7 @@ function isMobileDevice() {
|
|
7356 |
|
7357 |
|
7358 |
/***/ }),
|
7359 |
-
/*
|
7360 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7361 |
|
7362 |
"use strict";
|
@@ -7365,17 +8630,17 @@ function isMobileDevice() {
|
|
7365 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ENTERING; });
|
7366 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ENTERED; });
|
7367 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return EXITING; });
|
7368 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(
|
7369 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(
|
7370 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
|
7371 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
|
7372 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
|
7373 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
|
7374 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(
|
7375 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
|
7376 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(
|
7377 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(
|
7378 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(
|
7379 |
|
7380 |
|
7381 |
|
@@ -7481,9 +8746,7 @@ var EXITING = 'exiting';
|
|
7481 |
* `'exiting'` to `'exited'`.
|
7482 |
*/
|
7483 |
|
7484 |
-
var Transition =
|
7485 |
-
/*#__PURE__*/
|
7486 |
-
function (_React$Component) {
|
7487 |
Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(Transition, _React$Component);
|
7488 |
|
7489 |
function Transition(props, context) {
|
@@ -7528,7 +8791,7 @@ function (_React$Component) {
|
|
7528 |
}
|
7529 |
|
7530 |
return null;
|
7531 |
-
}
|
7532 |
// let nextStatus = null
|
7533 |
// if (prevProps !== this.props) {
|
7534 |
// const { status } = this.state
|
@@ -7544,7 +8807,7 @@ function (_React$Component) {
|
|
7544 |
// }
|
7545 |
// return { nextStatus }
|
7546 |
// }
|
7547 |
-
|
7548 |
|
7549 |
var _proto = Transition.prototype;
|
7550 |
|
@@ -7603,12 +8866,11 @@ function (_React$Component) {
|
|
7603 |
if (nextStatus !== null) {
|
7604 |
// nextStatus will always be ENTERING or EXITING.
|
7605 |
this.cancelNextCallback();
|
7606 |
-
var node = __WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this);
|
7607 |
|
7608 |
if (nextStatus === ENTERING) {
|
7609 |
-
this.performEnter(
|
7610 |
} else {
|
7611 |
-
this.performExit(
|
7612 |
}
|
7613 |
} else if (this.props.unmountOnExit && this.state.status === EXITED) {
|
7614 |
this.setState({
|
@@ -7617,11 +8879,16 @@ function (_React$Component) {
|
|
7617 |
}
|
7618 |
};
|
7619 |
|
7620 |
-
_proto.performEnter = function performEnter(
|
7621 |
var _this2 = this;
|
7622 |
|
7623 |
var enter = this.props.enter;
|
7624 |
var appearing = this.context ? this.context.isMounting : mounting;
|
|
|
|
|
|
|
|
|
|
|
7625 |
var timeouts = this.getTimeouts();
|
7626 |
var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
|
7627 |
// if we are mounting and running this it means appear _must_ be set
|
@@ -7630,53 +8897,54 @@ function (_React$Component) {
|
|
7630 |
this.safeSetState({
|
7631 |
status: ENTERED
|
7632 |
}, function () {
|
7633 |
-
_this2.props.onEntered(
|
7634 |
});
|
7635 |
return;
|
7636 |
}
|
7637 |
|
7638 |
-
this.props.onEnter(
|
7639 |
this.safeSetState({
|
7640 |
status: ENTERING
|
7641 |
}, function () {
|
7642 |
-
_this2.props.onEntering(
|
7643 |
|
7644 |
-
_this2.onTransitionEnd(
|
7645 |
_this2.safeSetState({
|
7646 |
status: ENTERED
|
7647 |
}, function () {
|
7648 |
-
_this2.props.onEntered(
|
7649 |
});
|
7650 |
});
|
7651 |
});
|
7652 |
};
|
7653 |
|
7654 |
-
_proto.performExit = function performExit(
|
7655 |
var _this3 = this;
|
7656 |
|
7657 |
var exit = this.props.exit;
|
7658 |
-
var timeouts = this.getTimeouts();
|
|
|
7659 |
|
7660 |
if (!exit || __WEBPACK_IMPORTED_MODULE_5__config__["a" /* default */].disabled) {
|
7661 |
this.safeSetState({
|
7662 |
status: EXITED
|
7663 |
}, function () {
|
7664 |
-
_this3.props.onExited(
|
7665 |
});
|
7666 |
return;
|
7667 |
}
|
7668 |
|
7669 |
-
this.props.onExit(
|
7670 |
this.safeSetState({
|
7671 |
status: EXITING
|
7672 |
}, function () {
|
7673 |
-
_this3.props.onExiting(
|
7674 |
|
7675 |
-
_this3.onTransitionEnd(
|
7676 |
_this3.safeSetState({
|
7677 |
status: EXITED
|
7678 |
}, function () {
|
7679 |
-
_this3.props.onExited(
|
7680 |
});
|
7681 |
});
|
7682 |
});
|
@@ -7717,8 +8985,9 @@ function (_React$Component) {
|
|
7717 |
return this.nextCallback;
|
7718 |
};
|
7719 |
|
7720 |
-
_proto.onTransitionEnd = function onTransitionEnd(
|
7721 |
this.setNextCallback(handler);
|
|
|
7722 |
var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
|
7723 |
|
7724 |
if (!node || doesNotHaveTimeoutOrListener) {
|
@@ -7727,7 +8996,11 @@ function (_React$Component) {
|
|
7727 |
}
|
7728 |
|
7729 |
if (this.props.addEndListener) {
|
7730 |
-
this.props.
|
|
|
|
|
|
|
|
|
7731 |
}
|
7732 |
|
7733 |
if (timeout != null) {
|
@@ -7744,36 +9017,29 @@ function (_React$Component) {
|
|
7744 |
|
7745 |
var _this$props = this.props,
|
7746 |
children = _this$props.children,
|
7747 |
-
|
7748 |
-
|
7749 |
-
|
7750 |
-
|
7751 |
-
|
7752 |
-
|
7753 |
-
|
7754 |
-
|
7755 |
-
|
7756 |
-
|
7757 |
-
|
7758 |
-
|
7759 |
-
|
7760 |
-
|
7761 |
-
|
7762 |
-
|
7763 |
-
delete childProps.onExited;
|
7764 |
-
|
7765 |
-
if (typeof children === 'function') {
|
7766 |
-
// allows for nested Transitions
|
7767 |
-
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */].Provider, {
|
7768 |
-
value: null
|
7769 |
-
}, children(status, childProps));
|
7770 |
-
}
|
7771 |
|
7772 |
-
|
7773 |
-
|
|
|
7774 |
__WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */].Provider, {
|
7775 |
value: null
|
7776 |
-
}, __WEBPACK_IMPORTED_MODULE_3_react___default.a.cloneElement(
|
7777 |
);
|
7778 |
};
|
7779 |
|
@@ -7782,6 +9048,21 @@ function (_React$Component) {
|
|
7782 |
|
7783 |
Transition.contextType = __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */];
|
7784 |
Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7785 |
/**
|
7786 |
* A `function` child can be used instead of a React element. This function is
|
7787 |
* called with the current transition status (`'entering'`, `'entered'`,
|
@@ -7818,10 +9099,9 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7818 |
unmountOnExit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
|
7819 |
|
7820 |
/**
|
7821 |
-
*
|
7822 |
-
*
|
7823 |
-
*
|
7824 |
-
* as the `<Transition>` mounts.
|
7825 |
*
|
7826 |
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
7827 |
* > only adds an additional enter transition. However, in the
|
@@ -7881,7 +9161,9 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7881 |
/**
|
7882 |
* Add a custom transition end trigger. Called with the transitioning
|
7883 |
* DOM node and a `done` callback. Allows for more fine grained transition end
|
7884 |
-
* logic.
|
|
|
|
|
7885 |
*
|
7886 |
* ```jsx
|
7887 |
* addEndListener={(node, done) => {
|
@@ -7896,6 +9178,8 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7896 |
* Callback fired before the "entering" status is applied. An extra parameter
|
7897 |
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
7898 |
*
|
|
|
|
|
7899 |
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
7900 |
*/
|
7901 |
onEnter: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
@@ -7904,6 +9188,8 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7904 |
* Callback fired after the "entering" status is applied. An extra parameter
|
7905 |
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
7906 |
*
|
|
|
|
|
7907 |
* @type Function(node: HtmlElement, isAppearing: bool)
|
7908 |
*/
|
7909 |
onEntering: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
@@ -7912,6 +9198,8 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7912 |
* Callback fired after the "entered" status is applied. An extra parameter
|
7913 |
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
7914 |
*
|
|
|
|
|
7915 |
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
7916 |
*/
|
7917 |
onEntered: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
@@ -7919,6 +9207,8 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7919 |
/**
|
7920 |
* Callback fired before the "exiting" status is applied.
|
7921 |
*
|
|
|
|
|
7922 |
* @type Function(node: HtmlElement) -> void
|
7923 |
*/
|
7924 |
onExit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
@@ -7926,6 +9216,8 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7926 |
/**
|
7927 |
* Callback fired after the "exiting" status is applied.
|
7928 |
*
|
|
|
|
|
7929 |
* @type Function(node: HtmlElement) -> void
|
7930 |
*/
|
7931 |
onExiting: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
@@ -7933,11 +9225,12 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
7933 |
/**
|
7934 |
* Callback fired after the "exited" status is applied.
|
7935 |
*
|
|
|
|
|
7936 |
* @type Function(node: HtmlElement) -> void
|
7937 |
*/
|
7938 |
-
onExited: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func
|
7939 |
-
|
7940 |
-
} : {};
|
7941 |
|
7942 |
function noop() {}
|
7943 |
|
@@ -7955,16 +9248,16 @@ Transition.defaultProps = {
|
|
7955 |
onExiting: noop,
|
7956 |
onExited: noop
|
7957 |
};
|
7958 |
-
Transition.UNMOUNTED =
|
7959 |
-
Transition.EXITED =
|
7960 |
-
Transition.ENTERING =
|
7961 |
-
Transition.ENTERED =
|
7962 |
-
Transition.EXITING =
|
7963 |
/* harmony default export */ __webpack_exports__["d"] = (Transition);
|
7964 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
7965 |
|
7966 |
/***/ }),
|
7967 |
-
/*
|
7968 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7969 |
|
7970 |
"use strict";
|
@@ -7974,115 +9267,31 @@ Transition.EXITING = 4;
|
|
7974 |
/* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
|
7975 |
|
7976 |
/***/ }),
|
7977 |
-
/*
|
7978 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7979 |
|
7980 |
"use strict";
|
7981 |
-
/*
|
7982 |
-
/* harmony
|
7983 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
7984 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__ = __webpack_require__(26);
|
7985 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
7986 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
7987 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__merge__ = __webpack_require__(79);
|
7988 |
-
|
7989 |
-
|
7990 |
|
7991 |
|
7992 |
-
// The breakpoint **start** at this value.
|
7993 |
-
// For instance with the first breakpoint xs: [xs, sm[.
|
7994 |
-
|
7995 |
-
var values = {
|
7996 |
-
xs: 0,
|
7997 |
-
sm: 600,
|
7998 |
-
md: 960,
|
7999 |
-
lg: 1280,
|
8000 |
-
xl: 1920
|
8001 |
-
};
|
8002 |
-
var defaultBreakpoints = {
|
8003 |
-
// Sorted ASC by size. That's important.
|
8004 |
-
// It can't be configured as it's used statically for propTypes.
|
8005 |
-
keys: ['xs', 'sm', 'md', 'lg', 'xl'],
|
8006 |
-
up: function up(key) {
|
8007 |
-
return "@media (min-width:".concat(values[key], "px)");
|
8008 |
-
}
|
8009 |
-
};
|
8010 |
-
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
8011 |
-
if (process.env.NODE_ENV !== 'production') {
|
8012 |
-
if (!props.theme) {
|
8013 |
-
console.error('@material-ui/system: you are calling a style function without a theme value.');
|
8014 |
-
}
|
8015 |
-
}
|
8016 |
-
|
8017 |
-
if (Array.isArray(propValue)) {
|
8018 |
-
var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
8019 |
-
return propValue.reduce(function (acc, item, index) {
|
8020 |
-
acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
|
8021 |
-
return acc;
|
8022 |
-
}, {});
|
8023 |
-
}
|
8024 |
-
|
8025 |
-
if (Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__["a" /* default */])(propValue) === 'object') {
|
8026 |
-
var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
8027 |
-
|
8028 |
-
return Object.keys(propValue).reduce(function (acc, breakpoint) {
|
8029 |
-
acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
|
8030 |
-
return acc;
|
8031 |
-
}, {});
|
8032 |
-
}
|
8033 |
-
|
8034 |
-
var output = styleFromPropValue(propValue);
|
8035 |
-
return output;
|
8036 |
-
}
|
8037 |
-
|
8038 |
-
function breakpoints(styleFunction) {
|
8039 |
-
var newStyleFunction = function newStyleFunction(props) {
|
8040 |
-
var base = styleFunction(props);
|
8041 |
-
var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
8042 |
-
var extended = themeBreakpoints.keys.reduce(function (acc, key) {
|
8043 |
-
if (props[key]) {
|
8044 |
-
acc = acc || {};
|
8045 |
-
acc[themeBreakpoints.up(key)] = styleFunction(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
8046 |
-
theme: props.theme
|
8047 |
-
}, props[key]));
|
8048 |
-
}
|
8049 |
-
|
8050 |
-
return acc;
|
8051 |
-
}, null);
|
8052 |
-
return Object(__WEBPACK_IMPORTED_MODULE_4__merge__["a" /* default */])(base, extended);
|
8053 |
-
};
|
8054 |
-
|
8055 |
-
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, styleFunction.propTypes, {
|
8056 |
-
xs: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
8057 |
-
sm: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
8058 |
-
md: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
8059 |
-
lg: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
8060 |
-
xl: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
|
8061 |
-
}) : {};
|
8062 |
-
newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(styleFunction.filterProps));
|
8063 |
-
return newStyleFunction;
|
8064 |
-
}
|
8065 |
-
|
8066 |
-
/* unused harmony default export */ var _unused_webpack_default_export = (breakpoints);
|
8067 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
8068 |
-
|
8069 |
/***/ }),
|
8070 |
-
/*
|
8071 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8072 |
|
8073 |
"use strict";
|
8074 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Button__ = __webpack_require__(
|
8075 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Button__["a"]; });
|
8076 |
|
8077 |
|
8078 |
/***/ }),
|
8079 |
-
/*
|
8080 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8081 |
|
8082 |
"use strict";
|
8083 |
/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
|
8084 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
8085 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(
|
8086 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
8087 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
|
8088 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
|
@@ -8090,10 +9299,10 @@ function breakpoints(styleFunction) {
|
|
8090 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
8091 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
|
8092 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__ = __webpack_require__(7);
|
8093 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_useControlled__ = __webpack_require__(
|
8094 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__FormControl_useFormControl__ = __webpack_require__(
|
8095 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_withStyles__ = __webpack_require__(6);
|
8096 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__IconButton__ = __webpack_require__(
|
8097 |
|
8098 |
|
8099 |
|
@@ -8128,7 +9337,7 @@ var styles = {
|
|
8128 |
* @ignore - internal component.
|
8129 |
*/
|
8130 |
|
8131 |
-
var SwitchBase =
|
8132 |
var autoFocus = props.autoFocus,
|
8133 |
checkedProp = props.checked,
|
8134 |
checkedIcon = props.checkedIcon,
|
@@ -8154,7 +9363,8 @@ var SwitchBase = __WEBPACK_IMPORTED_MODULE_3_react___default.a.forwardRef(functi
|
|
8154 |
var _useControlled = Object(__WEBPACK_IMPORTED_MODULE_7__utils_useControlled__["a" /* default */])({
|
8155 |
controlled: checkedProp,
|
8156 |
default: Boolean(defaultChecked),
|
8157 |
-
name: 'SwitchBase'
|
|
|
8158 |
}),
|
8159 |
_useControlled2 = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_useControlled, 2),
|
8160 |
checked = _useControlled2[0],
|
@@ -8187,6 +9397,7 @@ var SwitchBase = __WEBPACK_IMPORTED_MODULE_3_react___default.a.forwardRef(functi
|
|
8187 |
setCheckedState(newChecked);
|
8188 |
|
8189 |
if (onChange) {
|
|
|
8190 |
onChange(event, newChecked);
|
8191 |
}
|
8192 |
};
|
@@ -8200,7 +9411,7 @@ var SwitchBase = __WEBPACK_IMPORTED_MODULE_3_react___default.a.forwardRef(functi
|
|
8200 |
}
|
8201 |
|
8202 |
var hasLabelFor = type === 'checkbox' || type === 'radio';
|
8203 |
-
return
|
8204 |
component: "span",
|
8205 |
className: Object(__WEBPACK_IMPORTED_MODULE_5_clsx__["a" /* default */])(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
8206 |
disabled: disabled,
|
@@ -8209,7 +9420,7 @@ var SwitchBase = __WEBPACK_IMPORTED_MODULE_3_react___default.a.forwardRef(functi
|
|
8209 |
onFocus: handleFocus,
|
8210 |
onBlur: handleBlur,
|
8211 |
ref: ref
|
8212 |
-
}, other),
|
8213 |
autoFocus: autoFocus,
|
8214 |
checked: checkedProp,
|
8215 |
defaultChecked: defaultChecked,
|
@@ -8283,7 +9494,7 @@ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
|
|
8283 |
/**
|
8284 |
* Pass a ref to the `input` element.
|
8285 |
*/
|
8286 |
-
inputRef: __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__["
|
8287 |
|
8288 |
/*
|
8289 |
* @ignore
|
@@ -8340,25 +9551,34 @@ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
|
|
8340 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
8341 |
|
8342 |
/***/ }),
|
8343 |
-
/*
|
8344 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8345 |
|
8346 |
"use strict";
|
8347 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Chip__ = __webpack_require__(
|
8348 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Chip__["a"]; });
|
8349 |
|
8350 |
|
8351 |
/***/ }),
|
8352 |
-
/*
|
8353 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8354 |
|
8355 |
"use strict";
|
8356 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__ = __webpack_require__(
|
8357 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__["a"]; });
|
8358 |
|
8359 |
|
8360 |
/***/ }),
|
8361 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8362 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8363 |
|
8364 |
"use strict";
|
@@ -8372,14 +9592,14 @@ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
|
|
8372 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
8373 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
8374 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
|
8375 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Modal__ = __webpack_require__(
|
8376 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Backdrop__ = __webpack_require__(
|
8377 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
|
8378 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Slide__ = __webpack_require__(
|
8379 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Paper__ = __webpack_require__(
|
8380 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_capitalize__ = __webpack_require__(
|
8381 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__styles_transitions__ = __webpack_require__(
|
8382 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(
|
8383 |
|
8384 |
|
8385 |
|
@@ -8499,7 +9719,7 @@ var defaultTransitionDuration = {
|
|
8499 |
* when `variant="temporary"` is set.
|
8500 |
*/
|
8501 |
|
8502 |
-
var Drawer =
|
8503 |
var _props$anchor = props.anchor,
|
8504 |
anchorProp = _props$anchor === void 0 ? 'left' : _props$anchor,
|
8505 |
BackdropProps = props.BackdropProps,
|
@@ -8519,22 +9739,24 @@ var Drawer = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function D
|
|
8519 |
_props$PaperProps = props.PaperProps,
|
8520 |
PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,
|
8521 |
SlideProps = props.SlideProps,
|
|
|
|
|
8522 |
_props$transitionDura = props.transitionDuration,
|
8523 |
transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
|
8524 |
_props$variant = props.variant,
|
8525 |
variant = _props$variant === void 0 ? 'temporary' : _props$variant,
|
8526 |
-
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["anchor", "BackdropProps", "children", "classes", "className", "elevation", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "transitionDuration", "variant"]);
|
8527 |
|
8528 |
var theme = Object(__WEBPACK_IMPORTED_MODULE_12__styles_useTheme__["a" /* default */])(); // Let's assume that the Drawer will always be rendered on user space.
|
8529 |
// We use this state is order to skip the appear transition during the
|
8530 |
// initial mount of the component.
|
8531 |
|
8532 |
-
var mounted =
|
8533 |
-
|
8534 |
mounted.current = true;
|
8535 |
}, []);
|
8536 |
var anchor = getAnchor(theme, anchorProp);
|
8537 |
-
var drawer =
|
8538 |
elevation: variant === 'temporary' ? elevation : 0,
|
8539 |
square: true
|
8540 |
}, PaperProps, {
|
@@ -8542,13 +9764,13 @@ var Drawer = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function D
|
|
8542 |
}), children);
|
8543 |
|
8544 |
if (variant === 'permanent') {
|
8545 |
-
return
|
8546 |
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.docked, className),
|
8547 |
ref: ref
|
8548 |
}, other), drawer);
|
8549 |
}
|
8550 |
|
8551 |
-
var slidingDrawer =
|
8552 |
in: open,
|
8553 |
direction: oppositeDirection[anchor],
|
8554 |
timeout: transitionDuration,
|
@@ -8556,15 +9778,15 @@ var Drawer = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function D
|
|
8556 |
}, SlideProps), drawer);
|
8557 |
|
8558 |
if (variant === 'persistent') {
|
8559 |
-
return
|
8560 |
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.docked, className),
|
8561 |
ref: ref
|
8562 |
}, other), slidingDrawer);
|
8563 |
} // variant === temporary
|
8564 |
|
8565 |
|
8566 |
-
return
|
8567 |
-
BackdropProps: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, BackdropProps,
|
8568 |
transitionDuration: transitionDuration
|
8569 |
}),
|
8570 |
BackdropComponent: __WEBPACK_IMPORTED_MODULE_6__Backdrop__["a" /* default */],
|
@@ -8575,10 +9797,15 @@ var Drawer = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function D
|
|
8575 |
}, other, ModalProps), slidingDrawer);
|
8576 |
});
|
8577 |
process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
|
|
|
|
|
|
|
|
|
|
|
8578 |
/**
|
8579 |
* Side from which the drawer will appear.
|
8580 |
*/
|
8581 |
-
anchor: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['
|
8582 |
|
8583 |
/**
|
8584 |
* @ignore
|
@@ -8594,7 +9821,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
|
|
8594 |
* Override or extend the styles applied to the component.
|
8595 |
* See [CSS API](#css) below for more details.
|
8596 |
*/
|
8597 |
-
classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
|
8598 |
|
8599 |
/**
|
8600 |
* @ignore
|
@@ -8638,6 +9865,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
|
|
8638 |
* You may specify a single timeout for all transitions, or individually with an object.
|
8639 |
*/
|
8640 |
transitionDuration: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.shape({
|
|
|
8641 |
enter: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number,
|
8642 |
exit: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number
|
8643 |
})]),
|
@@ -8654,25 +9882,25 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
|
|
8654 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
8655 |
|
8656 |
/***/ }),
|
8657 |
-
/*
|
8658 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8659 |
|
8660 |
"use strict";
|
8661 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slide__ = __webpack_require__(
|
8662 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Slide__["a"]; });
|
8663 |
|
8664 |
|
8665 |
/***/ }),
|
8666 |
-
/*
|
8667 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8668 |
|
8669 |
"use strict";
|
8670 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__ = __webpack_require__(
|
8671 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__["a"]; });
|
8672 |
|
8673 |
|
8674 |
/***/ }),
|
8675 |
-
/*
|
8676 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8677 |
|
8678 |
"use strict";
|
@@ -8710,202 +9938,839 @@ function isAdornedStart(obj) {
|
|
8710 |
}
|
8711 |
|
8712 |
/***/ }),
|
8713 |
-
/*
|
8714 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8715 |
|
8716 |
"use strict";
|
8717 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormGroup__ = __webpack_require__(
|
8718 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormGroup__["a"]; });
|
8719 |
|
8720 |
|
8721 |
/***/ }),
|
8722 |
-
/*
|
8723 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8724 |
|
8725 |
"use strict";
|
8726 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormHelperText__ = __webpack_require__(
|
8727 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormHelperText__["a"]; });
|
8728 |
|
8729 |
|
8730 |
/***/ }),
|
8731 |
-
/*
|
8732 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8733 |
|
8734 |
"use strict";
|
8735 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormLabel__ = __webpack_require__(
|
8736 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormLabel__["a"]; });
|
8737 |
|
8738 |
|
8739 |
/***/ }),
|
8740 |
-
/*
|
8741 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8742 |
|
8743 |
"use strict";
|
8744 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__ = __webpack_require__(
|
8745 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__["a"]; });
|
8746 |
|
8747 |
|
8748 |
/***/ }),
|
8749 |
-
/*
|
8750 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8751 |
|
8752 |
"use strict";
|
8753 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputLabel__ = __webpack_require__(
|
8754 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputLabel__["a"]; });
|
8755 |
|
8756 |
|
8757 |
/***/ }),
|
8758 |
-
/*
|
8759 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8760 |
|
8761 |
"use strict";
|
8762 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__LinearProgress__ = __webpack_require__(
|
8763 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__LinearProgress__["a"]; });
|
8764 |
|
8765 |
|
8766 |
/***/ }),
|
8767 |
-
/*
|
8768 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8769 |
|
8770 |
"use strict";
|
8771 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__List__ = __webpack_require__(
|
8772 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__List__["a"]; });
|
8773 |
|
8774 |
|
8775 |
/***/ }),
|
8776 |
-
/*
|
8777 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8778 |
|
8779 |
"use strict";
|
8780 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItem__ = __webpack_require__(
|
8781 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListItem__["a"]; });
|
8782 |
|
8783 |
|
8784 |
/***/ }),
|
8785 |
-
/*
|
8786 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8787 |
|
8788 |
"use strict";
|
8789 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListSubheader__ = __webpack_require__(
|
8790 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListSubheader__["a"]; });
|
8791 |
|
8792 |
|
8793 |
/***/ }),
|
8794 |
-
/*
|
8795 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8796 |
|
8797 |
"use strict";
|
8798 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popover__ = __webpack_require__(
|
8799 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popover__["a"]; });
|
8800 |
|
8801 |
|
8802 |
/***/ }),
|
8803 |
-
/*
|
8804 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8805 |
|
8806 |
"use strict";
|
8807 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuList__ = __webpack_require__(
|
8808 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuList__["a"]; });
|
8809 |
|
8810 |
|
8811 |
/***/ }),
|
8812 |
-
/*
|
8813 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8814 |
|
8815 |
"use strict";
|
8816 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuItem__ = __webpack_require__(
|
8817 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuItem__["a"]; });
|
8818 |
|
8819 |
|
8820 |
/***/ }),
|
8821 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8822 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8823 |
|
8824 |
"use strict";
|
8825 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__ = __webpack_require__(
|
8826 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__["a"]; });
|
8827 |
|
8828 |
|
8829 |
/***/ }),
|
8830 |
-
/*
|
8831 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8832 |
|
8833 |
"use strict";
|
8834 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepLabel__ = __webpack_require__(
|
8835 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepLabel__["a"]; });
|
8836 |
|
8837 |
|
8838 |
/***/ }),
|
8839 |
-
/*
|
8840 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8841 |
|
8842 |
"use strict";
|
8843 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepIcon__ = __webpack_require__(
|
8844 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepIcon__["a"]; });
|
8845 |
|
8846 |
|
8847 |
/***/ }),
|
8848 |
-
/*
|
8849 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8850 |
|
8851 |
"use strict";
|
8852 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepConnector__ = __webpack_require__(
|
8853 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepConnector__["a"]; });
|
8854 |
|
8855 |
|
8856 |
/***/ }),
|
8857 |
-
/*
|
8858 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8859 |
|
8860 |
"use strict";
|
8861 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableCell__ = __webpack_require__(
|
8862 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TableCell__["a"]; });
|
8863 |
|
8864 |
|
8865 |
/***/ }),
|
8866 |
-
/*
|
8867 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8868 |
|
8869 |
"use strict";
|
8870 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Toolbar__ = __webpack_require__(
|
8871 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Toolbar__["a"]; });
|
8872 |
|
8873 |
|
8874 |
/***/ }),
|
8875 |
-
/*
|
8876 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8877 |
|
8878 |
"use strict";
|
8879 |
-
/* harmony import */ var
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8880 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Zoom__["a"]; });
|
8881 |
|
8882 |
|
8883 |
/***/ }),
|
8884 |
-
/*
|
8885 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8886 |
|
8887 |
"use strict";
|
8888 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__PaginationItem__ = __webpack_require__(
|
8889 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__PaginationItem__["a"]; });
|
8890 |
|
8891 |
|
8892 |
/***/ }),
|
8893 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8894 |
/***/ (function(module, exports, __webpack_require__) {
|
8895 |
|
8896 |
"use strict";
|
8897 |
/* WEBPACK VAR INJECTION */(function(process) {
|
8898 |
|
8899 |
if (process.env.NODE_ENV === 'production') {
|
8900 |
-
module.exports = __webpack_require__(
|
8901 |
} else {
|
8902 |
-
module.exports = __webpack_require__(
|
8903 |
}
|
8904 |
|
8905 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
8906 |
|
8907 |
/***/ }),
|
8908 |
-
/*
|
8909 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8910 |
|
8911 |
"use strict";
|
@@ -8913,9 +10778,9 @@ if (process.env.NODE_ENV === 'production') {
|
|
8913 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
8914 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(2);
|
8915 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
8916 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant__ = __webpack_require__(
|
8917 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_invariant__);
|
8918 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_history__ = __webpack_require__(
|
8919 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
8920 |
|
8921 |
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
@@ -9022,30 +10887,30 @@ Link.contextTypes = {
|
|
9022 |
/* harmony default export */ __webpack_exports__["a"] = (Link);
|
9023 |
|
9024 |
/***/ }),
|
9025 |
-
/*
|
9026 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9027 |
|
9028 |
"use strict";
|
9029 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__ = __webpack_require__(
|
9030 |
// Written in this round about way for babel-transform-imports
|
9031 |
|
9032 |
|
9033 |
/* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__["a" /* default */]);
|
9034 |
|
9035 |
/***/ }),
|
9036 |
-
/*
|
9037 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9038 |
|
9039 |
"use strict";
|
9040 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(
|
9041 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
|
9042 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(
|
9043 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
|
9044 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
9045 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
9046 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
9047 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
9048 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__matchPath__ = __webpack_require__(
|
9049 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
9050 |
|
9051 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -9187,10 +11052,10 @@ Route.childContextTypes = {
|
|
9187 |
/* harmony default export */ __webpack_exports__["a"] = (Route);
|
9188 |
|
9189 |
/***/ }),
|
9190 |
-
/*
|
9191 |
/***/ (function(module, exports, __webpack_require__) {
|
9192 |
|
9193 |
-
var isarray = __webpack_require__(
|
9194 |
|
9195 |
/**
|
9196 |
* Expose `pathToRegexp`.
|
@@ -9619,11 +11484,11 @@ function pathToRegexp (path, keys, options) {
|
|
9619 |
|
9620 |
|
9621 |
/***/ }),
|
9622 |
-
/*
|
9623 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9624 |
|
9625 |
"use strict";
|
9626 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(
|
9627 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
|
9628 |
|
9629 |
|
@@ -9664,7 +11529,7 @@ var generatePath = function generatePath() {
|
|
9664 |
/* harmony default export */ __webpack_exports__["a"] = (generatePath);
|
9665 |
|
9666 |
/***/ }),
|
9667 |
-
/*
|
9668 |
/***/ (function(module, exports, __webpack_require__) {
|
9669 |
|
9670 |
"use strict";
|
@@ -9677,21 +11542,21 @@ exports["default"] = void 0;
|
|
9677 |
|
9678 |
var _react = _interopRequireWildcard(__webpack_require__(0));
|
9679 |
|
9680 |
-
var _reactRouterDom = __webpack_require__(
|
9681 |
|
9682 |
-
var _reactDom = _interopRequireDefault(__webpack_require__(
|
9683 |
|
9684 |
-
__webpack_require__(
|
9685 |
|
9686 |
-
var _QuadsAdConfig = _interopRequireDefault(__webpack_require__(
|
9687 |
|
9688 |
-
var _QuadsAdTargeting = _interopRequireDefault(__webpack_require__(
|
9689 |
|
9690 |
-
var _QuadsAdPublish = _interopRequireDefault(__webpack_require__(
|
9691 |
|
9692 |
-
var _queryString = _interopRequireDefault(__webpack_require__(
|
9693 |
|
9694 |
-
var _Icon = _interopRequireDefault(__webpack_require__(
|
9695 |
|
9696 |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
9697 |
|
@@ -9705,11 +11570,15 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
9705 |
|
9706 |
function _readOnlyError(name) { throw new Error("\"" + name + "\" is read-only"); }
|
9707 |
|
9708 |
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
|
|
|
9709 |
|
9710 |
-
function
|
9711 |
|
9712 |
-
function
|
|
|
|
|
9713 |
|
9714 |
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
9715 |
|
@@ -9723,23 +11592,27 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
9723 |
|
9724 |
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
9725 |
|
9726 |
-
function
|
9727 |
|
9728 |
-
function
|
|
|
|
|
|
|
|
|
9729 |
|
9730 |
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
9731 |
|
9732 |
-
function
|
9733 |
|
9734 |
-
function
|
9735 |
|
9736 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
9737 |
|
9738 |
-
var QuadsAdCreateRouter =
|
9739 |
-
/*#__PURE__*/
|
9740 |
-
function (_Component) {
|
9741 |
_inherits(QuadsAdCreateRouter, _Component);
|
9742 |
|
|
|
|
|
9743 |
function QuadsAdCreateRouter(props) {
|
9744 |
var _this;
|
9745 |
|
@@ -9755,7 +11628,7 @@ function (_Component) {
|
|
9755 |
value: "post"
|
9756 |
}
|
9757 |
}];
|
9758 |
-
_this =
|
9759 |
|
9760 |
_defineProperty(_assertThisInitialized(_this), "updateVisitorTarget", function (include, exclude) {
|
9761 |
_this.includedVal = include;
|
@@ -9773,6 +11646,11 @@ function (_Component) {
|
|
9773 |
|
9774 |
_defineProperty(_assertThisInitialized(_this), "getAdDataById", function (ad_id) {
|
9775 |
var url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id?ad-id=' + ad_id;
|
|
|
|
|
|
|
|
|
|
|
9776 |
fetch(url, {
|
9777 |
headers: {
|
9778 |
'X-WP-Nonce': quads_localize_data.nonce
|
@@ -10132,7 +12010,7 @@ function (_Component) {
|
|
10132 |
break;
|
10133 |
|
10134 |
case 'adsense':
|
10135 |
-
if (validation_flag && quads_post_meta.g_data_ad_slot && quads_post_meta.g_data_ad_client && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
10136 |
_this.saveAdFormData('publish');
|
10137 |
} else {
|
10138 |
_this.setState({
|
@@ -10176,7 +12054,7 @@ function (_Component) {
|
|
10176 |
break;
|
10177 |
|
10178 |
case 'mgid':
|
10179 |
-
if (validation_flag && quads_post_meta.
|
10180 |
_this.saveAdFormData('publish');
|
10181 |
} else {
|
10182 |
_this.setState({
|
@@ -10197,6 +12075,61 @@ function (_Component) {
|
|
10197 |
|
10198 |
break;
|
10199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10200 |
default:
|
10201 |
break;
|
10202 |
}
|
@@ -10258,7 +12191,7 @@ function (_Component) {
|
|
10258 |
break;
|
10259 |
|
10260 |
case 'adsense':
|
10261 |
-
if (quads_post_meta.g_data_ad_slot && quads_post_meta.g_data_ad_client) {
|
10262 |
_this.props.history.push(new_url);
|
10263 |
} else {
|
10264 |
_this.setState({
|
@@ -10302,7 +12235,7 @@ function (_Component) {
|
|
10302 |
break;
|
10303 |
|
10304 |
case 'mgid':
|
10305 |
-
if (quads_post_meta.
|
10306 |
_this.props.history.push(new_url);
|
10307 |
} else {
|
10308 |
_this.setState({
|
@@ -10323,6 +12256,61 @@ function (_Component) {
|
|
10323 |
|
10324 |
break;
|
10325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10326 |
default:
|
10327 |
break;
|
10328 |
}
|
@@ -10393,6 +12381,8 @@ function (_Component) {
|
|
10393 |
ad_id: '',
|
10394 |
ad_type: '',
|
10395 |
label: '',
|
|
|
|
|
10396 |
g_data_ad_slot: '',
|
10397 |
g_data_ad_client: '',
|
10398 |
adsense_type: '',
|
@@ -10413,13 +12403,21 @@ function (_Component) {
|
|
10413 |
enabled_on_amp: false,
|
10414 |
enable_on_end_of_post: false,
|
10415 |
after_the_percentage_value: 50,
|
|
|
10416 |
image_caption: false,
|
10417 |
include_dropdown: false,
|
10418 |
exclude_dropdown: false,
|
10419 |
random_ads_list: [],
|
10420 |
image_src: '',
|
10421 |
image_src_id: '',
|
10422 |
-
image_redirect_url: ''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10423 |
},
|
10424 |
quads_form_errors: {
|
10425 |
g_data_ad_slot: '',
|
@@ -10508,47 +12506,47 @@ function (_Component) {
|
|
10508 |
}, function (error) {});
|
10509 |
}
|
10510 |
|
10511 |
-
return _react["default"].createElement("div", null, this.state.quads_is_loaded ? _react["default"].createElement("div", {
|
10512 |
className: "quads-cover-spin"
|
10513 |
-
}) : '', _react["default"].createElement("form", {
|
10514 |
id: "quads-ad-form"
|
10515 |
-
}, _react["default"].createElement("div", {
|
10516 |
className: "material-icons quads-close-create-page"
|
10517 |
-
}, _react["default"].createElement("a", {
|
10518 |
onClick: this.quadsGoBack
|
10519 |
-
}, "close")), _react["default"].createElement("div", {
|
10520 |
className: "quads-ad-config-header"
|
10521 |
-
}, _react["default"].createElement("div", {
|
10522 |
className: "quads-ad-input"
|
10523 |
-
}, _react["default"].createElement("input", {
|
10524 |
value: this.state.quads_post_meta.label,
|
10525 |
type: "text",
|
10526 |
onChange: this.adFormChangeHandler,
|
10527 |
name: "label",
|
10528 |
placeholder: __('Name your ad unit', 'quick-adsense-reloaded')
|
10529 |
-
}), _react["default"].createElement("input", {
|
10530 |
type: "hidden",
|
10531 |
name: "ad_id",
|
10532 |
value: this.state.quads_post_meta.ad_id
|
10533 |
-
}), _react["default"].createElement("input", {
|
10534 |
type: "hidden",
|
10535 |
name: "ad_type",
|
10536 |
value: this.state.quads_post_meta.ad_type
|
10537 |
-
})), _react["default"].createElement("div", {
|
10538 |
className: "quads-ad-config-menu"
|
10539 |
-
}, _react["default"].createElement("div", {
|
10540 |
className: "quads-ad-config-tab"
|
10541 |
-
}, _react["default"].createElement("ul", null, _react["default"].createElement("li", {
|
10542 |
className: "".concat(page.path == 'wizard' ? 'quads-selected' : '')
|
10543 |
-
}, __('Configuration', 'quick-adsense-reloaded')), _react["default"].createElement("li", {
|
10544 |
className: "".concat(page.path == 'wizard_target' ? 'quads-selected' : '')
|
10545 |
-
}, __('Targeting', 'quick-adsense-reloaded')), _react["default"].createElement("li", {
|
10546 |
className: "".concat(page.path == 'wizard_publish' ? 'quads-selected' : '')
|
10547 |
-
}, __('Publish', 'quick-adsense-reloaded')))))), _react["default"].createElement(_reactRouterDom.Route, {
|
10548 |
render: function render(props) {
|
10549 |
switch (page.path) {
|
10550 |
case "wizard":
|
10551 |
-
return _react["default"].createElement(_QuadsAdConfig["default"], _extends({}, props, {
|
10552 |
moveNext: _this2.moveNext,
|
10553 |
parentState: _this2.state,
|
10554 |
adFormChangeHandler: _this2.adFormChangeHandler,
|
@@ -10560,7 +12558,7 @@ function (_Component) {
|
|
10560 |
}));
|
10561 |
|
10562 |
case "wizard_target":
|
10563 |
-
return _react["default"].createElement(_QuadsAdTargeting["default"], _extends({}, props, _defineProperty({
|
10564 |
parentState: _this2.state,
|
10565 |
updateVisitorTarget: _this2.updateVisitorTarget,
|
10566 |
updateVisibility: _this2.updateVisibility,
|
@@ -10571,7 +12569,7 @@ function (_Component) {
|
|
10571 |
}, "updateVisitorTarget", _this2.updateVisitorTarget)));
|
10572 |
|
10573 |
case "wizard_publish":
|
10574 |
-
return _react["default"].createElement(_QuadsAdPublish["default"], _extends({}, props, {
|
10575 |
parentState: _this2.state,
|
10576 |
adFormChangeHandler: _this2.adFormChangeHandler,
|
10577 |
movePrev: _this2.movePrev
|
@@ -10592,7 +12590,7 @@ var _default = QuadsAdCreateRouter;
|
|
10592 |
exports["default"] = _default;
|
10593 |
|
10594 |
/***/ }),
|
10595 |
-
/*
|
10596 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10597 |
|
10598 |
"use strict";
|
@@ -10600,16 +12598,16 @@ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
10600 |
/* harmony default export */ __webpack_exports__["a"] = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');
|
10601 |
|
10602 |
/***/ }),
|
10603 |
-
/*
|
10604 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10605 |
|
10606 |
"use strict";
|
10607 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStyles__ = __webpack_require__(
|
10608 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createStyles__["a"]; });
|
10609 |
|
10610 |
|
10611 |
/***/ }),
|
10612 |
-
/*
|
10613 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10614 |
|
10615 |
"use strict";
|
@@ -10622,17 +12620,33 @@ var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window))
|
|
10622 |
|
10623 |
|
10624 |
/***/ }),
|
10625 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10626 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10627 |
|
10628 |
"use strict";
|
10629 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _iterableToArray;
|
10630 |
function _iterableToArray(iter) {
|
10631 |
-
if (Symbol.iterator in Object(iter)
|
10632 |
}
|
10633 |
|
10634 |
/***/ }),
|
10635 |
-
/*
|
10636 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10637 |
|
10638 |
"use strict";
|
@@ -10649,12 +12663,13 @@ if (process.env.NODE_ENV !== 'production') {
|
|
10649 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
10650 |
|
10651 |
/***/ }),
|
10652 |
-
/*
|
10653 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10654 |
|
10655 |
"use strict";
|
10656 |
/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export sheetsManager */
|
10657 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StylesContext; });
|
|
|
10658 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
10659 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
10660 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
@@ -10662,9 +12677,9 @@ if (process.env.NODE_ENV !== 'production') {
|
|
10662 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
10663 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
10664 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
|
10665 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createGenerateClassName__ = __webpack_require__(
|
10666 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_jss__ = __webpack_require__(
|
10667 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__jssPreset__ = __webpack_require__(
|
10668 |
|
10669 |
|
10670 |
|
@@ -10697,7 +12712,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
10697 |
}
|
10698 |
|
10699 |
var injectFirstNode;
|
10700 |
-
|
10701 |
function StylesProvider(props) {
|
10702 |
var children = props.children,
|
10703 |
_props$injectFirst = props.injectFirst,
|
@@ -10708,25 +12722,25 @@ function StylesProvider(props) {
|
|
10708 |
|
10709 |
var outerOptions = __WEBPACK_IMPORTED_MODULE_2_react___default.a.useContext(StylesContext);
|
10710 |
|
10711 |
-
var context = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, outerOptions, {
|
10712 |
disableGeneration: disableGeneration
|
10713 |
}, localOptions);
|
10714 |
|
10715 |
if (process.env.NODE_ENV !== 'production') {
|
10716 |
if (typeof window === 'undefined' && !context.sheetsManager) {
|
10717 |
-
console.error('Material-UI:
|
10718 |
}
|
10719 |
}
|
10720 |
|
10721 |
if (process.env.NODE_ENV !== 'production') {
|
10722 |
if (context.jss.options.insertionPoint && injectFirst) {
|
10723 |
-
console.error('Material-UI:
|
10724 |
}
|
10725 |
}
|
10726 |
|
10727 |
if (process.env.NODE_ENV !== 'production') {
|
10728 |
if (injectFirst && localOptions.jss) {
|
10729 |
-
console.error('Material-UI:
|
10730 |
}
|
10731 |
}
|
10732 |
|
@@ -10743,11 +12757,10 @@ function StylesProvider(props) {
|
|
10743 |
});
|
10744 |
}
|
10745 |
|
10746 |
-
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(StylesContext.Provider, {
|
10747 |
value: context
|
10748 |
}, children);
|
10749 |
}
|
10750 |
-
|
10751 |
process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = {
|
10752 |
/**
|
10753 |
* Your component tree.
|
@@ -10812,14 +12825,12 @@ process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = {
|
|
10812 |
} : void 0;
|
10813 |
|
10814 |
if (process.env.NODE_ENV !== 'production') {
|
10815 |
-
process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_utils__["
|
10816 |
}
|
10817 |
-
|
10818 |
-
/* harmony default export */ __webpack_exports__["b"] = (StylesProvider);
|
10819 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
10820 |
|
10821 |
/***/ }),
|
10822 |
-
/*
|
10823 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10824 |
|
10825 |
"use strict";
|
@@ -10828,54 +12839,54 @@ var noopTheme = {};
|
|
10828 |
/* harmony default export */ __webpack_exports__["a"] = (noopTheme);
|
10829 |
|
10830 |
/***/ }),
|
10831 |
-
/*
|
10832 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10833 |
|
10834 |
"use strict";
|
10835 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ServerStyleSheets__ = __webpack_require__(
|
10836 |
/* unused harmony reexport default */
|
10837 |
|
10838 |
|
10839 |
/***/ }),
|
10840 |
-
/*
|
10841 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10842 |
|
10843 |
"use strict";
|
10844 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__styled__ = __webpack_require__(
|
10845 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__styled__["a"]; });
|
10846 |
|
10847 |
|
10848 |
/***/ }),
|
10849 |
-
/*
|
10850 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10851 |
|
10852 |
"use strict";
|
10853 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ThemeProvider__ = __webpack_require__(
|
10854 |
/* unused harmony reexport default */
|
10855 |
|
10856 |
|
10857 |
/***/ }),
|
10858 |
-
/*
|
10859 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10860 |
|
10861 |
"use strict";
|
10862 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withStyles__ = __webpack_require__(
|
10863 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withStyles__["a"]; });
|
10864 |
|
10865 |
|
10866 |
/***/ }),
|
10867 |
-
/*
|
10868 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10869 |
|
10870 |
"use strict";
|
10871 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withTheme__ = __webpack_require__(
|
10872 |
/* unused harmony reexport default */
|
10873 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withTheme__["a"]; });
|
10874 |
|
10875 |
|
10876 |
|
10877 |
/***/ }),
|
10878 |
-
/*
|
10879 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10880 |
|
10881 |
"use strict";
|
@@ -10886,10 +12897,10 @@ var noopTheme = {};
|
|
10886 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
10887 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
10888 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
10889 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics__ = __webpack_require__(
|
10890 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics__);
|
10891 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__ = __webpack_require__(7);
|
10892 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__useTheme__ = __webpack_require__(
|
10893 |
|
10894 |
|
10895 |
|
@@ -10913,7 +12924,7 @@ function withThemeCreator() {
|
|
10913 |
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["innerRef"]);
|
10914 |
|
10915 |
var theme = Object(__WEBPACK_IMPORTED_MODULE_6__useTheme__["a" /* default */])() || defaultTheme;
|
10916 |
-
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(Component, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
10917 |
theme: theme,
|
10918 |
ref: innerRef || ref
|
10919 |
}, other));
|
@@ -10923,17 +12934,17 @@ function withThemeCreator() {
|
|
10923 |
* Use that prop to pass a ref to the decorated component.
|
10924 |
* @deprecated
|
10925 |
*/
|
10926 |
-
innerRef: Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["
|
10927 |
if (props.innerRef == null) {
|
10928 |
return null;
|
10929 |
}
|
10930 |
|
10931 |
-
return new Error('Material-UI:
|
10932 |
})
|
10933 |
} : void 0;
|
10934 |
|
10935 |
if (process.env.NODE_ENV !== 'production') {
|
10936 |
-
WithTheme.displayName = "WithTheme(".concat(Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["
|
10937 |
}
|
10938 |
|
10939 |
__WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics___default()(WithTheme, Component);
|
@@ -10956,115 +12967,7 @@ var withTheme = withThemeCreator();
|
|
10956 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
10957 |
|
10958 |
/***/ }),
|
10959 |
-
/*
|
10960 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10961 |
-
|
10962 |
-
"use strict";
|
10963 |
-
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(10);
|
10964 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
10965 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_utils__ = __webpack_require__(7);
|
10966 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createBreakpoints__ = __webpack_require__(155);
|
10967 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__createMixins__ = __webpack_require__(366);
|
10968 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createPalette__ = __webpack_require__(367);
|
10969 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__createTypography__ = __webpack_require__(368);
|
10970 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shadows__ = __webpack_require__(369);
|
10971 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shape__ = __webpack_require__(370);
|
10972 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__createSpacing__ = __webpack_require__(371);
|
10973 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__transitions__ = __webpack_require__(27);
|
10974 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__zIndex__ = __webpack_require__(164);
|
10975 |
-
|
10976 |
-
|
10977 |
-
|
10978 |
-
|
10979 |
-
|
10980 |
-
|
10981 |
-
|
10982 |
-
|
10983 |
-
|
10984 |
-
|
10985 |
-
|
10986 |
-
|
10987 |
-
|
10988 |
-
function createMuiTheme() {
|
10989 |
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
10990 |
-
|
10991 |
-
var _options$breakpoints = options.breakpoints,
|
10992 |
-
breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,
|
10993 |
-
_options$mixins = options.mixins,
|
10994 |
-
mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,
|
10995 |
-
_options$palette = options.palette,
|
10996 |
-
paletteInput = _options$palette === void 0 ? {} : _options$palette,
|
10997 |
-
spacingInput = options.spacing,
|
10998 |
-
_options$typography = options.typography,
|
10999 |
-
typographyInput = _options$typography === void 0 ? {} : _options$typography,
|
11000 |
-
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
11001 |
-
|
11002 |
-
var palette = Object(__WEBPACK_IMPORTED_MODULE_5__createPalette__["a" /* default */])(paletteInput);
|
11003 |
-
var breakpoints = Object(__WEBPACK_IMPORTED_MODULE_3__createBreakpoints__["a" /* default */])(breakpointsInput);
|
11004 |
-
var spacing = Object(__WEBPACK_IMPORTED_MODULE_9__createSpacing__["a" /* default */])(spacingInput);
|
11005 |
-
var muiTheme = Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["b" /* deepmerge */])({
|
11006 |
-
breakpoints: breakpoints,
|
11007 |
-
direction: 'ltr',
|
11008 |
-
mixins: Object(__WEBPACK_IMPORTED_MODULE_4__createMixins__["a" /* default */])(breakpoints, spacing, mixinsInput),
|
11009 |
-
overrides: {},
|
11010 |
-
// Inject custom styles
|
11011 |
-
palette: palette,
|
11012 |
-
props: {},
|
11013 |
-
// Provide default props
|
11014 |
-
shadows: __WEBPACK_IMPORTED_MODULE_7__shadows__["a" /* default */],
|
11015 |
-
typography: Object(__WEBPACK_IMPORTED_MODULE_6__createTypography__["a" /* default */])(palette, typographyInput),
|
11016 |
-
spacing: spacing,
|
11017 |
-
shape: __WEBPACK_IMPORTED_MODULE_8__shape__["a" /* default */],
|
11018 |
-
transitions: __WEBPACK_IMPORTED_MODULE_10__transitions__["a" /* default */],
|
11019 |
-
zIndex: __WEBPACK_IMPORTED_MODULE_11__zIndex__["a" /* default */]
|
11020 |
-
}, other);
|
11021 |
-
|
11022 |
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
11023 |
-
args[_key - 1] = arguments[_key];
|
11024 |
-
}
|
11025 |
-
|
11026 |
-
muiTheme = args.reduce(function (acc, argument) {
|
11027 |
-
return Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["b" /* deepmerge */])(acc, argument);
|
11028 |
-
}, muiTheme);
|
11029 |
-
|
11030 |
-
if (process.env.NODE_ENV !== 'production') {
|
11031 |
-
var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];
|
11032 |
-
|
11033 |
-
var traverse = function traverse(node, parentKey) {
|
11034 |
-
var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
11035 |
-
var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax
|
11036 |
-
|
11037 |
-
for (key in node) {
|
11038 |
-
var child = node[key];
|
11039 |
-
|
11040 |
-
if (depth === 1) {
|
11041 |
-
if (key.indexOf('Mui') === 0 && child) {
|
11042 |
-
traverse(child, key, depth + 1);
|
11043 |
-
}
|
11044 |
-
} else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
|
11045 |
-
if (process.env.NODE_ENV !== 'production') {
|
11046 |
-
console.error(["Material-UI: the `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
|
11047 |
-
root: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, "&$".concat(key), child)
|
11048 |
-
}, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
|
11049 |
-
} // Remove the style to prevent global conflicts.
|
11050 |
-
|
11051 |
-
|
11052 |
-
node[key] = {};
|
11053 |
-
}
|
11054 |
-
}
|
11055 |
-
};
|
11056 |
-
|
11057 |
-
traverse(muiTheme.overrides);
|
11058 |
-
}
|
11059 |
-
|
11060 |
-
return muiTheme;
|
11061 |
-
}
|
11062 |
-
|
11063 |
-
/* harmony default export */ __webpack_exports__["a"] = (createMuiTheme);
|
11064 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
11065 |
-
|
11066 |
-
/***/ }),
|
11067 |
-
/* 155 */
|
11068 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11069 |
|
11070 |
"use strict";
|
@@ -11141,7 +13044,7 @@ function createBreakpoints(breakpoints) {
|
|
11141 |
}
|
11142 |
|
11143 |
/***/ }),
|
11144 |
-
/*
|
11145 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11146 |
|
11147 |
"use strict";
|
@@ -11152,7 +13055,7 @@ var common = {
|
|
11152 |
/* harmony default export */ __webpack_exports__["a"] = (common);
|
11153 |
|
11154 |
/***/ }),
|
11155 |
-
/*
|
11156 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11157 |
|
11158 |
"use strict";
|
@@ -11175,7 +13078,7 @@ var grey = {
|
|
11175 |
/* harmony default export */ __webpack_exports__["a"] = (grey);
|
11176 |
|
11177 |
/***/ }),
|
11178 |
-
/*
|
11179 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11180 |
|
11181 |
"use strict";
|
@@ -11198,7 +13101,7 @@ var indigo = {
|
|
11198 |
/* harmony default export */ __webpack_exports__["a"] = (indigo);
|
11199 |
|
11200 |
/***/ }),
|
11201 |
-
/*
|
11202 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11203 |
|
11204 |
"use strict";
|
@@ -11221,7 +13124,7 @@ var pink = {
|
|
11221 |
/* harmony default export */ __webpack_exports__["a"] = (pink);
|
11222 |
|
11223 |
/***/ }),
|
11224 |
-
/*
|
11225 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11226 |
|
11227 |
"use strict";
|
@@ -11244,7 +13147,7 @@ var red = {
|
|
11244 |
/* harmony default export */ __webpack_exports__["a"] = (red);
|
11245 |
|
11246 |
/***/ }),
|
11247 |
-
/*
|
11248 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11249 |
|
11250 |
"use strict";
|
@@ -11267,7 +13170,7 @@ var orange = {
|
|
11267 |
/* harmony default export */ __webpack_exports__["a"] = (orange);
|
11268 |
|
11269 |
/***/ }),
|
11270 |
-
/*
|
11271 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11272 |
|
11273 |
"use strict";
|
@@ -11290,7 +13193,7 @@ var blue = {
|
|
11290 |
/* harmony default export */ __webpack_exports__["a"] = (blue);
|
11291 |
|
11292 |
/***/ }),
|
11293 |
-
/*
|
11294 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11295 |
|
11296 |
"use strict";
|
@@ -11313,598 +13216,1202 @@ var green = {
|
|
11313 |
/* harmony default export */ __webpack_exports__["a"] = (green);
|
11314 |
|
11315 |
/***/ }),
|
11316 |
-
/*
|
11317 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11318 |
|
11319 |
"use strict";
|
11320 |
-
|
11321 |
-
|
11322 |
-
|
11323 |
-
|
11324 |
-
|
11325 |
-
|
11326 |
-
|
11327 |
-
|
11328 |
-
|
11329 |
-
|
11330 |
-
};
|
11331 |
-
/* harmony
|
11332 |
-
|
11333 |
-
|
11334 |
-
/*
|
11335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11336 |
|
11337 |
-
"use strict";
|
11338 |
-
function areInputsEqual(newInputs, lastInputs) {
|
11339 |
-
if (newInputs.length !== lastInputs.length) {
|
11340 |
-
return false;
|
11341 |
-
}
|
11342 |
-
for (var i = 0; i < newInputs.length; i++) {
|
11343 |
-
if (newInputs[i] !== lastInputs[i]) {
|
11344 |
-
return false;
|
11345 |
-
}
|
11346 |
-
}
|
11347 |
-
return true;
|
11348 |
-
}
|
11349 |
|
11350 |
-
function memoizeOne(resultFn, isEqual) {
|
11351 |
-
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
11352 |
-
var lastThis;
|
11353 |
-
var lastArgs = [];
|
11354 |
-
var lastResult;
|
11355 |
-
var calledOnce = false;
|
11356 |
-
function memoized() {
|
11357 |
-
var newArgs = [];
|
11358 |
-
for (var _i = 0; _i < arguments.length; _i++) {
|
11359 |
-
newArgs[_i] = arguments[_i];
|
11360 |
-
}
|
11361 |
-
if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
|
11362 |
-
return lastResult;
|
11363 |
-
}
|
11364 |
-
lastResult = resultFn.apply(this, newArgs);
|
11365 |
-
calledOnce = true;
|
11366 |
-
lastThis = this;
|
11367 |
-
lastArgs = newArgs;
|
11368 |
-
return lastResult;
|
11369 |
-
}
|
11370 |
-
return memoized;
|
11371 |
-
}
|
11372 |
|
11373 |
-
/* harmony default export */ __webpack_exports__["a"] = (memoizeOne);
|
11374 |
|
11375 |
|
11376 |
-
/***/ }),
|
11377 |
-
/* 166 */
|
11378 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11379 |
|
11380 |
-
"use strict";
|
11381 |
-
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(167);
|
11382 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(374);
|
11383 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(375);
|
11384 |
|
11385 |
|
11386 |
|
11387 |
|
11388 |
-
// https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet
|
11389 |
-
// inlined to avoid umd wrapper and peerDep warnings/installing stylis
|
11390 |
-
// since we use stylis after closure compiler
|
11391 |
-
var delimiter = '/*|*/';
|
11392 |
-
var needle = delimiter + '}';
|
11393 |
|
11394 |
-
function toSheet(block) {
|
11395 |
-
if (block) {
|
11396 |
-
Sheet.current.insert(block + '}');
|
11397 |
-
}
|
11398 |
-
}
|
11399 |
|
11400 |
-
var Sheet = {
|
11401 |
-
current: null
|
11402 |
-
};
|
11403 |
-
var ruleSheet = function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {
|
11404 |
-
switch (context) {
|
11405 |
-
// property
|
11406 |
-
case 1:
|
11407 |
-
{
|
11408 |
-
switch (content.charCodeAt(0)) {
|
11409 |
-
case 64:
|
11410 |
-
{
|
11411 |
-
// @import
|
11412 |
-
Sheet.current.insert(content + ';');
|
11413 |
-
return '';
|
11414 |
-
}
|
11415 |
-
// charcode for l
|
11416 |
|
11417 |
-
case 108:
|
11418 |
-
{
|
11419 |
-
// charcode for b
|
11420 |
-
// this ignores label
|
11421 |
-
if (content.charCodeAt(2) === 98) {
|
11422 |
-
return '';
|
11423 |
-
}
|
11424 |
-
}
|
11425 |
-
}
|
11426 |
|
11427 |
-
break;
|
11428 |
-
}
|
11429 |
-
// selector
|
11430 |
|
11431 |
-
case 2:
|
11432 |
-
{
|
11433 |
-
if (ns === 0) return content + delimiter;
|
11434 |
-
break;
|
11435 |
-
}
|
11436 |
-
// at-rule
|
11437 |
|
11438 |
-
case 3:
|
11439 |
-
{
|
11440 |
-
switch (ns) {
|
11441 |
-
// @font-face, @page
|
11442 |
-
case 102:
|
11443 |
-
case 112:
|
11444 |
-
{
|
11445 |
-
Sheet.current.insert(selectors[0] + content);
|
11446 |
-
return '';
|
11447 |
-
}
|
11448 |
|
11449 |
-
default:
|
11450 |
-
{
|
11451 |
-
return content + (at === 0 ? delimiter : '');
|
11452 |
-
}
|
11453 |
-
}
|
11454 |
-
}
|
11455 |
|
11456 |
-
case -2:
|
11457 |
-
{
|
11458 |
-
content.split(needle).forEach(toSheet);
|
11459 |
-
}
|
11460 |
-
}
|
11461 |
-
};
|
11462 |
|
11463 |
-
var createCache = function createCache(options) {
|
11464 |
-
if (options === undefined) options = {};
|
11465 |
-
var key = options.key || 'css';
|
11466 |
-
var stylisOptions;
|
11467 |
|
11468 |
-
if (options.prefix !== undefined) {
|
11469 |
-
stylisOptions = {
|
11470 |
-
prefix: options.prefix
|
11471 |
-
};
|
11472 |
-
}
|
11473 |
|
11474 |
-
var stylis = new __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__["a" /* default */](stylisOptions);
|
11475 |
|
11476 |
-
if (process.env.NODE_ENV !== 'production') {
|
11477 |
-
// $FlowFixMe
|
11478 |
-
if (/[^a-z-]/.test(key)) {
|
11479 |
-
throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
|
11480 |
-
}
|
11481 |
-
}
|
11482 |
|
11483 |
-
|
|
|
|
|
11484 |
|
11485 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11486 |
|
11487 |
-
{
|
11488 |
-
container = options.container || document.head;
|
11489 |
-
var nodes = document.querySelectorAll("style[data-emotion-" + key + "]");
|
11490 |
-
Array.prototype.forEach.call(nodes, function (node) {
|
11491 |
-
var attrib = node.getAttribute("data-emotion-" + key); // $FlowFixMe
|
11492 |
|
11493 |
-
attrib.split(' ').forEach(function (id) {
|
11494 |
-
inserted[id] = true;
|
11495 |
-
});
|
11496 |
|
11497 |
-
|
11498 |
-
|
11499 |
-
|
11500 |
-
});
|
11501 |
}
|
11502 |
|
11503 |
-
|
11504 |
-
|
11505 |
-
{
|
11506 |
-
stylis.use(options.stylisPlugins)(ruleSheet);
|
11507 |
-
|
11508 |
-
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
11509 |
-
var name = serialized.name;
|
11510 |
-
Sheet.current = sheet;
|
11511 |
-
|
11512 |
-
if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
|
11513 |
-
var map = serialized.map;
|
11514 |
-
Sheet.current = {
|
11515 |
-
insert: function insert(rule) {
|
11516 |
-
sheet.insert(rule + map);
|
11517 |
-
}
|
11518 |
-
};
|
11519 |
-
}
|
11520 |
|
11521 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11522 |
|
11523 |
-
|
11524 |
-
|
11525 |
-
|
11526 |
-
};
|
11527 |
-
}
|
11528 |
|
11529 |
-
|
11530 |
-
|
11531 |
-
|
11532 |
-
var commentEnd = /\*\//g;
|
11533 |
-
stylis.use(function (context, content) {
|
11534 |
-
switch (context) {
|
11535 |
-
case -1:
|
11536 |
-
{
|
11537 |
-
while (commentStart.test(content)) {
|
11538 |
-
commentEnd.lastIndex = commentStart.lastIndex;
|
11539 |
|
11540 |
-
|
11541 |
-
|
11542 |
-
|
11543 |
-
}
|
11544 |
|
11545 |
-
|
11546 |
-
|
|
|
11547 |
|
11548 |
-
|
11549 |
-
|
11550 |
-
|
11551 |
-
|
11552 |
-
|
11553 |
-
|
11554 |
-
|
11555 |
-
|
11556 |
-
|
11557 |
-
|
11558 |
-
|
|
|
|
|
|
|
|
|
|
|
11559 |
|
11560 |
-
if (unsafePseudoClasses && cache.compat !== true) {
|
11561 |
-
unsafePseudoClasses.forEach(function (unsafePseudoClass) {
|
11562 |
-
var ignoreRegExp = new RegExp(unsafePseudoClass + ".*\\/\\* " + flag + " \\*\\/");
|
11563 |
-
var ignore = ignoreRegExp.test(content);
|
11564 |
|
11565 |
-
|
11566 |
-
|
11567 |
-
|
11568 |
-
|
11569 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11570 |
|
11571 |
-
|
11572 |
-
|
11573 |
-
|
11574 |
-
});
|
11575 |
-
}
|
11576 |
|
11577 |
-
|
11578 |
-
|
11579 |
-
|
11580 |
-
|
11581 |
-
|
11582 |
-
|
11583 |
-
|
11584 |
-
|
11585 |
-
|
11586 |
-
|
11587 |
-
|
11588 |
-
|
11589 |
-
|
11590 |
-
|
11591 |
-
|
11592 |
|
11593 |
-
/* harmony default export */ __webpack_exports__["a"] = (createCache);
|
11594 |
|
11595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11596 |
|
11597 |
/***/ }),
|
11598 |
-
/*
|
11599 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11600 |
|
11601 |
"use strict";
|
11602 |
-
/*
|
11603 |
-
/*
|
|
|
|
|
11604 |
|
11605 |
-
Based off glamor's StyleSheet, thanks Sunil ❤️
|
11606 |
|
11607 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11608 |
|
11609 |
-
|
11610 |
-
|
|
|
11611 |
|
11612 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11613 |
|
11614 |
-
import { StyleSheet } from '@emotion/sheet'
|
11615 |
|
11616 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11617 |
|
11618 |
-
|
11619 |
-
|
|
|
11620 |
|
11621 |
-
|
11622 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11623 |
|
11624 |
-
*/
|
11625 |
-
// $FlowFixMe
|
11626 |
-
function sheetForTag(tag) {
|
11627 |
-
if (tag.sheet) {
|
11628 |
-
// $FlowFixMe
|
11629 |
-
return tag.sheet;
|
11630 |
-
} // this weirdness brought to you by firefox
|
11631 |
|
11632 |
-
/* istanbul ignore next */
|
11633 |
|
|
|
|
|
|
|
11634 |
|
11635 |
-
|
11636 |
-
|
11637 |
-
|
11638 |
-
|
11639 |
-
|
11640 |
-
|
11641 |
-
|
11642 |
-
|
11643 |
-
|
11644 |
-
|
11645 |
-
|
11646 |
-
|
11647 |
-
|
11648 |
-
|
11649 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11650 |
|
11651 |
-
|
11652 |
-
|
11653 |
-
|
11654 |
|
11655 |
-
|
11656 |
-
|
11657 |
-
|
11658 |
-
|
11659 |
-
|
11660 |
-
|
11661 |
-
|
11662 |
-
this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
|
11663 |
|
11664 |
-
this.key = options.key;
|
11665 |
-
this.container = options.container;
|
11666 |
-
this.before = null;
|
11667 |
-
}
|
11668 |
|
11669 |
-
var _proto = StyleSheet.prototype;
|
11670 |
|
11671 |
-
_proto.insert = function insert(rule) {
|
11672 |
-
// the max length is how many rules we have per style tag, it's 65000 in speedy mode
|
11673 |
-
// it's 1 in dev because we insert source maps that map a single rule to a location
|
11674 |
-
// and you can only have one source map per style tag
|
11675 |
-
if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
|
11676 |
-
var _tag = createStyleElement(this);
|
11677 |
|
11678 |
-
var before;
|
11679 |
|
11680 |
-
|
11681 |
-
|
11682 |
-
|
11683 |
-
|
11684 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11685 |
|
11686 |
-
|
11687 |
-
|
|
|
|
|
|
|
|
|
|
|
11688 |
}
|
|
|
11689 |
|
11690 |
-
|
|
|
|
|
|
|
11691 |
|
11692 |
-
|
11693 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11694 |
|
11695 |
-
|
11696 |
-
|
11697 |
-
|
11698 |
-
|
11699 |
-
|
11700 |
-
|
11701 |
-
|
11702 |
|
11703 |
-
|
11704 |
-
|
11705 |
-
|
11706 |
-
|
11707 |
-
|
11708 |
-
|
11709 |
-
|
11710 |
-
|
11711 |
-
|
11712 |
-
isImportRule ? 0 : sheet.cssRules.length);
|
11713 |
-
} catch (e) {
|
11714 |
-
if (process.env.NODE_ENV !== 'production') {
|
11715 |
-
console.warn("There was a problem inserting the following rule: \"" + rule + "\"", e);
|
11716 |
}
|
11717 |
}
|
11718 |
-
} else {
|
11719 |
-
tag.appendChild(document.createTextNode(rule));
|
11720 |
-
}
|
11721 |
|
11722 |
-
|
11723 |
-
|
|
|
11724 |
|
11725 |
-
|
11726 |
-
|
11727 |
-
|
11728 |
-
|
11729 |
-
|
11730 |
-
|
11731 |
-
|
|
|
|
|
|
|
11732 |
};
|
|
|
11733 |
|
11734 |
-
|
11735 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11736 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11737 |
|
|
|
|
|
|
|
|
|
|
|
|
|
11738 |
|
|
|
|
|
|
|
|
|
|
|
|
|
11739 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
11740 |
|
11741 |
/***/ }),
|
11742 |
-
/*
|
11743 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11744 |
|
11745 |
"use strict";
|
11746 |
-
/*
|
11747 |
-
|
11748 |
-
|
11749 |
-
|
11750 |
-
|
11751 |
|
|
|
|
|
|
|
11752 |
|
|
|
|
|
|
|
|
|
|
|
11753 |
|
11754 |
-
|
11755 |
-
|
11756 |
-
|
11757 |
-
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
11758 |
|
11759 |
-
|
11760 |
-
|
11761 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11762 |
|
11763 |
-
var isProcessableValue = function isProcessableValue(value) {
|
11764 |
-
return value != null && typeof value !== 'boolean';
|
11765 |
-
};
|
11766 |
|
11767 |
-
var
|
11768 |
-
|
|
|
11769 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11770 |
|
11771 |
-
|
11772 |
-
|
11773 |
-
|
11774 |
-
case 'animationName':
|
11775 |
-
{
|
11776 |
-
if (typeof value === 'string') {
|
11777 |
-
return value.replace(animationRegex, function (match, p1, p2) {
|
11778 |
-
cursor = {
|
11779 |
-
name: p1,
|
11780 |
-
styles: p2,
|
11781 |
-
next: cursor
|
11782 |
-
};
|
11783 |
-
return p1;
|
11784 |
-
});
|
11785 |
-
}
|
11786 |
-
}
|
11787 |
-
}
|
11788 |
-
|
11789 |
-
if (__WEBPACK_IMPORTED_MODULE_1__emotion_unitless__["a" /* default */][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
|
11790 |
-
return value + 'px';
|
11791 |
-
}
|
11792 |
|
11793 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11794 |
};
|
|
|
11795 |
|
11796 |
-
|
11797 |
-
|
11798 |
-
|
11799 |
-
var oldProcessStyleValue = processStyleValue;
|
11800 |
-
var msPattern = /^-ms-/;
|
11801 |
-
var hyphenPattern = /-(.)/g;
|
11802 |
-
var hyphenatedCache = {};
|
11803 |
|
11804 |
-
|
11805 |
-
|
11806 |
-
|
11807 |
-
|
11808 |
-
}
|
11809 |
}
|
11810 |
-
|
11811 |
-
|
11812 |
-
|
11813 |
-
|
11814 |
-
hyphenatedCache[key] = true;
|
11815 |
-
console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
|
11816 |
-
return _char.toUpperCase();
|
11817 |
-
}) + "?");
|
11818 |
}
|
|
|
|
|
11819 |
|
11820 |
-
|
11821 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11822 |
}
|
11823 |
|
11824 |
-
|
11825 |
|
11826 |
-
function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) {
|
11827 |
-
if (interpolation == null) {
|
11828 |
-
return '';
|
11829 |
-
}
|
11830 |
|
11831 |
-
|
11832 |
-
|
11833 |
-
|
11834 |
-
}
|
11835 |
|
11836 |
-
|
11837 |
-
|
|
|
|
|
11838 |
|
11839 |
-
switch (typeof interpolation) {
|
11840 |
-
case 'boolean':
|
11841 |
-
{
|
11842 |
-
return '';
|
11843 |
-
}
|
11844 |
|
11845 |
-
case 'object':
|
11846 |
-
{
|
11847 |
-
if (interpolation.anim === 1) {
|
11848 |
-
cursor = {
|
11849 |
-
name: interpolation.name,
|
11850 |
-
styles: interpolation.styles,
|
11851 |
-
next: cursor
|
11852 |
-
};
|
11853 |
-
return interpolation.name;
|
11854 |
-
}
|
11855 |
|
11856 |
-
if (interpolation.styles !== undefined) {
|
11857 |
-
var next = interpolation.next;
|
11858 |
|
11859 |
-
|
11860 |
-
|
11861 |
-
|
11862 |
-
|
11863 |
-
|
11864 |
-
name: next.name,
|
11865 |
-
styles: next.styles,
|
11866 |
-
next: cursor
|
11867 |
-
};
|
11868 |
-
next = next.next;
|
11869 |
-
}
|
11870 |
-
}
|
11871 |
|
11872 |
-
|
|
|
|
|
|
|
|
|
11873 |
|
11874 |
-
|
11875 |
-
|
11876 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11877 |
|
11878 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11879 |
}
|
11880 |
|
11881 |
-
|
11882 |
}
|
|
|
11883 |
|
11884 |
-
case
|
11885 |
{
|
11886 |
-
if (
|
11887 |
-
var previousCursor = cursor;
|
11888 |
-
var result = interpolation(mergedProps);
|
11889 |
-
cursor = previousCursor;
|
11890 |
-
return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation);
|
11891 |
-
} else if (process.env.NODE_ENV !== 'production') {
|
11892 |
-
console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
|
11893 |
-
}
|
11894 |
-
|
11895 |
break;
|
11896 |
}
|
|
|
11897 |
|
11898 |
-
case
|
11899 |
-
|
11900 |
-
|
11901 |
-
|
11902 |
-
|
11903 |
-
|
11904 |
-
|
11905 |
-
|
|
|
|
|
11906 |
|
11907 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11908 |
console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
|
11909 |
}
|
11910 |
}
|
@@ -12073,7 +14580,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
12073 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
12074 |
|
12075 |
/***/ }),
|
12076 |
-
/*
|
12077 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12078 |
|
12079 |
"use strict";
|
@@ -12103,40 +14610,17 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
12103 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return defaultComponents; });
|
12104 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return exportedEqual; });
|
12105 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return components; });
|
12106 |
-
/* harmony import */ var
|
12107 |
-
/* harmony import */ var
|
12108 |
-
/* harmony import */ var
|
12109 |
-
/* harmony import */ var
|
12110 |
-
/* harmony import */ var
|
12111 |
-
/* harmony import */ var
|
12112 |
-
/* harmony import */ var
|
12113 |
-
/* harmony import */ var
|
12114 |
-
/* harmony import */ var
|
12115 |
-
/* harmony import */ var
|
12116 |
-
/* harmony import */ var
|
12117 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react__);
|
12118 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_core__ = __webpack_require__(101);
|
12119 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_react_dom__ = __webpack_require__(9);
|
12120 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_react_dom__);
|
12121 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_prop_types__ = __webpack_require__(2);
|
12122 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_13_prop_types__);
|
12123 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__babel_runtime_helpers_esm_typeof__ = __webpack_require__(26);
|
12124 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__ = __webpack_require__(102);
|
12125 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__emotion_css__ = __webpack_require__(58);
|
12126 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__babel_runtime_helpers_esm_taggedTemplateLiteral__ = __webpack_require__(170);
|
12127 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_react_input_autosize__ = __webpack_require__(171);
|
12128 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_18_react_input_autosize__);
|
12129 |
-
|
12130 |
-
|
12131 |
-
|
12132 |
-
|
12133 |
-
|
12134 |
-
|
12135 |
-
|
12136 |
-
|
12137 |
-
|
12138 |
-
|
12139 |
-
|
12140 |
|
12141 |
|
12142 |
|
@@ -12145,7 +14629,9 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
12145 |
|
12146 |
|
12147 |
|
|
|
12148 |
|
|
|
12149 |
function getMenuPlacement(_ref) {
|
12150 |
var maxHeight = _ref.maxHeight,
|
12151 |
menuEl = _ref.menuEl,
|
@@ -12155,7 +14641,7 @@ function getMenuPlacement(_ref) {
|
|
12155 |
isFixedPosition = _ref.isFixedPosition,
|
12156 |
theme = _ref.theme;
|
12157 |
var spacing = theme.spacing;
|
12158 |
-
var scrollParent = Object(
|
12159 |
var defaultState = {
|
12160 |
placement: 'bottom',
|
12161 |
maxHeight: maxHeight
|
@@ -12176,7 +14662,7 @@ function getMenuPlacement(_ref) {
|
|
12176 |
containerTop = _menuEl$offsetParent$.top;
|
12177 |
|
12178 |
var viewHeight = window.innerHeight;
|
12179 |
-
var scrollTop = Object(
|
12180 |
var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
|
12181 |
var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
|
12182 |
var viewSpaceAbove = containerTop - marginTop;
|
@@ -12201,7 +14687,7 @@ function getMenuPlacement(_ref) {
|
|
12201 |
|
12202 |
if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
|
12203 |
if (shouldScroll) {
|
12204 |
-
Object(
|
12205 |
}
|
12206 |
|
12207 |
return {
|
@@ -12213,7 +14699,7 @@ function getMenuPlacement(_ref) {
|
|
12213 |
|
12214 |
if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
|
12215 |
if (shouldScroll) {
|
12216 |
-
Object(
|
12217 |
} // we want to provide as much of the menu as possible to the user,
|
12218 |
// so give them whatever is available below rather than the minHeight.
|
12219 |
|
@@ -12244,7 +14730,7 @@ function getMenuPlacement(_ref) {
|
|
12244 |
|
12245 |
|
12246 |
if (placement === 'bottom') {
|
12247 |
-
Object(
|
12248 |
return {
|
12249 |
placement: 'bottom',
|
12250 |
maxHeight: maxHeight
|
@@ -12265,7 +14751,7 @@ function getMenuPlacement(_ref) {
|
|
12265 |
|
12266 |
if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
|
12267 |
if (shouldScroll) {
|
12268 |
-
Object(
|
12269 |
}
|
12270 |
|
12271 |
return {
|
@@ -12284,7 +14770,7 @@ function getMenuPlacement(_ref) {
|
|
12284 |
}
|
12285 |
|
12286 |
if (shouldScroll) {
|
12287 |
-
Object(
|
12288 |
}
|
12289 |
|
12290 |
return {
|
@@ -12302,7 +14788,7 @@ function getMenuPlacement(_ref) {
|
|
12302 |
};
|
12303 |
|
12304 |
default:
|
12305 |
-
throw new Error("Invalid placement provided \""
|
12306 |
} // fulfil contract with flow: implicit return value of undefined
|
12307 |
|
12308 |
|
@@ -12332,33 +14818,28 @@ var menuCSS = function menuCSS(_ref2) {
|
|
12332 |
colors = _ref2$theme.colors;
|
12333 |
return _ref3 = {
|
12334 |
label: 'menu'
|
12335 |
-
},
|
12336 |
}; // NOTE: internal only
|
12337 |
|
12338 |
var MenuPlacer =
|
12339 |
/*#__PURE__*/
|
12340 |
function (_Component) {
|
12341 |
-
|
12342 |
|
12343 |
function MenuPlacer() {
|
12344 |
-
var _getPrototypeOf2;
|
12345 |
-
|
12346 |
var _this;
|
12347 |
|
12348 |
-
Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, MenuPlacer);
|
12349 |
-
|
12350 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
12351 |
args[_key] = arguments[_key];
|
12352 |
}
|
12353 |
|
12354 |
-
_this =
|
12355 |
-
|
12356 |
-
Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "state", {
|
12357 |
maxHeight: _this.props.maxMenuHeight,
|
12358 |
placement: null
|
12359 |
-
}
|
12360 |
|
12361 |
-
|
12362 |
var _this$props = _this.props,
|
12363 |
minMenuHeight = _this$props.minMenuHeight,
|
12364 |
maxMenuHeight = _this$props.maxMenuHeight,
|
@@ -12383,37 +14864,35 @@ function (_Component) {
|
|
12383 |
if (getPortalPlacement) getPortalPlacement(state);
|
12384 |
|
12385 |
_this.setState(state);
|
12386 |
-
}
|
12387 |
|
12388 |
-
|
12389 |
var menuPlacement = _this.props.menuPlacement;
|
12390 |
var placement = _this.state.placement || coercePlacement(menuPlacement);
|
12391 |
-
return
|
12392 |
placement: placement,
|
12393 |
maxHeight: _this.state.maxHeight
|
12394 |
});
|
12395 |
-
}
|
12396 |
|
12397 |
return _this;
|
12398 |
}
|
12399 |
|
12400 |
-
|
12401 |
-
key: "render",
|
12402 |
-
value: function render() {
|
12403 |
-
var children = this.props.children;
|
12404 |
-
return children({
|
12405 |
-
ref: this.getPlacement,
|
12406 |
-
placerProps: this.getUpdatedProps()
|
12407 |
-
});
|
12408 |
-
}
|
12409 |
-
}]);
|
12410 |
|
12411 |
-
|
12412 |
-
|
|
|
|
|
|
|
|
|
|
|
12413 |
|
12414 |
-
|
12415 |
-
|
12416 |
-
|
|
|
|
|
12417 |
|
12418 |
var Menu = function Menu(props) {
|
12419 |
var children = props.children,
|
@@ -12422,7 +14901,7 @@ var Menu = function Menu(props) {
|
|
12422 |
getStyles = props.getStyles,
|
12423 |
innerRef = props.innerRef,
|
12424 |
innerProps = props.innerProps;
|
12425 |
-
return Object(
|
12426 |
css: getStyles('menu', props),
|
12427 |
className: cx({
|
12428 |
menu: true
|
@@ -12454,7 +14933,7 @@ var MenuList = function MenuList(props) {
|
|
12454 |
getStyles = props.getStyles,
|
12455 |
isMulti = props.isMulti,
|
12456 |
innerRef = props.innerRef;
|
12457 |
-
return Object(
|
12458 |
css: getStyles('menuList', props),
|
12459 |
className: cx({
|
12460 |
'menu-list': true,
|
@@ -12472,7 +14951,7 @@ var noticeCSS = function noticeCSS(_ref5) {
|
|
12472 |
colors = _ref5$theme.colors;
|
12473 |
return {
|
12474 |
color: colors.neutral40,
|
12475 |
-
padding:
|
12476 |
textAlign: 'center'
|
12477 |
};
|
12478 |
};
|
@@ -12485,7 +14964,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
|
|
12485 |
cx = props.cx,
|
12486 |
getStyles = props.getStyles,
|
12487 |
innerProps = props.innerProps;
|
12488 |
-
return Object(
|
12489 |
css: getStyles('noOptionsMessage', props),
|
12490 |
className: cx({
|
12491 |
'menu-notice': true,
|
@@ -12502,7 +14981,7 @@ var LoadingMessage = function LoadingMessage(props) {
|
|
12502 |
cx = props.cx,
|
12503 |
getStyles = props.getStyles,
|
12504 |
innerProps = props.innerProps;
|
12505 |
-
return Object(
|
12506 |
css: getStyles('loadingMessage', props),
|
12507 |
className: cx({
|
12508 |
'menu-notice': true,
|
@@ -12531,26 +15010,21 @@ var menuPortalCSS = function menuPortalCSS(_ref6) {
|
|
12531 |
var MenuPortal =
|
12532 |
/*#__PURE__*/
|
12533 |
function (_Component2) {
|
12534 |
-
|
12535 |
|
12536 |
function MenuPortal() {
|
12537 |
-
var _getPrototypeOf3;
|
12538 |
-
|
12539 |
var _this2;
|
12540 |
|
12541 |
-
Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, MenuPortal);
|
12542 |
-
|
12543 |
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
12544 |
args[_key2] = arguments[_key2];
|
12545 |
}
|
12546 |
|
12547 |
-
_this2 =
|
12548 |
-
|
12549 |
-
Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this2)), "state", {
|
12550 |
placement: null
|
12551 |
-
}
|
12552 |
|
12553 |
-
|
12554 |
var placement = _ref7.placement;
|
12555 |
var initialPlacement = coercePlacement(_this2.props.menuPlacement); // avoid re-renders if the placement has not changed
|
12556 |
|
@@ -12559,58 +15033,55 @@ function (_Component2) {
|
|
12559 |
placement: placement
|
12560 |
});
|
12561 |
}
|
12562 |
-
}
|
12563 |
|
12564 |
return _this2;
|
12565 |
}
|
12566 |
|
12567 |
-
|
12568 |
-
key: "getChildContext",
|
12569 |
-
value: function getChildContext() {
|
12570 |
-
return {
|
12571 |
-
getPortalPlacement: this.getPortalPlacement
|
12572 |
-
};
|
12573 |
-
} // callback for occassions where the menu must "flip"
|
12574 |
|
12575 |
-
|
12576 |
-
|
12577 |
-
|
12578 |
-
|
12579 |
-
|
12580 |
-
|
12581 |
-
controlElement = _this$props2.controlElement,
|
12582 |
-
menuPlacement = _this$props2.menuPlacement,
|
12583 |
-
position = _this$props2.menuPosition,
|
12584 |
-
getStyles = _this$props2.getStyles;
|
12585 |
-
var isFixed = position === 'fixed'; // bail early if required elements aren't present
|
12586 |
-
|
12587 |
-
if (!appendTo && !isFixed || !controlElement) {
|
12588 |
-
return null;
|
12589 |
-
}
|
12590 |
-
|
12591 |
-
var placement = this.state.placement || coercePlacement(menuPlacement);
|
12592 |
-
var rect = Object(__WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__["g"])(controlElement);
|
12593 |
-
var scrollDistance = isFixed ? 0 : window.pageYOffset;
|
12594 |
-
var offset = rect[placement] + scrollDistance;
|
12595 |
-
var state = {
|
12596 |
-
offset: offset,
|
12597 |
-
position: position,
|
12598 |
-
rect: rect
|
12599 |
-
}; // same wrapper element whether fixed or portalled
|
12600 |
|
12601 |
-
|
12602 |
-
|
12603 |
-
|
12604 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12605 |
}
|
12606 |
-
}]);
|
12607 |
|
12608 |
-
|
12609 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12610 |
|
12611 |
-
Object(
|
12612 |
-
|
12613 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12614 |
|
12615 |
var isArray = Array.isArray;
|
12616 |
var keyList = Object.keys;
|
@@ -12620,7 +15091,7 @@ function equal(a, b) {
|
|
12620 |
// fast-deep-equal index.js 2.0.1
|
12621 |
if (a === b) return true;
|
12622 |
|
12623 |
-
if (a && b &&
|
12624 |
var arrA = isArray(a),
|
12625 |
arrB = isArray(b),
|
12626 |
i,
|
@@ -12702,6 +15173,7 @@ function exportedEqual(a, b) {
|
|
12702 |
}
|
12703 |
}
|
12704 |
|
|
|
12705 |
var containerCSS = function containerCSS(_ref) {
|
12706 |
var isDisabled = _ref.isDisabled,
|
12707 |
isRtl = _ref.isRtl;
|
@@ -12721,7 +15193,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
12721 |
innerProps = props.innerProps,
|
12722 |
isDisabled = props.isDisabled,
|
12723 |
isRtl = props.isRtl;
|
12724 |
-
return Object(
|
12725 |
css: getStyles('container', props),
|
12726 |
className: cx({
|
12727 |
'--is-disabled': isDisabled,
|
@@ -12739,46 +15211,28 @@ var valueContainerCSS = function valueContainerCSS(_ref2) {
|
|
12739 |
display: 'flex',
|
12740 |
flex: 1,
|
12741 |
flexWrap: 'wrap',
|
12742 |
-
padding:
|
12743 |
WebkitOverflowScrolling: 'touch',
|
12744 |
position: 'relative',
|
12745 |
overflow: 'hidden'
|
12746 |
};
|
12747 |
};
|
12748 |
-
var ValueContainer =
|
12749 |
-
|
12750 |
-
|
12751 |
-
|
12752 |
-
|
12753 |
-
|
12754 |
-
|
12755 |
-
|
12756 |
-
|
12757 |
-
|
12758 |
-
|
12759 |
-
|
12760 |
-
|
12761 |
-
|
12762 |
-
|
12763 |
-
|
12764 |
-
className = _this$props.className,
|
12765 |
-
cx = _this$props.cx,
|
12766 |
-
isMulti = _this$props.isMulti,
|
12767 |
-
getStyles = _this$props.getStyles,
|
12768 |
-
hasValue = _this$props.hasValue;
|
12769 |
-
return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])("div", {
|
12770 |
-
css: getStyles('valueContainer', this.props),
|
12771 |
-
className: cx({
|
12772 |
-
'value-container': true,
|
12773 |
-
'value-container--is-multi': isMulti,
|
12774 |
-
'value-container--has-value': hasValue
|
12775 |
-
}, className)
|
12776 |
-
}, children);
|
12777 |
-
}
|
12778 |
-
}]);
|
12779 |
-
|
12780 |
-
return ValueContainer;
|
12781 |
-
}(__WEBPACK_IMPORTED_MODULE_10_react__["Component"]); // ==============================
|
12782 |
// Indicator Container
|
12783 |
// ==============================
|
12784 |
|
@@ -12795,7 +15249,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
12795 |
className = props.className,
|
12796 |
cx = props.cx,
|
12797 |
getStyles = props.getStyles;
|
12798 |
-
return Object(
|
12799 |
css: getStyles('indicatorsContainer', props),
|
12800 |
className: cx({
|
12801 |
indicators: true
|
@@ -12804,7 +15258,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
12804 |
};
|
12805 |
|
12806 |
function _templateObject() {
|
12807 |
-
var data =
|
12808 |
|
12809 |
_templateObject = function _templateObject() {
|
12810 |
return data;
|
@@ -12813,6 +15267,12 @@ function _templateObject() {
|
|
12813 |
return data;
|
12814 |
}
|
12815 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12816 |
var _ref2 = process.env.NODE_ENV === "production" ? {
|
12817 |
name: "19bqh2r",
|
12818 |
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"
|
@@ -12827,9 +15287,9 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
12827 |
// ==============================
|
12828 |
var Svg = function Svg(_ref) {
|
12829 |
var size = _ref.size,
|
12830 |
-
props =
|
12831 |
|
12832 |
-
return Object(
|
12833 |
height: size,
|
12834 |
width: size,
|
12835 |
viewBox: "0 0 20 20",
|
@@ -12840,16 +15300,16 @@ var Svg = function Svg(_ref) {
|
|
12840 |
};
|
12841 |
|
12842 |
var CrossIcon = function CrossIcon(props) {
|
12843 |
-
return Object(
|
12844 |
size: 20
|
12845 |
-
}, props), Object(
|
12846 |
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
12847 |
}));
|
12848 |
};
|
12849 |
var DownChevron = function DownChevron(props) {
|
12850 |
-
return Object(
|
12851 |
size: 20
|
12852 |
-
}, props), Object(
|
12853 |
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
12854 |
}));
|
12855 |
}; // ==============================
|
@@ -12880,13 +15340,13 @@ var DropdownIndicator = function DropdownIndicator(props) {
|
|
12880 |
cx = props.cx,
|
12881 |
getStyles = props.getStyles,
|
12882 |
innerProps = props.innerProps;
|
12883 |
-
return Object(
|
12884 |
css: getStyles('dropdownIndicator', props),
|
12885 |
className: cx({
|
12886 |
indicator: true,
|
12887 |
'dropdown-indicator': true
|
12888 |
}, className)
|
12889 |
-
}), children || Object(
|
12890 |
};
|
12891 |
var clearIndicatorCSS = baseCSS;
|
12892 |
var ClearIndicator = function ClearIndicator(props) {
|
@@ -12895,13 +15355,13 @@ var ClearIndicator = function ClearIndicator(props) {
|
|
12895 |
cx = props.cx,
|
12896 |
getStyles = props.getStyles,
|
12897 |
innerProps = props.innerProps;
|
12898 |
-
return Object(
|
12899 |
css: getStyles('clearIndicator', props),
|
12900 |
className: cx({
|
12901 |
indicator: true,
|
12902 |
'clear-indicator': true
|
12903 |
}, className)
|
12904 |
-
}), children || Object(
|
12905 |
}; // ==============================
|
12906 |
// Separator
|
12907 |
// ==============================
|
@@ -12925,7 +15385,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
12925 |
cx = props.cx,
|
12926 |
getStyles = props.getStyles,
|
12927 |
innerProps = props.innerProps;
|
12928 |
-
return Object(
|
12929 |
css: getStyles('indicatorSeparator', props),
|
12930 |
className: cx({
|
12931 |
'indicator-separator': true
|
@@ -12935,7 +15395,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
12935 |
// Loading
|
12936 |
// ==============================
|
12937 |
|
12938 |
-
var loadingDotAnimations = Object(
|
12939 |
var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {
|
12940 |
var isFocused = _ref5.isFocused,
|
12941 |
size = _ref5.size,
|
@@ -12960,11 +15420,11 @@ var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {
|
|
12960 |
var LoadingDot = function LoadingDot(_ref6) {
|
12961 |
var delay = _ref6.delay,
|
12962 |
offset = _ref6.offset;
|
12963 |
-
return Object(
|
12964 |
css:
|
12965 |
/*#__PURE__*/
|
12966 |
-
Object(
|
12967 |
-
animation:
|
12968 |
backgroundColor: 'currentColor',
|
12969 |
borderRadius: '1em',
|
12970 |
display: 'inline-block',
|
@@ -12982,19 +15442,19 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
12982 |
getStyles = props.getStyles,
|
12983 |
innerProps = props.innerProps,
|
12984 |
isRtl = props.isRtl;
|
12985 |
-
return Object(
|
12986 |
css: getStyles('loadingIndicator', props),
|
12987 |
className: cx({
|
12988 |
indicator: true,
|
12989 |
'loading-indicator': true
|
12990 |
}, className)
|
12991 |
-
}), Object(
|
12992 |
delay: 0,
|
12993 |
offset: isRtl
|
12994 |
-
}), Object(
|
12995 |
delay: 160,
|
12996 |
offset: true
|
12997 |
-
}), Object(
|
12998 |
delay: 320,
|
12999 |
offset: !isRtl
|
13000 |
}));
|
@@ -13003,6 +15463,7 @@ LoadingIndicator.defaultProps = {
|
|
13003 |
size: 4
|
13004 |
};
|
13005 |
|
|
|
13006 |
var css = function css(_ref) {
|
13007 |
var isDisabled = _ref.isDisabled,
|
13008 |
isFocused = _ref.isFocused,
|
@@ -13018,7 +15479,7 @@ var css = function css(_ref) {
|
|
13018 |
borderRadius: borderRadius,
|
13019 |
borderStyle: 'solid',
|
13020 |
borderWidth: 1,
|
13021 |
-
boxShadow: isFocused ? "0 0 0 1px "
|
13022 |
cursor: 'default',
|
13023 |
display: 'flex',
|
13024 |
flexWrap: 'wrap',
|
@@ -13043,7 +15504,7 @@ var Control = function Control(props) {
|
|
13043 |
innerRef = props.innerRef,
|
13044 |
innerProps = props.innerProps,
|
13045 |
menuIsOpen = props.menuIsOpen;
|
13046 |
-
return Object(
|
13047 |
ref: innerRef,
|
13048 |
css: getStyles('control', props),
|
13049 |
className: cx({
|
@@ -13055,6 +15516,9 @@ var Control = function Control(props) {
|
|
13055 |
}, innerProps), children);
|
13056 |
};
|
13057 |
|
|
|
|
|
|
|
13058 |
var groupCSS = function groupCSS(_ref) {
|
13059 |
var spacing = _ref.theme.spacing;
|
13060 |
return {
|
@@ -13073,17 +15537,17 @@ var Group = function Group(props) {
|
|
13073 |
label = props.label,
|
13074 |
theme = props.theme,
|
13075 |
selectProps = props.selectProps;
|
13076 |
-
return Object(
|
13077 |
css: getStyles('group', props),
|
13078 |
className: cx({
|
13079 |
group: true
|
13080 |
}, className)
|
13081 |
-
}, Object(
|
13082 |
selectProps: selectProps,
|
13083 |
theme: theme,
|
13084 |
getStyles: getStyles,
|
13085 |
cx: cx
|
13086 |
-
}), label), Object(
|
13087 |
};
|
13088 |
|
13089 |
var groupHeadingCSS = function groupHeadingCSS(_ref2) {
|
@@ -13107,10 +15571,10 @@ var GroupHeading = function GroupHeading(props) {
|
|
13107 |
getStyles = props.getStyles,
|
13108 |
theme = props.theme,
|
13109 |
selectProps = props.selectProps,
|
13110 |
-
cleanProps =
|
13111 |
|
13112 |
-
return Object(
|
13113 |
-
css: getStyles('groupHeading',
|
13114 |
theme: theme
|
13115 |
}, cleanProps)),
|
13116 |
className: cx({
|
@@ -13119,6 +15583,9 @@ var GroupHeading = function GroupHeading(props) {
|
|
13119 |
}, cleanProps));
|
13120 |
};
|
13121 |
|
|
|
|
|
|
|
13122 |
var inputCSS = function inputCSS(_ref) {
|
13123 |
var isDisabled = _ref.isDisabled,
|
13124 |
_ref$theme = _ref.theme,
|
@@ -13155,13 +15622,13 @@ var Input = function Input(_ref2) {
|
|
13155 |
isDisabled = _ref2.isDisabled,
|
13156 |
theme = _ref2.theme,
|
13157 |
selectProps = _ref2.selectProps,
|
13158 |
-
props =
|
13159 |
|
13160 |
-
return Object(
|
13161 |
-
css: getStyles('input',
|
13162 |
theme: theme
|
13163 |
}, props))
|
13164 |
-
}, Object(
|
13165 |
className: cx({
|
13166 |
input: true
|
13167 |
}, className),
|
@@ -13171,6 +15638,7 @@ var Input = function Input(_ref2) {
|
|
13171 |
}, props)));
|
13172 |
};
|
13173 |
|
|
|
13174 |
var multiValueCSS = function multiValueCSS(_ref) {
|
13175 |
var _ref$theme = _ref.theme,
|
13176 |
spacing = _ref$theme.spacing,
|
@@ -13224,106 +15692,69 @@ var multiValueRemoveCSS = function multiValueRemoveCSS(_ref3) {
|
|
13224 |
var MultiValueGeneric = function MultiValueGeneric(_ref4) {
|
13225 |
var children = _ref4.children,
|
13226 |
innerProps = _ref4.innerProps;
|
13227 |
-
return Object(
|
13228 |
};
|
13229 |
var MultiValueContainer = MultiValueGeneric;
|
13230 |
var MultiValueLabel = MultiValueGeneric;
|
13231 |
-
|
13232 |
-
|
13233 |
-
|
13234 |
-
Object(
|
13235 |
-
|
13236 |
-
|
13237 |
-
|
13238 |
-
|
13239 |
-
return Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_possibleConstructorReturn__["a" /* default */])(this, Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_getPrototypeOf__["a" /* default */])(MultiValueRemove).apply(this, arguments));
|
13240 |
-
}
|
13241 |
-
|
13242 |
-
Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_createClass__["a" /* default */])(MultiValueRemove, [{
|
13243 |
-
key: "render",
|
13244 |
-
value: function render() {
|
13245 |
-
var _this$props = this.props,
|
13246 |
-
children = _this$props.children,
|
13247 |
-
innerProps = _this$props.innerProps;
|
13248 |
-
return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])("div", innerProps, children || Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])(CrossIcon, {
|
13249 |
-
size: 14
|
13250 |
-
}));
|
13251 |
-
}
|
13252 |
-
}]);
|
13253 |
-
|
13254 |
-
return MultiValueRemove;
|
13255 |
-
}(__WEBPACK_IMPORTED_MODULE_10_react__["Component"]);
|
13256 |
-
|
13257 |
-
var MultiValue =
|
13258 |
-
/*#__PURE__*/
|
13259 |
-
function (_Component2) {
|
13260 |
-
Object(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_esm_inherits__["a" /* default */])(MultiValue, _Component2);
|
13261 |
-
|
13262 |
-
function MultiValue() {
|
13263 |
-
Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, MultiValue);
|
13264 |
-
|
13265 |
-
return Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_possibleConstructorReturn__["a" /* default */])(this, Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_getPrototypeOf__["a" /* default */])(MultiValue).apply(this, arguments));
|
13266 |
-
}
|
13267 |
-
|
13268 |
-
Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_createClass__["a" /* default */])(MultiValue, [{
|
13269 |
-
key: "render",
|
13270 |
-
value: function render() {
|
13271 |
-
var _this = this;
|
13272 |
-
|
13273 |
-
var _this$props2 = this.props,
|
13274 |
-
children = _this$props2.children,
|
13275 |
-
className = _this$props2.className,
|
13276 |
-
components = _this$props2.components,
|
13277 |
-
cx = _this$props2.cx,
|
13278 |
-
data = _this$props2.data,
|
13279 |
-
getStyles = _this$props2.getStyles,
|
13280 |
-
innerProps = _this$props2.innerProps,
|
13281 |
-
isDisabled = _this$props2.isDisabled,
|
13282 |
-
removeProps = _this$props2.removeProps,
|
13283 |
-
selectProps = _this$props2.selectProps;
|
13284 |
-
var Container = components.Container,
|
13285 |
-
Label = components.Label,
|
13286 |
-
Remove = components.Remove;
|
13287 |
-
return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["b" /* ClassNames */], null, function (_ref5) {
|
13288 |
-
var css = _ref5.css,
|
13289 |
-
emotionCx = _ref5.cx;
|
13290 |
-
return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])(Container, {
|
13291 |
-
data: data,
|
13292 |
-
innerProps: Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectSpread__["a" /* default */])({}, innerProps, {
|
13293 |
-
className: emotionCx(css(getStyles('multiValue', _this.props)), cx({
|
13294 |
-
'multi-value': true,
|
13295 |
-
'multi-value--is-disabled': isDisabled
|
13296 |
-
}, className))
|
13297 |
-
}),
|
13298 |
-
selectProps: selectProps
|
13299 |
-
}, Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])(Label, {
|
13300 |
-
data: data,
|
13301 |
-
innerProps: {
|
13302 |
-
className: emotionCx(css(getStyles('multiValueLabel', _this.props)), cx({
|
13303 |
-
'multi-value__label': true
|
13304 |
-
}, className))
|
13305 |
-
},
|
13306 |
-
selectProps: selectProps
|
13307 |
-
}, children), Object(__WEBPACK_IMPORTED_MODULE_11__emotion_core__["c" /* jsx */])(Remove, {
|
13308 |
-
data: data,
|
13309 |
-
innerProps: Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectSpread__["a" /* default */])({
|
13310 |
-
className: emotionCx(css(getStyles('multiValueRemove', _this.props)), cx({
|
13311 |
-
'multi-value__remove': true
|
13312 |
-
}, className))
|
13313 |
-
}, removeProps),
|
13314 |
-
selectProps: selectProps
|
13315 |
-
}));
|
13316 |
-
});
|
13317 |
-
}
|
13318 |
-
}]);
|
13319 |
|
13320 |
-
|
13321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13322 |
|
13323 |
-
|
13324 |
cropWithEllipsis: true
|
13325 |
-
}
|
13326 |
|
|
|
13327 |
var optionCSS = function optionCSS(_ref) {
|
13328 |
var isDisabled = _ref.isDisabled,
|
13329 |
isFocused = _ref.isFocused,
|
@@ -13338,7 +15769,7 @@ var optionCSS = function optionCSS(_ref) {
|
|
13338 |
cursor: 'default',
|
13339 |
display: 'block',
|
13340 |
fontSize: 'inherit',
|
13341 |
-
padding:
|
13342 |
width: '100%',
|
13343 |
userSelect: 'none',
|
13344 |
WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
|
@@ -13359,7 +15790,7 @@ var Option = function Option(props) {
|
|
13359 |
isSelected = props.isSelected,
|
13360 |
innerRef = props.innerRef,
|
13361 |
innerProps = props.innerProps;
|
13362 |
-
return Object(
|
13363 |
css: getStyles('option', props),
|
13364 |
className: cx({
|
13365 |
option: true,
|
@@ -13371,6 +15802,7 @@ var Option = function Option(props) {
|
|
13371 |
}, innerProps), children);
|
13372 |
};
|
13373 |
|
|
|
13374 |
var placeholderCSS = function placeholderCSS(_ref) {
|
13375 |
var _ref$theme = _ref.theme,
|
13376 |
spacing = _ref$theme.spacing,
|
@@ -13392,7 +15824,7 @@ var Placeholder = function Placeholder(props) {
|
|
13392 |
cx = props.cx,
|
13393 |
getStyles = props.getStyles,
|
13394 |
innerProps = props.innerProps;
|
13395 |
-
return Object(
|
13396 |
css: getStyles('placeholder', props),
|
13397 |
className: cx({
|
13398 |
placeholder: true
|
@@ -13400,6 +15832,7 @@ var Placeholder = function Placeholder(props) {
|
|
13400 |
}, innerProps), children);
|
13401 |
};
|
13402 |
|
|
|
13403 |
var css$1 = function css(_ref) {
|
13404 |
var isDisabled = _ref.isDisabled,
|
13405 |
_ref$theme = _ref.theme,
|
@@ -13410,7 +15843,7 @@ var css$1 = function css(_ref) {
|
|
13410 |
color: isDisabled ? colors.neutral40 : colors.neutral80,
|
13411 |
marginLeft: spacing.baseUnit / 2,
|
13412 |
marginRight: spacing.baseUnit / 2,
|
13413 |
-
maxWidth: "calc(100% - "
|
13414 |
overflow: 'hidden',
|
13415 |
position: 'absolute',
|
13416 |
textOverflow: 'ellipsis',
|
@@ -13427,7 +15860,7 @@ var SingleValue = function SingleValue(props) {
|
|
13427 |
getStyles = props.getStyles,
|
13428 |
isDisabled = props.isDisabled,
|
13429 |
innerProps = props.innerProps;
|
13430 |
-
return Object(
|
13431 |
css: getStyles('singleValue', props),
|
13432 |
className: cx({
|
13433 |
'single-value': true,
|
@@ -13436,6 +15869,7 @@ var SingleValue = function SingleValue(props) {
|
|
13436 |
}, innerProps), children);
|
13437 |
};
|
13438 |
|
|
|
13439 |
var components = {
|
13440 |
ClearIndicator: ClearIndicator,
|
13441 |
Control: Control,
|
@@ -13464,7 +15898,7 @@ var components = {
|
|
13464 |
ValueContainer: ValueContainer
|
13465 |
};
|
13466 |
var defaultComponents = function defaultComponents(props) {
|
13467 |
-
return
|
13468 |
};
|
13469 |
|
13470 |
|
@@ -13472,25 +15906,7 @@ var defaultComponents = function defaultComponents(props) {
|
|
13472 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
13473 |
|
13474 |
/***/ }),
|
13475 |
-
/*
|
13476 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13477 |
-
|
13478 |
-
"use strict";
|
13479 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = _taggedTemplateLiteral;
|
13480 |
-
function _taggedTemplateLiteral(strings, raw) {
|
13481 |
-
if (!raw) {
|
13482 |
-
raw = strings.slice(0);
|
13483 |
-
}
|
13484 |
-
|
13485 |
-
return Object.freeze(Object.defineProperties(strings, {
|
13486 |
-
raw: {
|
13487 |
-
value: Object.freeze(raw)
|
13488 |
-
}
|
13489 |
-
}));
|
13490 |
-
}
|
13491 |
-
|
13492 |
-
/***/ }),
|
13493 |
-
/* 171 */
|
13494 |
/***/ (function(module, exports, __webpack_require__) {
|
13495 |
|
13496 |
"use strict";
|
@@ -13764,7 +16180,7 @@ AutosizeInput.defaultProps = {
|
|
13764 |
exports.default = AutosizeInput;
|
13765 |
|
13766 |
/***/ }),
|
13767 |
-
/*
|
13768 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13769 |
|
13770 |
"use strict";
|
@@ -13773,37 +16189,15 @@ exports.default = AutosizeInput;
|
|
13773 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return createFilter; });
|
13774 |
/* unused harmony export d */
|
13775 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return mergeStyles; });
|
13776 |
-
/* harmony import */ var
|
13777 |
-
/* harmony import */ var
|
13778 |
-
/* harmony import */ var
|
13779 |
-
/* harmony import */ var
|
13780 |
-
/* harmony import */ var
|
13781 |
-
/* harmony import */ var
|
13782 |
-
/* harmony import */ var
|
13783 |
-
/* harmony import */ var
|
13784 |
-
/* harmony import */ var
|
13785 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(39);
|
13786 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(10);
|
13787 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react__ = __webpack_require__(0);
|
13788 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_react__);
|
13789 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_memoize_one__ = __webpack_require__(165);
|
13790 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__emotion_core__ = __webpack_require__(101);
|
13791 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom__ = __webpack_require__(9);
|
13792 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_dom__);
|
13793 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__ = __webpack_require__(102);
|
13794 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__chunk_80640036_browser_esm_js__ = __webpack_require__(169);
|
13795 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__emotion_css__ = __webpack_require__(58);
|
13796 |
-
|
13797 |
-
|
13798 |
-
|
13799 |
-
|
13800 |
-
|
13801 |
-
|
13802 |
-
|
13803 |
-
|
13804 |
-
|
13805 |
-
|
13806 |
-
|
13807 |
|
13808 |
|
13809 |
|
@@ -14073,17 +16467,19 @@ var stripDiacritics = function stripDiacritics(str) {
|
|
14073 |
return str;
|
14074 |
};
|
14075 |
|
|
|
|
|
14076 |
var trimString = function trimString(str) {
|
14077 |
return str.replace(/^\s+|\s+$/g, '');
|
14078 |
};
|
14079 |
|
14080 |
var defaultStringify = function defaultStringify(option) {
|
14081 |
-
return
|
14082 |
};
|
14083 |
|
14084 |
var createFilter = function createFilter(config) {
|
14085 |
return function (option, rawInput) {
|
14086 |
-
var _ignoreCase$ignoreAcc =
|
14087 |
ignoreCase: true,
|
14088 |
ignoreAccents: true,
|
14089 |
stringify: defaultStringify,
|
@@ -14113,6 +16509,8 @@ var createFilter = function createFilter(config) {
|
|
14113 |
};
|
14114 |
};
|
14115 |
|
|
|
|
|
14116 |
var _ref = process.env.NODE_ENV === "production" ? {
|
14117 |
name: "1laao21-a11yText",
|
14118 |
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"
|
@@ -14123,96 +16521,78 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
14123 |
};
|
14124 |
|
14125 |
var A11yText = function A11yText(props) {
|
14126 |
-
return Object(
|
14127 |
css: _ref
|
14128 |
}, props));
|
14129 |
};
|
14130 |
|
14131 |
-
var
|
14132 |
-
|
14133 |
-
function (
|
14134 |
-
|
14135 |
-
|
14136 |
-
|
14137 |
-
|
14138 |
-
|
14139 |
-
|
14140 |
-
|
14141 |
-
|
14142 |
-
|
14143 |
-
|
14144 |
-
|
14145 |
-
|
14146 |
-
|
14147 |
-
|
14148 |
-
|
14149 |
-
|
14150 |
-
|
14151 |
-
|
14152 |
-
|
14153 |
-
|
14154 |
-
|
14155 |
-
|
14156 |
-
|
14157 |
-
|
14158 |
-
|
14159 |
-
|
14160 |
-
|
14161 |
-
|
14162 |
-
|
14163 |
-
|
14164 |
-
|
14165 |
-
|
14166 |
-
|
14167 |
-
|
14168 |
-
|
14169 |
-
|
14170 |
-
width: 1,
|
14171 |
-
// remove cursor on desktop
|
14172 |
-
color: 'transparent',
|
14173 |
-
// remove cursor on mobile whilst maintaining "scroll into view" behaviour
|
14174 |
-
left: -100,
|
14175 |
-
opacity: 0,
|
14176 |
-
position: 'relative',
|
14177 |
-
transform: 'scale(0)'
|
14178 |
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWVEiLCJmaWxlIjoiRHVtbXlJbnB1dC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG4vKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBEdW1teUlucHV0IGV4dGVuZHMgQ29tcG9uZW50PGFueT4ge1xuICByZW5kZXIgKCkge1xuICAgIGNvbnN0IHsgaW46IGluUHJvcCwgb3V0LCBvbkV4aXRlZCwgYXBwZWFyLCBlbnRlciwgZXhpdCwgaW5uZXJSZWYsIGVtb3Rpb24sIC4uLnByb3BzIH0gPSB0aGlzLnByb3BzO1xuICAgIHJldHVybihcbiAgICAgIDxpbnB1dFxuICAgICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgICB7Li4ucHJvcHN9XG4gICAgICAgIGNzcz17e1xuICAgICAgICAgIGxhYmVsOiAnZHVtbXlJbnB1dCcsXG4gICAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICAgIGJvcmRlcjogMCxcbiAgICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgICAgcGFkZGluZzogMCxcbiAgICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBkZXNrdG9wXG4gICAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgICAgbGVmdDogLTEwMCxcbiAgICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDApJyxcbiAgICAgICAgfX1cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuIl19 */")
|
14179 |
-
}));
|
14180 |
-
}
|
14181 |
-
}]);
|
14182 |
|
14183 |
-
|
14184 |
-
}(__WEBPACK_IMPORTED_MODULE_11_react__["Component"]);
|
14185 |
|
14186 |
var NodeResolver =
|
14187 |
/*#__PURE__*/
|
14188 |
function (_Component) {
|
14189 |
-
|
14190 |
|
14191 |
function NodeResolver() {
|
14192 |
-
|
14193 |
-
|
14194 |
-
return Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_possibleConstructorReturn__["a" /* default */])(this, Object(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_esm_getPrototypeOf__["a" /* default */])(NodeResolver).apply(this, arguments));
|
14195 |
}
|
14196 |
|
14197 |
-
|
14198 |
-
|
14199 |
-
|
14200 |
-
|
14201 |
-
|
14202 |
-
|
14203 |
-
|
14204 |
-
|
14205 |
-
|
14206 |
-
|
14207 |
-
|
14208 |
-
|
14209 |
-
|
14210 |
-
return this.props.children;
|
14211 |
-
}
|
14212 |
-
}]);
|
14213 |
|
14214 |
return NodeResolver;
|
14215 |
-
}(
|
14216 |
|
14217 |
var STYLE_KEYS = ['boxSizing', 'height', 'overflow', 'paddingRight', 'position'];
|
14218 |
var LOCK_STYLES = {
|
@@ -14246,136 +16626,129 @@ function isTouchDevice() {
|
|
14246 |
return 'ontouchstart' in window || navigator.maxTouchPoints;
|
14247 |
}
|
14248 |
|
14249 |
-
|
|
|
14250 |
var activeScrollLocks = 0;
|
14251 |
|
14252 |
var ScrollLock =
|
14253 |
/*#__PURE__*/
|
14254 |
function (_Component) {
|
14255 |
-
|
14256 |
|
14257 |
function ScrollLock() {
|
14258 |
-
var _getPrototypeOf2;
|
14259 |
-
|
14260 |
var _this;
|
14261 |
|
14262 |
-
Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, ScrollLock);
|
14263 |
-
|
14264 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
14265 |
args[_key] = arguments[_key];
|
14266 |
}
|
14267 |
|
14268 |
-
_this =
|
14269 |
-
|
14270 |
-
|
14271 |
-
|
14272 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "listenerOptions", {
|
14273 |
capture: false,
|
14274 |
passive: false
|
14275 |
-
}
|
14276 |
-
|
14277 |
return _this;
|
14278 |
}
|
14279 |
|
14280 |
-
|
14281 |
-
key: "componentDidMount",
|
14282 |
-
value: function componentDidMount() {
|
14283 |
-
var _this2 = this;
|
14284 |
|
14285 |
-
|
14286 |
-
|
14287 |
-
accountForScrollbars = _this$props.accountForScrollbars,
|
14288 |
-
touchScrollTarget = _this$props.touchScrollTarget;
|
14289 |
-
var target = document.body;
|
14290 |
-
var targetStyle = target && target.style;
|
14291 |
-
|
14292 |
-
if (accountForScrollbars) {
|
14293 |
-
// store any styles already applied to the body
|
14294 |
-
STYLE_KEYS.forEach(function (key) {
|
14295 |
-
var val = targetStyle && targetStyle[key];
|
14296 |
-
_this2.originalStyles[key] = val;
|
14297 |
-
});
|
14298 |
-
} // apply the lock styles and padding if this is the first scroll lock
|
14299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14300 |
|
14301 |
-
if (accountForScrollbars && activeScrollLocks < 1) {
|
14302 |
-
var currentPadding = parseInt(this.originalStyles.paddingRight, 10) || 0;
|
14303 |
-
var clientWidth = document.body ? document.body.clientWidth : 0;
|
14304 |
-
var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;
|
14305 |
-
Object.keys(LOCK_STYLES).forEach(function (key) {
|
14306 |
-
var val = LOCK_STYLES[key];
|
14307 |
|
14308 |
-
|
14309 |
-
|
14310 |
-
|
14311 |
-
|
|
|
|
|
14312 |
|
14313 |
if (targetStyle) {
|
14314 |
-
targetStyle
|
14315 |
}
|
14316 |
-
}
|
14317 |
|
|
|
|
|
|
|
|
|
14318 |
|
14319 |
-
if (target && isTouchDevice()) {
|
14320 |
-
// Mobile Safari ignores { overflow: hidden } declaration on the body.
|
14321 |
-
target.addEventListener('touchmove', preventTouchMove, this.listenerOptions); // Allow scroll on provided target
|
14322 |
|
14323 |
-
|
14324 |
-
|
14325 |
-
|
14326 |
-
}
|
14327 |
-
} // increment active scroll locks
|
14328 |
|
|
|
|
|
|
|
|
|
|
|
14329 |
|
14330 |
-
activeScrollLocks += 1;
|
14331 |
-
}
|
14332 |
-
}, {
|
14333 |
-
key: "componentWillUnmount",
|
14334 |
-
value: function componentWillUnmount() {
|
14335 |
-
var _this3 = this;
|
14336 |
-
|
14337 |
-
if (!canUseDOM) return;
|
14338 |
-
var _this$props2 = this.props,
|
14339 |
-
accountForScrollbars = _this$props2.accountForScrollbars,
|
14340 |
-
touchScrollTarget = _this$props2.touchScrollTarget;
|
14341 |
-
var target = document.body;
|
14342 |
-
var targetStyle = target && target.style; // safely decrement active scroll locks
|
14343 |
|
14344 |
-
|
|
|
14345 |
|
14346 |
-
|
14347 |
-
|
14348 |
-
var val = _this3.originalStyles[key];
|
14349 |
|
14350 |
-
|
14351 |
-
|
14352 |
-
|
14353 |
-
|
14354 |
-
|
|
|
14355 |
|
|
|
14356 |
|
14357 |
-
|
14358 |
-
|
|
|
14359 |
|
14360 |
-
if (
|
14361 |
-
|
14362 |
-
touchScrollTarget.removeEventListener('touchmove', allowTouchMove, this.listenerOptions);
|
14363 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14364 |
}
|
14365 |
}
|
14366 |
-
}
|
14367 |
-
|
14368 |
-
|
14369 |
-
|
14370 |
-
|
14371 |
-
}]);
|
14372 |
|
14373 |
return ScrollLock;
|
14374 |
-
}(
|
14375 |
|
14376 |
-
|
14377 |
accountForScrollbars: true
|
14378 |
-
}
|
|
|
|
|
14379 |
|
14380 |
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
14381 |
name: "1dsbpcp",
|
@@ -14393,110 +16766,100 @@ var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
14393 |
var ScrollBlock =
|
14394 |
/*#__PURE__*/
|
14395 |
function (_PureComponent) {
|
14396 |
-
|
14397 |
|
14398 |
function ScrollBlock() {
|
14399 |
-
var _getPrototypeOf2;
|
14400 |
-
|
14401 |
var _this;
|
14402 |
|
14403 |
-
Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, ScrollBlock);
|
14404 |
-
|
14405 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
14406 |
args[_key] = arguments[_key];
|
14407 |
}
|
14408 |
|
14409 |
-
_this =
|
14410 |
-
|
14411 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "state", {
|
14412 |
touchScrollTarget: null
|
14413 |
-
}
|
14414 |
|
14415 |
-
|
14416 |
if (ref === _this.state.touchScrollTarget) return;
|
14417 |
|
14418 |
_this.setState({
|
14419 |
touchScrollTarget: ref
|
14420 |
});
|
14421 |
-
}
|
14422 |
|
14423 |
-
|
14424 |
if (document.activeElement) {
|
14425 |
document.activeElement.blur();
|
14426 |
}
|
14427 |
-
}
|
14428 |
|
14429 |
return _this;
|
14430 |
}
|
14431 |
|
14432 |
-
|
14433 |
-
key: "render",
|
14434 |
-
value: function render() {
|
14435 |
-
var _this$props = this.props,
|
14436 |
-
children = _this$props.children,
|
14437 |
-
isEnabled = _this$props.isEnabled;
|
14438 |
-
var touchScrollTarget = this.state.touchScrollTarget; // bail early if not enabled
|
14439 |
-
|
14440 |
-
if (!isEnabled) return children;
|
14441 |
-
/*
|
14442 |
-
* Div
|
14443 |
-
* ------------------------------
|
14444 |
-
* blocks scrolling on non-body elements behind the menu
|
14445 |
-
* NodeResolver
|
14446 |
-
* ------------------------------
|
14447 |
-
* we need a reference to the scrollable element to "unlock" scroll on
|
14448 |
-
* mobile devices
|
14449 |
-
* ScrollLock
|
14450 |
-
* ------------------------------
|
14451 |
-
* actually does the scroll locking
|
14452 |
-
*/
|
14453 |
|
14454 |
-
|
14455 |
-
|
14456 |
-
|
14457 |
-
|
14458 |
-
|
14459 |
-
|
14460 |
-
|
14461 |
-
|
14462 |
-
|
14463 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14464 |
|
14465 |
return ScrollBlock;
|
14466 |
-
}(
|
|
|
|
|
|
|
|
|
14467 |
|
14468 |
var ScrollCaptor =
|
14469 |
/*#__PURE__*/
|
14470 |
function (_Component) {
|
14471 |
-
|
14472 |
|
14473 |
function ScrollCaptor() {
|
14474 |
-
var _getPrototypeOf2;
|
14475 |
-
|
14476 |
var _this;
|
14477 |
|
14478 |
-
Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, ScrollCaptor);
|
14479 |
-
|
14480 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
14481 |
args[_key] = arguments[_key];
|
14482 |
}
|
14483 |
|
14484 |
-
_this =
|
14485 |
-
|
14486 |
-
|
|
|
|
|
14487 |
|
14488 |
-
|
14489 |
-
|
14490 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "scrollTarget", void 0);
|
14491 |
-
|
14492 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "touchStart", void 0);
|
14493 |
-
|
14494 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "cancelScroll", function (event) {
|
14495 |
event.preventDefault();
|
14496 |
event.stopPropagation();
|
14497 |
-
}
|
14498 |
|
14499 |
-
|
14500 |
var _this$props = _this.props,
|
14501 |
onBottomArrive = _this$props.onBottomArrive,
|
14502 |
onBottomLeave = _this$props.onBottomLeave,
|
@@ -14544,128 +16907,106 @@ function (_Component) {
|
|
14544 |
if (shouldCancelScroll) {
|
14545 |
_this.cancelScroll(event);
|
14546 |
}
|
14547 |
-
}
|
14548 |
|
14549 |
-
|
14550 |
_this.handleEventDelta(event, event.deltaY);
|
14551 |
-
}
|
14552 |
|
14553 |
-
|
14554 |
// set touch start so we can calculate touchmove delta
|
14555 |
_this.touchStart = event.changedTouches[0].clientY;
|
14556 |
-
}
|
14557 |
|
14558 |
-
|
14559 |
var deltaY = _this.touchStart - event.changedTouches[0].clientY;
|
14560 |
|
14561 |
_this.handleEventDelta(event, deltaY);
|
14562 |
-
}
|
14563 |
|
14564 |
-
|
14565 |
_this.scrollTarget = ref;
|
14566 |
-
}
|
14567 |
|
14568 |
return _this;
|
14569 |
}
|
14570 |
|
14571 |
-
|
14572 |
-
key: "componentDidMount",
|
14573 |
-
value: function componentDidMount() {
|
14574 |
-
this.startListening(this.scrollTarget);
|
14575 |
-
}
|
14576 |
-
}, {
|
14577 |
-
key: "componentWillUnmount",
|
14578 |
-
value: function componentWillUnmount() {
|
14579 |
-
this.stopListening(this.scrollTarget);
|
14580 |
-
}
|
14581 |
-
}, {
|
14582 |
-
key: "startListening",
|
14583 |
-
value: function startListening(el) {
|
14584 |
-
// bail early if no element is available to attach to
|
14585 |
-
if (!el) return; // all the if statements are to appease Flow 😢
|
14586 |
|
14587 |
-
|
14588 |
-
|
14589 |
-
|
14590 |
|
14591 |
-
|
14592 |
-
|
14593 |
-
|
14594 |
|
14595 |
-
|
14596 |
-
|
14597 |
-
|
14598 |
-
}
|
14599 |
-
}, {
|
14600 |
-
key: "stopListening",
|
14601 |
-
value: function stopListening(el) {
|
14602 |
-
// all the if statements are to appease Flow 😢
|
14603 |
-
if (typeof el.removeEventListener === 'function') {
|
14604 |
-
el.removeEventListener('wheel', this.onWheel, false);
|
14605 |
-
}
|
14606 |
|
14607 |
-
|
14608 |
-
|
14609 |
-
|
14610 |
|
14611 |
-
|
14612 |
-
|
14613 |
-
}
|
14614 |
}
|
14615 |
-
|
14616 |
-
|
14617 |
-
|
14618 |
-
return __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(NodeResolver, {
|
14619 |
-
innerRef: this.getScrollTarget
|
14620 |
-
}, this.props.children);
|
14621 |
}
|
14622 |
-
}
|
14623 |
|
14624 |
-
|
14625 |
-
|
|
|
|
|
|
|
14626 |
|
14627 |
-
|
14628 |
-
|
14629 |
-
|
14630 |
-
Object(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_inherits__["a" /* default */])(ScrollCaptorSwitch, _Component2);
|
14631 |
|
14632 |
-
|
14633 |
-
|
|
|
|
|
14634 |
|
14635 |
-
|
14636 |
-
|
|
|
|
|
|
|
14637 |
|
14638 |
-
|
14639 |
-
|
14640 |
-
value: function render() {
|
14641 |
-
var _this$props2 = this.props,
|
14642 |
-
isEnabled = _this$props2.isEnabled,
|
14643 |
-
props = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(_this$props2, ["isEnabled"]);
|
14644 |
|
14645 |
-
|
14646 |
-
|
14647 |
-
|
|
|
14648 |
|
14649 |
-
return
|
14650 |
-
}
|
14651 |
|
14652 |
-
|
14653 |
-
|
14654 |
-
}
|
|
|
14655 |
|
14656 |
-
var
|
14657 |
-
|
14658 |
-
|
14659 |
-
|
14660 |
-
|
14661 |
-
isDisabled = context.isDisabled;
|
14662 |
|
14663 |
switch (event) {
|
14664 |
case 'menu':
|
14665 |
-
return "Use Up and Down to choose options"
|
14666 |
|
14667 |
case 'input':
|
14668 |
-
return
|
14669 |
|
14670 |
case 'value':
|
14671 |
return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';
|
@@ -14680,28 +17021,28 @@ var valueEventAriaMessage = function valueEventAriaMessage(event, context) {
|
|
14680 |
case 'deselect-option':
|
14681 |
case 'pop-value':
|
14682 |
case 'remove-value':
|
14683 |
-
return "option "
|
14684 |
|
14685 |
case 'select-option':
|
14686 |
-
return isDisabled ? "option "
|
14687 |
}
|
14688 |
};
|
14689 |
var valueFocusAriaMessage = function valueFocusAriaMessage(_ref) {
|
14690 |
var focusedValue = _ref.focusedValue,
|
14691 |
getOptionLabel = _ref.getOptionLabel,
|
14692 |
selectValue = _ref.selectValue;
|
14693 |
-
return "value "
|
14694 |
};
|
14695 |
var optionFocusAriaMessage = function optionFocusAriaMessage(_ref2) {
|
14696 |
var focusedOption = _ref2.focusedOption,
|
14697 |
getOptionLabel = _ref2.getOptionLabel,
|
14698 |
options = _ref2.options;
|
14699 |
-
return "option "
|
14700 |
};
|
14701 |
var resultsAriaMessage = function resultsAriaMessage(_ref3) {
|
14702 |
var inputValue = _ref3.inputValue,
|
14703 |
screenReaderMessage = _ref3.screenReaderMessage;
|
14704 |
-
return ""
|
14705 |
};
|
14706 |
|
14707 |
var formatGroupLabel = function formatGroupLabel(group) {
|
@@ -14717,37 +17058,40 @@ var isOptionDisabled = function isOptionDisabled(option) {
|
|
14717 |
return !!option.isDisabled;
|
14718 |
};
|
14719 |
|
|
|
14720 |
var defaultStyles = {
|
14721 |
-
clearIndicator:
|
14722 |
-
container:
|
14723 |
-
control:
|
14724 |
-
dropdownIndicator:
|
14725 |
-
group:
|
14726 |
-
groupHeading:
|
14727 |
-
indicatorsContainer:
|
14728 |
-
indicatorSeparator:
|
14729 |
-
input:
|
14730 |
-
loadingIndicator:
|
14731 |
-
loadingMessage:
|
14732 |
-
menu:
|
14733 |
-
menuList:
|
14734 |
-
menuPortal:
|
14735 |
-
multiValue:
|
14736 |
-
multiValueLabel:
|
14737 |
-
multiValueRemove:
|
14738 |
-
noOptionsMessage:
|
14739 |
-
option:
|
14740 |
-
placeholder:
|
14741 |
-
singleValue:
|
14742 |
-
valueContainer:
|
14743 |
}; // Merge Utility
|
14744 |
// Allows consumers to extend a base Select with additional styles
|
14745 |
|
14746 |
-
function mergeStyles(source) {
|
14747 |
-
|
|
|
|
|
14748 |
|
14749 |
// initialize with source styles
|
14750 |
-
var styles =
|
14751 |
|
14752 |
|
14753 |
Object.keys(target).forEach(function (key) {
|
@@ -14799,10 +17143,17 @@ var defaultTheme = {
|
|
14799 |
spacing: spacing
|
14800 |
};
|
14801 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14802 |
var defaultProps = {
|
14803 |
backspaceRemovesValue: true,
|
14804 |
-
blurInputOnSelect: Object(
|
14805 |
-
captureMenuScroll: !Object(
|
14806 |
closeMenuOnSelect: true,
|
14807 |
closeMenuOnScroll: false,
|
14808 |
components: {},
|
@@ -14827,7 +17178,7 @@ var defaultProps = {
|
|
14827 |
menuPlacement: 'bottom',
|
14828 |
menuPosition: 'absolute',
|
14829 |
menuShouldBlockScroll: false,
|
14830 |
-
menuShouldScrollIntoView: !Object(
|
14831 |
noOptionsMessage: function noOptionsMessage() {
|
14832 |
return 'No options';
|
14833 |
},
|
@@ -14838,7 +17189,7 @@ var defaultProps = {
|
|
14838 |
placeholder: 'Select...',
|
14839 |
screenReaderStatus: function screenReaderStatus(_ref) {
|
14840 |
var count = _ref.count;
|
14841 |
-
return
|
14842 |
},
|
14843 |
styles: {},
|
14844 |
tabIndex: '0',
|
@@ -14849,7 +17200,7 @@ var instanceId = 1;
|
|
14849 |
var Select =
|
14850 |
/*#__PURE__*/
|
14851 |
function (_Component) {
|
14852 |
-
|
14853 |
|
14854 |
// Misc. Instance Properties
|
14855 |
// ------------------------------
|
@@ -14861,11 +17212,8 @@ function (_Component) {
|
|
14861 |
function Select(_props) {
|
14862 |
var _this;
|
14863 |
|
14864 |
-
|
14865 |
-
|
14866 |
-
_this = Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_possibleConstructorReturn__["a" /* default */])(this, Object(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_esm_getPrototypeOf__["a" /* default */])(Select).call(this, _props));
|
14867 |
-
|
14868 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "state", {
|
14869 |
ariaLiveSelection: '',
|
14870 |
ariaLiveContext: '',
|
14871 |
focusedOption: null,
|
@@ -14877,80 +17225,67 @@ function (_Component) {
|
|
14877 |
focusable: []
|
14878 |
},
|
14879 |
selectValue: []
|
14880 |
-
}
|
14881 |
-
|
14882 |
-
|
14883 |
-
|
14884 |
-
|
14885 |
-
|
14886 |
-
|
14887 |
-
|
14888 |
-
|
14889 |
-
|
14890 |
-
|
14891 |
-
|
14892 |
-
|
14893 |
-
|
14894 |
-
|
14895 |
-
|
14896 |
-
|
14897 |
-
|
14898 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "inputIsHiddenAfterUpdate", void 0);
|
14899 |
-
|
14900 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "instancePrefix", '');
|
14901 |
-
|
14902 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "openAfterFocus", false);
|
14903 |
-
|
14904 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "scrollToFocusedOptionOnUpdate", false);
|
14905 |
-
|
14906 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "userIsDragging", void 0);
|
14907 |
-
|
14908 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "controlRef", null);
|
14909 |
-
|
14910 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "getControlRef", function (ref) {
|
14911 |
_this.controlRef = ref;
|
14912 |
-
}
|
14913 |
|
14914 |
-
|
14915 |
|
14916 |
-
|
14917 |
_this.focusedOptionRef = ref;
|
14918 |
-
}
|
14919 |
|
14920 |
-
|
14921 |
|
14922 |
-
|
14923 |
_this.menuListRef = ref;
|
14924 |
-
}
|
14925 |
|
14926 |
-
|
14927 |
|
14928 |
-
|
14929 |
_this.inputRef = ref;
|
14930 |
-
}
|
14931 |
|
14932 |
-
|
14933 |
-
_this.components = Object(
|
14934 |
components: components
|
14935 |
});
|
14936 |
-
}
|
14937 |
-
|
14938 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "focus", _this.focusInput);
|
14939 |
|
14940 |
-
|
|
|
14941 |
|
14942 |
-
|
14943 |
var _this$props = _this.props,
|
14944 |
onChange = _this$props.onChange,
|
14945 |
name = _this$props.name;
|
14946 |
-
onChange(newValue,
|
14947 |
name: name
|
14948 |
}));
|
14949 |
-
}
|
|
|
|
|
|
|
|
|
|
|
14950 |
|
14951 |
-
Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_defineProperty__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), "setValue", function (newValue) {
|
14952 |
-
var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'set-value';
|
14953 |
-
var option = arguments.length > 2 ? arguments[2] : undefined;
|
14954 |
var _this$props2 = _this.props,
|
14955 |
closeMenuOnSelect = _this$props2.closeMenuOnSelect,
|
14956 |
isMulti = _this$props2.isMulti;
|
@@ -14972,9 +17307,9 @@ function (_Component) {
|
|
14972 |
action: action,
|
14973 |
option: option
|
14974 |
});
|
14975 |
-
}
|
14976 |
|
14977 |
-
|
14978 |
var _this$props3 = _this.props,
|
14979 |
blurInputOnSelect = _this$props3.blurInputOnSelect,
|
14980 |
isMulti = _this$props3.isMulti;
|
@@ -14996,7 +17331,7 @@ function (_Component) {
|
|
14996 |
});
|
14997 |
} else {
|
14998 |
if (!_this.isOptionDisabled(newValue, selectValue)) {
|
14999 |
-
_this.setValue([].concat(
|
15000 |
|
15001 |
_this.announceAriaLiveSelection({
|
15002 |
event: 'select-option',
|
@@ -15040,9 +17375,9 @@ function (_Component) {
|
|
15040 |
if (blurInputOnSelect) {
|
15041 |
_this.blurInput();
|
15042 |
}
|
15043 |
-
}
|
15044 |
|
15045 |
-
|
15046 |
var selectValue = _this.state.selectValue;
|
15047 |
|
15048 |
var candidate = _this.getOptionValue(removedValue);
|
@@ -15064,17 +17399,17 @@ function (_Component) {
|
|
15064 |
});
|
15065 |
|
15066 |
_this.focusInput();
|
15067 |
-
}
|
15068 |
|
15069 |
-
|
15070 |
var isMulti = _this.props.isMulti;
|
15071 |
|
15072 |
_this.onChange(isMulti ? [] : null, {
|
15073 |
action: 'clear'
|
15074 |
});
|
15075 |
-
}
|
15076 |
|
15077 |
-
|
15078 |
var selectValue = _this.state.selectValue;
|
15079 |
var lastSelectedValue = selectValue[selectValue.length - 1];
|
15080 |
var newValue = selectValue.slice(0, selectValue.length - 1);
|
@@ -15090,28 +17425,28 @@ function (_Component) {
|
|
15090 |
action: 'pop-value',
|
15091 |
removedValue: lastSelectedValue
|
15092 |
});
|
15093 |
-
}
|
15094 |
|
15095 |
-
|
15096 |
return _this.props.getOptionLabel(data);
|
15097 |
-
}
|
15098 |
|
15099 |
-
|
15100 |
return _this.props.getOptionValue(data);
|
15101 |
-
}
|
15102 |
|
15103 |
-
|
15104 |
var base = defaultStyles[key](props);
|
15105 |
base.boxSizing = 'border-box';
|
15106 |
var custom = _this.props.styles[key];
|
15107 |
return custom ? custom(base, props) : base;
|
15108 |
-
}
|
15109 |
|
15110 |
-
|
15111 |
-
return
|
15112 |
-
}
|
15113 |
|
15114 |
-
|
15115 |
var menuIsOpen = _this.props.menuIsOpen;
|
15116 |
var _this$state = _this.state,
|
15117 |
menuOptions = _this$state.menuOptions,
|
@@ -15120,29 +17455,29 @@ function (_Component) {
|
|
15120 |
var index = menuOptions.focusable.indexOf(focusedOption);
|
15121 |
var option = menuOptions.render[index];
|
15122 |
return option && option.key;
|
15123 |
-
}
|
15124 |
|
15125 |
-
|
15126 |
var event = _ref2.event,
|
15127 |
context = _ref2.context;
|
15128 |
|
15129 |
_this.setState({
|
15130 |
ariaLiveSelection: valueEventAriaMessage(event, context)
|
15131 |
});
|
15132 |
-
}
|
15133 |
|
15134 |
-
|
15135 |
var event = _ref3.event,
|
15136 |
context = _ref3.context;
|
15137 |
|
15138 |
_this.setState({
|
15139 |
-
ariaLiveContext: instructionsAriaMessage(event,
|
15140 |
label: _this.props['aria-label']
|
15141 |
}))
|
15142 |
});
|
15143 |
-
}
|
15144 |
|
15145 |
-
|
15146 |
if (event.button !== 0) {
|
15147 |
return;
|
15148 |
}
|
@@ -15151,13 +17486,13 @@ function (_Component) {
|
|
15151 |
event.preventDefault();
|
15152 |
|
15153 |
_this.focusInput();
|
15154 |
-
}
|
15155 |
|
15156 |
-
|
15157 |
_this.blockOptionHover = false;
|
15158 |
-
}
|
15159 |
|
15160 |
-
|
15161 |
var openMenuOnClick = _this.props.openMenuOnClick;
|
15162 |
|
15163 |
if (!_this.state.isFocused) {
|
@@ -15171,19 +17506,19 @@ function (_Component) {
|
|
15171 |
_this.openMenu('first');
|
15172 |
}
|
15173 |
} else {
|
15174 |
-
|
15175 |
-
|
15176 |
_this.onMenuClose();
|
15177 |
}
|
15178 |
-
}
|
15179 |
-
|
15180 |
|
15181 |
-
if (
|
|
|
15182 |
event.preventDefault();
|
15183 |
}
|
15184 |
-
}
|
15185 |
|
15186 |
-
|
15187 |
// ignore mouse events that weren't triggered by the primary button
|
15188 |
if (event && event.type === 'mousedown' && event.button !== 0) {
|
15189 |
return;
|
@@ -15206,9 +17541,9 @@ function (_Component) {
|
|
15206 |
|
15207 |
event.preventDefault();
|
15208 |
event.stopPropagation();
|
15209 |
-
}
|
15210 |
|
15211 |
-
|
15212 |
// ignore mouse events that weren't triggered by the primary button
|
15213 |
if (event && event.type === 'mousedown' && event.button !== 0) {
|
15214 |
return;
|
@@ -15226,11 +17561,11 @@ function (_Component) {
|
|
15226 |
return _this.focusInput();
|
15227 |
});
|
15228 |
}
|
15229 |
-
}
|
15230 |
|
15231 |
-
|
15232 |
if (typeof _this.props.closeMenuOnScroll === 'boolean') {
|
15233 |
-
if (event.target instanceof HTMLElement && Object(
|
15234 |
_this.props.onMenuClose();
|
15235 |
}
|
15236 |
} else if (typeof _this.props.closeMenuOnScroll === 'function') {
|
@@ -15238,17 +17573,17 @@ function (_Component) {
|
|
15238 |
_this.props.onMenuClose();
|
15239 |
}
|
15240 |
}
|
15241 |
-
}
|
15242 |
|
15243 |
-
|
15244 |
_this.isComposing = true;
|
15245 |
-
}
|
15246 |
|
15247 |
-
|
15248 |
_this.isComposing = false;
|
15249 |
-
}
|
15250 |
|
15251 |
-
|
15252 |
var touches = _ref4.touches;
|
15253 |
var touch = touches.item(0);
|
15254 |
|
@@ -15259,9 +17594,9 @@ function (_Component) {
|
|
15259 |
_this.initialTouchX = touch.clientX;
|
15260 |
_this.initialTouchY = touch.clientY;
|
15261 |
_this.userIsDragging = false;
|
15262 |
-
}
|
15263 |
|
15264 |
-
|
15265 |
var touches = _ref5.touches;
|
15266 |
var touch = touches.item(0);
|
15267 |
|
@@ -15273,9 +17608,9 @@ function (_Component) {
|
|
15273 |
var deltaY = Math.abs(touch.clientY - _this.initialTouchY);
|
15274 |
var moveThreshold = 5;
|
15275 |
_this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;
|
15276 |
-
}
|
15277 |
|
15278 |
-
|
15279 |
if (_this.userIsDragging) return; // close the menu if the user taps outside
|
15280 |
// we're checking on event.target here instead of event.currentTarget, because we want to assert information
|
15281 |
// on events on child elements, not the document (which we've attached this handler to).
|
@@ -15287,27 +17622,27 @@ function (_Component) {
|
|
15287 |
|
15288 |
_this.initialTouchX = 0;
|
15289 |
_this.initialTouchY = 0;
|
15290 |
-
}
|
15291 |
|
15292 |
-
|
15293 |
if (_this.userIsDragging) return;
|
15294 |
|
15295 |
_this.onControlMouseDown(event);
|
15296 |
-
}
|
15297 |
|
15298 |
-
|
15299 |
if (_this.userIsDragging) return;
|
15300 |
|
15301 |
_this.onClearIndicatorMouseDown(event);
|
15302 |
-
}
|
15303 |
|
15304 |
-
|
15305 |
if (_this.userIsDragging) return;
|
15306 |
|
15307 |
_this.onDropdownIndicatorMouseDown(event);
|
15308 |
-
}
|
15309 |
|
15310 |
-
|
15311 |
var inputValue = event.currentTarget.value;
|
15312 |
_this.inputIsHiddenAfterUpdate = false;
|
15313 |
|
@@ -15316,9 +17651,9 @@ function (_Component) {
|
|
15316 |
});
|
15317 |
|
15318 |
_this.onMenuOpen();
|
15319 |
-
}
|
15320 |
|
15321 |
-
|
15322 |
var _this$props5 = _this.props,
|
15323 |
isSearchable = _this$props5.isSearchable,
|
15324 |
isMulti = _this$props5.isMulti;
|
@@ -15346,9 +17681,9 @@ function (_Component) {
|
|
15346 |
}
|
15347 |
|
15348 |
_this.openAfterFocus = false;
|
15349 |
-
}
|
15350 |
|
15351 |
-
|
15352 |
if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
|
15353 |
_this.inputRef.focus();
|
15354 |
|
@@ -15369,9 +17704,9 @@ function (_Component) {
|
|
15369 |
focusedValue: null,
|
15370 |
isFocused: false
|
15371 |
});
|
15372 |
-
}
|
15373 |
|
15374 |
-
|
15375 |
if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
|
15376 |
return;
|
15377 |
}
|
@@ -15379,17 +17714,17 @@ function (_Component) {
|
|
15379 |
_this.setState({
|
15380 |
focusedOption: focusedOption
|
15381 |
});
|
15382 |
-
}
|
15383 |
|
15384 |
-
|
15385 |
var _this$props6 = _this.props,
|
15386 |
hideSelectedOptions = _this$props6.hideSelectedOptions,
|
15387 |
isMulti = _this$props6.isMulti;
|
15388 |
if (hideSelectedOptions === undefined) return isMulti;
|
15389 |
return hideSelectedOptions;
|
15390 |
-
}
|
15391 |
|
15392 |
-
|
15393 |
var _this$props7 = _this.props,
|
15394 |
isMulti = _this$props7.isMulti,
|
15395 |
backspaceRemovesValue = _this$props7.backspaceRemovesValue,
|
@@ -15566,522 +17901,23 @@ function (_Component) {
|
|
15566 |
}
|
15567 |
|
15568 |
event.preventDefault();
|
15569 |
-
});
|
15570 |
-
|
15571 |
-
var value = _props.value;
|
15572 |
-
_this.cacheComponents = Object(__WEBPACK_IMPORTED_MODULE_12_memoize_one__["a" /* default */])(_this.cacheComponents, __WEBPACK_IMPORTED_MODULE_16__chunk_80640036_browser_esm_js__["y" /* x */]).bind(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)));
|
15573 |
-
|
15574 |
-
_this.cacheComponents(_props.components);
|
15575 |
-
|
15576 |
-
_this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
|
15577 |
-
|
15578 |
-
var _selectValue = Object(__WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__["f"])(value);
|
15579 |
-
|
15580 |
-
var _menuOptions = _props.menuIsOpen ? _this.buildMenuOptions(_props, _selectValue) : {
|
15581 |
-
render: [],
|
15582 |
-
focusable: []
|
15583 |
};
|
15584 |
|
15585 |
-
_this.
|
15586 |
-
_this.state.selectValue = _selectValue;
|
15587 |
-
return _this;
|
15588 |
-
}
|
15589 |
-
|
15590 |
-
Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_createClass__["a" /* default */])(Select, [{
|
15591 |
-
key: "componentDidMount",
|
15592 |
-
value: function componentDidMount() {
|
15593 |
-
this.startListeningComposition();
|
15594 |
-
this.startListeningToTouch();
|
15595 |
-
|
15596 |
-
if (this.props.closeMenuOnScroll && document && document.addEventListener) {
|
15597 |
-
// Listen to all scroll events, and filter them out inside of 'onScroll'
|
15598 |
-
document.addEventListener('scroll', this.onScroll, true);
|
15599 |
-
}
|
15600 |
-
|
15601 |
-
if (this.props.autoFocus) {
|
15602 |
-
this.focusInput();
|
15603 |
-
}
|
15604 |
-
}
|
15605 |
-
}, {
|
15606 |
-
key: "UNSAFE_componentWillReceiveProps",
|
15607 |
-
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
15608 |
-
var _this$props8 = this.props,
|
15609 |
-
options = _this$props8.options,
|
15610 |
-
value = _this$props8.value,
|
15611 |
-
menuIsOpen = _this$props8.menuIsOpen,
|
15612 |
-
inputValue = _this$props8.inputValue; // re-cache custom components
|
15613 |
-
|
15614 |
-
this.cacheComponents(nextProps.components); // rebuild the menu options
|
15615 |
-
|
15616 |
-
if (nextProps.value !== value || nextProps.options !== options || nextProps.menuIsOpen !== menuIsOpen || nextProps.inputValue !== inputValue) {
|
15617 |
-
var selectValue = Object(__WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__["f"])(nextProps.value);
|
15618 |
-
var menuOptions = nextProps.menuIsOpen ? this.buildMenuOptions(nextProps, selectValue) : {
|
15619 |
-
render: [],
|
15620 |
-
focusable: []
|
15621 |
-
};
|
15622 |
-
var focusedValue = this.getNextFocusedValue(selectValue);
|
15623 |
-
var focusedOption = this.getNextFocusedOption(menuOptions.focusable);
|
15624 |
-
this.setState({
|
15625 |
-
menuOptions: menuOptions,
|
15626 |
-
selectValue: selectValue,
|
15627 |
-
focusedOption: focusedOption,
|
15628 |
-
focusedValue: focusedValue
|
15629 |
-
});
|
15630 |
-
} // some updates should toggle the state of the input visibility
|
15631 |
-
|
15632 |
-
|
15633 |
-
if (this.inputIsHiddenAfterUpdate != null) {
|
15634 |
-
this.setState({
|
15635 |
-
inputIsHidden: this.inputIsHiddenAfterUpdate
|
15636 |
-
});
|
15637 |
-
delete this.inputIsHiddenAfterUpdate;
|
15638 |
-
}
|
15639 |
-
}
|
15640 |
-
}, {
|
15641 |
-
key: "componentDidUpdate",
|
15642 |
-
value: function componentDidUpdate(prevProps) {
|
15643 |
-
var _this$props9 = this.props,
|
15644 |
-
isDisabled = _this$props9.isDisabled,
|
15645 |
-
menuIsOpen = _this$props9.menuIsOpen;
|
15646 |
-
var isFocused = this.state.isFocused;
|
15647 |
-
|
15648 |
-
if ( // ensure focus is restored correctly when the control becomes enabled
|
15649 |
-
isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens
|
15650 |
-
isFocused && menuIsOpen && !prevProps.menuIsOpen) {
|
15651 |
-
this.focusInput();
|
15652 |
-
} // scroll the focused option into view if necessary
|
15653 |
-
|
15654 |
-
|
15655 |
-
if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {
|
15656 |
-
Object(__WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__["h"])(this.menuListRef, this.focusedOptionRef);
|
15657 |
-
}
|
15658 |
-
|
15659 |
-
this.scrollToFocusedOptionOnUpdate = false;
|
15660 |
-
}
|
15661 |
-
}, {
|
15662 |
-
key: "componentWillUnmount",
|
15663 |
-
value: function componentWillUnmount() {
|
15664 |
-
this.stopListeningComposition();
|
15665 |
-
this.stopListeningToTouch();
|
15666 |
-
document.removeEventListener('scroll', this.onScroll, true);
|
15667 |
-
}
|
15668 |
-
}, {
|
15669 |
-
key: "onMenuOpen",
|
15670 |
-
// ==============================
|
15671 |
-
// Consumer Handlers
|
15672 |
-
// ==============================
|
15673 |
-
value: function onMenuOpen() {
|
15674 |
-
this.props.onMenuOpen();
|
15675 |
-
}
|
15676 |
-
}, {
|
15677 |
-
key: "onMenuClose",
|
15678 |
-
value: function onMenuClose() {
|
15679 |
-
var _this$props10 = this.props,
|
15680 |
-
isSearchable = _this$props10.isSearchable,
|
15681 |
-
isMulti = _this$props10.isMulti;
|
15682 |
-
this.announceAriaLiveContext({
|
15683 |
-
event: 'input',
|
15684 |
-
context: {
|
15685 |
-
isSearchable: isSearchable,
|
15686 |
-
isMulti: isMulti
|
15687 |
-
}
|
15688 |
-
});
|
15689 |
-
this.onInputChange('', {
|
15690 |
-
action: 'menu-close'
|
15691 |
-
});
|
15692 |
-
this.props.onMenuClose();
|
15693 |
-
}
|
15694 |
-
}, {
|
15695 |
-
key: "onInputChange",
|
15696 |
-
value: function onInputChange(newValue, actionMeta) {
|
15697 |
-
this.props.onInputChange(newValue, actionMeta);
|
15698 |
-
} // ==============================
|
15699 |
-
// Methods
|
15700 |
-
// ==============================
|
15701 |
-
|
15702 |
-
}, {
|
15703 |
-
key: "focusInput",
|
15704 |
-
value: function focusInput() {
|
15705 |
-
if (!this.inputRef) return;
|
15706 |
-
this.inputRef.focus();
|
15707 |
-
}
|
15708 |
-
}, {
|
15709 |
-
key: "blurInput",
|
15710 |
-
value: function blurInput() {
|
15711 |
-
if (!this.inputRef) return;
|
15712 |
-
this.inputRef.blur();
|
15713 |
-
} // aliased for consumers
|
15714 |
-
|
15715 |
-
}, {
|
15716 |
-
key: "openMenu",
|
15717 |
-
value: function openMenu(focusOption) {
|
15718 |
-
var _this$state3 = this.state,
|
15719 |
-
menuOptions = _this$state3.menuOptions,
|
15720 |
-
selectValue = _this$state3.selectValue,
|
15721 |
-
isFocused = _this$state3.isFocused;
|
15722 |
-
var isMulti = this.props.isMulti;
|
15723 |
-
var openAtIndex = focusOption === 'first' ? 0 : menuOptions.focusable.length - 1;
|
15724 |
-
|
15725 |
-
if (!isMulti) {
|
15726 |
-
var selectedIndex = menuOptions.focusable.indexOf(selectValue[0]);
|
15727 |
-
|
15728 |
-
if (selectedIndex > -1) {
|
15729 |
-
openAtIndex = selectedIndex;
|
15730 |
-
}
|
15731 |
-
} // only scroll if the menu isn't already open
|
15732 |
-
|
15733 |
-
|
15734 |
-
this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);
|
15735 |
-
this.inputIsHiddenAfterUpdate = false;
|
15736 |
-
this.onMenuOpen();
|
15737 |
-
this.setState({
|
15738 |
-
focusedValue: null,
|
15739 |
-
focusedOption: menuOptions.focusable[openAtIndex]
|
15740 |
-
});
|
15741 |
-
this.announceAriaLiveContext({
|
15742 |
-
event: 'menu'
|
15743 |
-
});
|
15744 |
-
}
|
15745 |
-
}, {
|
15746 |
-
key: "focusValue",
|
15747 |
-
value: function focusValue(direction) {
|
15748 |
-
var _this$props11 = this.props,
|
15749 |
-
isMulti = _this$props11.isMulti,
|
15750 |
-
isSearchable = _this$props11.isSearchable;
|
15751 |
-
var _this$state4 = this.state,
|
15752 |
-
selectValue = _this$state4.selectValue,
|
15753 |
-
focusedValue = _this$state4.focusedValue; // Only multiselects support value focusing
|
15754 |
-
|
15755 |
-
if (!isMulti) return;
|
15756 |
-
this.setState({
|
15757 |
-
focusedOption: null
|
15758 |
-
});
|
15759 |
-
var focusedIndex = selectValue.indexOf(focusedValue);
|
15760 |
-
|
15761 |
-
if (!focusedValue) {
|
15762 |
-
focusedIndex = -1;
|
15763 |
-
this.announceAriaLiveContext({
|
15764 |
-
event: 'value'
|
15765 |
-
});
|
15766 |
-
}
|
15767 |
-
|
15768 |
-
var lastIndex = selectValue.length - 1;
|
15769 |
-
var nextFocus = -1;
|
15770 |
-
if (!selectValue.length) return;
|
15771 |
-
|
15772 |
-
switch (direction) {
|
15773 |
-
case 'previous':
|
15774 |
-
if (focusedIndex === 0) {
|
15775 |
-
// don't cycle from the start to the end
|
15776 |
-
nextFocus = 0;
|
15777 |
-
} else if (focusedIndex === -1) {
|
15778 |
-
// if nothing is focused, focus the last value first
|
15779 |
-
nextFocus = lastIndex;
|
15780 |
-
} else {
|
15781 |
-
nextFocus = focusedIndex - 1;
|
15782 |
-
}
|
15783 |
-
|
15784 |
-
break;
|
15785 |
-
|
15786 |
-
case 'next':
|
15787 |
-
if (focusedIndex > -1 && focusedIndex < lastIndex) {
|
15788 |
-
nextFocus = focusedIndex + 1;
|
15789 |
-
}
|
15790 |
-
|
15791 |
-
break;
|
15792 |
-
}
|
15793 |
-
|
15794 |
-
if (nextFocus === -1) {
|
15795 |
-
this.announceAriaLiveContext({
|
15796 |
-
event: 'input',
|
15797 |
-
context: {
|
15798 |
-
isSearchable: isSearchable,
|
15799 |
-
isMulti: isMulti
|
15800 |
-
}
|
15801 |
-
});
|
15802 |
-
}
|
15803 |
-
|
15804 |
-
this.setState({
|
15805 |
-
inputIsHidden: nextFocus !== -1,
|
15806 |
-
focusedValue: selectValue[nextFocus]
|
15807 |
-
});
|
15808 |
-
}
|
15809 |
-
}, {
|
15810 |
-
key: "focusOption",
|
15811 |
-
value: function focusOption() {
|
15812 |
-
var direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'first';
|
15813 |
-
var pageSize = this.props.pageSize;
|
15814 |
-
var _this$state5 = this.state,
|
15815 |
-
focusedOption = _this$state5.focusedOption,
|
15816 |
-
menuOptions = _this$state5.menuOptions;
|
15817 |
-
var options = menuOptions.focusable;
|
15818 |
-
if (!options.length) return;
|
15819 |
-
var nextFocus = 0; // handles 'first'
|
15820 |
-
|
15821 |
-
var focusedIndex = options.indexOf(focusedOption);
|
15822 |
-
|
15823 |
-
if (!focusedOption) {
|
15824 |
-
focusedIndex = -1;
|
15825 |
-
this.announceAriaLiveContext({
|
15826 |
-
event: 'menu'
|
15827 |
-
});
|
15828 |
-
}
|
15829 |
-
|
15830 |
-
if (direction === 'up') {
|
15831 |
-
nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options.length - 1;
|
15832 |
-
} else if (direction === 'down') {
|
15833 |
-
nextFocus = (focusedIndex + 1) % options.length;
|
15834 |
-
} else if (direction === 'pageup') {
|
15835 |
-
nextFocus = focusedIndex - pageSize;
|
15836 |
-
if (nextFocus < 0) nextFocus = 0;
|
15837 |
-
} else if (direction === 'pagedown') {
|
15838 |
-
nextFocus = focusedIndex + pageSize;
|
15839 |
-
if (nextFocus > options.length - 1) nextFocus = options.length - 1;
|
15840 |
-
} else if (direction === 'last') {
|
15841 |
-
nextFocus = options.length - 1;
|
15842 |
-
}
|
15843 |
-
|
15844 |
-
this.scrollToFocusedOptionOnUpdate = true;
|
15845 |
-
this.setState({
|
15846 |
-
focusedOption: options[nextFocus],
|
15847 |
-
focusedValue: null
|
15848 |
-
});
|
15849 |
-
this.announceAriaLiveContext({
|
15850 |
-
event: 'menu',
|
15851 |
-
context: {
|
15852 |
-
isDisabled: isOptionDisabled(options[nextFocus])
|
15853 |
-
}
|
15854 |
-
});
|
15855 |
-
}
|
15856 |
-
}, {
|
15857 |
-
key: "getTheme",
|
15858 |
-
// ==============================
|
15859 |
-
// Getters
|
15860 |
-
// ==============================
|
15861 |
-
value: function getTheme() {
|
15862 |
-
// Use the default theme if there are no customizations.
|
15863 |
-
if (!this.props.theme) {
|
15864 |
-
return defaultTheme;
|
15865 |
-
} // If the theme prop is a function, assume the function
|
15866 |
-
// knows how to merge the passed-in default theme with
|
15867 |
-
// its own modifications.
|
15868 |
-
|
15869 |
-
|
15870 |
-
if (typeof this.props.theme === 'function') {
|
15871 |
-
return this.props.theme(defaultTheme);
|
15872 |
-
} // Otherwise, if a plain theme object was passed in,
|
15873 |
-
// overlay it with the default theme.
|
15874 |
-
|
15875 |
-
|
15876 |
-
return Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectSpread__["a" /* default */])({}, defaultTheme, this.props.theme);
|
15877 |
-
}
|
15878 |
-
}, {
|
15879 |
-
key: "getCommonProps",
|
15880 |
-
value: function getCommonProps() {
|
15881 |
-
var clearValue = this.clearValue,
|
15882 |
-
getStyles = this.getStyles,
|
15883 |
-
setValue = this.setValue,
|
15884 |
-
selectOption = this.selectOption,
|
15885 |
-
props = this.props;
|
15886 |
-
var classNamePrefix = props.classNamePrefix,
|
15887 |
-
isMulti = props.isMulti,
|
15888 |
-
isRtl = props.isRtl,
|
15889 |
-
options = props.options;
|
15890 |
-
var selectValue = this.state.selectValue;
|
15891 |
-
var hasValue = this.hasValue();
|
15892 |
-
|
15893 |
-
var getValue = function getValue() {
|
15894 |
-
return selectValue;
|
15895 |
-
};
|
15896 |
-
|
15897 |
-
var cx = __WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__["j"].bind(null, classNamePrefix);
|
15898 |
-
return {
|
15899 |
-
cx: cx,
|
15900 |
-
clearValue: clearValue,
|
15901 |
-
getStyles: getStyles,
|
15902 |
-
getValue: getValue,
|
15903 |
-
hasValue: hasValue,
|
15904 |
-
isMulti: isMulti,
|
15905 |
-
isRtl: isRtl,
|
15906 |
-
options: options,
|
15907 |
-
selectOption: selectOption,
|
15908 |
-
setValue: setValue,
|
15909 |
-
selectProps: props,
|
15910 |
-
theme: this.getTheme()
|
15911 |
-
};
|
15912 |
-
}
|
15913 |
-
}, {
|
15914 |
-
key: "getNextFocusedValue",
|
15915 |
-
value: function getNextFocusedValue(nextSelectValue) {
|
15916 |
-
if (this.clearFocusValueOnUpdate) {
|
15917 |
-
this.clearFocusValueOnUpdate = false;
|
15918 |
-
return null;
|
15919 |
-
}
|
15920 |
-
|
15921 |
-
var _this$state6 = this.state,
|
15922 |
-
focusedValue = _this$state6.focusedValue,
|
15923 |
-
lastSelectValue = _this$state6.selectValue;
|
15924 |
-
var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);
|
15925 |
-
|
15926 |
-
if (lastFocusedIndex > -1) {
|
15927 |
-
var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);
|
15928 |
-
|
15929 |
-
if (nextFocusedIndex > -1) {
|
15930 |
-
// the focused value is still in the selectValue, return it
|
15931 |
-
return focusedValue;
|
15932 |
-
} else if (lastFocusedIndex < nextSelectValue.length) {
|
15933 |
-
// the focusedValue is not present in the next selectValue array by
|
15934 |
-
// reference, so return the new value at the same index
|
15935 |
-
return nextSelectValue[lastFocusedIndex];
|
15936 |
-
}
|
15937 |
-
}
|
15938 |
-
|
15939 |
-
return null;
|
15940 |
-
}
|
15941 |
-
}, {
|
15942 |
-
key: "getNextFocusedOption",
|
15943 |
-
value: function getNextFocusedOption(options) {
|
15944 |
-
var lastFocusedOption = this.state.focusedOption;
|
15945 |
-
return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
|
15946 |
-
}
|
15947 |
-
}, {
|
15948 |
-
key: "hasValue",
|
15949 |
-
value: function hasValue() {
|
15950 |
-
var selectValue = this.state.selectValue;
|
15951 |
-
return selectValue.length > 0;
|
15952 |
-
}
|
15953 |
-
}, {
|
15954 |
-
key: "hasOptions",
|
15955 |
-
value: function hasOptions() {
|
15956 |
-
return !!this.state.menuOptions.render.length;
|
15957 |
-
}
|
15958 |
-
}, {
|
15959 |
-
key: "countOptions",
|
15960 |
-
value: function countOptions() {
|
15961 |
-
return this.state.menuOptions.focusable.length;
|
15962 |
-
}
|
15963 |
-
}, {
|
15964 |
-
key: "isClearable",
|
15965 |
-
value: function isClearable() {
|
15966 |
-
var _this$props12 = this.props,
|
15967 |
-
isClearable = _this$props12.isClearable,
|
15968 |
-
isMulti = _this$props12.isMulti; // single select, by default, IS NOT clearable
|
15969 |
-
// multi select, by default, IS clearable
|
15970 |
-
|
15971 |
-
if (isClearable === undefined) return isMulti;
|
15972 |
-
return isClearable;
|
15973 |
-
}
|
15974 |
-
}, {
|
15975 |
-
key: "isOptionDisabled",
|
15976 |
-
value: function isOptionDisabled(option, selectValue) {
|
15977 |
-
return typeof this.props.isOptionDisabled === 'function' ? this.props.isOptionDisabled(option, selectValue) : false;
|
15978 |
-
}
|
15979 |
-
}, {
|
15980 |
-
key: "isOptionSelected",
|
15981 |
-
value: function isOptionSelected(option, selectValue) {
|
15982 |
-
var _this2 = this;
|
15983 |
-
|
15984 |
-
if (selectValue.indexOf(option) > -1) return true;
|
15985 |
-
|
15986 |
-
if (typeof this.props.isOptionSelected === 'function') {
|
15987 |
-
return this.props.isOptionSelected(option, selectValue);
|
15988 |
-
}
|
15989 |
-
|
15990 |
-
var candidate = this.getOptionValue(option);
|
15991 |
-
return selectValue.some(function (i) {
|
15992 |
-
return _this2.getOptionValue(i) === candidate;
|
15993 |
-
});
|
15994 |
-
}
|
15995 |
-
}, {
|
15996 |
-
key: "filterOption",
|
15997 |
-
value: function filterOption(option, inputValue) {
|
15998 |
-
return this.props.filterOption ? this.props.filterOption(option, inputValue) : true;
|
15999 |
-
}
|
16000 |
-
}, {
|
16001 |
-
key: "formatOptionLabel",
|
16002 |
-
value: function formatOptionLabel(data, context) {
|
16003 |
-
if (typeof this.props.formatOptionLabel === 'function') {
|
16004 |
-
var inputValue = this.props.inputValue;
|
16005 |
-
var selectValue = this.state.selectValue;
|
16006 |
-
return this.props.formatOptionLabel(data, {
|
16007 |
-
context: context,
|
16008 |
-
inputValue: inputValue,
|
16009 |
-
selectValue: selectValue
|
16010 |
-
});
|
16011 |
-
} else {
|
16012 |
-
return this.getOptionLabel(data);
|
16013 |
-
}
|
16014 |
-
}
|
16015 |
-
}, {
|
16016 |
-
key: "formatGroupLabel",
|
16017 |
-
value: function formatGroupLabel(data) {
|
16018 |
-
return this.props.formatGroupLabel(data);
|
16019 |
-
} // ==============================
|
16020 |
-
// Mouse Handlers
|
16021 |
-
// ==============================
|
16022 |
-
|
16023 |
-
}, {
|
16024 |
-
key: "startListeningComposition",
|
16025 |
-
// ==============================
|
16026 |
-
// Composition Handlers
|
16027 |
-
// ==============================
|
16028 |
-
value: function startListeningComposition() {
|
16029 |
-
if (document && document.addEventListener) {
|
16030 |
-
document.addEventListener('compositionstart', this.onCompositionStart, false);
|
16031 |
-
document.addEventListener('compositionend', this.onCompositionEnd, false);
|
16032 |
-
}
|
16033 |
-
}
|
16034 |
-
}, {
|
16035 |
-
key: "stopListeningComposition",
|
16036 |
-
value: function stopListeningComposition() {
|
16037 |
-
if (document && document.removeEventListener) {
|
16038 |
-
document.removeEventListener('compositionstart', this.onCompositionStart);
|
16039 |
-
document.removeEventListener('compositionend', this.onCompositionEnd);
|
16040 |
-
}
|
16041 |
-
}
|
16042 |
-
}, {
|
16043 |
-
key: "startListeningToTouch",
|
16044 |
-
// ==============================
|
16045 |
-
// Touch Handlers
|
16046 |
-
// ==============================
|
16047 |
-
value: function startListeningToTouch() {
|
16048 |
-
if (document && document.addEventListener) {
|
16049 |
-
document.addEventListener('touchstart', this.onTouchStart, false);
|
16050 |
-
document.addEventListener('touchmove', this.onTouchMove, false);
|
16051 |
-
document.addEventListener('touchend', this.onTouchEnd, false);
|
16052 |
-
}
|
16053 |
-
}
|
16054 |
-
}, {
|
16055 |
-
key: "stopListeningToTouch",
|
16056 |
-
value: function stopListeningToTouch() {
|
16057 |
-
if (document && document.removeEventListener) {
|
16058 |
-
document.removeEventListener('touchstart', this.onTouchStart);
|
16059 |
-
document.removeEventListener('touchmove', this.onTouchMove);
|
16060 |
-
document.removeEventListener('touchend', this.onTouchEnd);
|
16061 |
-
}
|
16062 |
-
}
|
16063 |
-
}, {
|
16064 |
-
key: "buildMenuOptions",
|
16065 |
-
// ==============================
|
16066 |
-
// Menu Options
|
16067 |
-
// ==============================
|
16068 |
-
value: function buildMenuOptions(props, selectValue) {
|
16069 |
-
var _this3 = this;
|
16070 |
-
|
16071 |
var _props$inputValue = props.inputValue,
|
16072 |
inputValue = _props$inputValue === void 0 ? '' : _props$inputValue,
|
16073 |
options = props.options;
|
16074 |
|
16075 |
var toOption = function toOption(option, id) {
|
16076 |
-
var isDisabled =
|
16077 |
|
16078 |
-
var isSelected =
|
16079 |
|
16080 |
-
var label =
|
16081 |
|
16082 |
-
var value =
|
16083 |
|
16084 |
-
if (
|
16085 |
label: label,
|
16086 |
value: value,
|
16087 |
data: option
|
@@ -16090,12 +17926,12 @@ function (_Component) {
|
|
16090 |
}
|
16091 |
|
16092 |
var onHover = isDisabled ? undefined : function () {
|
16093 |
-
return
|
16094 |
};
|
16095 |
var onSelect = isDisabled ? undefined : function () {
|
16096 |
-
return
|
16097 |
};
|
16098 |
-
var optionId =
|
16099 |
return {
|
16100 |
innerProps: {
|
16101 |
id: optionId,
|
@@ -16117,16 +17953,16 @@ function (_Component) {
|
|
16117 |
return options.reduce(function (acc, item, itemIndex) {
|
16118 |
if (item.options) {
|
16119 |
// TODO needs a tidier implementation
|
16120 |
-
if (!
|
16121 |
var items = item.options;
|
16122 |
var children = items.map(function (child, i) {
|
16123 |
-
var option = toOption(child,
|
16124 |
if (option) acc.focusable.push(child);
|
16125 |
return option;
|
16126 |
}).filter(Boolean);
|
16127 |
|
16128 |
if (children.length) {
|
16129 |
-
var groupId =
|
16130 |
acc.render.push({
|
16131 |
type: 'group',
|
16132 |
key: groupId,
|
@@ -16135,7 +17971,7 @@ function (_Component) {
|
|
16135 |
});
|
16136 |
}
|
16137 |
} else {
|
16138 |
-
var option = toOption(item, ""
|
16139 |
|
16140 |
if (option) {
|
16141 |
acc.render.push(option);
|
@@ -16148,541 +17984,1043 @@ function (_Component) {
|
|
16148 |
render: [],
|
16149 |
focusable: []
|
16150 |
});
|
16151 |
-
}
|
16152 |
-
// Renderers
|
16153 |
-
// ==============================
|
16154 |
|
16155 |
-
|
16156 |
-
|
16157 |
-
|
16158 |
-
|
16159 |
-
|
16160 |
-
|
16161 |
-
|
16162 |
-
|
16163 |
-
|
16164 |
-
|
16165 |
-
|
16166 |
-
|
16167 |
-
|
16168 |
-
|
16169 |
-
|
16170 |
-
|
16171 |
-
|
16172 |
-
|
16173 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16174 |
|
16175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16176 |
focusedOption: focusedOption,
|
16177 |
-
|
16178 |
-
|
16179 |
-
|
16180 |
|
16181 |
-
|
16182 |
-
|
16183 |
-
|
16184 |
-
|
16185 |
-
})
|
16186 |
});
|
16187 |
-
|
16188 |
}
|
16189 |
-
}
|
16190 |
-
key: "renderInput",
|
16191 |
-
value: function renderInput() {
|
16192 |
-
var _this$props14 = this.props,
|
16193 |
-
isDisabled = _this$props14.isDisabled,
|
16194 |
-
isSearchable = _this$props14.isSearchable,
|
16195 |
-
inputId = _this$props14.inputId,
|
16196 |
-
inputValue = _this$props14.inputValue,
|
16197 |
-
tabIndex = _this$props14.tabIndex;
|
16198 |
-
var Input = this.components.Input;
|
16199 |
-
var inputIsHidden = this.state.inputIsHidden;
|
16200 |
-
var id = inputId || this.getElementId('input');
|
16201 |
-
|
16202 |
-
if (!isSearchable) {
|
16203 |
-
// use a dummy input to maintain focus/blur functionality
|
16204 |
-
return __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(DummyInput, {
|
16205 |
-
id: id,
|
16206 |
-
innerRef: this.getInputRef,
|
16207 |
-
onBlur: this.onInputBlur,
|
16208 |
-
onChange: __WEBPACK_IMPORTED_MODULE_15__chunk_39d3fda8_browser_esm_js__["k" /* n */],
|
16209 |
-
onFocus: this.onInputFocus,
|
16210 |
-
readOnly: true,
|
16211 |
-
disabled: isDisabled,
|
16212 |
-
tabIndex: tabIndex,
|
16213 |
-
value: ""
|
16214 |
-
});
|
16215 |
-
} // aria attributes makes the JSX "noisy", separated for clarity
|
16216 |
|
|
|
|
|
|
|
|
|
|
|
16217 |
|
16218 |
-
|
16219 |
-
|
16220 |
-
|
16221 |
-
|
16222 |
-
|
16223 |
-
|
16224 |
-
|
16225 |
-
|
16226 |
-
|
16227 |
-
|
16228 |
-
autoCapitalize: "none",
|
16229 |
-
autoComplete: "off",
|
16230 |
-
autoCorrect: "off",
|
16231 |
-
cx: cx,
|
16232 |
-
getStyles: this.getStyles,
|
16233 |
-
id: id,
|
16234 |
-
innerRef: this.getInputRef,
|
16235 |
-
isDisabled: isDisabled,
|
16236 |
-
isHidden: inputIsHidden,
|
16237 |
-
onBlur: this.onInputBlur,
|
16238 |
-
onChange: this.handleInputChange,
|
16239 |
-
onFocus: this.onInputFocus,
|
16240 |
-
selectProps: selectProps,
|
16241 |
-
spellCheck: "false",
|
16242 |
-
tabIndex: tabIndex,
|
16243 |
-
theme: theme,
|
16244 |
-
type: "text",
|
16245 |
-
value: inputValue
|
16246 |
-
}, ariaAttributes));
|
16247 |
}
|
16248 |
-
}
|
16249 |
-
|
16250 |
-
|
16251 |
-
|
16252 |
-
|
16253 |
-
|
16254 |
-
|
16255 |
-
|
16256 |
-
|
16257 |
-
|
16258 |
-
|
16259 |
-
|
16260 |
-
|
16261 |
-
|
16262 |
-
|
16263 |
-
|
16264 |
-
|
16265 |
-
|
16266 |
-
|
16267 |
-
|
16268 |
-
|
16269 |
-
|
16270 |
-
|
16271 |
-
|
16272 |
-
if (!this.hasValue() || !controlShouldRenderValue) {
|
16273 |
-
return inputValue ? null : __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(Placeholder, Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, commonProps, {
|
16274 |
-
key: "placeholder",
|
16275 |
-
isDisabled: isDisabled,
|
16276 |
-
isFocused: isFocused
|
16277 |
-
}), placeholder);
|
16278 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
16279 |
|
16280 |
-
|
16281 |
-
|
16282 |
-
|
16283 |
-
|
16284 |
-
|
16285 |
-
|
16286 |
-
|
16287 |
-
|
16288 |
-
|
16289 |
-
|
16290 |
-
|
16291 |
-
|
16292 |
-
|
16293 |
-
|
16294 |
-
|
16295 |
-
|
16296 |
-
|
16297 |
-
|
16298 |
-
|
16299 |
-
|
16300 |
-
|
16301 |
-
|
16302 |
-
|
16303 |
-
|
16304 |
-
|
16305 |
-
|
16306 |
-
|
16307 |
-
|
16308 |
-
|
|
|
|
|
|
|
|
|
16309 |
}
|
|
|
16310 |
|
16311 |
-
|
16312 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16313 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16314 |
|
16315 |
-
|
16316 |
-
return
|
16317 |
-
|
16318 |
-
|
16319 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16320 |
}
|
16321 |
-
|
16322 |
-
|
16323 |
-
|
16324 |
-
|
16325 |
-
|
16326 |
-
|
16327 |
-
|
16328 |
-
|
16329 |
-
|
16330 |
-
|
16331 |
-
|
16332 |
-
return
|
|
|
|
|
|
|
|
|
16333 |
}
|
|
|
16334 |
|
16335 |
-
|
16336 |
-
|
16337 |
-
|
16338 |
-
|
16339 |
-
|
16340 |
-
|
16341 |
-
|
16342 |
-
|
16343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16344 |
}
|
16345 |
-
|
16346 |
-
|
16347 |
-
|
16348 |
-
|
16349 |
-
|
16350 |
-
|
16351 |
-
|
16352 |
-
|
16353 |
-
|
16354 |
-
|
16355 |
-
|
16356 |
-
|
16357 |
-
|
16358 |
-
|
16359 |
-
|
16360 |
-
|
16361 |
-
|
16362 |
-
|
|
|
|
|
|
|
|
|
16363 |
}
|
16364 |
-
}
|
16365 |
-
|
16366 |
-
|
16367 |
-
|
16368 |
-
|
16369 |
-
|
16370 |
-
|
16371 |
-
|
16372 |
-
|
16373 |
-
|
16374 |
-
|
16375 |
-
|
16376 |
-
|
16377 |
-
|
16378 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16379 |
}
|
16380 |
-
|
16381 |
-
|
16382 |
-
|
16383 |
-
|
16384 |
-
|
16385 |
-
|
16386 |
-
|
16387 |
-
|
16388 |
-
|
16389 |
-
|
16390 |
-
|
16391 |
-
|
16392 |
-
|
16393 |
-
|
16394 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16395 |
isDisabled: isDisabled,
|
16396 |
isFocused: isFocused
|
16397 |
-
}));
|
16398 |
}
|
16399 |
-
}, {
|
16400 |
-
key: "renderMenu",
|
16401 |
-
value: function renderMenu() {
|
16402 |
-
var _this5 = this;
|
16403 |
-
|
16404 |
-
var _this$components3 = this.components,
|
16405 |
-
Group = _this$components3.Group,
|
16406 |
-
GroupHeading = _this$components3.GroupHeading,
|
16407 |
-
Menu = _this$components3.Menu,
|
16408 |
-
MenuList = _this$components3.MenuList,
|
16409 |
-
MenuPortal = _this$components3.MenuPortal,
|
16410 |
-
LoadingMessage = _this$components3.LoadingMessage,
|
16411 |
-
NoOptionsMessage = _this$components3.NoOptionsMessage,
|
16412 |
-
Option = _this$components3.Option;
|
16413 |
-
var commonProps = this.commonProps;
|
16414 |
-
var _this$state9 = this.state,
|
16415 |
-
focusedOption = _this$state9.focusedOption,
|
16416 |
-
menuOptions = _this$state9.menuOptions;
|
16417 |
-
var _this$props18 = this.props,
|
16418 |
-
captureMenuScroll = _this$props18.captureMenuScroll,
|
16419 |
-
inputValue = _this$props18.inputValue,
|
16420 |
-
isLoading = _this$props18.isLoading,
|
16421 |
-
loadingMessage = _this$props18.loadingMessage,
|
16422 |
-
minMenuHeight = _this$props18.minMenuHeight,
|
16423 |
-
maxMenuHeight = _this$props18.maxMenuHeight,
|
16424 |
-
menuIsOpen = _this$props18.menuIsOpen,
|
16425 |
-
menuPlacement = _this$props18.menuPlacement,
|
16426 |
-
menuPosition = _this$props18.menuPosition,
|
16427 |
-
menuPortalTarget = _this$props18.menuPortalTarget,
|
16428 |
-
menuShouldBlockScroll = _this$props18.menuShouldBlockScroll,
|
16429 |
-
menuShouldScrollIntoView = _this$props18.menuShouldScrollIntoView,
|
16430 |
-
noOptionsMessage = _this$props18.noOptionsMessage,
|
16431 |
-
onMenuScrollToTop = _this$props18.onMenuScrollToTop,
|
16432 |
-
onMenuScrollToBottom = _this$props18.onMenuScrollToBottom;
|
16433 |
-
if (!menuIsOpen) return null; // TODO: Internal Option Type here
|
16434 |
-
|
16435 |
-
var render = function render(props) {
|
16436 |
-
// for performance, the menu options in state aren't changed when the
|
16437 |
-
// focused option changes so we calculate additional props based on that
|
16438 |
-
var isFocused = focusedOption === props.data;
|
16439 |
-
props.innerRef = isFocused ? _this5.getFocusedOptionRef : undefined;
|
16440 |
-
return __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(Option, Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, commonProps, props, {
|
16441 |
-
isFocused: isFocused
|
16442 |
-
}), _this5.formatOptionLabel(props.data, 'menu'));
|
16443 |
-
};
|
16444 |
|
16445 |
-
|
16446 |
-
|
16447 |
-
|
16448 |
-
|
16449 |
-
|
16450 |
-
|
16451 |
-
|
16452 |
-
|
16453 |
-
|
16454 |
-
|
16455 |
-
|
16456 |
-
|
16457 |
-
|
16458 |
-
|
16459 |
-
|
16460 |
-
|
16461 |
-
|
16462 |
-
|
16463 |
-
|
16464 |
-
|
16465 |
-
|
16466 |
-
|
16467 |
-
|
16468 |
-
|
16469 |
-
|
16470 |
-
|
16471 |
-
|
16472 |
-
|
16473 |
-
|
16474 |
-
|
16475 |
-
inputValue: inputValue
|
16476 |
-
});
|
16477 |
|
16478 |
-
|
16479 |
-
|
16480 |
-
|
16481 |
|
16482 |
-
|
16483 |
-
|
16484 |
-
|
16485 |
-
|
16486 |
-
|
16487 |
-
|
16488 |
-
|
16489 |
-
|
16490 |
-
|
16491 |
-
|
16492 |
-
|
16493 |
-
|
16494 |
-
|
16495 |
-
|
16496 |
-
|
16497 |
-
|
16498 |
-
|
16499 |
-
},
|
16500 |
-
isLoading: isLoading,
|
16501 |
-
placement: placement
|
16502 |
-
}), __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(ScrollCaptorSwitch, {
|
16503 |
-
isEnabled: captureMenuScroll,
|
16504 |
-
onTopArrive: onMenuScrollToTop,
|
16505 |
-
onBottomArrive: onMenuScrollToBottom
|
16506 |
-
}, __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(ScrollBlock, {
|
16507 |
-
isEnabled: menuShouldBlockScroll
|
16508 |
-
}, __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(MenuList, Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, commonProps, {
|
16509 |
-
innerRef: _this5.getMenuListRef,
|
16510 |
-
isLoading: isLoading,
|
16511 |
-
maxHeight: maxHeight
|
16512 |
-
}), menuUI))));
|
16513 |
-
}); // positioning behaviour is almost identical for portalled and fixed,
|
16514 |
-
// so we use the same component. the actual portalling logic is forked
|
16515 |
-
// within the component based on `menuPosition`
|
16516 |
-
|
16517 |
-
return menuPortalTarget || menuPosition === 'fixed' ? __WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(MenuPortal, Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, commonProps, {
|
16518 |
-
appendTo: menuPortalTarget,
|
16519 |
-
controlElement: this.controlRef,
|
16520 |
-
menuPlacement: menuPlacement,
|
16521 |
-
menuPosition: menuPosition
|
16522 |
-
}), menuElement) : menuElement;
|
16523 |
}
|
16524 |
-
}, {
|
16525 |
-
key: "renderFormField",
|
16526 |
-
value: function renderFormField() {
|
16527 |
-
var _this6 = this;
|
16528 |
-
|
16529 |
-
var _this$props19 = this.props,
|
16530 |
-
delimiter = _this$props19.delimiter,
|
16531 |
-
isDisabled = _this$props19.isDisabled,
|
16532 |
-
isMulti = _this$props19.isMulti,
|
16533 |
-
name = _this$props19.name;
|
16534 |
-
var selectValue = this.state.selectValue;
|
16535 |
-
if (!name || isDisabled) return;
|
16536 |
|
16537 |
-
|
16538 |
-
|
16539 |
-
|
16540 |
-
|
16541 |
-
|
16542 |
-
|
16543 |
-
|
16544 |
-
|
16545 |
-
|
16546 |
-
|
16547 |
-
|
16548 |
-
|
16549 |
-
|
16550 |
-
|
16551 |
-
|
16552 |
-
|
16553 |
-
|
16554 |
-
|
16555 |
-
|
16556 |
-
|
16557 |
-
|
16558 |
-
|
16559 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16560 |
}
|
16561 |
-
}
|
16562 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16563 |
|
16564 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16565 |
name: name,
|
16566 |
type: "hidden",
|
16567 |
-
value:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16568 |
});
|
|
|
16569 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16570 |
}
|
16571 |
-
}
|
16572 |
-
|
16573 |
-
|
16574 |
-
|
16575 |
-
|
16576 |
-
|
16577 |
-
|
16578 |
-
|
16579 |
-
|
16580 |
-
|
16581 |
-
|
16582 |
-
|
16583 |
-
|
16584 |
-
|
16585 |
-
|
16586 |
-
|
16587 |
-
|
16588 |
-
|
16589 |
-
|
16590 |
-
|
16591 |
-
|
16592 |
-
|
16593 |
-
|
16594 |
-
|
16595 |
-
|
16596 |
-
|
16597 |
-
|
16598 |
-
|
16599 |
-
|
16600 |
-
|
16601 |
-
|
16602 |
-
|
16603 |
-
|
16604 |
-
|
16605 |
-
|
16606 |
-
|
16607 |
-
|
16608 |
-
|
16609 |
-
|
16610 |
-
|
16611 |
-
|
16612 |
-
|
16613 |
-
|
16614 |
-
|
16615 |
-
|
16616 |
-
|
16617 |
-
|
16618 |
-
|
16619 |
-
|
16620 |
-
}
|
16621 |
-
}]);
|
16622 |
|
16623 |
return Select;
|
16624 |
-
}(
|
16625 |
|
16626 |
-
|
16627 |
|
16628 |
|
16629 |
|
16630 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
16631 |
|
16632 |
/***/ }),
|
16633 |
-
/*
|
16634 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16635 |
|
16636 |
"use strict";
|
16637 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
16638 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(
|
16639 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Alert", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
|
16640 |
/* empty harmony namespace reexport */
|
16641 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__AlertTitle__ = __webpack_require__(
|
16642 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AlertTitle", function() { return __WEBPACK_IMPORTED_MODULE_1__AlertTitle__["a"]; });
|
16643 |
/* empty harmony namespace reexport */
|
16644 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Autocomplete__ = __webpack_require__(
|
16645 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return __WEBPACK_IMPORTED_MODULE_2__Autocomplete__["b"]; });
|
16646 |
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "createFilterOptions", function() { return __WEBPACK_IMPORTED_MODULE_2__Autocomplete__["a"]; });
|
16647 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__AvatarGroup__ = __webpack_require__(
|
16648 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AvatarGroup", function() { return __WEBPACK_IMPORTED_MODULE_3__AvatarGroup__["a"]; });
|
16649 |
/* empty harmony namespace reexport */
|
16650 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Pagination__ = __webpack_require__(
|
16651 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Pagination", function() { return __WEBPACK_IMPORTED_MODULE_4__Pagination__["a"]; });
|
16652 |
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "usePagination", function() { return __WEBPACK_IMPORTED_MODULE_4__Pagination__["b"]; });
|
16653 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__PaginationItem__ = __webpack_require__(
|
16654 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "PaginationItem", function() { return __WEBPACK_IMPORTED_MODULE_5__PaginationItem__["a"]; });
|
16655 |
/* empty harmony namespace reexport */
|
16656 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Rating__ = __webpack_require__(
|
16657 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Rating", function() { return __WEBPACK_IMPORTED_MODULE_6__Rating__["a"]; });
|
16658 |
/* empty harmony namespace reexport */
|
16659 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Skeleton__ = __webpack_require__(
|
16660 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return __WEBPACK_IMPORTED_MODULE_7__Skeleton__["a"]; });
|
16661 |
/* empty harmony namespace reexport */
|
16662 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__SpeedDial__ = __webpack_require__(
|
16663 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDial", function() { return __WEBPACK_IMPORTED_MODULE_8__SpeedDial__["a"]; });
|
16664 |
/* empty harmony namespace reexport */
|
16665 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__SpeedDialAction__ = __webpack_require__(
|
16666 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDialAction", function() { return __WEBPACK_IMPORTED_MODULE_9__SpeedDialAction__["a"]; });
|
16667 |
/* empty harmony namespace reexport */
|
16668 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__SpeedDialIcon__ = __webpack_require__(
|
16669 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDialIcon", function() { return __WEBPACK_IMPORTED_MODULE_10__SpeedDialIcon__["a"]; });
|
16670 |
/* empty harmony namespace reexport */
|
16671 |
-
/* harmony import */ var
|
16672 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16673 |
/* empty harmony namespace reexport */
|
16674 |
-
/* harmony import */ var
|
16675 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
16676 |
/* empty harmony namespace reexport */
|
16677 |
-
/* harmony import */ var
|
16678 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
16679 |
/* empty harmony namespace reexport */
|
16680 |
-
/* harmony import */ var
|
16681 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
16682 |
/* empty harmony namespace reexport */
|
16683 |
-
/* harmony import */ var
|
16684 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "
|
16685 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16686 |
*
|
16687 |
* This source code is licensed under the MIT license found in the
|
16688 |
* LICENSE file in the root directory of this source tree.
|
@@ -16708,6 +19046,26 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
16708 |
|
16709 |
|
16710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16711 |
|
16712 |
|
16713 |
|
@@ -16722,22 +19080,22 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
16722 |
|
16723 |
|
16724 |
/***/ }),
|
16725 |
-
/*
|
16726 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16727 |
|
16728 |
"use strict";
|
16729 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(
|
16730 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
|
16731 |
|
16732 |
|
16733 |
/***/ }),
|
16734 |
-
/*
|
16735 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16736 |
|
16737 |
"use strict";
|
16738 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
16739 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(
|
16740 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(
|
16741 |
|
16742 |
|
16743 |
|
@@ -16754,25 +19112,54 @@ var styled = function styled(Component) {
|
|
16754 |
/* harmony default export */ __webpack_exports__["a"] = (styled);
|
16755 |
|
16756 |
/***/ }),
|
16757 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16758 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16759 |
|
16760 |
"use strict";
|
16761 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
16762 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
16763 |
-
/* harmony import */ var
|
16764 |
|
16765 |
|
16766 |
/**
|
16767 |
* @ignore - internal component.
|
16768 |
*/
|
16769 |
|
16770 |
-
/* harmony default export */ __webpack_exports__["a"] = (Object(
|
16771 |
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
16772 |
}), 'Close'));
|
16773 |
|
16774 |
/***/ }),
|
16775 |
-
/*
|
16776 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16777 |
|
16778 |
"use strict";
|
@@ -16781,7 +19168,7 @@ var styled = function styled(Component) {
|
|
16781 |
});
|
16782 |
|
16783 |
/***/ }),
|
16784 |
-
/*
|
16785 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16786 |
|
16787 |
"use strict";
|
@@ -16810,20 +19197,20 @@ var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED
|
|
16810 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
16811 |
|
16812 |
/***/ }),
|
16813 |
-
/*
|
16814 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16815 |
|
16816 |
"use strict";
|
16817 |
-
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(
|
16818 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
16819 |
-
/* harmony import */ var
|
16820 |
-
/* harmony import */ var
|
16821 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
|
16822 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
16823 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
|
16824 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
|
16825 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(
|
16826 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(
|
16827 |
|
16828 |
|
16829 |
|
@@ -16844,34 +19231,31 @@ var defaultProps = {
|
|
16844 |
childFactory: function childFactory(child) {
|
16845 |
return child;
|
16846 |
}
|
16847 |
-
/**
|
16848 |
-
* The `<TransitionGroup>` component manages a set of transition components
|
16849 |
-
* (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition
|
16850 |
-
* components, `<TransitionGroup>` is a state machine for managing the mounting
|
16851 |
-
* and unmounting of components over time.
|
16852 |
-
*
|
16853 |
-
* Consider the example below. As items are removed or added to the TodoList the
|
16854 |
-
* `in` prop is toggled automatically by the `<TransitionGroup>`.
|
16855 |
-
*
|
16856 |
-
* Note that `<TransitionGroup>` does not define any animation behavior!
|
16857 |
-
* Exactly _how_ a list item animates is up to the individual transition
|
16858 |
-
* component. This means you can mix and match animations across different list
|
16859 |
-
* items.
|
16860 |
-
*/
|
16861 |
-
|
16862 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16863 |
|
16864 |
-
var TransitionGroup =
|
16865 |
-
|
16866 |
-
function (_React$Component) {
|
16867 |
-
Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(TransitionGroup, _React$Component);
|
16868 |
|
16869 |
function TransitionGroup(props, context) {
|
16870 |
var _this;
|
16871 |
|
16872 |
_this = _React$Component.call(this, props, context) || this;
|
16873 |
|
16874 |
-
var handleExited = _this.handleExited.bind(Object(
|
16875 |
|
16876 |
|
16877 |
_this.state = {
|
@@ -16907,7 +19291,8 @@ function (_React$Component) {
|
|
16907 |
children: firstRender ? Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["b" /* getInitialChildMapping */])(nextProps, handleExited) : Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["c" /* getNextChildMapping */])(nextProps, prevChildMapping, handleExited),
|
16908 |
firstRender: false
|
16909 |
};
|
16910 |
-
}
|
|
|
16911 |
|
16912 |
_proto.handleExited = function handleExited(child, node) {
|
16913 |
var currentChildMapping = Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["a" /* getChildMapping */])(this.props.children);
|
@@ -16942,14 +19327,14 @@ function (_React$Component) {
|
|
16942 |
delete props.exit;
|
16943 |
|
16944 |
if (Component === null) {
|
16945 |
-
return __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
|
16946 |
value: contextValue
|
16947 |
}, children);
|
16948 |
}
|
16949 |
|
16950 |
-
return __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
|
16951 |
value: contextValue
|
16952 |
-
}, __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(Component, props, children));
|
16953 |
};
|
16954 |
|
16955 |
return TransitionGroup;
|
@@ -17018,611 +19403,266 @@ TransitionGroup.defaultProps = defaultProps;
|
|
17018 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
17019 |
|
17020 |
/***/ }),
|
17021 |
-
/*
|
17022 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17023 |
|
17024 |
"use strict";
|
17025 |
-
/*
|
17026 |
-
|
17027 |
-
if (process.env.NODE_ENV === 'production') {
|
17028 |
-
return function () {
|
17029 |
-
return null;
|
17030 |
-
};
|
17031 |
-
}
|
17032 |
|
17033 |
-
var requireProp = function requireProp(requiredProp) {
|
17034 |
-
return function (props, propName, componentName, location, propFullName) {
|
17035 |
-
var propFullNameSafe = propFullName || propName;
|
17036 |
|
17037 |
-
|
17038 |
-
|
17039 |
-
|
17040 |
|
17041 |
-
|
17042 |
-
|
17043 |
-
|
17044 |
|
17045 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17046 |
}
|
17047 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
17048 |
|
17049 |
/***/ }),
|
17050 |
-
/*
|
17051 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17052 |
|
17053 |
"use strict";
|
17054 |
-
/* harmony import */ var
|
17055 |
-
/* harmony
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17056 |
|
|
|
|
|
|
|
|
|
|
|
|
|
17057 |
|
17058 |
/***/ }),
|
17059 |
-
/*
|
17060 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17061 |
|
17062 |
"use strict";
|
17063 |
-
/* harmony import */ var
|
17064 |
/* unused harmony reexport default */
|
17065 |
|
17066 |
|
17067 |
/***/ }),
|
17068 |
-
/*
|
17069 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17070 |
|
17071 |
"use strict";
|
17072 |
-
/* harmony import */ var
|
17073 |
/* unused harmony reexport default */
|
17074 |
|
17075 |
|
17076 |
/***/ }),
|
17077 |
-
/*
|
17078 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17079 |
|
17080 |
"use strict";
|
17081 |
-
/* harmony import */ var
|
17082 |
/* unused harmony reexport default */
|
17083 |
|
17084 |
|
17085 |
/***/ }),
|
17086 |
-
/*
|
17087 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17088 |
|
17089 |
"use strict";
|
17090 |
-
/* harmony import */ var
|
17091 |
/* unused harmony reexport default */
|
17092 |
|
17093 |
|
17094 |
/***/ }),
|
17095 |
-
/*
|
17096 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17097 |
|
17098 |
"use strict";
|
17099 |
-
/* harmony import */ var
|
17100 |
/* unused harmony reexport default */
|
17101 |
|
17102 |
|
17103 |
/***/ }),
|
17104 |
-
/*
|
17105 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17106 |
|
17107 |
"use strict";
|
17108 |
-
/* harmony import */ var
|
17109 |
/* unused harmony reexport default */
|
17110 |
-
/* unused harmony reexport styleFunction */
|
17111 |
|
17112 |
|
17113 |
/***/ }),
|
17114 |
-
/*
|
17115 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17116 |
|
17117 |
"use strict";
|
17118 |
-
/*
|
17119 |
-
/* unused harmony
|
17120 |
-
/* unused harmony export borderRight */
|
17121 |
-
/* unused harmony export borderBottom */
|
17122 |
-
/* unused harmony export borderLeft */
|
17123 |
-
/* unused harmony export borderColor */
|
17124 |
-
/* unused harmony export borderRadius */
|
17125 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17126 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17127 |
|
17128 |
|
|
|
|
|
|
|
17129 |
|
17130 |
-
|
17131 |
-
|
17132 |
-
|
17133 |
-
|
17134 |
|
17135 |
-
return "".concat(value, "px solid");
|
17136 |
-
}
|
17137 |
-
|
17138 |
-
var border = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17139 |
-
prop: 'border',
|
17140 |
-
themeKey: 'borders',
|
17141 |
-
transform: getBorder
|
17142 |
-
});
|
17143 |
-
var borderTop = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17144 |
-
prop: 'borderTop',
|
17145 |
-
themeKey: 'borders',
|
17146 |
-
transform: getBorder
|
17147 |
-
});
|
17148 |
-
var borderRight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17149 |
-
prop: 'borderRight',
|
17150 |
-
themeKey: 'borders',
|
17151 |
-
transform: getBorder
|
17152 |
-
});
|
17153 |
-
var borderBottom = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17154 |
-
prop: 'borderBottom',
|
17155 |
-
themeKey: 'borders',
|
17156 |
-
transform: getBorder
|
17157 |
-
});
|
17158 |
-
var borderLeft = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17159 |
-
prop: 'borderLeft',
|
17160 |
-
themeKey: 'borders',
|
17161 |
-
transform: getBorder
|
17162 |
-
});
|
17163 |
-
var borderColor = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17164 |
-
prop: 'borderColor',
|
17165 |
-
themeKey: 'palette'
|
17166 |
-
});
|
17167 |
-
var borderRadius = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17168 |
-
prop: 'borderRadius',
|
17169 |
-
themeKey: 'shape'
|
17170 |
-
});
|
17171 |
-
var borders = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);
|
17172 |
-
/* harmony default export */ __webpack_exports__["a"] = (borders);
|
17173 |
|
17174 |
/***/ }),
|
17175 |
-
/*
|
17176 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17177 |
-
|
17178 |
-
"use strict";
|
17179 |
-
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(2);
|
17180 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
|
17181 |
-
|
17182 |
-
var responsivePropType = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.object, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.array]) : {};
|
17183 |
-
/* harmony default export */ __webpack_exports__["a"] = (responsivePropType);
|
17184 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
17185 |
-
|
17186 |
-
/***/ }),
|
17187 |
-
/* 190 */
|
17188 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17189 |
-
|
17190 |
-
"use strict";
|
17191 |
-
/* unused harmony export flexBasis */
|
17192 |
-
/* unused harmony export flexDirection */
|
17193 |
-
/* unused harmony export flexWrap */
|
17194 |
-
/* unused harmony export justifyContent */
|
17195 |
-
/* unused harmony export alignItems */
|
17196 |
-
/* unused harmony export alignContent */
|
17197 |
-
/* unused harmony export order */
|
17198 |
-
/* unused harmony export flex */
|
17199 |
-
/* unused harmony export flexGrow */
|
17200 |
-
/* unused harmony export flexShrink */
|
17201 |
-
/* unused harmony export alignSelf */
|
17202 |
-
/* unused harmony export justifyItems */
|
17203 |
-
/* unused harmony export justifySelf */
|
17204 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17205 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17206 |
-
|
17207 |
-
|
17208 |
-
var flexBasis = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17209 |
-
prop: 'flexBasis'
|
17210 |
-
});
|
17211 |
-
var flexDirection = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17212 |
-
prop: 'flexDirection'
|
17213 |
-
});
|
17214 |
-
var flexWrap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17215 |
-
prop: 'flexWrap'
|
17216 |
-
});
|
17217 |
-
var justifyContent = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17218 |
-
prop: 'justifyContent'
|
17219 |
-
});
|
17220 |
-
var alignItems = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17221 |
-
prop: 'alignItems'
|
17222 |
-
});
|
17223 |
-
var alignContent = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17224 |
-
prop: 'alignContent'
|
17225 |
-
});
|
17226 |
-
var order = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17227 |
-
prop: 'order'
|
17228 |
-
});
|
17229 |
-
var flex = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17230 |
-
prop: 'flex'
|
17231 |
-
});
|
17232 |
-
var flexGrow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17233 |
-
prop: 'flexGrow'
|
17234 |
-
});
|
17235 |
-
var flexShrink = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17236 |
-
prop: 'flexShrink'
|
17237 |
-
});
|
17238 |
-
var alignSelf = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17239 |
-
prop: 'alignSelf'
|
17240 |
-
});
|
17241 |
-
var justifyItems = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17242 |
-
prop: 'justifyItems'
|
17243 |
-
});
|
17244 |
-
var justifySelf = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17245 |
-
prop: 'justifySelf'
|
17246 |
-
});
|
17247 |
-
var flexbox = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf);
|
17248 |
-
/* harmony default export */ __webpack_exports__["a"] = (flexbox);
|
17249 |
-
|
17250 |
-
/***/ }),
|
17251 |
-
/* 191 */
|
17252 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17253 |
-
|
17254 |
-
"use strict";
|
17255 |
-
/* unused harmony export gridGap */
|
17256 |
-
/* unused harmony export gridColumnGap */
|
17257 |
-
/* unused harmony export gridRowGap */
|
17258 |
-
/* unused harmony export gridColumn */
|
17259 |
-
/* unused harmony export gridRow */
|
17260 |
-
/* unused harmony export gridAutoFlow */
|
17261 |
-
/* unused harmony export gridAutoColumns */
|
17262 |
-
/* unused harmony export gridAutoRows */
|
17263 |
-
/* unused harmony export gridTemplateColumns */
|
17264 |
-
/* unused harmony export gridTemplateRows */
|
17265 |
-
/* unused harmony export gridTemplateAreas */
|
17266 |
-
/* unused harmony export gridArea */
|
17267 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17268 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17269 |
-
|
17270 |
-
|
17271 |
-
var gridGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17272 |
-
prop: 'gridGap'
|
17273 |
-
});
|
17274 |
-
var gridColumnGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17275 |
-
prop: 'gridColumnGap'
|
17276 |
-
});
|
17277 |
-
var gridRowGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17278 |
-
prop: 'gridRowGap'
|
17279 |
-
});
|
17280 |
-
var gridColumn = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17281 |
-
prop: 'gridColumn'
|
17282 |
-
});
|
17283 |
-
var gridRow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17284 |
-
prop: 'gridRow'
|
17285 |
-
});
|
17286 |
-
var gridAutoFlow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17287 |
-
prop: 'gridAutoFlow'
|
17288 |
-
});
|
17289 |
-
var gridAutoColumns = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17290 |
-
prop: 'gridAutoColumns'
|
17291 |
-
});
|
17292 |
-
var gridAutoRows = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17293 |
-
prop: 'gridAutoRows'
|
17294 |
-
});
|
17295 |
-
var gridTemplateColumns = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17296 |
-
prop: 'gridTemplateColumns'
|
17297 |
-
});
|
17298 |
-
var gridTemplateRows = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17299 |
-
prop: 'gridTemplateRows'
|
17300 |
-
});
|
17301 |
-
var gridTemplateAreas = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17302 |
-
prop: 'gridTemplateAreas'
|
17303 |
-
});
|
17304 |
-
var gridArea = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17305 |
-
prop: 'gridArea'
|
17306 |
-
});
|
17307 |
-
var grid = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
|
17308 |
-
/* harmony default export */ __webpack_exports__["a"] = (grid);
|
17309 |
-
|
17310 |
-
/***/ }),
|
17311 |
-
/* 192 */
|
17312 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17313 |
-
|
17314 |
-
"use strict";
|
17315 |
-
/* unused harmony export color */
|
17316 |
-
/* unused harmony export bgcolor */
|
17317 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17318 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17319 |
-
|
17320 |
-
|
17321 |
-
var color = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17322 |
-
prop: 'color',
|
17323 |
-
themeKey: 'palette'
|
17324 |
-
});
|
17325 |
-
var bgcolor = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17326 |
-
prop: 'bgcolor',
|
17327 |
-
cssProperty: 'backgroundColor',
|
17328 |
-
themeKey: 'palette'
|
17329 |
-
});
|
17330 |
-
var palette = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(color, bgcolor);
|
17331 |
-
/* harmony default export */ __webpack_exports__["a"] = (palette);
|
17332 |
-
|
17333 |
-
/***/ }),
|
17334 |
-
/* 193 */
|
17335 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17336 |
-
|
17337 |
-
"use strict";
|
17338 |
-
/* unused harmony export position */
|
17339 |
-
/* unused harmony export zIndex */
|
17340 |
-
/* unused harmony export top */
|
17341 |
-
/* unused harmony export right */
|
17342 |
-
/* unused harmony export bottom */
|
17343 |
-
/* unused harmony export left */
|
17344 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17345 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17346 |
-
|
17347 |
-
|
17348 |
-
var position = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17349 |
-
prop: 'position'
|
17350 |
-
});
|
17351 |
-
var zIndex = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17352 |
-
prop: 'zIndex',
|
17353 |
-
themeKey: 'zIndex'
|
17354 |
-
});
|
17355 |
-
var top = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17356 |
-
prop: 'top'
|
17357 |
-
});
|
17358 |
-
var right = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17359 |
-
prop: 'right'
|
17360 |
-
});
|
17361 |
-
var bottom = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17362 |
-
prop: 'bottom'
|
17363 |
-
});
|
17364 |
-
var left = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17365 |
-
prop: 'left'
|
17366 |
-
});
|
17367 |
-
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(position, zIndex, top, right, bottom, left));
|
17368 |
-
|
17369 |
-
/***/ }),
|
17370 |
-
/* 194 */
|
17371 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17372 |
-
|
17373 |
-
"use strict";
|
17374 |
-
/* unused harmony export width */
|
17375 |
-
/* unused harmony export maxWidth */
|
17376 |
-
/* unused harmony export minWidth */
|
17377 |
-
/* unused harmony export height */
|
17378 |
-
/* unused harmony export maxHeight */
|
17379 |
-
/* unused harmony export minHeight */
|
17380 |
-
/* unused harmony export sizeWidth */
|
17381 |
-
/* unused harmony export sizeHeight */
|
17382 |
-
/* unused harmony export boxSizing */
|
17383 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17384 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17385 |
-
|
17386 |
-
|
17387 |
-
|
17388 |
-
function transform(value) {
|
17389 |
-
return value <= 1 ? "".concat(value * 100, "%") : value;
|
17390 |
-
}
|
17391 |
-
|
17392 |
-
var width = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17393 |
-
prop: 'width',
|
17394 |
-
transform: transform
|
17395 |
-
});
|
17396 |
-
var maxWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17397 |
-
prop: 'maxWidth',
|
17398 |
-
transform: transform
|
17399 |
-
});
|
17400 |
-
var minWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17401 |
-
prop: 'minWidth',
|
17402 |
-
transform: transform
|
17403 |
-
});
|
17404 |
-
var height = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17405 |
-
prop: 'height',
|
17406 |
-
transform: transform
|
17407 |
-
});
|
17408 |
-
var maxHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17409 |
-
prop: 'maxHeight',
|
17410 |
-
transform: transform
|
17411 |
-
});
|
17412 |
-
var minHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17413 |
-
prop: 'minHeight',
|
17414 |
-
transform: transform
|
17415 |
-
});
|
17416 |
-
var sizeWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17417 |
-
prop: 'size',
|
17418 |
-
cssProperty: 'width',
|
17419 |
-
transform: transform
|
17420 |
-
});
|
17421 |
-
var sizeHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17422 |
-
prop: 'size',
|
17423 |
-
cssProperty: 'height',
|
17424 |
-
transform: transform
|
17425 |
-
});
|
17426 |
-
var boxSizing = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17427 |
-
prop: 'boxSizing'
|
17428 |
-
});
|
17429 |
-
var sizing = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
|
17430 |
-
/* harmony default export */ __webpack_exports__["a"] = (sizing);
|
17431 |
-
|
17432 |
-
/***/ }),
|
17433 |
-
/* 195 */
|
17434 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17435 |
-
|
17436 |
-
"use strict";
|
17437 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = _arrayWithHoles;
|
17438 |
-
function _arrayWithHoles(arr) {
|
17439 |
-
if (Array.isArray(arr)) return arr;
|
17440 |
-
}
|
17441 |
-
|
17442 |
-
/***/ }),
|
17443 |
-
/* 196 */
|
17444 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17445 |
-
|
17446 |
-
"use strict";
|
17447 |
-
/* harmony export (immutable) */ __webpack_exports__["a"] = _nonIterableRest;
|
17448 |
-
function _nonIterableRest() {
|
17449 |
-
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
17450 |
-
}
|
17451 |
-
|
17452 |
-
/***/ }),
|
17453 |
-
/* 197 */
|
17454 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17455 |
-
|
17456 |
-
"use strict";
|
17457 |
-
/* unused harmony export fontFamily */
|
17458 |
-
/* unused harmony export fontSize */
|
17459 |
-
/* unused harmony export fontStyle */
|
17460 |
-
/* unused harmony export fontWeight */
|
17461 |
-
/* unused harmony export letterSpacing */
|
17462 |
-
/* unused harmony export lineHeight */
|
17463 |
-
/* unused harmony export textAlign */
|
17464 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(29);
|
17465 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(32);
|
17466 |
-
|
17467 |
-
|
17468 |
-
var fontFamily = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17469 |
-
prop: 'fontFamily',
|
17470 |
-
themeKey: 'typography'
|
17471 |
-
});
|
17472 |
-
var fontSize = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17473 |
-
prop: 'fontSize',
|
17474 |
-
themeKey: 'typography'
|
17475 |
-
});
|
17476 |
-
var fontStyle = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17477 |
-
prop: 'fontStyle',
|
17478 |
-
themeKey: 'typography'
|
17479 |
-
});
|
17480 |
-
var fontWeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17481 |
-
prop: 'fontWeight',
|
17482 |
-
themeKey: 'typography'
|
17483 |
-
});
|
17484 |
-
var letterSpacing = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17485 |
-
prop: 'letterSpacing'
|
17486 |
-
});
|
17487 |
-
var lineHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17488 |
-
prop: 'lineHeight'
|
17489 |
-
});
|
17490 |
-
var textAlign = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
17491 |
-
prop: 'textAlign'
|
17492 |
-
});
|
17493 |
-
var typography = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);
|
17494 |
-
/* harmony default export */ __webpack_exports__["a"] = (typography);
|
17495 |
-
|
17496 |
-
/***/ }),
|
17497 |
-
/* 198 */
|
17498 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17499 |
|
17500 |
"use strict";
|
17501 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Breadcrumbs__ = __webpack_require__(
|
17502 |
/* unused harmony reexport default */
|
17503 |
|
17504 |
|
17505 |
/***/ }),
|
17506 |
-
/*
|
17507 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17508 |
|
17509 |
"use strict";
|
17510 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonGroup__ = __webpack_require__(
|
17511 |
/* unused harmony reexport default */
|
17512 |
|
17513 |
|
17514 |
/***/ }),
|
17515 |
-
/*
|
17516 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17517 |
|
17518 |
"use strict";
|
17519 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Card__ = __webpack_require__(
|
17520 |
/* unused harmony reexport default */
|
17521 |
|
17522 |
|
17523 |
/***/ }),
|
17524 |
-
/*
|
17525 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17526 |
|
17527 |
"use strict";
|
17528 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActionArea__ = __webpack_require__(
|
17529 |
/* unused harmony reexport default */
|
17530 |
|
17531 |
|
17532 |
/***/ }),
|
17533 |
-
/*
|
17534 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17535 |
|
17536 |
"use strict";
|
17537 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActions__ = __webpack_require__(
|
17538 |
/* unused harmony reexport default */
|
17539 |
|
17540 |
|
17541 |
/***/ }),
|
17542 |
-
/*
|
17543 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17544 |
|
17545 |
"use strict";
|
17546 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardContent__ = __webpack_require__(
|
17547 |
/* unused harmony reexport default */
|
17548 |
|
17549 |
|
17550 |
/***/ }),
|
17551 |
-
/*
|
17552 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17553 |
|
17554 |
"use strict";
|
17555 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardHeader__ = __webpack_require__(
|
17556 |
/* unused harmony reexport default */
|
17557 |
|
17558 |
|
17559 |
/***/ }),
|
17560 |
-
/*
|
17561 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17562 |
|
17563 |
"use strict";
|
17564 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardMedia__ = __webpack_require__(
|
17565 |
/* unused harmony reexport default */
|
17566 |
|
17567 |
|
17568 |
/***/ }),
|
17569 |
-
/*
|
17570 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17571 |
|
17572 |
"use strict";
|
17573 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Checkbox__ = __webpack_require__(
|
17574 |
/* unused harmony reexport default */
|
17575 |
|
17576 |
|
17577 |
/***/ }),
|
17578 |
-
/*
|
17579 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17580 |
|
17581 |
"use strict";
|
17582 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CircularProgress__ = __webpack_require__(
|
17583 |
/* unused harmony reexport default */
|
17584 |
|
17585 |
|
17586 |
/***/ }),
|
17587 |
-
/*
|
17588 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17589 |
|
17590 |
"use strict";
|
17591 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Container__ = __webpack_require__(
|
17592 |
/* unused harmony reexport default */
|
17593 |
|
17594 |
|
17595 |
/***/ }),
|
17596 |
-
/*
|
17597 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17598 |
|
17599 |
"use strict";
|
17600 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CssBaseline__ = __webpack_require__(
|
17601 |
/* unused harmony reexport default */
|
17602 |
|
17603 |
|
17604 |
/***/ }),
|
17605 |
-
/*
|
17606 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17607 |
|
17608 |
"use strict";
|
17609 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Dialog__ = __webpack_require__(
|
17610 |
/* unused harmony reexport default */
|
17611 |
|
17612 |
|
17613 |
/***/ }),
|
17614 |
-
/*
|
17615 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17616 |
|
17617 |
"use strict";
|
17618 |
/* harmony export (immutable) */ __webpack_exports__["a"] = ariaHidden;
|
17619 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ModalManager; });
|
17620 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(
|
17621 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_createClass__ = __webpack_require__(
|
17622 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(
|
17623 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_getScrollbarSize__ = __webpack_require__(
|
17624 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__ = __webpack_require__(
|
17625 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_ownerWindow__ = __webpack_require__(
|
17626 |
|
17627 |
|
17628 |
|
@@ -17761,9 +19801,7 @@ function getHiddenSiblings(container) {
|
|
17761 |
*/
|
17762 |
|
17763 |
|
17764 |
-
var ModalManager =
|
17765 |
-
/*#__PURE__*/
|
17766 |
-
function () {
|
17767 |
function ModalManager() {
|
17768 |
Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, ModalManager);
|
17769 |
|
@@ -17879,7 +19917,7 @@ function () {
|
|
17879 |
|
17880 |
|
17881 |
/***/ }),
|
17882 |
-
/*
|
17883 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17884 |
|
17885 |
"use strict";
|
@@ -17900,70 +19938,70 @@ function getScrollbarSize() {
|
|
17900 |
}
|
17901 |
|
17902 |
/***/ }),
|
17903 |
-
/*
|
17904 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17905 |
|
17906 |
"use strict";
|
17907 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogActions__ = __webpack_require__(
|
17908 |
/* unused harmony reexport default */
|
17909 |
|
17910 |
|
17911 |
/***/ }),
|
17912 |
-
/*
|
17913 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17914 |
|
17915 |
"use strict";
|
17916 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContent__ = __webpack_require__(
|
17917 |
/* unused harmony reexport default */
|
17918 |
|
17919 |
|
17920 |
/***/ }),
|
17921 |
-
/*
|
17922 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17923 |
|
17924 |
"use strict";
|
17925 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContentText__ = __webpack_require__(
|
17926 |
/* unused harmony reexport default */
|
17927 |
|
17928 |
|
17929 |
/***/ }),
|
17930 |
-
/*
|
17931 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17932 |
|
17933 |
"use strict";
|
17934 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogTitle__ = __webpack_require__(
|
17935 |
/* unused harmony reexport default */
|
17936 |
|
17937 |
|
17938 |
/***/ }),
|
17939 |
-
/*
|
17940 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17941 |
|
17942 |
"use strict";
|
17943 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Divider__ = __webpack_require__(
|
17944 |
/* unused harmony reexport default */
|
17945 |
|
17946 |
|
17947 |
/***/ }),
|
17948 |
-
/*
|
17949 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17950 |
|
17951 |
"use strict";
|
17952 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Drawer__ = __webpack_require__(
|
17953 |
/* unused harmony reexport default */
|
17954 |
|
17955 |
|
17956 |
/***/ }),
|
17957 |
-
/*
|
17958 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17959 |
|
17960 |
"use strict";
|
17961 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanel__ = __webpack_require__(
|
17962 |
/* unused harmony reexport default */
|
17963 |
|
17964 |
|
17965 |
/***/ }),
|
17966 |
-
/*
|
17967 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17968 |
|
17969 |
"use strict";
|
@@ -17975,7 +20013,7 @@ function getScrollbarSize() {
|
|
17975 |
* @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
|
17976 |
*/
|
17977 |
|
17978 |
-
var ExpansionPanelContext =
|
17979 |
|
17980 |
if (process.env.NODE_ENV !== 'production') {
|
17981 |
ExpansionPanelContext.displayName = 'ExpansionPanelContext';
|
@@ -17985,108 +20023,106 @@ if (process.env.NODE_ENV !== 'production') {
|
|
17985 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
17986 |
|
17987 |
/***/ }),
|
17988 |
-
/*
|
17989 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17990 |
|
17991 |
"use strict";
|
17992 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelActions__ = __webpack_require__(
|
17993 |
/* unused harmony reexport default */
|
17994 |
|
17995 |
|
17996 |
/***/ }),
|
17997 |
-
/*
|
17998 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
17999 |
|
18000 |
"use strict";
|
18001 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelDetails__ = __webpack_require__(
|
18002 |
/* unused harmony reexport default */
|
18003 |
|
18004 |
|
18005 |
/***/ }),
|
18006 |
-
/*
|
18007 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18008 |
|
18009 |
"use strict";
|
18010 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelSummary__ = __webpack_require__(
|
18011 |
/* unused harmony reexport default */
|
18012 |
|
18013 |
|
18014 |
/***/ }),
|
18015 |
-
/*
|
18016 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18017 |
|
18018 |
"use strict";
|
18019 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControlLabel__ = __webpack_require__(
|
18020 |
/* unused harmony reexport default */
|
18021 |
|
18022 |
|
18023 |
/***/ }),
|
18024 |
-
/*
|
18025 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18026 |
|
18027 |
"use strict";
|
18028 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grid__ = __webpack_require__(
|
18029 |
/* unused harmony reexport default */
|
18030 |
|
18031 |
|
18032 |
/***/ }),
|
18033 |
-
/*
|
18034 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18035 |
|
18036 |
"use strict";
|
18037 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridList__ = __webpack_require__(
|
18038 |
/* unused harmony reexport default */
|
18039 |
|
18040 |
|
18041 |
/***/ }),
|
18042 |
-
/*
|
18043 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18044 |
|
18045 |
"use strict";
|
18046 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTile__ = __webpack_require__(
|
18047 |
/* unused harmony reexport default */
|
18048 |
|
18049 |
|
18050 |
/***/ }),
|
18051 |
-
/*
|
18052 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18053 |
|
18054 |
"use strict";
|
18055 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTileBar__ = __webpack_require__(
|
18056 |
/* unused harmony reexport default */
|
18057 |
|
18058 |
|
18059 |
/***/ }),
|
18060 |
-
/*
|
18061 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18062 |
|
18063 |
"use strict";
|
18064 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Hidden__ = __webpack_require__(
|
18065 |
/* unused harmony reexport default */
|
18066 |
|
18067 |
|
18068 |
/***/ }),
|
18069 |
-
/*
|
18070 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18071 |
|
18072 |
"use strict";
|
18073 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isWidthUp; });
|
18074 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isWidthDown; });
|
18075 |
-
/* harmony import */ var
|
18076 |
-
/* harmony import */ var
|
18077 |
-
/* harmony import */ var
|
18078 |
-
/* harmony import */ var
|
18079 |
-
/* harmony import */ var
|
18080 |
-
/* harmony import */ var
|
18081 |
-
/* harmony import */ var
|
18082 |
-
/* harmony import */ var
|
18083 |
-
/* harmony import */ var
|
18084 |
-
/* harmony import */ var
|
18085 |
-
/* harmony import */ var
|
18086 |
-
/* harmony import */ var
|
18087 |
-
/* harmony import */ var
|
18088 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__useMediaQuery__ = __webpack_require__(117);
|
18089 |
-
|
18090 |
|
18091 |
|
18092 |
|
@@ -18102,22 +20138,22 @@ var isWidthUp = function isWidthUp(breakpoint, width) {
|
|
18102 |
var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
18103 |
|
18104 |
if (inclusive) {
|
18105 |
-
return
|
18106 |
}
|
18107 |
|
18108 |
-
return
|
18109 |
}; // By default, returns true if screen width is the same or less than the given breakpoint.
|
18110 |
|
18111 |
var isWidthDown = function isWidthDown(breakpoint, width) {
|
18112 |
var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
18113 |
|
18114 |
if (inclusive) {
|
18115 |
-
return
|
18116 |
}
|
18117 |
|
18118 |
-
return
|
18119 |
};
|
18120 |
-
var useEnhancedEffect = typeof window === 'undefined' ?
|
18121 |
|
18122 |
var withWidth = function withWidth() {
|
18123 |
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
@@ -18129,19 +20165,19 @@ var withWidth = function withWidth() {
|
|
18129 |
initialWidthOption = options.initialWidth;
|
18130 |
|
18131 |
function WithWidth(props) {
|
18132 |
-
var contextTheme = Object(
|
18133 |
var theme = props.theme || contextTheme;
|
18134 |
|
18135 |
-
var _getThemeProps = Object(
|
18136 |
theme: theme,
|
18137 |
name: 'MuiWithWidth',
|
18138 |
-
props: Object(
|
18139 |
}),
|
18140 |
initialWidth = _getThemeProps.initialWidth,
|
18141 |
width = _getThemeProps.width,
|
18142 |
-
other = Object(
|
18143 |
|
18144 |
-
var _React$useState =
|
18145 |
mountedState = _React$useState[0],
|
18146 |
setMountedState = _React$useState[1];
|
18147 |
|
@@ -18154,19 +20190,18 @@ var withWidth = function withWidth() {
|
|
18154 |
* width | xs | sm | md | lg | xl
|
18155 |
*/
|
18156 |
|
18157 |
-
var keys =
|
18158 |
-
|
18159 |
var widthComputed = keys.reduce(function (output, key) {
|
18160 |
// eslint-disable-next-line react-hooks/rules-of-hooks
|
18161 |
-
var matches = Object(
|
18162 |
return !output && matches ? key : output;
|
18163 |
}, null);
|
18164 |
|
18165 |
-
var more = Object(
|
18166 |
width: width || (mountedState || noSSR ? widthComputed : undefined) || initialWidth || initialWidthOption
|
18167 |
}, withThemeOption ? {
|
18168 |
theme: theme
|
18169 |
-
} : {},
|
18170 |
// we have no idea about the client browser screen width.
|
18171 |
// In order to prevent blinks and help the reconciliation of the React tree
|
18172 |
// we are not rendering the child component.
|
@@ -18178,7 +20213,7 @@ var withWidth = function withWidth() {
|
|
18178 |
return null;
|
18179 |
}
|
18180 |
|
18181 |
-
return
|
18182 |
}
|
18183 |
|
18184 |
process.env.NODE_ENV !== "production" ? WithWidth.propTypes = {
|
@@ -18191,24 +20226,24 @@ var withWidth = function withWidth() {
|
|
18191 |
* For instance, you could be using the user-agent or the client-hints.
|
18192 |
* https://caniuse.com/#search=client%20hint
|
18193 |
*/
|
18194 |
-
initialWidth:
|
18195 |
|
18196 |
/**
|
18197 |
* @ignore
|
18198 |
*/
|
18199 |
-
theme:
|
18200 |
|
18201 |
/**
|
18202 |
* Bypass the width calculation logic.
|
18203 |
*/
|
18204 |
-
width:
|
18205 |
} : void 0;
|
18206 |
|
18207 |
if (process.env.NODE_ENV !== 'production') {
|
18208 |
-
WithWidth.displayName = "WithWidth(".concat(Object(
|
18209 |
}
|
18210 |
|
18211 |
-
|
18212 |
return WithWidth;
|
18213 |
};
|
18214 |
};
|
@@ -18217,70 +20252,70 @@ var withWidth = function withWidth() {
|
|
18217 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
18218 |
|
18219 |
/***/ }),
|
18220 |
-
/*
|
18221 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18222 |
|
18223 |
"use strict";
|
18224 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputAdornment__ = __webpack_require__(
|
18225 |
/* unused harmony reexport default */
|
18226 |
|
18227 |
|
18228 |
/***/ }),
|
18229 |
-
/*
|
18230 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18231 |
|
18232 |
"use strict";
|
18233 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Link__ = __webpack_require__(
|
18234 |
/* unused harmony reexport default */
|
18235 |
|
18236 |
|
18237 |
/***/ }),
|
18238 |
-
/*
|
18239 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18240 |
|
18241 |
"use strict";
|
18242 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemAvatar__ = __webpack_require__(
|
18243 |
/* unused harmony reexport default */
|
18244 |
|
18245 |
|
18246 |
/***/ }),
|
18247 |
-
/*
|
18248 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18249 |
|
18250 |
"use strict";
|
18251 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemIcon__ = __webpack_require__(
|
18252 |
/* unused harmony reexport default */
|
18253 |
|
18254 |
|
18255 |
/***/ }),
|
18256 |
-
/*
|
18257 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18258 |
|
18259 |
"use strict";
|
18260 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemSecondaryAction__ = __webpack_require__(
|
18261 |
/* unused harmony reexport default */
|
18262 |
|
18263 |
|
18264 |
/***/ }),
|
18265 |
-
/*
|
18266 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18267 |
|
18268 |
"use strict";
|
18269 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemText__ = __webpack_require__(
|
18270 |
/* unused harmony reexport default */
|
18271 |
|
18272 |
|
18273 |
/***/ }),
|
18274 |
-
/*
|
18275 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18276 |
|
18277 |
"use strict";
|
18278 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Menu__ = __webpack_require__(
|
18279 |
/* unused harmony reexport default */
|
18280 |
|
18281 |
|
18282 |
/***/ }),
|
18283 |
-
/*
|
18284 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18285 |
|
18286 |
"use strict";
|
@@ -18289,18 +20324,20 @@ var withWidth = function withWidth() {
|
|
18289 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
18290 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
18291 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
18292 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_is__ = __webpack_require__(
|
18293 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_is___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_is__);
|
18294 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
|
18295 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
18296 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
|
18297 |
-
/* harmony import */ var
|
18298 |
-
/* harmony import */ var
|
18299 |
-
/* harmony import */ var
|
18300 |
-
/* harmony import */ var
|
18301 |
-
/* harmony import */ var
|
18302 |
-
/* harmony import */ var
|
18303 |
-
/* harmony import */ var
|
|
|
|
|
18304 |
|
18305 |
|
18306 |
|
@@ -18338,7 +20375,7 @@ var styles = {
|
|
18338 |
outline: 0
|
18339 |
}
|
18340 |
};
|
18341 |
-
var Menu =
|
18342 |
var _props$autoFocus = props.autoFocus,
|
18343 |
autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,
|
18344 |
children = props.children,
|
@@ -18359,10 +20396,10 @@ var Menu = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function Men
|
|
18359 |
variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,
|
18360 |
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "variant"]);
|
18361 |
|
18362 |
-
var theme = Object(
|
18363 |
var autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
18364 |
-
var menuListActionsRef =
|
18365 |
-
var contentAnchorRef =
|
18366 |
|
18367 |
var getContentAnchorEl = function getContentAnchorEl() {
|
18368 |
return contentAnchorRef.current;
|
@@ -18398,14 +20435,14 @@ var Menu = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function Men
|
|
18398 |
// to check if there is a `selected` item. We're looking for the last `selected`
|
18399 |
// item and use the first valid item as a fallback
|
18400 |
|
18401 |
-
|
18402 |
-
if (!
|
18403 |
return;
|
18404 |
}
|
18405 |
|
18406 |
if (process.env.NODE_ENV !== 'production') {
|
18407 |
if (Object(__WEBPACK_IMPORTED_MODULE_3_react_is__["isFragment"])(child)) {
|
18408 |
-
console.error(["Material-UI:
|
18409 |
}
|
18410 |
}
|
18411 |
|
@@ -18417,20 +20454,20 @@ var Menu = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function Men
|
|
18417 |
}
|
18418 |
}
|
18419 |
});
|
18420 |
-
var items =
|
18421 |
if (index === activeItemIndex) {
|
18422 |
-
return
|
18423 |
ref: function ref(instance) {
|
18424 |
// #StrictMode ready
|
18425 |
-
contentAnchorRef.current =
|
18426 |
-
Object(
|
18427 |
}
|
18428 |
});
|
18429 |
}
|
18430 |
|
18431 |
return child;
|
18432 |
});
|
18433 |
-
return
|
18434 |
getContentAnchorEl: getContentAnchorEl,
|
18435 |
classes: PopoverClasses,
|
18436 |
onClose: onClose,
|
@@ -18445,7 +20482,7 @@ var Menu = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function Men
|
|
18445 |
open: open,
|
18446 |
ref: ref,
|
18447 |
transitionDuration: transitionDuration
|
18448 |
-
}, other),
|
18449 |
onKeyDown: handleListKeyDown,
|
18450 |
actions: menuListActionsRef,
|
18451 |
autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
|
@@ -18456,10 +20493,18 @@ var Menu = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function Men
|
|
18456 |
}), items));
|
18457 |
});
|
18458 |
process.env.NODE_ENV !== "production" ? Menu.propTypes = {
|
|
|
|
|
|
|
|
|
|
|
18459 |
/**
|
18460 |
-
*
|
|
|
18461 |
*/
|
18462 |
-
anchorEl: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a
|
|
|
|
|
18463 |
|
18464 |
/**
|
18465 |
* If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
|
@@ -18478,7 +20523,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
|
|
18478 |
* Override or extend the styles applied to the component.
|
18479 |
* See [CSS API](#css) below for more details.
|
18480 |
*/
|
18481 |
-
classes: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object
|
18482 |
|
18483 |
/**
|
18484 |
* When opening the menu will not focus the active item but the `[role="menu"]`
|
@@ -18549,10 +20594,11 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
|
|
18549 |
/**
|
18550 |
* The length of the transition in `ms`, or 'auto'
|
18551 |
*/
|
18552 |
-
transitionDuration: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.shape({
|
|
|
18553 |
enter: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number,
|
18554 |
exit: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number
|
18555 |
-
})
|
18556 |
|
18557 |
/**
|
18558 |
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
@@ -18560,31 +20606,31 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
|
|
18560 |
*/
|
18561 |
variant: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOf(['menu', 'selectedMenu'])
|
18562 |
} : void 0;
|
18563 |
-
/* harmony default export */ __webpack_exports__["a"] = (Object(
|
18564 |
name: 'MuiMenu'
|
18565 |
})(Menu));
|
18566 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
18567 |
|
18568 |
/***/ }),
|
18569 |
-
/*
|
18570 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18571 |
|
18572 |
"use strict";
|
18573 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MobileStepper__ = __webpack_require__(
|
18574 |
/* unused harmony reexport default */
|
18575 |
|
18576 |
|
18577 |
/***/ }),
|
18578 |
-
/*
|
18579 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18580 |
|
18581 |
"use strict";
|
18582 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NativeSelect__ = __webpack_require__(
|
18583 |
/* unused harmony reexport default */
|
18584 |
|
18585 |
|
18586 |
/***/ }),
|
18587 |
-
/*
|
18588 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18589 |
|
18590 |
"use strict";
|
@@ -18595,12 +20641,12 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
|
|
18595 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
18596 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
18597 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
18598 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__ = __webpack_require__(
|
18599 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_withStyles__ = __webpack_require__(6);
|
18600 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__FormControl_formControlState__ = __webpack_require__(
|
18601 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__FormControl_useFormControl__ = __webpack_require__(
|
18602 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__internal_svg_icons_ArrowDropDown__ = __webpack_require__(
|
18603 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Input__ = __webpack_require__(
|
18604 |
|
18605 |
|
18606 |
|
@@ -18672,7 +20718,9 @@ var styles = function styles(theme) {
|
|
18672 |
/* Styles applied to the select component `selectMenu` class. */
|
18673 |
selectMenu: {
|
18674 |
height: 'auto',
|
18675 |
-
//
|
|
|
|
|
18676 |
textOverflow: 'ellipsis',
|
18677 |
whiteSpace: 'nowrap',
|
18678 |
overflow: 'hidden'
|
@@ -18689,9 +20737,12 @@ var styles = function styles(theme) {
|
|
18689 |
right: 0,
|
18690 |
top: 'calc(50% - 12px)',
|
18691 |
// Center vertically
|
|
|
|
|
18692 |
color: theme.palette.action.active,
|
18693 |
-
|
18694 |
-
|
|
|
18695 |
},
|
18696 |
|
18697 |
/* Styles applied to the icon component if the popup is open. */
|
@@ -18707,15 +20758,25 @@ var styles = function styles(theme) {
|
|
18707 |
/* Styles applied to the icon component if `variant="outlined"`. */
|
18708 |
iconOutlined: {
|
18709 |
right: 7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18710 |
}
|
18711 |
};
|
18712 |
};
|
18713 |
-
var defaultInput =
|
18714 |
/**
|
18715 |
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
18716 |
*/
|
18717 |
|
18718 |
-
var NativeSelect =
|
18719 |
var children = props.children,
|
18720 |
classes = props.classes,
|
18721 |
_props$IconComponent = props.IconComponent,
|
@@ -18732,7 +20793,7 @@ var NativeSelect = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(func
|
|
18732 |
muiFormControl: muiFormControl,
|
18733 |
states: ['variant']
|
18734 |
});
|
18735 |
-
return
|
18736 |
// Most of the logic is implemented in `NativeSelectInput`.
|
18737 |
// The `Select` component is a simple API wrapper to expose something better to play with.
|
18738 |
inputComponent: __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__["a" /* default */],
|
@@ -18742,11 +20803,16 @@ var NativeSelect = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(func
|
|
18742 |
IconComponent: IconComponent,
|
18743 |
variant: fcs.variant,
|
18744 |
type: undefined
|
18745 |
-
}, inputProps,
|
18746 |
ref: ref
|
18747 |
}, other));
|
18748 |
});
|
18749 |
process.env.NODE_ENV !== "production" ? NativeSelect.propTypes = {
|
|
|
|
|
|
|
|
|
|
|
18750 |
/**
|
18751 |
* The option elements to populate the select with.
|
18752 |
* Can be some `<option>` elements.
|
@@ -18757,7 +20823,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes = {
|
|
18757 |
* Override or extend the styles applied to the component.
|
18758 |
* See [CSS API](#css) below for more details.
|
18759 |
*/
|
18760 |
-
classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
|
18761 |
|
18762 |
/**
|
18763 |
* The icon that displays the arrow.
|
@@ -18790,7 +20856,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes = {
|
|
18790 |
/**
|
18791 |
* The variant to use.
|
18792 |
*/
|
18793 |
-
variant: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['
|
18794 |
} : void 0;
|
18795 |
NativeSelect.muiName = 'Select';
|
18796 |
/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_5__styles_withStyles__["a" /* default */])(styles, {
|
@@ -18799,7 +20865,7 @@ NativeSelect.muiName = 'Select';
|
|
18799 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
18800 |
|
18801 |
/***/ }),
|
18802 |
-
/*
|
18803 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18804 |
|
18805 |
"use strict";
|
@@ -18811,7 +20877,7 @@ NativeSelect.muiName = 'Select';
|
|
18811 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
18812 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
|
18813 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__ = __webpack_require__(7);
|
18814 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_capitalize__ = __webpack_require__(
|
18815 |
|
18816 |
|
18817 |
|
@@ -18823,7 +20889,7 @@ NativeSelect.muiName = 'Select';
|
|
18823 |
* @ignore - internal component.
|
18824 |
*/
|
18825 |
|
18826 |
-
var NativeSelectInput =
|
18827 |
var classes = props.classes,
|
18828 |
className = props.className,
|
18829 |
disabled = props.disabled,
|
@@ -18833,13 +20899,13 @@ var NativeSelectInput = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef
|
|
18833 |
variant = _props$variant === void 0 ? 'standard' : _props$variant,
|
18834 |
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
|
18835 |
|
18836 |
-
return
|
18837 |
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, // TODO v5: merge root and select
|
18838 |
classes.select, classes[variant], className, disabled && classes.disabled),
|
18839 |
disabled: disabled,
|
18840 |
ref: inputRef || ref
|
18841 |
-
}, other)), props.multiple ? null :
|
18842 |
-
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.icon, classes["icon".concat(Object(__WEBPACK_IMPORTED_MODULE_6__utils_capitalize__["a" /* default */])(variant))])
|
18843 |
}));
|
18844 |
});
|
18845 |
process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
|
@@ -18874,7 +20940,7 @@ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
|
|
18874 |
* Use that prop to pass a ref to the native select element.
|
18875 |
* @deprecated
|
18876 |
*/
|
18877 |
-
inputRef: __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["
|
18878 |
|
18879 |
/**
|
18880 |
* @ignore
|
@@ -18908,49 +20974,76 @@ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
|
|
18908 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
18909 |
|
18910 |
/***/ }),
|
18911 |
-
/*
|
18912 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18913 |
|
18914 |
"use strict";
|
18915 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
18916 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
18917 |
-
/* harmony import */ var
|
18918 |
|
18919 |
|
18920 |
/**
|
18921 |
* @ignore - internal component.
|
18922 |
*/
|
18923 |
|
18924 |
-
/* harmony default export */ __webpack_exports__["a"] = (Object(
|
18925 |
d: "M7 10l5 5 5-5z"
|
18926 |
}), 'ArrowDropDown'));
|
18927 |
|
18928 |
/***/ }),
|
18929 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18930 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18931 |
|
18932 |
"use strict";
|
18933 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Radio__ = __webpack_require__(
|
18934 |
/* unused harmony reexport default */
|
18935 |
|
18936 |
|
18937 |
/***/ }),
|
18938 |
-
/*
|
18939 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18940 |
|
18941 |
"use strict";
|
18942 |
/* harmony export (immutable) */ __webpack_exports__["a"] = useRadioGroup;
|
18943 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
18944 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
18945 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__RadioGroupContext__ = __webpack_require__(
|
18946 |
|
18947 |
|
18948 |
function useRadioGroup() {
|
18949 |
-
return
|
18950 |
}
|
18951 |
|
18952 |
/***/ }),
|
18953 |
-
/*
|
18954 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18955 |
|
18956 |
"use strict";
|
@@ -18961,7 +21054,7 @@ function useRadioGroup() {
|
|
18961 |
* @ignore - internal component.
|
18962 |
*/
|
18963 |
|
18964 |
-
var RadioGroupContext =
|
18965 |
|
18966 |
if (process.env.NODE_ENV !== 'production') {
|
18967 |
RadioGroupContext.displayName = 'RadioGroupContext';
|
@@ -18971,118 +21064,118 @@ if (process.env.NODE_ENV !== 'production') {
|
|
18971 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
18972 |
|
18973 |
/***/ }),
|
18974 |
-
/*
|
18975 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18976 |
|
18977 |
"use strict";
|
18978 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RadioGroup__ = __webpack_require__(
|
18979 |
/* unused harmony reexport default */
|
18980 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useRadioGroup__ = __webpack_require__(
|
18981 |
/* unused harmony reexport useRadioGroup */
|
18982 |
|
18983 |
|
18984 |
|
18985 |
/***/ }),
|
18986 |
-
/*
|
18987 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18988 |
|
18989 |
"use strict";
|
18990 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RootRef__ = __webpack_require__(
|
18991 |
/* unused harmony reexport default */
|
18992 |
|
18993 |
|
18994 |
/***/ }),
|
18995 |
-
/*
|
18996 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18997 |
|
18998 |
"use strict";
|
18999 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slider__ = __webpack_require__(
|
19000 |
/* unused harmony reexport default */
|
19001 |
|
19002 |
|
19003 |
/***/ }),
|
19004 |
-
/*
|
19005 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19006 |
|
19007 |
"use strict";
|
19008 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Snackbar__ = __webpack_require__(
|
19009 |
/* unused harmony reexport default */
|
19010 |
|
19011 |
|
19012 |
/***/ }),
|
19013 |
-
/*
|
19014 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19015 |
|
19016 |
"use strict";
|
19017 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Step__ = __webpack_require__(
|
19018 |
/* unused harmony reexport default */
|
19019 |
|
19020 |
|
19021 |
/***/ }),
|
19022 |
-
/*
|
19023 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19024 |
|
19025 |
"use strict";
|
19026 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepButton__ = __webpack_require__(
|
19027 |
/* unused harmony reexport default */
|
19028 |
|
19029 |
|
19030 |
/***/ }),
|
19031 |
-
/*
|
19032 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19033 |
|
19034 |
"use strict";
|
19035 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepContent__ = __webpack_require__(
|
19036 |
/* unused harmony reexport default */
|
19037 |
|
19038 |
|
19039 |
/***/ }),
|
19040 |
-
/*
|
19041 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19042 |
|
19043 |
"use strict";
|
19044 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Stepper__ = __webpack_require__(
|
19045 |
/* unused harmony reexport default */
|
19046 |
|
19047 |
|
19048 |
/***/ }),
|
19049 |
-
/*
|
19050 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19051 |
|
19052 |
"use strict";
|
19053 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SwipeableDrawer__ = __webpack_require__(
|
19054 |
/* unused harmony reexport default */
|
19055 |
|
19056 |
|
19057 |
/***/ }),
|
19058 |
-
/*
|
19059 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19060 |
|
19061 |
"use strict";
|
19062 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Switch__ = __webpack_require__(
|
19063 |
/* unused harmony reexport default */
|
19064 |
|
19065 |
|
19066 |
/***/ }),
|
19067 |
-
/*
|
19068 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19069 |
|
19070 |
"use strict";
|
19071 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tab__ = __webpack_require__(
|
19072 |
/* unused harmony reexport default */
|
19073 |
|
19074 |
|
19075 |
/***/ }),
|
19076 |
-
/*
|
19077 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19078 |
|
19079 |
"use strict";
|
19080 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Table__ = __webpack_require__(
|
19081 |
/* unused harmony reexport default */
|
19082 |
|
19083 |
|
19084 |
/***/ }),
|
19085 |
-
/*
|
19086 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19087 |
|
19088 |
"use strict";
|
@@ -19093,7 +21186,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
19093 |
* @ignore - internal component.
|
19094 |
*/
|
19095 |
|
19096 |
-
var TableContext =
|
19097 |
|
19098 |
if (process.env.NODE_ENV !== 'production') {
|
19099 |
TableContext.displayName = 'TableContext';
|
@@ -19103,192 +21196,183 @@ if (process.env.NODE_ENV !== 'production') {
|
|
19103 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
19104 |
|
19105 |
/***/ }),
|
19106 |
-
/*
|
19107 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19108 |
|
19109 |
"use strict";
|
19110 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableBody__ = __webpack_require__(
|
19111 |
/* unused harmony reexport default */
|
19112 |
|
19113 |
|
19114 |
/***/ }),
|
19115 |
-
/*
|
19116 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19117 |
|
19118 |
"use strict";
|
19119 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableContainer__ = __webpack_require__(
|
19120 |
/* unused harmony reexport default */
|
19121 |
|
19122 |
|
19123 |
/***/ }),
|
19124 |
-
/*
|
19125 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19126 |
|
19127 |
"use strict";
|
19128 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableFooter__ = __webpack_require__(
|
19129 |
/* unused harmony reexport default */
|
19130 |
|
19131 |
|
19132 |
/***/ }),
|
19133 |
-
/*
|
19134 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19135 |
|
19136 |
"use strict";
|
19137 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableHead__ = __webpack_require__(
|
19138 |
/* unused harmony reexport default */
|
19139 |
|
19140 |
|
19141 |
/***/ }),
|
19142 |
-
/*
|
19143 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19144 |
|
19145 |
"use strict";
|
19146 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TablePagination__ = __webpack_require__(
|
19147 |
/* unused harmony reexport default */
|
19148 |
|
19149 |
|
19150 |
/***/ }),
|
19151 |
-
/*
|
19152 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19153 |
|
19154 |
"use strict";
|
19155 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
19156 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
19157 |
-
/* harmony import */ var
|
19158 |
|
19159 |
|
19160 |
/**
|
19161 |
* @ignore - internal component.
|
19162 |
*/
|
19163 |
|
19164 |
-
/* harmony default export */ __webpack_exports__["a"] = (Object(
|
19165 |
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
19166 |
}), 'KeyboardArrowLeft'));
|
19167 |
|
19168 |
/***/ }),
|
19169 |
-
/*
|
19170 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19171 |
|
19172 |
"use strict";
|
19173 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
19174 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
19175 |
-
/* harmony import */ var
|
19176 |
|
19177 |
|
19178 |
/**
|
19179 |
* @ignore - internal component.
|
19180 |
*/
|
19181 |
|
19182 |
-
/* harmony default export */ __webpack_exports__["a"] = (Object(
|
19183 |
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
19184 |
}), 'KeyboardArrowRight'));
|
19185 |
|
19186 |
/***/ }),
|
19187 |
-
/*
|
19188 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19189 |
-
|
19190 |
-
"use strict";
|
19191 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableRow__ = __webpack_require__(568);
|
19192 |
-
/* unused harmony reexport default */
|
19193 |
-
|
19194 |
-
|
19195 |
-
/***/ }),
|
19196 |
-
/* 268 */
|
19197 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19198 |
|
19199 |
"use strict";
|
19200 |
-
/* harmony import */ var
|
19201 |
/* unused harmony reexport default */
|
19202 |
|
19203 |
|
19204 |
/***/ }),
|
19205 |
-
/*
|
19206 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19207 |
|
19208 |
"use strict";
|
19209 |
-
/* harmony import */ var
|
19210 |
/* unused harmony reexport default */
|
19211 |
|
19212 |
|
19213 |
/***/ }),
|
19214 |
-
/*
|
19215 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19216 |
|
19217 |
"use strict";
|
19218 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextField__ = __webpack_require__(
|
19219 |
/* unused harmony reexport default */
|
19220 |
|
19221 |
|
19222 |
/***/ }),
|
19223 |
-
/*
|
19224 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19225 |
|
19226 |
"use strict";
|
19227 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useScrollTrigger__ = __webpack_require__(
|
19228 |
/* unused harmony reexport default */
|
19229 |
|
19230 |
|
19231 |
/***/ }),
|
19232 |
-
/*
|
19233 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19234 |
|
19235 |
"use strict";
|
19236 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withMobileDialog__ = __webpack_require__(
|
19237 |
/* unused harmony reexport default */
|
19238 |
|
19239 |
|
19240 |
/***/ }),
|
19241 |
-
/*
|
19242 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19243 |
|
19244 |
"use strict";
|
19245 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Autocomplete__ = __webpack_require__(
|
19246 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["b"]; });
|
19247 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["a"]; });
|
19248 |
|
19249 |
|
19250 |
/***/ }),
|
19251 |
-
/*
|
19252 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19253 |
|
19254 |
"use strict";
|
19255 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__ = __webpack_require__(
|
19256 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["b"]; });
|
19257 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["a"]; });
|
19258 |
|
19259 |
|
19260 |
/***/ }),
|
19261 |
-
/*
|
19262 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19263 |
|
19264 |
"use strict";
|
19265 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__ = __webpack_require__(
|
19266 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__["a"]; });
|
19267 |
|
19268 |
|
19269 |
/***/ }),
|
19270 |
-
/*
|
19271 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19272 |
|
19273 |
"use strict";
|
19274 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Pagination__ = __webpack_require__(
|
19275 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Pagination__["a"]; });
|
19276 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__usePagination__ = __webpack_require__(
|
19277 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__usePagination__["a"]; });
|
19278 |
|
19279 |
|
19280 |
|
19281 |
/***/ }),
|
19282 |
-
/*
|
19283 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19284 |
|
19285 |
"use strict";
|
19286 |
/* harmony export (immutable) */ __webpack_exports__["a"] = usePagination;
|
19287 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
19288 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(
|
19289 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(
|
19290 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
19291 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_core_utils__ = __webpack_require__(
|
19292 |
|
19293 |
|
19294 |
|
@@ -19297,8 +21381,9 @@ if (process.env.NODE_ENV !== 'production') {
|
|
19297 |
function usePagination() {
|
19298 |
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
19299 |
|
|
|
19300 |
var _props$boundaryCount = props.boundaryCount,
|
19301 |
-
|
19302 |
_props$componentName = props.componentName,
|
19303 |
componentName = _props$componentName === void 0 ? 'usePagination' : _props$componentName,
|
19304 |
_props$count = props.count,
|
@@ -19319,15 +21404,13 @@ function usePagination() {
|
|
19319 |
showLastButton = _props$showLastButton === void 0 ? false : _props$showLastButton,
|
19320 |
_props$siblingCount = props.siblingCount,
|
19321 |
siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
|
19322 |
-
other = Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"]);
|
19323 |
|
19324 |
-
|
19325 |
-
var boundaryCount = boundaryCountProp - 1;
|
19326 |
-
|
19327 |
-
var _useControlled = Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_core_utils__["e" /* useControlled */])({
|
19328 |
controlled: pageProp,
|
19329 |
default: defaultPage,
|
19330 |
-
name: componentName
|
|
|
19331 |
}),
|
19332 |
_useControlled2 = Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_useControlled, 2),
|
19333 |
page = _useControlled2[0],
|
@@ -19353,19 +21436,19 @@ function usePagination() {
|
|
19353 |
});
|
19354 |
};
|
19355 |
|
19356 |
-
var startPages = range(1, Math.min(boundaryCount
|
19357 |
-
var endPages = range(Math.max(count - boundaryCount, boundaryCount +
|
19358 |
var siblingsStart = Math.max(Math.min( // Natural start
|
19359 |
page - siblingCount, // Lower boundary when page is high
|
19360 |
-
count - boundaryCount - siblingCount * 2 -
|
19361 |
-
boundaryCount +
|
19362 |
var siblingsEnd = Math.min(Math.max( // Natural end
|
19363 |
page + siblingCount, // Upper boundary when page is low
|
19364 |
-
boundaryCount + siblingCount * 2 +
|
19365 |
endPages[0] - 2); // Basic list of items to render
|
19366 |
// e.g. itemList = ['first', 'previous', 1, 'ellipsis', 4, 5, 6, 'ellipsis', 10, 'next', 'last']
|
19367 |
|
19368 |
-
var itemList = [].concat(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(showFirstButton ? ['first'] : []), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(hidePrevButton ? [] : ['previous']), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(startPages), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(siblingsStart > boundaryCount +
|
19369 |
|
19370 |
var buttonPage = function buttonPage(type) {
|
19371 |
switch (type) {
|
@@ -19413,4703 +21496,4852 @@ function usePagination() {
|
|
19413 |
}
|
19414 |
|
19415 |
/***/ }),
|
19416 |
-
/*
|
19417 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19418 |
|
19419 |
"use strict";
|
19420 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Rating__ = __webpack_require__(
|
19421 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Rating__["a"]; });
|
19422 |
|
19423 |
|
19424 |
/***/ }),
|
19425 |
-
/*
|
19426 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19427 |
|
19428 |
"use strict";
|
19429 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Skeleton__ = __webpack_require__(
|
19430 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Skeleton__["a"]; });
|
19431 |
|
19432 |
|
19433 |
/***/ }),
|
19434 |
-
/*
|
19435 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19436 |
|
19437 |
"use strict";
|
19438 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDial__ = __webpack_require__(
|
19439 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDial__["a"]; });
|
19440 |
|
19441 |
|
19442 |
/***/ }),
|
19443 |
-
/*
|
19444 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19445 |
|
19446 |
"use strict";
|
19447 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__ = __webpack_require__(
|
19448 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__["a"]; });
|
19449 |
|
19450 |
|
19451 |
/***/ }),
|
19452 |
-
/*
|
19453 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19454 |
|
19455 |
"use strict";
|
19456 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__ = __webpack_require__(
|
19457 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__["a"]; });
|
19458 |
|
19459 |
|
19460 |
/***/ }),
|
19461 |
-
/*
|
19462 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19463 |
|
19464 |
"use strict";
|
19465 |
-
/*
|
19466 |
-
/* harmony
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19468 |
|
19469 |
/***/ }),
|
19470 |
-
/*
|
19471 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19472 |
|
19473 |
"use strict";
|
19474 |
-
/* harmony import */ var
|
19475 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
19476 |
|
19477 |
|
19478 |
/***/ }),
|
19479 |
-
/*
|
19480 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19481 |
|
19482 |
"use strict";
|
19483 |
-
/* harmony import */ var
|
19484 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
19485 |
|
19486 |
|
19487 |
/***/ }),
|
19488 |
-
/*
|
19489 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19490 |
|
19491 |
"use strict";
|
19492 |
-
/*
|
19493 |
-
/* harmony
|
19494 |
|
19495 |
-
/**
|
19496 |
-
* @ignore - internal component.
|
19497 |
-
*/
|
19498 |
|
19499 |
-
|
|
|
|
|
19500 |
|
19501 |
-
|
19502 |
-
|
19503 |
-
}
|
19504 |
|
19505 |
-
/* harmony default export */ __webpack_exports__["a"] = (TreeViewContext);
|
19506 |
-
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
19507 |
|
19508 |
/***/ }),
|
19509 |
-
/*
|
19510 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19511 |
|
19512 |
"use strict";
|
19513 |
-
/* harmony import */ var
|
19514 |
-
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
19515 |
|
19516 |
|
19517 |
/***/ }),
|
19518 |
-
/*
|
19519 |
-
/***/ (function(module,
|
19520 |
|
19521 |
"use strict";
|
|
|
|
|
19522 |
|
19523 |
|
19524 |
-
|
|
|
|
|
19525 |
|
19526 |
-
|
|
|
|
|
19527 |
|
19528 |
-
var _reactRouterDom = __webpack_require__(33);
|
19529 |
|
19530 |
-
|
|
|
|
|
19531 |
|
19532 |
-
|
|
|
|
|
19533 |
|
19534 |
-
__webpack_require__(397);
|
19535 |
|
19536 |
-
|
|
|
|
|
19537 |
|
19538 |
-
|
|
|
|
|
19539 |
|
19540 |
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
19541 |
|
19542 |
-
|
|
|
|
|
19543 |
|
19544 |
-
|
|
|
|
|
19545 |
|
19546 |
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
19547 |
|
19548 |
-
|
|
|
|
|
19549 |
|
19550 |
-
|
|
|
|
|
19551 |
|
19552 |
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
19553 |
|
19554 |
-
|
|
|
|
|
19555 |
|
19556 |
-
|
|
|
|
|
19557 |
|
19558 |
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
19559 |
|
19560 |
-
|
|
|
|
|
19561 |
|
19562 |
-
|
19563 |
-
|
19564 |
-
|
19565 |
-
_inherits(QuadsAdRootComponent, _Component);
|
19566 |
|
19567 |
-
|
19568 |
-
|
|
|
19569 |
|
19570 |
-
|
19571 |
-
}
|
19572 |
|
19573 |
-
|
19574 |
-
|
19575 |
-
|
19576 |
-
return _react["default"].createElement(_react.Fragment, null, _react["default"].createElement(_reactRouterDom.BrowserRouter, null, _react["default"].createElement("div", null, _react["default"].createElement("div", {
|
19577 |
-
className: "quads-segment"
|
19578 |
-
}, quads_localize_data.demo_test, _react["default"].createElement(_reactRouterDom.Switch, null, _react["default"].createElement(_reactRouterDom.Route, {
|
19579 |
-
render: function render(props) {
|
19580 |
-
var page = _queryString["default"].parse(window.location.search);
|
19581 |
|
19582 |
-
|
19583 |
-
|
19584 |
-
return _react["default"].createElement(_QuadsAdmin["default"], props);
|
19585 |
-
} else if (page.path.includes('wizard')) {
|
19586 |
-
return _react["default"].createElement(_QuadsAdCreateRouter["default"], props);
|
19587 |
-
} else {
|
19588 |
-
return 'Page not found';
|
19589 |
-
}
|
19590 |
-
} else {
|
19591 |
-
return _react["default"].createElement(_QuadsAdmin["default"], props);
|
19592 |
-
}
|
19593 |
-
}
|
19594 |
-
}))))));
|
19595 |
-
}
|
19596 |
-
}]);
|
19597 |
|
19598 |
-
|
19599 |
-
|
|
|
|
|
|
|
|
|
|
|
19600 |
|
19601 |
-
_reactDom["default"].render(_react["default"].createElement(QuadsAdRootComponent, null), document.getElementById('quads-ad-content'));
|
19602 |
|
19603 |
/***/ }),
|
19604 |
-
/*
|
19605 |
/***/ (function(module, exports, __webpack_require__) {
|
19606 |
|
19607 |
-
|
19608 |
-
|
19609 |
-
* react.production.min.js
|
19610 |
-
*
|
19611 |
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
19612 |
-
*
|
19613 |
-
* This source code is licensed under the MIT license found in the
|
19614 |
-
* LICENSE file in the root directory of this source tree.
|
19615 |
-
*/
|
19616 |
|
19617 |
-
|
19618 |
-
var z=n?Symbol.for("react.memo"):60115,aa=n?Symbol.for("react.lazy"):60116;n&&Symbol.for("react.fundamental");n&&Symbol.for("react.responder");n&&Symbol.for("react.scope");var A="function"===typeof Symbol&&Symbol.iterator;
|
19619 |
-
function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D={};
|
19620 |
-
function E(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||C}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(B(85));this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||C}var H=G.prototype=new F;
|
19621 |
-
H.constructor=G;h(H,E.prototype);H.isPureReactComponent=!0;var I={current:null},J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};
|
19622 |
-
function M(a,b,c){var e,d={},g=null,l=null;if(null!=b)for(e in void 0!==b.ref&&(l=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var k=Array(f),m=0;m<f;m++)k[m]=arguments[m+2];d.children=k}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:l,props:d,_owner:J.current}}
|
19623 |
-
function ba(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var O=/\/+/g,P=[];function Q(a,b,c,e){if(P.length){var d=P.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,count:0}}
|
19624 |
-
function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
|
19625 |
-
function S(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var l=0;l<a.length;l++){d=a[l];var f=b+T(d,l);g+=S(d,f,c,e)}else if(null===a||"object"!==typeof a?f=null:(f=A&&a[A]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),l=
|
19626 |
-
0;!(d=a.next()).done;)d=d.value,f=b+T(d,l++),g+=S(d,f,c,e);else if("object"===d)throw c=""+a,Error(B(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function U(a,b,c){return null==a?0:S(a,"",b,c)}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}
|
19627 |
-
function da(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,e,c,function(a){return a}):null!=a&&(N(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+c)),e.push(a))}function V(a,b,c,e,d){var g="";null!=c&&(g=(""+c).replace(O,"$&/")+"/");b=Q(b,g,e,d);U(a,da,b);R(b)}function W(){var a=I.current;if(null===a)throw Error(B(321));return a}
|
19628 |
-
var X={Children:{map:function(a,b,c){if(null==a)return a;var e=[];V(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=Q(null,null,b,c);U(a,ca,b);R(b)},count:function(a){return U(a,function(){return null},null)},toArray:function(a){var b=[];V(a,b,null,function(a){return a});return b},only:function(a){if(!N(a))throw Error(B(143));return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,
|
19629 |
-
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:x,render:a}},lazy:function(a){return{$$typeof:aa,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return W().useCallback(a,b)},useContext:function(a,b){return W().useContext(a,b)},useEffect:function(a,b){return W().useEffect(a,b)},useImperativeHandle:function(a,
|
19630 |
-
b,c){return W().useImperativeHandle(a,b,c)},useDebugValue:function(){},useLayoutEffect:function(a,b){return W().useLayoutEffect(a,b)},useMemo:function(a,b){return W().useMemo(a,b)},useReducer:function(a,b,c){return W().useReducer(a,b,c)},useRef:function(a){return W().useRef(a)},useState:function(a){return W().useState(a)},Fragment:r,Profiler:u,StrictMode:t,Suspense:y,createElement:M,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(B(267,a));var e=h({},a.props),d=a.key,g=a.ref,l=a._owner;
|
19631 |
-
if(null!=b){void 0!==b.ref&&(g=b.ref,l=J.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(k in b)K.call(b,k)&&!L.hasOwnProperty(k)&&(e[k]=void 0===b[k]&&void 0!==f?f[k]:b[k])}var k=arguments.length-2;if(1===k)e.children=c;else if(1<k){f=Array(k);for(var m=0;m<k;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,key:d,ref:g,props:e,_owner:l}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.12.0",
|
19632 |
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:h}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
19633 |
|
|
|
19634 |
|
19635 |
/***/ }),
|
19636 |
-
/*
|
19637 |
/***/ (function(module, exports, __webpack_require__) {
|
19638 |
|
19639 |
-
|
19640 |
-
|
19641 |
-
|
19642 |
-
|
19643 |
-
*
|
19644 |
*
|
19645 |
-
*
|
19646 |
-
*
|
|
|
|
|
19647 |
*/
|
|
|
|
|
|
|
19648 |
|
|
|
19649 |
|
19650 |
|
|
|
|
|
|
|
19651 |
|
|
|
19652 |
|
19653 |
-
|
19654 |
-
|
19655 |
-
|
19656 |
-
|
19657 |
-
|
19658 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
19659 |
|
19660 |
-
|
19661 |
|
19662 |
-
var ReactVersion = '16.12.0';
|
19663 |
|
19664 |
-
|
19665 |
-
|
19666 |
-
|
19667 |
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
19668 |
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
19669 |
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
19670 |
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
19671 |
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
19672 |
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
19673 |
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
19674 |
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
19675 |
|
|
|
|
|
|
|
|
|
|
|
|
|
19676 |
|
19677 |
-
|
19678 |
-
var
|
19679 |
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
19680 |
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
19681 |
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
19682 |
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
19683 |
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
19684 |
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
19685 |
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
19686 |
-
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
19687 |
-
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
19688 |
-
function getIteratorFn(maybeIterable) {
|
19689 |
-
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
19690 |
-
return null;
|
19691 |
-
}
|
19692 |
|
19693 |
-
|
|
|
19694 |
|
19695 |
-
|
19696 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19697 |
}
|
19698 |
-
|
19699 |
-
return null;
|
19700 |
}
|
19701 |
|
19702 |
-
|
19703 |
-
|
19704 |
-
|
|
|
|
|
|
|
19705 |
|
19706 |
/**
|
19707 |
-
*
|
19708 |
-
*
|
19709 |
-
* Provide sprintf-style format (only %s is supported) and arguments
|
19710 |
-
* to provide information about what broke and what you were
|
19711 |
-
* expecting.
|
19712 |
*
|
19713 |
-
*
|
19714 |
-
*
|
|
|
|
|
19715 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19716 |
|
19717 |
/**
|
19718 |
-
*
|
19719 |
-
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
|
19720 |
*
|
19721 |
-
*
|
19722 |
-
*
|
19723 |
-
*
|
19724 |
-
* ---
|
19725 |
-
* Similar to invariant but only logs a warning if the condition is not met.
|
19726 |
-
* This can be used to log issues in development environments in critical
|
19727 |
-
* paths. Removing the logging code for production environments will keep the
|
19728 |
-
* same logic and follow the same code paths.
|
19729 |
*/
|
19730 |
-
|
|
|
|
|
19731 |
|
19732 |
-
|
19733 |
-
var printWarning = function (format) {
|
19734 |
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
19735 |
-
args[_key - 1] = arguments[_key];
|
19736 |
-
}
|
19737 |
|
19738 |
-
var argIndex = 0;
|
19739 |
-
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
19740 |
-
return args[argIndex++];
|
19741 |
-
});
|
19742 |
|
19743 |
-
|
19744 |
-
|
19745 |
-
|
19746 |
|
19747 |
-
|
19748 |
-
|
19749 |
-
|
19750 |
-
// to find the callsite that caused this warning to fire.
|
19751 |
-
throw new Error(message);
|
19752 |
-
} catch (x) {}
|
19753 |
-
};
|
19754 |
|
19755 |
-
|
19756 |
-
|
19757 |
-
throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
|
19758 |
-
}
|
19759 |
|
19760 |
-
|
19761 |
-
|
19762 |
-
|
19763 |
-
}
|
19764 |
|
19765 |
-
|
19766 |
-
|
19767 |
-
|
19768 |
-
|
|
|
19769 |
|
19770 |
-
|
|
|
19771 |
|
19772 |
/**
|
19773 |
-
*
|
19774 |
-
*
|
19775 |
-
*
|
19776 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19777 |
*/
|
19778 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19779 |
|
19780 |
-
|
19781 |
-
warningWithoutStack = function (condition, format) {
|
19782 |
-
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
19783 |
-
args[_key - 2] = arguments[_key];
|
19784 |
-
}
|
19785 |
|
19786 |
-
if (format === undefined) {
|
19787 |
-
throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
|
19788 |
-
}
|
19789 |
|
19790 |
-
|
19791 |
-
|
19792 |
-
|
19793 |
-
}
|
19794 |
|
19795 |
-
|
19796 |
-
|
19797 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19798 |
|
19799 |
-
|
19800 |
-
|
19801 |
-
|
19802 |
-
|
19803 |
-
|
19804 |
-
// breaks IE9: https://github.com/facebook/react/issues/13610
|
19805 |
|
19806 |
-
|
19807 |
-
}
|
19808 |
|
19809 |
-
try {
|
19810 |
-
// --- Welcome to debugging React ---
|
19811 |
-
// This error was thrown as a convenience so that you can use this stack
|
19812 |
-
// to find the callsite that caused this warning to fire.
|
19813 |
-
var argIndex = 0;
|
19814 |
-
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
19815 |
-
return args[argIndex++];
|
19816 |
-
});
|
19817 |
-
throw new Error(message);
|
19818 |
-
} catch (x) {}
|
19819 |
-
};
|
19820 |
-
}
|
19821 |
|
19822 |
-
|
|
|
|
|
19823 |
|
19824 |
-
|
|
|
19825 |
|
19826 |
-
|
19827 |
-
|
19828 |
-
var _constructor = publicInstance.constructor;
|
19829 |
-
var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
|
19830 |
-
var warningKey = componentName + "." + callerName;
|
19831 |
|
19832 |
-
|
19833 |
-
|
19834 |
-
|
19835 |
-
|
19836 |
-
|
19837 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19838 |
}
|
|
|
19839 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19840 |
/**
|
19841 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19842 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19843 |
|
|
|
19844 |
|
19845 |
-
var ReactNoopUpdateQueue = {
|
19846 |
-
/**
|
19847 |
-
* Checks whether or not this composite component is mounted.
|
19848 |
-
* @param {ReactClass} publicInstance The instance we want to test.
|
19849 |
-
* @return {boolean} True if mounted, false otherwise.
|
19850 |
-
* @protected
|
19851 |
-
* @final
|
19852 |
-
*/
|
19853 |
-
isMounted: function (publicInstance) {
|
19854 |
-
return false;
|
19855 |
-
},
|
19856 |
|
19857 |
-
|
19858 |
-
|
19859 |
-
|
19860 |
-
*
|
19861 |
-
* You may want to call this when you know that some deeper aspect of the
|
19862 |
-
* component's state has changed but `setState` was not called.
|
19863 |
-
*
|
19864 |
-
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
19865 |
-
* `componentWillUpdate` and `componentDidUpdate`.
|
19866 |
-
*
|
19867 |
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
19868 |
-
* @param {?function} callback Called after component is updated.
|
19869 |
-
* @param {?string} callerName name of the calling function in the public API.
|
19870 |
-
* @internal
|
19871 |
-
*/
|
19872 |
-
enqueueForceUpdate: function (publicInstance, callback, callerName) {
|
19873 |
-
warnNoop(publicInstance, 'forceUpdate');
|
19874 |
-
},
|
19875 |
|
19876 |
-
|
19877 |
-
|
19878 |
-
|
19879 |
-
*
|
19880 |
-
* There is no guarantee that `this.state` will be immediately updated, so
|
19881 |
-
* accessing `this.state` after calling this method may return the old value.
|
19882 |
-
*
|
19883 |
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
19884 |
-
* @param {object} completeState Next state.
|
19885 |
-
* @param {?function} callback Called after component is updated.
|
19886 |
-
* @param {?string} callerName name of the calling function in the public API.
|
19887 |
-
* @internal
|
19888 |
-
*/
|
19889 |
-
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
|
19890 |
-
warnNoop(publicInstance, 'replaceState');
|
19891 |
-
},
|
19892 |
|
19893 |
-
|
19894 |
-
|
19895 |
-
|
19896 |
-
|
19897 |
-
|
19898 |
-
|
19899 |
-
|
19900 |
-
|
19901 |
-
|
19902 |
-
|
19903 |
-
|
19904 |
-
|
19905 |
-
|
19906 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19907 |
}
|
19908 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19909 |
|
19910 |
-
|
|
|
19911 |
|
19912 |
-
|
19913 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19914 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19915 |
/**
|
19916 |
-
*
|
|
|
|
|
|
|
|
|
19917 |
*/
|
|
|
|
|
|
|
19918 |
|
|
|
19919 |
|
19920 |
-
function Component(props, context, updater) {
|
19921 |
-
this.props = props;
|
19922 |
-
this.context = context; // If a component has string refs, we will assign a different object later.
|
19923 |
|
19924 |
-
|
19925 |
-
|
|
|
19926 |
|
19927 |
-
|
19928 |
-
|
19929 |
|
19930 |
-
Component.prototype.isReactComponent = {};
|
19931 |
/**
|
19932 |
-
*
|
19933 |
-
*
|
19934 |
-
*
|
19935 |
-
* There is no guarantee that `this.state` will be immediately updated, so
|
19936 |
-
* accessing `this.state` after calling this method may return the old value.
|
19937 |
-
*
|
19938 |
-
* There is no guarantee that calls to `setState` will run synchronously,
|
19939 |
-
* as they may eventually be batched together. You can provide an optional
|
19940 |
-
* callback that will be executed when the call to setState is actually
|
19941 |
-
* completed.
|
19942 |
*
|
19943 |
-
*
|
19944 |
-
*
|
19945 |
-
*
|
19946 |
-
*
|
19947 |
-
*
|
19948 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19949 |
*
|
19950 |
-
* @
|
19951 |
-
*
|
19952 |
-
* @param {
|
19953 |
-
* @
|
19954 |
-
* @protected
|
19955 |
*/
|
|
|
|
|
|
|
|
|
19956 |
|
19957 |
-
|
19958 |
-
|
19959 |
-
{
|
19960 |
-
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
19961 |
-
}
|
19962 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19963 |
|
19964 |
-
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
19965 |
-
};
|
19966 |
/**
|
19967 |
-
*
|
19968 |
-
* certainty that we are **not** in a DOM transaction.
|
19969 |
*
|
19970 |
-
*
|
19971 |
-
*
|
|
|
|
|
|
|
|
|
19972 |
*
|
19973 |
-
*
|
19974 |
-
* `componentWillUpdate` and `componentDidUpdate`.
|
19975 |
*
|
19976 |
-
*
|
19977 |
-
*
|
19978 |
-
*
|
|
|
|
|
19979 |
*/
|
|
|
|
|
|
|
19980 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19981 |
|
19982 |
-
Component.prototype.forceUpdate = function (callback) {
|
19983 |
-
this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
|
19984 |
-
};
|
19985 |
/**
|
19986 |
-
*
|
19987 |
-
*
|
19988 |
-
*
|
|
|
|
|
|
|
19989 |
*/
|
|
|
|
|
|
|
19990 |
|
|
|
19991 |
|
19992 |
-
{
|
19993 |
-
var deprecatedAPIs = {
|
19994 |
-
isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
|
19995 |
-
replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
|
19996 |
-
};
|
19997 |
|
19998 |
-
|
19999 |
-
|
20000 |
-
|
20001 |
-
lowPriorityWarningWithoutStack$1(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
|
20002 |
-
return undefined;
|
20003 |
-
}
|
20004 |
-
});
|
20005 |
-
};
|
20006 |
|
20007 |
-
|
20008 |
-
|
20009 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20010 |
}
|
20011 |
-
|
|
|
|
|
20012 |
}
|
20013 |
|
20014 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20015 |
|
20016 |
-
ComponentDummy.prototype = Component.prototype;
|
20017 |
/**
|
20018 |
-
*
|
|
|
|
|
|
|
|
|
|
|
20019 |
*/
|
|
|
|
|
20020 |
|
20021 |
-
|
20022 |
-
|
20023 |
-
this.context = context; // If a component has string refs, we will assign a different object later.
|
20024 |
|
20025 |
-
|
20026 |
-
|
|
|
|
|
20027 |
}
|
20028 |
|
20029 |
-
|
20030 |
-
pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.
|
20031 |
|
20032 |
-
_assign(pureComponentPrototype, Component.prototype);
|
20033 |
|
20034 |
-
|
|
|
|
|
20035 |
|
20036 |
-
|
20037 |
-
|
20038 |
-
|
20039 |
-
|
20040 |
-
};
|
20041 |
|
20042 |
-
|
20043 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20044 |
}
|
20045 |
-
|
20046 |
-
return refObject;
|
20047 |
}
|
20048 |
|
20049 |
-
|
20050 |
-
* Keeps track of the current dispatcher.
|
20051 |
-
*/
|
20052 |
-
var ReactCurrentDispatcher = {
|
20053 |
-
/**
|
20054 |
-
* @internal
|
20055 |
-
* @type {ReactComponent}
|
20056 |
-
*/
|
20057 |
-
current: null
|
20058 |
-
};
|
20059 |
|
20060 |
-
|
20061 |
-
|
20062 |
-
|
20063 |
-
|
20064 |
-
|
20065 |
-
|
20066 |
-
|
20067 |
|
20068 |
/**
|
20069 |
-
*
|
20070 |
*
|
20071 |
-
*
|
20072 |
-
*
|
|
|
|
|
20073 |
*/
|
20074 |
-
var
|
20075 |
-
/**
|
20076 |
-
* @internal
|
20077 |
-
* @type {ReactComponent}
|
20078 |
-
*/
|
20079 |
-
current: null
|
20080 |
-
};
|
20081 |
|
20082 |
-
|
20083 |
-
var describeComponentFrame = function (name, source, ownerName) {
|
20084 |
-
var sourceInfo = '';
|
20085 |
|
20086 |
-
if (source) {
|
20087 |
-
var path = source.fileName;
|
20088 |
-
var fileName = path.replace(BEFORE_SLASH_RE, '');
|
20089 |
|
20090 |
-
|
20091 |
-
|
20092 |
-
|
20093 |
-
if (/^index\./.test(fileName)) {
|
20094 |
-
var match = path.match(BEFORE_SLASH_RE);
|
20095 |
|
20096 |
-
|
20097 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20098 |
|
20099 |
-
|
20100 |
-
|
20101 |
-
|
20102 |
-
}
|
20103 |
-
}
|
20104 |
-
}
|
20105 |
}
|
20106 |
-
|
20107 |
-
sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
|
20108 |
-
} else if (ownerName) {
|
20109 |
-
sourceInfo = ' (created by ' + ownerName + ')';
|
20110 |
}
|
|
|
|
|
20111 |
|
20112 |
-
|
20113 |
-
};
|
20114 |
|
20115 |
-
var Resolved = 1;
|
20116 |
|
20117 |
-
|
20118 |
-
|
20119 |
-
|
20120 |
|
20121 |
-
|
20122 |
-
|
20123 |
-
return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
|
20124 |
-
}
|
20125 |
|
20126 |
-
|
20127 |
-
|
20128 |
-
// Host root, text node or just invalid type.
|
20129 |
-
return null;
|
20130 |
-
}
|
20131 |
|
20132 |
-
|
20133 |
-
|
20134 |
-
warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
|
20135 |
-
}
|
20136 |
-
}
|
20137 |
|
20138 |
-
|
20139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20140 |
}
|
|
|
20141 |
|
20142 |
-
|
20143 |
-
return type;
|
20144 |
-
}
|
20145 |
|
20146 |
-
switch (type) {
|
20147 |
-
case REACT_FRAGMENT_TYPE:
|
20148 |
-
return 'Fragment';
|
20149 |
|
20150 |
-
|
20151 |
-
|
|
|
20152 |
|
20153 |
-
|
20154 |
-
return "Profiler";
|
20155 |
|
20156 |
-
|
20157 |
-
|
|
|
|
|
|
|
|
|
|
|
20158 |
|
20159 |
-
|
20160 |
-
return 'Suspense';
|
20161 |
|
20162 |
-
case REACT_SUSPENSE_LIST_TYPE:
|
20163 |
-
return 'SuspenseList';
|
20164 |
-
}
|
20165 |
|
20166 |
-
|
20167 |
-
|
20168 |
-
|
20169 |
-
return 'Context.Consumer';
|
20170 |
|
20171 |
-
|
20172 |
-
return 'Context.Provider';
|
20173 |
|
20174 |
-
|
20175 |
-
|
20176 |
|
20177 |
-
|
20178 |
-
|
20179 |
|
20180 |
-
|
20181 |
-
|
20182 |
-
var thenable = type;
|
20183 |
-
var resolvedThenable = refineResolvedLazyComponent(thenable);
|
20184 |
|
20185 |
-
|
20186 |
-
|
20187 |
-
|
20188 |
|
20189 |
-
|
20190 |
-
|
20191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20192 |
}
|
|
|
|
|
20193 |
|
20194 |
-
|
|
|
20195 |
}
|
20196 |
|
20197 |
-
|
20198 |
-
var currentlyValidatingElement = null;
|
20199 |
-
function setCurrentlyValidatingElement(element) {
|
20200 |
-
{
|
20201 |
-
currentlyValidatingElement = element;
|
20202 |
-
}
|
20203 |
-
}
|
20204 |
|
20205 |
-
|
20206 |
-
// Stack implementation injected by the current renderer.
|
20207 |
-
ReactDebugCurrentFrame.getCurrentStack = null;
|
20208 |
|
20209 |
-
|
20210 |
-
|
|
|
20211 |
|
20212 |
-
|
20213 |
-
|
20214 |
-
|
20215 |
-
|
20216 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
20217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
20218 |
|
20219 |
-
|
20220 |
|
20221 |
-
if (impl) {
|
20222 |
-
stack += impl() || '';
|
20223 |
-
}
|
20224 |
|
20225 |
-
|
20226 |
-
|
20227 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20228 |
|
20229 |
/**
|
20230 |
-
*
|
|
|
|
|
|
|
|
|
20231 |
*/
|
20232 |
-
var
|
20233 |
-
|
|
|
|
|
|
|
|
|
|
|
20234 |
};
|
20235 |
|
20236 |
-
|
20237 |
-
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
20238 |
-
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
20239 |
-
ReactCurrentOwner: ReactCurrentOwner,
|
20240 |
-
IsSomeRendererActing: IsSomeRendererActing,
|
20241 |
-
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
20242 |
-
assign: _assign
|
20243 |
-
};
|
20244 |
|
20245 |
-
|
20246 |
-
|
20247 |
-
|
20248 |
-
|
20249 |
-
|
20250 |
-
|
20251 |
-
ReactComponentTreeHook: {}
|
20252 |
-
});
|
20253 |
-
}
|
20254 |
|
20255 |
/**
|
20256 |
-
*
|
20257 |
-
*
|
20258 |
-
*
|
20259 |
-
*
|
|
|
|
|
20260 |
*/
|
|
|
|
|
|
|
|
|
20261 |
|
20262 |
-
|
20263 |
|
20264 |
-
{
|
20265 |
-
warning = function (condition, format) {
|
20266 |
-
if (condition) {
|
20267 |
-
return;
|
20268 |
-
}
|
20269 |
|
20270 |
-
|
20271 |
-
|
|
|
20272 |
|
20273 |
-
|
20274 |
-
|
20275 |
-
|
20276 |
|
20277 |
-
|
20278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20279 |
}
|
20280 |
|
20281 |
-
|
20282 |
-
|
20283 |
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
20284 |
-
var RESERVED_PROPS = {
|
20285 |
-
key: true,
|
20286 |
-
ref: true,
|
20287 |
-
__self: true,
|
20288 |
-
__source: true
|
20289 |
-
};
|
20290 |
-
var specialPropKeyWarningShown;
|
20291 |
-
var specialPropRefWarningShown;
|
20292 |
-
|
20293 |
-
function hasValidRef(config) {
|
20294 |
-
{
|
20295 |
-
if (hasOwnProperty.call(config, 'ref')) {
|
20296 |
-
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
|
20297 |
|
20298 |
-
if (getter && getter.isReactWarning) {
|
20299 |
-
return false;
|
20300 |
-
}
|
20301 |
-
}
|
20302 |
-
}
|
20303 |
|
20304 |
-
|
20305 |
-
|
|
|
20306 |
|
20307 |
-
|
20308 |
-
|
20309 |
-
if (hasOwnProperty.call(config, 'key')) {
|
20310 |
-
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
|
20311 |
|
20312 |
-
|
20313 |
-
|
20314 |
-
|
20315 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20316 |
}
|
20317 |
-
|
20318 |
-
return config.key !== undefined;
|
20319 |
}
|
20320 |
|
20321 |
-
|
20322 |
-
var warnAboutAccessingKey = function () {
|
20323 |
-
if (!specialPropKeyWarningShown) {
|
20324 |
-
specialPropKeyWarningShown = true;
|
20325 |
-
warningWithoutStack$1(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
20326 |
-
}
|
20327 |
-
};
|
20328 |
|
20329 |
-
warnAboutAccessingKey.isReactWarning = true;
|
20330 |
-
Object.defineProperty(props, 'key', {
|
20331 |
-
get: warnAboutAccessingKey,
|
20332 |
-
configurable: true
|
20333 |
-
});
|
20334 |
-
}
|
20335 |
|
20336 |
-
|
20337 |
-
|
20338 |
-
|
20339 |
-
specialPropRefWarningShown = true;
|
20340 |
-
warningWithoutStack$1(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
20341 |
-
}
|
20342 |
-
};
|
20343 |
|
20344 |
-
warnAboutAccessingRef.isReactWarning = true;
|
20345 |
-
Object.defineProperty(props, 'ref', {
|
20346 |
-
get: warnAboutAccessingRef,
|
20347 |
-
configurable: true
|
20348 |
-
});
|
20349 |
-
}
|
20350 |
/**
|
20351 |
-
*
|
20352 |
-
* the class pattern, so do not use new to call it. Also, instanceof check
|
20353 |
-
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
20354 |
-
* if something is a React Element.
|
20355 |
*
|
20356 |
-
* @
|
20357 |
-
* @param {
|
20358 |
-
* @param {
|
20359 |
-
* @
|
20360 |
-
* @param {*} owner
|
20361 |
-
* @param {*} self A *temporary* helper to detect places where `this` is
|
20362 |
-
* different from the `owner` when React.createElement is called, so that we
|
20363 |
-
* can warn. We want to get rid of owner and replace string `ref`s with arrow
|
20364 |
-
* functions, and as long as `this` and owner are the same, there will be no
|
20365 |
-
* change in behavior.
|
20366 |
-
* @param {*} source An annotation object (added by a transpiler or otherwise)
|
20367 |
-
* indicating filename, line number, and/or other information.
|
20368 |
-
* @internal
|
20369 |
*/
|
|
|
|
|
|
|
|
|
20370 |
|
|
|
|
|
|
|
20371 |
|
20372 |
-
|
20373 |
-
|
20374 |
-
// This tag allows us to uniquely identify this as a React Element
|
20375 |
-
$$typeof: REACT_ELEMENT_TYPE,
|
20376 |
-
// Built-in properties that belong on the element
|
20377 |
-
type: type,
|
20378 |
-
key: key,
|
20379 |
-
ref: ref,
|
20380 |
-
props: props,
|
20381 |
-
// Record the component responsible for creating this element.
|
20382 |
-
_owner: owner
|
20383 |
-
};
|
20384 |
-
|
20385 |
-
{
|
20386 |
-
// The validation flag is currently mutative. We put it on
|
20387 |
-
// an external backing store so that we can freeze the whole object.
|
20388 |
-
// This can be replaced with a WeakMap once they are implemented in
|
20389 |
-
// commonly used development environments.
|
20390 |
-
element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
|
20391 |
-
// the validation flag non-enumerable (where possible, which should
|
20392 |
-
// include every environment we run tests in), so the test framework
|
20393 |
-
// ignores it.
|
20394 |
-
|
20395 |
-
Object.defineProperty(element._store, 'validated', {
|
20396 |
-
configurable: false,
|
20397 |
-
enumerable: false,
|
20398 |
-
writable: true,
|
20399 |
-
value: false
|
20400 |
-
}); // self and source are DEV only properties.
|
20401 |
|
20402 |
-
|
20403 |
-
configurable: false,
|
20404 |
-
enumerable: false,
|
20405 |
-
writable: false,
|
20406 |
-
value: self
|
20407 |
-
}); // Two elements created in two different places should be considered
|
20408 |
-
// equal for testing purposes and therefore we hide it from enumeration.
|
20409 |
|
20410 |
-
Object.defineProperty(element, '_source', {
|
20411 |
-
configurable: false,
|
20412 |
-
enumerable: false,
|
20413 |
-
writable: false,
|
20414 |
-
value: source
|
20415 |
-
});
|
20416 |
|
20417 |
-
|
20418 |
-
|
20419 |
-
|
20420 |
-
}
|
20421 |
-
}
|
20422 |
|
20423 |
-
|
20424 |
-
|
20425 |
-
|
20426 |
-
* https://github.com/reactjs/rfcs/pull/107
|
20427 |
-
* @param {*} type
|
20428 |
-
* @param {object} props
|
20429 |
-
* @param {string} key
|
20430 |
-
*/
|
20431 |
|
|
|
|
|
20432 |
|
|
|
|
|
|
|
20433 |
|
20434 |
/**
|
20435 |
-
*
|
20436 |
-
*
|
20437 |
-
*
|
20438 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20439 |
*/
|
20440 |
-
|
20441 |
-
|
20442 |
-
|
20443 |
-
|
20444 |
-
|
20445 |
-
|
20446 |
-
|
20447 |
-
|
20448 |
-
|
20449 |
-
|
20450 |
-
|
20451 |
-
|
20452 |
-
|
20453 |
-
|
20454 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20455 |
}
|
20456 |
|
20457 |
-
|
20458 |
-
|
|
|
|
|
|
|
|
|
|
|
20459 |
}
|
20460 |
|
20461 |
-
|
20462 |
-
|
20463 |
-
|
|
|
20464 |
|
|
|
|
|
|
|
|
|
20465 |
|
20466 |
-
|
20467 |
-
|
20468 |
-
|
20469 |
-
}
|
20470 |
-
} // Resolve default props
|
20471 |
-
|
20472 |
|
20473 |
-
|
20474 |
-
|
|
|
|
|
|
|
|
|
20475 |
|
20476 |
-
|
20477 |
-
|
20478 |
-
|
20479 |
-
|
20480 |
}
|
|
|
|
|
20481 |
}
|
20482 |
|
20483 |
-
|
20484 |
-
|
20485 |
|
20486 |
-
if
|
20487 |
-
|
|
|
|
|
20488 |
}
|
|
|
|
|
|
|
20489 |
|
20490 |
-
|
20491 |
-
|
|
|
20492 |
}
|
|
|
|
|
20493 |
}
|
20494 |
|
20495 |
-
|
20496 |
-
|
20497 |
-
|
20498 |
-
* Create and return a new ReactElement of the given type.
|
20499 |
-
* See https://reactjs.org/docs/react-api.html#createelement
|
20500 |
-
*/
|
20501 |
|
20502 |
-
function
|
20503 |
-
|
|
|
20504 |
|
20505 |
-
|
20506 |
-
|
20507 |
-
|
20508 |
-
var self = null;
|
20509 |
-
var source = null;
|
20510 |
|
20511 |
-
|
20512 |
-
|
20513 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20514 |
}
|
20515 |
-
|
20516 |
-
|
20517 |
-
key = '' + config.key;
|
20518 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
20519 |
|
20520 |
-
|
20521 |
-
source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object
|
20522 |
-
|
20523 |
-
for (propName in config) {
|
20524 |
-
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
20525 |
-
props[propName] = config[propName];
|
20526 |
-
}
|
20527 |
-
}
|
20528 |
-
} // Children can be more than one argument, and those are transferred onto
|
20529 |
-
// the newly allocated props object.
|
20530 |
|
20531 |
|
20532 |
-
|
|
|
|
|
20533 |
|
20534 |
-
|
20535 |
-
props.children = children;
|
20536 |
-
} else if (childrenLength > 1) {
|
20537 |
-
var childArray = Array(childrenLength);
|
20538 |
|
20539 |
-
for (var i = 0; i < childrenLength; i++) {
|
20540 |
-
childArray[i] = arguments[i + 2];
|
20541 |
-
}
|
20542 |
|
20543 |
-
|
20544 |
-
|
20545 |
-
|
20546 |
-
|
20547 |
-
}
|
20548 |
|
20549 |
-
|
20550 |
-
} // Resolve default props
|
20551 |
|
|
|
20552 |
|
20553 |
-
|
20554 |
-
var defaultProps = type.defaultProps;
|
20555 |
|
20556 |
-
|
20557 |
-
if (props[propName] === undefined) {
|
20558 |
-
props[propName] = defaultProps[propName];
|
20559 |
-
}
|
20560 |
-
}
|
20561 |
-
}
|
20562 |
|
20563 |
-
|
20564 |
-
if (key || ref) {
|
20565 |
-
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
20566 |
|
20567 |
-
|
20568 |
-
defineKeyPropWarningGetter(props, displayName);
|
20569 |
-
}
|
20570 |
|
20571 |
-
|
20572 |
-
defineRefPropWarningGetter(props, displayName);
|
20573 |
-
}
|
20574 |
-
}
|
20575 |
-
}
|
20576 |
|
20577 |
-
|
20578 |
-
}
|
20579 |
-
/**
|
20580 |
-
* Return a function that produces ReactElements of a given type.
|
20581 |
-
* See https://reactjs.org/docs/react-api.html#createfactory
|
20582 |
-
*/
|
20583 |
|
|
|
20584 |
|
20585 |
-
function
|
20586 |
-
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
20587 |
-
return newElement;
|
20588 |
-
}
|
20589 |
-
/**
|
20590 |
-
* Clone and return a new ReactElement using element as the starting point.
|
20591 |
-
* See https://reactjs.org/docs/react-api.html#cloneelement
|
20592 |
-
*/
|
20593 |
|
20594 |
-
function
|
20595 |
-
if (!!(element === null || element === undefined)) {
|
20596 |
-
{
|
20597 |
-
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
20598 |
-
}
|
20599 |
-
}
|
20600 |
|
20601 |
-
|
20602 |
|
20603 |
-
|
|
|
|
|
20604 |
|
|
|
|
|
20605 |
|
20606 |
-
|
20607 |
-
var ref = element.ref; // Self is preserved since the owner is preserved.
|
20608 |
|
20609 |
-
|
20610 |
-
|
20611 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
20612 |
|
20613 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
20614 |
|
20615 |
-
|
20616 |
|
20617 |
-
|
20618 |
-
|
20619 |
-
|
20620 |
-
|
20621 |
-
owner = ReactCurrentOwner.current;
|
20622 |
}
|
20623 |
|
20624 |
-
|
20625 |
-
key
|
20626 |
-
|
|
|
|
|
|
|
|
|
20627 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20628 |
|
20629 |
-
|
|
|
20630 |
|
20631 |
-
|
20632 |
-
defaultProps = element.type.defaultProps;
|
20633 |
-
}
|
20634 |
|
20635 |
-
|
20636 |
-
|
20637 |
-
|
20638 |
-
|
20639 |
-
|
20640 |
-
|
20641 |
-
props[propName] = config[propName];
|
20642 |
-
}
|
20643 |
-
}
|
20644 |
}
|
20645 |
-
}
|
20646 |
-
// the newly allocated props object.
|
20647 |
|
|
|
|
|
20648 |
|
20649 |
-
|
20650 |
|
20651 |
-
|
20652 |
-
|
20653 |
-
|
20654 |
-
var childArray = Array(childrenLength);
|
20655 |
|
20656 |
-
|
20657 |
-
|
20658 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20659 |
|
20660 |
-
props.children = childArray;
|
20661 |
-
}
|
20662 |
|
20663 |
-
|
20664 |
-
|
20665 |
-
|
20666 |
-
* Verifies the object is a ReactElement.
|
20667 |
-
* See https://reactjs.org/docs/react-api.html#isvalidelement
|
20668 |
-
* @param {?object} object
|
20669 |
-
* @return {boolean} True if `object` is a ReactElement.
|
20670 |
-
* @final
|
20671 |
-
*/
|
20672 |
|
20673 |
-
|
20674 |
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
20675 |
-
}
|
20676 |
|
20677 |
-
var SEPARATOR = '.';
|
20678 |
-
var SUBSEPARATOR = ':';
|
20679 |
-
/**
|
20680 |
-
* Escape and wrap key so it is safe to use as a reactid
|
20681 |
-
*
|
20682 |
-
* @param {string} key to be escaped.
|
20683 |
-
* @return {string} the escaped key.
|
20684 |
-
*/
|
20685 |
|
20686 |
-
|
20687 |
-
var escapeRegex = /[=:]/g;
|
20688 |
-
var escaperLookup = {
|
20689 |
-
'=': '=0',
|
20690 |
-
':': '=2'
|
20691 |
-
};
|
20692 |
-
var escapedString = ('' + key).replace(escapeRegex, function (match) {
|
20693 |
-
return escaperLookup[match];
|
20694 |
-
});
|
20695 |
-
return '$' + escapedString;
|
20696 |
-
}
|
20697 |
-
/**
|
20698 |
-
* TODO: Test that a single child and an array with one item have the same key
|
20699 |
-
* pattern.
|
20700 |
-
*/
|
20701 |
|
|
|
20702 |
|
20703 |
-
var
|
20704 |
-
var userProvidedKeyEscapeRegex = /\/+/g;
|
20705 |
|
20706 |
-
|
20707 |
-
return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
|
20708 |
-
}
|
20709 |
|
20710 |
-
var
|
20711 |
-
var traverseContextPool = [];
|
20712 |
|
20713 |
-
|
20714 |
-
if (traverseContextPool.length) {
|
20715 |
-
var traverseContext = traverseContextPool.pop();
|
20716 |
-
traverseContext.result = mapResult;
|
20717 |
-
traverseContext.keyPrefix = keyPrefix;
|
20718 |
-
traverseContext.func = mapFunction;
|
20719 |
-
traverseContext.context = mapContext;
|
20720 |
-
traverseContext.count = 0;
|
20721 |
-
return traverseContext;
|
20722 |
-
} else {
|
20723 |
-
return {
|
20724 |
-
result: mapResult,
|
20725 |
-
keyPrefix: keyPrefix,
|
20726 |
-
func: mapFunction,
|
20727 |
-
context: mapContext,
|
20728 |
-
count: 0
|
20729 |
-
};
|
20730 |
-
}
|
20731 |
-
}
|
20732 |
|
20733 |
-
|
20734 |
-
traverseContext.result = null;
|
20735 |
-
traverseContext.keyPrefix = null;
|
20736 |
-
traverseContext.func = null;
|
20737 |
-
traverseContext.context = null;
|
20738 |
-
traverseContext.count = 0;
|
20739 |
|
20740 |
-
|
20741 |
-
traverseContextPool.push(traverseContext);
|
20742 |
-
}
|
20743 |
-
}
|
20744 |
-
/**
|
20745 |
-
* @param {?*} children Children tree container.
|
20746 |
-
* @param {!string} nameSoFar Name of the key path so far.
|
20747 |
-
* @param {!function} callback Callback to invoke with each child found.
|
20748 |
-
* @param {?*} traverseContext Used to pass information throughout the traversal
|
20749 |
-
* process.
|
20750 |
-
* @return {!number} The number of children in this subtree.
|
20751 |
-
*/
|
20752 |
|
|
|
20753 |
|
20754 |
-
function
|
20755 |
-
var type = typeof children;
|
20756 |
|
20757 |
-
|
20758 |
-
// All of the above are perceived as null.
|
20759 |
-
children = null;
|
20760 |
-
}
|
20761 |
|
20762 |
-
|
20763 |
|
20764 |
-
|
20765 |
-
invokeCallback = true;
|
20766 |
-
} else {
|
20767 |
-
switch (type) {
|
20768 |
-
case 'string':
|
20769 |
-
case 'number':
|
20770 |
-
invokeCallback = true;
|
20771 |
-
break;
|
20772 |
|
20773 |
-
|
20774 |
-
switch (children.$$typeof) {
|
20775 |
-
case REACT_ELEMENT_TYPE:
|
20776 |
-
case REACT_PORTAL_TYPE:
|
20777 |
-
invokeCallback = true;
|
20778 |
-
}
|
20779 |
|
20780 |
-
|
20781 |
-
}
|
20782 |
|
20783 |
-
|
20784 |
-
callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array
|
20785 |
-
// so that it's consistent if the number of children grows.
|
20786 |
-
nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);
|
20787 |
-
return 1;
|
20788 |
-
}
|
20789 |
|
20790 |
-
|
20791 |
-
var nextName;
|
20792 |
-
var subtreeCount = 0; // Count of children found in the current subtree.
|
20793 |
|
20794 |
-
|
20795 |
|
20796 |
-
|
20797 |
-
for (var i = 0; i < children.length; i++) {
|
20798 |
-
child = children[i];
|
20799 |
-
nextName = nextNamePrefix + getComponentKey(child, i);
|
20800 |
-
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
20801 |
-
}
|
20802 |
-
} else {
|
20803 |
-
var iteratorFn = getIteratorFn(children);
|
20804 |
|
20805 |
-
|
20806 |
-
{
|
20807 |
-
// Warn about using Maps as children
|
20808 |
-
if (iteratorFn === children.entries) {
|
20809 |
-
!didWarnAboutMaps ? warning$1(false, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.') : void 0;
|
20810 |
-
didWarnAboutMaps = true;
|
20811 |
-
}
|
20812 |
-
}
|
20813 |
|
20814 |
-
|
20815 |
-
var step;
|
20816 |
-
var ii = 0;
|
20817 |
|
20818 |
-
|
20819 |
-
|
20820 |
-
nextName = nextNamePrefix + getComponentKey(child, ii++);
|
20821 |
-
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
20822 |
-
}
|
20823 |
-
} else if (type === 'object') {
|
20824 |
-
var addendum = '';
|
20825 |
|
20826 |
-
|
20827 |
-
addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum();
|
20828 |
-
}
|
20829 |
|
20830 |
-
|
|
|
20831 |
|
20832 |
-
|
20833 |
-
{
|
20834 |
-
throw Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum);
|
20835 |
-
}
|
20836 |
-
}
|
20837 |
-
}
|
20838 |
}
|
20839 |
|
20840 |
-
|
20841 |
-
|
20842 |
-
|
20843 |
-
|
20844 |
-
|
20845 |
-
|
20846 |
-
|
20847 |
-
|
20848 |
-
*
|
20849 |
-
* The `traverseContext` is an optional argument that is passed through the
|
20850 |
-
* entire traversal. It can be used to store accumulations or anything else that
|
20851 |
-
* the callback might find relevant.
|
20852 |
-
*
|
20853 |
-
* @param {?*} children Children tree object.
|
20854 |
-
* @param {!function} callback To invoke upon traversing each child.
|
20855 |
-
* @param {?*} traverseContext Context for traversal.
|
20856 |
-
* @return {!number} The number of children in this subtree.
|
20857 |
-
*/
|
20858 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20859 |
|
20860 |
-
|
20861 |
-
|
20862 |
-
return 0;
|
20863 |
-
}
|
20864 |
|
20865 |
-
|
20866 |
-
|
20867 |
-
|
20868 |
-
|
|
|
|
|
|
|
|
|
|
|
20869 |
*
|
20870 |
-
*
|
20871 |
-
*
|
20872 |
-
*
|
|
|
20873 |
*/
|
20874 |
|
20875 |
-
|
20876 |
-
function
|
20877 |
-
|
20878 |
-
|
20879 |
-
|
20880 |
-
|
20881 |
-
|
20882 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20883 |
|
20884 |
|
20885 |
-
|
20886 |
-
|
|
|
20887 |
|
20888 |
-
|
20889 |
-
|
20890 |
-
|
20891 |
-
func.call(context, child, bookKeeping.count++);
|
20892 |
-
}
|
20893 |
-
/**
|
20894 |
-
* Iterates through children that are typically specified as `props.children`.
|
20895 |
-
*
|
20896 |
-
* See https://reactjs.org/docs/react-api.html#reactchildrenforeach
|
20897 |
*
|
20898 |
-
*
|
20899 |
-
* leaf child.
|
20900 |
*
|
20901 |
-
*
|
20902 |
-
*
|
20903 |
-
* @param {*} forEachContext Context for forEachContext.
|
20904 |
*/
|
20905 |
|
20906 |
|
20907 |
-
function forEachChildren(children, forEachFunc, forEachContext) {
|
20908 |
-
if (children == null) {
|
20909 |
-
return children;
|
20910 |
-
}
|
20911 |
|
20912 |
-
var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext);
|
20913 |
-
traverseAllChildren(children, forEachSingleChild, traverseContext);
|
20914 |
-
releaseTraverseContext(traverseContext);
|
20915 |
-
}
|
20916 |
|
20917 |
-
function mapSingleChildIntoContext(bookKeeping, child, childKey) {
|
20918 |
-
var result = bookKeeping.result,
|
20919 |
-
keyPrefix = bookKeeping.keyPrefix,
|
20920 |
-
func = bookKeeping.func,
|
20921 |
-
context = bookKeeping.context;
|
20922 |
-
var mappedChild = func.call(context, child, bookKeeping.count++);
|
20923 |
|
20924 |
-
|
20925 |
-
|
20926 |
-
|
20927 |
-
});
|
20928 |
-
} else if (mappedChild != null) {
|
20929 |
-
if (isValidElement(mappedChild)) {
|
20930 |
-
mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
|
20931 |
-
// traverseAllChildren used to do for objects as children
|
20932 |
-
keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);
|
20933 |
-
}
|
20934 |
|
20935 |
-
|
20936 |
-
|
20937 |
-
}
|
20938 |
|
20939 |
-
|
20940 |
-
var escapedPrefix = '';
|
20941 |
|
20942 |
-
|
20943 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20944 |
}
|
20945 |
|
20946 |
-
var
|
20947 |
-
traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);
|
20948 |
-
releaseTraverseContext(traverseContext);
|
20949 |
-
}
|
20950 |
-
/**
|
20951 |
-
* Maps children that are typically specified as `props.children`.
|
20952 |
-
*
|
20953 |
-
* See https://reactjs.org/docs/react-api.html#reactchildrenmap
|
20954 |
-
*
|
20955 |
-
* The provided mapFunction(child, key, index) will be called for each
|
20956 |
-
* leaf child.
|
20957 |
-
*
|
20958 |
-
* @param {?*} children Children tree container.
|
20959 |
-
* @param {function(*, int)} func The map function.
|
20960 |
-
* @param {*} context Context for mapFunction.
|
20961 |
-
* @return {object} Object containing the ordered map of results.
|
20962 |
-
*/
|
20963 |
-
|
20964 |
|
20965 |
-
|
20966 |
-
|
20967 |
-
return children;
|
20968 |
}
|
20969 |
|
20970 |
-
|
20971 |
-
mapIntoWithKeyPrefixInternal(children, result, null, func, context);
|
20972 |
-
return result;
|
20973 |
}
|
|
|
20974 |
/**
|
20975 |
-
*
|
20976 |
-
* `props.children`.
|
20977 |
-
*
|
20978 |
-
* See https://reactjs.org/docs/react-api.html#reactchildrencount
|
20979 |
-
*
|
20980 |
-
* @param {?*} children Children tree container.
|
20981 |
-
* @return {number} The number of children.
|
20982 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20983 |
|
20984 |
-
|
20985 |
-
function countChildren(children) {
|
20986 |
-
return traverseAllChildren(children, function () {
|
20987 |
-
return null;
|
20988 |
-
}, null);
|
20989 |
-
}
|
20990 |
/**
|
20991 |
-
*
|
20992 |
-
*
|
20993 |
-
*
|
20994 |
-
* See https://reactjs.org/docs/react-api.html#reactchildrentoarray
|
20995 |
*/
|
|
|
|
|
|
|
20996 |
|
20997 |
-
|
20998 |
-
function toArray(children) {
|
20999 |
-
var result = [];
|
21000 |
-
mapIntoWithKeyPrefixInternal(children, result, null, function (child) {
|
21001 |
-
return child;
|
21002 |
-
});
|
21003 |
-
return result;
|
21004 |
-
}
|
21005 |
/**
|
21006 |
-
*
|
21007 |
-
* is only one child in the collection.
|
21008 |
-
*
|
21009 |
-
* See https://reactjs.org/docs/react-api.html#reactchildrenonly
|
21010 |
-
*
|
21011 |
-
* The current implementation of this function assumes that a single child gets
|
21012 |
-
* passed without a wrapper, but the purpose of this helper function is to
|
21013 |
-
* abstract away the particular structure of children.
|
21014 |
*
|
21015 |
-
*
|
21016 |
-
*
|
21017 |
-
* structure.
|
21018 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21019 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21020 |
|
21021 |
-
function onlyChild(children) {
|
21022 |
-
if (!isValidElement(children)) {
|
21023 |
{
|
21024 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21025 |
}
|
|
|
|
|
|
|
|
|
21026 |
}
|
21027 |
|
21028 |
-
return
|
21029 |
}
|
21030 |
|
21031 |
-
|
21032 |
-
|
21033 |
-
|
21034 |
-
|
21035 |
-
|
21036 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21037 |
}
|
21038 |
}
|
21039 |
|
21040 |
-
|
21041 |
-
|
21042 |
-
|
21043 |
-
// As a workaround to support multiple concurrent renderers, we categorize
|
21044 |
-
// some renderers as primary and others as secondary. We only expect
|
21045 |
-
// there to be two concurrent renderers at most: React Native (primary) and
|
21046 |
-
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
21047 |
-
// Secondary renderers store their context values on separate fields.
|
21048 |
-
_currentValue: defaultValue,
|
21049 |
-
_currentValue2: defaultValue,
|
21050 |
-
// Used to track how many concurrent renderers this context currently
|
21051 |
-
// supports within in a single renderer. Such as parallel server rendering.
|
21052 |
-
_threadCount: 0,
|
21053 |
-
// These are circular
|
21054 |
-
Provider: null,
|
21055 |
-
Consumer: null
|
21056 |
-
};
|
21057 |
-
context.Provider = {
|
21058 |
-
$$typeof: REACT_PROVIDER_TYPE,
|
21059 |
-
_context: context
|
21060 |
-
};
|
21061 |
-
var hasWarnedAboutUsingNestedContextConsumers = false;
|
21062 |
-
var hasWarnedAboutUsingConsumerProvider = false;
|
21063 |
|
21064 |
-
{
|
21065 |
-
|
21066 |
-
|
21067 |
-
// warn for the incorrect usage of Context as a Consumer.
|
21068 |
-
var Consumer = {
|
21069 |
-
$$typeof: REACT_CONTEXT_TYPE,
|
21070 |
-
_context: context,
|
21071 |
-
_calculateChangedBits: context._calculateChangedBits
|
21072 |
-
}; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
21073 |
|
21074 |
-
|
21075 |
-
|
21076 |
-
|
21077 |
-
if (!hasWarnedAboutUsingConsumerProvider) {
|
21078 |
-
hasWarnedAboutUsingConsumerProvider = true;
|
21079 |
-
warning$1(false, 'Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
|
21080 |
-
}
|
21081 |
|
21082 |
-
|
21083 |
-
|
21084 |
-
set: function (_Provider) {
|
21085 |
-
context.Provider = _Provider;
|
21086 |
-
}
|
21087 |
-
},
|
21088 |
-
_currentValue: {
|
21089 |
-
get: function () {
|
21090 |
-
return context._currentValue;
|
21091 |
-
},
|
21092 |
-
set: function (_currentValue) {
|
21093 |
-
context._currentValue = _currentValue;
|
21094 |
-
}
|
21095 |
-
},
|
21096 |
-
_currentValue2: {
|
21097 |
-
get: function () {
|
21098 |
-
return context._currentValue2;
|
21099 |
-
},
|
21100 |
-
set: function (_currentValue2) {
|
21101 |
-
context._currentValue2 = _currentValue2;
|
21102 |
-
}
|
21103 |
-
},
|
21104 |
-
_threadCount: {
|
21105 |
-
get: function () {
|
21106 |
-
return context._threadCount;
|
21107 |
-
},
|
21108 |
-
set: function (_threadCount) {
|
21109 |
-
context._threadCount = _threadCount;
|
21110 |
-
}
|
21111 |
-
},
|
21112 |
-
Consumer: {
|
21113 |
-
get: function () {
|
21114 |
-
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
21115 |
-
hasWarnedAboutUsingNestedContextConsumers = true;
|
21116 |
-
warning$1(false, 'Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
|
21117 |
-
}
|
21118 |
|
21119 |
-
|
21120 |
-
|
21121 |
-
}
|
21122 |
-
}); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
|
21123 |
|
21124 |
-
|
21125 |
-
|
21126 |
|
21127 |
-
|
21128 |
-
|
21129 |
-
|
|
|
|
|
21130 |
}
|
21131 |
|
21132 |
-
|
21133 |
-
|
|
|
|
|
21134 |
|
21135 |
-
|
21136 |
-
|
21137 |
-
$$typeof: REACT_LAZY_TYPE,
|
21138 |
-
_ctor: ctor,
|
21139 |
-
// React uses these fields to store the result.
|
21140 |
-
_status: -1,
|
21141 |
-
_result: null
|
21142 |
-
};
|
21143 |
|
21144 |
-
|
21145 |
-
|
21146 |
-
var defaultProps;
|
21147 |
-
var propTypes;
|
21148 |
-
Object.defineProperties(lazyType, {
|
21149 |
-
defaultProps: {
|
21150 |
-
configurable: true,
|
21151 |
-
get: function () {
|
21152 |
-
return defaultProps;
|
21153 |
-
},
|
21154 |
-
set: function (newDefaultProps) {
|
21155 |
-
warning$1(false, 'React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
21156 |
-
defaultProps = newDefaultProps; // Match production behavior more closely:
|
21157 |
|
21158 |
-
|
21159 |
-
|
21160 |
-
});
|
21161 |
-
}
|
21162 |
-
},
|
21163 |
-
propTypes: {
|
21164 |
-
configurable: true,
|
21165 |
-
get: function () {
|
21166 |
-
return propTypes;
|
21167 |
-
},
|
21168 |
-
set: function (newPropTypes) {
|
21169 |
-
warning$1(false, 'React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
21170 |
-
propTypes = newPropTypes; // Match production behavior more closely:
|
21171 |
|
21172 |
-
|
21173 |
-
|
21174 |
-
});
|
21175 |
-
}
|
21176 |
-
}
|
21177 |
-
});
|
21178 |
-
}
|
21179 |
|
21180 |
-
|
21181 |
-
|
|
|
|
|
21182 |
|
21183 |
-
|
21184 |
-
|
21185 |
-
|
21186 |
-
warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
21187 |
-
} else if (typeof render !== 'function') {
|
21188 |
-
warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
21189 |
-
} else {
|
21190 |
-
!( // Do not warn for 0 arguments because it could be due to usage of the 'arguments' object
|
21191 |
-
render.length === 0 || render.length === 2) ? warningWithoutStack$1(false, 'forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.') : void 0;
|
21192 |
-
}
|
21193 |
|
21194 |
-
|
21195 |
-
|
21196 |
}
|
21197 |
}
|
21198 |
|
21199 |
-
return
|
21200 |
-
$$typeof: REACT_FORWARD_REF_TYPE,
|
21201 |
-
render: render
|
21202 |
-
};
|
21203 |
-
}
|
21204 |
-
|
21205 |
-
function isValidElementType(type) {
|
21206 |
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
21207 |
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);
|
21208 |
}
|
21209 |
|
21210 |
-
|
|
|
|
|
21211 |
{
|
21212 |
-
|
21213 |
-
warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
|
21214 |
-
}
|
21215 |
}
|
21216 |
-
|
21217 |
-
return {
|
21218 |
-
$$typeof: REACT_MEMO_TYPE,
|
21219 |
-
type: type,
|
21220 |
-
compare: compare === undefined ? null : compare
|
21221 |
-
};
|
21222 |
}
|
21223 |
|
21224 |
-
|
21225 |
-
|
21226 |
-
|
21227 |
-
if (!(dispatcher !== null)) {
|
21228 |
-
{
|
21229 |
-
throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");
|
21230 |
-
}
|
21231 |
-
}
|
21232 |
|
21233 |
-
|
21234 |
-
|
21235 |
|
21236 |
-
|
21237 |
-
|
|
|
|
|
|
|
21238 |
|
21239 |
-
{
|
21240 |
-
!(unstable_observedBits === undefined) ? warning$1(false, 'useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '') : void 0; // TODO: add a more generic warning for invalid values.
|
21241 |
|
21242 |
-
|
21243 |
-
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
|
21244 |
-
// and nobody should be using this in existing code.
|
21245 |
|
21246 |
-
|
21247 |
-
|
21248 |
-
} else if (realContext.Provider === Context) {
|
21249 |
-
warning$1(false, 'Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
|
21250 |
-
}
|
21251 |
}
|
21252 |
-
}
|
21253 |
|
21254 |
-
|
21255 |
-
}
|
21256 |
-
function useState(initialState) {
|
21257 |
-
var dispatcher = resolveDispatcher();
|
21258 |
-
return dispatcher.useState(initialState);
|
21259 |
}
|
21260 |
-
function useReducer(reducer, initialArg, init) {
|
21261 |
-
var dispatcher = resolveDispatcher();
|
21262 |
-
return dispatcher.useReducer(reducer, initialArg, init);
|
21263 |
-
}
|
21264 |
-
function useRef(initialValue) {
|
21265 |
-
var dispatcher = resolveDispatcher();
|
21266 |
-
return dispatcher.useRef(initialValue);
|
21267 |
-
}
|
21268 |
-
function useEffect(create, inputs) {
|
21269 |
-
var dispatcher = resolveDispatcher();
|
21270 |
-
return dispatcher.useEffect(create, inputs);
|
21271 |
-
}
|
21272 |
-
function useLayoutEffect(create, inputs) {
|
21273 |
-
var dispatcher = resolveDispatcher();
|
21274 |
-
return dispatcher.useLayoutEffect(create, inputs);
|
21275 |
-
}
|
21276 |
-
function useCallback(callback, inputs) {
|
21277 |
-
var dispatcher = resolveDispatcher();
|
21278 |
-
return dispatcher.useCallback(callback, inputs);
|
21279 |
-
}
|
21280 |
-
function useMemo(create, inputs) {
|
21281 |
-
var dispatcher = resolveDispatcher();
|
21282 |
-
return dispatcher.useMemo(create, inputs);
|
21283 |
-
}
|
21284 |
-
function useImperativeHandle(ref, create, inputs) {
|
21285 |
-
var dispatcher = resolveDispatcher();
|
21286 |
-
return dispatcher.useImperativeHandle(ref, create, inputs);
|
21287 |
-
}
|
21288 |
-
function useDebugValue(value, formatterFn) {
|
21289 |
-
{
|
21290 |
-
var dispatcher = resolveDispatcher();
|
21291 |
-
return dispatcher.useDebugValue(value, formatterFn);
|
21292 |
-
}
|
21293 |
-
}
|
21294 |
-
var emptyObject$1 = {};
|
21295 |
-
function useResponder(responder, listenerProps) {
|
21296 |
-
var dispatcher = resolveDispatcher();
|
21297 |
|
21298 |
-
|
21299 |
-
|
21300 |
-
|
21301 |
-
|
21302 |
-
|
21303 |
-
|
21304 |
|
21305 |
-
|
21306 |
-
|
21307 |
-
|
21308 |
-
|
21309 |
-
|
21310 |
-
|
21311 |
-
|
21312 |
-
|
21313 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21314 |
}
|
21315 |
|
21316 |
-
|
21317 |
-
|
21318 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21319 |
|
21320 |
-
|
21321 |
-
scope();
|
21322 |
-
} finally {
|
21323 |
-
ReactCurrentBatchConfig.suspense = previousConfig;
|
21324 |
}
|
21325 |
}
|
|
|
|
|
|
|
|
|
|
|
21326 |
|
21327 |
-
|
21328 |
-
|
21329 |
-
* which validates the props passed to the element. This is intended to be
|
21330 |
-
* used only in DEV and could be replaced by a static type checker for languages
|
21331 |
-
* that support it.
|
21332 |
-
*/
|
21333 |
-
var propTypesMisspellWarningShown;
|
21334 |
-
|
21335 |
-
{
|
21336 |
-
propTypesMisspellWarningShown = false;
|
21337 |
}
|
21338 |
|
21339 |
-
|
|
|
|
|
|
|
|
|
21340 |
|
21341 |
-
|
21342 |
-
|
21343 |
-
|
21344 |
|
21345 |
-
|
21346 |
-
|
|
|
|
|
21347 |
}
|
21348 |
-
}
|
21349 |
|
21350 |
-
|
21351 |
-
|
|
|
21352 |
|
21353 |
-
|
21354 |
-
|
21355 |
-
|
21356 |
-
var lineNumber = source.lineNumber;
|
21357 |
-
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
21358 |
-
}
|
21359 |
|
21360 |
-
|
21361 |
-
}
|
21362 |
|
21363 |
-
|
21364 |
-
|
21365 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21366 |
}
|
21367 |
-
|
21368 |
-
return '';
|
21369 |
}
|
21370 |
-
/**
|
21371 |
-
* Warn if there's no key explicitly set on dynamic arrays of children or
|
21372 |
-
* object keys are not valid. This allows us to keep track of children between
|
21373 |
-
* updates.
|
21374 |
-
*/
|
21375 |
|
|
|
21376 |
|
21377 |
-
|
|
|
|
|
|
|
|
|
21378 |
|
21379 |
-
|
21380 |
-
|
|
|
21381 |
|
21382 |
-
|
21383 |
-
var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
|
21384 |
|
21385 |
-
|
21386 |
-
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
21387 |
-
}
|
21388 |
}
|
21389 |
-
|
21390 |
-
return info;
|
21391 |
}
|
21392 |
/**
|
21393 |
-
*
|
21394 |
-
* This element is in an array. The array could grow and shrink or be
|
21395 |
-
* reordered. All children that haven't already been validated are required to
|
21396 |
-
* have a "key" property assigned to it. Error statuses are cached so a warning
|
21397 |
-
* will only be shown once.
|
21398 |
-
*
|
21399 |
-
* @internal
|
21400 |
-
* @param {ReactElement} element Element that requires a key.
|
21401 |
-
* @param {*} parentType element's parent's type.
|
21402 |
*/
|
21403 |
|
21404 |
|
21405 |
-
|
21406 |
-
|
21407 |
-
|
21408 |
-
|
21409 |
-
|
21410 |
-
|
21411 |
-
|
21412 |
-
|
21413 |
-
|
21414 |
-
return;
|
21415 |
-
}
|
21416 |
|
21417 |
-
|
21418 |
-
|
21419 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21420 |
|
21421 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21422 |
|
21423 |
-
|
21424 |
-
|
21425 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21426 |
}
|
|
|
21427 |
|
21428 |
-
|
21429 |
-
|
21430 |
-
{
|
21431 |
-
warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
21432 |
-
}
|
21433 |
|
21434 |
-
|
|
|
21435 |
}
|
21436 |
/**
|
21437 |
-
*
|
21438 |
-
* array with an explicit keys property defined, or in an object literal
|
21439 |
-
* with valid key property.
|
21440 |
-
*
|
21441 |
-
* @internal
|
21442 |
-
* @param {ReactNode} node Statically passed child of any type.
|
21443 |
-
* @param {*} parentType node's parent's type.
|
21444 |
*/
|
21445 |
|
21446 |
|
21447 |
-
function
|
21448 |
-
|
21449 |
-
|
21450 |
-
}
|
21451 |
|
21452 |
-
|
21453 |
-
|
21454 |
-
var child = node[i];
|
21455 |
|
21456 |
-
|
21457 |
-
|
21458 |
-
}
|
21459 |
-
}
|
21460 |
-
} else if (isValidElement(node)) {
|
21461 |
-
// This element was passed in a valid location.
|
21462 |
-
if (node._store) {
|
21463 |
-
node._store.validated = true;
|
21464 |
-
}
|
21465 |
-
} else if (node) {
|
21466 |
-
var iteratorFn = getIteratorFn(node);
|
21467 |
|
21468 |
-
|
21469 |
-
|
21470 |
-
|
21471 |
-
|
21472 |
-
|
21473 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21474 |
|
21475 |
-
|
21476 |
-
|
21477 |
-
|
21478 |
-
|
21479 |
-
}
|
21480 |
-
}
|
21481 |
}
|
21482 |
}
|
21483 |
-
|
|
|
|
|
21484 |
/**
|
21485 |
-
*
|
21486 |
-
*
|
21487 |
*
|
21488 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21489 |
*/
|
21490 |
|
21491 |
|
21492 |
-
function
|
21493 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
21494 |
|
21495 |
-
if (type === null || type === undefined || typeof type === 'string') {
|
21496 |
-
return;
|
21497 |
-
}
|
21498 |
|
21499 |
-
|
21500 |
-
var
|
|
|
|
|
|
|
21501 |
|
21502 |
-
|
21503 |
-
|
21504 |
-
|
21505 |
-
|
21506 |
-
type.$$typeof === REACT_MEMO_TYPE)) {
|
21507 |
-
propTypes = type.propTypes;
|
21508 |
-
} else {
|
21509 |
-
return;
|
21510 |
-
}
|
21511 |
|
21512 |
-
|
21513 |
-
|
21514 |
-
|
21515 |
-
|
21516 |
-
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
21517 |
-
propTypesMisspellWarningShown = true;
|
21518 |
-
warningWithoutStack$1(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
|
21519 |
-
}
|
21520 |
|
21521 |
-
|
21522 |
-
|
|
|
|
|
21523 |
}
|
21524 |
}
|
|
|
|
|
|
|
|
|
21525 |
/**
|
21526 |
-
*
|
21527 |
-
* @param {ReactElement} fragment
|
21528 |
*/
|
21529 |
|
|
|
|
|
|
|
21530 |
|
21531 |
-
|
21532 |
-
|
21533 |
-
|
21534 |
-
|
21535 |
-
for (var i = 0; i < keys.length; i++) {
|
21536 |
-
var key = keys[i];
|
21537 |
|
21538 |
-
|
21539 |
-
|
21540 |
-
break;
|
21541 |
-
}
|
21542 |
-
}
|
21543 |
|
21544 |
-
|
21545 |
-
warning$1(false, 'Invalid attribute `ref` supplied to `React.Fragment`.');
|
21546 |
-
}
|
21547 |
|
21548 |
-
|
21549 |
-
}
|
21550 |
|
21551 |
-
|
21552 |
-
|
21553 |
-
|
|
|
|
|
21554 |
|
21555 |
-
|
21556 |
-
|
|
|
21557 |
|
21558 |
-
|
21559 |
-
|
21560 |
-
}
|
21561 |
|
21562 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21563 |
|
21564 |
-
|
21565 |
-
|
21566 |
-
|
21567 |
-
info += getDeclarationErrorAddendum();
|
21568 |
-
}
|
21569 |
|
21570 |
-
|
|
|
|
|
|
|
21571 |
|
21572 |
-
|
21573 |
-
|
21574 |
-
|
21575 |
-
typeString = 'array';
|
21576 |
-
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
21577 |
-
typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
|
21578 |
-
info = ' Did you accidentally export a JSX literal instead of a component?';
|
21579 |
-
} else {
|
21580 |
-
typeString = typeof type;
|
21581 |
}
|
21582 |
-
|
21583 |
-
warning$1(false, 'React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
|
21584 |
}
|
21585 |
|
21586 |
-
|
21587 |
-
|
21588 |
-
|
21589 |
-
if (element == null) {
|
21590 |
-
return element;
|
21591 |
-
} // Skip key warning if the type isn't valid since our key validation logic
|
21592 |
-
// doesn't expect a non-string/function type and can throw confusing errors.
|
21593 |
-
// We don't want exception behavior to differ between dev and prod.
|
21594 |
-
// (Rendering will throw with a helpful message and as soon as the type is
|
21595 |
-
// fixed, the key warnings will appear.)
|
21596 |
-
|
21597 |
-
|
21598 |
-
if (validType) {
|
21599 |
-
var children = props.children;
|
21600 |
|
21601 |
-
|
21602 |
-
|
21603 |
-
|
21604 |
-
|
21605 |
-
validateChildKeys(children[i], type);
|
21606 |
-
}
|
21607 |
|
21608 |
-
|
21609 |
-
|
21610 |
-
}
|
21611 |
-
} else {
|
21612 |
-
warning$1(false, 'React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
|
21613 |
-
}
|
21614 |
-
} else {
|
21615 |
-
validateChildKeys(children, type);
|
21616 |
}
|
21617 |
}
|
21618 |
}
|
21619 |
|
21620 |
-
|
21621 |
-
|
21622 |
-
}
|
21623 |
|
21624 |
-
|
21625 |
-
|
21626 |
-
|
21627 |
-
|
21628 |
-
|
21629 |
|
21630 |
-
|
21631 |
-
}
|
21632 |
-
|
21633 |
-
|
21634 |
-
// giving you warnings if you use production apis.
|
21635 |
|
21636 |
-
|
21637 |
-
|
21638 |
-
|
21639 |
-
|
21640 |
-
|
21641 |
}
|
21642 |
-
function createElementWithValidation(type, props, children) {
|
21643 |
-
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
|
21644 |
-
// succeed and there will likely be errors in render.
|
21645 |
|
21646 |
-
|
21647 |
-
|
|
|
|
|
|
|
21648 |
|
21649 |
-
|
21650 |
-
|
21651 |
}
|
|
|
21652 |
|
21653 |
-
|
|
|
|
|
|
|
|
|
|
|
21654 |
|
21655 |
-
|
21656 |
-
|
21657 |
-
|
21658 |
-
|
21659 |
-
}
|
21660 |
|
21661 |
-
|
|
|
21662 |
|
21663 |
-
|
21664 |
-
|
21665 |
-
} else if (Array.isArray(type)) {
|
21666 |
-
typeString = 'array';
|
21667 |
-
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
21668 |
-
typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
|
21669 |
-
info = ' Did you accidentally export a JSX literal instead of a component?';
|
21670 |
-
} else {
|
21671 |
-
typeString = typeof type;
|
21672 |
}
|
21673 |
-
|
21674 |
-
warning$1(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
|
21675 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21676 |
|
21677 |
-
var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
|
21678 |
-
// TODO: Drop this when these are no longer allowed as the type argument.
|
21679 |
-
|
21680 |
-
if (element == null) {
|
21681 |
-
return element;
|
21682 |
-
} // Skip key warning if the type isn't valid since our key validation logic
|
21683 |
-
// doesn't expect a non-string/function type and can throw confusing errors.
|
21684 |
-
// We don't want exception behavior to differ between dev and prod.
|
21685 |
-
// (Rendering will throw with a helpful message and as soon as the type is
|
21686 |
-
// fixed, the key warnings will appear.)
|
21687 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21688 |
|
21689 |
-
|
21690 |
-
|
21691 |
-
|
21692 |
-
|
21693 |
-
|
|
|
|
|
|
|
|
|
21694 |
|
21695 |
-
|
21696 |
-
|
21697 |
-
|
21698 |
-
|
21699 |
-
|
|
|
21700 |
|
21701 |
-
|
21702 |
-
|
21703 |
-
|
21704 |
-
|
21705 |
-
|
|
|
|
|
21706 |
|
21707 |
-
|
21708 |
-
|
21709 |
enumerable: false,
|
21710 |
-
|
21711 |
-
|
21712 |
-
Object.defineProperty(this, 'type', {
|
21713 |
-
value: type
|
21714 |
-
});
|
21715 |
-
return type;
|
21716 |
-
}
|
21717 |
});
|
|
|
|
|
|
|
|
|
|
|
21718 |
}
|
21719 |
|
21720 |
-
return
|
21721 |
-
}
|
21722 |
-
|
21723 |
-
|
|
|
|
|
21724 |
|
21725 |
-
|
21726 |
-
|
21727 |
-
}
|
21728 |
|
21729 |
-
|
21730 |
-
|
21731 |
-
|
|
|
|
|
21732 |
|
21733 |
-
|
|
|
|
|
21734 |
|
21735 |
-
{
|
21736 |
-
|
|
|
|
|
21737 |
|
21738 |
-
|
21739 |
-
|
21740 |
-
|
21741 |
-
var testSet = new Set([frozenObject]); // This is necessary for Rollup to not consider these unused.
|
21742 |
-
// https://github.com/rollup/rollup/issues/1771
|
21743 |
-
// TODO: we can remove these if Rollup fixes the bug.
|
21744 |
|
21745 |
-
|
21746 |
-
|
21747 |
-
} catch (e) {
|
21748 |
-
// TODO: Consider warning about bad polyfills
|
21749 |
-
hasBadMapPolyfill = true;
|
21750 |
-
}
|
21751 |
-
}
|
21752 |
|
21753 |
-
|
21754 |
-
|
21755 |
-
|
21756 |
-
|
21757 |
-
|
21758 |
-
|
21759 |
-
|
21760 |
|
21761 |
-
var fundamantalComponent = {
|
21762 |
-
$$typeof: REACT_FUNDAMENTAL_TYPE,
|
21763 |
-
impl: impl
|
21764 |
-
};
|
21765 |
|
21766 |
-
|
21767 |
-
Object.freeze(fundamantalComponent);
|
21768 |
-
}
|
21769 |
|
21770 |
-
|
21771 |
-
|
|
|
|
|
21772 |
|
21773 |
-
|
21774 |
-
|
21775 |
-
|
21776 |
-
onMount = responderConfig.onMount,
|
21777 |
-
onUnmount = responderConfig.onUnmount,
|
21778 |
-
onRootEvent = responderConfig.onRootEvent,
|
21779 |
-
rootEventTypes = responderConfig.rootEventTypes,
|
21780 |
-
targetEventTypes = responderConfig.targetEventTypes,
|
21781 |
-
targetPortalPropagation = responderConfig.targetPortalPropagation;
|
21782 |
-
var eventResponder = {
|
21783 |
-
$$typeof: REACT_RESPONDER_TYPE,
|
21784 |
-
displayName: displayName,
|
21785 |
-
getInitialState: getInitialState || null,
|
21786 |
-
onEvent: onEvent || null,
|
21787 |
-
onMount: onMount || null,
|
21788 |
-
onRootEvent: onRootEvent || null,
|
21789 |
-
onUnmount: onUnmount || null,
|
21790 |
-
rootEventTypes: rootEventTypes || null,
|
21791 |
-
targetEventTypes: targetEventTypes || null,
|
21792 |
-
targetPortalPropagation: targetPortalPropagation || false
|
21793 |
-
}; // We use responder as a Map key later on. When we have a bad
|
21794 |
-
// polyfill, then we can't use it as a key as the polyfill tries
|
21795 |
-
// to add a property to the object.
|
21796 |
|
21797 |
-
|
21798 |
-
|
21799 |
-
|
|
|
|
|
21800 |
|
21801 |
-
|
21802 |
-
}
|
21803 |
|
21804 |
-
|
21805 |
-
|
21806 |
-
|
21807 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
21808 |
|
21809 |
{
|
21810 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21811 |
}
|
21812 |
|
21813 |
-
return
|
21814 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21815 |
|
21816 |
-
|
21817 |
-
|
21818 |
-
|
21819 |
-
|
21820 |
-
|
|
|
21821 |
|
21822 |
-
//
|
21823 |
|
21824 |
-
|
21825 |
|
21826 |
-
// Trace which interactions trigger each commit.
|
21827 |
|
21828 |
-
|
|
|
21829 |
|
|
|
|
|
|
|
21830 |
|
21831 |
-
//
|
21832 |
|
21833 |
-
|
21834 |
|
21835 |
-
|
|
|
|
|
|
|
|
|
|
|
21836 |
|
21837 |
-
|
21838 |
-
|
|
|
21839 |
|
21840 |
-
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
21841 |
-
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
21842 |
|
21843 |
-
var
|
21844 |
-
// Experimental React Flare event system and event components support.
|
21845 |
|
21846 |
-
|
|
|
|
|
21847 |
|
21848 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21849 |
|
21850 |
-
var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
|
21851 |
|
21852 |
-
var
|
21853 |
-
// Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
|
21854 |
|
21855 |
-
|
21856 |
-
|
|
|
|
|
21857 |
|
21858 |
-
|
21859 |
-
|
21860 |
-
|
21861 |
-
// Also allows hydration callbacks to fire when a dehydrated boundary gets
|
21862 |
-
// hydrated or deleted.
|
21863 |
|
21864 |
-
|
21865 |
-
|
21866 |
-
// https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
|
21867 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21868 |
|
|
|
|
|
|
|
21869 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21870 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21871 |
|
21872 |
-
// Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
|
21873 |
|
21874 |
-
var
|
21875 |
-
|
21876 |
-
map: mapChildren,
|
21877 |
-
forEach: forEachChildren,
|
21878 |
-
count: countChildren,
|
21879 |
-
toArray: toArray,
|
21880 |
-
only: onlyChild
|
21881 |
-
},
|
21882 |
-
createRef: createRef,
|
21883 |
-
Component: Component,
|
21884 |
-
PureComponent: PureComponent,
|
21885 |
-
createContext: createContext,
|
21886 |
-
forwardRef: forwardRef,
|
21887 |
-
lazy: lazy,
|
21888 |
-
memo: memo,
|
21889 |
-
useCallback: useCallback,
|
21890 |
-
useContext: useContext,
|
21891 |
-
useEffect: useEffect,
|
21892 |
-
useImperativeHandle: useImperativeHandle,
|
21893 |
-
useDebugValue: useDebugValue,
|
21894 |
-
useLayoutEffect: useLayoutEffect,
|
21895 |
-
useMemo: useMemo,
|
21896 |
-
useReducer: useReducer,
|
21897 |
-
useRef: useRef,
|
21898 |
-
useState: useState,
|
21899 |
-
Fragment: REACT_FRAGMENT_TYPE,
|
21900 |
-
Profiler: REACT_PROFILER_TYPE,
|
21901 |
-
StrictMode: REACT_STRICT_MODE_TYPE,
|
21902 |
-
Suspense: REACT_SUSPENSE_TYPE,
|
21903 |
-
createElement: createElementWithValidation,
|
21904 |
-
cloneElement: cloneElementWithValidation,
|
21905 |
-
createFactory: createFactoryWithValidation,
|
21906 |
-
isValidElement: isValidElement,
|
21907 |
-
version: ReactVersion,
|
21908 |
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
|
21909 |
-
};
|
21910 |
|
21911 |
-
|
21912 |
-
|
21913 |
-
React.useDeferredValue = useDeferredValue;
|
21914 |
-
React.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
21915 |
-
React.unstable_withSuspenseConfig = withSuspenseConfig;
|
21916 |
}
|
21917 |
|
21918 |
-
|
21919 |
-
|
21920 |
-
React.unstable_createResponder = createEventResponder;
|
21921 |
-
}
|
21922 |
|
21923 |
-
|
21924 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21925 |
}
|
21926 |
|
21927 |
-
|
21928 |
-
|
21929 |
-
|
21930 |
-
|
21931 |
-
|
21932 |
-
|
21933 |
-
|
21934 |
|
21935 |
-
if (
|
21936 |
-
|
21937 |
-
React.jsxDEV = jsxWithValidation;
|
21938 |
-
React.jsx = jsxWithValidationDynamic;
|
21939 |
-
React.jsxs = jsxWithValidationStatic;
|
21940 |
}
|
21941 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21942 |
|
21943 |
|
|
|
|
|
21944 |
|
21945 |
-
|
21946 |
-
|
21947 |
-
|
|
|
21948 |
|
21949 |
-
var
|
21950 |
|
21951 |
-
|
21952 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
21953 |
|
|
|
|
|
|
|
|
|
|
|
|
|
21954 |
|
21955 |
-
|
|
|
21956 |
|
21957 |
-
|
21958 |
-
|
21959 |
-
|
|
|
|
|
|
|
21960 |
|
21961 |
-
|
|
|
|
|
21962 |
|
21963 |
-
|
21964 |
-
/* 291 */
|
21965 |
-
/***/ (function(module, exports, __webpack_require__) {
|
21966 |
|
21967 |
-
|
21968 |
-
|
21969 |
-
|
21970 |
-
|
21971 |
-
|
21972 |
-
|
21973 |
-
|
21974 |
-
|
21975 |
-
*/
|
21976 |
|
21977 |
-
|
21978 |
-
Modernizr 3.0.0pre (Custom Build) | MIT
|
21979 |
-
*/
|
21980 |
-
var aa=__webpack_require__(0),n=__webpack_require__(44),q=__webpack_require__(134);function u(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(u(227));var ba=null,ca={};
|
21981 |
-
function da(){if(ba)for(var a in ca){var b=ca[a],c=ba.indexOf(a);if(!(-1<c))throw Error(u(96,a));if(!ea[c]){if(!b.extractEvents)throw Error(u(97,a));ea[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(fa.hasOwnProperty(h))throw Error(u(99,h));fa[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ha(k[e],g,h);e=!0}else f.registrationName?(ha(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u(98,d,a));}}}}
|
21982 |
-
function ha(a,b,c){if(ia[a])throw Error(u(100,a));ia[a]=b;ja[a]=b.eventTypes[c].dependencies}var ea=[],fa={},ia={},ja={};function ka(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}}var la=!1,ma=null,na=!1,oa=null,pa={onError:function(a){la=!0;ma=a}};function qa(a,b,c,d,e,f,g,h,k){la=!1;ma=null;ka.apply(pa,arguments)}
|
21983 |
-
function ra(a,b,c,d,e,f,g,h,k){qa.apply(this,arguments);if(la){if(la){var l=ma;la=!1;ma=null}else throw Error(u(198));na||(na=!0,oa=l)}}var sa=null,ua=null,va=null;function wa(a,b,c){var d=a.type||"unknown-event";a.currentTarget=va(c);ra(d,b,void 0,a);a.currentTarget=null}function xa(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}
|
21984 |
-
function ya(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var za=null;function Aa(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)wa(a,b[d],c[d]);else b&&wa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function Ba(a){null!==a&&(za=xa(za,a));a=za;za=null;if(a){ya(a,Aa);if(za)throw Error(u(95));if(na)throw a=oa,na=!1,oa=null,a;}}
|
21985 |
-
var Ca={injectEventPluginOrder:function(a){if(ba)throw Error(u(101));ba=Array.prototype.slice.call(a);da()},injectEventPluginsByName:function(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!ca.hasOwnProperty(c)||ca[c]!==d){if(ca[c])throw Error(u(102,c));ca[c]=d;b=!0}}b&&da()}};
|
21986 |
-
function Da(a,b){var c=a.stateNode;if(!c)return null;var d=sa(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw Error(u(231,b,typeof c));
|
21987 |
-
return c}var Ea=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ea.hasOwnProperty("ReactCurrentDispatcher")||(Ea.ReactCurrentDispatcher={current:null});Ea.hasOwnProperty("ReactCurrentBatchConfig")||(Ea.ReactCurrentBatchConfig={suspense:null});
|
21988 |
-
var Fa=/^(.*)[\\\/]/,w="function"===typeof Symbol&&Symbol.for,Ga=w?Symbol.for("react.element"):60103,Ha=w?Symbol.for("react.portal"):60106,Ia=w?Symbol.for("react.fragment"):60107,Ja=w?Symbol.for("react.strict_mode"):60108,Ka=w?Symbol.for("react.profiler"):60114,La=w?Symbol.for("react.provider"):60109,Ma=w?Symbol.for("react.context"):60110,Na=w?Symbol.for("react.concurrent_mode"):60111,Oa=w?Symbol.for("react.forward_ref"):60112,Pa=w?Symbol.for("react.suspense"):60113,Qa=w?Symbol.for("react.suspense_list"):
|
21989 |
-
60120,Ra=w?Symbol.for("react.memo"):60115,Sa=w?Symbol.for("react.lazy"):60116;w&&Symbol.for("react.fundamental");w&&Symbol.for("react.responder");w&&Symbol.for("react.scope");var Ta="function"===typeof Symbol&&Symbol.iterator;function Ua(a){if(null===a||"object"!==typeof a)return null;a=Ta&&a[Ta]||a["@@iterator"];return"function"===typeof a?a:null}
|
21990 |
-
function Va(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}
|
21991 |
-
function Wa(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ia:return"Fragment";case Ha:return"Portal";case Ka:return"Profiler";case Ja:return"StrictMode";case Pa:return"Suspense";case Qa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ma:return"Context.Consumer";case La:return"Context.Provider";case Oa:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":
|
21992 |
-
"ForwardRef");case Ra:return Wa(a.type);case Sa:if(a=1===a._status?a._result:null)return Wa(a)}return null}function Xa(a){var b="";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c="";break a;default:var d=a._debugOwner,e=a._debugSource,f=Wa(a.type);c=null;d&&(c=Wa(d.type));d=f;f="";e?f=" (at "+e.fileName.replace(Fa,"")+":"+e.lineNumber+")":c&&(f=" (created by "+c+")");c="\n in "+(d||"Unknown")+f}b+=c;a=a.return}while(a);return b}
|
21993 |
-
var Ya=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Za=null,$a=null,ab=null;function bb(a){if(a=ua(a)){if("function"!==typeof Za)throw Error(u(280));var b=sa(a.stateNode);Za(a.stateNode,a.type,b)}}function cb(a){$a?ab?ab.push(a):ab=[a]:$a=a}function db(){if($a){var a=$a,b=ab;ab=$a=null;bb(a);if(b)for(a=0;a<b.length;a++)bb(b[a])}}function eb(a,b){return a(b)}function fb(a,b,c,d){return a(b,c,d)}function gb(){}
|
21994 |
-
var hb=eb,ib=!1,jb=!1;function kb(){if(null!==$a||null!==ab)gb(),db()}new Map;var lb=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,mb=Object.prototype.hasOwnProperty,nb={},ob={};
|
21995 |
-
function pb(a){if(mb.call(ob,a))return!0;if(mb.call(nb,a))return!1;if(lb.test(a))return ob[a]=!0;nb[a]=!0;return!1}function qb(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
|
21996 |
-
function rb(a,b,c,d){if(null===b||"undefined"===typeof b||qb(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function B(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var D={};
|
21997 |
-
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){D[a]=new B(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];D[b]=new B(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){D[a]=new B(a,2,!1,a.toLowerCase(),null,!1)});
|
21998 |
-
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){D[a]=new B(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){D[a]=new B(a,3,!1,a.toLowerCase(),null,!1)});
|
21999 |
-
["checked","multiple","muted","selected"].forEach(function(a){D[a]=new B(a,3,!0,a,null,!1)});["capture","download"].forEach(function(a){D[a]=new B(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){D[a]=new B(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){D[a]=new B(a,5,!1,a.toLowerCase(),null,!1)});var sb=/[\-:]([a-z])/g;function tb(a){return a[1].toUpperCase()}
|
22000 |
-
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(sb,
|
22001 |
-
tb);D[b]=new B(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(sb,tb);D[b]=new B(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(sb,tb);D[b]=new B(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!1)});
|
22002 |
-
D.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!0)});function ub(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return""}}
|
22003 |
-
function vb(a,b,c,d){var e=D.hasOwnProperty(b)?D[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(rb(b,c,e,d)&&(c=null),d||null===e?pb(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}
|
22004 |
-
function wb(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
22005 |
-
function xb(a){var b=wb(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=
|
22006 |
-
null;delete a[b]}}}}function yb(a){a._valueTracker||(a._valueTracker=xb(a))}function zb(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=wb(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Ab(a,b){var c=b.checked;return n({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}
|
22007 |
-
function Bb(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=ub(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Cb(a,b){b=b.checked;null!=b&&vb(a,"checked",b,!1)}
|
22008 |
-
function Eb(a,b){Cb(a,b);var c=ub(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Fb(a,b.type,c):b.hasOwnProperty("defaultValue")&&Fb(a,b.type,ub(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}
|
22009 |
-
function Gb(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}
|
22010 |
-
function Fb(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function Hb(a){var b="";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Ib(a,b){a=n({children:void 0},b);if(b=Hb(b.children))a.children=b;return a}
|
22011 |
-
function Jb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+ub(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}
|
22012 |
-
function Kb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(u(91));return n({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Lb(a,b){var c=b.value;if(null==c){c=b.defaultValue;b=b.children;if(null!=b){if(null!=c)throw Error(u(92));if(Array.isArray(b)){if(!(1>=b.length))throw Error(u(93));b=b[0]}c=b}null==c&&(c="")}a._wrapperState={initialValue:ub(c)}}
|
22013 |
-
function Mb(a,b){var c=ub(b.value),d=ub(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Nb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}var Ob={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
|
22014 |
-
function Pb(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Qb(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Pb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
|
22015 |
-
var Rb,Sb=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Ob.svg||"innerHTML"in a)a.innerHTML=b;else{Rb=Rb||document.createElement("div");Rb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Rb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
|
22016 |
-
function Tb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Ub(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Vb={animationend:Ub("Animation","AnimationEnd"),animationiteration:Ub("Animation","AnimationIteration"),animationstart:Ub("Animation","AnimationStart"),transitionend:Ub("Transition","TransitionEnd")},Wb={},Xb={};
|
22017 |
-
Ya&&(Xb=document.createElement("div").style,"AnimationEvent"in window||(delete Vb.animationend.animation,delete Vb.animationiteration.animation,delete Vb.animationstart.animation),"TransitionEvent"in window||delete Vb.transitionend.transition);function Yb(a){if(Wb[a])return Wb[a];if(!Vb[a])return a;var b=Vb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Xb)return Wb[a]=b[c];return a}var Zb=Yb("animationend"),$b=Yb("animationiteration"),ac=Yb("animationstart"),bc=Yb("transitionend"),cc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");
|
22018 |
-
function ec(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function fc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function gc(a){if(ec(a)!==a)throw Error(u(188));}
|
22019 |
-
function hc(a){var b=a.alternate;if(!b){b=ec(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return gc(e),a;if(f===d)return gc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
|
22020 |
-
c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function ic(a){a=hc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}
|
22021 |
-
var jc,kc,lc,mc=!1,nc=[],oc=null,pc=null,qc=null,rc=new Map,sc=new Map,tc=[],uc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),vc="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
|
22022 |
-
function wc(a){var b=xc(a);uc.forEach(function(c){yc(c,a,b)});vc.forEach(function(c){yc(c,a,b)})}function zc(a,b,c,d){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:d}}function Ac(a,b){switch(a){case "focus":case "blur":oc=null;break;case "dragenter":case "dragleave":pc=null;break;case "mouseover":case "mouseout":qc=null;break;case "pointerover":case "pointerout":rc.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":sc.delete(b.pointerId)}}
|
22023 |
-
function Bc(a,b,c,d,e){if(null===a||a.nativeEvent!==e)return a=zc(b,c,d,e),null!==b&&(b=Cc(b),null!==b&&kc(b)),a;a.eventSystemFlags|=d;return a}function Dc(a,b,c,d){switch(b){case "focus":return oc=Bc(oc,a,b,c,d),!0;case "dragenter":return pc=Bc(pc,a,b,c,d),!0;case "mouseover":return qc=Bc(qc,a,b,c,d),!0;case "pointerover":var e=d.pointerId;rc.set(e,Bc(rc.get(e)||null,a,b,c,d));return!0;case "gotpointercapture":return e=d.pointerId,sc.set(e,Bc(sc.get(e)||null,a,b,c,d)),!0}return!1}
|
22024 |
-
function Ec(a){var b=Fc(a.target);if(null!==b){var c=ec(b);if(null!==c)if(b=c.tag,13===b){if(b=fc(c),null!==b){a.blockedOn=b;q.unstable_runWithPriority(a.priority,function(){lc(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function Gc(a){if(null!==a.blockedOn)return!1;var b=Hc(a.topLevelType,a.eventSystemFlags,a.nativeEvent);if(null!==b){var c=Cc(b);null!==c&&kc(c);a.blockedOn=b;return!1}return!0}
|
22025 |
-
function Ic(a,b,c){Gc(a)&&c.delete(b)}function Jc(){for(mc=!1;0<nc.length;){var a=nc[0];if(null!==a.blockedOn){a=Cc(a.blockedOn);null!==a&&jc(a);break}var b=Hc(a.topLevelType,a.eventSystemFlags,a.nativeEvent);null!==b?a.blockedOn=b:nc.shift()}null!==oc&&Gc(oc)&&(oc=null);null!==pc&&Gc(pc)&&(pc=null);null!==qc&&Gc(qc)&&(qc=null);rc.forEach(Ic);sc.forEach(Ic)}function Kc(a,b){a.blockedOn===b&&(a.blockedOn=null,mc||(mc=!0,q.unstable_scheduleCallback(q.unstable_NormalPriority,Jc)))}
|
22026 |
-
function Lc(a){function b(b){return Kc(b,a)}if(0<nc.length){Kc(nc[0],a);for(var c=1;c<nc.length;c++){var d=nc[c];d.blockedOn===a&&(d.blockedOn=null)}}null!==oc&&Kc(oc,a);null!==pc&&Kc(pc,a);null!==qc&&Kc(qc,a);rc.forEach(b);sc.forEach(b);for(c=0;c<tc.length;c++)d=tc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<tc.length&&(c=tc[0],null===c.blockedOn);)Ec(c),null===c.blockedOn&&tc.shift()}
|
22027 |
-
function Mc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function Nc(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function Oc(a,b,c){if(b=Da(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=xa(c._dispatchListeners,b),c._dispatchInstances=xa(c._dispatchInstances,a)}
|
22028 |
-
function Pc(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Nc(b);for(b=c.length;0<b--;)Oc(c[b],"captured",a);for(b=0;b<c.length;b++)Oc(c[b],"bubbled",a)}}function Qc(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Da(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=xa(c._dispatchListeners,b),c._dispatchInstances=xa(c._dispatchInstances,a))}function Rc(a){a&&a.dispatchConfig.registrationName&&Qc(a._targetInst,null,a)}
|
22029 |
-
function Sc(a){ya(a,Pc)}function Tc(){return!0}function Uc(){return!1}function E(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?Tc:Uc;this.isPropagationStopped=Uc;return this}
|
22030 |
-
n(E.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=Tc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=Tc)},persist:function(){this.isPersistent=Tc},isPersistent:Uc,destructor:function(){var a=this.constructor.Interface,
|
22031 |
-
b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=Uc;this._dispatchInstances=this._dispatchListeners=null}});E.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
|
22032 |
-
E.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;n(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=n({},d.Interface,a);c.extend=d.extend;Vc(c);return c};Vc(E);function Wc(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
|
22033 |
-
function Xc(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function Vc(a){a.eventPool=[];a.getPooled=Wc;a.release=Xc}var Yc=E.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Zc=E.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),$c=E.extend({view:null,detail:null}),ad=$c.extend({relatedTarget:null});
|
22034 |
-
function bd(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}
|
22035 |
-
var cd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
|
22036 |
-
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ed={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=ed[a])?!!b[a]:!1}function hd(){return gd}
|
22037 |
-
var id=$c.extend({key:function(a){if(a.key){var b=cd[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=bd(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?dd[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:hd,charCode:function(a){return"keypress"===a.type?bd(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===
|
22038 |
-
a.type?bd(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),jd=0,kd=0,ld=!1,md=!1,nd=$c.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:hd,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=jd;jd=a.screenX;return ld?"mousemove"===a.type?a.screenX-
|
22039 |
-
b:0:(ld=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=kd;kd=a.screenY;return md?"mousemove"===a.type?a.screenY-b:0:(md=!0,0)}}),od=nd.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),pd=nd.extend({dataTransfer:null}),qd=$c.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:hd}),rd=E.extend({propertyName:null,
|
22040 |
-
elapsedTime:null,pseudoElement:null}),sd=nd.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),td=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",
|
22041 |
-
0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",
|
22042 |
-
0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",
|
22043 |
-
2],[Zb,"animationEnd",2],[$b,"animationIteration",2],[ac,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress",
|
22044 |
-
"progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[bc,"transitionEnd",2],["waiting","waiting",2]],ud={},vd={},wd=0;for(;wd<td.length;wd++){var yd=td[wd],zd=yd[0],Ad=yd[1],Bd=yd[2],Cd="on"+(Ad[0].toUpperCase()+Ad.slice(1)),Dd={phasedRegistrationNames:{bubbled:Cd,captured:Cd+"Capture"},dependencies:[zd],eventPriority:Bd};ud[Ad]=Dd;vd[zd]=Dd}
|
22045 |
-
var Ed={eventTypes:ud,getEventPriority:function(a){a=vd[a];return void 0!==a?a.eventPriority:2},extractEvents:function(a,b,c,d){var e=vd[a];if(!e)return null;switch(a){case "keypress":if(0===bd(c))return null;case "keydown":case "keyup":a=id;break;case "blur":case "focus":a=ad;break;case "click":if(2===c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=nd;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=
|
22046 |
-
pd;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=qd;break;case Zb:case $b:case ac:a=Yc;break;case bc:a=rd;break;case "scroll":a=$c;break;case "wheel":a=sd;break;case "copy":case "cut":case "paste":a=Zc;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=od;break;default:a=E}b=a.getPooled(e,b,c,d);Sc(b);return b}},Fd=q.unstable_UserBlockingPriority,
|
22047 |
-
Gd=q.unstable_runWithPriority,Hd=Ed.getEventPriority,Id=10,Jd=[];
|
22048 |
-
function Kd(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=Fc(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Mc(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=a.eventSystemFlags,h=null,k=0;k<ea.length;k++){var l=ea[k];l&&(l=l.extractEvents(d,b,f,e,g))&&(h=xa(h,l))}Ba(h)}}
|
22049 |
-
var Ld=!0;function F(a,b){Md(b,a,!1)}function Md(a,b,c){switch(Hd(b)){case 0:var d=Nd.bind(null,b,1);break;case 1:d=Od.bind(null,b,1);break;default:d=Pd.bind(null,b,1)}c?a.addEventListener(b,d,!0):a.addEventListener(b,d,!1)}function Nd(a,b,c){ib||gb();var d=Pd,e=ib;ib=!0;try{fb(d,a,b,c)}finally{(ib=e)||kb()}}function Od(a,b,c){Gd(Fd,Pd.bind(null,a,b,c))}
|
22050 |
-
function Qd(a,b,c,d){if(Jd.length){var e=Jd.pop();e.topLevelType=a;e.eventSystemFlags=b;e.nativeEvent=c;e.targetInst=d;a=e}else a={topLevelType:a,eventSystemFlags:b,nativeEvent:c,targetInst:d,ancestors:[]};try{if(b=Kd,c=a,jb)b(c,void 0);else{jb=!0;try{hb(b,c,void 0)}finally{jb=!1,kb()}}}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,Jd.length<Id&&Jd.push(a)}}
|
22051 |
-
function Pd(a,b,c){if(Ld)if(0<nc.length&&-1<uc.indexOf(a))a=zc(null,a,b,c),nc.push(a);else{var d=Hc(a,b,c);null===d?Ac(a,c):-1<uc.indexOf(a)?(a=zc(d,a,b,c),nc.push(a)):Dc(d,a,b,c)||(Ac(a,c),Qd(a,b,c,null))}}function Hc(a,b,c){var d=Mc(c);d=Fc(d);if(null!==d){var e=ec(d);if(null===e)d=null;else{var f=e.tag;if(13===f){d=fc(e);if(null!==d)return d;d=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;d=null}else e!==d&&(d=null)}}Qd(a,b,c,d);return null}
|
22052 |
-
function Rd(a){if(!Ya)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}var Sd=new ("function"===typeof WeakMap?WeakMap:Map);function xc(a){var b=Sd.get(a);void 0===b&&(b=new Set,Sd.set(a,b));return b}
|
22053 |
-
function yc(a,b,c){if(!c.has(a)){switch(a){case "scroll":Md(b,"scroll",!0);break;case "focus":case "blur":Md(b,"focus",!0);Md(b,"blur",!0);c.add("blur");c.add("focus");break;case "cancel":case "close":Rd(a)&&Md(b,a,!0);break;case "invalid":case "submit":case "reset":break;default:-1===cc.indexOf(a)&&F(a,b)}c.add(a)}}
|
22054 |
-
var Td={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
|
22055 |
-
floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ud=["Webkit","ms","Moz","O"];Object.keys(Td).forEach(function(a){Ud.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Td[b]=Td[a]})});function Vd(a,b,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||Td.hasOwnProperty(a)&&Td[a]?(""+b).trim():b+"px"}
|
22056 |
-
function Wd(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=Vd(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var Xd=n({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
|
22057 |
-
function Yd(a,b){if(b){if(Xd[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(u(137,a,""));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(u(60));if(!("object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML))throw Error(u(61));}if(null!=b.style&&"object"!==typeof b.style)throw Error(u(62,""));}}
|
22058 |
-
function Zd(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function $d(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=xc(a);b=ja[b];for(var d=0;d<b.length;d++)yc(b[d],a,c)}function ae(){}
|
22059 |
-
function be(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function ce(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function de(a,b){var c=ce(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ce(c)}}
|
22060 |
-
function ee(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?ee(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function fe(){for(var a=window,b=be();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=be(a.document)}return b}
|
22061 |
-
function ge(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var he="$",ie="/$",je="$?",ke="$!",le=null,me=null;function ne(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}
|
22062 |
-
function oe(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var pe="function"===typeof setTimeout?setTimeout:void 0,qe="function"===typeof clearTimeout?clearTimeout:void 0;function re(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}
|
22063 |
-
function se(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===he||c===ke||c===je){if(0===b)return a;b--}else c===ie&&b++}a=a.previousSibling}return null}var te=Math.random().toString(36).slice(2),ue="__reactInternalInstance$"+te,ve="__reactEventHandlers$"+te,we="__reactContainere$"+te;
|
22064 |
-
function Fc(a){var b=a[ue];if(b)return b;for(var c=a.parentNode;c;){if(b=c[we]||c[ue]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=se(a);null!==a;){if(c=a[ue])return c;a=se(a)}return b}a=c;c=a.parentNode}return null}function Cc(a){a=a[ue]||a[we];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function xe(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function ye(a){return a[ve]||null}var ze=null,Ae=null,Be=null;
|
22065 |
-
function Ce(){if(Be)return Be;var a,b=Ae,c=b.length,d,e="value"in ze?ze.value:ze.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Be=e.slice(a,1<d?1-d:void 0)}var De=E.extend({data:null}),Ee=E.extend({data:null}),Fe=[9,13,27,32],Ge=Ya&&"CompositionEvent"in window,He=null;Ya&&"documentMode"in document&&(He=document.documentMode);
|
22066 |
-
var Ie=Ya&&"TextEvent"in window&&!He,Je=Ya&&(!Ge||He&&8<He&&11>=He),Ke=String.fromCharCode(32),Le={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
|
22067 |
-
captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Me=!1;
|
22068 |
-
function Ne(a,b){switch(a){case "keyup":return-1!==Fe.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function Oe(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Pe=!1;function Qe(a,b){switch(a){case "compositionend":return Oe(b);case "keypress":if(32!==b.which)return null;Me=!0;return Ke;case "textInput":return a=b.data,a===Ke&&Me?null:a;default:return null}}
|
22069 |
-
function Re(a,b){if(Pe)return"compositionend"===a||!Ge&&Ne(a,b)?(a=Ce(),Be=Ae=ze=null,Pe=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Je&&"ko"!==b.locale?null:b.data;default:return null}}
|
22070 |
-
var Se={eventTypes:Le,extractEvents:function(a,b,c,d){var e;if(Ge)b:{switch(a){case "compositionstart":var f=Le.compositionStart;break b;case "compositionend":f=Le.compositionEnd;break b;case "compositionupdate":f=Le.compositionUpdate;break b}f=void 0}else Pe?Ne(a,c)&&(f=Le.compositionEnd):"keydown"===a&&229===c.keyCode&&(f=Le.compositionStart);f?(Je&&"ko"!==c.locale&&(Pe||f!==Le.compositionStart?f===Le.compositionEnd&&Pe&&(e=Ce()):(ze=d,Ae="value"in ze?ze.value:ze.textContent,Pe=!0)),f=De.getPooled(f,
|
22071 |
-
b,c,d),e?f.data=e:(e=Oe(c),null!==e&&(f.data=e)),Sc(f),e=f):e=null;(a=Ie?Qe(a,c):Re(a,c))?(b=Ee.getPooled(Le.beforeInput,b,c,d),b.data=a,Sc(b)):b=null;return null===e?b:null===b?e:[e,b]}},Te={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ue(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Te[a.type]:"textarea"===b?!0:!1}
|
22072 |
-
var Ve={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function We(a,b,c){a=E.getPooled(Ve.change,a,b,c);a.type="change";cb(c);Sc(a);return a}var Xe=null,Ye=null;function Ze(a){Ba(a)}function $e(a){var b=xe(a);if(zb(b))return a}function af(a,b){if("change"===a)return b}var bf=!1;Ya&&(bf=Rd("input")&&(!document.documentMode||9<document.documentMode));
|
22073 |
-
function cf(){Xe&&(Xe.detachEvent("onpropertychange",df),Ye=Xe=null)}function df(a){if("value"===a.propertyName&&$e(Ye))if(a=We(Ye,a,Mc(a)),ib)Ba(a);else{ib=!0;try{eb(Ze,a)}finally{ib=!1,kb()}}}function ef(a,b,c){"focus"===a?(cf(),Xe=b,Ye=c,Xe.attachEvent("onpropertychange",df)):"blur"===a&&cf()}function ff(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return $e(Ye)}function gf(a,b){if("click"===a)return $e(b)}function hf(a,b){if("input"===a||"change"===a)return $e(b)}
|
22074 |
-
var jf={eventTypes:Ve,_isInputEventSupported:bf,extractEvents:function(a,b,c,d){var e=b?xe(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=af;else if(Ue(e))if(bf)g=hf;else{g=ff;var h=ef}else(f=e.nodeName)&&"input"===f.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(g=gf);if(g&&(g=g(a,b)))return We(g,c,d);h&&h(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Fb(e,"number",e.value)}},kf={mouseEnter:{registrationName:"onMouseEnter",
|
22075 |
-
dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},lf,mf={eventTypes:kf,extractEvents:function(a,b,c,d,e){var f="mouseover"===a||"pointerover"===a,g="mouseout"===a||"pointerout"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;
|
22076 |
-
e=d.window===d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?Fc(b):null,null!==b&&(f=ec(b),b!==f||5!==b.tag&&6!==b.tag))b=null}else g=null;if(g===b)return null;if("mouseout"===a||"mouseover"===a){var h=nd;var k=kf.mouseLeave;var l=kf.mouseEnter;var m="mouse"}else if("pointerout"===a||"pointerover"===a)h=od,k=kf.pointerLeave,l=kf.pointerEnter,m="pointer";a=null==g?e:xe(g);e=null==b?e:xe(b);k=h.getPooled(k,g,c,d);k.type=m+"leave";k.target=
|
22077 |
-
a;k.relatedTarget=e;d=h.getPooled(l,b,c,d);d.type=m+"enter";d.target=e;d.relatedTarget=a;h=g;m=b;if(h&&m)a:{l=h;a=m;g=0;for(b=l;b;b=Nc(b))g++;b=0;for(e=a;e;e=Nc(e))b++;for(;0<g-b;)l=Nc(l),g--;for(;0<b-g;)a=Nc(a),b--;for(;g--;){if(l===a||l===a.alternate)break a;l=Nc(l);a=Nc(a)}l=null}else l=null;a=l;for(l=[];h&&h!==a;){g=h.alternate;if(null!==g&&g===a)break;l.push(h);h=Nc(h)}for(h=[];m&&m!==a;){g=m.alternate;if(null!==g&&g===a)break;h.push(m);m=Nc(m)}for(m=0;m<l.length;m++)Qc(l[m],"bubbled",k);for(m=
|
22078 |
-
h.length;0<m--;)Qc(h[m],"captured",d);if(c===lf)return lf=null,[k];lf=c;return[k,d]}};function nf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var of="function"===typeof Object.is?Object.is:nf,pf=Object.prototype.hasOwnProperty;function qf(a,b){if(of(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!pf.call(b,c[d])||!of(a[c[d]],b[c[d]]))return!1;return!0}
|
22079 |
-
var rf=Ya&&"documentMode"in document&&11>=document.documentMode,sf={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},tf=null,uf=null,vf=null,wf=!1;
|
22080 |
-
function xf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(wf||null==tf||tf!==be(c))return null;c=tf;"selectionStart"in c&&ge(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return vf&&qf(vf,c)?null:(vf=c,a=E.getPooled(sf.select,uf,a,b),a.type="select",a.target=tf,Sc(a),a)}
|
22081 |
-
var yf={eventTypes:sf,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=xc(e);f=ja.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?xe(b):window;switch(a){case "focus":if(Ue(e)||"true"===e.contentEditable)tf=e,uf=b,vf=null;break;case "blur":vf=uf=tf=null;break;case "mousedown":wf=!0;break;case "contextmenu":case "mouseup":case "dragend":return wf=!1,xf(c,d);case "selectionchange":if(rf)break;
|
22082 |
-
case "keydown":case "keyup":return xf(c,d)}return null}};Ca.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));var zf=Cc;sa=ye;ua=zf;va=xe;Ca.injectEventPluginsByName({SimpleEventPlugin:Ed,EnterLeaveEventPlugin:mf,ChangeEventPlugin:jf,SelectEventPlugin:yf,BeforeInputEventPlugin:Se});new Set;var Af=[],Bf=-1;function G(a){0>Bf||(a.current=Af[Bf],Af[Bf]=null,Bf--)}
|
22083 |
-
function I(a,b){Bf++;Af[Bf]=a.current;a.current=b}var Cf={},J={current:Cf},K={current:!1},Df=Cf;function Ef(a,b){var c=a.type.contextTypes;if(!c)return Cf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}
|
22084 |
-
function Ff(a){G(K,a);G(J,a)}function Gf(a){G(K,a);G(J,a)}function Hf(a,b,c){if(J.current!==Cf)throw Error(u(168));I(J,b,a);I(K,c,a)}function If(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,Wa(b)||"Unknown",e));return n({},c,{},d)}function Jf(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||Cf;Df=J.current;I(J,b,a);I(K,K.current,a);return!0}
|
22085 |
-
function Kf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(b=If(a,b,Df),d.__reactInternalMemoizedMergedChildContext=b,G(K,a),G(J,a),I(J,b,a)):G(K,a);I(K,c,a)}
|
22086 |
-
var Lf=q.unstable_runWithPriority,Mf=q.unstable_scheduleCallback,Nf=q.unstable_cancelCallback,Of=q.unstable_shouldYield,Pf=q.unstable_requestPaint,Qf=q.unstable_now,Rf=q.unstable_getCurrentPriorityLevel,Sf=q.unstable_ImmediatePriority,Tf=q.unstable_UserBlockingPriority,Uf=q.unstable_NormalPriority,Vf=q.unstable_LowPriority,Wf=q.unstable_IdlePriority,Xf={},Yf=void 0!==Pf?Pf:function(){},Zf=null,$f=null,ag=!1,bg=Qf(),cg=1E4>bg?Qf:function(){return Qf()-bg};
|
22087 |
-
function dg(){switch(Rf()){case Sf:return 99;case Tf:return 98;case Uf:return 97;case Vf:return 96;case Wf:return 95;default:throw Error(u(332));}}function eg(a){switch(a){case 99:return Sf;case 98:return Tf;case 97:return Uf;case 96:return Vf;case 95:return Wf;default:throw Error(u(332));}}function fg(a,b){a=eg(a);return Lf(a,b)}function gg(a,b,c){a=eg(a);return Mf(a,b,c)}function hg(a){null===Zf?(Zf=[a],$f=Mf(Sf,ig)):Zf.push(a);return Xf}function jg(){if(null!==$f){var a=$f;$f=null;Nf(a)}ig()}
|
22088 |
-
function ig(){if(!ag&&null!==Zf){ag=!0;var a=0;try{var b=Zf;fg(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});Zf=null}catch(c){throw null!==Zf&&(Zf=Zf.slice(a+1)),Mf(Sf,jg),c;}finally{ag=!1}}}var kg=3;function lg(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function mg(a,b){if(a&&a.defaultProps){b=n({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}var ng={current:null},og=null,pg=null,qg=null;function rg(){qg=pg=og=null}
|
22089 |
-
function sg(a,b){var c=a.type._context;I(ng,c._currentValue,a);c._currentValue=b}function tg(a){var b=ng.current;G(ng,a);a.type._context._currentValue=b}function ug(a,b){for(;null!==a;){var c=a.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return}}
|
22090 |
-
function vg(a,b){og=a;qg=pg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(wg=!0),a.firstContext=null)}function xg(a,b){if(qg!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)qg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===pg){if(null===og)throw Error(u(308));pg=b;og.dependencies={expirationTime:0,firstContext:b,responders:null}}else pg=pg.next=b}return a._currentValue}var yg=!1;
|
22091 |
-
function zg(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ag(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}
|
22092 |
-
function Bg(a,b){return{expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Cg(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}
|
22093 |
-
function Dg(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=zg(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=zg(a.memoizedState),e=c.updateQueue=zg(c.memoizedState)):d=a.updateQueue=Ag(e):null===e&&(e=c.updateQueue=Ag(d));null===e||d===e?Cg(d,b):null===d.lastUpdate||null===e.lastUpdate?(Cg(d,b),Cg(e,b)):(Cg(d,b),e.lastUpdate=b)}
|
22094 |
-
function Eg(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=zg(a.memoizedState):Fg(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function Fg(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=Ag(b));return b}
|
22095 |
-
function Gg(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&-4097|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return n({},d,e);case 2:yg=!0}return d}
|
22096 |
-
function Hg(a,b,c,d,e){yg=!1;b=Fg(a,b);for(var f=b.baseState,g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;m<e?(null===g&&(g=k,f=l),h<m&&(h=m)):(Ig(m,k.suspenseConfig),l=Gg(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k)));k=k.next}m=null;for(k=b.firstCapturedUpdate;null!==k;){var C=k.expirationTime;C<e?(null===m&&(m=k,null===g&&(f=l)),h<C&&(h=C)):(l=Gg(a,b,k,l,c,d),null!==
|
22097 |
-
k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k)));k=k.next}null===g&&(b.lastUpdate=null);null===m?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===m&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=m;Jg(h);a.expirationTime=h;a.memoizedState=l}
|
22098 |
-
function Kg(a,b,c){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),b.firstCapturedUpdate=b.lastCapturedUpdate=null);Lg(b.firstEffect,c);b.firstEffect=b.lastEffect=null;Lg(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function Lg(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;if("function"!==typeof c)throw Error(u(191,c));c.call(d)}a=a.nextEffect}}
|
22099 |
-
var Mg=Ea.ReactCurrentBatchConfig,Ng=(new aa.Component).refs;function Og(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:n({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}
|
22100 |
-
var Sg={isMounted:function(a){return(a=a._reactInternalFiber)?ec(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=Pg(),e=Mg.suspense;d=Qg(d,a,e);e=Bg(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Dg(a,e);Rg(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=Pg(),e=Mg.suspense;d=Qg(d,a,e);e=Bg(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Dg(a,e);Rg(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=Pg(),d=Mg.suspense;
|
22101 |
-
c=Qg(c,a,d);d=Bg(c,d);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);Dg(a,d);Rg(a,c)}};function Tg(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!qf(c,d)||!qf(e,f):!0}
|
22102 |
-
function Ug(a,b,c){var d=!1,e=Cf;var f=b.contextType;"object"===typeof f&&null!==f?f=xg(f):(e=L(b)?Df:J.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Ef(a,e):Cf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Sg;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}
|
22103 |
-
function Vg(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Sg.enqueueReplaceState(b,b.state,null)}
|
22104 |
-
function Wg(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Ng;var f=b.contextType;"object"===typeof f&&null!==f?e.context=xg(f):(f=L(b)?Df:J.current,e.context=Ef(a,f));f=a.updateQueue;null!==f&&(Hg(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(Og(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==
|
22105 |
-
typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Sg.enqueueReplaceState(e,e.state,null),f=a.updateQueue,null!==f&&(Hg(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}var Xg=Array.isArray;
|
22106 |
-
function Yg(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(u(309));var d=c.stateNode}if(!d)throw Error(u(147,a));var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Ng&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if("string"!==typeof a)throw Error(u(284));if(!c._owner)throw Error(u(290,a));}return a}
|
22107 |
-
function Zg(a,b){if("textarea"!==a.type)throw Error(u(31,"[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,""));}
|
22108 |
-
function $g(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=ah(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=
|
22109 |
-
2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=bh(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props,d),d.ref=Yg(a,b,c),d.return=a,d;d=ch(c.type,c.key,c.props,null,a.mode,d);d.ref=Yg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==
|
22110 |
-
c.implementation)return b=dh(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=eh(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function C(a,b,c){if("string"===typeof b||"number"===typeof b)return b=bh(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case Ga:return c=ch(b.type,b.key,b.props,null,a.mode,c),c.ref=Yg(a,null,b),c.return=a,c;case Ha:return b=dh(b,a.mode,c),b.return=a,b}if(Xg(b)||
|
22111 |
-
Ua(b))return b=eh(b,a.mode,c,null),b.return=a,b;Zg(a,b)}return null}function y(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case Ga:return c.key===e?c.type===Ia?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case Ha:return c.key===e?l(a,b,c,d):null}if(Xg(c)||Ua(c))return null!==e?null:m(a,b,c,d,null);Zg(a,c)}return null}function H(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=
|
22112 |
-
a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ga:return a=a.get(null===d.key?c:d.key)||null,d.type===Ia?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case Ha:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Xg(d)||Ua(d))return a=a.get(c)||null,m(b,a,d,e,null);Zg(b,d)}return null}function z(e,g,h,k){for(var l=null,m=null,r=g,x=g=0,A=null;null!==r&&x<h.length;x++){r.index>x?(A=r,r=null):A=r.sibling;var p=y(e,r,h[x],k);if(null===p){null===r&&(r=A);break}a&&
|
22113 |
-
r&&null===p.alternate&&b(e,r);g=f(p,g,x);null===m?l=p:m.sibling=p;m=p;r=A}if(x===h.length)return c(e,r),l;if(null===r){for(;x<h.length;x++)r=C(e,h[x],k),null!==r&&(g=f(r,g,x),null===m?l=r:m.sibling=r,m=r);return l}for(r=d(e,r);x<h.length;x++)A=H(r,e,x,h[x],k),null!==A&&(a&&null!==A.alternate&&r.delete(null===A.key?x:A.key),g=f(A,g,x),null===m?l=A:m.sibling=A,m=A);a&&r.forEach(function(a){return b(e,a)});return l}function ta(e,g,h,k){var l=Ua(h);if("function"!==typeof l)throw Error(u(150));h=l.call(h);
|
22114 |
-
if(null==h)throw Error(u(151));for(var m=l=null,r=g,x=g=0,A=null,p=h.next();null!==r&&!p.done;x++,p=h.next()){r.index>x?(A=r,r=null):A=r.sibling;var z=y(e,r,p.value,k);if(null===z){null===r&&(r=A);break}a&&r&&null===z.alternate&&b(e,r);g=f(z,g,x);null===m?l=z:m.sibling=z;m=z;r=A}if(p.done)return c(e,r),l;if(null===r){for(;!p.done;x++,p=h.next())p=C(e,p.value,k),null!==p&&(g=f(p,g,x),null===m?l=p:m.sibling=p,m=p);return l}for(r=d(e,r);!p.done;x++,p=h.next())p=H(r,e,x,p.value,k),null!==p&&(a&&null!==
|
22115 |
-
p.alternate&&r.delete(null===p.key?x:p.key),g=f(p,g,x),null===m?l=p:m.sibling=p,m=p);a&&r.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===Ia&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Ga:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===Ia:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===Ia?f.props.children:f.props,h);d.ref=Yg(a,k,f);d.return=a;a=d;break a}else{c(a,
|
22116 |
-
k);break}else b(a,k);k=k.sibling}f.type===Ia?(d=eh(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=ch(f.type,f.key,f.props,null,a.mode,h),h.ref=Yg(a,d,f),h.return=a,a=h)}return g(a);case Ha:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=dh(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===
|
22117 |
-
typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=bh(f,a.mode,h),d.return=a,a=d),g(a);if(Xg(f))return z(a,d,f,h);if(Ua(f))return ta(a,d,f,h);l&&Zg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||"Component"));}return c(a,d)}}var fh=$g(!0),gh=$g(!1),hh={},ih={current:hh},jh={current:hh},kh={current:hh};function lh(a){if(a===hh)throw Error(u(174));return a}
|
22118 |
-
function mh(a,b){I(kh,b,a);I(jh,a,a);I(ih,hh,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Qb(null,"");break;default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=Qb(b,c)}G(ih,a);I(ih,b,a)}function nh(a){G(ih,a);G(jh,a);G(kh,a)}function oh(a){lh(kh.current);var b=lh(ih.current);var c=Qb(b,a.type);b!==c&&(I(jh,a,a),I(ih,c,a))}function ph(a){jh.current===a&&(G(ih,a),G(jh,a))}var M={current:0};
|
22119 |
-
function qh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===je||c.data===ke))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function rh(a,b){return{responder:a,props:b}}
|
22120 |
-
var sh=Ea.ReactCurrentDispatcher,N=Ea.ReactCurrentBatchConfig,th=0,uh=null,O=null,vh=null,wh=null,P=null,xh=null,yh=0,zh=null,Ah=0,Bh=!1,Ch=null,Gh=0;function Q(){throw Error(u(321));}function Hh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!of(a[c],b[c]))return!1;return!0}
|
22121 |
-
function Ih(a,b,c,d,e,f){th=f;uh=b;vh=null!==a?a.memoizedState:null;sh.current=null===vh?Jh:Kh;b=c(d,e);if(Bh){do Bh=!1,Gh+=1,vh=null!==a?a.memoizedState:null,xh=wh,zh=P=O=null,sh.current=Kh,b=c(d,e);while(Bh);Ch=null;Gh=0}sh.current=Lh;a=uh;a.memoizedState=wh;a.expirationTime=yh;a.updateQueue=zh;a.effectTag|=Ah;a=null!==O&&null!==O.next;th=0;xh=P=wh=vh=O=uh=null;yh=0;zh=null;Ah=0;if(a)throw Error(u(300));return b}
|
22122 |
-
function Mh(){sh.current=Lh;th=0;xh=P=wh=vh=O=uh=null;yh=0;zh=null;Ah=0;Bh=!1;Ch=null;Gh=0}function Nh(){var a={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};null===P?wh=P=a:P=P.next=a;return P}function Oh(){if(null!==xh)P=xh,xh=P.next,O=vh,vh=null!==O?O.next:null;else{if(null===vh)throw Error(u(310));O=vh;var a={memoizedState:O.memoizedState,baseState:O.baseState,queue:O.queue,baseUpdate:O.baseUpdate,next:null};P=null===P?wh=a:P.next=a;vh=O.next}return P}
|
22123 |
-
function Ph(a,b){return"function"===typeof b?b(a):b}
|
22124 |
-
function Qh(a){var b=Oh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;if(0<Gh){var d=c.dispatch;if(null!==Ch){var e=Ch.get(c);if(void 0!==e){Ch.delete(c);var f=b.memoizedState;do f=a(f,e.action),e=e.next;while(null!==e);of(f,b.memoizedState)||(wg=!0);b.memoizedState=f;b.baseUpdate===c.last&&(b.baseState=f);c.lastRenderedState=f;return[f,d]}}return[b.memoizedState,d]}d=c.last;var g=b.baseUpdate;f=b.baseState;null!==g?(null!==d&&(d.next=null),d=g.next):d=null!==d?d.next:null;if(null!==
|
22125 |
-
d){var h=e=null,k=d,l=!1;do{var m=k.expirationTime;m<th?(l||(l=!0,h=g,e=f),m>yh&&(yh=m,Jg(yh))):(Ig(m,k.suspenseConfig),f=k.eagerReducer===a?k.eagerState:a(f,k.action));g=k;k=k.next}while(null!==k&&k!==d);l||(h=g,e=f);of(f,b.memoizedState)||(wg=!0);b.memoizedState=f;b.baseUpdate=h;b.baseState=e;c.lastRenderedState=f}return[b.memoizedState,c.dispatch]}
|
22126 |
-
function Rh(a){var b=Nh();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={last:null,dispatch:null,lastRenderedReducer:Ph,lastRenderedState:a};a=a.dispatch=Sh.bind(null,uh,a);return[b.memoizedState,a]}function Th(a){return Qh(Ph,a)}function Uh(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};null===zh?(zh={lastEffect:null},zh.lastEffect=a.next=a):(b=zh.lastEffect,null===b?zh.lastEffect=a.next=a:(c=b.next,b.next=a,a.next=c,zh.lastEffect=a));return a}
|
22127 |
-
function Vh(a,b,c,d){var e=Nh();Ah|=a;e.memoizedState=Uh(b,c,void 0,void 0===d?null:d)}function Wh(a,b,c,d){var e=Oh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&Hh(d,g.deps)){Uh(0,c,f,d);return}}Ah|=a;e.memoizedState=Uh(b,c,f,d)}function Xh(a,b){return Vh(516,192,a,b)}function Yh(a,b){return Wh(516,192,a,b)}
|
22128 |
-
function Zh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function $h(){}function ai(a,b){Nh().memoizedState=[a,void 0===b?null:b];return a}function bi(a,b){var c=Oh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Hh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
|
22129 |
-
function Sh(a,b,c){if(!(25>Gh))throw Error(u(301));var d=a.alternate;if(a===uh||null!==d&&d===uh)if(Bh=!0,a={expirationTime:th,suspenseConfig:null,action:c,eagerReducer:null,eagerState:null,next:null},null===Ch&&(Ch=new Map),c=Ch.get(b),void 0===c)Ch.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}else{var e=Pg(),f=Mg.suspense;e=Qg(e,a,f);f={expirationTime:e,suspenseConfig:f,action:c,eagerReducer:null,eagerState:null,next:null};var g=b.last;if(null===g)f.next=f;else{var h=g.next;null!==h&&
|
22130 |
-
(f.next=h);g.next=f}b.last=f;if(0===a.expirationTime&&(null===d||0===d.expirationTime)&&(d=b.lastRenderedReducer,null!==d))try{var k=b.lastRenderedState,l=d(k,c);f.eagerReducer=d;f.eagerState=l;if(of(l,k))return}catch(m){}finally{}Rg(a,e)}}
|
22131 |
-
var Lh={readContext:xg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useResponder:Q,useDeferredValue:Q,useTransition:Q},Jh={readContext:xg,useCallback:ai,useContext:xg,useEffect:Xh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Vh(4,36,Zh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Vh(4,36,a,b)},useMemo:function(a,b){var c=Nh();b=void 0===b?null:b;a=a();c.memoizedState=
|
22132 |
-
[a,b];return a},useReducer:function(a,b,c){var d=Nh();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={last:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=Sh.bind(null,uh,a);return[d.memoizedState,a]},useRef:function(a){var b=Nh();a={current:a};return b.memoizedState=a},useState:Rh,useDebugValue:$h,useResponder:rh,useDeferredValue:function(a,b){var c=Rh(a),d=c[0],e=c[1];Xh(function(){q.unstable_next(function(){var c=N.suspense;N.suspense=void 0===b?null:b;try{e(a)}finally{N.suspense=
|
22133 |
-
c}})},[a,b]);return d},useTransition:function(a){var b=Rh(!1),c=b[0],d=b[1];return[ai(function(b){d(!0);q.unstable_next(function(){var c=N.suspense;N.suspense=void 0===a?null:a;try{d(!1),b()}finally{N.suspense=c}})},[a,c]),c]}},Kh={readContext:xg,useCallback:bi,useContext:xg,useEffect:Yh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Wh(4,36,Zh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Wh(4,36,a,b)},useMemo:function(a,b){var c=Oh();b=void 0===b?
|
22134 |
-
null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Hh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a},useReducer:Qh,useRef:function(){return Oh().memoizedState},useState:Th,useDebugValue:$h,useResponder:rh,useDeferredValue:function(a,b){var c=Th(a),d=c[0],e=c[1];Yh(function(){q.unstable_next(function(){var c=N.suspense;N.suspense=void 0===b?null:b;try{e(a)}finally{N.suspense=c}})},[a,b]);return d},useTransition:function(a){var b=Th(!1),c=b[0],d=b[1];return[bi(function(b){d(!0);q.unstable_next(function(){var c=
|
22135 |
-
N.suspense;N.suspense=void 0===a?null:a;try{d(!1),b()}finally{N.suspense=c}})},[a,c]),c]}},ci=null,di=null,ei=!1;function fi(a,b){var c=gi(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}
|
22136 |
-
function hi(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}
|
22137 |
-
function ii(a){if(ei){var b=di;if(b){var c=b;if(!hi(a,b)){b=re(c.nextSibling);if(!b||!hi(a,b)){a.effectTag=a.effectTag&-1025|2;ei=!1;ci=a;return}fi(ci,c)}ci=a;di=re(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,ei=!1,ci=a}}function ji(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ci=a}
|
22138 |
-
function ki(a){if(a!==ci)return!1;if(!ei)return ji(a),ei=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!oe(b,a.memoizedProps))for(b=di;b;)fi(a,b),b=re(b.nextSibling);ji(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===ie){if(0===b){di=re(a.nextSibling);break a}b--}else c!==he&&c!==ke&&c!==je||b++}a=a.nextSibling}di=null}}else di=ci?re(a.stateNode.nextSibling):null;return!0}
|
22139 |
-
function li(){di=ci=null;ei=!1}var mi=Ea.ReactCurrentOwner,wg=!1;function R(a,b,c,d){b.child=null===a?gh(b,null,c,d):fh(b,a.child,c,d)}function ni(a,b,c,d,e){c=c.render;var f=b.ref;vg(b,e);d=Ih(a,b,c,d,f,e);if(null!==a&&!wg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),oi(a,b,e);b.effectTag|=1;R(a,b,d,e);return b.child}
|
22140 |
-
function pi(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!qi(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ri(a,b,g,d,e,f);a=ch(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:qf,c(e,d)&&a.ref===b.ref))return oi(a,b,f);b.effectTag|=1;a=ah(g,d,f);a.ref=b.ref;a.return=b;return b.child=a}
|
22141 |
-
function ri(a,b,c,d,e,f){return null!==a&&qf(a.memoizedProps,d)&&a.ref===b.ref&&(wg=!1,e<f)?oi(a,b,f):si(a,b,c,d,f)}function ti(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function si(a,b,c,d,e){var f=L(c)?Df:J.current;f=Ef(b,f);vg(b,e);c=Ih(a,b,c,d,f,e);if(null!==a&&!wg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),oi(a,b,e);b.effectTag|=1;R(a,b,c,e);return b.child}
|
22142 |
-
function ui(a,b,c,d,e){if(L(c)){var f=!0;Jf(b)}else f=!1;vg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Ug(b,c,d,e),Wg(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=xg(l):(l=L(c)?Df:J.current,l=Ef(b,l));var m=c.getDerivedStateFromProps,C="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;C||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
|
22143 |
-
"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Vg(b,g,d,l);yg=!1;var y=b.memoizedState;k=g.state=y;var H=b.updateQueue;null!==H&&(Hg(b,H,d,g,e),k=b.memoizedState);h!==d||y!==k||K.current||yg?("function"===typeof m&&(Og(b,c,m,d),k=b.memoizedState),(h=yg||Tg(b,c,h,d,y,k,l))?(C||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&
|
22144 |
-
g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=b.type===b.elementType?h:mg(b.type,h),k=g.context,l=c.contextType,"object"===typeof l&&null!==l?l=xg(l):(l=L(c)?Df:J.current,l=Ef(b,l)),m=c.getDerivedStateFromProps,(C=
|
22145 |
-
"function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Vg(b,g,d,l),yg=!1,k=b.memoizedState,y=g.state=k,H=b.updateQueue,null!==H&&(Hg(b,H,d,g,e),y=b.memoizedState),h!==d||k!==y||K.current||yg?("function"===typeof m&&(Og(b,c,m,d),y=b.memoizedState),(m=yg||Tg(b,c,h,d,k,y,l))?(C||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||
|
22146 |
-
("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,y,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,y,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=
|
22147 |
-
d,b.memoizedState=y),g.props=d,g.state=y,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return vi(a,b,c,d,f,e)}
|
22148 |
-
function vi(a,b,c,d,e,f){ti(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Kf(b,c,!1),oi(a,b,f);d=b.stateNode;mi.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=fh(b,a.child,null,f),b.child=fh(b,null,h,f)):R(a,b,h,f);b.memoizedState=d.state;e&&Kf(b,c,!0);return b.child}function wi(a){var b=a.stateNode;b.pendingContext?Hf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Hf(a,b.context,!1);mh(a,b.containerInfo)}
|
22149 |
-
var xi={dehydrated:null,retryTime:0};
|
22150 |
-
function yi(a,b,c){var d=b.mode,e=b.pendingProps,f=M.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===a.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);I(M,f&1,b);if(null===a){void 0!==e.fallback&&ii(b);if(g){g=e.fallback;e=eh(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=eh(g,d,c,null);c.return=
|
22151 |
-
b;e.sibling=c;b.memoizedState=xi;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=gh(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;c=ah(a,a.pendingProps,0);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=ah(d,e,d.expirationTime);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=xi;b.child=c;return d}c=fh(b,a.child,e.children,c);b.memoizedState=
|
22152 |
-
null;return b.child=c}a=a.child;if(g){g=e.fallback;e=eh(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=eh(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=xi;b.child=e;return c}b.memoizedState=null;return b.child=fh(b,a,e.children,c)}
|
22153 |
-
function zi(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);ug(a.return,b)}function Ai(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,last:d,tail:c,tailExpiration:0,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f)}
|
22154 |
-
function Bi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;R(a,b,d.children,c);d=M.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else{if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&zi(a,c);else if(19===a.tag)zi(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}I(M,d,b);if(0===(b.mode&2))b.memoizedState=
|
22155 |
-
null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===qh(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Ai(b,!1,e,c,f,b.lastEffect);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===qh(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Ai(b,!0,c,null,f,b.lastEffect);break;case "together":Ai(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}
|
22156 |
-
function oi(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Jg(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(u(153));if(null!==b.child){a=b.child;c=ah(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=ah(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function Ci(a){a.effectTag|=4}var Hi,Ii,Ji,Ki;
|
22157 |
-
Hi=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Ii=function(){};
|
22158 |
-
Ji=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;lh(ih.current);a=null;switch(c){case "input":f=Ab(g,f);d=Ab(g,d);a=[];break;case "option":f=Ib(g,f);d=Ib(g,d);a=[];break;case "select":f=n({},f,{value:void 0});d=n({},d,{value:void 0});a=[];break;case "textarea":f=Kb(g,f);d=Kb(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=ae)}Yd(c,d);var h,k;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if("style"===
|
22159 |
-
h)for(k in g=f[h],g)g.hasOwnProperty(k)&&(c||(c={}),c[k]="");else"dangerouslySetInnerHTML"!==h&&"children"!==h&&"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(ia.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var l=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&l!==g&&(null!=l||null!=g))if("style"===h)if(g){for(k in g)!g.hasOwnProperty(k)||l&&l.hasOwnProperty(k)||(c||(c={}),c[k]="");for(k in l)l.hasOwnProperty(k)&&g[k]!==l[k]&&(c||(c={}),
|
22160 |
-
c[k]=l[k])}else c||(a||(a=[]),a.push(h,c)),c=l;else"dangerouslySetInnerHTML"===h?(l=l?l.__html:void 0,g=g?g.__html:void 0,null!=l&&g!==l&&(a=a||[]).push(h,""+l)):"children"===h?g===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(h,""+l):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&(ia.hasOwnProperty(h)?(null!=l&&$d(e,h),a||g===l||(a=[])):(a=a||[]).push(h,l))}c&&(a=a||[]).push("style",c);e=a;(b.updateQueue=e)&&Ci(b)}};Ki=function(a,b,c,d){c!==d&&Ci(b)};
|
22161 |
-
function Li(a,b){switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}
|
22162 |
-
function Mi(a){switch(a.tag){case 1:L(a.type)&&Ff(a);var b=a.effectTag;return b&4096?(a.effectTag=b&-4097|64,a):null;case 3:nh(a);Gf(a);b=a.effectTag;if(0!==(b&64))throw Error(u(285));a.effectTag=b&-4097|64;return a;case 5:return ph(a),null;case 13:return G(M,a),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return G(M,a),null;case 4:return nh(a),null;case 10:return tg(a),null;default:return null}}function Ni(a,b){return{value:a,source:b,stack:Xa(b)}}
|
22163 |
-
var Oi="function"===typeof WeakSet?WeakSet:Set;function Pi(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=Xa(c));null!==c&&Wa(c.type);b=b.value;null!==a&&1===a.tag&&Wa(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Qi(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Ri(a,c)}}function Si(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Ri(a,c)}else b.current=null}
|
22164 |
-
function Ti(a,b){switch(b.tag){case 0:case 11:case 15:Ui(2,0,b);break;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:mg(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(u(163));}}
|
22165 |
-
function Ui(a,b,c){c=c.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if(0!==(d.tag&a)){var e=d.destroy;d.destroy=void 0;void 0!==e&&e()}0!==(d.tag&b)&&(e=d.create,d.destroy=e());d=d.next}while(d!==c)}}
|
22166 |
-
function Vi(a,b,c){"function"===typeof Wi&&Wi(b);switch(b.tag){case 0:case 11:case 14:case 15:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;fg(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){Ri(g,h)}}a=a.next}while(a!==d)})}break;case 1:Si(b);c=b.stateNode;"function"===typeof c.componentWillUnmount&&Qi(b,c);break;case 5:Si(b);break;case 4:Xi(a,b,c)}}
|
22167 |
-
function Yi(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;null!==b&&Yi(b)}function Zi(a){return 5===a.tag||3===a.tag||4===a.tag}
|
22168 |
-
function $i(a){a:{for(var b=a.return;null!==b;){if(Zi(b)){var c=b;break a}b=b.return}throw Error(u(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(u(161));}c.effectTag&16&&(Tb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Zi(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;
|
22169 |
-
if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){var f=5===e.tag||6===e.tag;if(f){var g=f?e.stateNode:e.stateNode.instance;if(c)if(d){f=b;var h=g;g=c;8===f.nodeType?f.parentNode.insertBefore(h,g):f.insertBefore(h,g)}else b.insertBefore(g,c);else d?(h=b,8===h.nodeType?(f=h.parentNode,f.insertBefore(g,h)):(f=h,f.appendChild(g)),h=h._reactRootContainer,null!==h&&void 0!==h||null!==f.onclick||(f.onclick=ae)):b.appendChild(g)}else if(4!==
|
22170 |
-
e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}
|
22171 |
-
function Xi(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(u(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=a,k=d,l=c,m=k;;)if(Vi(h,m,l),null!==m.child&&4!==m.tag)m.child.return=m,m=m.child;else{if(m===k)break;for(;null===m.sibling;){if(null===m.return||m.return===k)break a;m=m.return}m.sibling.return=m.return;m=m.sibling}g?(h=
|
22172 |
-
f,k=d.stateNode,8===h.nodeType?h.parentNode.removeChild(k):h.removeChild(k)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Vi(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===b)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}
|
22173 |
-
function aj(a,b){switch(b.tag){case 0:case 11:case 14:case 15:Ui(4,8,b);break;case 1:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[ve]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Cb(c,d);Zd(a,e);b=Zd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?Wd(c,h):"dangerouslySetInnerHTML"===g?Sb(c,h):"children"===g?Tb(c,h):vb(c,g,h,b)}switch(a){case "input":Eb(c,d);break;case "textarea":Mb(c,
|
22174 |
-
d);break;case "select":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?Jb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?Jb(c,!!d.multiple,d.defaultValue,!0):Jb(c,!!d.multiple,d.multiple?[]:"",!1))}}}break;case 6:if(null===b.stateNode)throw Error(u(162));b.stateNode.nodeValue=b.memoizedProps;break;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,Lc(b.containerInfo));break;case 12:break;case 13:c=b;null===b.memoizedState?d=!1:(d=!0,c=b.child,bj=cg());
|
22175 |
-
if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,"function"===typeof f.setProperty?f.setProperty("display","none","important"):f.display="none"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty("display")?e.display:null,f.style.display=Vd("display",e));else if(6===a.tag)a.stateNode.nodeValue=d?"":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=f;continue}else if(null!==a.child){a.child.return=
|
22176 |
-
a;a=a.child;continue}if(a===c)break a;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}cj(b);break;case 19:cj(b);break;case 17:break;case 20:break;case 21:break;default:throw Error(u(163));}}function cj(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Oi);b.forEach(function(b){var d=dj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}var ej="function"===typeof WeakMap?WeakMap:Map;
|
22177 |
-
function fj(a,b,c){c=Bg(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){gj||(gj=!0,hj=d);Pi(a,b)};return c}
|
22178 |
-
function ij(a,b,c){c=Bg(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){Pi(a,b);return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===jj?jj=new Set([this]):jj.add(this),Pi(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""})});return c}
|
22179 |
-
var kj=Math.ceil,lj=Ea.ReactCurrentDispatcher,mj=Ea.ReactCurrentOwner,S=0,nj=8,oj=16,pj=32,qj=0,rj=1,sj=2,tj=3,uj=4,vj=5,T=S,U=null,V=null,W=0,X=qj,wj=null,xj=1073741823,yj=1073741823,zj=null,Aj=0,Bj=!1,bj=0,Cj=500,Y=null,gj=!1,hj=null,jj=null,Dj=!1,Ej=null,Fj=90,Gj=null,Hj=0,Ij=null,Jj=0;function Pg(){return(T&(oj|pj))!==S?1073741821-(cg()/10|0):0!==Jj?Jj:Jj=1073741821-(cg()/10|0)}
|
22180 |
-
function Qg(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=dg();if(0===(b&4))return 99===d?1073741823:1073741822;if((T&oj)!==S)return W;if(null!==c)a=lg(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=lg(a,150,100);break;case 97:case 96:a=lg(a,5E3,250);break;case 95:a=2;break;default:throw Error(u(326));}null!==U&&a===W&&--a;return a}
|
22181 |
-
function Rg(a,b){if(50<Hj)throw Hj=0,Ij=null,Error(u(185));a=Kj(a,b);if(null!==a){var c=dg();1073741823===b?(T&nj)!==S&&(T&(oj|pj))===S?Lj(a):(Z(a),T===S&&jg()):Z(a);(T&4)===S||98!==c&&99!==c||(null===Gj?Gj=new Map([[a,b]]):(c=Gj.get(a),(void 0===c||c>b)&&Gj.set(a,b)))}}
|
22182 |
-
function Kj(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&(U===e&&(Jg(b),X===uj&&Mj(e,W)),Nj(e,b));return e}
|
22183 |
-
function Oj(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Pj(a,b))return b;b=a.lastPingedTime;a=a.nextKnownPendingLevel;return b>a?b:a}
|
22184 |
-
function Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=hg(Lj.bind(null,a));else{var b=Oj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=Pg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Xf&&Nf(c)}a.callbackExpirationTime=
|
22185 |
-
b;a.callbackPriority=d;b=1073741823===b?hg(Lj.bind(null,a)):gg(d,Qj.bind(null,a),{timeout:10*(1073741821-b)-cg()});a.callbackNode=b}}}
|
22186 |
-
function Qj(a,b){Jj=0;if(b)return b=Pg(),Rj(a,b),Z(a),null;var c=Oj(a);if(0!==c){b=a.callbackNode;if((T&(oj|pj))!==S)throw Error(u(327));Sj();a===U&&c===W||Tj(a,c);if(null!==V){var d=T;T|=oj;var e=Uj(a);do try{Vj();break}catch(h){Wj(a,h)}while(1);rg();T=d;lj.current=e;if(X===rj)throw b=wj,Tj(a,c),Mj(a,c),Z(a),b;if(null===V)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=X,U=null,d){case qj:case rj:throw Error(u(345));case sj:Rj(a,2<c?2:c);break;case tj:Mj(a,c);d=a.lastSuspendedTime;
|
22187 |
-
c===d&&(a.nextKnownPendingLevel=Xj(e));if(1073741823===xj&&(e=bj+Cj-cg(),10<e)){if(Bj){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=c;Tj(a,c);break}}f=Oj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=pe(Yj.bind(null,a),e);break}Yj(a);break;case uj:Mj(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Xj(e));if(Bj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Tj(a,c);break}e=Oj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=
|
22188 |
-
d;break}1073741823!==yj?d=10*(1073741821-yj)-cg():1073741823===xj?d=0:(d=10*(1073741821-xj)-5E3,e=cg(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*kj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=pe(Yj.bind(null,a),d);break}Yj(a);break;case vj:if(1073741823!==xj&&null!==zj){f=xj;var g=zj;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=cg()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){Mj(a,c);a.timeoutHandle=
|
22189 |
-
pe(Yj.bind(null,a),d);break}}Yj(a);break;default:throw Error(u(329));}Z(a);if(a.callbackNode===b)return Qj.bind(null,a)}}return null}
|
22190 |
-
function Lj(a){var b=a.lastExpiredTime;b=0!==b?b:1073741823;if(a.finishedExpirationTime===b)Yj(a);else{if((T&(oj|pj))!==S)throw Error(u(327));Sj();a===U&&b===W||Tj(a,b);if(null!==V){var c=T;T|=oj;var d=Uj(a);do try{Zj();break}catch(e){Wj(a,e)}while(1);rg();T=c;lj.current=d;if(X===rj)throw c=wj,Tj(a,b),Mj(a,b),Z(a),c;if(null!==V)throw Error(u(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;U=null;Yj(a);Z(a)}}return null}
|
22191 |
-
function ak(){if(null!==Gj){var a=Gj;Gj=null;a.forEach(function(a,c){Rj(c,a);Z(c)});jg()}}function bk(a,b){var c=T;T|=1;try{return a(b)}finally{T=c,T===S&&jg()}}function ck(a,b){var c=T;T&=-2;T|=nj;try{return a(b)}finally{T=c,T===S&&jg()}}
|
22192 |
-
function Tj(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,qe(c));if(null!==V)for(c=V.return;null!==c;){var d=c;switch(d.tag){case 1:var e=d.type.childContextTypes;null!==e&&void 0!==e&&Ff(d);break;case 3:nh(d);Gf(d);break;case 5:ph(d);break;case 4:nh(d);break;case 13:G(M,d);break;case 19:G(M,d);break;case 10:tg(d)}c=c.return}U=a;V=ah(a.current,null,b);W=b;X=qj;wj=null;yj=xj=1073741823;zj=null;Aj=0;Bj=!1}
|
22193 |
-
function Wj(a,b){do{try{rg();Mh();if(null===V||null===V.return)return X=rj,wj=b,null;a:{var c=a,d=V.return,e=V,f=b;b=W;e.effectTag|=2048;e.firstEffect=e.lastEffect=null;if(null!==f&&"object"===typeof f&&"function"===typeof f.then){var g=f,h=0!==(M.current&1),k=d;do{var l;if(l=13===k.tag){var m=k.memoizedState;if(null!==m)l=null!==m.dehydrated?!0:!1;else{var C=k.memoizedProps;l=void 0===C.fallback?!1:!0!==C.unstable_avoidThisFallback?!0:h?!1:!0}}if(l){var y=k.updateQueue;if(null===y){var H=new Set;
|
22194 |
-
H.add(g);k.updateQueue=H}else y.add(g);if(0===(k.mode&2)){k.effectTag|=64;e.effectTag&=-2981;if(1===e.tag)if(null===e.alternate)e.tag=17;else{var z=Bg(1073741823,null);z.tag=2;Dg(e,z)}e.expirationTime=1073741823;break a}f=void 0;e=b;var ta=c.pingCache;null===ta?(ta=c.pingCache=new ej,f=new Set,ta.set(g,f)):(f=ta.get(g),void 0===f&&(f=new Set,ta.set(g,f)));if(!f.has(e)){f.add(e);var r=dk.bind(null,c,g,e);g.then(r,r)}k.effectTag|=4096;k.expirationTime=b;break a}k=k.return}while(null!==k);f=Error((Wa(e.type)||
|
22195 |
-
"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Xa(e))}X!==vj&&(X=sj);f=Ni(f,e);k=d;do{switch(k.tag){case 3:g=f;k.effectTag|=4096;k.expirationTime=b;var x=fj(k,g,b);Eg(k,x);break a;case 1:g=f;var A=k.type,p=k.stateNode;if(0===(k.effectTag&64)&&("function"===typeof A.getDerivedStateFromError||null!==p&&"function"===typeof p.componentDidCatch&&
|
22196 |
-
(null===jj||!jj.has(p)))){k.effectTag|=4096;k.expirationTime=b;var t=ij(k,g,b);Eg(k,t);break a}}k=k.return}while(null!==k)}V=ek(V)}catch(v){b=v;continue}break}while(1)}function Uj(){var a=lj.current;lj.current=Lh;return null===a?Lh:a}function Ig(a,b){a<xj&&2<a&&(xj=a);null!==b&&a<yj&&2<a&&(yj=a,zj=b)}function Jg(a){a>Aj&&(Aj=a)}function Zj(){for(;null!==V;)V=fk(V)}function Vj(){for(;null!==V&&!Of();)V=fk(V)}
|
22197 |
-
function fk(a){var b=gk(a.alternate,a,W);a.memoizedProps=a.pendingProps;null===b&&(b=ek(a));mj.current=null;return b}
|
22198 |
-
function ek(a){V=a;do{var b=V.alternate;a=V.return;if(0===(V.effectTag&2048)){a:{var c=b;b=V;var d=W;var e=b.pendingProps;switch(b.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:L(b.type)&&Ff(b);break;case 3:nh(b);Gf(b);e=b.stateNode;e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null);(null===c||null===c.child)&&ki(b)&&Ci(b);Ii(b);break;case 5:ph(b);d=lh(kh.current);var f=b.type;if(null!==c&&null!=b.stateNode)Ji(c,b,f,e,d),c.ref!==b.ref&&(b.effectTag|=128);else if(e){var g=
|
22199 |
-
lh(ih.current);if(ki(b)){e=b;var h=e.stateNode;c=e.type;var k=e.memoizedProps,l=d;h[ue]=e;h[ve]=k;f=void 0;d=h;switch(c){case "iframe":case "object":case "embed":F("load",d);break;case "video":case "audio":for(h=0;h<cc.length;h++)F(cc[h],d);break;case "source":F("error",d);break;case "img":case "image":case "link":F("error",d);F("load",d);break;case "form":F("reset",d);F("submit",d);break;case "details":F("toggle",d);break;case "input":Bb(d,k);F("invalid",d);$d(l,"onChange");break;case "select":d._wrapperState=
|
22200 |
-
{wasMultiple:!!k.multiple};F("invalid",d);$d(l,"onChange");break;case "textarea":Lb(d,k),F("invalid",d),$d(l,"onChange")}Yd(c,k);h=null;for(f in k)k.hasOwnProperty(f)&&(g=k[f],"children"===f?"string"===typeof g?d.textContent!==g&&(h=["children",g]):"number"===typeof g&&d.textContent!==""+g&&(h=["children",""+g]):ia.hasOwnProperty(f)&&null!=g&&$d(l,f));switch(c){case "input":yb(d);Gb(d,k,!0);break;case "textarea":yb(d);Nb(d,k);break;case "select":case "option":break;default:"function"===typeof k.onClick&&
|
22201 |
-
(d.onclick=ae)}f=h;e.updateQueue=f;e=null!==f?!0:!1;e&&Ci(b)}else{c=b;l=f;k=e;h=9===d.nodeType?d:d.ownerDocument;g===Ob.html&&(g=Pb(l));g===Ob.html?"script"===l?(k=h.createElement("div"),k.innerHTML="<script>\x3c/script>",h=k.removeChild(k.firstChild)):"string"===typeof k.is?h=h.createElement(l,{is:k.is}):(h=h.createElement(l),"select"===l&&(l=h,k.multiple?l.multiple=!0:k.size&&(l.size=k.size))):h=h.createElementNS(g,l);k=h;k[ue]=c;k[ve]=e;Hi(k,b,!1,!1);b.stateNode=k;l=f;c=e;var m=d,C=Zd(l,c);switch(l){case "iframe":case "object":case "embed":F("load",
|
22202 |
-
k);d=c;break;case "video":case "audio":for(d=0;d<cc.length;d++)F(cc[d],k);d=c;break;case "source":F("error",k);d=c;break;case "img":case "image":case "link":F("error",k);F("load",k);d=c;break;case "form":F("reset",k);F("submit",k);d=c;break;case "details":F("toggle",k);d=c;break;case "input":Bb(k,c);d=Ab(k,c);F("invalid",k);$d(m,"onChange");break;case "option":d=Ib(k,c);break;case "select":k._wrapperState={wasMultiple:!!c.multiple};d=n({},c,{value:void 0});F("invalid",k);$d(m,"onChange");break;case "textarea":Lb(k,
|
22203 |
-
c);d=Kb(k,c);F("invalid",k);$d(m,"onChange");break;default:d=c}Yd(l,d);h=void 0;g=l;var y=k,H=d;for(h in H)if(H.hasOwnProperty(h)){var z=H[h];"style"===h?Wd(y,z):"dangerouslySetInnerHTML"===h?(z=z?z.__html:void 0,null!=z&&Sb(y,z)):"children"===h?"string"===typeof z?("textarea"!==g||""!==z)&&Tb(y,z):"number"===typeof z&&Tb(y,""+z):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(ia.hasOwnProperty(h)?null!=z&&$d(m,h):null!=z&&vb(y,h,z,C))}switch(l){case "input":yb(k);
|
22204 |
-
Gb(k,c,!1);break;case "textarea":yb(k);Nb(k,c);break;case "option":null!=c.value&&k.setAttribute("value",""+ub(c.value));break;case "select":d=k;d.multiple=!!c.multiple;k=c.value;null!=k?Jb(d,!!c.multiple,k,!1):null!=c.defaultValue&&Jb(d,!!c.multiple,c.defaultValue,!0);break;default:"function"===typeof d.onClick&&(k.onclick=ae)}(e=ne(f,e))&&Ci(b)}null!==b.ref&&(b.effectTag|=128)}else if(null===b.stateNode)throw Error(u(166));break;case 6:if(c&&null!=b.stateNode)Ki(c,b,c.memoizedProps,e);else{if("string"!==
|
22205 |
-
typeof e&&null===b.stateNode)throw Error(u(166));d=lh(kh.current);lh(ih.current);ki(b)?(e=b,f=e.stateNode,d=e.memoizedProps,f[ue]=e,(e=f.nodeValue!==d)&&Ci(b)):(f=b,e=(9===d.nodeType?d:d.ownerDocument).createTextNode(e),e[ue]=f,b.stateNode=e)}break;case 11:break;case 13:G(M,b);e=b.memoizedState;if(0!==(b.effectTag&64)){b.expirationTime=d;break a}e=null!==e;f=!1;null===c?void 0!==b.memoizedProps.fallback&&ki(b):(d=c.memoizedState,f=null!==d,e||null===d||(d=c.child.sibling,null!==d&&(k=b.firstEffect,
|
22206 |
-
null!==k?(b.firstEffect=d,d.nextEffect=k):(b.firstEffect=b.lastEffect=d,d.nextEffect=null),d.effectTag=8)));if(e&&!f&&0!==(b.mode&2))if(null===c&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(M.current&1))X===qj&&(X=tj);else{if(X===qj||X===tj)X=uj;0!==Aj&&null!==U&&(Mj(U,W),Nj(U,Aj))}if(e||f)b.effectTag|=4;break;case 7:break;case 8:break;case 12:break;case 4:nh(b);Ii(b);break;case 10:tg(b);break;case 9:break;case 14:break;case 17:L(b.type)&&Ff(b);break;case 19:G(M,b);e=b.memoizedState;if(null===
|
22207 |
-
e)break;f=0!==(b.effectTag&64);k=e.rendering;if(null===k)if(f)Li(e,!1);else{if(X!==qj||null!==c&&0!==(c.effectTag&64))for(c=b.child;null!==c;){k=qh(c);if(null!==k){b.effectTag|=64;Li(e,!1);f=k.updateQueue;null!==f&&(b.updateQueue=f,b.effectTag|=4);null===e.lastEffect&&(b.firstEffect=null);b.lastEffect=e.lastEffect;e=d;for(f=b.child;null!==f;)d=f,c=e,d.effectTag&=2,d.nextEffect=null,d.firstEffect=null,d.lastEffect=null,k=d.alternate,null===k?(d.childExpirationTime=0,d.expirationTime=c,d.child=null,
|
22208 |
-
d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null):(d.childExpirationTime=k.childExpirationTime,d.expirationTime=k.expirationTime,d.child=k.child,d.memoizedProps=k.memoizedProps,d.memoizedState=k.memoizedState,d.updateQueue=k.updateQueue,c=k.dependencies,d.dependencies=null===c?null:{expirationTime:c.expirationTime,firstContext:c.firstContext,responders:c.responders}),f=f.sibling;I(M,M.current&1|2,b);b=b.child;break a}c=c.sibling}}else{if(!f)if(c=qh(k),null!==c){if(b.effectTag|=
|
22209 |
-
64,f=!0,d=c.updateQueue,null!==d&&(b.updateQueue=d,b.effectTag|=4),Li(e,!0),null===e.tail&&"hidden"===e.tailMode&&!k.alternate){b=b.lastEffect=e.lastEffect;null!==b&&(b.nextEffect=null);break}}else cg()>e.tailExpiration&&1<d&&(b.effectTag|=64,f=!0,Li(e,!1),b.expirationTime=b.childExpirationTime=d-1);e.isBackwards?(k.sibling=b.child,b.child=k):(d=e.last,null!==d?d.sibling=k:b.child=k,e.last=k)}if(null!==e.tail){0===e.tailExpiration&&(e.tailExpiration=cg()+500);d=e.tail;e.rendering=d;e.tail=d.sibling;
|
22210 |
-
e.lastEffect=b.lastEffect;d.sibling=null;e=M.current;e=f?e&1|2:e&1;I(M,e,b);b=d;break a}break;case 20:break;case 21:break;default:throw Error(u(156,b.tag));}b=null}e=V;if(1===W||1!==e.childExpirationTime){f=0;for(d=e.child;null!==d;)c=d.expirationTime,k=d.childExpirationTime,c>f&&(f=c),k>f&&(f=k),d=d.sibling;e.childExpirationTime=f}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=V.firstEffect),null!==V.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=
|
22211 |
-
V.firstEffect),a.lastEffect=V.lastEffect),1<V.effectTag&&(null!==a.lastEffect?a.lastEffect.nextEffect=V:a.firstEffect=V,a.lastEffect=V))}else{b=Mi(V,W);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=2048)}b=V.sibling;if(null!==b)return b;V=a}while(null!==V);X===qj&&(X=vj);return null}function Xj(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function Yj(a){var b=dg();fg(99,ik.bind(null,a,b));return null}
|
22212 |
-
function ik(a,b){do Sj();while(null!==Ej);if((T&(oj|pj))!==S)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Xj(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=
|
22213 |
-
d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(V=U=null,W=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=T;T|=pj;mj.current=null;le=Ld;var g=fe();if(ge(g)){if("selectionStart"in g)var h={start:g.selectionStart,end:g.selectionEnd};else a:{h=(h=g.ownerDocument)&&h.defaultView||window;var k=h.getSelection&&h.getSelection();if(k&&0!==k.rangeCount){h=k.anchorNode;var l=k.anchorOffset,
|
22214 |
-
m=k.focusNode;k=k.focusOffset;try{h.nodeType,m.nodeType}catch(Db){h=null;break a}var C=0,y=-1,H=-1,z=0,ta=0,r=g,x=null;b:for(;;){for(var A;;){r!==h||0!==l&&3!==r.nodeType||(y=C+l);r!==m||0!==k&&3!==r.nodeType||(H=C+k);3===r.nodeType&&(C+=r.nodeValue.length);if(null===(A=r.firstChild))break;x=r;r=A}for(;;){if(r===g)break b;x===h&&++z===l&&(y=C);x===m&&++ta===k&&(H=C);if(null!==(A=r.nextSibling))break;r=x;x=r.parentNode}r=A}h=-1===y||-1===H?null:{start:y,end:H}}else h=null}h=h||{start:0,end:0}}else h=
|
22215 |
-
null;me={focusedElem:g,selectionRange:h};Ld=!1;Y=e;do try{jk()}catch(Db){if(null===Y)throw Error(u(330));Ri(Y,Db);Y=Y.nextEffect}while(null!==Y);Y=e;do try{for(g=a,h=b;null!==Y;){var p=Y.effectTag;p&16&&Tb(Y.stateNode,"");if(p&128){var t=Y.alternate;if(null!==t){var v=t.ref;null!==v&&("function"===typeof v?v(null):v.current=null)}}switch(p&1038){case 2:$i(Y);Y.effectTag&=-3;break;case 6:$i(Y);Y.effectTag&=-3;aj(Y.alternate,Y);break;case 1024:Y.effectTag&=-1025;break;case 1028:Y.effectTag&=-1025;aj(Y.alternate,
|
22216 |
-
Y);break;case 4:aj(Y.alternate,Y);break;case 8:l=Y,Xi(g,l,h),Yi(l)}Y=Y.nextEffect}}catch(Db){if(null===Y)throw Error(u(330));Ri(Y,Db);Y=Y.nextEffect}while(null!==Y);v=me;t=fe();p=v.focusedElem;h=v.selectionRange;if(t!==p&&p&&p.ownerDocument&&ee(p.ownerDocument.documentElement,p)){null!==h&&ge(p)&&(t=h.start,v=h.end,void 0===v&&(v=t),"selectionStart"in p?(p.selectionStart=t,p.selectionEnd=Math.min(v,p.value.length)):(v=(t=p.ownerDocument||document)&&t.defaultView||window,v.getSelection&&(v=v.getSelection(),
|
22217 |
-
l=p.textContent.length,g=Math.min(h.start,l),h=void 0===h.end?g:Math.min(h.end,l),!v.extend&&g>h&&(l=h,h=g,g=l),l=de(p,g),m=de(p,h),l&&m&&(1!==v.rangeCount||v.anchorNode!==l.node||v.anchorOffset!==l.offset||v.focusNode!==m.node||v.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),v.removeAllRanges(),g>h?(v.addRange(t),v.extend(m.node,m.offset)):(t.setEnd(m.node,m.offset),v.addRange(t))))));t=[];for(v=p;v=v.parentNode;)1===v.nodeType&&t.push({element:v,left:v.scrollLeft,top:v.scrollTop});
|
22218 |
-
"function"===typeof p.focus&&p.focus();for(p=0;p<t.length;p++)v=t[p],v.element.scrollLeft=v.left,v.element.scrollTop=v.top}me=null;Ld=!!le;le=null;a.current=c;Y=e;do try{for(p=d;null!==Y;){var Dh=Y.effectTag;if(Dh&36){var dc=Y.alternate;t=Y;v=p;switch(t.tag){case 0:case 11:case 15:Ui(16,32,t);break;case 1:var fd=t.stateNode;if(t.effectTag&4)if(null===dc)fd.componentDidMount();else{var hk=t.elementType===t.type?dc.memoizedProps:mg(t.type,dc.memoizedProps);fd.componentDidUpdate(hk,dc.memoizedState,
|
22219 |
-
fd.__reactInternalSnapshotBeforeUpdate)}var Eh=t.updateQueue;null!==Eh&&Kg(t,Eh,fd,v);break;case 3:var Fh=t.updateQueue;if(null!==Fh){g=null;if(null!==t.child)switch(t.child.tag){case 5:g=t.child.stateNode;break;case 1:g=t.child.stateNode}Kg(t,Fh,g,v)}break;case 5:var xk=t.stateNode;null===dc&&t.effectTag&4&&ne(t.type,t.memoizedProps)&&xk.focus();break;case 6:break;case 4:break;case 12:break;case 13:if(null===t.memoizedState){var Di=t.alternate;if(null!==Di){var Ei=Di.memoizedState;if(null!==Ei){var Fi=
|
22220 |
-
Ei.dehydrated;null!==Fi&&Lc(Fi)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(u(163));}}if(Dh&128){t=void 0;var xd=Y.ref;if(null!==xd){var Gi=Y.stateNode;switch(Y.tag){case 5:t=Gi;break;default:t=Gi}"function"===typeof xd?xd(t):xd.current=t}}Y=Y.nextEffect}}catch(Db){if(null===Y)throw Error(u(330));Ri(Y,Db);Y=Y.nextEffect}while(null!==Y);Y=null;Yf();T=f}else a.current=c;if(Dj)Dj=!1,Ej=a,Fj=b;else for(Y=e;null!==Y;)b=Y.nextEffect,Y.nextEffect=null,Y=b;b=a.firstPendingTime;0===b&&
|
22221 |
-
(jj=null);1073741823===b?a===Ij?Hj++:(Hj=0,Ij=a):Hj=0;"function"===typeof kk&&kk(c.stateNode,d);Z(a);if(gj)throw gj=!1,a=hj,hj=null,a;if((T&nj)!==S)return null;jg();return null}function jk(){for(;null!==Y;){var a=Y.effectTag;0!==(a&256)&&Ti(Y.alternate,Y);0===(a&512)||Dj||(Dj=!0,gg(97,function(){Sj();return null}));Y=Y.nextEffect}}function Sj(){if(90!==Fj){var a=97<Fj?97:Fj;Fj=90;return fg(a,lk)}}
|
22222 |
-
function lk(){if(null===Ej)return!1;var a=Ej;Ej=null;if((T&(oj|pj))!==S)throw Error(u(331));var b=T;T|=pj;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:Ui(128,0,c),Ui(0,64,c)}}catch(d){if(null===a)throw Error(u(330));Ri(a,d)}c=a.nextEffect;a.nextEffect=null;a=c}T=b;jg();return!0}function mk(a,b,c){b=Ni(c,b);b=fj(a,b,1073741823);Dg(a,b);a=Kj(a,1073741823);null!==a&&Z(a)}
|
22223 |
-
function Ri(a,b){if(3===a.tag)mk(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){mk(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===jj||!jj.has(d))){a=Ni(b,a);a=ij(c,a,1073741823);Dg(c,a);c=Kj(c,1073741823);null!==c&&Z(c);break}}c=c.return}}
|
22224 |
-
function dk(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);U===a&&W===c?X===uj||X===tj&&1073741823===xj&&cg()-bj<Cj?Tj(a,W):Bj=!0:Pj(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,a.finishedExpirationTime===c&&(a.finishedExpirationTime=0,a.finishedWork=null),Z(a)))}function dj(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=Pg(),b=Qg(b,a,null));a=Kj(a,b);null!==a&&Z(a)}var gk;
|
22225 |
-
gk=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||K.current)wg=!0;else{if(d<c){wg=!1;switch(b.tag){case 3:wi(b);li();break;case 5:oh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:L(b.type)&&Jf(b);break;case 4:mh(b,b.stateNode.containerInfo);break;case 10:sg(b,b.memoizedProps.value);break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;if(0!==d&&d>=c)return yi(a,b,c);I(M,M.current&
|
22226 |
-
1,b);b=oi(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1,b);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return Bi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current,b);if(!d)return null}return oi(a,b,c)}wg=!1}}else wg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Ef(b,J.current);vg(b,c);e=Ih(null,b,d,a,e,c);b.effectTag|=1;if("object"===
|
22227 |
-
typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;Mh();if(L(d)){var f=!0;Jf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&Og(b,d,g,a);e.updater=Sg;b.stateNode=e;e._reactInternalFiber=b;Wg(b,d,a,c);b=vi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;Va(e);if(1!==e._status)throw e._result;
|
22228 |
-
e=e._result;b.type=e;f=b.tag=nk(e);a=mg(e,a);switch(f){case 0:b=si(null,b,e,a,c);break;case 1:b=ui(null,b,e,a,c);break;case 11:b=ni(null,b,e,a,c);break;case 14:b=pi(null,b,e,mg(e.type,a),d,c);break;default:throw Error(u(306,e,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),si(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),ui(a,b,d,e,c);case 3:wi(b);d=b.updateQueue;if(null===d)throw Error(u(282));e=b.memoizedState;e=null!==e?e.element:
|
22229 |
-
null;Hg(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)li(),b=oi(a,b,c);else{if(e=b.stateNode.hydrate)di=re(b.stateNode.containerInfo.firstChild),ci=b,e=ei=!0;if(e)for(c=gh(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),li();b=b.child}return b;case 5:return oh(b),null===a&&ii(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,oe(d,e)?g=null:null!==f&&oe(d,f)&&(b.effectTag|=16),ti(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=
|
22230 |
-
b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&ii(b),null;case 13:return yi(a,b,c);case 4:return mh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=fh(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),ni(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,b,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;
|
22231 |
-
e=b.pendingProps;g=b.memoizedProps;f=e.value;sg(b,f);if(null!==g){var h=g.value;f=of(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!K.current){b=oi(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Bg(c,null),l.tag=2,Dg(h,l));h.expirationTime<c&&(h.expirationTime=
|
22232 |
-
c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);ug(h.return,c);k.expirationTime<c&&(k.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=g}}R(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,vg(b,c),e=xg(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,R(a,b,d,c),b.child;
|
22233 |
-
case 14:return e=b.type,f=mg(e,b.pendingProps),f=mg(e.type,f),pi(a,b,e,f,d,c);case 15:return ri(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,L(d)?(a=!0,Jf(b)):a=!1,vg(b,c),Ug(b,d,e,c),Wg(b,d,e,c),vi(null,b,d,!0,a,c);case 19:return Bi(a,b,c)}throw Error(u(156,b.tag));};var kk=null,Wi=null;
|
22234 |
-
function ok(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);kk=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(e){}};Wi=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}
|
22235 |
-
function pk(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function gi(a,b,c,d){return new pk(a,b,c,d)}
|
22236 |
-
function qi(a){a=a.prototype;return!(!a||!a.isReactComponent)}function nk(a){if("function"===typeof a)return qi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Oa)return 11;if(a===Ra)return 14}return 2}
|
22237 |
-
function ah(a,b){var c=a.alternate;null===c?(c=gi(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,
|
22238 |
-
firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
|
22239 |
-
function ch(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)qi(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case Ia:return eh(c.children,e,f,b);case Na:g=8;e|=7;break;case Ja:g=8;e|=1;break;case Ka:return a=gi(12,c,b,e|8),a.elementType=Ka,a.type=Ka,a.expirationTime=f,a;case Pa:return a=gi(13,c,b,e),a.type=Pa,a.elementType=Pa,a.expirationTime=f,a;case Qa:return a=gi(19,c,b,e),a.elementType=Qa,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case La:g=
|
22240 |
-
10;break a;case Ma:g=9;break a;case Oa:g=11;break a;case Ra:g=14;break a;case Sa:g=16;d=null;break a}throw Error(u(130,null==a?a:typeof a,""));}b=gi(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function eh(a,b,c,d){a=gi(7,a,d,b);a.expirationTime=c;return a}function bh(a,b,c){a=gi(6,a,null,b);a.expirationTime=c;return a}
|
22241 |
-
function dh(a,b,c){b=gi(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
|
22242 |
-
function qk(a,b,c){this.tag=b;this.current=null;this.containerInfo=a;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}
|
22243 |
-
function Pj(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function Mj(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;c<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}
|
22244 |
-
function Nj(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Rj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}
|
22245 |
-
function rk(a,b,c,d){var e=b.current,f=Pg(),g=Mg.suspense;f=Qg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(ec(c)!==c||1!==c.tag)throw Error(u(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(u(171));}if(1===c.tag){var k=c.type;if(L(k)){c=If(c,k,h);break a}}c=h}else c=Cf;null===b.context?b.context=c:b.pendingContext=c;b=Bg(f,g);b.payload={element:a};d=void 0===
|
22246 |
-
d?null:d;null!==d&&(b.callback=d);Dg(e,b);Rg(e,f);return f}function sk(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function tk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function uk(a,b){tk(a,b);(a=a.alternate)&&tk(a,b)}
|
22247 |
-
function vk(a,b,c){c=null!=c&&!0===c.hydrate;var d=new qk(a,b,c),e=gi(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;a[we]=d.current;c&&0!==b&&wc(9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}vk.prototype.render=function(a,b){rk(a,this._internalRoot,null,void 0===b?null:b)};vk.prototype.unmount=function(a){var b=this._internalRoot,c=void 0===a?null:a,d=b.containerInfo;rk(null,b,null,function(){d[we]=null;null!==c&&c()})};
|
22248 |
-
function wk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function yk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new vk(a,0,b?{hydrate:!0}:void 0)}
|
22249 |
-
function zk(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"===typeof e){var h=e;e=function(){var a=sk(g);h.call(a)}}rk(b,g,a,e)}else{f=c._reactRootContainer=yk(c,d);g=f._internalRoot;if("function"===typeof e){var k=e;e=function(){var a=sk(g);k.call(a)}}ck(function(){rk(b,g,a,e)})}return sk(g)}function Ak(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ha,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}
|
22250 |
-
jc=function(a){if(13===a.tag){var b=lg(Pg(),150,100);Rg(a,b);uk(a,b)}};kc=function(a){if(13===a.tag){Pg();var b=kg++;Rg(a,b);uk(a,b)}};lc=function(a){if(13===a.tag){var b=Pg();b=Qg(b,a,null);Rg(a,b);uk(a,b)}};
|
22251 |
-
Za=function(a,b,c){switch(b){case "input":Eb(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=ye(d);if(!e)throw Error(u(90));zb(d);Eb(d,e)}}}break;case "textarea":Mb(a,c);break;case "select":b=c.value,null!=b&&Jb(a,!!c.multiple,b,!1)}};eb=bk;
|
22252 |
-
fb=function(a,b,c,d){var e=T;T|=4;try{return fg(98,a.bind(null,b,c,d))}finally{T=e,T===S&&jg()}};gb=function(){(T&(1|oj|pj))===S&&(ak(),Sj())};hb=function(a,b){var c=T;T|=2;try{return a(b)}finally{T=c,T===S&&jg()}};function Bk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!wk(b))throw Error(u(200));return Ak(a,b,null,c)}
|
22253 |
-
var Ck={createPortal:Bk,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===b){if("function"===typeof a.render)throw Error(u(188));throw Error(u(268,Object.keys(a)));}a=ic(b);a=null===a?null:a.stateNode;return a},hydrate:function(a,b,c){if(!wk(b))throw Error(u(200));return zk(null,a,b,!0,c)},render:function(a,b,c){if(!wk(b))throw Error(u(200));return zk(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,b,c,d){if(!wk(c))throw Error(u(200));
|
22254 |
-
if(null==a||void 0===a._reactInternalFiber)throw Error(u(38));return zk(a,b,c,!1,d)},unmountComponentAtNode:function(a){if(!wk(a))throw Error(u(40));return a._reactRootContainer?(ck(function(){zk(null,null,a,!1,function(){a._reactRootContainer=null;a[we]=null})}),!0):!1},unstable_createPortal:function(){return Bk.apply(void 0,arguments)},unstable_batchedUpdates:bk,flushSync:function(a,b){if((T&(oj|pj))!==S)throw Error(u(187));var c=T;T|=1;try{return fg(99,a.bind(null,b))}finally{T=c,jg()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Cc,
|
22255 |
-
xe,ye,Ca.injectEventPluginsByName,fa,Sc,function(a){ya(a,Rc)},cb,db,Pd,Ba,Sj,{current:!1}]}};
|
22256 |
-
(function(a){var b=a.findFiberByHostInstance;return ok(n({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ea.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=ic(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:Fc,bundleType:0,version:"16.12.0",
|
22257 |
-
rendererPackageName:"react-dom"});var Dk={default:Ck},Ek=Dk&&Ck||Dk;module.exports=Ek.default||Ek;
|
22258 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22259 |
|
22260 |
-
|
22261 |
-
|
22262 |
-
|
22263 |
|
22264 |
-
|
22265 |
-
|
22266 |
-
|
22267 |
-
*
|
22268 |
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
22269 |
-
*
|
22270 |
-
* This source code is licensed under the MIT license found in the
|
22271 |
-
* LICENSE file in the root directory of this source tree.
|
22272 |
-
*/
|
22273 |
|
22274 |
-
|
22275 |
-
|
22276 |
-
|
22277 |
-
|
22278 |
-
|
22279 |
-
|
22280 |
-
|
22281 |
-
function X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b)}else M(N);Q=L(N)}if(null!==Q)var m=!0;else{var n=L(O);null!==n&&g(W,n.startTime-b);m=!1}return m}finally{Q=null,R=c,S=!1}}
|
22282 |
-
function Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_ImmediatePriority=1;exports.unstable_UserBlockingPriority=2;exports.unstable_NormalPriority=3;exports.unstable_IdlePriority=5;exports.unstable_LowPriority=4;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=R;R=a;try{return b()}finally{R=c}};
|
22283 |
-
exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R}var c=R;R=b;try{return a()}finally{R=c}};
|
22284 |
-
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?c.timeout:Y(a)}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};exports.unstable_cancelCallback=function(a){a.callback=null};
|
22285 |
-
exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c}}};exports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_requestPaint=Z;exports.unstable_continueExecution=function(){T||S||(T=!0,f(X))};
|
22286 |
-
exports.unstable_pauseExecution=function(){};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_Profiling=null;
|
22287 |
|
|
|
|
|
|
|
22288 |
|
22289 |
-
|
22290 |
-
/* 293 */
|
22291 |
-
/***/ (function(module, exports, __webpack_require__) {
|
22292 |
|
22293 |
-
|
22294 |
-
|
22295 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22296 |
*
|
22297 |
-
*
|
|
|
22298 |
*
|
22299 |
-
*
|
22300 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
22301 |
*/
|
22302 |
|
22303 |
|
|
|
|
|
|
|
|
|
22304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22305 |
|
22306 |
|
22307 |
-
|
22308 |
-
|
22309 |
-
'
|
|
|
|
|
|
|
|
|
22310 |
|
22311 |
-
Object.defineProperty(exports, '__esModule', { value: true });
|
22312 |
|
22313 |
-
|
22314 |
-
|
22315 |
-
var enableProfiling = true;
|
22316 |
|
22317 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22318 |
|
22319 |
-
var requestHostTimeout;
|
22320 |
-
var cancelHostTimeout;
|
22321 |
-
var shouldYieldToHost;
|
22322 |
-
var requestPaint;
|
22323 |
|
|
|
|
|
|
|
|
|
22324 |
|
|
|
|
|
|
|
|
|
22325 |
|
22326 |
-
|
22327 |
-
|
22328 |
-
|
22329 |
-
|
22330 |
-
|
22331 |
-
|
22332 |
-
var _callback = null;
|
22333 |
-
var _timeoutID = null;
|
22334 |
|
22335 |
-
|
22336 |
-
|
22337 |
-
|
22338 |
-
|
22339 |
-
|
|
|
|
|
|
|
|
|
|
|
22340 |
|
22341 |
-
|
|
|
|
|
22342 |
|
22343 |
-
|
22344 |
-
|
22345 |
-
setTimeout(_flushCallback, 0);
|
22346 |
-
throw e;
|
22347 |
-
}
|
22348 |
-
}
|
22349 |
-
};
|
22350 |
|
22351 |
-
|
|
|
|
|
22352 |
|
22353 |
-
|
22354 |
-
|
22355 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22356 |
|
22357 |
-
requestHostCallback = function (cb) {
|
22358 |
-
if (_callback !== null) {
|
22359 |
-
// Protect against re-entrancy.
|
22360 |
-
setTimeout(requestHostCallback, 0, cb);
|
22361 |
-
} else {
|
22362 |
-
_callback = cb;
|
22363 |
-
setTimeout(_flushCallback, 0);
|
22364 |
-
}
|
22365 |
-
};
|
22366 |
|
22367 |
-
|
22368 |
-
|
22369 |
-
|
|
|
22370 |
|
22371 |
-
|
22372 |
-
|
22373 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22374 |
|
22375 |
-
shouldYieldToHost = function () {
|
22376 |
-
return false;
|
22377 |
-
};
|
22378 |
|
22379 |
-
|
22380 |
-
|
22381 |
-
|
22382 |
-
|
22383 |
-
|
22384 |
-
|
22385 |
-
|
|
|
|
|
|
|
|
|
22386 |
|
22387 |
-
if (typeof console !== 'undefined') {
|
22388 |
-
// TODO: Scheduler no longer requires these methods to be polyfilled. But
|
22389 |
-
// maybe we want to continue warning if they don't exist, to preserve the
|
22390 |
-
// option to rely on it in the future?
|
22391 |
-
var requestAnimationFrame = window.requestAnimationFrame;
|
22392 |
-
var cancelAnimationFrame = window.cancelAnimationFrame; // TODO: Remove fb.me link
|
22393 |
|
22394 |
-
|
22395 |
-
|
22396 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22397 |
|
22398 |
-
|
22399 |
-
|
|
|
|
|
|
|
22400 |
}
|
22401 |
}
|
22402 |
|
22403 |
-
|
22404 |
-
|
22405 |
-
return performance.now();
|
22406 |
-
};
|
22407 |
-
} else {
|
22408 |
-
var _initialTime = _Date.now();
|
22409 |
|
22410 |
-
|
22411 |
-
|
22412 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
22413 |
}
|
22414 |
|
22415 |
-
var
|
22416 |
-
|
22417 |
-
|
22418 |
-
|
22419 |
-
|
22420 |
-
|
22421 |
-
|
22422 |
-
|
22423 |
-
|
22424 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22425 |
|
22426 |
-
|
22427 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22428 |
|
22429 |
-
|
22430 |
-
|
|
|
|
|
|
|
22431 |
|
22432 |
-
|
22433 |
-
|
22434 |
|
22435 |
-
|
22436 |
-
|
22437 |
-
|
22438 |
-
|
22439 |
-
|
22440 |
-
|
22441 |
-
|
22442 |
-
|
22443 |
-
|
22444 |
-
|
22445 |
-
|
22446 |
-
|
22447 |
-
}
|
22448 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22449 |
|
|
|
|
|
22450 |
|
22451 |
-
|
22452 |
-
|
22453 |
-
// There's still time left in the frame.
|
22454 |
-
return false;
|
22455 |
}
|
22456 |
-
};
|
22457 |
-
|
22458 |
-
requestPaint = function () {
|
22459 |
-
needsPaint = true;
|
22460 |
-
};
|
22461 |
-
} else {
|
22462 |
-
// `isInputPending` is not available. Since we have no way of knowing if
|
22463 |
-
// there's pending input, always yield at the end of the frame.
|
22464 |
-
shouldYieldToHost = function () {
|
22465 |
-
return exports.unstable_now() >= deadline;
|
22466 |
-
}; // Since we yield every frame regardless, `requestPaint` has no effect.
|
22467 |
|
|
|
|
|
22468 |
|
22469 |
-
|
|
|
|
|
22470 |
}
|
22471 |
|
22472 |
-
|
22473 |
-
|
22474 |
-
console.error('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
|
22475 |
-
return;
|
22476 |
-
}
|
22477 |
|
22478 |
-
|
22479 |
-
|
22480 |
-
|
22481 |
-
|
22482 |
-
|
22483 |
-
|
|
|
22484 |
};
|
22485 |
|
22486 |
-
|
22487 |
-
|
22488 |
-
|
22489 |
-
|
22490 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22491 |
|
22492 |
-
|
22493 |
-
var hasTimeRemaining = true;
|
22494 |
|
22495 |
-
|
22496 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22497 |
|
22498 |
-
|
22499 |
-
|
22500 |
-
|
22501 |
-
|
22502 |
-
|
22503 |
-
// of the preceding one.
|
22504 |
-
port.postMessage(null);
|
22505 |
}
|
22506 |
-
} catch (error) {
|
22507 |
-
// If a scheduler task throws, exit the current browser task so the
|
22508 |
-
// error can be observed.
|
22509 |
-
port.postMessage(null);
|
22510 |
-
throw error;
|
22511 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22512 |
} else {
|
22513 |
-
|
22514 |
-
|
22515 |
-
|
|
|
22516 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22517 |
|
22518 |
-
|
|
|
|
|
22519 |
};
|
|
|
22520 |
|
22521 |
-
|
22522 |
-
|
22523 |
-
|
22524 |
-
|
22525 |
-
requestHostCallback = function (callback) {
|
22526 |
-
scheduledHostCallback = callback;
|
22527 |
|
22528 |
-
|
22529 |
-
|
22530 |
-
|
|
|
22531 |
}
|
22532 |
-
}
|
22533 |
|
22534 |
-
|
22535 |
-
|
22536 |
-
|
22537 |
-
|
22538 |
};
|
|
|
22539 |
|
22540 |
-
|
22541 |
-
|
22542 |
|
22543 |
-
|
22544 |
-
|
22545 |
-
|
|
|
|
|
22546 |
|
22547 |
-
|
22548 |
-
var index = heap.length;
|
22549 |
-
heap.push(node);
|
22550 |
-
siftUp(heap, node, index);
|
22551 |
-
}
|
22552 |
-
function peek(heap) {
|
22553 |
-
var first = heap[0];
|
22554 |
-
return first === undefined ? null : first;
|
22555 |
}
|
22556 |
-
function pop(heap) {
|
22557 |
-
var first = heap[0];
|
22558 |
|
22559 |
-
|
22560 |
-
|
22561 |
|
22562 |
-
|
22563 |
-
|
22564 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22565 |
}
|
|
|
22566 |
|
22567 |
-
|
22568 |
-
|
22569 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22570 |
}
|
22571 |
}
|
22572 |
|
22573 |
-
|
22574 |
-
var index = i;
|
22575 |
|
22576 |
-
|
22577 |
-
|
22578 |
-
|
22579 |
|
22580 |
-
|
22581 |
-
|
22582 |
-
|
22583 |
-
|
22584 |
-
|
22585 |
-
|
22586 |
-
// The parent is smaller. Exit.
|
22587 |
-
return;
|
22588 |
}
|
22589 |
}
|
|
|
|
|
22590 |
}
|
22591 |
|
22592 |
-
function
|
22593 |
-
|
22594 |
-
|
|
|
|
|
|
|
22595 |
|
22596 |
-
|
22597 |
-
|
22598 |
-
var left = heap[leftIndex];
|
22599 |
-
var rightIndex = leftIndex + 1;
|
22600 |
-
var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
|
22601 |
|
22602 |
-
|
22603 |
-
|
22604 |
-
|
22605 |
-
heap[rightIndex] = node;
|
22606 |
-
index = rightIndex;
|
22607 |
-
} else {
|
22608 |
-
heap[index] = left;
|
22609 |
-
heap[leftIndex] = node;
|
22610 |
-
index = leftIndex;
|
22611 |
-
}
|
22612 |
-
} else if (right !== undefined && compare(right, node) < 0) {
|
22613 |
-
heap[index] = right;
|
22614 |
-
heap[rightIndex] = node;
|
22615 |
-
index = rightIndex;
|
22616 |
-
} else {
|
22617 |
-
// Neither child is smaller. Exit.
|
22618 |
-
return;
|
22619 |
-
}
|
22620 |
}
|
22621 |
-
}
|
22622 |
|
22623 |
-
|
22624 |
-
// Compare sort index first, then task id.
|
22625 |
-
var diff = a.sortIndex - b.sortIndex;
|
22626 |
-
return diff !== 0 ? diff : a.id - b.id;
|
22627 |
}
|
|
|
|
|
|
|
|
|
|
|
22628 |
|
22629 |
-
// TODO: Use symbols?
|
22630 |
-
var NoPriority = 0;
|
22631 |
-
var ImmediatePriority = 1;
|
22632 |
-
var UserBlockingPriority = 2;
|
22633 |
-
var NormalPriority = 3;
|
22634 |
-
var LowPriority = 4;
|
22635 |
-
var IdlePriority = 5;
|
22636 |
|
22637 |
-
var runIdCounter = 0;
|
22638 |
-
var mainThreadIdCounter = 0;
|
22639 |
-
var profilingStateSize = 4;
|
22640 |
-
var sharedProfilingBuffer = enableProfiling ? // $FlowFixMe Flow doesn't know about SharedArrayBuffer
|
22641 |
-
typeof SharedArrayBuf
|
60 |
/******/ __webpack_require__.p = "";
|
61 |
/******/
|
62 |
/******/ // Load entry module and return exports
|
63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 388);
|
64 |
/******/ })
|
65 |
/************************************************************************/
|
66 |
/******/ ([
|
71 |
/* WEBPACK VAR INJECTION */(function(process) {
|
72 |
|
73 |
if (process.env.NODE_ENV === 'production') {
|
74 |
+
module.exports = __webpack_require__(389);
|
75 |
} else {
|
76 |
+
module.exports = __webpack_require__(390);
|
77 |
}
|
78 |
|
79 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
280 |
*/
|
281 |
|
282 |
if (process.env.NODE_ENV !== 'production') {
|
283 |
+
var ReactIs = __webpack_require__(15);
|
284 |
|
285 |
// By explicitly using `prop-types` you are opting into new development behavior.
|
286 |
// http://fb.me/prop-types-in-prod
|
287 |
var throwOnDirectAccess = true;
|
288 |
+
module.exports = __webpack_require__(401)(ReactIs.isElement, throwOnDirectAccess);
|
289 |
} else {
|
290 |
// By explicitly using `prop-types` you are opting into new production behavior.
|
291 |
// http://fb.me/prop-types-in-prod
|
292 |
+
module.exports = __webpack_require__(402)();
|
293 |
}
|
294 |
|
295 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
324 |
|
325 |
"use strict";
|
326 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
|
327 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__ = __webpack_require__(54);
|
328 |
|
329 |
function _objectWithoutProperties(source, excluded) {
|
330 |
if (source == null) return {};
|
352 |
"use strict";
|
353 |
function toVal(mix) {
|
354 |
var k, y, str='';
|
355 |
+
|
356 |
+
if (typeof mix === 'string' || typeof mix === 'number') {
|
357 |
+
str += mix;
|
358 |
+
} else if (typeof mix === 'object') {
|
359 |
+
if (Array.isArray(mix)) {
|
360 |
+
for (k=0; k < mix.length; k++) {
|
361 |
+
if (mix[k]) {
|
362 |
+
if (y = toVal(mix[k])) {
|
363 |
str && (str += ' ');
|
364 |
str += y;
|
365 |
}
|
366 |
}
|
367 |
+
}
|
368 |
+
} else {
|
369 |
+
for (k in mix) {
|
370 |
+
if (mix[k]) {
|
371 |
+
str && (str += ' ');
|
372 |
+
str += k;
|
373 |
}
|
374 |
}
|
|
|
|
|
|
|
375 |
}
|
376 |
}
|
377 |
+
|
378 |
return str;
|
379 |
}
|
380 |
|
381 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
382 |
+
var i=0, tmp, x, str='';
|
383 |
while (i < arguments.length) {
|
384 |
+
if (tmp = arguments[i++]) {
|
385 |
+
if (x = toVal(tmp)) {
|
386 |
+
str && (str += ' ');
|
387 |
+
str += x
|
388 |
+
}
|
389 |
}
|
390 |
}
|
391 |
return str;
|
398 |
|
399 |
"use strict";
|
400 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
401 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(23);
|
402 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
|
403 |
|
404 |
|
405 |
|
417 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
418 |
|
419 |
"use strict";
|
420 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__ = __webpack_require__(119);
|
421 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__["a"]; });
|
422 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deepmerge__ = __webpack_require__(433);
|
423 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__deepmerge__["a"]; });
|
424 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__ = __webpack_require__(434);
|
425 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__["a"]; });
|
426 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__ = __webpack_require__(435);
|
427 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__["a"]; });
|
428 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__exactProp__ = __webpack_require__(436);
|
429 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_4__exactProp__["a"]; });
|
430 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__formatMuiErrorMessage__ = __webpack_require__(437);
|
431 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_5__formatMuiErrorMessage__["a"]; });
|
432 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__getDisplayName__ = __webpack_require__(438);
|
433 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_6__getDisplayName__["a"]; });
|
434 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__HTMLElementType__ = __webpack_require__(439);
|
435 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_7__HTMLElementType__["a"]; });
|
436 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ponyfillGlobal__ = __webpack_require__(440);
|
437 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__ponyfillGlobal__["a"]; });
|
438 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__refType__ = __webpack_require__(441);
|
439 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__refType__["a"]; });
|
440 |
+
/** @license Material-UI v4.10.2
|
441 |
*
|
442 |
* This source code is licensed under the MIT license found in the
|
443 |
* LICENSE file in the root directory of this source tree.
|
451 |
|
452 |
|
453 |
|
454 |
+
|
455 |
+
|
456 |
/***/ }),
|
457 |
/* 8 */
|
458 |
+
/***/ (function(module, exports, __webpack_require__) {
|
459 |
+
|
460 |
+
"use strict";
|
461 |
+
|
462 |
+
|
463 |
+
Object.defineProperty(exports, "__esModule", {
|
464 |
+
value: true
|
465 |
+
});
|
466 |
+
exports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;
|
467 |
+
|
468 |
+
var _flattenNames = __webpack_require__(725);
|
469 |
+
|
470 |
+
var _flattenNames2 = _interopRequireDefault(_flattenNames);
|
471 |
+
|
472 |
+
var _mergeClasses = __webpack_require__(796);
|
473 |
+
|
474 |
+
var _mergeClasses2 = _interopRequireDefault(_mergeClasses);
|
475 |
+
|
476 |
+
var _autoprefix = __webpack_require__(816);
|
477 |
+
|
478 |
+
var _autoprefix2 = _interopRequireDefault(_autoprefix);
|
479 |
+
|
480 |
+
var _hover2 = __webpack_require__(817);
|
481 |
+
|
482 |
+
var _hover3 = _interopRequireDefault(_hover2);
|
483 |
+
|
484 |
+
var _active = __webpack_require__(818);
|
485 |
+
|
486 |
+
var _active2 = _interopRequireDefault(_active);
|
487 |
+
|
488 |
+
var _loop2 = __webpack_require__(819);
|
489 |
+
|
490 |
+
var _loop3 = _interopRequireDefault(_loop2);
|
491 |
+
|
492 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
493 |
+
|
494 |
+
exports.hover = _hover3.default;
|
495 |
+
exports.handleHover = _hover3.default;
|
496 |
+
exports.handleActive = _active2.default;
|
497 |
+
exports.loop = _loop3.default;
|
498 |
+
var ReactCSS = exports.ReactCSS = function ReactCSS(classes) {
|
499 |
+
for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
500 |
+
activations[_key - 1] = arguments[_key];
|
501 |
+
}
|
502 |
+
|
503 |
+
var activeNames = (0, _flattenNames2.default)(activations);
|
504 |
+
var merged = (0, _mergeClasses2.default)(classes, activeNames);
|
505 |
+
return (0, _autoprefix2.default)(merged);
|
506 |
+
};
|
507 |
+
|
508 |
+
exports.default = ReactCSS;
|
509 |
+
|
510 |
+
/***/ }),
|
511 |
+
/* 9 */
|
512 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
513 |
|
514 |
"use strict";
|
515 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = capitalize;
|
516 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
|
517 |
+
|
518 |
// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
|
519 |
//
|
520 |
// A strict capitalization should uppercase the first letter of each word a the sentence.
|
521 |
// We only handle the first word.
|
522 |
function capitalize(string) {
|
523 |
+
if (typeof string !== 'string') {
|
524 |
+
throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: capitalize(string) expects a string argument." : Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["g" /* formatMuiErrorMessage */])(7));
|
|
|
|
|
525 |
}
|
526 |
|
527 |
return string.charAt(0).toUpperCase() + string.slice(1);
|
529 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
530 |
|
531 |
/***/ }),
|
532 |
+
/* 10 */
|
533 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
534 |
+
|
535 |
+
"use strict";
|
536 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__capitalize__ = __webpack_require__(9);
|
537 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__capitalize__["a"]; });
|
538 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createChainedFunction__ = __webpack_require__(57);
|
539 |
+
/* unused harmony reexport createChainedFunction */
|
540 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__ = __webpack_require__(21);
|
541 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__["a"]; });
|
542 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__debounce__ = __webpack_require__(47);
|
543 |
+
/* unused harmony reexport debounce */
|
544 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecatedPropType__ = __webpack_require__(516);
|
545 |
+
/* unused harmony reexport deprecatedPropType */
|
546 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__isMuiElement__ = __webpack_require__(66);
|
547 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__isMuiElement__["a"]; });
|
548 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ownerDocument__ = __webpack_require__(29);
|
549 |
+
/* unused harmony reexport ownerDocument */
|
550 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ownerWindow__ = __webpack_require__(86);
|
551 |
+
/* unused harmony reexport ownerWindow */
|
552 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__requirePropFactory__ = __webpack_require__(237);
|
553 |
+
/* unused harmony reexport requirePropFactory */
|
554 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__setRef__ = __webpack_require__(48);
|
555 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_9__setRef__["a"]; });
|
556 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__unsupportedProp__ = __webpack_require__(87);
|
557 |
+
/* unused harmony reexport unsupportedProp */
|
558 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useControlled__ = __webpack_require__(41);
|
559 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useControlled__["a"]; });
|
560 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__useEventCallback__ = __webpack_require__(38);
|
561 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__useEventCallback__["a"]; });
|
562 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__useForkRef__ = __webpack_require__(14);
|
563 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__useForkRef__["a"]; });
|
564 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__unstable_useId__ = __webpack_require__(88);
|
565 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_14__unstable_useId__["a"]; });
|
566 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__useIsFocusVisible__ = __webpack_require__(67);
|
567 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_15__useIsFocusVisible__["a"]; });
|
568 |
+
|
569 |
+
|
570 |
+
|
571 |
+
|
572 |
+
|
573 |
+
|
574 |
+
|
575 |
+
|
576 |
+
|
577 |
+
|
578 |
+
|
579 |
+
|
580 |
+
|
581 |
+
// eslint-disable-next-line camelcase
|
582 |
+
|
583 |
+
|
584 |
+
|
585 |
+
|
586 |
+
/***/ }),
|
587 |
+
/* 11 */
|
588 |
/***/ (function(module, exports, __webpack_require__) {
|
589 |
|
590 |
"use strict";
|
622 |
// DCE check should happen before ReactDOM bundle executes so that
|
623 |
// DevTools can report bad minification during injection.
|
624 |
checkDCE();
|
625 |
+
module.exports = __webpack_require__(391);
|
626 |
} else {
|
627 |
+
module.exports = __webpack_require__(394);
|
628 |
}
|
629 |
|
630 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
631 |
|
632 |
/***/ }),
|
633 |
+
/* 12 */
|
634 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
635 |
|
636 |
"use strict";
|
637 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__colorManipulator__ = __webpack_require__(19);
|
638 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["a"]; });
|
639 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["b"]; });
|
640 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["c"]; });
|
641 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["e"]; });
|
642 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createMuiTheme__ = __webpack_require__(126);
|
643 |
+
/* unused harmony reexport createMuiTheme */
|
644 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createMuiStrictModeTheme__ = __webpack_require__(507);
|
645 |
+
/* unused harmony reexport unstable_createMuiStrictModeTheme */
|
646 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createStyles__ = __webpack_require__(508);
|
647 |
+
/* unused harmony reexport createStyles */
|
648 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__makeStyles__ = __webpack_require__(509);
|
649 |
+
/* unused harmony reexport makeStyles */
|
650 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__responsiveFontSizes__ = __webpack_require__(510);
|
651 |
+
/* unused harmony reexport responsiveFontSizes */
|
652 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styled__ = __webpack_require__(236);
|
653 |
+
/* unused harmony reexport styled */
|
654 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions__ = __webpack_require__(34);
|
655 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_7__transitions__["b"]; });
|
656 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__useTheme__ = __webpack_require__(17);
|
657 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_8__useTheme__["a"]; });
|
658 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__withStyles__ = __webpack_require__(6);
|
659 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_9__withStyles__["a"]; });
|
660 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__withTheme__ = __webpack_require__(512);
|
661 |
+
/* unused harmony reexport withTheme */
|
662 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_ui_styles__ = __webpack_require__(23);
|
663 |
+
/* unused harmony reexport createGenerateClassName */
|
664 |
+
/* unused harmony reexport jssPreset */
|
665 |
+
/* unused harmony reexport ServerStyleSheets */
|
666 |
+
/* unused harmony reexport StylesProvider */
|
667 |
+
/* unused harmony reexport MuiThemeProvider */
|
668 |
+
/* unused harmony reexport ThemeProvider */
|
669 |
+
|
670 |
+
// eslint-disable-next-line camelcase
|
671 |
+
|
672 |
+
|
673 |
+
|
674 |
+
|
675 |
+
|
676 |
+
|
677 |
+
|
678 |
+
|
679 |
+
|
680 |
+
|
681 |
+
|
682 |
+
|
683 |
+
/***/ }),
|
684 |
+
/* 13 */
|
685 |
+
/***/ (function(module, exports, __webpack_require__) {
|
686 |
+
|
687 |
+
"use strict";
|
688 |
+
|
689 |
+
|
690 |
+
Object.defineProperty(exports, "__esModule", {
|
691 |
+
value: true
|
692 |
+
});
|
693 |
+
|
694 |
+
var _Alpha = __webpack_require__(820);
|
695 |
+
|
696 |
+
Object.defineProperty(exports, 'Alpha', {
|
697 |
+
enumerable: true,
|
698 |
+
get: function get() {
|
699 |
+
return _interopRequireDefault(_Alpha).default;
|
700 |
}
|
701 |
+
});
|
702 |
|
703 |
+
var _Checkboard = __webpack_require__(183);
|
704 |
+
|
705 |
+
Object.defineProperty(exports, 'Checkboard', {
|
706 |
+
enumerable: true,
|
707 |
+
get: function get() {
|
708 |
+
return _interopRequireDefault(_Checkboard).default;
|
709 |
+
}
|
710 |
+
});
|
711 |
+
|
712 |
+
var _EditableInput = __webpack_require__(823);
|
713 |
+
|
714 |
+
Object.defineProperty(exports, 'EditableInput', {
|
715 |
+
enumerable: true,
|
716 |
+
get: function get() {
|
717 |
+
return _interopRequireDefault(_EditableInput).default;
|
718 |
+
}
|
719 |
+
});
|
720 |
+
|
721 |
+
var _Hue = __webpack_require__(824);
|
722 |
+
|
723 |
+
Object.defineProperty(exports, 'Hue', {
|
724 |
+
enumerable: true,
|
725 |
+
get: function get() {
|
726 |
+
return _interopRequireDefault(_Hue).default;
|
727 |
+
}
|
728 |
+
});
|
729 |
+
|
730 |
+
var _Raised = __webpack_require__(826);
|
731 |
+
|
732 |
+
Object.defineProperty(exports, 'Raised', {
|
733 |
+
enumerable: true,
|
734 |
+
get: function get() {
|
735 |
+
return _interopRequireDefault(_Raised).default;
|
736 |
+
}
|
737 |
+
});
|
738 |
+
|
739 |
+
var _Saturation = __webpack_require__(840);
|
740 |
+
|
741 |
+
Object.defineProperty(exports, 'Saturation', {
|
742 |
+
enumerable: true,
|
743 |
+
get: function get() {
|
744 |
+
return _interopRequireDefault(_Saturation).default;
|
745 |
+
}
|
746 |
+
});
|
747 |
+
|
748 |
+
var _ColorWrap = __webpack_require__(386);
|
749 |
+
|
750 |
+
Object.defineProperty(exports, 'ColorWrap', {
|
751 |
+
enumerable: true,
|
752 |
+
get: function get() {
|
753 |
+
return _interopRequireDefault(_ColorWrap).default;
|
754 |
+
}
|
755 |
+
});
|
756 |
+
|
757 |
+
var _Swatch = __webpack_require__(848);
|
758 |
+
|
759 |
+
Object.defineProperty(exports, 'Swatch', {
|
760 |
+
enumerable: true,
|
761 |
+
get: function get() {
|
762 |
+
return _interopRequireDefault(_Swatch).default;
|
763 |
+
}
|
764 |
+
});
|
765 |
+
|
766 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
767 |
|
768 |
/***/ }),
|
769 |
+
/* 14 */
|
770 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
771 |
|
772 |
"use strict";
|
773 |
/* harmony export (immutable) */ __webpack_exports__["a"] = useForkRef;
|
774 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
775 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
776 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__setRef__ = __webpack_require__(48);
|
777 |
|
778 |
|
779 |
function useForkRef(refA, refB) {
|
782 |
* This means react will call the old forkRef with `null` and the new forkRef
|
783 |
* with the ref. Cleanup naturally emerges from this behavior
|
784 |
*/
|
785 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["useMemo"](function () {
|
786 |
if (refA == null && refB == null) {
|
787 |
return null;
|
788 |
}
|
795 |
}
|
796 |
|
797 |
/***/ }),
|
798 |
+
/* 15 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
799 |
/***/ (function(module, exports, __webpack_require__) {
|
800 |
|
801 |
"use strict";
|
802 |
/* WEBPACK VAR INJECTION */(function(process) {
|
803 |
|
804 |
if (process.env.NODE_ENV === 'production') {
|
805 |
+
module.exports = __webpack_require__(399);
|
806 |
} else {
|
807 |
+
module.exports = __webpack_require__(400);
|
808 |
}
|
809 |
|
810 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
811 |
|
812 |
/***/ }),
|
813 |
+
/* 16 */
|
814 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
815 |
|
816 |
"use strict";
|
817 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _defineProperty;
|
818 |
+
function _defineProperty(obj, key, value) {
|
819 |
+
if (key in obj) {
|
820 |
+
Object.defineProperty(obj, key, {
|
821 |
+
value: value,
|
822 |
+
enumerable: true,
|
823 |
+
configurable: true,
|
824 |
+
writable: true
|
825 |
+
});
|
826 |
+
} else {
|
827 |
+
obj[key] = value;
|
828 |
+
}
|
829 |
+
|
830 |
+
return obj;
|
831 |
+
}
|
832 |
|
833 |
+
/***/ }),
|
834 |
+
/* 17 */
|
835 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
836 |
|
837 |
+
"use strict";
|
838 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = useTheme;
|
839 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_styles__ = __webpack_require__(23);
|
840 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
841 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
842 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
|
843 |
|
844 |
+
|
845 |
+
|
846 |
+
function useTheme() {
|
847 |
+
var theme = Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_styles__["f" /* useTheme */])() || __WEBPACK_IMPORTED_MODULE_2__defaultTheme__["a" /* default */];
|
848 |
+
|
849 |
+
if (process.env.NODE_ENV !== 'production') {
|
850 |
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
851 |
+
__WEBPACK_IMPORTED_MODULE_1_react___default.a.useDebugValue(theme);
|
852 |
+
}
|
853 |
+
|
854 |
+
return theme;
|
855 |
}
|
856 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
857 |
|
858 |
/***/ }),
|
859 |
+
/* 18 */
|
860 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
861 |
+
|
862 |
+
"use strict";
|
863 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonBase__ = __webpack_require__(521);
|
864 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ButtonBase__["a"]; });
|
865 |
+
|
866 |
+
|
867 |
+
/***/ }),
|
868 |
+
/* 19 */
|
869 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
870 |
|
871 |
"use strict";
|
880 |
/* harmony export (immutable) */ __webpack_exports__["c"] = fade;
|
881 |
/* harmony export (immutable) */ __webpack_exports__["a"] = darken;
|
882 |
/* harmony export (immutable) */ __webpack_exports__["e"] = lighten;
|
883 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
|
884 |
+
|
885 |
+
|
886 |
/* eslint-disable no-use-before-define */
|
887 |
|
888 |
/**
|
899 |
|
900 |
if (process.env.NODE_ENV !== 'production') {
|
901 |
if (value < min || value > max) {
|
902 |
+
console.error("Material-UI: The value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "]."));
|
903 |
}
|
904 |
}
|
905 |
|
915 |
|
916 |
function hexToRgb(color) {
|
917 |
color = color.substr(1);
|
918 |
+
var re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g');
|
919 |
var colors = color.match(re);
|
920 |
|
921 |
if (colors && colors[0].length === 1) {
|
924 |
});
|
925 |
}
|
926 |
|
927 |
+
return colors ? "rgb".concat(colors.length === 4 ? 'a' : '', "(").concat(colors.map(function (n, index) {
|
928 |
+
return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
|
929 |
}).join(', '), ")") : '';
|
930 |
}
|
931 |
|
1011 |
var type = color.substring(0, marker);
|
1012 |
|
1013 |
if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {
|
1014 |
+
throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Unsupported `".concat(color, "` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().") : Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["g" /* formatMuiErrorMessage */])(3, color));
|
1015 |
}
|
1016 |
|
1017 |
var values = color.substring(marker + 1, color.length - 1).split(',');
|
1164 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1165 |
|
1166 |
/***/ }),
|
1167 |
+
/* 20 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1168 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1169 |
|
1170 |
"use strict";
|
1171 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
|
1172 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(223);
|
1173 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__ = __webpack_require__(477);
|
1174 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
|
1175 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableRest__ = __webpack_require__(224);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1176 |
|
1177 |
|
1178 |
|
1179 |
|
1180 |
+
function _slicedToArray(arr, i) {
|
1181 |
+
return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableRest__["a" /* default */])();
|
1182 |
+
}
|
1183 |
|
1184 |
/***/ }),
|
1185 |
+
/* 21 */
|
1186 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1187 |
|
1188 |
"use strict";
|
1190 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
1191 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
1192 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
1193 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SvgIcon__ = __webpack_require__(85);
|
1194 |
|
1195 |
|
1196 |
|
1197 |
+
/**
|
1198 |
+
* Private module reserved for @material-ui/x packages.
|
1199 |
+
*/
|
1200 |
+
|
1201 |
function createSvgIcon(path, displayName) {
|
1202 |
+
var Component = function Component(props, ref) {
|
1203 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
1204 |
ref: ref
|
1205 |
+
}, props), path);
|
1206 |
+
};
|
1207 |
|
1208 |
if (process.env.NODE_ENV !== 'production') {
|
1209 |
+
// Need to set `displayName` on the inner component for React.memo.
|
1210 |
+
// React prior to 16.14 ignores `displayName` on the wrapper.
|
1211 |
Component.displayName = "".concat(displayName, "Icon");
|
1212 |
}
|
1213 |
|
1214 |
Component.muiName = __WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */].muiName;
|
1215 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.memo( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.forwardRef(Component));
|
1216 |
}
|
1217 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1218 |
|
1219 |
/***/ }),
|
1220 |
+
/* 22 */
|
1221 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1222 |
+
|
1223 |
+
"use strict";
|
1224 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Paper__ = __webpack_require__(513);
|
1225 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Paper__["a"]; });
|
1226 |
+
|
1227 |
+
|
1228 |
+
/***/ }),
|
1229 |
+
/* 23 */
|
1230 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1231 |
|
1232 |
"use strict";
|
1233 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
|
1234 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createGenerateClassName__ = __webpack_require__(78);
|
1235 |
/* unused harmony reexport createGenerateClassName */
|
1236 |
/* unused harmony namespace reexport */
|
1237 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(192);
|
1238 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__createStyles__["a"]; });
|
1239 |
/* unused harmony namespace reexport */
|
1240 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getThemeProps__ = __webpack_require__(120);
|
1241 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__getThemeProps__["a"]; });
|
1242 |
/* unused harmony namespace reexport */
|
1243 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__jssPreset__ = __webpack_require__(121);
|
1244 |
/* unused harmony reexport jssPreset */
|
1245 |
/* unused harmony namespace reexport */
|
1246 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__makeStyles__ = __webpack_require__(80);
|
1247 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__makeStyles__["a"]; });
|
1248 |
/* unused harmony namespace reexport */
|
1249 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mergeClasses__ = __webpack_require__(124);
|
1250 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__mergeClasses__["a"]; });
|
1251 |
/* unused harmony namespace reexport */
|
1252 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ServerStyleSheets__ = __webpack_require__(199);
|
1253 |
/* unused harmony reexport ServerStyleSheets */
|
1254 |
/* unused harmony namespace reexport */
|
1255 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styled__ = __webpack_require__(200);
|
1256 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_8__styled__["a"]; });
|
1257 |
/* unused harmony namespace reexport */
|
1258 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StylesProvider__ = __webpack_require__(81);
|
1259 |
/* unused harmony reexport StylesProvider */
|
1260 |
/* unused harmony namespace reexport */
|
1261 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ThemeProvider__ = __webpack_require__(201);
|
1262 |
/* unused harmony reexport ThemeProvider */
|
1263 |
/* unused harmony namespace reexport */
|
1264 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useTheme__ = __webpack_require__(56);
|
1265 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useTheme__["a"]; });
|
1266 |
/* unused harmony namespace reexport */
|
1267 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__withStyles__ = __webpack_require__(202);
|
1268 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__withStyles__["a"]; });
|
1269 |
/* unused harmony namespace reexport */
|
1270 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withTheme__ = __webpack_require__(203);
|
1271 |
/* unused harmony reexport withTheme */
|
1272 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__withTheme__["a"]; });
|
1273 |
+
/** @license Material-UI v4.10.0
|
1274 |
*
|
1275 |
* This source code is licensed under the MIT license found in the
|
1276 |
* LICENSE file in the root directory of this source tree.
|
1280 |
/* Warning if there are several instances of @material-ui/styles */
|
1281 |
|
1282 |
if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
|
1283 |
+
__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] = __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] || 0;
|
1284 |
|
1285 |
+
if (__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] === 1) {
|
1286 |
console.warn(['It looks like there are several instances of `@material-ui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://material-ui.com/r/styles-instance-warning for more info.'].join('\n'));
|
1287 |
}
|
1288 |
|
1289 |
+
__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] += 1;
|
1290 |
}
|
1291 |
|
1292 |
|
1318 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1319 |
|
1320 |
/***/ }),
|
1321 |
+
/* 24 */
|
1322 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1323 |
|
1324 |
"use strict";
|
1325 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Typography__ = __webpack_require__(561);
|
1326 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Typography__["a"]; });
|
1327 |
|
1328 |
|
1329 |
/***/ }),
|
1330 |
+
/* 25 */
|
1331 |
+
/***/ (function(module, exports) {
|
1332 |
|
1333 |
+
/**
|
1334 |
+
* Checks if `value` is classified as an `Array` object.
|
1335 |
+
*
|
1336 |
+
* @static
|
1337 |
+
* @memberOf _
|
1338 |
+
* @since 0.1.0
|
1339 |
+
* @category Lang
|
1340 |
+
* @param {*} value The value to check.
|
1341 |
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
1342 |
+
* @example
|
1343 |
+
*
|
1344 |
+
* _.isArray([1, 2, 3]);
|
1345 |
+
* // => true
|
1346 |
+
*
|
1347 |
+
* _.isArray(document.body.children);
|
1348 |
+
* // => false
|
1349 |
+
*
|
1350 |
+
* _.isArray('abc');
|
1351 |
+
* // => false
|
1352 |
+
*
|
1353 |
+
* _.isArray(_.noop);
|
1354 |
+
* // => false
|
1355 |
+
*/
|
1356 |
+
var isArray = Array.isArray;
|
1357 |
+
|
1358 |
+
module.exports = isArray;
|
1359 |
|
1360 |
|
1361 |
/***/ }),
|
1362 |
+
/* 26 */
|
1363 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1364 |
|
1365 |
+
var baseMerge = __webpack_require__(827),
|
1366 |
+
createAssigner = __webpack_require__(831);
|
|
|
|
|
|
|
|
|
1367 |
|
1368 |
+
/**
|
1369 |
+
* This method is like `_.assign` except that it recursively merges own and
|
1370 |
+
* inherited enumerable string keyed properties of source objects into the
|
1371 |
+
* destination object. Source properties that resolve to `undefined` are
|
1372 |
+
* skipped if a destination value exists. Array and plain object properties
|
1373 |
+
* are merged recursively. Other objects and value types are overridden by
|
1374 |
+
* assignment. Source objects are applied from left to right. Subsequent
|
1375 |
+
* sources overwrite property assignments of previous sources.
|
1376 |
+
*
|
1377 |
+
* **Note:** This method mutates `object`.
|
1378 |
+
*
|
1379 |
+
* @static
|
1380 |
+
* @memberOf _
|
1381 |
+
* @since 0.5.0
|
1382 |
+
* @category Object
|
1383 |
+
* @param {Object} object The destination object.
|
1384 |
+
* @param {...Object} [sources] The source objects.
|
1385 |
+
* @returns {Object} Returns `object`.
|
1386 |
+
* @example
|
1387 |
+
*
|
1388 |
+
* var object = {
|
1389 |
+
* 'a': [{ 'b': 2 }, { 'd': 4 }]
|
1390 |
+
* };
|
1391 |
+
*
|
1392 |
+
* var other = {
|
1393 |
+
* 'a': [{ 'c': 3 }, { 'e': 5 }]
|
1394 |
+
* };
|
1395 |
+
*
|
1396 |
+
* _.merge(object, other);
|
1397 |
+
* // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
|
1398 |
+
*/
|
1399 |
+
var merge = createAssigner(function(object, source, srcIndex) {
|
1400 |
+
baseMerge(object, source, srcIndex);
|
1401 |
+
});
|
1402 |
|
1403 |
+
module.exports = merge;
|
1404 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1405 |
|
1406 |
+
/***/ }),
|
1407 |
+
/* 27 */
|
1408 |
+
/***/ (function(module, exports) {
|
1409 |
|
1410 |
+
/**
|
1411 |
+
* Checks if `value` is the
|
1412 |
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
1413 |
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
1414 |
+
*
|
1415 |
+
* @static
|
1416 |
+
* @memberOf _
|
1417 |
+
* @since 0.1.0
|
1418 |
+
* @category Lang
|
1419 |
+
* @param {*} value The value to check.
|
1420 |
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
1421 |
+
* @example
|
1422 |
+
*
|
1423 |
+
* _.isObject({});
|
1424 |
+
* // => true
|
1425 |
+
*
|
1426 |
+
* _.isObject([1, 2, 3]);
|
1427 |
+
* // => true
|
1428 |
+
*
|
1429 |
+
* _.isObject(_.noop);
|
1430 |
+
* // => true
|
1431 |
+
*
|
1432 |
+
* _.isObject(null);
|
1433 |
+
* // => false
|
1434 |
+
*/
|
1435 |
+
function isObject(value) {
|
1436 |
+
var type = typeof value;
|
1437 |
+
return value != null && (type == 'object' || type == 'function');
|
1438 |
}
|
1439 |
+
|
1440 |
+
module.exports = isObject;
|
1441 |
+
|
1442 |
|
1443 |
/***/ }),
|
1444 |
+
/* 28 */
|
1445 |
/***/ (function(module, exports, __webpack_require__) {
|
1446 |
|
1447 |
"use strict";
|
1448 |
|
1449 |
+
var strictUriEncode = __webpack_require__(424);
|
1450 |
+
var objectAssign = __webpack_require__(52);
|
1451 |
|
1452 |
function encoderForArrayFormat(opts) {
|
1453 |
switch (opts.arrayFormat) {
|
1653 |
|
1654 |
|
1655 |
/***/ }),
|
1656 |
+
/* 29 */
|
1657 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1658 |
|
1659 |
"use strict";
|
1660 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = ownerDocument;
|
1661 |
+
function ownerDocument(node) {
|
1662 |
+
return node && node.ownerDocument || document;
|
1663 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1664 |
|
1665 |
+
/***/ }),
|
1666 |
+
/* 30 */
|
1667 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1668 |
|
1669 |
+
var freeGlobal = __webpack_require__(354);
|
1670 |
|
1671 |
+
/** Detect free variable `self`. */
|
1672 |
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
1673 |
|
1674 |
+
/** Used as a reference to the global object. */
|
1675 |
+
var root = freeGlobal || freeSelf || Function('return this')();
|
1676 |
|
1677 |
+
module.exports = root;
|
1678 |
|
1679 |
|
1680 |
+
/***/ }),
|
1681 |
+
/* 31 */
|
1682 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1683 |
|
1684 |
+
"use strict";
|
1685 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1686 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Icon__ = __webpack_require__(432);
|
1687 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Icon__["a"]; });
|
1688 |
|
1689 |
|
1690 |
/***/ }),
|
1691 |
+
/* 32 */
|
1692 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1693 |
|
1694 |
"use strict";
|
1695 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
|
1696 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__ = __webpack_require__(454);
|
1697 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(195);
|
1698 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
|
1699 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableSpread__ = __webpack_require__(455);
|
1700 |
+
|
1701 |
+
|
1702 |
|
1703 |
|
1704 |
+
function _toConsumableArray(arr) {
|
1705 |
+
return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableSpread__["a" /* default */])();
|
1706 |
+
}
|
1707 |
+
|
1708 |
/***/ }),
|
1709 |
+
/* 33 */
|
1710 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1711 |
|
1712 |
"use strict";
|
1713 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(16);
|
1714 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(216);
|
1715 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(127);
|
1716 |
+
|
1717 |
+
|
1718 |
+
|
1719 |
+
|
1720 |
+
function getPath(obj, path) {
|
1721 |
+
if (!path || typeof path !== 'string') {
|
1722 |
+
return null;
|
1723 |
}
|
1724 |
|
1725 |
+
return path.split('.').reduce(function (acc, item) {
|
1726 |
+
return acc && acc[item] ? acc[item] : null;
|
1727 |
+
}, obj);
|
1728 |
}
|
1729 |
|
1730 |
+
function style(options) {
|
1731 |
+
var prop = options.prop,
|
1732 |
+
_options$cssProperty = options.cssProperty,
|
1733 |
+
cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,
|
1734 |
+
themeKey = options.themeKey,
|
1735 |
+
transform = options.transform;
|
1736 |
+
|
1737 |
+
var fn = function fn(props) {
|
1738 |
+
if (props[prop] == null) {
|
1739 |
+
return null;
|
1740 |
+
}
|
1741 |
+
|
1742 |
+
var propValue = props[prop];
|
1743 |
+
var theme = props.theme;
|
1744 |
+
var themeMapping = getPath(theme, themeKey) || {};
|
1745 |
+
|
1746 |
+
var styleFromPropValue = function styleFromPropValue(propValueFinal) {
|
1747 |
+
var value;
|
1748 |
+
|
1749 |
+
if (typeof themeMapping === 'function') {
|
1750 |
+
value = themeMapping(propValueFinal);
|
1751 |
+
} else if (Array.isArray(themeMapping)) {
|
1752 |
+
value = themeMapping[propValueFinal] || propValueFinal;
|
1753 |
+
} else {
|
1754 |
+
value = getPath(themeMapping, propValueFinal) || propValueFinal;
|
1755 |
+
|
1756 |
+
if (transform) {
|
1757 |
+
value = transform(value);
|
1758 |
+
}
|
1759 |
+
}
|
1760 |
+
|
1761 |
+
if (cssProperty === false) {
|
1762 |
+
return value;
|
1763 |
+
}
|
1764 |
+
|
1765 |
+
return Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, cssProperty, value);
|
1766 |
+
};
|
1767 |
+
|
1768 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2__breakpoints__["a" /* handleBreakpoints */])(props, propValue, styleFromPropValue);
|
1769 |
+
};
|
1770 |
+
|
1771 |
+
fn.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, prop, __WEBPACK_IMPORTED_MODULE_1__responsivePropType__["a" /* default */]) : {};
|
1772 |
+
fn.filterProps = [prop];
|
1773 |
+
return fn;
|
1774 |
+
}
|
1775 |
+
|
1776 |
+
/* harmony default export */ __webpack_exports__["a"] = (style);
|
1777 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1778 |
+
|
1779 |
/***/ }),
|
1780 |
+
/* 34 */
|
1781 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1782 |
|
1783 |
"use strict";
|
1852 |
};
|
1853 |
|
1854 |
if (!isString(props) && !Array.isArray(props)) {
|
1855 |
+
console.error('Material-UI: Argument "props" must be a string or Array.');
|
1856 |
}
|
1857 |
|
1858 |
if (!isNumber(durationOption) && !isString(durationOption)) {
|
1859 |
+
console.error("Material-UI: Argument \"duration\" must be a number or a string but found ".concat(durationOption, "."));
|
1860 |
}
|
1861 |
|
1862 |
if (!isString(easingOption)) {
|
1863 |
+
console.error('Material-UI: Argument "easing" must be a string.');
|
1864 |
}
|
1865 |
|
1866 |
if (!isNumber(delay) && !isString(delay)) {
|
1867 |
+
console.error('Material-UI: Argument "delay" must be a number or a string.');
|
1868 |
}
|
1869 |
|
1870 |
if (Object.keys(other).length !== 0) {
|
1871 |
+
console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(other).join(','), "]."));
|
1872 |
}
|
1873 |
}
|
1874 |
|
1889 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
1890 |
|
1891 |
/***/ }),
|
1892 |
+
/* 35 */
|
1893 |
+
/***/ (function(module, exports) {
|
1894 |
|
1895 |
+
/**
|
1896 |
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
1897 |
+
* and has a `typeof` result of "object".
|
1898 |
+
*
|
1899 |
+
* @static
|
1900 |
+
* @memberOf _
|
1901 |
+
* @since 4.0.0
|
1902 |
+
* @category Lang
|
1903 |
+
* @param {*} value The value to check.
|
1904 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
1905 |
+
* @example
|
1906 |
+
*
|
1907 |
+
* _.isObjectLike({});
|
1908 |
+
* // => true
|
1909 |
+
*
|
1910 |
+
* _.isObjectLike([1, 2, 3]);
|
1911 |
+
* // => true
|
1912 |
+
*
|
1913 |
+
* _.isObjectLike(_.noop);
|
1914 |
+
* // => false
|
1915 |
+
*
|
1916 |
+
* _.isObjectLike(null);
|
1917 |
+
* // => false
|
1918 |
+
*/
|
1919 |
+
function isObjectLike(value) {
|
1920 |
+
return value != null && typeof value == 'object';
|
1921 |
}
|
1922 |
|
1923 |
+
module.exports = isObjectLike;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1924 |
|
1925 |
|
1926 |
+
/***/ }),
|
1927 |
+
/* 36 */
|
1928 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1929 |
|
1930 |
+
"use strict";
|
1931 |
|
|
|
|
|
|
|
|
|
1932 |
|
1933 |
+
Object.defineProperty(exports, "__esModule", {
|
1934 |
+
value: true
|
1935 |
+
});
|
1936 |
+
exports.red = exports.getContrastingColor = exports.isValidHex = exports.toState = exports.simpleCheckForValidColor = undefined;
|
1937 |
|
1938 |
+
var _each = __webpack_require__(845);
|
|
|
|
|
|
|
|
|
|
|
1939 |
|
1940 |
+
var _each2 = _interopRequireDefault(_each);
|
|
|
|
|
|
|
1941 |
|
1942 |
+
var _tinycolor = __webpack_require__(847);
|
|
|
|
|
1943 |
|
1944 |
+
var _tinycolor2 = _interopRequireDefault(_tinycolor);
|
|
|
1945 |
|
1946 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
|
|
|
|
|
|
|
1947 |
|
1948 |
+
var simpleCheckForValidColor = exports.simpleCheckForValidColor = function simpleCheckForValidColor(data) {
|
1949 |
+
var keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v'];
|
1950 |
+
var checked = 0;
|
1951 |
+
var passed = 0;
|
1952 |
+
(0, _each2.default)(keysToCheck, function (letter) {
|
1953 |
+
if (data[letter]) {
|
1954 |
+
checked += 1;
|
1955 |
+
if (!isNaN(data[letter])) {
|
1956 |
+
passed += 1;
|
1957 |
}
|
1958 |
+
if (letter === 's' || letter === 'l') {
|
1959 |
+
var percentPatt = /^\d+%$/;
|
1960 |
+
if (percentPatt.test(data[letter])) {
|
1961 |
+
passed += 1;
|
1962 |
+
}
|
1963 |
}
|
1964 |
+
}
|
1965 |
+
});
|
1966 |
+
return checked === passed ? data : false;
|
1967 |
+
};
|
1968 |
|
1969 |
+
var toState = exports.toState = function toState(data, oldHue) {
|
1970 |
+
var color = data.hex ? (0, _tinycolor2.default)(data.hex) : (0, _tinycolor2.default)(data);
|
1971 |
+
var hsl = color.toHsl();
|
1972 |
+
var hsv = color.toHsv();
|
1973 |
+
var rgb = color.toRgb();
|
1974 |
+
var hex = color.toHex();
|
1975 |
+
if (hsl.s === 0) {
|
1976 |
+
hsl.h = oldHue || 0;
|
1977 |
+
hsv.h = oldHue || 0;
|
1978 |
+
}
|
1979 |
+
var transparent = hex === '000000' && rgb.a === 0;
|
1980 |
|
1981 |
+
return {
|
1982 |
+
hsl: hsl,
|
1983 |
+
hex: transparent ? 'transparent' : '#' + hex,
|
1984 |
+
rgb: rgb,
|
1985 |
+
hsv: hsv,
|
1986 |
+
oldHue: data.h || oldHue || hsl.h,
|
1987 |
+
source: data.source
|
1988 |
};
|
1989 |
+
};
|
1990 |
|
1991 |
+
var isValidHex = exports.isValidHex = function isValidHex(hex) {
|
1992 |
+
// disable hex4 and hex8
|
1993 |
+
var lh = String(hex).charAt(0) === '#' ? 1 : 0;
|
1994 |
+
return hex.length !== 4 + lh && hex.length < 7 + lh && (0, _tinycolor2.default)(hex).isValid();
|
1995 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1996 |
|
1997 |
+
var getContrastingColor = exports.getContrastingColor = function getContrastingColor(data) {
|
1998 |
+
if (!data) {
|
1999 |
+
return '#fff';
|
2000 |
+
}
|
2001 |
+
var col = toState(data);
|
2002 |
+
if (col.hex === 'transparent') {
|
2003 |
+
return 'rgba(0,0,0,0.4)';
|
2004 |
+
}
|
2005 |
+
var yiq = (col.rgb.r * 299 + col.rgb.g * 587 + col.rgb.b * 114) / 1000;
|
2006 |
+
return yiq >= 128 ? '#000' : '#fff';
|
2007 |
+
};
|
2008 |
|
2009 |
+
var red = exports.red = {
|
2010 |
+
hsl: { a: 1, h: 0, l: 0.5, s: 1 },
|
2011 |
+
hex: '#ff0000',
|
2012 |
+
rgb: { r: 255, g: 0, b: 0, a: 1 },
|
2013 |
+
hsv: { h: 0, s: 1, v: 1, a: 1 }
|
2014 |
+
};
|
2015 |
|
2016 |
+
exports.default = exports;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017 |
|
2018 |
/***/ }),
|
2019 |
+
/* 37 */
|
2020 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2021 |
|
2022 |
"use strict";
|
2023 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
2024 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__merge__ = __webpack_require__(83);
|
2025 |
|
2026 |
|
2027 |
|
2070 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
2071 |
|
2072 |
/***/ }),
|
2073 |
+
/* 38 */
|
2074 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2075 |
+
|
2076 |
+
"use strict";
|
2077 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = useEventCallback;
|
2078 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
2079 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
2080 |
+
|
2081 |
+
var useEnhancedEffect = typeof window !== 'undefined' ? __WEBPACK_IMPORTED_MODULE_0_react__["useLayoutEffect"] : __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"];
|
2082 |
+
/**
|
2083 |
+
* https://github.com/facebook/react/issues/14099#issuecomment-440013892
|
2084 |
+
*
|
2085 |
+
* @param {function} fn
|
2086 |
+
*/
|
2087 |
+
|
2088 |
+
function useEventCallback(fn) {
|
2089 |
+
var ref = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](fn);
|
2090 |
+
useEnhancedEffect(function () {
|
2091 |
+
ref.current = fn;
|
2092 |
+
});
|
2093 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function () {
|
2094 |
+
return (0, ref.current).apply(void 0, arguments);
|
2095 |
+
}, []);
|
2096 |
+
}
|
2097 |
+
|
2098 |
+
/***/ }),
|
2099 |
+
/* 39 */
|
2100 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2101 |
|
2102 |
"use strict";
|
2103 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2104 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__ = __webpack_require__(398);
|
2105 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "BrowserRouter", function() { return __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__["a"]; });
|
2106 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HashRouter__ = __webpack_require__(406);
|
2107 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HashRouter", function() { return __WEBPACK_IMPORTED_MODULE_1__HashRouter__["a"]; });
|
2108 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Link__ = __webpack_require__(185);
|
2109 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Link", function() { return __WEBPACK_IMPORTED_MODULE_2__Link__["a"]; });
|
2110 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(407);
|
2111 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryRouter", function() { return __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__["a"]; });
|
2112 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(409);
|
2113 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavLink", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
|
2114 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(411);
|
2115 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Prompt", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
|
2116 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(413);
|
2117 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Redirect", function() { return __WEBPACK_IMPORTED_MODULE_6__Redirect__["a"]; });
|
2118 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(186);
|
2119 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Route", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
|
2120 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(116);
|
2121 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Router", function() { return __WEBPACK_IMPORTED_MODULE_8__Router__["a"]; });
|
2122 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(415);
|
2123 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "StaticRouter", function() { return __WEBPACK_IMPORTED_MODULE_9__StaticRouter__["a"]; });
|
2124 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(417);
|
2125 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Switch", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
|
2126 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(419);
|
2127 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "generatePath", function() { return __WEBPACK_IMPORTED_MODULE_11__generatePath__["a"]; });
|
2128 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(420);
|
2129 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matchPath", function() { return __WEBPACK_IMPORTED_MODULE_12__matchPath__["a"]; });
|
2130 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withRouter__ = __webpack_require__(421);
|
2131 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "withRouter", function() { return __WEBPACK_IMPORTED_MODULE_13__withRouter__["a"]; });
|
2132 |
|
2133 |
|
2159 |
|
2160 |
|
2161 |
/***/ }),
|
2162 |
+
/* 40 */
|
2163 |
/***/ (function(module, exports, __webpack_require__) {
|
2164 |
|
2165 |
"use strict";
|
2229 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
2230 |
|
2231 |
/***/ }),
|
2232 |
+
/* 41 */
|
2233 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2234 |
|
2235 |
"use strict";
|
2236 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = useControlled;
|
2237 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
2238 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
2239 |
+
/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */
|
2240 |
+
|
2241 |
+
function useControlled(_ref) {
|
2242 |
+
var controlled = _ref.controlled,
|
2243 |
+
defaultProp = _ref.default,
|
2244 |
+
name = _ref.name,
|
2245 |
+
_ref$state = _ref.state,
|
2246 |
+
state = _ref$state === void 0 ? 'value' : _ref$state;
|
2247 |
+
|
2248 |
+
var _React$useRef = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](controlled !== undefined),
|
2249 |
+
isControlled = _React$useRef.current;
|
2250 |
+
|
2251 |
+
var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](defaultProp),
|
2252 |
+
valueState = _React$useState[0],
|
2253 |
+
setValue = _React$useState[1];
|
2254 |
+
|
2255 |
+
var value = isControlled ? controlled : valueState;
|
2256 |
+
|
2257 |
+
if (process.env.NODE_ENV !== 'production') {
|
2258 |
+
__WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
|
2259 |
+
if (isControlled !== (controlled !== undefined)) {
|
2260 |
+
console.error(["Material-UI: A component is changing the ".concat(isControlled ? '' : 'un', "controlled ").concat(state, " state of ").concat(name, " to be ").concat(isControlled ? 'un' : '', "controlled."), 'Elements should not switch from uncontrolled to controlled (or vice versa).', "Decide between using a controlled or uncontrolled ".concat(name, " ") + 'element for the lifetime of the component.', "The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.", 'More info: https://fb.me/react-controlled-components'].join('\n'));
|
2261 |
+
}
|
2262 |
+
}, [controlled]);
|
2263 |
+
|
2264 |
+
var _React$useRef2 = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](defaultProp),
|
2265 |
+
defaultValue = _React$useRef2.current;
|
2266 |
+
|
2267 |
+
__WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
|
2268 |
+
if (!isControlled && defaultValue !== defaultProp) {
|
2269 |
+
console.error(["Material-UI: A component is changing the default ".concat(state, " state of an uncontrolled ").concat(name, " after being initialized. ") + "To suppress this warning opt to use a controlled ".concat(name, ".")].join('\n'));
|
2270 |
+
}
|
2271 |
+
}, [JSON.stringify(defaultProp)]);
|
2272 |
}
|
|
|
2273 |
|
2274 |
+
var setValueIfUncontrolled = __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function (newValue) {
|
2275 |
+
if (!isControlled) {
|
2276 |
+
setValue(newValue);
|
2277 |
+
}
|
2278 |
+
}, []);
|
2279 |
+
return [value, setValueIfUncontrolled];
|
2280 |
}
|
2281 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
2282 |
|
2283 |
/***/ }),
|
2284 |
+
/* 42 */
|
2285 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2286 |
|
2287 |
"use strict";
|
2288 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__IconButton__ = __webpack_require__(520);
|
2289 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__IconButton__["a"]; });
|
2290 |
+
|
2291 |
+
|
2292 |
+
/***/ }),
|
2293 |
+
/* 43 */
|
2294 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2295 |
+
|
2296 |
+
var arrayMap = __webpack_require__(361),
|
2297 |
+
baseIteratee = __webpack_require__(736),
|
2298 |
+
baseMap = __webpack_require__(794),
|
2299 |
+
isArray = __webpack_require__(25);
|
2300 |
+
|
2301 |
+
/**
|
2302 |
+
* Creates an array of values by running each element in `collection` thru
|
2303 |
+
* `iteratee`. The iteratee is invoked with three arguments:
|
2304 |
+
* (value, index|key, collection).
|
2305 |
+
*
|
2306 |
+
* Many lodash methods are guarded to work as iteratees for methods like
|
2307 |
+
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
|
2308 |
+
*
|
2309 |
+
* The guarded methods are:
|
2310 |
+
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
|
2311 |
+
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
|
2312 |
+
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
|
2313 |
+
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
|
2314 |
+
*
|
2315 |
+
* @static
|
2316 |
+
* @memberOf _
|
2317 |
+
* @since 0.1.0
|
2318 |
+
* @category Collection
|
2319 |
+
* @param {Array|Object} collection The collection to iterate over.
|
2320 |
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
2321 |
+
* @returns {Array} Returns the new mapped array.
|
2322 |
+
* @example
|
2323 |
+
*
|
2324 |
+
* function square(n) {
|
2325 |
+
* return n * n;
|
2326 |
+
* }
|
2327 |
+
*
|
2328 |
+
* _.map([4, 8], square);
|
2329 |
+
* // => [16, 64]
|
2330 |
+
*
|
2331 |
+
* _.map({ 'a': 4, 'b': 8 }, square);
|
2332 |
+
* // => [16, 64] (iteration order is not guaranteed)
|
2333 |
+
*
|
2334 |
+
* var users = [
|
2335 |
+
* { 'user': 'barney' },
|
2336 |
+
* { 'user': 'fred' }
|
2337 |
+
* ];
|
2338 |
+
*
|
2339 |
+
* // The `_.property` iteratee shorthand.
|
2340 |
+
* _.map(users, 'user');
|
2341 |
+
* // => ['barney', 'fred']
|
2342 |
+
*/
|
2343 |
+
function map(collection, iteratee) {
|
2344 |
+
var func = isArray(collection) ? arrayMap : baseMap;
|
2345 |
+
return func(collection, baseIteratee(iteratee, 3));
|
2346 |
}
|
2347 |
|
2348 |
+
module.exports = map;
|
2349 |
+
|
2350 |
+
|
2351 |
/***/ }),
|
2352 |
+
/* 44 */
|
2353 |
/***/ (function(module, exports, __webpack_require__) {
|
2354 |
|
2355 |
"use strict";
|
2406 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
2407 |
|
2408 |
/***/ }),
|
2409 |
+
/* 45 */
|
2410 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2411 |
|
2412 |
"use strict";
|
2413 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _typeof;
|
2414 |
+
function _typeof(obj) {
|
2415 |
+
"@babel/helpers - typeof";
|
2416 |
+
|
2417 |
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
2418 |
+
_typeof = function _typeof(obj) {
|
2419 |
+
return typeof obj;
|
2420 |
+
};
|
2421 |
+
} else {
|
2422 |
+
_typeof = function _typeof(obj) {
|
2423 |
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
2424 |
+
};
|
2425 |
+
}
|
2426 |
+
|
2427 |
+
return _typeof(obj);
|
2428 |
+
}
|
2429 |
+
|
2430 |
+
/***/ }),
|
2431 |
+
/* 46 */
|
2432 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2433 |
+
|
2434 |
+
"use strict";
|
2435 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RuleList; });
|
2436 |
+
/* unused harmony export SheetsManager */
|
2437 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return SheetsRegistry; });
|
2438 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return create; });
|
2439 |
+
/* unused harmony export createGenerateId */
|
|
|
2440 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createRule; });
|
2441 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getDynamicStyles; });
|
2442 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return hasCSSTOMSupport; });
|
|
|
2443 |
/* unused harmony export sheets */
|
2444 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return toCssValue; });
|
2445 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
2446 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_is_in_browser__ = __webpack_require__(193);
|
2447 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_tiny_warning__ = __webpack_require__(77);
|
2448 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__ = __webpack_require__(79);
|
2449 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
|
2450 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(122);
|
2451 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
|
2452 |
|
2453 |
|
2454 |
|
3102 |
var str = '';
|
3103 |
|
3104 |
for (var index = 0; index < this.style.length; index++) {
|
3105 |
+
str += toCss(this.at, this.style[index]);
|
3106 |
if (this.style[index + 1]) str += '\n';
|
3107 |
}
|
3108 |
|
3109 |
return str;
|
3110 |
}
|
3111 |
|
3112 |
+
return toCss(this.at, this.style, options);
|
3113 |
};
|
3114 |
|
3115 |
return FontFaceRule;
|
3116 |
}();
|
3117 |
+
var keyRegExp$2 = /@font-face/;
|
3118 |
var pluginFontFaceRule = {
|
3119 |
onCreateRule: function onCreateRule(key, style, options) {
|
3120 |
+
return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;
|
3121 |
}
|
3122 |
};
|
3123 |
|
3325 |
;
|
3326 |
|
3327 |
_proto.process = function process() {
|
3328 |
+
var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop
|
3329 |
// we end up with very hard-to-track-down side effects.
|
3330 |
|
3331 |
+
this.index.slice(0).forEach(plugins.onProcessRule, plugins);
|
3332 |
}
|
3333 |
/**
|
3334 |
* Register a rule in `.map`, `.classes` and `.keyframes` maps.
|
3402 |
}
|
3403 |
|
3404 |
var _this$options2 = this.options,
|
3405 |
+
plugins = _this$options2.jss.plugins,
|
3406 |
sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.
|
3407 |
|
3408 |
if (rule.rules instanceof RuleList) {
|
3412 |
|
3413 |
var styleRule = rule;
|
3414 |
var style = styleRule.style;
|
3415 |
+
plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
|
3416 |
|
3417 |
if (options.process && style && style !== styleRule.style) {
|
3418 |
// We need to run the plugins in case new `style` relies on syntax plugins.
|
3419 |
+
plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.
|
3420 |
|
3421 |
for (var prop in styleRule.style) {
|
3422 |
var nextValue = styleRule.style[prop];
|
4398 |
function () {
|
4399 |
function Jss(options) {
|
4400 |
this.id = instanceCounter++;
|
4401 |
+
this.version = "10.3.0";
|
4402 |
this.plugins = new PluginsRegistry();
|
4403 |
this.options = {
|
4404 |
id: {
|
4499 |
*/
|
4500 |
;
|
4501 |
|
4502 |
+
_proto.createRule = function createRule$1(name, style, options) {
|
4503 |
if (style === void 0) {
|
4504 |
style = {};
|
4505 |
}
|
4536 |
_proto.use = function use() {
|
4537 |
var _this = this;
|
4538 |
|
4539 |
+
for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
|
4540 |
+
plugins[_key] = arguments[_key];
|
4541 |
}
|
4542 |
|
4543 |
+
plugins.forEach(function (plugin) {
|
4544 |
_this.plugins.use(plugin);
|
4545 |
});
|
4546 |
return this;
|
4674 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
4675 |
|
4676 |
/***/ }),
|
4677 |
+
/* 47 */
|
4678 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4679 |
|
4680 |
"use strict";
|
4681 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = debounce;
|
4682 |
+
// Corresponds to 10 frames at 60 Hz.
|
4683 |
+
// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
|
4684 |
+
function debounce(func) {
|
4685 |
+
var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;
|
4686 |
+
var timeout;
|
4687 |
|
4688 |
+
function debounced() {
|
4689 |
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
4690 |
+
args[_key] = arguments[_key];
|
4691 |
+
}
|
4692 |
|
4693 |
+
// eslint-disable-next-line consistent-this
|
4694 |
+
var that = this;
|
|
|
4695 |
|
4696 |
+
var later = function later() {
|
4697 |
+
func.apply(that, args);
|
4698 |
+
};
|
4699 |
+
|
4700 |
+
clearTimeout(timeout);
|
4701 |
+
timeout = setTimeout(later, wait);
|
4702 |
}
|
4703 |
+
|
4704 |
+
debounced.clear = function () {
|
4705 |
+
clearTimeout(timeout);
|
4706 |
+
};
|
4707 |
+
|
4708 |
+
return debounced;
|
4709 |
}
|
4710 |
|
4711 |
/***/ }),
|
4712 |
+
/* 48 */
|
4713 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4714 |
|
4715 |
"use strict";
|
4716 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = setRef;
|
4717 |
+
// TODO v5: consider to make it private
|
4718 |
+
function setRef(ref, value) {
|
4719 |
+
if (typeof ref === 'function') {
|
4720 |
+
ref(value);
|
4721 |
+
} else if (ref) {
|
4722 |
+
ref.current = value;
|
4723 |
+
}
|
4724 |
+
}
|
4725 |
|
4726 |
/***/ }),
|
4727 |
+
/* 49 */
|
4728 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4729 |
|
4730 |
"use strict";
|
4731 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = useFormControl;
|
4732 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
4733 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
4734 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__FormControlContext__ = __webpack_require__(91);
|
4735 |
|
|
|
|
|
|
|
|
|
4736 |
|
4737 |
+
function useFormControl() {
|
4738 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](__WEBPACK_IMPORTED_MODULE_1__FormControlContext__["a" /* default */]);
|
4739 |
+
}
|
4740 |
|
4741 |
+
/***/ }),
|
4742 |
+
/* 50 */
|
4743 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4744 |
|
4745 |
+
var Symbol = __webpack_require__(73),
|
4746 |
+
getRawTag = __webpack_require__(727),
|
4747 |
+
objectToString = __webpack_require__(728);
|
4748 |
|
4749 |
+
/** `Object#toString` result references. */
|
4750 |
+
var nullTag = '[object Null]',
|
4751 |
+
undefinedTag = '[object Undefined]';
|
|
|
|
|
|
|
4752 |
|
4753 |
+
/** Built-in value references. */
|
4754 |
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
4755 |
|
4756 |
+
/**
|
4757 |
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
4758 |
+
*
|
4759 |
+
* @private
|
4760 |
+
* @param {*} value The value to query.
|
4761 |
+
* @returns {string} Returns the `toStringTag`.
|
4762 |
+
*/
|
4763 |
+
function baseGetTag(value) {
|
4764 |
+
if (value == null) {
|
4765 |
+
return value === undefined ? undefinedTag : nullTag;
|
4766 |
}
|
4767 |
+
return (symToStringTag && symToStringTag in Object(value))
|
4768 |
+
? getRawTag(value)
|
4769 |
+
: objectToString(value);
|
|
|
|
|
|
|
|
|
4770 |
}
|
|
|
4771 |
|
4772 |
+
module.exports = baseGetTag;
|
|
|
|
|
4773 |
|
|
|
|
|
|
|
|
|
|
|
4774 |
|
4775 |
+
/***/ }),
|
4776 |
+
/* 51 */
|
4777 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4778 |
+
|
4779 |
+
var baseIsNative = __webpack_require__(749),
|
4780 |
+
getValue = __webpack_require__(752);
|
4781 |
|
4782 |
+
/**
|
4783 |
+
* Gets the native function at `key` of `object`.
|
4784 |
+
*
|
4785 |
+
* @private
|
4786 |
+
* @param {Object} object The object to query.
|
4787 |
+
* @param {string} key The key of the method to get.
|
4788 |
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
4789 |
+
*/
|
4790 |
+
function getNative(object, key) {
|
4791 |
+
var value = getValue(object, key);
|
4792 |
+
return baseIsNative(value) ? value : undefined;
|
4793 |
}
|
4794 |
|
4795 |
+
module.exports = getNative;
|
4796 |
+
|
4797 |
+
|
4798 |
/***/ }),
|
4799 |
+
/* 52 */
|
4800 |
/***/ (function(module, exports, __webpack_require__) {
|
4801 |
|
4802 |
"use strict";
|
4893 |
|
4894 |
|
4895 |
/***/ }),
|
4896 |
+
/* 53 */
|
4897 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4898 |
|
4899 |
"use strict";
|
4905 |
/* unused harmony export parsePath */
|
4906 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
|
4907 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
4908 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_resolve_pathname__ = __webpack_require__(403);
|
4909 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_value_equal__ = __webpack_require__(404);
|
4910 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_tiny_warning__ = __webpack_require__(77);
|
4911 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_tiny_invariant__ = __webpack_require__(405);
|
4912 |
|
4913 |
|
4914 |
|
5832 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
5833 |
|
5834 |
/***/ }),
|
5835 |
+
/* 54 */
|
5836 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5837 |
|
5838 |
"use strict";
|
5853 |
}
|
5854 |
|
5855 |
/***/ }),
|
5856 |
+
/* 55 */
|
5857 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5858 |
|
5859 |
"use strict";
|
5865 |
}
|
5866 |
|
5867 |
/***/ }),
|
5868 |
+
/* 56 */
|
5869 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5870 |
|
5871 |
"use strict";
|
5872 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useTheme__ = __webpack_require__(460);
|
5873 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useTheme__["a"]; });
|
5874 |
|
5875 |
|
5876 |
/***/ }),
|
5877 |
+
/* 57 */
|
5878 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5879 |
+
|
5880 |
+
"use strict";
|
5881 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createChainedFunction;
|
5882 |
+
/**
|
5883 |
+
* Safe chained function
|
5884 |
+
*
|
5885 |
+
* Will only create a new function if needed,
|
5886 |
+
* otherwise will pass back existing functions or null.
|
5887 |
+
*
|
5888 |
+
* @param {function} functions to chain
|
5889 |
+
* @returns {function|null}
|
5890 |
+
*/
|
5891 |
+
function createChainedFunction() {
|
5892 |
+
for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
|
5893 |
+
funcs[_key] = arguments[_key];
|
5894 |
+
}
|
5895 |
+
|
5896 |
+
return funcs.reduce(function (acc, func) {
|
5897 |
+
if (func == null) {
|
5898 |
+
return acc;
|
5899 |
+
}
|
5900 |
+
|
5901 |
+
if (process.env.NODE_ENV !== 'production') {
|
5902 |
+
if (typeof func !== 'function') {
|
5903 |
+
console.error('Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.');
|
5904 |
+
}
|
5905 |
+
}
|
5906 |
+
|
5907 |
+
return function chainedFunction() {
|
5908 |
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
5909 |
+
args[_key2] = arguments[_key2];
|
5910 |
+
}
|
5911 |
+
|
5912 |
+
acc.apply(this, args);
|
5913 |
+
func.apply(this, args);
|
5914 |
+
};
|
5915 |
+
}, function () {});
|
5916 |
+
}
|
5917 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
5918 |
+
|
5919 |
+
/***/ }),
|
5920 |
+
/* 58 */
|
5921 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5922 |
|
5923 |
"use strict";
|
5924 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(523);
|
5925 |
/* unused harmony reexport CSSTransition */
|
5926 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(527);
|
5927 |
/* unused harmony reexport ReplaceTransition */
|
5928 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(529);
|
5929 |
/* unused harmony reexport SwitchTransition */
|
5930 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(241);
|
5931 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
|
5932 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(130);
|
5933 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
|
5934 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(239);
|
5935 |
/* unused harmony reexport config */
|
5936 |
|
5937 |
|
5941 |
|
5942 |
|
5943 |
/***/ }),
|
5944 |
+
/* 59 */
|
5945 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5946 |
+
|
5947 |
+
"use strict";
|
5948 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Collapse__ = __webpack_require__(547);
|
5949 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Collapse__["a"]; });
|
5950 |
+
|
5951 |
+
|
5952 |
+
/***/ }),
|
5953 |
+
/* 60 */
|
5954 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5955 |
|
5956 |
"use strict";
|
5970 |
}
|
5971 |
|
5972 |
/***/ }),
|
5973 |
+
/* 61 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5974 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5975 |
|
5976 |
"use strict";
|
5977 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputBase__ = __webpack_require__(599);
|
5978 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputBase__["a"]; });
|
5979 |
|
5980 |
|
5981 |
/***/ }),
|
5982 |
+
/* 62 */
|
5983 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5984 |
|
5985 |
"use strict";
|
6002 |
}
|
6003 |
|
6004 |
/***/ }),
|
6005 |
+
/* 63 */
|
6006 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6007 |
|
6008 |
+
var isFunction = __webpack_require__(175),
|
6009 |
+
isLength = __webpack_require__(171);
|
|
|
|
|
6010 |
|
6011 |
+
/**
|
6012 |
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
6013 |
+
* not a function and has a `value.length` that's an integer greater than or
|
6014 |
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
6015 |
+
*
|
6016 |
+
* @static
|
6017 |
+
* @memberOf _
|
6018 |
+
* @since 4.0.0
|
6019 |
+
* @category Lang
|
6020 |
+
* @param {*} value The value to check.
|
6021 |
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
6022 |
+
* @example
|
6023 |
+
*
|
6024 |
+
* _.isArrayLike([1, 2, 3]);
|
6025 |
+
* // => true
|
6026 |
+
*
|
6027 |
+
* _.isArrayLike(document.body.children);
|
6028 |
+
* // => true
|
6029 |
+
*
|
6030 |
+
* _.isArrayLike('abc');
|
6031 |
+
* // => true
|
6032 |
+
*
|
6033 |
+
* _.isArrayLike(_.noop);
|
6034 |
+
* // => false
|
6035 |
+
*/
|
6036 |
+
function isArrayLike(value) {
|
6037 |
+
return value != null && isLength(value.length) && !isFunction(value);
|
6038 |
}
|
6039 |
|
6040 |
+
module.exports = isArrayLike;
|
|
|
|
|
6041 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6042 |
|
6043 |
/***/ }),
|
6044 |
+
/* 64 */
|
6045 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6046 |
|
6047 |
"use strict";
|
6048 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createMuiTheme__ = __webpack_require__(126);
|
|
|
|
|
|
|
|
|
|
|
|
|
6049 |
|
6050 |
+
var defaultTheme = Object(__WEBPACK_IMPORTED_MODULE_0__createMuiTheme__["a" /* default */])();
|
6051 |
+
/* harmony default export */ __webpack_exports__["a"] = (defaultTheme);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6052 |
|
6053 |
/***/ }),
|
6054 |
+
/* 65 */
|
6055 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6056 |
|
6057 |
"use strict";
|
6058 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(230);
|
6059 |
|
6060 |
|
6061 |
function css() {
|
6070 |
|
6071 |
|
6072 |
/***/ }),
|
6073 |
+
/* 66 */
|
6074 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6075 |
|
6076 |
"use strict";
|
6077 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = isMuiElement;
|
6078 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6079 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
6080 |
|
6081 |
+
function isMuiElement(element, muiNames) {
|
6082 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["isValidElement"](element) && muiNames.indexOf(element.type.muiName) !== -1;
|
6083 |
+
}
|
6084 |
|
6085 |
/***/ }),
|
6086 |
+
/* 67 */
|
6087 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6088 |
|
6089 |
"use strict";
|
6090 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export teardown */
|
6091 |
/* harmony export (immutable) */ __webpack_exports__["a"] = useIsFocusVisible;
|
6092 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6093 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
6094 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom__ = __webpack_require__(11);
|
6095 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react_dom__);
|
6096 |
// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
|
6097 |
|
6202 |
|
6203 |
try {
|
6204 |
return target.matches(':focus-visible');
|
6205 |
+
} catch (error) {// browsers not implementing :focus-visible will throw a SyntaxError
|
6206 |
+
// we use our own heuristic for those browsers
|
6207 |
+
// rethrow might be better if it's not the expected error but do we really
|
6208 |
+
// want to crash if focus-visible malfunctioned?
|
6209 |
+
} // no need for validFocusTarget check. the user does that by attaching it to
|
6210 |
// focusable events only
|
6211 |
|
6212 |
|
6230 |
}
|
6231 |
|
6232 |
function useIsFocusVisible() {
|
6233 |
+
var ref = __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function (instance) {
|
6234 |
+
var node = __WEBPACK_IMPORTED_MODULE_1_react_dom__["findDOMNode"](instance);
|
6235 |
|
6236 |
if (node != null) {
|
6237 |
prepare(node.ownerDocument);
|
6238 |
}
|
6239 |
}, []);
|
6240 |
+
|
6241 |
+
if (process.env.NODE_ENV !== 'production') {
|
6242 |
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
6243 |
+
__WEBPACK_IMPORTED_MODULE_0_react__["useDebugValue"](isFocusVisible);
|
6244 |
+
}
|
6245 |
+
|
6246 |
return {
|
6247 |
isFocusVisible: isFocusVisible,
|
6248 |
onBlurVisible: handleBlurVisible,
|
6249 |
ref: ref
|
6250 |
};
|
6251 |
}
|
6252 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6253 |
|
6254 |
/***/ }),
|
6255 |
+
/* 68 */
|
6256 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6257 |
|
6258 |
"use strict";
|
6259 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Modal__ = __webpack_require__(583);
|
6260 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Modal__["a"]; });
|
6261 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ModalManager__ = __webpack_require__(267);
|
6262 |
+
/* unused harmony reexport ModalManager */
|
6263 |
+
|
6264 |
|
|
|
|
|
|
|
6265 |
|
6266 |
/***/ }),
|
6267 |
+
/* 69 */
|
6268 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6269 |
|
6270 |
"use strict";
|
6271 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grow__ = __webpack_require__(610);
|
6272 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Grow__["a"]; });
|
6273 |
|
|
|
|
|
|
|
|
|
6274 |
|
6275 |
/***/ }),
|
6276 |
+
/* 70 */
|
6277 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6278 |
|
6279 |
"use strict";
|
6280 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Input__ = __webpack_require__(615);
|
6281 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Input__["a"]; });
|
6282 |
|
6283 |
|
6284 |
/***/ }),
|
6285 |
+
/* 71 */
|
6286 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6287 |
|
6288 |
"use strict";
|
6289 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6290 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
6291 |
+
|
6292 |
+
/**
|
6293 |
+
* @ignore - internal component.
|
6294 |
+
*/
|
6295 |
+
|
6296 |
+
var ListContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
|
6297 |
|
6298 |
+
if (process.env.NODE_ENV !== 'production') {
|
6299 |
+
ListContext.displayName = 'ListContext';
|
6300 |
+
}
|
6301 |
|
6302 |
+
/* harmony default export */ __webpack_exports__["a"] = (ListContext);
|
6303 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6304 |
|
6305 |
/***/ }),
|
6306 |
+
/* 72 */
|
6307 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6308 |
|
6309 |
"use strict";
|
6310 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6311 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
6312 |
+
|
6313 |
/**
|
6314 |
+
* @ignore - internal component.
|
|
|
|
|
|
|
|
|
|
|
|
|
6315 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6316 |
|
6317 |
+
var Tablelvl2Context = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
|
|
|
|
|
|
|
6318 |
|
6319 |
+
if (process.env.NODE_ENV !== 'production') {
|
6320 |
+
Tablelvl2Context.displayName = 'Tablelvl2Context';
|
|
|
|
|
6321 |
}
|
6322 |
+
|
6323 |
+
/* harmony default export */ __webpack_exports__["a"] = (Tablelvl2Context);
|
6324 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6325 |
|
6326 |
/***/ }),
|
6327 |
+
/* 73 */
|
6328 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6329 |
|
6330 |
+
var root = __webpack_require__(30);
|
6331 |
+
|
6332 |
+
/** Built-in value references. */
|
6333 |
+
var Symbol = root.Symbol;
|
6334 |
+
|
6335 |
+
module.exports = Symbol;
|
6336 |
|
6337 |
|
6338 |
/***/ }),
|
6339 |
+
/* 74 */
|
6340 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6341 |
|
6342 |
+
var arrayLikeKeys = __webpack_require__(357),
|
6343 |
+
baseKeys = __webpack_require__(734),
|
6344 |
+
isArrayLike = __webpack_require__(63);
|
6345 |
+
|
6346 |
+
/**
|
6347 |
+
* Creates an array of the own enumerable property names of `object`.
|
6348 |
+
*
|
6349 |
+
* **Note:** Non-object values are coerced to objects. See the
|
6350 |
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
6351 |
+
* for more details.
|
6352 |
+
*
|
6353 |
+
* @static
|
6354 |
+
* @since 0.1.0
|
6355 |
+
* @memberOf _
|
6356 |
+
* @category Object
|
6357 |
+
* @param {Object} object The object to query.
|
6358 |
+
* @returns {Array} Returns the array of property names.
|
6359 |
+
* @example
|
6360 |
+
*
|
6361 |
+
* function Foo() {
|
6362 |
+
* this.a = 1;
|
6363 |
+
* this.b = 2;
|
6364 |
+
* }
|
6365 |
+
*
|
6366 |
+
* Foo.prototype.c = 3;
|
6367 |
+
*
|
6368 |
+
* _.keys(new Foo);
|
6369 |
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
6370 |
+
*
|
6371 |
+
* _.keys('hi');
|
6372 |
+
* // => ['0', '1']
|
6373 |
+
*/
|
6374 |
+
function keys(object) {
|
6375 |
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
6376 |
+
}
|
6377 |
+
|
6378 |
+
module.exports = keys;
|
6379 |
|
6380 |
|
6381 |
/***/ }),
|
6382 |
+
/* 75 */
|
6383 |
+
/***/ (function(module, exports) {
|
6384 |
|
6385 |
+
/**
|
6386 |
+
* Performs a
|
6387 |
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
6388 |
+
* comparison between two values to determine if they are equivalent.
|
6389 |
+
*
|
6390 |
+
* @static
|
6391 |
+
* @memberOf _
|
6392 |
+
* @since 4.0.0
|
6393 |
+
* @category Lang
|
6394 |
+
* @param {*} value The value to compare.
|
6395 |
+
* @param {*} other The other value to compare.
|
6396 |
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
6397 |
+
* @example
|
6398 |
+
*
|
6399 |
+
* var object = { 'a': 1 };
|
6400 |
+
* var other = { 'a': 1 };
|
6401 |
+
*
|
6402 |
+
* _.eq(object, object);
|
6403 |
+
* // => true
|
6404 |
+
*
|
6405 |
+
* _.eq(object, other);
|
6406 |
+
* // => false
|
6407 |
+
*
|
6408 |
+
* _.eq('a', 'a');
|
6409 |
+
* // => true
|
6410 |
+
*
|
6411 |
+
* _.eq('a', Object('a'));
|
6412 |
+
* // => false
|
6413 |
+
*
|
6414 |
+
* _.eq(NaN, NaN);
|
6415 |
+
* // => true
|
6416 |
+
*/
|
6417 |
+
function eq(value, other) {
|
6418 |
+
return value === other || (value !== value && other !== other);
|
6419 |
+
}
|
6420 |
+
|
6421 |
+
module.exports = eq;
|
6422 |
+
|
6423 |
+
|
6424 |
+
/***/ }),
|
6425 |
+
/* 76 */
|
6426 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6427 |
+
|
6428 |
+
var assignValue = __webpack_require__(376),
|
6429 |
+
baseAssignValue = __webpack_require__(181);
|
6430 |
|
6431 |
/**
|
6432 |
+
* Copies properties of `source` to `object`.
|
6433 |
+
*
|
6434 |
+
* @private
|
6435 |
+
* @param {Object} source The object to copy properties from.
|
6436 |
+
* @param {Array} props The property identifiers to copy.
|
6437 |
+
* @param {Object} [object={}] The object to copy properties to.
|
6438 |
+
* @param {Function} [customizer] The function to customize copied values.
|
6439 |
+
* @returns {Object} Returns `object`.
|
6440 |
*/
|
6441 |
+
function copyObject(source, props, object, customizer) {
|
6442 |
+
var isNew = !object;
|
6443 |
+
object || (object = {});
|
6444 |
|
6445 |
+
var index = -1,
|
6446 |
+
length = props.length;
|
6447 |
|
6448 |
+
while (++index < length) {
|
6449 |
+
var key = props[index];
|
6450 |
+
|
6451 |
+
var newValue = customizer
|
6452 |
+
? customizer(object[key], source[key], key, object, source)
|
6453 |
+
: undefined;
|
6454 |
+
|
6455 |
+
if (newValue === undefined) {
|
6456 |
+
newValue = source[key];
|
6457 |
+
}
|
6458 |
+
if (isNew) {
|
6459 |
+
baseAssignValue(object, key, newValue);
|
6460 |
+
} else {
|
6461 |
+
assignValue(object, key, newValue);
|
6462 |
+
}
|
6463 |
+
}
|
6464 |
+
return object;
|
6465 |
}
|
6466 |
|
6467 |
+
module.exports = copyObject;
|
6468 |
+
|
6469 |
|
6470 |
/***/ }),
|
6471 |
+
/* 77 */
|
6472 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6473 |
|
6474 |
"use strict";
|
6475 |
+
/* WEBPACK VAR INJECTION */(function(process) {var isProduction = process.env.NODE_ENV === 'production';
|
6476 |
+
function warning(condition, message) {
|
6477 |
+
if (!isProduction) {
|
6478 |
+
if (condition) {
|
6479 |
+
return;
|
6480 |
+
}
|
6481 |
|
6482 |
+
var text = "Warning: " + message;
|
|
|
|
|
6483 |
|
6484 |
+
if (typeof console !== 'undefined') {
|
6485 |
+
console.warn(text);
|
6486 |
+
}
|
6487 |
|
6488 |
+
try {
|
6489 |
+
throw Error(text);
|
6490 |
+
} catch (x) {}
|
6491 |
+
}
|
6492 |
}
|
6493 |
|
6494 |
+
/* harmony default export */ __webpack_exports__["a"] = (warning);
|
6495 |
+
|
6496 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6497 |
|
6498 |
/***/ }),
|
6499 |
+
/* 78 */
|
6500 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6501 |
|
6502 |
"use strict";
|
6503 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__ = __webpack_require__(442);
|
6504 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__["a"]; });
|
6505 |
|
6506 |
|
6507 |
/***/ }),
|
6508 |
+
/* 79 */
|
6509 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6510 |
+
|
6511 |
+
"use strict";
|
6512 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _createClass;
|
6513 |
+
function _defineProperties(target, props) {
|
6514 |
+
for (var i = 0; i < props.length; i++) {
|
6515 |
+
var descriptor = props[i];
|
6516 |
+
descriptor.enumerable = descriptor.enumerable || false;
|
6517 |
+
descriptor.configurable = true;
|
6518 |
+
if ("value" in descriptor) descriptor.writable = true;
|
6519 |
+
Object.defineProperty(target, descriptor.key, descriptor);
|
6520 |
+
}
|
6521 |
+
}
|
6522 |
+
|
6523 |
+
function _createClass(Constructor, protoProps, staticProps) {
|
6524 |
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
6525 |
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
6526 |
+
return Constructor;
|
6527 |
+
}
|
6528 |
+
|
6529 |
+
/***/ }),
|
6530 |
+
/* 80 */
|
6531 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6532 |
|
6533 |
"use strict";
|
6534 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__makeStyles__ = __webpack_require__(457);
|
6535 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__makeStyles__["a"]; });
|
6536 |
|
6537 |
|
6538 |
/***/ }),
|
6539 |
+
/* 81 */
|
6540 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6541 |
|
6542 |
"use strict";
|
6543 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StylesProvider__ = __webpack_require__(197);
|
6544 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["b"]; });
|
6545 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["a"]; });
|
6546 |
|
6547 |
|
6548 |
|
6549 |
/***/ }),
|
6550 |
+
/* 82 */
|
6551 |
/***/ (function(module, exports, __webpack_require__) {
|
6552 |
|
6553 |
"use strict";
|
6554 |
|
6555 |
|
6556 |
+
var reactIs = __webpack_require__(15);
|
6557 |
|
6558 |
/**
|
6559 |
* Copyright 2015, Yahoo! Inc.
|
6657 |
|
6658 |
|
6659 |
/***/ }),
|
6660 |
+
/* 83 */
|
6661 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6662 |
|
6663 |
"use strict";
|
6664 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6665 |
|
6666 |
|
6667 |
+
function merge(acc, item) {
|
6668 |
+
if (!item) {
|
6669 |
+
return acc;
|
6670 |
+
}
|
6671 |
|
6672 |
+
return Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["c" /* deepmerge */])(acc, item, {
|
6673 |
+
clone: false // No need to clone deep, it's way faster.
|
6674 |
|
6675 |
+
});
|
6676 |
+
}
|
6677 |
|
6678 |
+
/* harmony default export */ __webpack_exports__["a"] = (merge);
|
6679 |
|
6680 |
+
/***/ }),
|
6681 |
+
/* 84 */
|
6682 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6683 |
|
6684 |
+
"use strict";
|
6685 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
6686 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonceProvider", function() { return NonceProvider; });
|
6687 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6688 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
6689 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(227);
|
6690 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(128);
|
6691 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(11);
|
6692 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
|
6693 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
|
6694 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
6695 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
|
6696 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__ = __webpack_require__(231);
|
6697 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__["z"]; });
|
6698 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__ = __webpack_require__(233);
|
6699 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createFilter", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["c"]; });
|
6700 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTheme", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["b"]; });
|
6701 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "mergeStyles", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["d"]; });
|
6702 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__emotion_css__ = __webpack_require__(65);
|
6703 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize__ = __webpack_require__(232);
|
6704 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_input_autosize__);
|
6705 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__ = __webpack_require__(486);
|
6706 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_cache__ = __webpack_require__(228);
|
6707 |
|
6708 |
|
6709 |
|
6718 |
|
6719 |
|
6720 |
|
6721 |
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
6722 |
|
6723 |
var NonceProvider =
|
6724 |
/*#__PURE__*/
|
6725 |
function (_Component) {
|
6726 |
+
_inheritsLoose(NonceProvider, _Component);
|
6727 |
|
6728 |
function NonceProvider(props) {
|
6729 |
var _this;
|
6730 |
|
6731 |
+
_this = _Component.call(this, props) || this;
|
6732 |
|
6733 |
+
_this.createEmotionCache = function (nonce) {
|
6734 |
+
return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_cache__["a" /* default */])({
|
|
|
|
|
6735 |
nonce: nonce
|
6736 |
});
|
6737 |
+
};
|
6738 |
|
6739 |
+
_this.createEmotionCache = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.createEmotionCache);
|
6740 |
return _this;
|
6741 |
}
|
6742 |
|
6743 |
+
var _proto = NonceProvider.prototype;
|
6744 |
+
|
6745 |
+
_proto.render = function render() {
|
6746 |
+
var emotionCache = this.createEmotionCache(this.props.nonce);
|
6747 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["a" /* CacheProvider */], {
|
6748 |
+
value: emotionCache
|
6749 |
+
}, this.props.children);
|
6750 |
+
};
|
|
|
6751 |
|
6752 |
return NonceProvider;
|
6753 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
6754 |
|
6755 |
+
var index = Object(__WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__["a" /* m */])(__WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["a" /* S */]);
|
6756 |
|
6757 |
/* harmony default export */ __webpack_exports__["default"] = (index);
|
6758 |
|
6759 |
|
6760 |
|
6761 |
/***/ }),
|
6762 |
+
/* 85 */
|
6763 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6764 |
|
6765 |
"use strict";
|
6766 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SvgIcon__ = __webpack_require__(515);
|
6767 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SvgIcon__["a"]; });
|
6768 |
|
6769 |
|
6770 |
/***/ }),
|
6771 |
+
/* 86 */
|
6772 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6773 |
+
|
6774 |
+
"use strict";
|
6775 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = ownerWindow;
|
6776 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ownerDocument__ = __webpack_require__(29);
|
6777 |
+
|
6778 |
+
function ownerWindow(node) {
|
6779 |
+
var doc = Object(__WEBPACK_IMPORTED_MODULE_0__ownerDocument__["a" /* default */])(node);
|
6780 |
+
return doc.defaultView || window;
|
6781 |
+
}
|
6782 |
+
|
6783 |
+
/***/ }),
|
6784 |
+
/* 87 */
|
6785 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6786 |
|
6787 |
"use strict";
|
6802 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6803 |
|
6804 |
/***/ }),
|
6805 |
+
/* 88 */
|
6806 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6807 |
|
6808 |
"use strict";
|
6809 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = useId;
|
6810 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6811 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
6812 |
+
|
6813 |
+
/**
|
6814 |
+
* Private module reserved for @material-ui/x packages.
|
6815 |
+
*/
|
6816 |
|
6817 |
+
function useId(idOverride) {
|
6818 |
+
var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](idOverride),
|
6819 |
+
defaultId = _React$useState[0],
|
6820 |
+
setDefaultId = _React$useState[1];
|
6821 |
+
|
6822 |
+
var id = idOverride || defaultId;
|
6823 |
+
__WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
|
6824 |
+
if (defaultId == null) {
|
6825 |
+
// Fallback to this default id when possible.
|
6826 |
+
// Use the random value for client-side rendering only.
|
6827 |
+
// We can't use it server-side.
|
6828 |
+
setDefaultId("mui-".concat(Math.round(Math.random() * 1e5)));
|
6829 |
+
}
|
6830 |
+
}, [defaultId]);
|
6831 |
+
return id;
|
6832 |
+
}
|
6833 |
|
6834 |
/***/ }),
|
6835 |
+
/* 89 */
|
6836 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6837 |
|
6838 |
"use strict";
|
6839 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Backdrop__ = __webpack_require__(554);
|
6840 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Backdrop__["a"]; });
|
6841 |
|
6842 |
|
6843 |
/***/ }),
|
6844 |
+
/* 90 */
|
6845 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6846 |
|
6847 |
"use strict";
|
6848 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fade__ = __webpack_require__(555);
|
6849 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fade__["a"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6850 |
|
|
|
6851 |
|
6852 |
/***/ }),
|
6853 |
+
/* 91 */
|
6854 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6855 |
|
6856 |
"use strict";
|
6862 |
* @ignore - internal component.
|
6863 |
*/
|
6864 |
|
6865 |
+
var FormControlContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
|
6866 |
|
6867 |
if (process.env.NODE_ENV !== 'production') {
|
6868 |
FormControlContext.displayName = 'FormControlContext';
|
6869 |
}
|
6870 |
|
6871 |
function useFormControl() {
|
6872 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](FormControlContext);
|
6873 |
}
|
6874 |
/* harmony default export */ __webpack_exports__["a"] = (FormControlContext);
|
6875 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
6876 |
|
6877 |
/***/ }),
|
6878 |
+
/* 92 */
|
6879 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6880 |
|
6881 |
"use strict";
|
6882 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Portal__ = __webpack_require__(584);
|
6883 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Portal__["a"]; });
|
6884 |
|
6885 |
|
6886 |
/***/ }),
|
6887 |
+
/* 93 */
|
6888 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6889 |
|
6890 |
"use strict";
|
6891 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fab__ = __webpack_require__(597);
|
6892 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fab__["a"]; });
|
6893 |
|
6894 |
|
6895 |
/***/ }),
|
6896 |
+
/* 94 */
|
6897 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6898 |
|
6899 |
"use strict";
|
6900 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FilledInput__ = __webpack_require__(598);
|
6901 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FilledInput__["a"]; });
|
6902 |
|
6903 |
|
6904 |
/***/ }),
|
6905 |
+
/* 95 */
|
6906 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6907 |
|
6908 |
"use strict";
|
6909 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControl__ = __webpack_require__(601);
|
6910 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormControl__["a"]; });
|
6911 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useFormControl__ = __webpack_require__(49);
|
6912 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__useFormControl__["a"]; });
|
6913 |
|
6914 |
|
6915 |
|
6916 |
/***/ }),
|
6917 |
+
/* 96 */
|
6918 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6919 |
|
6920 |
"use strict";
|
6921 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withWidth__ = __webpack_require__(286);
|
6922 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["a"]; });
|
6923 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["b"]; });
|
6924 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["c"]; });
|
6926 |
|
6927 |
|
6928 |
/***/ }),
|
6929 |
+
/* 97 */
|
6930 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6931 |
|
6932 |
"use strict";
|
6933 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__ = __webpack_require__(632);
|
6934 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__["a"]; });
|
6935 |
|
6936 |
|
6937 |
/***/ }),
|
6938 |
+
/* 98 */
|
6939 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6940 |
|
6941 |
"use strict";
|
6942 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popper__ = __webpack_require__(634);
|
6943 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popper__["a"]; });
|
6944 |
|
6945 |
|
6946 |
/***/ }),
|
6947 |
+
/* 99 */
|
6948 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6949 |
|
6950 |
"use strict";
|
6951 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Select__ = __webpack_require__(646);
|
6952 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Select__["a"]; });
|
6953 |
|
6954 |
|
6955 |
/***/ }),
|
6956 |
+
/* 100 */
|
6957 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6958 |
|
6959 |
"use strict";
|
6960 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
6961 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tooltip__ = __webpack_require__(684);
|
6962 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Tooltip__["a"]; });
|
6963 |
|
6964 |
|
6965 |
/***/ }),
|
6966 |
+
/* 101 */
|
6967 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6968 |
|
6969 |
"use strict";
|
6970 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabContext__ = __webpack_require__(339);
|
6971 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["a"]; });
|
6972 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["b"]; });
|
6973 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["c"]; });
|
6974 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["d"]; });
|
|
|
|
|
6975 |
|
6976 |
|
|
|
6977 |
|
6978 |
+
/***/ }),
|
6979 |
+
/* 102 */
|
6980 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
6981 |
|
6982 |
+
"use strict";
|
6983 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
6984 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6985 |
|
6986 |
/**
|
6987 |
+
* @ignore - internal component.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6988 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6989 |
|
6990 |
+
var TimelineContext = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6991 |
|
6992 |
+
if (process.env.NODE_ENV !== 'production') {
|
6993 |
+
TimelineContext.displayName = 'TimelineContext';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6994 |
}
|
6995 |
|
6996 |
+
/* harmony default export */ __webpack_exports__["a"] = (TimelineContext);
|
6997 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
|
|
6998 |
|
6999 |
/***/ }),
|
7000 |
+
/* 103 */
|
7001 |
/***/ (function(module, exports, __webpack_require__) {
|
7002 |
|
7003 |
+
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(30),
|
7004 |
+
stubFalse = __webpack_require__(732);
|
|
|
|
|
|
|
|
|
|
|
7005 |
|
7006 |
+
/** Detect free variable `exports`. */
|
7007 |
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
7008 |
|
7009 |
+
/** Detect free variable `module`. */
|
7010 |
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
7011 |
|
7012 |
+
/** Detect the popular CommonJS extension `module.exports`. */
|
7013 |
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
7014 |
|
7015 |
+
/** Built-in value references. */
|
7016 |
+
var Buffer = moduleExports ? root.Buffer : undefined;
|
7017 |
|
7018 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
7019 |
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
7020 |
|
7021 |
+
/**
|
7022 |
+
* Checks if `value` is a buffer.
|
7023 |
+
*
|
7024 |
+
* @static
|
7025 |
+
* @memberOf _
|
7026 |
+
* @since 4.3.0
|
7027 |
+
* @category Lang
|
7028 |
+
* @param {*} value The value to check.
|
7029 |
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
7030 |
+
* @example
|
7031 |
+
*
|
7032 |
+
* _.isBuffer(new Buffer(2));
|
7033 |
+
* // => true
|
7034 |
+
*
|
7035 |
+
* _.isBuffer(new Uint8Array(2));
|
7036 |
+
* // => false
|
7037 |
+
*/
|
7038 |
+
var isBuffer = nativeIsBuffer || stubFalse;
|
7039 |
|
7040 |
+
module.exports = isBuffer;
|
7041 |
+
|
7042 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(168)(module)))
|
7043 |
+
|
7044 |
+
/***/ }),
|
7045 |
+
/* 104 */
|
7046 |
+
/***/ (function(module, exports) {
|
7047 |
+
|
7048 |
+
/**
|
7049 |
+
* This method returns the first argument it receives.
|
7050 |
+
*
|
7051 |
+
* @static
|
7052 |
+
* @since 0.1.0
|
7053 |
+
* @memberOf _
|
7054 |
+
* @category Util
|
7055 |
+
* @param {*} value Any value.
|
7056 |
+
* @returns {*} Returns `value`.
|
7057 |
+
* @example
|
7058 |
+
*
|
7059 |
+
* var object = { 'a': 1 };
|
7060 |
+
*
|
7061 |
+
* console.log(_.identity(object) === object);
|
7062 |
+
* // => true
|
7063 |
+
*/
|
7064 |
+
function identity(value) {
|
7065 |
+
return value;
|
7066 |
+
}
|
7067 |
+
|
7068 |
+
module.exports = identity;
|
7069 |
+
|
7070 |
+
|
7071 |
+
/***/ }),
|
7072 |
+
/* 105 */
|
7073 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7074 |
+
|
7075 |
+
var ListCache = __webpack_require__(106),
|
7076 |
+
stackClear = __webpack_require__(744),
|
7077 |
+
stackDelete = __webpack_require__(745),
|
7078 |
+
stackGet = __webpack_require__(746),
|
7079 |
+
stackHas = __webpack_require__(747),
|
7080 |
+
stackSet = __webpack_require__(748);
|
7081 |
+
|
7082 |
+
/**
|
7083 |
+
* Creates a stack cache object to store key-value pairs.
|
7084 |
+
*
|
7085 |
+
* @private
|
7086 |
+
* @constructor
|
7087 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
7088 |
+
*/
|
7089 |
+
function Stack(entries) {
|
7090 |
+
var data = this.__data__ = new ListCache(entries);
|
7091 |
+
this.size = data.size;
|
7092 |
+
}
|
7093 |
+
|
7094 |
+
// Add methods to `Stack`.
|
7095 |
+
Stack.prototype.clear = stackClear;
|
7096 |
+
Stack.prototype['delete'] = stackDelete;
|
7097 |
+
Stack.prototype.get = stackGet;
|
7098 |
+
Stack.prototype.has = stackHas;
|
7099 |
+
Stack.prototype.set = stackSet;
|
7100 |
+
|
7101 |
+
module.exports = Stack;
|
7102 |
+
|
7103 |
+
|
7104 |
+
/***/ }),
|
7105 |
+
/* 106 */
|
7106 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7107 |
+
|
7108 |
+
var listCacheClear = __webpack_require__(739),
|
7109 |
+
listCacheDelete = __webpack_require__(740),
|
7110 |
+
listCacheGet = __webpack_require__(741),
|
7111 |
+
listCacheHas = __webpack_require__(742),
|
7112 |
+
listCacheSet = __webpack_require__(743);
|
7113 |
+
|
7114 |
+
/**
|
7115 |
+
* Creates an list cache object.
|
7116 |
+
*
|
7117 |
+
* @private
|
7118 |
+
* @constructor
|
7119 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
7120 |
+
*/
|
7121 |
+
function ListCache(entries) {
|
7122 |
+
var index = -1,
|
7123 |
+
length = entries == null ? 0 : entries.length;
|
7124 |
+
|
7125 |
+
this.clear();
|
7126 |
+
while (++index < length) {
|
7127 |
+
var entry = entries[index];
|
7128 |
+
this.set(entry[0], entry[1]);
|
7129 |
+
}
|
7130 |
+
}
|
7131 |
+
|
7132 |
+
// Add methods to `ListCache`.
|
7133 |
+
ListCache.prototype.clear = listCacheClear;
|
7134 |
+
ListCache.prototype['delete'] = listCacheDelete;
|
7135 |
+
ListCache.prototype.get = listCacheGet;
|
7136 |
+
ListCache.prototype.has = listCacheHas;
|
7137 |
+
ListCache.prototype.set = listCacheSet;
|
7138 |
+
|
7139 |
+
module.exports = ListCache;
|
7140 |
+
|
7141 |
+
|
7142 |
+
/***/ }),
|
7143 |
+
/* 107 */
|
7144 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7145 |
+
|
7146 |
+
var eq = __webpack_require__(75);
|
7147 |
+
|
7148 |
+
/**
|
7149 |
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
7150 |
+
*
|
7151 |
+
* @private
|
7152 |
+
* @param {Array} array The array to inspect.
|
7153 |
+
* @param {*} key The key to search for.
|
7154 |
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
7155 |
+
*/
|
7156 |
+
function assocIndexOf(array, key) {
|
7157 |
+
var length = array.length;
|
7158 |
+
while (length--) {
|
7159 |
+
if (eq(array[length][0], key)) {
|
7160 |
+
return length;
|
7161 |
}
|
7162 |
+
}
|
7163 |
+
return -1;
|
7164 |
+
}
|
7165 |
|
7166 |
+
module.exports = assocIndexOf;
|
7167 |
|
7168 |
+
|
7169 |
+
/***/ }),
|
7170 |
+
/* 108 */
|
7171 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7172 |
+
|
7173 |
+
var getNative = __webpack_require__(51);
|
7174 |
+
|
7175 |
+
/* Built-in method references that are verified to be native. */
|
7176 |
+
var nativeCreate = getNative(Object, 'create');
|
7177 |
+
|
7178 |
+
module.exports = nativeCreate;
|
7179 |
+
|
7180 |
+
|
7181 |
+
/***/ }),
|
7182 |
+
/* 109 */
|
7183 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7184 |
+
|
7185 |
+
var isKeyable = __webpack_require__(761);
|
7186 |
+
|
7187 |
+
/**
|
7188 |
+
* Gets the data for `map`.
|
7189 |
+
*
|
7190 |
+
* @private
|
7191 |
+
* @param {Object} map The map to query.
|
7192 |
+
* @param {string} key The reference key.
|
7193 |
+
* @returns {*} Returns the map data.
|
7194 |
+
*/
|
7195 |
+
function getMapData(map, key) {
|
7196 |
+
var data = map.__data__;
|
7197 |
+
return isKeyable(key)
|
7198 |
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
7199 |
+
: data.map;
|
7200 |
+
}
|
7201 |
+
|
7202 |
+
module.exports = getMapData;
|
7203 |
+
|
7204 |
+
|
7205 |
+
/***/ }),
|
7206 |
+
/* 110 */
|
7207 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7208 |
+
|
7209 |
+
var DataView = __webpack_require__(776),
|
7210 |
+
Map = __webpack_require__(177),
|
7211 |
+
Promise = __webpack_require__(777),
|
7212 |
+
Set = __webpack_require__(778),
|
7213 |
+
WeakMap = __webpack_require__(779),
|
7214 |
+
baseGetTag = __webpack_require__(50),
|
7215 |
+
toSource = __webpack_require__(362);
|
7216 |
+
|
7217 |
+
/** `Object#toString` result references. */
|
7218 |
+
var mapTag = '[object Map]',
|
7219 |
+
objectTag = '[object Object]',
|
7220 |
+
promiseTag = '[object Promise]',
|
7221 |
+
setTag = '[object Set]',
|
7222 |
+
weakMapTag = '[object WeakMap]';
|
7223 |
+
|
7224 |
+
var dataViewTag = '[object DataView]';
|
7225 |
+
|
7226 |
+
/** Used to detect maps, sets, and weakmaps. */
|
7227 |
+
var dataViewCtorString = toSource(DataView),
|
7228 |
+
mapCtorString = toSource(Map),
|
7229 |
+
promiseCtorString = toSource(Promise),
|
7230 |
+
setCtorString = toSource(Set),
|
7231 |
+
weakMapCtorString = toSource(WeakMap);
|
7232 |
+
|
7233 |
+
/**
|
7234 |
+
* Gets the `toStringTag` of `value`.
|
7235 |
+
*
|
7236 |
+
* @private
|
7237 |
+
* @param {*} value The value to query.
|
7238 |
+
* @returns {string} Returns the `toStringTag`.
|
7239 |
+
*/
|
7240 |
+
var getTag = baseGetTag;
|
7241 |
+
|
7242 |
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
7243 |
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
7244 |
+
(Map && getTag(new Map) != mapTag) ||
|
7245 |
+
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
7246 |
+
(Set && getTag(new Set) != setTag) ||
|
7247 |
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
7248 |
+
getTag = function(value) {
|
7249 |
+
var result = baseGetTag(value),
|
7250 |
+
Ctor = result == objectTag ? value.constructor : undefined,
|
7251 |
+
ctorString = Ctor ? toSource(Ctor) : '';
|
7252 |
+
|
7253 |
+
if (ctorString) {
|
7254 |
+
switch (ctorString) {
|
7255 |
+
case dataViewCtorString: return dataViewTag;
|
7256 |
+
case mapCtorString: return mapTag;
|
7257 |
+
case promiseCtorString: return promiseTag;
|
7258 |
+
case setCtorString: return setTag;
|
7259 |
+
case weakMapCtorString: return weakMapTag;
|
7260 |
+
}
|
7261 |
}
|
7262 |
+
return result;
|
7263 |
+
};
|
7264 |
+
}
|
7265 |
+
|
7266 |
+
module.exports = getTag;
|
7267 |
+
|
7268 |
+
|
7269 |
+
/***/ }),
|
7270 |
+
/* 111 */
|
7271 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7272 |
+
|
7273 |
+
var baseGetTag = __webpack_require__(50),
|
7274 |
+
isObjectLike = __webpack_require__(35);
|
7275 |
+
|
7276 |
+
/** `Object#toString` result references. */
|
7277 |
+
var symbolTag = '[object Symbol]';
|
7278 |
+
|
7279 |
+
/**
|
7280 |
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
7281 |
+
*
|
7282 |
+
* @static
|
7283 |
+
* @memberOf _
|
7284 |
+
* @since 4.0.0
|
7285 |
+
* @category Lang
|
7286 |
+
* @param {*} value The value to check.
|
7287 |
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
7288 |
+
* @example
|
7289 |
+
*
|
7290 |
+
* _.isSymbol(Symbol.iterator);
|
7291 |
+
* // => true
|
7292 |
+
*
|
7293 |
+
* _.isSymbol('abc');
|
7294 |
+
* // => false
|
7295 |
+
*/
|
7296 |
+
function isSymbol(value) {
|
7297 |
+
return typeof value == 'symbol' ||
|
7298 |
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
7299 |
+
}
|
7300 |
+
|
7301 |
+
module.exports = isSymbol;
|
7302 |
+
|
7303 |
+
|
7304 |
+
/***/ }),
|
7305 |
+
/* 112 */
|
7306 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7307 |
+
|
7308 |
+
var isSymbol = __webpack_require__(111);
|
7309 |
+
|
7310 |
+
/** Used as references for various `Number` constants. */
|
7311 |
+
var INFINITY = 1 / 0;
|
7312 |
+
|
7313 |
+
/**
|
7314 |
+
* Converts `value` to a string key if it's not a string or symbol.
|
7315 |
+
*
|
7316 |
+
* @private
|
7317 |
+
* @param {*} value The value to inspect.
|
7318 |
+
* @returns {string|symbol} Returns the key.
|
7319 |
+
*/
|
7320 |
+
function toKey(value) {
|
7321 |
+
if (typeof value == 'string' || isSymbol(value)) {
|
7322 |
+
return value;
|
7323 |
+
}
|
7324 |
+
var result = (value + '');
|
7325 |
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
7326 |
+
}
|
7327 |
+
|
7328 |
+
module.exports = toKey;
|
7329 |
+
|
7330 |
+
|
7331 |
+
/***/ }),
|
7332 |
+
/* 113 */
|
7333 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7334 |
+
|
7335 |
+
var arrayLikeKeys = __webpack_require__(357),
|
7336 |
+
baseKeysIn = __webpack_require__(801),
|
7337 |
+
isArrayLike = __webpack_require__(63);
|
7338 |
+
|
7339 |
+
/**
|
7340 |
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
7341 |
+
*
|
7342 |
+
* **Note:** Non-object values are coerced to objects.
|
7343 |
+
*
|
7344 |
+
* @static
|
7345 |
+
* @memberOf _
|
7346 |
+
* @since 3.0.0
|
7347 |
+
* @category Object
|
7348 |
+
* @param {Object} object The object to query.
|
7349 |
+
* @returns {Array} Returns the array of property names.
|
7350 |
+
* @example
|
7351 |
+
*
|
7352 |
+
* function Foo() {
|
7353 |
+
* this.a = 1;
|
7354 |
+
* this.b = 2;
|
7355 |
+
* }
|
7356 |
+
*
|
7357 |
+
* Foo.prototype.c = 3;
|
7358 |
+
*
|
7359 |
+
* _.keysIn(new Foo);
|
7360 |
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
7361 |
+
*/
|
7362 |
+
function keysIn(object) {
|
7363 |
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
7364 |
+
}
|
7365 |
+
|
7366 |
+
module.exports = keysIn;
|
7367 |
+
|
7368 |
+
|
7369 |
+
/***/ }),
|
7370 |
+
/* 114 */
|
7371 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7372 |
+
|
7373 |
+
"use strict";
|
7374 |
+
/* WEBPACK VAR INJECTION */(function(process) {/**
|
7375 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
7376 |
+
*
|
7377 |
+
* This source code is licensed under the MIT license found in the
|
7378 |
+
* LICENSE file in the root directory of this source tree.
|
7379 |
+
*/
|
7380 |
+
|
7381 |
+
|
7382 |
+
|
7383 |
+
var printWarning = function() {};
|
7384 |
+
|
7385 |
+
if (process.env.NODE_ENV !== 'production') {
|
7386 |
+
var ReactPropTypesSecret = __webpack_require__(115);
|
7387 |
+
var loggedTypeFailures = {};
|
7388 |
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
7389 |
|
7390 |
+
printWarning = function(text) {
|
7391 |
+
var message = 'Warning: ' + text;
|
7392 |
+
if (typeof console !== 'undefined') {
|
7393 |
+
console.error(message);
|
7394 |
+
}
|
7395 |
try {
|
7396 |
+
// --- Welcome to debugging React ---
|
7397 |
+
// This error was thrown as a convenience so that you can use this stack
|
7398 |
+
// to find the callsite that caused this warning to fire.
|
7399 |
+
throw new Error(message);
|
7400 |
} catch (x) {}
|
7401 |
+
};
|
7402 |
+
}
|
7403 |
+
|
7404 |
+
/**
|
7405 |
+
* Assert that the values match with the type specs.
|
7406 |
+
* Error messages are memorized and will only be shown once.
|
7407 |
+
*
|
7408 |
+
* @param {object} typeSpecs Map of name to a ReactPropType
|
7409 |
+
* @param {object} values Runtime values that need to be type-checked
|
7410 |
+
* @param {string} location e.g. "prop", "context", "child context"
|
7411 |
+
* @param {string} componentName Name of the component for error messages.
|
7412 |
+
* @param {?Function} getStack Returns the component stack.
|
7413 |
+
* @private
|
7414 |
+
*/
|
7415 |
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
7416 |
+
if (process.env.NODE_ENV !== 'production') {
|
7417 |
+
for (var typeSpecName in typeSpecs) {
|
7418 |
+
if (has(typeSpecs, typeSpecName)) {
|
7419 |
+
var error;
|
7420 |
+
// Prop type validation may throw. In case they do, we don't want to
|
7421 |
+
// fail the render phase where it didn't fail before. So we log it.
|
7422 |
+
// After these have been cleaned up, we'll let them throw.
|
7423 |
+
try {
|
7424 |
+
// This is intentionally an invariant that gets caught. It's the same
|
7425 |
+
// behavior as without this statement except with a better message.
|
7426 |
+
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
7427 |
+
var err = Error(
|
7428 |
+
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
7429 |
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
7430 |
+
);
|
7431 |
+
err.name = 'Invariant Violation';
|
7432 |
+
throw err;
|
7433 |
+
}
|
7434 |
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
7435 |
+
} catch (ex) {
|
7436 |
+
error = ex;
|
7437 |
+
}
|
7438 |
+
if (error && !(error instanceof Error)) {
|
7439 |
+
printWarning(
|
7440 |
+
(componentName || 'React class') + ': type specification of ' +
|
7441 |
+
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
7442 |
+
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
7443 |
+
'You may have forgotten to pass an argument to the type checker ' +
|
7444 |
+
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
7445 |
+
'shape all require an argument).'
|
7446 |
+
);
|
7447 |
+
}
|
7448 |
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
7449 |
+
// Only monitor this failure once because there tends to be a lot of the
|
7450 |
+
// same error.
|
7451 |
+
loggedTypeFailures[error.message] = true;
|
7452 |
+
|
7453 |
+
var stack = getStack ? getStack() : '';
|
7454 |
+
|
7455 |
+
printWarning(
|
7456 |
+
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
7457 |
+
);
|
7458 |
+
}
|
7459 |
+
}
|
7460 |
+
}
|
7461 |
}
|
7462 |
}
|
7463 |
|
7464 |
+
/**
|
7465 |
+
* Resets warning cache when testing.
|
7466 |
+
*
|
7467 |
+
* @private
|
7468 |
+
*/
|
7469 |
+
checkPropTypes.resetWarningCache = function() {
|
7470 |
+
if (process.env.NODE_ENV !== 'production') {
|
7471 |
+
loggedTypeFailures = {};
|
7472 |
+
}
|
7473 |
+
}
|
7474 |
|
7475 |
+
module.exports = checkPropTypes;
|
7476 |
+
|
7477 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
7478 |
|
7479 |
/***/ }),
|
7480 |
+
/* 115 */
|
7481 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7482 |
+
|
7483 |
+
"use strict";
|
7484 |
+
/**
|
7485 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
7486 |
+
*
|
7487 |
+
* This source code is licensed under the MIT license found in the
|
7488 |
+
* LICENSE file in the root directory of this source tree.
|
7489 |
+
*/
|
7490 |
+
|
7491 |
+
|
7492 |
+
|
7493 |
+
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
7494 |
+
|
7495 |
+
module.exports = ReactPropTypesSecret;
|
7496 |
+
|
7497 |
+
|
7498 |
+
/***/ }),
|
7499 |
+
/* 116 */
|
7500 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7501 |
|
7502 |
"use strict";
|
7503 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__ = __webpack_require__(117);
|
7504 |
// Written in this round about way for babel-transform-imports
|
7505 |
|
7506 |
|
7507 |
/* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__["a" /* default */]);
|
7508 |
|
7509 |
/***/ }),
|
7510 |
+
/* 117 */
|
7511 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7512 |
|
7513 |
"use strict";
|
7514 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(40);
|
7515 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
|
7516 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(44);
|
7517 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
|
7518 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
7519 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
7626 |
/* harmony default export */ __webpack_exports__["a"] = (Router);
|
7627 |
|
7628 |
/***/ }),
|
7629 |
+
/* 118 */
|
7630 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7631 |
|
7632 |
"use strict";
|
7633 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(188);
|
7634 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
|
7635 |
|
7636 |
|
7706 |
/* harmony default export */ __webpack_exports__["a"] = (matchPath);
|
7707 |
|
7708 |
/***/ }),
|
7709 |
+
/* 119 */
|
7710 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7711 |
|
7712 |
"use strict";
|
7725 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
7726 |
|
7727 |
/***/ }),
|
7728 |
+
/* 120 */
|
7729 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7730 |
|
7731 |
"use strict";
|
7732 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getThemeProps__ = __webpack_require__(444);
|
7733 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__getThemeProps__["a"]; });
|
7734 |
|
7735 |
|
7736 |
/***/ }),
|
7737 |
+
/* 121 */
|
7738 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7739 |
|
7740 |
"use strict";
|
7741 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jssPreset__ = __webpack_require__(445);
|
7742 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__jssPreset__["a"]; });
|
7743 |
|
7744 |
|
7745 |
/***/ }),
|
7746 |
+
/* 122 */
|
7747 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7748 |
|
7749 |
"use strict";
|
7750 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _assertThisInitialized;
|
7751 |
+
function _assertThisInitialized(self) {
|
7752 |
+
if (self === void 0) {
|
7753 |
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
7754 |
+
}
|
7755 |
|
7756 |
+
return self;
|
7757 |
+
}
|
7758 |
|
7759 |
/***/ }),
|
7760 |
+
/* 123 */
|
7761 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7762 |
|
7763 |
"use strict";
|
7764 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _unsupportedIterableToArray;
|
7765 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__ = __webpack_require__(194);
|
7766 |
|
7767 |
+
function _unsupportedIterableToArray(o, minLen) {
|
7768 |
+
if (!o) return;
|
7769 |
+
if (typeof o === "string") return Object(__WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__["a" /* default */])(o, minLen);
|
7770 |
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
7771 |
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
7772 |
+
if (n === "Map" || n === "Set") return Array.from(o);
|
7773 |
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(__WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__["a" /* default */])(o, minLen);
|
7774 |
+
}
|
7775 |
|
7776 |
+
/***/ }),
|
7777 |
+
/* 124 */
|
7778 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
7779 |
|
7780 |
+
"use strict";
|
7781 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mergeClasses__ = __webpack_require__(458);
|
7782 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__mergeClasses__["a"]; });
|
|
|
7783 |
|
|
|
|
|
7784 |
|
7785 |
/***/ }),
|
7786 |
+
/* 125 */
|
7787 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7788 |
|
7789 |
"use strict";
|
7790 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _classCallCheck;
|
7791 |
+
function _classCallCheck(instance, Constructor) {
|
7792 |
+
if (!(instance instanceof Constructor)) {
|
7793 |
+
throw new TypeError("Cannot call a class as a function");
|
7794 |
+
}
|
7795 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7796 |
|
7797 |
+
/***/ }),
|
7798 |
+
/* 126 */
|
7799 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7800 |
|
7801 |
+
"use strict";
|
7802 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(16);
|
7803 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
7804 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_utils__ = __webpack_require__(7);
|
7805 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createBreakpoints__ = __webpack_require__(205);
|
7806 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__createMixins__ = __webpack_require__(468);
|
7807 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createPalette__ = __webpack_require__(469);
|
7808 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__createTypography__ = __webpack_require__(470);
|
7809 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shadows__ = __webpack_require__(471);
|
7810 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shape__ = __webpack_require__(472);
|
7811 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__createSpacing__ = __webpack_require__(473);
|
7812 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__transitions__ = __webpack_require__(34);
|
7813 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__zIndex__ = __webpack_require__(226);
|
7814 |
|
7815 |
|
7816 |
|
7817 |
|
7818 |
|
7819 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7820 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7821 |
|
7822 |
|
|
|
|
|
7823 |
|
|
|
7824 |
|
|
|
|
|
|
|
7825 |
|
|
|
|
|
|
|
7826 |
|
7827 |
+
function createMuiTheme() {
|
7828 |
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
|
|
|
7829 |
|
7830 |
+
var _options$breakpoints = options.breakpoints,
|
7831 |
+
breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,
|
7832 |
+
_options$mixins = options.mixins,
|
7833 |
+
mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,
|
7834 |
+
_options$palette = options.palette,
|
7835 |
+
paletteInput = _options$palette === void 0 ? {} : _options$palette,
|
7836 |
+
spacingInput = options.spacing,
|
7837 |
+
_options$typography = options.typography,
|
7838 |
+
typographyInput = _options$typography === void 0 ? {} : _options$typography,
|
7839 |
+
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
7840 |
|
7841 |
+
var palette = Object(__WEBPACK_IMPORTED_MODULE_5__createPalette__["a" /* default */])(paletteInput);
|
7842 |
+
var breakpoints = Object(__WEBPACK_IMPORTED_MODULE_3__createBreakpoints__["a" /* default */])(breakpointsInput);
|
7843 |
+
var spacing = Object(__WEBPACK_IMPORTED_MODULE_9__createSpacing__["a" /* default */])(spacingInput);
|
7844 |
+
var muiTheme = Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["c" /* deepmerge */])({
|
7845 |
+
breakpoints: breakpoints,
|
7846 |
+
direction: 'ltr',
|
7847 |
+
mixins: Object(__WEBPACK_IMPORTED_MODULE_4__createMixins__["a" /* default */])(breakpoints, spacing, mixinsInput),
|
7848 |
+
overrides: {},
|
7849 |
+
// Inject custom styles
|
7850 |
+
palette: palette,
|
7851 |
+
props: {},
|
7852 |
+
// Provide default props
|
7853 |
+
shadows: __WEBPACK_IMPORTED_MODULE_7__shadows__["a" /* default */],
|
7854 |
+
typography: Object(__WEBPACK_IMPORTED_MODULE_6__createTypography__["a" /* default */])(palette, typographyInput),
|
7855 |
+
spacing: spacing,
|
7856 |
+
shape: __WEBPACK_IMPORTED_MODULE_8__shape__["a" /* default */],
|
7857 |
+
transitions: __WEBPACK_IMPORTED_MODULE_10__transitions__["a" /* default */],
|
7858 |
+
zIndex: __WEBPACK_IMPORTED_MODULE_11__zIndex__["a" /* default */]
|
7859 |
+
}, other);
|
7860 |
|
7861 |
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
7862 |
+
args[_key - 1] = arguments[_key];
|
|
|
|
|
7863 |
}
|
7864 |
|
7865 |
+
muiTheme = args.reduce(function (acc, argument) {
|
7866 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["c" /* deepmerge */])(acc, argument);
|
7867 |
+
}, muiTheme);
|
7868 |
|
7869 |
+
if (process.env.NODE_ENV !== 'production') {
|
7870 |
+
var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];
|
7871 |
|
7872 |
+
var traverse = function traverse(node, parentKey) {
|
7873 |
+
var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
7874 |
+
var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax
|
|
|
7875 |
|
7876 |
+
for (key in node) {
|
7877 |
+
var child = node[key];
|
|
|
7878 |
|
7879 |
+
if (depth === 1) {
|
7880 |
+
if (key.indexOf('Mui') === 0 && child) {
|
7881 |
+
traverse(child, key, depth + 1);
|
7882 |
+
}
|
7883 |
+
} else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
|
7884 |
+
if (process.env.NODE_ENV !== 'production') {
|
7885 |
+
console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
|
7886 |
+
root: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, "&$".concat(key), child)
|
7887 |
+
}, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
|
7888 |
+
} // Remove the style to prevent global conflicts.
|
7889 |
|
|
|
|
|
|
|
7890 |
|
7891 |
+
node[key] = {};
|
7892 |
+
}
|
7893 |
+
}
|
7894 |
+
};
|
7895 |
|
7896 |
+
traverse(muiTheme.overrides);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7897 |
}
|
7898 |
|
7899 |
+
return muiTheme;
|
7900 |
+
}
|
7901 |
|
7902 |
+
/* harmony default export */ __webpack_exports__["a"] = (createMuiTheme);
|
7903 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
|
|
7904 |
|
7905 |
+
/***/ }),
|
7906 |
+
/* 127 */
|
7907 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7908 |
|
7909 |
+
"use strict";
|
7910 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = handleBreakpoints;
|
7911 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(32);
|
7912 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
7913 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__ = __webpack_require__(45);
|
7914 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
7915 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
7916 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__merge__ = __webpack_require__(83);
|
7917 |
|
|
|
|
|
|
|
|
|
7918 |
|
|
|
|
|
|
|
|
|
7919 |
|
|
|
|
|
|
|
|
|
7920 |
|
7921 |
+
// The breakpoint **start** at this value.
|
7922 |
+
// For instance with the first breakpoint xs: [xs, sm[.
|
7923 |
+
|
7924 |
+
var values = {
|
7925 |
+
xs: 0,
|
7926 |
+
sm: 600,
|
7927 |
+
md: 960,
|
7928 |
+
lg: 1280,
|
7929 |
+
xl: 1920
|
7930 |
+
};
|
7931 |
+
var defaultBreakpoints = {
|
7932 |
+
// Sorted ASC by size. That's important.
|
7933 |
+
// It can't be configured as it's used statically for propTypes.
|
7934 |
+
keys: ['xs', 'sm', 'md', 'lg', 'xl'],
|
7935 |
+
up: function up(key) {
|
7936 |
+
return "@media (min-width:".concat(values[key], "px)");
|
7937 |
+
}
|
7938 |
+
};
|
7939 |
+
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
7940 |
+
if (process.env.NODE_ENV !== 'production') {
|
7941 |
+
if (!props.theme) {
|
7942 |
+
console.error('Material-UI: You are calling a style function without a theme value.');
|
7943 |
+
}
|
7944 |
+
}
|
7945 |
+
|
7946 |
+
if (Array.isArray(propValue)) {
|
7947 |
+
var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
7948 |
+
return propValue.reduce(function (acc, item, index) {
|
7949 |
+
acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
|
7950 |
+
return acc;
|
7951 |
+
}, {});
|
7952 |
+
}
|
7953 |
+
|
7954 |
+
if (Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__["a" /* default */])(propValue) === 'object') {
|
7955 |
+
var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
7956 |
+
|
7957 |
+
return Object.keys(propValue).reduce(function (acc, breakpoint) {
|
7958 |
+
acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
|
7959 |
+
return acc;
|
7960 |
+
}, {});
|
7961 |
+
}
|
7962 |
+
|
7963 |
+
var output = styleFromPropValue(propValue);
|
7964 |
+
return output;
|
7965 |
+
}
|
7966 |
+
|
7967 |
+
function breakpoints(styleFunction) {
|
7968 |
+
var newStyleFunction = function newStyleFunction(props) {
|
7969 |
+
var base = styleFunction(props);
|
7970 |
+
var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
7971 |
+
var extended = themeBreakpoints.keys.reduce(function (acc, key) {
|
7972 |
+
if (props[key]) {
|
7973 |
+
acc = acc || {};
|
7974 |
+
acc[themeBreakpoints.up(key)] = styleFunction(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
7975 |
+
theme: props.theme
|
7976 |
+
}, props[key]));
|
7977 |
+
}
|
7978 |
+
|
7979 |
+
return acc;
|
7980 |
+
}, null);
|
7981 |
+
return Object(__WEBPACK_IMPORTED_MODULE_4__merge__["a" /* default */])(base, extended);
|
7982 |
+
};
|
7983 |
+
|
7984 |
+
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, styleFunction.propTypes), {}, {
|
7985 |
+
xs: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
7986 |
+
sm: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
7987 |
+
md: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
7988 |
+
lg: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
7989 |
+
xl: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
|
7990 |
+
}) : {};
|
7991 |
+
newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(styleFunction.filterProps));
|
7992 |
+
return newStyleFunction;
|
7993 |
+
}
|
7994 |
+
|
7995 |
+
/* unused harmony default export */ var _unused_webpack_default_export = (breakpoints);
|
7996 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
7997 |
+
|
7998 |
+
/***/ }),
|
7999 |
+
/* 128 */
|
8000 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8001 |
+
|
8002 |
+
"use strict";
|
8003 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
|
8004 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
|
8005 |
+
/* unused harmony export Global */
|
8006 |
+
/* unused harmony export ThemeContext */
|
8007 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
|
8008 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
|
8009 |
+
/* unused harmony export withEmotionCache */
|
8010 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(479);
|
8011 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
|
8012 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
8013 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
8014 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(228);
|
8015 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(482);
|
8016 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(230);
|
8017 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(229);
|
8018 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(65);
|
8019 |
+
/* unused harmony reexport css */
|
8020 |
+
|
8021 |
+
|
8022 |
+
|
8023 |
+
|
8024 |
+
|
8025 |
+
|
8026 |
+
|
8027 |
+
|
8028 |
+
|
8029 |
+
var EmotionCacheContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
8030 |
+
// because this module is primarily intended for the browser and node
|
8031 |
+
// but it's also required in react native and similar environments sometimes
|
8032 |
+
// and we could have a special build just for that
|
8033 |
+
// but this is much easier and the native packages
|
8034 |
+
// might use a different theme context in the future anyway
|
8035 |
+
typeof HTMLElement !== 'undefined' ? Object(__WEBPACK_IMPORTED_MODULE_2__emotion_cache__["a" /* default */])() : null);
|
8036 |
+
var ThemeContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])({});
|
8037 |
+
var CacheProvider = EmotionCacheContext.Provider;
|
8038 |
+
|
8039 |
+
var withEmotionCache = function withEmotionCache(func) {
|
8040 |
+
var render = function render(props, ref) {
|
8041 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(EmotionCacheContext.Consumer, null, function (cache) {
|
8042 |
+
return func(props, cache, ref);
|
8043 |
+
});
|
8044 |
+
}; // $FlowFixMe
|
8045 |
+
|
8046 |
+
|
8047 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1_react__["forwardRef"])(render);
|
8048 |
+
};
|
8049 |
+
|
8050 |
+
// thus we only need to replace what is a valid character for JS, but not for CSS
|
8051 |
+
|
8052 |
+
var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
|
8053 |
+
return identifier.replace(/\$/g, '-');
|
8054 |
+
};
|
8055 |
+
|
8056 |
+
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
8057 |
+
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
8058 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
8059 |
+
|
8060 |
+
var render = function render(cache, props, theme, ref) {
|
8061 |
+
var cssProp = theme === null ? props.css : props.css(theme); // so that using `css` from `emotion` and passing the result to the css prop works
|
8062 |
+
// not passing the registered cache to serializeStyles because it would
|
8063 |
+
// make certain babel optimisations not possible
|
8064 |
+
|
8065 |
+
if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
|
8066 |
+
cssProp = cache.registered[cssProp];
|
8067 |
+
}
|
8068 |
+
|
8069 |
+
var type = props[typePropName];
|
8070 |
+
var registeredStyles = [cssProp];
|
8071 |
+
var className = '';
|
8072 |
+
|
8073 |
+
if (typeof props.className === 'string') {
|
8074 |
+
className = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */])(cache.registered, registeredStyles, props.className);
|
8075 |
+
} else if (props.className != null) {
|
8076 |
+
className = props.className + " ";
|
8077 |
+
}
|
8078 |
+
|
8079 |
+
var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])(registeredStyles);
|
8080 |
+
|
8081 |
+
if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
|
8082 |
+
var labelFromStack = props[labelPropName];
|
8083 |
+
|
8084 |
+
if (labelFromStack) {
|
8085 |
+
serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([serialized, 'label:' + labelFromStack + ';']);
|
8086 |
+
}
|
8087 |
+
}
|
8088 |
+
|
8089 |
+
var rules = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(cache, serialized, typeof type === 'string');
|
8090 |
+
className += cache.key + "-" + serialized.name;
|
8091 |
+
var newProps = {};
|
8092 |
+
|
8093 |
+
for (var key in props) {
|
8094 |
+
if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
|
8095 |
+
newProps[key] = props[key];
|
8096 |
+
}
|
8097 |
+
}
|
8098 |
+
|
8099 |
+
newProps.ref = ref;
|
8100 |
+
newProps.className = className;
|
8101 |
+
var ele = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(type, newProps);
|
8102 |
+
|
8103 |
+
return ele;
|
8104 |
+
};
|
8105 |
+
|
8106 |
+
var Emotion =
|
8107 |
+
/* #__PURE__ */
|
8108 |
+
withEmotionCache(function (props, cache, ref) {
|
8109 |
+
// use Context.read for the theme when it's stable
|
8110 |
+
if (typeof props.css === 'function') {
|
8111 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
|
8112 |
+
return render(cache, props, theme, ref);
|
8113 |
+
});
|
8114 |
+
}
|
8115 |
+
|
8116 |
+
return render(cache, props, null, ref);
|
8117 |
+
});
|
8118 |
+
|
8119 |
+
if (process.env.NODE_ENV !== 'production') {
|
8120 |
+
Emotion.displayName = 'EmotionCssPropInternal';
|
8121 |
+
} // $FlowFixMe
|
8122 |
+
|
8123 |
+
|
8124 |
+
var jsx = function jsx(type, props) {
|
8125 |
+
var args = arguments;
|
8126 |
+
|
8127 |
+
if (props == null || !hasOwnProperty.call(props, 'css')) {
|
8128 |
+
// $FlowFixMe
|
8129 |
+
return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(undefined, args);
|
8130 |
+
}
|
8131 |
+
|
8132 |
+
if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
|
8133 |
+
props.css.indexOf(':') !== -1) {
|
8134 |
+
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`" + props.css + "`");
|
8135 |
+
}
|
8136 |
+
|
8137 |
+
var argsLength = args.length;
|
8138 |
+
var createElementArgArray = new Array(argsLength);
|
8139 |
+
createElementArgArray[0] = Emotion;
|
8140 |
+
var newProps = {};
|
8141 |
+
|
8142 |
+
for (var key in props) {
|
8143 |
+
if (hasOwnProperty.call(props, key)) {
|
8144 |
+
newProps[key] = props[key];
|
8145 |
+
}
|
8146 |
+
}
|
8147 |
|
8148 |
newProps[typePropName] = type;
|
8149 |
|
8398 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
8399 |
|
8400 |
/***/ }),
|
8401 |
+
/* 129 */
|
8402 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8403 |
|
8404 |
"use strict";
|
8406 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getScrollTop; });
|
8407 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return animatedScrollTo; });
|
8408 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isMobileDevice; });
|
8409 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return cleanValue; });
|
8410 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return scrollIntoView; });
|
8411 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getBoundingClientObj; });
|
8412 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return classNames; });
|
8413 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return isTouchCapable; });
|
8414 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return isDocumentElement; });
|
8415 |
/* unused harmony export k */
|
8416 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return noop; });
|
8417 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return scrollTo; });
|
|
|
|
|
|
|
8418 |
// ==============================
|
8419 |
// NO OP
|
8420 |
// ==============================
|
8448 |
if (state && prefix) {
|
8449 |
for (var key in state) {
|
8450 |
if (state.hasOwnProperty(key) && state[key]) {
|
8451 |
+
arr.push("" + applyPrefixToName(prefix, key));
|
8452 |
}
|
8453 |
}
|
8454 |
}
|
8464 |
|
8465 |
var cleanValue = function cleanValue(value) {
|
8466 |
if (Array.isArray(value)) return value.filter(Boolean);
|
8467 |
+
if (typeof value === 'object' && value !== null) return [value];
|
8468 |
return [];
|
8469 |
}; // ==============================
|
8470 |
// Handle Input Change
|
8539 |
return c * ((t = t / d - 1) * t * t + 1) + b;
|
8540 |
}
|
8541 |
|
8542 |
+
function animatedScrollTo(element, to, duration, callback) {
|
8543 |
+
if (duration === void 0) {
|
8544 |
+
duration = 200;
|
8545 |
+
}
|
8546 |
+
|
8547 |
+
if (callback === void 0) {
|
8548 |
+
callback = noop;
|
8549 |
+
}
|
8550 |
+
|
8551 |
var start = getScrollTop(element);
|
8552 |
var change = to - start;
|
8553 |
var increment = 10;
|
8621 |
|
8622 |
|
8623 |
/***/ }),
|
8624 |
+
/* 130 */
|
8625 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8626 |
|
8627 |
"use strict";
|
8630 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ENTERING; });
|
8631 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ENTERED; });
|
8632 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return EXITING; });
|
8633 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
|
8634 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
|
8635 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
|
8636 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
|
8637 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
|
8638 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
|
8639 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(11);
|
8640 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
|
8641 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(239);
|
8642 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(240);
|
8643 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(131);
|
8644 |
|
8645 |
|
8646 |
|
8746 |
* `'exiting'` to `'exited'`.
|
8747 |
*/
|
8748 |
|
8749 |
+
var Transition = /*#__PURE__*/function (_React$Component) {
|
|
|
|
|
8750 |
Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(Transition, _React$Component);
|
8751 |
|
8752 |
function Transition(props, context) {
|
8791 |
}
|
8792 |
|
8793 |
return null;
|
8794 |
+
} // getSnapshotBeforeUpdate(prevProps) {
|
8795 |
// let nextStatus = null
|
8796 |
// if (prevProps !== this.props) {
|
8797 |
// const { status } = this.state
|
8807 |
// }
|
8808 |
// return { nextStatus }
|
8809 |
// }
|
8810 |
+
;
|
8811 |
|
8812 |
var _proto = Transition.prototype;
|
8813 |
|
8866 |
if (nextStatus !== null) {
|
8867 |
// nextStatus will always be ENTERING or EXITING.
|
8868 |
this.cancelNextCallback();
|
|
|
8869 |
|
8870 |
if (nextStatus === ENTERING) {
|
8871 |
+
this.performEnter(mounting);
|
8872 |
} else {
|
8873 |
+
this.performExit();
|
8874 |
}
|
8875 |
} else if (this.props.unmountOnExit && this.state.status === EXITED) {
|
8876 |
this.setState({
|
8879 |
}
|
8880 |
};
|
8881 |
|
8882 |
+
_proto.performEnter = function performEnter(mounting) {
|
8883 |
var _this2 = this;
|
8884 |
|
8885 |
var enter = this.props.enter;
|
8886 |
var appearing = this.context ? this.context.isMounting : mounting;
|
8887 |
+
|
8888 |
+
var _ref2 = this.props.nodeRef ? [appearing] : [__WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this), appearing],
|
8889 |
+
maybeNode = _ref2[0],
|
8890 |
+
maybeAppearing = _ref2[1];
|
8891 |
+
|
8892 |
var timeouts = this.getTimeouts();
|
8893 |
var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
|
8894 |
// if we are mounting and running this it means appear _must_ be set
|
8897 |
this.safeSetState({
|
8898 |
status: ENTERED
|
8899 |
}, function () {
|
8900 |
+
_this2.props.onEntered(maybeNode);
|
8901 |
});
|
8902 |
return;
|
8903 |
}
|
8904 |
|
8905 |
+
this.props.onEnter(maybeNode, maybeAppearing);
|
8906 |
this.safeSetState({
|
8907 |
status: ENTERING
|
8908 |
}, function () {
|
8909 |
+
_this2.props.onEntering(maybeNode, maybeAppearing);
|
8910 |
|
8911 |
+
_this2.onTransitionEnd(enterTimeout, function () {
|
8912 |
_this2.safeSetState({
|
8913 |
status: ENTERED
|
8914 |
}, function () {
|
8915 |
+
_this2.props.onEntered(maybeNode, maybeAppearing);
|
8916 |
});
|
8917 |
});
|
8918 |
});
|
8919 |
};
|
8920 |
|
8921 |
+
_proto.performExit = function performExit() {
|
8922 |
var _this3 = this;
|
8923 |
|
8924 |
var exit = this.props.exit;
|
8925 |
+
var timeouts = this.getTimeouts();
|
8926 |
+
var maybeNode = this.props.nodeRef ? undefined : __WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this); // no exit animation skip right to EXITED
|
8927 |
|
8928 |
if (!exit || __WEBPACK_IMPORTED_MODULE_5__config__["a" /* default */].disabled) {
|
8929 |
this.safeSetState({
|
8930 |
status: EXITED
|
8931 |
}, function () {
|
8932 |
+
_this3.props.onExited(maybeNode);
|
8933 |
});
|
8934 |
return;
|
8935 |
}
|
8936 |
|
8937 |
+
this.props.onExit(maybeNode);
|
8938 |
this.safeSetState({
|
8939 |
status: EXITING
|
8940 |
}, function () {
|
8941 |
+
_this3.props.onExiting(maybeNode);
|
8942 |
|
8943 |
+
_this3.onTransitionEnd(timeouts.exit, function () {
|
8944 |
_this3.safeSetState({
|
8945 |
status: EXITED
|
8946 |
}, function () {
|
8947 |
+
_this3.props.onExited(maybeNode);
|
8948 |
});
|
8949 |
});
|
8950 |
});
|
8985 |
return this.nextCallback;
|
8986 |
};
|
8987 |
|
8988 |
+
_proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
|
8989 |
this.setNextCallback(handler);
|
8990 |
+
var node = this.props.nodeRef ? this.props.nodeRef.current : __WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this);
|
8991 |
var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
|
8992 |
|
8993 |
if (!node || doesNotHaveTimeoutOrListener) {
|
8996 |
}
|
8997 |
|
8998 |
if (this.props.addEndListener) {
|
8999 |
+
var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
|
9000 |
+
maybeNode = _ref3[0],
|
9001 |
+
maybeNextCallback = _ref3[1];
|
9002 |
+
|
9003 |
+
this.props.addEndListener(maybeNode, maybeNextCallback);
|
9004 |
}
|
9005 |
|
9006 |
if (timeout != null) {
|
9017 |
|
9018 |
var _this$props = this.props,
|
9019 |
children = _this$props.children,
|
9020 |
+
_in = _this$props.in,
|
9021 |
+
_mountOnEnter = _this$props.mountOnEnter,
|
9022 |
+
_unmountOnExit = _this$props.unmountOnExit,
|
9023 |
+
_appear = _this$props.appear,
|
9024 |
+
_enter = _this$props.enter,
|
9025 |
+
_exit = _this$props.exit,
|
9026 |
+
_timeout = _this$props.timeout,
|
9027 |
+
_addEndListener = _this$props.addEndListener,
|
9028 |
+
_onEnter = _this$props.onEnter,
|
9029 |
+
_onEntering = _this$props.onEntering,
|
9030 |
+
_onEntered = _this$props.onEntered,
|
9031 |
+
_onExit = _this$props.onExit,
|
9032 |
+
_onExiting = _this$props.onExiting,
|
9033 |
+
_onExited = _this$props.onExited,
|
9034 |
+
_nodeRef = _this$props.nodeRef,
|
9035 |
+
childProps = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9036 |
|
9037 |
+
return (
|
9038 |
+
/*#__PURE__*/
|
9039 |
+
// allows for nested Transitions
|
9040 |
__WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */].Provider, {
|
9041 |
value: null
|
9042 |
+
}, typeof children === 'function' ? children(status, childProps) : __WEBPACK_IMPORTED_MODULE_3_react___default.a.cloneElement(__WEBPACK_IMPORTED_MODULE_3_react___default.a.Children.only(children), childProps))
|
9043 |
);
|
9044 |
};
|
9045 |
|
9048 |
|
9049 |
Transition.contextType = __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */];
|
9050 |
Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
9051 |
+
/**
|
9052 |
+
* A React reference to DOM element that need to transition:
|
9053 |
+
* https://stackoverflow.com/a/51127130/4671932
|
9054 |
+
*
|
9055 |
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
9056 |
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
9057 |
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
9058 |
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
9059 |
+
* (see
|
9060 |
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
9061 |
+
*/
|
9062 |
+
nodeRef: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.shape({
|
9063 |
+
current: typeof Element === 'undefined' ? __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.any : __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.instanceOf(Element)
|
9064 |
+
}),
|
9065 |
+
|
9066 |
/**
|
9067 |
* A `function` child can be used instead of a React element. This function is
|
9068 |
* called with the current transition status (`'entering'`, `'entered'`,
|
9099 |
unmountOnExit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
|
9100 |
|
9101 |
/**
|
9102 |
+
* By default the child component does not perform the enter transition when
|
9103 |
+
* it first mounts, regardless of the value of `in`. If you want this
|
9104 |
+
* behavior, set both `appear` and `in` to `true`.
|
|
|
9105 |
*
|
9106 |
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
9107 |
* > only adds an additional enter transition. However, in the
|
9161 |
/**
|
9162 |
* Add a custom transition end trigger. Called with the transitioning
|
9163 |
* DOM node and a `done` callback. Allows for more fine grained transition end
|
9164 |
+
* logic. Timeouts are still used as a fallback if provided.
|
9165 |
+
*
|
9166 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
9167 |
*
|
9168 |
* ```jsx
|
9169 |
* addEndListener={(node, done) => {
|
9178 |
* Callback fired before the "entering" status is applied. An extra parameter
|
9179 |
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
9180 |
*
|
9181 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
9182 |
+
*
|
9183 |
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
9184 |
*/
|
9185 |
onEnter: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
9188 |
* Callback fired after the "entering" status is applied. An extra parameter
|
9189 |
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
9190 |
*
|
9191 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
9192 |
+
*
|
9193 |
* @type Function(node: HtmlElement, isAppearing: bool)
|
9194 |
*/
|
9195 |
onEntering: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
9198 |
* Callback fired after the "entered" status is applied. An extra parameter
|
9199 |
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
9200 |
*
|
9201 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
9202 |
+
*
|
9203 |
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
9204 |
*/
|
9205 |
onEntered: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
9207 |
/**
|
9208 |
* Callback fired before the "exiting" status is applied.
|
9209 |
*
|
9210 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
9211 |
+
*
|
9212 |
* @type Function(node: HtmlElement) -> void
|
9213 |
*/
|
9214 |
onExit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
9216 |
/**
|
9217 |
* Callback fired after the "exiting" status is applied.
|
9218 |
*
|
9219 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
9220 |
+
*
|
9221 |
* @type Function(node: HtmlElement) -> void
|
9222 |
*/
|
9223 |
onExiting: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
|
9225 |
/**
|
9226 |
* Callback fired after the "exited" status is applied.
|
9227 |
*
|
9228 |
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
9229 |
+
*
|
9230 |
* @type Function(node: HtmlElement) -> void
|
9231 |
*/
|
9232 |
+
onExited: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func
|
9233 |
+
} : {}; // Name the function so it is clearer in the documentation
|
|
|
9234 |
|
9235 |
function noop() {}
|
9236 |
|
9248 |
onExiting: noop,
|
9249 |
onExited: noop
|
9250 |
};
|
9251 |
+
Transition.UNMOUNTED = UNMOUNTED;
|
9252 |
+
Transition.EXITED = EXITED;
|
9253 |
+
Transition.ENTERING = ENTERING;
|
9254 |
+
Transition.ENTERED = ENTERED;
|
9255 |
+
Transition.EXITING = EXITING;
|
9256 |
/* harmony default export */ __webpack_exports__["d"] = (Transition);
|
9257 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
9258 |
|
9259 |
/***/ }),
|
9260 |
+
/* 131 */
|
9261 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9262 |
|
9263 |
"use strict";
|
9267 |
/* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
|
9268 |
|
9269 |
/***/ }),
|
9270 |
+
/* 132 */
|
9271 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9272 |
|
9273 |
"use strict";
|
9274 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Avatar__ = __webpack_require__(552);
|
9275 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Avatar__["a"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9276 |
|
9277 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9278 |
/***/ }),
|
9279 |
+
/* 133 */
|
9280 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9281 |
|
9282 |
"use strict";
|
9283 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Button__ = __webpack_require__(564);
|
9284 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Button__["a"]; });
|
9285 |
|
9286 |
|
9287 |
/***/ }),
|
9288 |
+
/* 134 */
|
9289 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9290 |
|
9291 |
"use strict";
|
9292 |
/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
|
9293 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
9294 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(20);
|
9295 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
9296 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
|
9297 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
|
9299 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
9300 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
|
9301 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__ = __webpack_require__(7);
|
9302 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_useControlled__ = __webpack_require__(41);
|
9303 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__FormControl_useFormControl__ = __webpack_require__(49);
|
9304 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_withStyles__ = __webpack_require__(6);
|
9305 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__IconButton__ = __webpack_require__(42);
|
9306 |
|
9307 |
|
9308 |
|
9337 |
* @ignore - internal component.
|
9338 |
*/
|
9339 |
|
9340 |
+
var SwitchBase = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_3_react__["forwardRef"](function SwitchBase(props, ref) {
|
9341 |
var autoFocus = props.autoFocus,
|
9342 |
checkedProp = props.checked,
|
9343 |
checkedIcon = props.checkedIcon,
|
9363 |
var _useControlled = Object(__WEBPACK_IMPORTED_MODULE_7__utils_useControlled__["a" /* default */])({
|
9364 |
controlled: checkedProp,
|
9365 |
default: Boolean(defaultChecked),
|
9366 |
+
name: 'SwitchBase',
|
9367 |
+
state: 'checked'
|
9368 |
}),
|
9369 |
_useControlled2 = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_useControlled, 2),
|
9370 |
checked = _useControlled2[0],
|
9397 |
setCheckedState(newChecked);
|
9398 |
|
9399 |
if (onChange) {
|
9400 |
+
// TODO v5: remove the second argument.
|
9401 |
onChange(event, newChecked);
|
9402 |
}
|
9403 |
};
|
9411 |
}
|
9412 |
|
9413 |
var hasLabelFor = type === 'checkbox' || type === 'radio';
|
9414 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_3_react__["createElement"](__WEBPACK_IMPORTED_MODULE_10__IconButton__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9415 |
component: "span",
|
9416 |
className: Object(__WEBPACK_IMPORTED_MODULE_5_clsx__["a" /* default */])(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
9417 |
disabled: disabled,
|
9420 |
onFocus: handleFocus,
|
9421 |
onBlur: handleBlur,
|
9422 |
ref: ref
|
9423 |
+
}, other), /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_3_react__["createElement"]("input", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9424 |
autoFocus: autoFocus,
|
9425 |
checked: checkedProp,
|
9426 |
defaultChecked: defaultChecked,
|
9494 |
/**
|
9495 |
* Pass a ref to the `input` element.
|
9496 |
*/
|
9497 |
+
inputRef: __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__["j" /* refType */],
|
9498 |
|
9499 |
/*
|
9500 |
* @ignore
|
9551 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
9552 |
|
9553 |
/***/ }),
|
9554 |
+
/* 135 */
|
9555 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9556 |
|
9557 |
"use strict";
|
9558 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Chip__ = __webpack_require__(576);
|
9559 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Chip__["a"]; });
|
9560 |
|
9561 |
|
9562 |
/***/ }),
|
9563 |
+
/* 136 */
|
9564 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9565 |
|
9566 |
"use strict";
|
9567 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__ = __webpack_require__(579);
|
9568 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__["a"]; });
|
9569 |
|
9570 |
|
9571 |
/***/ }),
|
9572 |
+
/* 137 */
|
9573 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9574 |
+
|
9575 |
+
"use strict";
|
9576 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Unstable_TrapFocus__ = __webpack_require__(585);
|
9577 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Unstable_TrapFocus__["a"]; });
|
9578 |
+
|
9579 |
+
|
9580 |
+
/***/ }),
|
9581 |
+
/* 138 */
|
9582 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9583 |
|
9584 |
"use strict";
|
9592 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
9593 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
9594 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
|
9595 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Modal__ = __webpack_require__(68);
|
9596 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Backdrop__ = __webpack_require__(89);
|
9597 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
|
9598 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Slide__ = __webpack_require__(139);
|
9599 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Paper__ = __webpack_require__(22);
|
9600 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_capitalize__ = __webpack_require__(9);
|
9601 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__styles_transitions__ = __webpack_require__(34);
|
9602 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(17);
|
9603 |
|
9604 |
|
9605 |
|
9719 |
* when `variant="temporary"` is set.
|
9720 |
*/
|
9721 |
|
9722 |
+
var Drawer = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function Drawer(props, ref) {
|
9723 |
var _props$anchor = props.anchor,
|
9724 |
anchorProp = _props$anchor === void 0 ? 'left' : _props$anchor,
|
9725 |
BackdropProps = props.BackdropProps,
|
9739 |
_props$PaperProps = props.PaperProps,
|
9740 |
PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,
|
9741 |
SlideProps = props.SlideProps,
|
9742 |
+
_props$TransitionComp = props.TransitionComponent,
|
9743 |
+
TransitionComponent = _props$TransitionComp === void 0 ? __WEBPACK_IMPORTED_MODULE_8__Slide__["a" /* default */] : _props$TransitionComp,
|
9744 |
_props$transitionDura = props.transitionDuration,
|
9745 |
transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
|
9746 |
_props$variant = props.variant,
|
9747 |
variant = _props$variant === void 0 ? 'temporary' : _props$variant,
|
9748 |
+
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["anchor", "BackdropProps", "children", "classes", "className", "elevation", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"]);
|
9749 |
|
9750 |
var theme = Object(__WEBPACK_IMPORTED_MODULE_12__styles_useTheme__["a" /* default */])(); // Let's assume that the Drawer will always be rendered on user space.
|
9751 |
// We use this state is order to skip the appear transition during the
|
9752 |
// initial mount of the component.
|
9753 |
|
9754 |
+
var mounted = __WEBPACK_IMPORTED_MODULE_2_react__["useRef"](false);
|
9755 |
+
__WEBPACK_IMPORTED_MODULE_2_react__["useEffect"](function () {
|
9756 |
mounted.current = true;
|
9757 |
}, []);
|
9758 |
var anchor = getAnchor(theme, anchorProp);
|
9759 |
+
var drawer = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_9__Paper__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9760 |
elevation: variant === 'temporary' ? elevation : 0,
|
9761 |
square: true
|
9762 |
}, PaperProps, {
|
9764 |
}), children);
|
9765 |
|
9766 |
if (variant === 'permanent') {
|
9767 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"]("div", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9768 |
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.docked, className),
|
9769 |
ref: ref
|
9770 |
}, other), drawer);
|
9771 |
}
|
9772 |
|
9773 |
+
var slidingDrawer = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](TransitionComponent, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9774 |
in: open,
|
9775 |
direction: oppositeDirection[anchor],
|
9776 |
timeout: transitionDuration,
|
9778 |
}, SlideProps), drawer);
|
9779 |
|
9780 |
if (variant === 'persistent') {
|
9781 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"]("div", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9782 |
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.docked, className),
|
9783 |
ref: ref
|
9784 |
}, other), slidingDrawer);
|
9785 |
} // variant === temporary
|
9786 |
|
9787 |
|
9788 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_5__Modal__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
9789 |
+
BackdropProps: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, BackdropProps, BackdropPropsProp, {
|
9790 |
transitionDuration: transitionDuration
|
9791 |
}),
|
9792 |
BackdropComponent: __WEBPACK_IMPORTED_MODULE_6__Backdrop__["a" /* default */],
|
9797 |
}, other, ModalProps), slidingDrawer);
|
9798 |
});
|
9799 |
process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
|
9800 |
+
// ----------------------------- Warning --------------------------------
|
9801 |
+
// | These PropTypes are generated from the TypeScript type definitions |
|
9802 |
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
9803 |
+
// ----------------------------------------------------------------------
|
9804 |
+
|
9805 |
/**
|
9806 |
* Side from which the drawer will appear.
|
9807 |
*/
|
9808 |
+
anchor: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['bottom', 'left', 'right', 'top']),
|
9809 |
|
9810 |
/**
|
9811 |
* @ignore
|
9821 |
* Override or extend the styles applied to the component.
|
9822 |
* See [CSS API](#css) below for more details.
|
9823 |
*/
|
9824 |
+
classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
9825 |
|
9826 |
/**
|
9827 |
* @ignore
|
9865 |
* You may specify a single timeout for all transitions, or individually with an object.
|
9866 |
*/
|
9867 |
transitionDuration: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.shape({
|
9868 |
+
appear: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number,
|
9869 |
enter: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number,
|
9870 |
exit: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number
|
9871 |
})]),
|
9882 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
9883 |
|
9884 |
/***/ }),
|
9885 |
+
/* 139 */
|
9886 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9887 |
|
9888 |
"use strict";
|
9889 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slide__ = __webpack_require__(592);
|
9890 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Slide__["a"]; });
|
9891 |
|
9892 |
|
9893 |
/***/ }),
|
9894 |
+
/* 140 */
|
9895 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9896 |
|
9897 |
"use strict";
|
9898 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__ = __webpack_require__(600);
|
9899 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__["a"]; });
|
9900 |
|
9901 |
|
9902 |
/***/ }),
|
9903 |
+
/* 141 */
|
9904 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9905 |
|
9906 |
"use strict";
|
9938 |
}
|
9939 |
|
9940 |
/***/ }),
|
9941 |
+
/* 142 */
|
9942 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9943 |
|
9944 |
"use strict";
|
9945 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormGroup__ = __webpack_require__(603);
|
9946 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormGroup__["a"]; });
|
9947 |
|
9948 |
|
9949 |
/***/ }),
|
9950 |
+
/* 143 */
|
9951 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9952 |
|
9953 |
"use strict";
|
9954 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormHelperText__ = __webpack_require__(604);
|
9955 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormHelperText__["a"]; });
|
9956 |
|
9957 |
|
9958 |
/***/ }),
|
9959 |
+
/* 144 */
|
9960 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9961 |
|
9962 |
"use strict";
|
9963 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormLabel__ = __webpack_require__(605);
|
9964 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormLabel__["a"]; });
|
9965 |
|
9966 |
|
9967 |
/***/ }),
|
9968 |
+
/* 145 */
|
9969 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9970 |
|
9971 |
"use strict";
|
9972 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__ = __webpack_require__(613);
|
9973 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__["a"]; });
|
9974 |
|
9975 |
|
9976 |
/***/ }),
|
9977 |
+
/* 146 */
|
9978 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9979 |
|
9980 |
"use strict";
|
9981 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputLabel__ = __webpack_require__(617);
|
9982 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputLabel__["a"]; });
|
9983 |
|
9984 |
|
9985 |
/***/ }),
|
9986 |
+
/* 147 */
|
9987 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9988 |
|
9989 |
"use strict";
|
9990 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__LinearProgress__ = __webpack_require__(618);
|
9991 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__LinearProgress__["a"]; });
|
9992 |
|
9993 |
|
9994 |
/***/ }),
|
9995 |
+
/* 148 */
|
9996 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9997 |
|
9998 |
"use strict";
|
9999 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__List__ = __webpack_require__(620);
|
10000 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__List__["a"]; });
|
10001 |
|
10002 |
|
10003 |
/***/ }),
|
10004 |
+
/* 149 */
|
10005 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10006 |
|
10007 |
"use strict";
|
10008 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItem__ = __webpack_require__(621);
|
10009 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListItem__["a"]; });
|
10010 |
|
10011 |
|
10012 |
/***/ }),
|
10013 |
+
/* 150 */
|
10014 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10015 |
|
10016 |
"use strict";
|
10017 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListSubheader__ = __webpack_require__(626);
|
10018 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListSubheader__["a"]; });
|
10019 |
|
10020 |
|
10021 |
/***/ }),
|
10022 |
+
/* 151 */
|
10023 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10024 |
|
10025 |
"use strict";
|
10026 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popover__ = __webpack_require__(627);
|
10027 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popover__["a"]; });
|
10028 |
|
10029 |
|
10030 |
/***/ }),
|
10031 |
+
/* 152 */
|
10032 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10033 |
|
10034 |
"use strict";
|
10035 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuList__ = __webpack_require__(628);
|
10036 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuList__["a"]; });
|
10037 |
|
10038 |
|
10039 |
/***/ }),
|
10040 |
+
/* 153 */
|
10041 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10042 |
|
10043 |
"use strict";
|
10044 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuItem__ = __webpack_require__(629);
|
10045 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuItem__["a"]; });
|
10046 |
|
10047 |
|
10048 |
/***/ }),
|
10049 |
+
/* 154 */
|
10050 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10051 |
+
|
10052 |
+
"use strict";
|
10053 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NoSsr__ = __webpack_require__(631);
|
10054 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__NoSsr__["a"]; });
|
10055 |
+
|
10056 |
+
|
10057 |
+
/***/ }),
|
10058 |
+
/* 155 */
|
10059 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10060 |
|
10061 |
"use strict";
|
10062 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__ = __webpack_require__(651);
|
10063 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__["a"]; });
|
10064 |
|
10065 |
|
10066 |
/***/ }),
|
10067 |
+
/* 156 */
|
10068 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10069 |
|
10070 |
"use strict";
|
10071 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepLabel__ = __webpack_require__(654);
|
10072 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepLabel__["a"]; });
|
10073 |
|
10074 |
|
10075 |
/***/ }),
|
10076 |
+
/* 157 */
|
10077 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10078 |
|
10079 |
"use strict";
|
10080 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepIcon__ = __webpack_require__(655);
|
10081 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepIcon__["a"]; });
|
10082 |
|
10083 |
|
10084 |
/***/ }),
|
10085 |
+
/* 158 */
|
10086 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10087 |
|
10088 |
"use strict";
|
10089 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepConnector__ = __webpack_require__(658);
|
10090 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepConnector__["a"]; });
|
10091 |
|
10092 |
|
10093 |
/***/ }),
|
10094 |
+
/* 159 */
|
10095 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10096 |
|
10097 |
"use strict";
|
10098 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableCell__ = __webpack_require__(667);
|
10099 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TableCell__["a"]; });
|
10100 |
|
10101 |
|
10102 |
/***/ }),
|
10103 |
+
/* 160 */
|
10104 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10105 |
|
10106 |
"use strict";
|
10107 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Toolbar__ = __webpack_require__(672);
|
10108 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Toolbar__["a"]; });
|
10109 |
|
10110 |
|
10111 |
/***/ }),
|
10112 |
+
/* 161 */
|
10113 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10114 |
|
10115 |
"use strict";
|
10116 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tabs__ = __webpack_require__(677);
|
10117 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Tabs__["a"]; });
|
10118 |
+
|
10119 |
+
|
10120 |
+
/***/ }),
|
10121 |
+
/* 162 */
|
10122 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10123 |
+
|
10124 |
+
"use strict";
|
10125 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabScrollButton__ = __webpack_require__(682);
|
10126 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabScrollButton__["a"]; });
|
10127 |
+
|
10128 |
+
|
10129 |
+
/***/ }),
|
10130 |
+
/* 163 */
|
10131 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10132 |
+
|
10133 |
+
"use strict";
|
10134 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Zoom__ = __webpack_require__(687);
|
10135 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Zoom__["a"]; });
|
10136 |
|
10137 |
|
10138 |
/***/ }),
|
10139 |
+
/* 164 */
|
10140 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10141 |
|
10142 |
"use strict";
|
10143 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__PaginationItem__ = __webpack_require__(693);
|
10144 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__PaginationItem__["a"]; });
|
10145 |
|
10146 |
|
10147 |
/***/ }),
|
10148 |
+
/* 165 */
|
10149 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10150 |
+
|
10151 |
+
"use strict";
|
10152 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
10153 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
10154 |
+
|
10155 |
+
/**
|
10156 |
+
* @ignore - internal component.
|
10157 |
+
*/
|
10158 |
+
|
10159 |
+
var TimelineItemContext = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
|
10160 |
+
|
10161 |
+
if (process.env.NODE_ENV !== 'production') {
|
10162 |
+
TimelineItemContext.displayName = 'TimelineItemContext';
|
10163 |
+
}
|
10164 |
+
|
10165 |
+
/* harmony default export */ __webpack_exports__["a"] = (TimelineItemContext);
|
10166 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
10167 |
+
|
10168 |
+
/***/ }),
|
10169 |
+
/* 166 */
|
10170 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10171 |
+
|
10172 |
+
var baseForOwn = __webpack_require__(355),
|
10173 |
+
castFunction = __webpack_require__(359);
|
10174 |
+
|
10175 |
+
/**
|
10176 |
+
* Iterates over own enumerable string keyed properties of an object and
|
10177 |
+
* invokes `iteratee` for each property. The iteratee is invoked with three
|
10178 |
+
* arguments: (value, key, object). Iteratee functions may exit iteration
|
10179 |
+
* early by explicitly returning `false`.
|
10180 |
+
*
|
10181 |
+
* @static
|
10182 |
+
* @memberOf _
|
10183 |
+
* @since 0.3.0
|
10184 |
+
* @category Object
|
10185 |
+
* @param {Object} object The object to iterate over.
|
10186 |
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
10187 |
+
* @returns {Object} Returns `object`.
|
10188 |
+
* @see _.forOwnRight
|
10189 |
+
* @example
|
10190 |
+
*
|
10191 |
+
* function Foo() {
|
10192 |
+
* this.a = 1;
|
10193 |
+
* this.b = 2;
|
10194 |
+
* }
|
10195 |
+
*
|
10196 |
+
* Foo.prototype.c = 3;
|
10197 |
+
*
|
10198 |
+
* _.forOwn(new Foo, function(value, key) {
|
10199 |
+
* console.log(key);
|
10200 |
+
* });
|
10201 |
+
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
10202 |
+
*/
|
10203 |
+
function forOwn(object, iteratee) {
|
10204 |
+
return object && baseForOwn(object, castFunction(iteratee));
|
10205 |
+
}
|
10206 |
+
|
10207 |
+
module.exports = forOwn;
|
10208 |
+
|
10209 |
+
|
10210 |
+
/***/ }),
|
10211 |
+
/* 167 */
|
10212 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10213 |
+
|
10214 |
+
var baseIsArguments = __webpack_require__(731),
|
10215 |
+
isObjectLike = __webpack_require__(35);
|
10216 |
+
|
10217 |
+
/** Used for built-in method references. */
|
10218 |
+
var objectProto = Object.prototype;
|
10219 |
+
|
10220 |
+
/** Used to check objects for own properties. */
|
10221 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
10222 |
+
|
10223 |
+
/** Built-in value references. */
|
10224 |
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
10225 |
+
|
10226 |
+
/**
|
10227 |
+
* Checks if `value` is likely an `arguments` object.
|
10228 |
+
*
|
10229 |
+
* @static
|
10230 |
+
* @memberOf _
|
10231 |
+
* @since 0.1.0
|
10232 |
+
* @category Lang
|
10233 |
+
* @param {*} value The value to check.
|
10234 |
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
10235 |
+
* else `false`.
|
10236 |
+
* @example
|
10237 |
+
*
|
10238 |
+
* _.isArguments(function() { return arguments; }());
|
10239 |
+
* // => true
|
10240 |
+
*
|
10241 |
+
* _.isArguments([1, 2, 3]);
|
10242 |
+
* // => false
|
10243 |
+
*/
|
10244 |
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
10245 |
+
return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
|
10246 |
+
!propertyIsEnumerable.call(value, 'callee');
|
10247 |
+
};
|
10248 |
+
|
10249 |
+
module.exports = isArguments;
|
10250 |
+
|
10251 |
+
|
10252 |
+
/***/ }),
|
10253 |
+
/* 168 */
|
10254 |
+
/***/ (function(module, exports) {
|
10255 |
+
|
10256 |
+
module.exports = function(module) {
|
10257 |
+
if(!module.webpackPolyfill) {
|
10258 |
+
module.deprecate = function() {};
|
10259 |
+
module.paths = [];
|
10260 |
+
// module.parent = undefined by default
|
10261 |
+
if(!module.children) module.children = [];
|
10262 |
+
Object.defineProperty(module, "loaded", {
|
10263 |
+
enumerable: true,
|
10264 |
+
get: function() {
|
10265 |
+
return module.l;
|
10266 |
+
}
|
10267 |
+
});
|
10268 |
+
Object.defineProperty(module, "id", {
|
10269 |
+
enumerable: true,
|
10270 |
+
get: function() {
|
10271 |
+
return module.i;
|
10272 |
+
}
|
10273 |
+
});
|
10274 |
+
module.webpackPolyfill = 1;
|
10275 |
+
}
|
10276 |
+
return module;
|
10277 |
+
};
|
10278 |
+
|
10279 |
+
|
10280 |
+
/***/ }),
|
10281 |
+
/* 169 */
|
10282 |
+
/***/ (function(module, exports) {
|
10283 |
+
|
10284 |
+
/** Used as references for various `Number` constants. */
|
10285 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
10286 |
+
|
10287 |
+
/** Used to detect unsigned integer values. */
|
10288 |
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
10289 |
+
|
10290 |
+
/**
|
10291 |
+
* Checks if `value` is a valid array-like index.
|
10292 |
+
*
|
10293 |
+
* @private
|
10294 |
+
* @param {*} value The value to check.
|
10295 |
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
10296 |
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
10297 |
+
*/
|
10298 |
+
function isIndex(value, length) {
|
10299 |
+
var type = typeof value;
|
10300 |
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
10301 |
+
|
10302 |
+
return !!length &&
|
10303 |
+
(type == 'number' ||
|
10304 |
+
(type != 'symbol' && reIsUint.test(value))) &&
|
10305 |
+
(value > -1 && value % 1 == 0 && value < length);
|
10306 |
+
}
|
10307 |
+
|
10308 |
+
module.exports = isIndex;
|
10309 |
+
|
10310 |
+
|
10311 |
+
/***/ }),
|
10312 |
+
/* 170 */
|
10313 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10314 |
+
|
10315 |
+
var baseIsTypedArray = __webpack_require__(733),
|
10316 |
+
baseUnary = __webpack_require__(172),
|
10317 |
+
nodeUtil = __webpack_require__(173);
|
10318 |
+
|
10319 |
+
/* Node.js helper references. */
|
10320 |
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
10321 |
+
|
10322 |
+
/**
|
10323 |
+
* Checks if `value` is classified as a typed array.
|
10324 |
+
*
|
10325 |
+
* @static
|
10326 |
+
* @memberOf _
|
10327 |
+
* @since 3.0.0
|
10328 |
+
* @category Lang
|
10329 |
+
* @param {*} value The value to check.
|
10330 |
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
10331 |
+
* @example
|
10332 |
+
*
|
10333 |
+
* _.isTypedArray(new Uint8Array);
|
10334 |
+
* // => true
|
10335 |
+
*
|
10336 |
+
* _.isTypedArray([]);
|
10337 |
+
* // => false
|
10338 |
+
*/
|
10339 |
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
10340 |
+
|
10341 |
+
module.exports = isTypedArray;
|
10342 |
+
|
10343 |
+
|
10344 |
+
/***/ }),
|
10345 |
+
/* 171 */
|
10346 |
+
/***/ (function(module, exports) {
|
10347 |
+
|
10348 |
+
/** Used as references for various `Number` constants. */
|
10349 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
10350 |
+
|
10351 |
+
/**
|
10352 |
+
* Checks if `value` is a valid array-like length.
|
10353 |
+
*
|
10354 |
+
* **Note:** This method is loosely based on
|
10355 |
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
10356 |
+
*
|
10357 |
+
* @static
|
10358 |
+
* @memberOf _
|
10359 |
+
* @since 4.0.0
|
10360 |
+
* @category Lang
|
10361 |
+
* @param {*} value The value to check.
|
10362 |
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
10363 |
+
* @example
|
10364 |
+
*
|
10365 |
+
* _.isLength(3);
|
10366 |
+
* // => true
|
10367 |
+
*
|
10368 |
+
* _.isLength(Number.MIN_VALUE);
|
10369 |
+
* // => false
|
10370 |
+
*
|
10371 |
+
* _.isLength(Infinity);
|
10372 |
+
* // => false
|
10373 |
+
*
|
10374 |
+
* _.isLength('3');
|
10375 |
+
* // => false
|
10376 |
+
*/
|
10377 |
+
function isLength(value) {
|
10378 |
+
return typeof value == 'number' &&
|
10379 |
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
10380 |
+
}
|
10381 |
+
|
10382 |
+
module.exports = isLength;
|
10383 |
+
|
10384 |
+
|
10385 |
+
/***/ }),
|
10386 |
+
/* 172 */
|
10387 |
+
/***/ (function(module, exports) {
|
10388 |
+
|
10389 |
+
/**
|
10390 |
+
* The base implementation of `_.unary` without support for storing metadata.
|
10391 |
+
*
|
10392 |
+
* @private
|
10393 |
+
* @param {Function} func The function to cap arguments for.
|
10394 |
+
* @returns {Function} Returns the new capped function.
|
10395 |
+
*/
|
10396 |
+
function baseUnary(func) {
|
10397 |
+
return function(value) {
|
10398 |
+
return func(value);
|
10399 |
+
};
|
10400 |
+
}
|
10401 |
+
|
10402 |
+
module.exports = baseUnary;
|
10403 |
+
|
10404 |
+
|
10405 |
+
/***/ }),
|
10406 |
+
/* 173 */
|
10407 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10408 |
+
|
10409 |
+
/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(354);
|
10410 |
+
|
10411 |
+
/** Detect free variable `exports`. */
|
10412 |
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
10413 |
+
|
10414 |
+
/** Detect free variable `module`. */
|
10415 |
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
10416 |
+
|
10417 |
+
/** Detect the popular CommonJS extension `module.exports`. */
|
10418 |
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
10419 |
+
|
10420 |
+
/** Detect free variable `process` from Node.js. */
|
10421 |
+
var freeProcess = moduleExports && freeGlobal.process;
|
10422 |
+
|
10423 |
+
/** Used to access faster Node.js helpers. */
|
10424 |
+
var nodeUtil = (function() {
|
10425 |
+
try {
|
10426 |
+
// Use `util.types` for Node.js 10+.
|
10427 |
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
10428 |
+
|
10429 |
+
if (types) {
|
10430 |
+
return types;
|
10431 |
+
}
|
10432 |
+
|
10433 |
+
// Legacy `process.binding('util')` for Node.js < 10.
|
10434 |
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
10435 |
+
} catch (e) {}
|
10436 |
+
}());
|
10437 |
+
|
10438 |
+
module.exports = nodeUtil;
|
10439 |
+
|
10440 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(168)(module)))
|
10441 |
+
|
10442 |
+
/***/ }),
|
10443 |
+
/* 174 */
|
10444 |
+
/***/ (function(module, exports) {
|
10445 |
+
|
10446 |
+
/** Used for built-in method references. */
|
10447 |
+
var objectProto = Object.prototype;
|
10448 |
+
|
10449 |
+
/**
|
10450 |
+
* Checks if `value` is likely a prototype object.
|
10451 |
+
*
|
10452 |
+
* @private
|
10453 |
+
* @param {*} value The value to check.
|
10454 |
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
10455 |
+
*/
|
10456 |
+
function isPrototype(value) {
|
10457 |
+
var Ctor = value && value.constructor,
|
10458 |
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
10459 |
+
|
10460 |
+
return value === proto;
|
10461 |
+
}
|
10462 |
+
|
10463 |
+
module.exports = isPrototype;
|
10464 |
+
|
10465 |
+
|
10466 |
+
/***/ }),
|
10467 |
+
/* 175 */
|
10468 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10469 |
+
|
10470 |
+
var baseGetTag = __webpack_require__(50),
|
10471 |
+
isObject = __webpack_require__(27);
|
10472 |
+
|
10473 |
+
/** `Object#toString` result references. */
|
10474 |
+
var asyncTag = '[object AsyncFunction]',
|
10475 |
+
funcTag = '[object Function]',
|
10476 |
+
genTag = '[object GeneratorFunction]',
|
10477 |
+
proxyTag = '[object Proxy]';
|
10478 |
+
|
10479 |
+
/**
|
10480 |
+
* Checks if `value` is classified as a `Function` object.
|
10481 |
+
*
|
10482 |
+
* @static
|
10483 |
+
* @memberOf _
|
10484 |
+
* @since 0.1.0
|
10485 |
+
* @category Lang
|
10486 |
+
* @param {*} value The value to check.
|
10487 |
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
10488 |
+
* @example
|
10489 |
+
*
|
10490 |
+
* _.isFunction(_);
|
10491 |
+
* // => true
|
10492 |
+
*
|
10493 |
+
* _.isFunction(/abc/);
|
10494 |
+
* // => false
|
10495 |
+
*/
|
10496 |
+
function isFunction(value) {
|
10497 |
+
if (!isObject(value)) {
|
10498 |
+
return false;
|
10499 |
+
}
|
10500 |
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
10501 |
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
10502 |
+
var tag = baseGetTag(value);
|
10503 |
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
10504 |
+
}
|
10505 |
+
|
10506 |
+
module.exports = isFunction;
|
10507 |
+
|
10508 |
+
|
10509 |
+
/***/ }),
|
10510 |
+
/* 176 */
|
10511 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10512 |
+
|
10513 |
+
var overArg = __webpack_require__(358);
|
10514 |
+
|
10515 |
+
/** Built-in value references. */
|
10516 |
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
10517 |
+
|
10518 |
+
module.exports = getPrototype;
|
10519 |
+
|
10520 |
+
|
10521 |
+
/***/ }),
|
10522 |
+
/* 177 */
|
10523 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10524 |
+
|
10525 |
+
var getNative = __webpack_require__(51),
|
10526 |
+
root = __webpack_require__(30);
|
10527 |
+
|
10528 |
+
/* Built-in method references that are verified to be native. */
|
10529 |
+
var Map = getNative(root, 'Map');
|
10530 |
+
|
10531 |
+
module.exports = Map;
|
10532 |
+
|
10533 |
+
|
10534 |
+
/***/ }),
|
10535 |
+
/* 178 */
|
10536 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10537 |
+
|
10538 |
+
var mapCacheClear = __webpack_require__(753),
|
10539 |
+
mapCacheDelete = __webpack_require__(760),
|
10540 |
+
mapCacheGet = __webpack_require__(762),
|
10541 |
+
mapCacheHas = __webpack_require__(763),
|
10542 |
+
mapCacheSet = __webpack_require__(764);
|
10543 |
+
|
10544 |
+
/**
|
10545 |
+
* Creates a map cache object to store key-value pairs.
|
10546 |
+
*
|
10547 |
+
* @private
|
10548 |
+
* @constructor
|
10549 |
+
* @param {Array} [entries] The key-value pairs to cache.
|
10550 |
+
*/
|
10551 |
+
function MapCache(entries) {
|
10552 |
+
var index = -1,
|
10553 |
+
length = entries == null ? 0 : entries.length;
|
10554 |
+
|
10555 |
+
this.clear();
|
10556 |
+
while (++index < length) {
|
10557 |
+
var entry = entries[index];
|
10558 |
+
this.set(entry[0], entry[1]);
|
10559 |
+
}
|
10560 |
+
}
|
10561 |
+
|
10562 |
+
// Add methods to `MapCache`.
|
10563 |
+
MapCache.prototype.clear = mapCacheClear;
|
10564 |
+
MapCache.prototype['delete'] = mapCacheDelete;
|
10565 |
+
MapCache.prototype.get = mapCacheGet;
|
10566 |
+
MapCache.prototype.has = mapCacheHas;
|
10567 |
+
MapCache.prototype.set = mapCacheSet;
|
10568 |
+
|
10569 |
+
module.exports = MapCache;
|
10570 |
+
|
10571 |
+
|
10572 |
+
/***/ }),
|
10573 |
+
/* 179 */
|
10574 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10575 |
+
|
10576 |
+
var arrayFilter = __webpack_require__(775),
|
10577 |
+
stubArray = __webpack_require__(369);
|
10578 |
+
|
10579 |
+
/** Used for built-in method references. */
|
10580 |
+
var objectProto = Object.prototype;
|
10581 |
+
|
10582 |
+
/** Built-in value references. */
|
10583 |
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
10584 |
+
|
10585 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
10586 |
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
10587 |
+
|
10588 |
+
/**
|
10589 |
+
* Creates an array of the own enumerable symbols of `object`.
|
10590 |
+
*
|
10591 |
+
* @private
|
10592 |
+
* @param {Object} object The object to query.
|
10593 |
+
* @returns {Array} Returns the array of symbols.
|
10594 |
+
*/
|
10595 |
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
10596 |
+
if (object == null) {
|
10597 |
+
return [];
|
10598 |
+
}
|
10599 |
+
object = Object(object);
|
10600 |
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
10601 |
+
return propertyIsEnumerable.call(object, symbol);
|
10602 |
+
});
|
10603 |
+
};
|
10604 |
+
|
10605 |
+
module.exports = getSymbols;
|
10606 |
+
|
10607 |
+
|
10608 |
+
/***/ }),
|
10609 |
+
/* 180 */
|
10610 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10611 |
+
|
10612 |
+
var isArray = __webpack_require__(25),
|
10613 |
+
isSymbol = __webpack_require__(111);
|
10614 |
+
|
10615 |
+
/** Used to match property names within property paths. */
|
10616 |
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
10617 |
+
reIsPlainProp = /^\w*$/;
|
10618 |
+
|
10619 |
+
/**
|
10620 |
+
* Checks if `value` is a property name and not a property path.
|
10621 |
+
*
|
10622 |
+
* @private
|
10623 |
+
* @param {*} value The value to check.
|
10624 |
+
* @param {Object} [object] The object to query keys on.
|
10625 |
+
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
10626 |
+
*/
|
10627 |
+
function isKey(value, object) {
|
10628 |
+
if (isArray(value)) {
|
10629 |
+
return false;
|
10630 |
+
}
|
10631 |
+
var type = typeof value;
|
10632 |
+
if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
10633 |
+
value == null || isSymbol(value)) {
|
10634 |
+
return true;
|
10635 |
+
}
|
10636 |
+
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
10637 |
+
(object != null && value in Object(object));
|
10638 |
+
}
|
10639 |
+
|
10640 |
+
module.exports = isKey;
|
10641 |
+
|
10642 |
+
|
10643 |
+
/***/ }),
|
10644 |
+
/* 181 */
|
10645 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10646 |
+
|
10647 |
+
var defineProperty = __webpack_require__(377);
|
10648 |
+
|
10649 |
+
/**
|
10650 |
+
* The base implementation of `assignValue` and `assignMergeValue` without
|
10651 |
+
* value checks.
|
10652 |
+
*
|
10653 |
+
* @private
|
10654 |
+
* @param {Object} object The object to modify.
|
10655 |
+
* @param {string} key The key of the property to assign.
|
10656 |
+
* @param {*} value The value to assign.
|
10657 |
+
*/
|
10658 |
+
function baseAssignValue(object, key, value) {
|
10659 |
+
if (key == '__proto__' && defineProperty) {
|
10660 |
+
defineProperty(object, key, {
|
10661 |
+
'configurable': true,
|
10662 |
+
'enumerable': true,
|
10663 |
+
'value': value,
|
10664 |
+
'writable': true
|
10665 |
+
});
|
10666 |
+
} else {
|
10667 |
+
object[key] = value;
|
10668 |
+
}
|
10669 |
+
}
|
10670 |
+
|
10671 |
+
module.exports = baseAssignValue;
|
10672 |
+
|
10673 |
+
|
10674 |
+
/***/ }),
|
10675 |
+
/* 182 */
|
10676 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10677 |
+
|
10678 |
+
var Uint8Array = __webpack_require__(365);
|
10679 |
+
|
10680 |
+
/**
|
10681 |
+
* Creates a clone of `arrayBuffer`.
|
10682 |
+
*
|
10683 |
+
* @private
|
10684 |
+
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
10685 |
+
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
10686 |
+
*/
|
10687 |
+
function cloneArrayBuffer(arrayBuffer) {
|
10688 |
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
10689 |
+
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
10690 |
+
return result;
|
10691 |
+
}
|
10692 |
+
|
10693 |
+
module.exports = cloneArrayBuffer;
|
10694 |
+
|
10695 |
+
|
10696 |
+
/***/ }),
|
10697 |
+
/* 183 */
|
10698 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10699 |
+
|
10700 |
+
"use strict";
|
10701 |
+
|
10702 |
+
|
10703 |
+
Object.defineProperty(exports, "__esModule", {
|
10704 |
+
value: true
|
10705 |
+
});
|
10706 |
+
exports.Checkboard = undefined;
|
10707 |
+
|
10708 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
10709 |
+
|
10710 |
+
var _react = __webpack_require__(0);
|
10711 |
+
|
10712 |
+
var _react2 = _interopRequireDefault(_react);
|
10713 |
+
|
10714 |
+
var _reactcss = __webpack_require__(8);
|
10715 |
+
|
10716 |
+
var _reactcss2 = _interopRequireDefault(_reactcss);
|
10717 |
+
|
10718 |
+
var _checkboard = __webpack_require__(822);
|
10719 |
+
|
10720 |
+
var checkboard = _interopRequireWildcard(_checkboard);
|
10721 |
+
|
10722 |
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
10723 |
+
|
10724 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10725 |
+
|
10726 |
+
var Checkboard = exports.Checkboard = function Checkboard(_ref) {
|
10727 |
+
var white = _ref.white,
|
10728 |
+
grey = _ref.grey,
|
10729 |
+
size = _ref.size,
|
10730 |
+
renderers = _ref.renderers,
|
10731 |
+
borderRadius = _ref.borderRadius,
|
10732 |
+
boxShadow = _ref.boxShadow,
|
10733 |
+
children = _ref.children;
|
10734 |
+
|
10735 |
+
var styles = (0, _reactcss2.default)({
|
10736 |
+
'default': {
|
10737 |
+
grid: {
|
10738 |
+
borderRadius: borderRadius,
|
10739 |
+
boxShadow: boxShadow,
|
10740 |
+
absolute: '0px 0px 0px 0px',
|
10741 |
+
background: 'url(' + checkboard.get(white, grey, size, renderers.canvas) + ') center left'
|
10742 |
+
}
|
10743 |
+
}
|
10744 |
+
});
|
10745 |
+
return (0, _react.isValidElement)(children) ? _react2.default.cloneElement(children, _extends({}, children.props, { style: _extends({}, children.props.style, styles.grid) })) : _react2.default.createElement('div', { style: styles.grid });
|
10746 |
+
};
|
10747 |
+
|
10748 |
+
Checkboard.defaultProps = {
|
10749 |
+
size: 8,
|
10750 |
+
white: 'transparent',
|
10751 |
+
grey: 'rgba(0,0,0,.08)',
|
10752 |
+
renderers: {}
|
10753 |
+
};
|
10754 |
+
|
10755 |
+
exports.default = Checkboard;
|
10756 |
+
|
10757 |
+
/***/ }),
|
10758 |
+
/* 184 */
|
10759 |
/***/ (function(module, exports, __webpack_require__) {
|
10760 |
|
10761 |
"use strict";
|
10762 |
/* WEBPACK VAR INJECTION */(function(process) {
|
10763 |
|
10764 |
if (process.env.NODE_ENV === 'production') {
|
10765 |
+
module.exports = __webpack_require__(392);
|
10766 |
} else {
|
10767 |
+
module.exports = __webpack_require__(393);
|
10768 |
}
|
10769 |
|
10770 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
|
10771 |
|
10772 |
/***/ }),
|
10773 |
+
/* 185 */
|
10774 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10775 |
|
10776 |
"use strict";
|
10778 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
10779 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(2);
|
10780 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
10781 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant__ = __webpack_require__(44);
|
10782 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_invariant__);
|
10783 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_history__ = __webpack_require__(53);
|
10784 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
10785 |
|
10786 |
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
10887 |
/* harmony default export */ __webpack_exports__["a"] = (Link);
|
10888 |
|
10889 |
/***/ }),
|
10890 |
+
/* 186 */
|
10891 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10892 |
|
10893 |
"use strict";
|
10894 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__ = __webpack_require__(187);
|
10895 |
// Written in this round about way for babel-transform-imports
|
10896 |
|
10897 |
|
10898 |
/* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__["a" /* default */]);
|
10899 |
|
10900 |
/***/ }),
|
10901 |
+
/* 187 */
|
10902 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10903 |
|
10904 |
"use strict";
|
10905 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(40);
|
10906 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
|
10907 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(44);
|
10908 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
|
10909 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
10910 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
10911 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
10912 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
10913 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__matchPath__ = __webpack_require__(118);
|
10914 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
10915 |
|
10916 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
11052 |
/* harmony default export */ __webpack_exports__["a"] = (Route);
|
11053 |
|
11054 |
/***/ }),
|
11055 |
+
/* 188 */
|
11056 |
/***/ (function(module, exports, __webpack_require__) {
|
11057 |
|
11058 |
+
var isarray = __webpack_require__(410)
|
11059 |
|
11060 |
/**
|
11061 |
* Expose `pathToRegexp`.
|
11484 |
|
11485 |
|
11486 |
/***/ }),
|
11487 |
+
/* 189 */
|
11488 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11489 |
|
11490 |
"use strict";
|
11491 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(188);
|
11492 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
|
11493 |
|
11494 |
|
11529 |
/* harmony default export */ __webpack_exports__["a"] = (generatePath);
|
11530 |
|
11531 |
/***/ }),
|
11532 |
+
/* 190 */
|
11533 |
/***/ (function(module, exports, __webpack_require__) {
|
11534 |
|
11535 |
"use strict";
|
11542 |
|
11543 |
var _react = _interopRequireWildcard(__webpack_require__(0));
|
11544 |
|
11545 |
+
var _reactRouterDom = __webpack_require__(39);
|
11546 |
|
11547 |
+
var _reactDom = _interopRequireDefault(__webpack_require__(11));
|
11548 |
|
11549 |
+
__webpack_require__(425);
|
11550 |
|
11551 |
+
var _QuadsAdConfig = _interopRequireDefault(__webpack_require__(426));
|
11552 |
|
11553 |
+
var _QuadsAdTargeting = _interopRequireDefault(__webpack_require__(493));
|
11554 |
|
11555 |
+
var _QuadsAdPublish = _interopRequireDefault(__webpack_require__(501));
|
11556 |
|
11557 |
+
var _queryString = _interopRequireDefault(__webpack_require__(28));
|
11558 |
|
11559 |
+
var _Icon = _interopRequireDefault(__webpack_require__(31));
|
11560 |
|
11561 |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11562 |
|
11570 |
|
11571 |
function _readOnlyError(name) { throw new Error("\"" + name + "\" is read-only"); }
|
11572 |
|
11573 |
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
11574 |
+
|
11575 |
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
11576 |
|
11577 |
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
11578 |
|
11579 |
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
11580 |
+
|
11581 |
+
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
11582 |
|
11583 |
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
11584 |
|
11592 |
|
11593 |
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
11594 |
|
11595 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
11596 |
|
11597 |
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
11598 |
+
|
11599 |
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
11600 |
+
|
11601 |
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
11602 |
|
11603 |
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
11604 |
|
11605 |
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
11606 |
|
11607 |
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
11608 |
|
11609 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
11610 |
|
11611 |
+
var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
|
|
|
|
|
11612 |
_inherits(QuadsAdCreateRouter, _Component);
|
11613 |
|
11614 |
+
var _super = _createSuper(QuadsAdCreateRouter);
|
11615 |
+
|
11616 |
function QuadsAdCreateRouter(props) {
|
11617 |
var _this;
|
11618 |
|
11628 |
value: "post"
|
11629 |
}
|
11630 |
}];
|
11631 |
+
_this = _super.call(this, props);
|
11632 |
|
11633 |
_defineProperty(_assertThisInitialized(_this), "updateVisitorTarget", function (include, exclude) {
|
11634 |
_this.includedVal = include;
|
11646 |
|
11647 |
_defineProperty(_assertThisInitialized(_this), "getAdDataById", function (ad_id) {
|
11648 |
var url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id?ad-id=' + ad_id;
|
11649 |
+
|
11650 |
+
if (quads_localize_data.rest_url.includes('?')) {
|
11651 |
+
url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id&ad-id=' + ad_id;
|
11652 |
+
}
|
11653 |
+
|
11654 |
fetch(url, {
|
11655 |
headers: {
|
11656 |
'X-WP-Nonce': quads_localize_data.nonce
|
12010 |
break;
|
12011 |
|
12012 |
case 'adsense':
|
12013 |
+
if (validation_flag && (quads_post_meta.adsense_ad_type == 'adsense_auto_ads' || quads_post_meta.g_data_ad_slot) && quads_post_meta.g_data_ad_client && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12014 |
_this.saveAdFormData('publish');
|
12015 |
} else {
|
12016 |
_this.setState({
|
12054 |
break;
|
12055 |
|
12056 |
case 'mgid':
|
12057 |
+
if (validation_flag && quads_post_meta.data_js_src && quads_post_meta.data_container && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12058 |
_this.saveAdFormData('publish');
|
12059 |
} else {
|
12060 |
_this.setState({
|
12075 |
|
12076 |
break;
|
12077 |
|
12078 |
+
case 'taboola':
|
12079 |
+
if (validation_flag && quads_post_meta.taboola_publisher_id && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12080 |
+
_this.saveAdFormData('publish');
|
12081 |
+
} else {
|
12082 |
+
_this.setState({
|
12083 |
+
show_form_error: true
|
12084 |
+
});
|
12085 |
+
}
|
12086 |
+
|
12087 |
+
break;
|
12088 |
+
|
12089 |
+
case 'media_net':
|
12090 |
+
if (validation_flag && quads_post_meta.data_cid && quads_post_meta.data_crid && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12091 |
+
_this.saveAdFormData('publish');
|
12092 |
+
} else {
|
12093 |
+
_this.setState({
|
12094 |
+
show_form_error: true
|
12095 |
+
});
|
12096 |
+
}
|
12097 |
+
|
12098 |
+
break;
|
12099 |
+
|
12100 |
+
case 'mediavine':
|
12101 |
+
if (validation_flag && quads_post_meta.mediavine_site_id && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12102 |
+
_this.saveAdFormData('publish');
|
12103 |
+
} else {
|
12104 |
+
_this.setState({
|
12105 |
+
show_form_error: true
|
12106 |
+
});
|
12107 |
+
}
|
12108 |
+
|
12109 |
+
break;
|
12110 |
+
|
12111 |
+
case 'outbrain':
|
12112 |
+
if (validation_flag && quads_post_meta.outbrain_widget_ids && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12113 |
+
_this.saveAdFormData('publish');
|
12114 |
+
} else {
|
12115 |
+
_this.setState({
|
12116 |
+
show_form_error: true
|
12117 |
+
});
|
12118 |
+
}
|
12119 |
+
|
12120 |
+
break;
|
12121 |
+
|
12122 |
+
case 'background_ad':
|
12123 |
+
if (validation_flag && quads_post_meta.image_src && quads_post_meta.image_redirect_url && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
|
12124 |
+
_this.saveAdFormData('publish');
|
12125 |
+
} else {
|
12126 |
+
_this.setState({
|
12127 |
+
show_form_error: true
|
12128 |
+
});
|
12129 |
+
}
|
12130 |
+
|
12131 |
+
break;
|
12132 |
+
|
12133 |
default:
|
12134 |
break;
|
12135 |
}
|
12191 |
break;
|
12192 |
|
12193 |
case 'adsense':
|
12194 |
+
if ((quads_post_meta.adsense_ad_type == 'adsense_auto_ads' || quads_post_meta.g_data_ad_slot) && quads_post_meta.g_data_ad_client) {
|
12195 |
_this.props.history.push(new_url);
|
12196 |
} else {
|
12197 |
_this.setState({
|
12235 |
break;
|
12236 |
|
12237 |
case 'mgid':
|
12238 |
+
if (quads_post_meta.data_container && quads_post_meta.data_js_src) {
|
12239 |
_this.props.history.push(new_url);
|
12240 |
} else {
|
12241 |
_this.setState({
|
12256 |
|
12257 |
break;
|
12258 |
|
12259 |
+
case 'taboola':
|
12260 |
+
if (quads_post_meta.taboola_publisher_id) {
|
12261 |
+
_this.props.history.push(new_url);
|
12262 |
+
} else {
|
12263 |
+
_this.setState({
|
12264 |
+
show_form_error: true
|
12265 |
+
});
|
12266 |
+
}
|
12267 |
+
|
12268 |
+
break;
|
12269 |
+
|
12270 |
+
case 'media_net':
|
12271 |
+
if (quads_post_meta.data_cid && quads_post_meta.data_crid) {
|
12272 |
+
_this.props.history.push(new_url);
|
12273 |
+
} else {
|
12274 |
+
_this.setState({
|
12275 |
+
show_form_error: true
|
12276 |
+
});
|
12277 |
+
}
|
12278 |
+
|
12279 |
+
break;
|
12280 |
+
|
12281 |
+
case 'mediavine':
|
12282 |
+
if (quads_post_meta.mediavine_site_id) {
|
12283 |
+
_this.props.history.push(new_url);
|
12284 |
+
} else {
|
12285 |
+
_this.setState({
|
12286 |
+
show_form_error: true
|
12287 |
+
});
|
12288 |
+
}
|
12289 |
+
|
12290 |
+
break;
|
12291 |
+
|
12292 |
+
case 'outbrain':
|
12293 |
+
if (quads_post_meta.outbrain_widget_ids) {
|
12294 |
+
_this.props.history.push(new_url);
|
12295 |
+
} else {
|
12296 |
+
_this.setState({
|
12297 |
+
show_form_error: true
|
12298 |
+
});
|
12299 |
+
}
|
12300 |
+
|
12301 |
+
break;
|
12302 |
+
|
12303 |
+
case 'background_ad':
|
12304 |
+
if (quads_post_meta.image_src && quads_post_meta.image_redirect_url) {
|
12305 |
+
_this.props.history.push(new_url);
|
12306 |
+
} else {
|
12307 |
+
_this.setState({
|
12308 |
+
show_form_error: true
|
12309 |
+
});
|
12310 |
+
}
|
12311 |
+
|
12312 |
+
break;
|
12313 |
+
|
12314 |
default:
|
12315 |
break;
|
12316 |
}
|
12381 |
ad_id: '',
|
12382 |
ad_type: '',
|
12383 |
label: '',
|
12384 |
+
adsense_ad_type: 'display_ads',
|
12385 |
+
data_layout_key: '',
|
12386 |
g_data_ad_slot: '',
|
12387 |
g_data_ad_client: '',
|
12388 |
adsense_type: '',
|
12403 |
enabled_on_amp: false,
|
12404 |
enable_on_end_of_post: false,
|
12405 |
after_the_percentage_value: 50,
|
12406 |
+
ads_loop_number: 1,
|
12407 |
image_caption: false,
|
12408 |
include_dropdown: false,
|
12409 |
exclude_dropdown: false,
|
12410 |
random_ads_list: [],
|
12411 |
image_src: '',
|
12412 |
image_src_id: '',
|
12413 |
+
image_redirect_url: '',
|
12414 |
+
taboola_publisher_id: '',
|
12415 |
+
data_cid: '',
|
12416 |
+
data_crid: '',
|
12417 |
+
mediavine_site_id: '',
|
12418 |
+
outbrain_widget_ids: '',
|
12419 |
+
data_container: '',
|
12420 |
+
data_js_src: ''
|
12421 |
},
|
12422 |
quads_form_errors: {
|
12423 |
g_data_ad_slot: '',
|
12506 |
}, function (error) {});
|
12507 |
}
|
12508 |
|
12509 |
+
return /*#__PURE__*/_react["default"].createElement("div", null, this.state.quads_is_loaded ? /*#__PURE__*/_react["default"].createElement("div", {
|
12510 |
className: "quads-cover-spin"
|
12511 |
+
}) : '', /*#__PURE__*/_react["default"].createElement("form", {
|
12512 |
id: "quads-ad-form"
|
12513 |
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
12514 |
className: "material-icons quads-close-create-page"
|
12515 |
+
}, /*#__PURE__*/_react["default"].createElement("a", {
|
12516 |
onClick: this.quadsGoBack
|
12517 |
+
}, "close")), /*#__PURE__*/_react["default"].createElement("div", {
|
12518 |
className: "quads-ad-config-header"
|
12519 |
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
12520 |
className: "quads-ad-input"
|
12521 |
+
}, /*#__PURE__*/_react["default"].createElement("input", {
|
12522 |
value: this.state.quads_post_meta.label,
|
12523 |
type: "text",
|
12524 |
onChange: this.adFormChangeHandler,
|
12525 |
name: "label",
|
12526 |
placeholder: __('Name your ad unit', 'quick-adsense-reloaded')
|
12527 |
+
}), /*#__PURE__*/_react["default"].createElement("input", {
|
12528 |
type: "hidden",
|
12529 |
name: "ad_id",
|
12530 |
value: this.state.quads_post_meta.ad_id
|
12531 |
+
}), /*#__PURE__*/_react["default"].createElement("input", {
|
12532 |
type: "hidden",
|
12533 |
name: "ad_type",
|
12534 |
value: this.state.quads_post_meta.ad_type
|
12535 |
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
12536 |
className: "quads-ad-config-menu"
|
12537 |
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
12538 |
className: "quads-ad-config-tab"
|
12539 |
+
}, /*#__PURE__*/_react["default"].createElement("ul", null, /*#__PURE__*/_react["default"].createElement("li", {
|
12540 |
className: "".concat(page.path == 'wizard' ? 'quads-selected' : '')
|
12541 |
+
}, __('Configuration', 'quick-adsense-reloaded')), /*#__PURE__*/_react["default"].createElement("li", {
|
12542 |
className: "".concat(page.path == 'wizard_target' ? 'quads-selected' : '')
|
12543 |
+
}, __('Targeting', 'quick-adsense-reloaded')), /*#__PURE__*/_react["default"].createElement("li", {
|
12544 |
className: "".concat(page.path == 'wizard_publish' ? 'quads-selected' : '')
|
12545 |
+
}, __('Publish', 'quick-adsense-reloaded')))))), /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
|
12546 |
render: function render(props) {
|
12547 |
switch (page.path) {
|
12548 |
case "wizard":
|
12549 |
+
return /*#__PURE__*/_react["default"].createElement(_QuadsAdConfig["default"], _extends({}, props, {
|
12550 |
moveNext: _this2.moveNext,
|
12551 |
parentState: _this2.state,
|
12552 |
adFormChangeHandler: _this2.adFormChangeHandler,
|
12558 |
}));
|
12559 |
|
12560 |
case "wizard_target":
|
12561 |
+
return /*#__PURE__*/_react["default"].createElement(_QuadsAdTargeting["default"], _extends({}, props, _defineProperty({
|
12562 |
parentState: _this2.state,
|
12563 |
updateVisitorTarget: _this2.updateVisitorTarget,
|
12564 |
updateVisibility: _this2.updateVisibility,
|
12569 |
}, "updateVisitorTarget", _this2.updateVisitorTarget)));
|
12570 |
|
12571 |
case "wizard_publish":
|
12572 |
+
return /*#__PURE__*/_react["default"].createElement(_QuadsAdPublish["default"], _extends({}, props, {
|
12573 |
parentState: _this2.state,
|
12574 |
adFormChangeHandler: _this2.adFormChangeHandler,
|
12575 |
movePrev: _this2.movePrev
|
12590 |
exports["default"] = _default;
|
12591 |
|
12592 |
/***/ }),
|
12593 |
+
/* 191 */
|
12594 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12595 |
|
12596 |
"use strict";
|
12598 |
/* harmony default export */ __webpack_exports__["a"] = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');
|
12599 |
|
12600 |
/***/ }),
|
12601 |
+
/* 192 */
|
12602 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12603 |
|
12604 |
"use strict";
|
12605 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStyles__ = __webpack_require__(443);
|
12606 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createStyles__["a"]; });
|
12607 |
|
12608 |
|
12609 |
/***/ }),
|
12610 |
+
/* 193 */
|
12611 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12612 |
|
12613 |
"use strict";
|
12620 |
|
12621 |
|
12622 |
/***/ }),
|
12623 |
+
/* 194 */
|
12624 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12625 |
+
|
12626 |
+
"use strict";
|
12627 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _arrayLikeToArray;
|
12628 |
+
function _arrayLikeToArray(arr, len) {
|
12629 |
+
if (len == null || len > arr.length) len = arr.length;
|
12630 |
+
|
12631 |
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
12632 |
+
arr2[i] = arr[i];
|
12633 |
+
}
|
12634 |
+
|
12635 |
+
return arr2;
|
12636 |
+
}
|
12637 |
+
|
12638 |
+
/***/ }),
|
12639 |
+
/* 195 */
|
12640 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12641 |
|
12642 |
"use strict";
|
12643 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _iterableToArray;
|
12644 |
function _iterableToArray(iter) {
|
12645 |
+
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
12646 |
}
|
12647 |
|
12648 |
/***/ }),
|
12649 |
+
/* 196 */
|
12650 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12651 |
|
12652 |
"use strict";
|
12663 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
12664 |
|
12665 |
/***/ }),
|
12666 |
+
/* 197 */
|
12667 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12668 |
|
12669 |
"use strict";
|
12670 |
/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export sheetsManager */
|
12671 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StylesContext; });
|
12672 |
+
/* harmony export (immutable) */ __webpack_exports__["b"] = StylesProvider;
|
12673 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
12674 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
12675 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
12677 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
12678 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
12679 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
|
12680 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createGenerateClassName__ = __webpack_require__(78);
|
12681 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_jss__ = __webpack_require__(46);
|
12682 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__jssPreset__ = __webpack_require__(121);
|
12683 |
|
12684 |
|
12685 |
|
12712 |
}
|
12713 |
|
12714 |
var injectFirstNode;
|
|
|
12715 |
function StylesProvider(props) {
|
12716 |
var children = props.children,
|
12717 |
_props$injectFirst = props.injectFirst,
|
12722 |
|
12723 |
var outerOptions = __WEBPACK_IMPORTED_MODULE_2_react___default.a.useContext(StylesContext);
|
12724 |
|
12725 |
+
var context = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, outerOptions), {}, {
|
12726 |
disableGeneration: disableGeneration
|
12727 |
}, localOptions);
|
12728 |
|
12729 |
if (process.env.NODE_ENV !== 'production') {
|
12730 |
if (typeof window === 'undefined' && !context.sheetsManager) {
|
12731 |
+
console.error('Material-UI: You need to use the ServerStyleSheets API when rendering on the server.');
|
12732 |
}
|
12733 |
}
|
12734 |
|
12735 |
if (process.env.NODE_ENV !== 'production') {
|
12736 |
if (context.jss.options.insertionPoint && injectFirst) {
|
12737 |
+
console.error('Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time.');
|
12738 |
}
|
12739 |
}
|
12740 |
|
12741 |
if (process.env.NODE_ENV !== 'production') {
|
12742 |
if (injectFirst && localOptions.jss) {
|
12743 |
+
console.error('Material-UI: You cannot use the jss and injectFirst props at the same time.');
|
12744 |
}
|
12745 |
}
|
12746 |
|
12757 |
});
|
12758 |
}
|
12759 |
|
12760 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(StylesContext.Provider, {
|
12761 |
value: context
|
12762 |
}, children);
|
12763 |
}
|
|
|
12764 |
process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = {
|
12765 |
/**
|
12766 |
* Your component tree.
|
12825 |
} : void 0;
|
12826 |
|
12827 |
if (process.env.NODE_ENV !== 'production') {
|
12828 |
+
process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_utils__["f" /* exactProp */])(StylesProvider.propTypes) : void 0;
|
12829 |
}
|
|
|
|
|
12830 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
12831 |
|
12832 |
/***/ }),
|
12833 |
+
/* 198 */
|
12834 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12835 |
|
12836 |
"use strict";
|
12839 |
/* harmony default export */ __webpack_exports__["a"] = (noopTheme);
|
12840 |
|
12841 |
/***/ }),
|
12842 |
+
/* 199 */
|
12843 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12844 |
|
12845 |
"use strict";
|
12846 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ServerStyleSheets__ = __webpack_require__(464);
|
12847 |
/* unused harmony reexport default */
|
12848 |
|
12849 |
|
12850 |
/***/ }),
|
12851 |
+
/* 200 */
|
12852 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12853 |
|
12854 |
"use strict";
|
12855 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__styled__ = __webpack_require__(465);
|
12856 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__styled__["a"]; });
|
12857 |
|
12858 |
|
12859 |
/***/ }),
|
12860 |
+
/* 201 */
|
12861 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12862 |
|
12863 |
"use strict";
|
12864 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ThemeProvider__ = __webpack_require__(466);
|
12865 |
/* unused harmony reexport default */
|
12866 |
|
12867 |
|
12868 |
/***/ }),
|
12869 |
+
/* 202 */
|
12870 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12871 |
|
12872 |
"use strict";
|
12873 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withStyles__ = __webpack_require__(467);
|
12874 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withStyles__["a"]; });
|
12875 |
|
12876 |
|
12877 |
/***/ }),
|
12878 |
+
/* 203 */
|
12879 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12880 |
|
12881 |
"use strict";
|
12882 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withTheme__ = __webpack_require__(204);
|
12883 |
/* unused harmony reexport default */
|
12884 |
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withTheme__["a"]; });
|
12885 |
|
12886 |
|
12887 |
|
12888 |
/***/ }),
|
12889 |
+
/* 204 */
|
12890 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12891 |
|
12892 |
"use strict";
|
12897 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
12898 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
12899 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
12900 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics__ = __webpack_require__(82);
|
12901 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics__);
|
12902 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__ = __webpack_require__(7);
|
12903 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__useTheme__ = __webpack_require__(56);
|
12904 |
|
12905 |
|
12906 |
|
12924 |
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["innerRef"]);
|
12925 |
|
12926 |
var theme = Object(__WEBPACK_IMPORTED_MODULE_6__useTheme__["a" /* default */])() || defaultTheme;
|
12927 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(Component, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
12928 |
theme: theme,
|
12929 |
ref: innerRef || ref
|
12930 |
}, other));
|
12934 |
* Use that prop to pass a ref to the decorated component.
|
12935 |
* @deprecated
|
12936 |
*/
|
12937 |
+
innerRef: Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["b" /* chainPropTypes */])(__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func, __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object]), function (props) {
|
12938 |
if (props.innerRef == null) {
|
12939 |
return null;
|
12940 |
}
|
12941 |
|
12942 |
+
return new Error('Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' + 'Refs are now automatically forwarded to the inner component.');
|
12943 |
})
|
12944 |
} : void 0;
|
12945 |
|
12946 |
if (process.env.NODE_ENV !== 'production') {
|
12947 |
+
WithTheme.displayName = "WithTheme(".concat(Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["h" /* getDisplayName */])(Component), ")");
|
12948 |
}
|
12949 |
|
12950 |
__WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics___default()(WithTheme, Component);
|
12967 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
12968 |
|
12969 |
/***/ }),
|
12970 |
+
/* 205 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12971 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12972 |
|
12973 |
"use strict";
|
13044 |
}
|
13045 |
|
13046 |
/***/ }),
|
13047 |
+
/* 206 */
|
13048 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13049 |
|
13050 |
"use strict";
|
13055 |
/* harmony default export */ __webpack_exports__["a"] = (common);
|
13056 |
|
13057 |
/***/ }),
|
13058 |
+
/* 207 */
|
13059 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13060 |
|
13061 |
"use strict";
|
13078 |
/* harmony default export */ __webpack_exports__["a"] = (grey);
|
13079 |
|
13080 |
/***/ }),
|
13081 |
+
/* 208 */
|
13082 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13083 |
|
13084 |
"use strict";
|
13101 |
/* harmony default export */ __webpack_exports__["a"] = (indigo);
|
13102 |
|
13103 |
/***/ }),
|
13104 |
+
/* 209 */
|
13105 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13106 |
|
13107 |
"use strict";
|
13124 |
/* harmony default export */ __webpack_exports__["a"] = (pink);
|
13125 |
|
13126 |
/***/ }),
|
13127 |
+
/* 210 */
|
13128 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13129 |
|
13130 |
"use strict";
|
13147 |
/* harmony default export */ __webpack_exports__["a"] = (red);
|
13148 |
|
13149 |
/***/ }),
|
13150 |
+
/* 211 */
|
13151 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13152 |
|
13153 |
"use strict";
|
13170 |
/* harmony default export */ __webpack_exports__["a"] = (orange);
|
13171 |
|
13172 |
/***/ }),
|
13173 |
+
/* 212 */
|
13174 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13175 |
|
13176 |
"use strict";
|
13193 |
/* harmony default export */ __webpack_exports__["a"] = (blue);
|
13194 |
|
13195 |
/***/ }),
|
13196 |
+
/* 213 */
|
13197 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13198 |
|
13199 |
"use strict";
|
13216 |
/* harmony default export */ __webpack_exports__["a"] = (green);
|
13217 |
|
13218 |
/***/ }),
|
13219 |
+
/* 214 */
|
13220 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13221 |
|
13222 |
"use strict";
|
13223 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__borders__ = __webpack_require__(215);
|
13224 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__borders__["a"]; });
|
13225 |
+
/* unused harmony namespace reexport */
|
13226 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__breakpoints__ = __webpack_require__(127);
|
13227 |
+
/* unused harmony reexport breakpoints */
|
13228 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__compose__ = __webpack_require__(37);
|
13229 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__compose__["a"]; });
|
13230 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__css__ = __webpack_require__(474);
|
13231 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__css__["a"]; });
|
13232 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__display__ = __webpack_require__(475);
|
13233 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__display__["a"]; });
|
13234 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__flexbox__ = __webpack_require__(217);
|
13235 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__flexbox__["a"]; });
|
13236 |
+
/* unused harmony namespace reexport */
|
13237 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__grid__ = __webpack_require__(218);
|
13238 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__grid__["a"]; });
|
13239 |
+
/* unused harmony namespace reexport */
|
13240 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__palette__ = __webpack_require__(219);
|
13241 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__palette__["a"]; });
|
13242 |
+
/* unused harmony namespace reexport */
|
13243 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__positions__ = __webpack_require__(220);
|
13244 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__positions__["a"]; });
|
13245 |
+
/* unused harmony namespace reexport */
|
13246 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__shadows__ = __webpack_require__(476);
|
13247 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__shadows__["a"]; });
|
13248 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__sizing__ = __webpack_require__(221);
|
13249 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_10__sizing__["a"]; });
|
13250 |
+
/* unused harmony namespace reexport */
|
13251 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__spacing__ = __webpack_require__(222);
|
13252 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["b"]; });
|
13253 |
+
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["a"]; });
|
13254 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__style__ = __webpack_require__(33);
|
13255 |
+
/* unused harmony reexport style */
|
13256 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__typography__ = __webpack_require__(225);
|
13257 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_13__typography__["a"]; });
|
13258 |
+
/* unused harmony namespace reexport */
|
13259 |
+
/** @license Material-UI v4.9.14
|
13260 |
+
*
|
13261 |
+
* This source code is licensed under the MIT license found in the
|
13262 |
+
* LICENSE file in the root directory of this source tree.
|
13263 |
+
*/
|
13264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13266 |
|
|
|
13267 |
|
13268 |
|
|
|
|
|
|
|
13269 |
|
|
|
|
|
|
|
|
|
13270 |
|
13271 |
|
13272 |
|
13273 |
|
|
|
|
|
|
|
|
|
|
|
13274 |
|
|
|
|
|
|
|
|
|
|
|
13275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13277 |
|
|
|
|
|
|
|
13278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13282 |
|
|
|
|
|
|
|
|
|
13283 |
|
|
|
|
|
|
|
|
|
|
|
13284 |
|
|
|
13285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13286 |
|
13287 |
+
/***/ }),
|
13288 |
+
/* 215 */
|
13289 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13290 |
|
13291 |
+
"use strict";
|
13292 |
+
/* unused harmony export border */
|
13293 |
+
/* unused harmony export borderTop */
|
13294 |
+
/* unused harmony export borderRight */
|
13295 |
+
/* unused harmony export borderBottom */
|
13296 |
+
/* unused harmony export borderLeft */
|
13297 |
+
/* unused harmony export borderColor */
|
13298 |
+
/* unused harmony export borderRadius */
|
13299 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13300 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13301 |
|
|
|
|
|
|
|
|
|
|
|
13302 |
|
|
|
|
|
|
|
13303 |
|
13304 |
+
function getBorder(value) {
|
13305 |
+
if (typeof value !== 'number') {
|
13306 |
+
return value;
|
|
|
13307 |
}
|
13308 |
|
13309 |
+
return "".concat(value, "px solid");
|
13310 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13311 |
|
13312 |
+
var border = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13313 |
+
prop: 'border',
|
13314 |
+
themeKey: 'borders',
|
13315 |
+
transform: getBorder
|
13316 |
+
});
|
13317 |
+
var borderTop = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13318 |
+
prop: 'borderTop',
|
13319 |
+
themeKey: 'borders',
|
13320 |
+
transform: getBorder
|
13321 |
+
});
|
13322 |
+
var borderRight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13323 |
+
prop: 'borderRight',
|
13324 |
+
themeKey: 'borders',
|
13325 |
+
transform: getBorder
|
13326 |
+
});
|
13327 |
+
var borderBottom = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13328 |
+
prop: 'borderBottom',
|
13329 |
+
themeKey: 'borders',
|
13330 |
+
transform: getBorder
|
13331 |
+
});
|
13332 |
+
var borderLeft = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13333 |
+
prop: 'borderLeft',
|
13334 |
+
themeKey: 'borders',
|
13335 |
+
transform: getBorder
|
13336 |
+
});
|
13337 |
+
var borderColor = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13338 |
+
prop: 'borderColor',
|
13339 |
+
themeKey: 'palette'
|
13340 |
+
});
|
13341 |
+
var borderRadius = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13342 |
+
prop: 'borderRadius',
|
13343 |
+
themeKey: 'shape'
|
13344 |
+
});
|
13345 |
+
var borders = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);
|
13346 |
+
/* harmony default export */ __webpack_exports__["a"] = (borders);
|
13347 |
|
13348 |
+
/***/ }),
|
13349 |
+
/* 216 */
|
13350 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
13351 |
|
13352 |
+
"use strict";
|
13353 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(2);
|
13354 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13355 |
|
13356 |
+
var responsivePropType = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.object, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.array]) : {};
|
13357 |
+
/* harmony default export */ __webpack_exports__["a"] = (responsivePropType);
|
13358 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
|
|
13359 |
|
13360 |
+
/***/ }),
|
13361 |
+
/* 217 */
|
13362 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13363 |
|
13364 |
+
"use strict";
|
13365 |
+
/* unused harmony export flexBasis */
|
13366 |
+
/* unused harmony export flexDirection */
|
13367 |
+
/* unused harmony export flexWrap */
|
13368 |
+
/* unused harmony export justifyContent */
|
13369 |
+
/* unused harmony export alignItems */
|
13370 |
+
/* unused harmony export alignContent */
|
13371 |
+
/* unused harmony export order */
|
13372 |
+
/* unused harmony export flex */
|
13373 |
+
/* unused harmony export flexGrow */
|
13374 |
+
/* unused harmony export flexShrink */
|
13375 |
+
/* unused harmony export alignSelf */
|
13376 |
+
/* unused harmony export justifyItems */
|
13377 |
+
/* unused harmony export justifySelf */
|
13378 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13379 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13380 |
|
|
|
|
|
|
|
|
|
13381 |
|
13382 |
+
var flexBasis = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13383 |
+
prop: 'flexBasis'
|
13384 |
+
});
|
13385 |
+
var flexDirection = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13386 |
+
prop: 'flexDirection'
|
13387 |
+
});
|
13388 |
+
var flexWrap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13389 |
+
prop: 'flexWrap'
|
13390 |
+
});
|
13391 |
+
var justifyContent = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13392 |
+
prop: 'justifyContent'
|
13393 |
+
});
|
13394 |
+
var alignItems = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13395 |
+
prop: 'alignItems'
|
13396 |
+
});
|
13397 |
+
var alignContent = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13398 |
+
prop: 'alignContent'
|
13399 |
+
});
|
13400 |
+
var order = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13401 |
+
prop: 'order'
|
13402 |
+
});
|
13403 |
+
var flex = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13404 |
+
prop: 'flex'
|
13405 |
+
});
|
13406 |
+
var flexGrow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13407 |
+
prop: 'flexGrow'
|
13408 |
+
});
|
13409 |
+
var flexShrink = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13410 |
+
prop: 'flexShrink'
|
13411 |
+
});
|
13412 |
+
var alignSelf = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13413 |
+
prop: 'alignSelf'
|
13414 |
+
});
|
13415 |
+
var justifyItems = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13416 |
+
prop: 'justifyItems'
|
13417 |
+
});
|
13418 |
+
var justifySelf = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13419 |
+
prop: 'justifySelf'
|
13420 |
+
});
|
13421 |
+
var flexbox = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf);
|
13422 |
+
/* harmony default export */ __webpack_exports__["a"] = (flexbox);
|
13423 |
|
13424 |
+
/***/ }),
|
13425 |
+
/* 218 */
|
13426 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
13427 |
|
13428 |
+
"use strict";
|
13429 |
+
/* unused harmony export gridGap */
|
13430 |
+
/* unused harmony export gridColumnGap */
|
13431 |
+
/* unused harmony export gridRowGap */
|
13432 |
+
/* unused harmony export gridColumn */
|
13433 |
+
/* unused harmony export gridRow */
|
13434 |
+
/* unused harmony export gridAutoFlow */
|
13435 |
+
/* unused harmony export gridAutoColumns */
|
13436 |
+
/* unused harmony export gridAutoRows */
|
13437 |
+
/* unused harmony export gridTemplateColumns */
|
13438 |
+
/* unused harmony export gridTemplateRows */
|
13439 |
+
/* unused harmony export gridTemplateAreas */
|
13440 |
+
/* unused harmony export gridArea */
|
13441 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13442 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13443 |
|
|
|
13444 |
|
13445 |
+
var gridGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13446 |
+
prop: 'gridGap'
|
13447 |
+
});
|
13448 |
+
var gridColumnGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13449 |
+
prop: 'gridColumnGap'
|
13450 |
+
});
|
13451 |
+
var gridRowGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13452 |
+
prop: 'gridRowGap'
|
13453 |
+
});
|
13454 |
+
var gridColumn = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13455 |
+
prop: 'gridColumn'
|
13456 |
+
});
|
13457 |
+
var gridRow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13458 |
+
prop: 'gridRow'
|
13459 |
+
});
|
13460 |
+
var gridAutoFlow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13461 |
+
prop: 'gridAutoFlow'
|
13462 |
+
});
|
13463 |
+
var gridAutoColumns = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13464 |
+
prop: 'gridAutoColumns'
|
13465 |
+
});
|
13466 |
+
var gridAutoRows = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13467 |
+
prop: 'gridAutoRows'
|
13468 |
+
});
|
13469 |
+
var gridTemplateColumns = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13470 |
+
prop: 'gridTemplateColumns'
|
13471 |
+
});
|
13472 |
+
var gridTemplateRows = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13473 |
+
prop: 'gridTemplateRows'
|
13474 |
+
});
|
13475 |
+
var gridTemplateAreas = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13476 |
+
prop: 'gridTemplateAreas'
|
13477 |
+
});
|
13478 |
+
var gridArea = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13479 |
+
prop: 'gridArea'
|
13480 |
+
});
|
13481 |
+
var grid = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
|
13482 |
+
/* harmony default export */ __webpack_exports__["a"] = (grid);
|
13483 |
|
13484 |
/***/ }),
|
13485 |
+
/* 219 */
|
13486 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13487 |
|
13488 |
"use strict";
|
13489 |
+
/* unused harmony export color */
|
13490 |
+
/* unused harmony export bgcolor */
|
13491 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13492 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13493 |
|
|
|
13494 |
|
13495 |
+
var color = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13496 |
+
prop: 'color',
|
13497 |
+
themeKey: 'palette'
|
13498 |
+
});
|
13499 |
+
var bgcolor = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13500 |
+
prop: 'bgcolor',
|
13501 |
+
cssProperty: 'backgroundColor',
|
13502 |
+
themeKey: 'palette'
|
13503 |
+
});
|
13504 |
+
var palette = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(color, bgcolor);
|
13505 |
+
/* harmony default export */ __webpack_exports__["a"] = (palette);
|
13506 |
|
13507 |
+
/***/ }),
|
13508 |
+
/* 220 */
|
13509 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13510 |
|
13511 |
+
"use strict";
|
13512 |
+
/* unused harmony export position */
|
13513 |
+
/* unused harmony export zIndex */
|
13514 |
+
/* unused harmony export top */
|
13515 |
+
/* unused harmony export right */
|
13516 |
+
/* unused harmony export bottom */
|
13517 |
+
/* unused harmony export left */
|
13518 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13519 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13520 |
|
|
|
13521 |
|
13522 |
+
var position = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13523 |
+
prop: 'position'
|
13524 |
+
});
|
13525 |
+
var zIndex = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13526 |
+
prop: 'zIndex',
|
13527 |
+
themeKey: 'zIndex'
|
13528 |
+
});
|
13529 |
+
var top = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13530 |
+
prop: 'top'
|
13531 |
+
});
|
13532 |
+
var right = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13533 |
+
prop: 'right'
|
13534 |
+
});
|
13535 |
+
var bottom = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13536 |
+
prop: 'bottom'
|
13537 |
+
});
|
13538 |
+
var left = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13539 |
+
prop: 'left'
|
13540 |
+
});
|
13541 |
+
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(position, zIndex, top, right, bottom, left));
|
13542 |
|
13543 |
+
/***/ }),
|
13544 |
+
/* 221 */
|
13545 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13546 |
|
13547 |
+
"use strict";
|
13548 |
+
/* unused harmony export width */
|
13549 |
+
/* unused harmony export maxWidth */
|
13550 |
+
/* unused harmony export minWidth */
|
13551 |
+
/* unused harmony export height */
|
13552 |
+
/* unused harmony export maxHeight */
|
13553 |
+
/* unused harmony export minHeight */
|
13554 |
+
/* unused harmony export sizeWidth */
|
13555 |
+
/* unused harmony export sizeHeight */
|
13556 |
+
/* unused harmony export boxSizing */
|
13557 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13558 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13559 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13560 |
|
|
|
13561 |
|
13562 |
+
function transform(value) {
|
13563 |
+
return value <= 1 ? "".concat(value * 100, "%") : value;
|
13564 |
+
}
|
13565 |
|
13566 |
+
var width = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13567 |
+
prop: 'width',
|
13568 |
+
transform: transform
|
13569 |
+
});
|
13570 |
+
var maxWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13571 |
+
prop: 'maxWidth',
|
13572 |
+
transform: transform
|
13573 |
+
});
|
13574 |
+
var minWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13575 |
+
prop: 'minWidth',
|
13576 |
+
transform: transform
|
13577 |
+
});
|
13578 |
+
var height = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13579 |
+
prop: 'height',
|
13580 |
+
transform: transform
|
13581 |
+
});
|
13582 |
+
var maxHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13583 |
+
prop: 'maxHeight',
|
13584 |
+
transform: transform
|
13585 |
+
});
|
13586 |
+
var minHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13587 |
+
prop: 'minHeight',
|
13588 |
+
transform: transform
|
13589 |
+
});
|
13590 |
+
var sizeWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13591 |
+
prop: 'size',
|
13592 |
+
cssProperty: 'width',
|
13593 |
+
transform: transform
|
13594 |
+
});
|
13595 |
+
var sizeHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13596 |
+
prop: 'size',
|
13597 |
+
cssProperty: 'height',
|
13598 |
+
transform: transform
|
13599 |
+
});
|
13600 |
+
var boxSizing = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13601 |
+
prop: 'boxSizing'
|
13602 |
+
});
|
13603 |
+
var sizing = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
|
13604 |
+
/* harmony default export */ __webpack_exports__["a"] = (sizing);
|
13605 |
|
13606 |
+
/***/ }),
|
13607 |
+
/* 222 */
|
13608 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13609 |
|
13610 |
+
"use strict";
|
13611 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createUnarySpacing;
|
13612 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(20);
|
13613 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(216);
|
13614 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(127);
|
13615 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__merge__ = __webpack_require__(83);
|
13616 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__memoize__ = __webpack_require__(478);
|
|
|
13617 |
|
|
|
|
|
|
|
|
|
13618 |
|
|
|
13619 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13620 |
|
|
|
13621 |
|
13622 |
+
var properties = {
|
13623 |
+
m: 'margin',
|
13624 |
+
p: 'padding'
|
13625 |
+
};
|
13626 |
+
var directions = {
|
13627 |
+
t: 'Top',
|
13628 |
+
r: 'Right',
|
13629 |
+
b: 'Bottom',
|
13630 |
+
l: 'Left',
|
13631 |
+
x: ['Left', 'Right'],
|
13632 |
+
y: ['Top', 'Bottom']
|
13633 |
+
};
|
13634 |
+
var aliases = {
|
13635 |
+
marginX: 'mx',
|
13636 |
+
marginY: 'my',
|
13637 |
+
paddingX: 'px',
|
13638 |
+
paddingY: 'py'
|
13639 |
+
}; // memoize() impact:
|
13640 |
+
// From 300,000 ops/sec
|
13641 |
+
// To 350,000 ops/sec
|
13642 |
|
13643 |
+
var getCssProperties = Object(__WEBPACK_IMPORTED_MODULE_4__memoize__["a" /* default */])(function (prop) {
|
13644 |
+
// It's not a shorthand notation.
|
13645 |
+
if (prop.length > 2) {
|
13646 |
+
if (aliases[prop]) {
|
13647 |
+
prop = aliases[prop];
|
13648 |
+
} else {
|
13649 |
+
return [prop];
|
13650 |
}
|
13651 |
+
}
|
13652 |
|
13653 |
+
var _prop$split = prop.split(''),
|
13654 |
+
_prop$split2 = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_prop$split, 2),
|
13655 |
+
a = _prop$split2[0],
|
13656 |
+
b = _prop$split2[1];
|
13657 |
|
13658 |
+
var property = properties[a];
|
13659 |
+
var direction = directions[b] || '';
|
13660 |
+
return Array.isArray(direction) ? direction.map(function (dir) {
|
13661 |
+
return property + dir;
|
13662 |
+
}) : [property + direction];
|
13663 |
+
});
|
13664 |
+
var spacingKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];
|
13665 |
+
function createUnarySpacing(theme) {
|
13666 |
+
var themeSpacing = theme.spacing || 8;
|
13667 |
|
13668 |
+
if (typeof themeSpacing === 'number') {
|
13669 |
+
return function (abs) {
|
13670 |
+
if (process.env.NODE_ENV !== 'production') {
|
13671 |
+
if (typeof abs !== 'number') {
|
13672 |
+
console.error("Material-UI: Expected spacing argument to be a number, got ".concat(abs, "."));
|
13673 |
+
}
|
13674 |
+
}
|
13675 |
|
13676 |
+
return themeSpacing * abs;
|
13677 |
+
};
|
13678 |
+
}
|
13679 |
+
|
13680 |
+
if (Array.isArray(themeSpacing)) {
|
13681 |
+
return function (abs) {
|
13682 |
+
if (process.env.NODE_ENV !== 'production') {
|
13683 |
+
if (abs > themeSpacing.length - 1) {
|
13684 |
+
console.error(["Material-UI: The value provided (".concat(abs, ") overflows."), "The supported values are: ".concat(JSON.stringify(themeSpacing), "."), "".concat(abs, " > ").concat(themeSpacing.length - 1, ", you need to add the missing values.")].join('\n'));
|
|
|
|
|
|
|
|
|
13685 |
}
|
13686 |
}
|
|
|
|
|
|
|
13687 |
|
13688 |
+
return themeSpacing[abs];
|
13689 |
+
};
|
13690 |
+
}
|
13691 |
|
13692 |
+
if (typeof themeSpacing === 'function') {
|
13693 |
+
return themeSpacing;
|
13694 |
+
}
|
13695 |
+
|
13696 |
+
if (process.env.NODE_ENV !== 'production') {
|
13697 |
+
console.error(["Material-UI: The `theme.spacing` value (".concat(themeSpacing, ") is invalid."), 'It should be a number, an array or a function.'].join('\n'));
|
13698 |
+
}
|
13699 |
+
|
13700 |
+
return function () {
|
13701 |
+
return undefined;
|
13702 |
};
|
13703 |
+
}
|
13704 |
|
13705 |
+
function getValue(transformer, propValue) {
|
13706 |
+
if (typeof propValue === 'string') {
|
13707 |
+
return propValue;
|
13708 |
+
}
|
13709 |
+
|
13710 |
+
var abs = Math.abs(propValue);
|
13711 |
+
var transformed = transformer(abs);
|
13712 |
+
|
13713 |
+
if (propValue >= 0) {
|
13714 |
+
return transformed;
|
13715 |
+
}
|
13716 |
+
|
13717 |
+
if (typeof transformed === 'number') {
|
13718 |
+
return -transformed;
|
13719 |
+
}
|
13720 |
+
|
13721 |
+
return "-".concat(transformed);
|
13722 |
+
}
|
13723 |
|
13724 |
+
function getStyleFromPropValue(cssProperties, transformer) {
|
13725 |
+
return function (propValue) {
|
13726 |
+
return cssProperties.reduce(function (acc, cssProperty) {
|
13727 |
+
acc[cssProperty] = getValue(transformer, propValue);
|
13728 |
+
return acc;
|
13729 |
+
}, {});
|
13730 |
+
};
|
13731 |
+
}
|
13732 |
+
|
13733 |
+
function spacing(props) {
|
13734 |
+
var theme = props.theme;
|
13735 |
+
var transformer = createUnarySpacing(theme);
|
13736 |
+
return Object.keys(props).map(function (prop) {
|
13737 |
+
// Using a hash computation over an array iteration could be faster, but with only 28 items,
|
13738 |
+
// it's doesn't worth the bundle size.
|
13739 |
+
if (spacingKeys.indexOf(prop) === -1) {
|
13740 |
+
return null;
|
13741 |
+
}
|
13742 |
|
13743 |
+
var cssProperties = getCssProperties(prop);
|
13744 |
+
var styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
|
13745 |
+
var propValue = props[prop];
|
13746 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2__breakpoints__["a" /* handleBreakpoints */])(props, propValue, styleFromPropValue);
|
13747 |
+
}).reduce(__WEBPACK_IMPORTED_MODULE_3__merge__["a" /* default */], {});
|
13748 |
+
}
|
13749 |
|
13750 |
+
spacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce(function (obj, key) {
|
13751 |
+
obj[key] = __WEBPACK_IMPORTED_MODULE_1__responsivePropType__["a" /* default */];
|
13752 |
+
return obj;
|
13753 |
+
}, {}) : {};
|
13754 |
+
spacing.filterProps = spacingKeys;
|
13755 |
+
/* harmony default export */ __webpack_exports__["b"] = (spacing);
|
13756 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
13757 |
|
13758 |
/***/ }),
|
13759 |
+
/* 223 */
|
13760 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13761 |
|
13762 |
"use strict";
|
13763 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _arrayWithHoles;
|
13764 |
+
function _arrayWithHoles(arr) {
|
13765 |
+
if (Array.isArray(arr)) return arr;
|
13766 |
+
}
|
|
|
13767 |
|
13768 |
+
/***/ }),
|
13769 |
+
/* 224 */
|
13770 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13771 |
|
13772 |
+
"use strict";
|
13773 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _nonIterableRest;
|
13774 |
+
function _nonIterableRest() {
|
13775 |
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
13776 |
+
}
|
13777 |
|
13778 |
+
/***/ }),
|
13779 |
+
/* 225 */
|
13780 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
13781 |
|
13782 |
+
"use strict";
|
13783 |
+
/* unused harmony export fontFamily */
|
13784 |
+
/* unused harmony export fontSize */
|
13785 |
+
/* unused harmony export fontStyle */
|
13786 |
+
/* unused harmony export fontWeight */
|
13787 |
+
/* unused harmony export letterSpacing */
|
13788 |
+
/* unused harmony export lineHeight */
|
13789 |
+
/* unused harmony export textAlign */
|
13790 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
|
13791 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
|
13792 |
|
|
|
|
|
|
|
13793 |
|
13794 |
+
var fontFamily = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13795 |
+
prop: 'fontFamily',
|
13796 |
+
themeKey: 'typography'
|
13797 |
});
|
13798 |
+
var fontSize = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13799 |
+
prop: 'fontSize',
|
13800 |
+
themeKey: 'typography'
|
13801 |
+
});
|
13802 |
+
var fontStyle = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13803 |
+
prop: 'fontStyle',
|
13804 |
+
themeKey: 'typography'
|
13805 |
+
});
|
13806 |
+
var fontWeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13807 |
+
prop: 'fontWeight',
|
13808 |
+
themeKey: 'typography'
|
13809 |
+
});
|
13810 |
+
var letterSpacing = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13811 |
+
prop: 'letterSpacing'
|
13812 |
+
});
|
13813 |
+
var lineHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13814 |
+
prop: 'lineHeight'
|
13815 |
+
});
|
13816 |
+
var textAlign = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
|
13817 |
+
prop: 'textAlign'
|
13818 |
+
});
|
13819 |
+
var typography = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);
|
13820 |
+
/* harmony default export */ __webpack_exports__["a"] = (typography);
|
13821 |
|
13822 |
+
/***/ }),
|
13823 |
+
/* 226 */
|
13824 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13825 |
|
13826 |
+
"use strict";
|
13827 |
+
// We need to centralize the zIndex definitions as they work
|
13828 |
+
// like global values in the browser.
|
13829 |
+
var zIndex = {
|
13830 |
+
mobileStepper: 1000,
|
13831 |
+
speedDial: 1050,
|
13832 |
+
appBar: 1100,
|
13833 |
+
drawer: 1200,
|
13834 |
+
modal: 1300,
|
13835 |
+
snackbar: 1400,
|
13836 |
+
tooltip: 1500
|
13837 |
};
|
13838 |
+
/* harmony default export */ __webpack_exports__["a"] = (zIndex);
|
13839 |
|
13840 |
+
/***/ }),
|
13841 |
+
/* 227 */
|
13842 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
13843 |
|
13844 |
+
"use strict";
|
13845 |
+
function areInputsEqual(newInputs, lastInputs) {
|
13846 |
+
if (newInputs.length !== lastInputs.length) {
|
13847 |
+
return false;
|
|
|
13848 |
}
|
13849 |
+
for (var i = 0; i < newInputs.length; i++) {
|
13850 |
+
if (newInputs[i] !== lastInputs[i]) {
|
13851 |
+
return false;
|
13852 |
+
}
|
|
|
|
|
|
|
|
|
13853 |
}
|
13854 |
+
return true;
|
13855 |
+
}
|
13856 |
|
13857 |
+
function memoizeOne(resultFn, isEqual) {
|
13858 |
+
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
13859 |
+
var lastThis;
|
13860 |
+
var lastArgs = [];
|
13861 |
+
var lastResult;
|
13862 |
+
var calledOnce = false;
|
13863 |
+
function memoized() {
|
13864 |
+
var newArgs = [];
|
13865 |
+
for (var _i = 0; _i < arguments.length; _i++) {
|
13866 |
+
newArgs[_i] = arguments[_i];
|
13867 |
+
}
|
13868 |
+
if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
|
13869 |
+
return lastResult;
|
13870 |
+
}
|
13871 |
+
lastResult = resultFn.apply(this, newArgs);
|
13872 |
+
calledOnce = true;
|
13873 |
+
lastThis = this;
|
13874 |
+
lastArgs = newArgs;
|
13875 |
+
return lastResult;
|
13876 |
+
}
|
13877 |
+
return memoized;
|
13878 |
}
|
13879 |
|
13880 |
+
/* harmony default export */ __webpack_exports__["a"] = (memoizeOne);
|
13881 |
|
|
|
|
|
|
|
|
|
13882 |
|
13883 |
+
/***/ }),
|
13884 |
+
/* 228 */
|
13885 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
13886 |
|
13887 |
+
"use strict";
|
13888 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(229);
|
13889 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(480);
|
13890 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(481);
|
13891 |
|
|
|
|
|
|
|
|
|
|
|
13892 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13893 |
|
|
|
|
|
13894 |
|
13895 |
+
// https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet
|
13896 |
+
// inlined to avoid umd wrapper and peerDep warnings/installing stylis
|
13897 |
+
// since we use stylis after closure compiler
|
13898 |
+
var delimiter = '/*|*/';
|
13899 |
+
var needle = delimiter + '}';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13900 |
|
13901 |
+
function toSheet(block) {
|
13902 |
+
if (block) {
|
13903 |
+
Sheet.current.insert(block + '}');
|
13904 |
+
}
|
13905 |
+
}
|
13906 |
|
13907 |
+
var Sheet = {
|
13908 |
+
current: null
|
13909 |
+
};
|
13910 |
+
var ruleSheet = function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {
|
13911 |
+
switch (context) {
|
13912 |
+
// property
|
13913 |
+
case 1:
|
13914 |
+
{
|
13915 |
+
switch (content.charCodeAt(0)) {
|
13916 |
+
case 64:
|
13917 |
+
{
|
13918 |
+
// @import
|
13919 |
+
Sheet.current.insert(content + ';');
|
13920 |
+
return '';
|
13921 |
+
}
|
13922 |
+
// charcode for l
|
13923 |
|
13924 |
+
case 108:
|
13925 |
+
{
|
13926 |
+
// charcode for b
|
13927 |
+
// this ignores label
|
13928 |
+
if (content.charCodeAt(2) === 98) {
|
13929 |
+
return '';
|
13930 |
+
}
|
13931 |
+
}
|
13932 |
}
|
13933 |
|
13934 |
+
break;
|
13935 |
}
|
13936 |
+
// selector
|
13937 |
|
13938 |
+
case 2:
|
13939 |
{
|
13940 |
+
if (ns === 0) return content + delimiter;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13941 |
break;
|
13942 |
}
|
13943 |
+
// at-rule
|
13944 |
|
13945 |
+
case 3:
|
13946 |
+
{
|
13947 |
+
switch (ns) {
|
13948 |
+
// @font-face, @page
|
13949 |
+
case 102:
|
13950 |
+
case 112:
|
13951 |
+
{
|
13952 |
+
Sheet.current.insert(selectors[0] + content);
|
13953 |
+
return '';
|
13954 |
+
}
|
13955 |
|
13956 |
+
default:
|
13957 |
+
{
|
13958 |
+
return content + (at === 0 ? delimiter : '');
|
13959 |
+
}
|
13960 |
+
}
|
13961 |
+
}
|
13962 |
+
|
13963 |
+
case -2:
|
13964 |
+
{
|
13965 |
+
content.split(needle).forEach(toSheet);
|
13966 |
+
}
|
13967 |
+
}
|
13968 |
+
};
|
13969 |
+
|
13970 |
+
var createCache = function createCache(options) {
|
13971 |
+
if (options === undefined) options = {};
|
13972 |
+
var key = options.key || 'css';
|
13973 |
+
var stylisOptions;
|
13974 |
+
|
13975 |
+
if (options.prefix !== undefined) {
|
13976 |
+
stylisOptions = {
|
13977 |
+
prefix: options.prefix
|
13978 |
+
};
|
13979 |
+
}
|
13980 |
+
|
13981 |
+
var stylis = new __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__["a" /* default */](stylisOptions);
|
13982 |
+
|
13983 |
+
if (process.env.NODE_ENV !== 'production') {
|
13984 |
+
// $FlowFixMe
|
13985 |
+
if (/[^a-z-]/.test(key)) {
|
13986 |
+
throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
|
13987 |
+
}
|
13988 |
+
}
|
13989 |
+
|
13990 |
+
var inserted = {}; // $FlowFixMe
|
13991 |
+
|
13992 |
+
var container;
|
13993 |
+
|
13994 |
+
{
|
13995 |
+
container = options.container || document.head;
|
13996 |
+
var nodes = document.querySelectorAll("style[data-emotion-" + key + "]");
|
13997 |
+
Array.prototype.forEach.call(nodes, function (node) {
|
13998 |
+
var attrib = node.getAttribute("data-emotion-" + key); // $FlowFixMe
|
13999 |
+
|
14000 |
+
attrib.split(' ').forEach(function (id) {
|
14001 |
+
inserted[id] = true;
|
14002 |
+
});
|
14003 |
+
|
14004 |
+
if (node.parentNode !== container) {
|
14005 |
+
container.appendChild(node);
|
14006 |
+
}
|
14007 |
+
});
|
14008 |
+
}
|
14009 |
+
|
14010 |
+
var _insert;
|
14011 |
+
|
14012 |
+
{
|
14013 |
+
stylis.use(options.stylisPlugins)(ruleSheet);
|
14014 |
+
|
14015 |
+
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
14016 |
+
var name = serialized.name;
|
14017 |
+
Sheet.current = sheet;
|
14018 |
+
|
14019 |
+
if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
|
14020 |
+
var map = serialized.map;
|
14021 |
+
Sheet.current = {
|
14022 |
+
insert: function insert(rule) {
|
14023 |
+
sheet.insert(rule + map);
|
14024 |
+
}
|
14025 |
+
};
|
14026 |
+
}
|
14027 |
+
|
14028 |
+
stylis(selector, serialized.styles);
|
14029 |
+
|
14030 |
+
if (shouldCache) {
|
14031 |
+
cache.inserted[name] = true;
|
14032 |
+
}
|
14033 |
+
};
|
14034 |
+
}
|
14035 |
+
|
14036 |
+
if (process.env.NODE_ENV !== 'production') {
|
14037 |
+
// https://esbench.com/bench/5bf7371a4cd7e6009ef61d0a
|
14038 |
+
var commentStart = /\/\*/g;
|
14039 |
+
var commentEnd = /\*\//g;
|
14040 |
+
stylis.use(function (context, content) {
|
14041 |
+
switch (context) {
|
14042 |
+
case -1:
|
14043 |
+
{
|
14044 |
+
while (commentStart.test(content)) {
|
14045 |
+
commentEnd.lastIndex = commentStart.lastIndex;
|
14046 |
+
|
14047 |
+
if (commentEnd.test(content)) {
|
14048 |
+
commentStart.lastIndex = commentEnd.lastIndex;
|
14049 |
+
continue;
|
14050 |
+
}
|
14051 |
+
|
14052 |
+
throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").');
|
14053 |
+
}
|
14054 |
+
|
14055 |
+
commentStart.lastIndex = 0;
|
14056 |
+
break;
|
14057 |
+
}
|
14058 |
+
}
|
14059 |
+
});
|
14060 |
+
stylis.use(function (context, content, selectors) {
|
14061 |
+
switch (context) {
|
14062 |
+
case -1:
|
14063 |
+
{
|
14064 |
+
var flag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
|
14065 |
+
var unsafePseudoClasses = content.match(/(:first|:nth|:nth-last)-child/g);
|
14066 |
+
|
14067 |
+
if (unsafePseudoClasses && cache.compat !== true) {
|
14068 |
+
unsafePseudoClasses.forEach(function (unsafePseudoClass) {
|
14069 |
+
var ignoreRegExp = new RegExp(unsafePseudoClass + ".*\\/\\* " + flag + " \\*\\/");
|
14070 |
+
var ignore = ignoreRegExp.test(content);
|
14071 |
+
|
14072 |
+
if (unsafePseudoClass && !ignore) {
|
14073 |
+
console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
|
14074 |
+
}
|
14075 |
+
});
|
14076 |
+
}
|
14077 |
+
|
14078 |
+
break;
|
14079 |
+
}
|
14080 |
+
}
|
14081 |
+
});
|
14082 |
+
}
|
14083 |
+
|
14084 |
+
var cache = {
|
14085 |
+
key: key,
|
14086 |
+
sheet: new __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__["a" /* StyleSheet */]({
|
14087 |
+
key: key,
|
14088 |
+
container: container,
|
14089 |
+
nonce: options.nonce,
|
14090 |
+
speedy: options.speedy
|
14091 |
+
}),
|
14092 |
+
nonce: options.nonce,
|
14093 |
+
inserted: inserted,
|
14094 |
+
registered: {},
|
14095 |
+
insert: _insert
|
14096 |
+
};
|
14097 |
+
return cache;
|
14098 |
+
};
|
14099 |
+
|
14100 |
+
/* harmony default export */ __webpack_exports__["a"] = (createCache);
|
14101 |
+
|
14102 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
14103 |
+
|
14104 |
+
/***/ }),
|
14105 |
+
/* 229 */
|
14106 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
14107 |
+
|
14108 |
+
"use strict";
|
14109 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StyleSheet; });
|
14110 |
+
/*
|
14111 |
+
|
14112 |
+
Based off glamor's StyleSheet, thanks Sunil ❤️
|
14113 |
+
|
14114 |
+
high performance StyleSheet for css-in-js systems
|
14115 |
+
|
14116 |
+
- uses multiple style tags behind the scenes for millions of rules
|
14117 |
+
- uses `insertRule` for appending in production for *much* faster performance
|
14118 |
+
|
14119 |
+
// usage
|
14120 |
+
|
14121 |
+
import { StyleSheet } from '@emotion/sheet'
|
14122 |
+
|
14123 |
+
let styleSheet = new StyleSheet({ key: '', container: document.head })
|
14124 |
+
|
14125 |
+
styleSheet.insert('#box { border: 1px solid red; }')
|
14126 |
+
- appends a css rule into the stylesheet
|
14127 |
+
|
14128 |
+
styleSheet.flush()
|
14129 |
+
- empties the stylesheet of all its contents
|
14130 |
+
|
14131 |
+
*/
|
14132 |
+
// $FlowFixMe
|
14133 |
+
function sheetForTag(tag) {
|
14134 |
+
if (tag.sheet) {
|
14135 |
+
// $FlowFixMe
|
14136 |
+
return tag.sheet;
|
14137 |
+
} // this weirdness brought to you by firefox
|
14138 |
+
|
14139 |
+
/* istanbul ignore next */
|
14140 |
+
|
14141 |
+
|
14142 |
+
for (var i = 0; i < document.styleSheets.length; i++) {
|
14143 |
+
if (document.styleSheets[i].ownerNode === tag) {
|
14144 |
+
// $FlowFixMe
|
14145 |
+
return document.styleSheets[i];
|
14146 |
+
}
|
14147 |
+
}
|
14148 |
+
}
|
14149 |
+
|
14150 |
+
function createStyleElement(options) {
|
14151 |
+
var tag = document.createElement('style');
|
14152 |
+
tag.setAttribute('data-emotion', options.key);
|
14153 |
+
|
14154 |
+
if (options.nonce !== undefined) {
|
14155 |
+
tag.setAttribute('nonce', options.nonce);
|
14156 |
+
}
|
14157 |
+
|
14158 |
+
tag.appendChild(document.createTextNode(''));
|
14159 |
+
return tag;
|
14160 |
+
}
|
14161 |
+
|
14162 |
+
var StyleSheet =
|
14163 |
+
/*#__PURE__*/
|
14164 |
+
function () {
|
14165 |
+
function StyleSheet(options) {
|
14166 |
+
this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
|
14167 |
+
this.tags = [];
|
14168 |
+
this.ctr = 0;
|
14169 |
+
this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
|
14170 |
+
|
14171 |
+
this.key = options.key;
|
14172 |
+
this.container = options.container;
|
14173 |
+
this.before = null;
|
14174 |
+
}
|
14175 |
+
|
14176 |
+
var _proto = StyleSheet.prototype;
|
14177 |
+
|
14178 |
+
_proto.insert = function insert(rule) {
|
14179 |
+
// the max length is how many rules we have per style tag, it's 65000 in speedy mode
|
14180 |
+
// it's 1 in dev because we insert source maps that map a single rule to a location
|
14181 |
+
// and you can only have one source map per style tag
|
14182 |
+
if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
|
14183 |
+
var _tag = createStyleElement(this);
|
14184 |
+
|
14185 |
+
var before;
|
14186 |
+
|
14187 |
+
if (this.tags.length === 0) {
|
14188 |
+
before = this.before;
|
14189 |
+
} else {
|
14190 |
+
before = this.tags[this.tags.length - 1].nextSibling;
|
14191 |
+
}
|
14192 |
+
|
14193 |
+
this.container.insertBefore(_tag, before);
|
14194 |
+
this.tags.push(_tag);
|
14195 |
+
}
|
14196 |
+
|
14197 |
+
var tag = this.tags[this.tags.length - 1];
|
14198 |
+
|
14199 |
+
if (this.isSpeedy) {
|
14200 |
+
var sheet = sheetForTag(tag);
|
14201 |
+
|
14202 |
+
try {
|
14203 |
+
// this is a really hot path
|
14204 |
+
// we check the second character first because having "i"
|
14205 |
+
// as the second character will happen less often than
|
14206 |
+
// having "@" as the first character
|
14207 |
+
var isImportRule = rule.charCodeAt(1) === 105 && rule.charCodeAt(0) === 64; // this is the ultrafast version, works across browsers
|
14208 |
+
// the big drawback is that the css won't be editable in devtools
|
14209 |
+
|
14210 |
+
sheet.insertRule(rule, // we need to insert @import rules before anything else
|
14211 |
+
// otherwise there will be an error
|
14212 |
+
// technically this means that the @import rules will
|
14213 |
+
// _usually_(not always since there could be multiple style tags)
|
14214 |
+
// be the first ones in prod and generally later in dev
|
14215 |
+
// this shouldn't really matter in the real world though
|
14216 |
+
// @import is generally only used for font faces from google fonts and etc.
|
14217 |
+
// so while this could be technically correct then it would be slower and larger
|
14218 |
+
// for a tiny bit of correctness that won't matter in the real world
|
14219 |
+
isImportRule ? 0 : sheet.cssRules.length);
|
14220 |
+
} catch (e) {
|
14221 |
+
if (process.env.NODE_ENV !== 'production') {
|
14222 |
+
console.warn("There was a problem inserting the following rule: \"" + rule + "\"", e);
|
14223 |
+
}
|
14224 |
+
}
|
14225 |
+
} else {
|
14226 |
+
tag.appendChild(document.createTextNode(rule));
|
14227 |
+
}
|
14228 |
+
|
14229 |
+
this.ctr++;
|
14230 |
+
};
|
14231 |
+
|
14232 |
+
_proto.flush = function flush() {
|
14233 |
+
// $FlowFixMe
|
14234 |
+
this.tags.forEach(function (tag) {
|
14235 |
+
return tag.parentNode.removeChild(tag);
|
14236 |
+
});
|
14237 |
+
this.tags = [];
|
14238 |
+
this.ctr = 0;
|
14239 |
+
};
|
14240 |
+
|
14241 |
+
return StyleSheet;
|
14242 |
+
}();
|
14243 |
+
|
14244 |
+
|
14245 |
+
|
14246 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
14247 |
+
|
14248 |
+
/***/ }),
|
14249 |
+
/* 230 */
|
14250 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
14251 |
+
|
14252 |
+
"use strict";
|
14253 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
|
14254 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(483);
|
14255 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(484);
|
14256 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(485);
|
14257 |
+
|
14258 |
+
|
14259 |
+
|
14260 |
+
|
14261 |
+
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
14262 |
+
var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
|
14263 |
+
var hyphenateRegex = /[A-Z]|^ms/g;
|
14264 |
+
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
14265 |
+
|
14266 |
+
var isCustomProperty = function isCustomProperty(property) {
|
14267 |
+
return property.charCodeAt(1) === 45;
|
14268 |
+
};
|
14269 |
+
|
14270 |
+
var isProcessableValue = function isProcessableValue(value) {
|
14271 |
+
return value != null && typeof value !== 'boolean';
|
14272 |
+
};
|
14273 |
+
|
14274 |
+
var processStyleName = Object(__WEBPACK_IMPORTED_MODULE_2__emotion_memoize__["a" /* default */])(function (styleName) {
|
14275 |
+
return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
|
14276 |
+
});
|
14277 |
+
|
14278 |
+
var processStyleValue = function processStyleValue(key, value) {
|
14279 |
+
switch (key) {
|
14280 |
+
case 'animation':
|
14281 |
+
case 'animationName':
|
14282 |
+
{
|
14283 |
+
if (typeof value === 'string') {
|
14284 |
+
return value.replace(animationRegex, function (match, p1, p2) {
|
14285 |
+
cursor = {
|
14286 |
+
name: p1,
|
14287 |
+
styles: p2,
|
14288 |
+
next: cursor
|
14289 |
+
};
|
14290 |
+
return p1;
|
14291 |
+
});
|
14292 |
+
}
|
14293 |
+
}
|
14294 |
+
}
|
14295 |
+
|
14296 |
+
if (__WEBPACK_IMPORTED_MODULE_1__emotion_unitless__["a" /* default */][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
|
14297 |
+
return value + 'px';
|
14298 |
+
}
|
14299 |
+
|
14300 |
+
return value;
|
14301 |
+
};
|
14302 |
+
|
14303 |
+
if (process.env.NODE_ENV !== 'production') {
|
14304 |
+
var contentValuePattern = /(attr|calc|counters?|url)\(/;
|
14305 |
+
var contentValues = ['normal', 'none', 'counter', 'open-quote', 'close-quote', 'no-open-quote', 'no-close-quote', 'initial', 'inherit', 'unset'];
|
14306 |
+
var oldProcessStyleValue = processStyleValue;
|
14307 |
+
var msPattern = /^-ms-/;
|
14308 |
+
var hyphenPattern = /-(.)/g;
|
14309 |
+
var hyphenatedCache = {};
|
14310 |
+
|
14311 |
+
processStyleValue = function processStyleValue(key, value) {
|
14312 |
+
if (key === 'content') {
|
14313 |
+
if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
|
14314 |
+
console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
|
14315 |
+
}
|
14316 |
+
}
|
14317 |
+
|
14318 |
+
var processed = oldProcessStyleValue(key, value);
|
14319 |
+
|
14320 |
+
if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
|
14321 |
+
hyphenatedCache[key] = true;
|
14322 |
+
console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
|
14323 |
+
return _char.toUpperCase();
|
14324 |
+
}) + "?");
|
14325 |
+
}
|
14326 |
+
|
14327 |
+
return processed;
|
14328 |
+
};
|
14329 |
+
}
|
14330 |
+
|
14331 |
+
var shouldWarnAboutInterpolatingClassNameFromCss = true;
|
14332 |
+
|
14333 |
+
function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) {
|
14334 |
+
if (interpolation == null) {
|
14335 |
+
return '';
|
14336 |
+
}
|
14337 |
+
|
14338 |
+
if (interpolation.__emotion_styles !== undefined) {
|
14339 |
+
if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
|
14340 |
+
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
|
14341 |
+
}
|
14342 |
+
|
14343 |
+
return interpolation;
|
14344 |
+
}
|
14345 |
+
|
14346 |
+
switch (typeof interpolation) {
|
14347 |
+
case 'boolean':
|
14348 |
+
{
|
14349 |
+
return '';
|
14350 |
+
}
|
14351 |
+
|
14352 |
+
case 'object':
|
14353 |
+
{
|
14354 |
+
if (interpolation.anim === 1) {
|
14355 |
+
cursor = {
|
14356 |
+
name: interpolation.name,
|
14357 |
+
styles: interpolation.styles,
|
14358 |
+
next: cursor
|
14359 |
+
};
|
14360 |
+
return interpolation.name;
|
14361 |
+
}
|
14362 |
+
|
14363 |
+
if (interpolation.styles !== undefined) {
|
14364 |
+
var next = interpolation.next;
|
14365 |
+
|
14366 |
+
if (next !== undefined) {
|
14367 |
+
// not the most efficient thing ever but this is a pretty rare case
|
14368 |
+
// and there will be very few iterations of this generally
|
14369 |
+
while (next !== undefined) {
|
14370 |
+
cursor = {
|
14371 |
+
name: next.name,
|
14372 |
+
styles: next.styles,
|
14373 |
+
next: cursor
|
14374 |
+
};
|
14375 |
+
next = next.next;
|
14376 |
+
}
|
14377 |
+
}
|
14378 |
+
|
14379 |
+
var styles = interpolation.styles + ";";
|
14380 |
+
|
14381 |
+
if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
|
14382 |
+
styles += interpolation.map;
|
14383 |
+
}
|
14384 |
+
|
14385 |
+
return styles;
|
14386 |
+
}
|
14387 |
+
|
14388 |
+
return createStringFromObject(mergedProps, registered, interpolation);
|
14389 |
+
}
|
14390 |
+
|
14391 |
+
case 'function':
|
14392 |
+
{
|
14393 |
+
if (mergedProps !== undefined) {
|
14394 |
+
var previousCursor = cursor;
|
14395 |
+
var result = interpolation(mergedProps);
|
14396 |
+
cursor = previousCursor;
|
14397 |
+
return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation);
|
14398 |
+
} else if (process.env.NODE_ENV !== 'production') {
|
14399 |
+
console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
|
14400 |
+
}
|
14401 |
+
|
14402 |
+
break;
|
14403 |
+
}
|
14404 |
+
|
14405 |
+
case 'string':
|
14406 |
+
if (process.env.NODE_ENV !== 'production') {
|
14407 |
+
var matched = [];
|
14408 |
+
var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
|
14409 |
+
var fakeVarName = "animation" + matched.length;
|
14410 |
+
matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
|
14411 |
+
return "${" + fakeVarName + "}";
|
14412 |
+
});
|
14413 |
+
|
14414 |
+
if (matched.length) {
|
14415 |
console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
|
14416 |
}
|
14417 |
}
|
14580 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
14581 |
|
14582 |
/***/ }),
|
14583 |
+
/* 231 */
|
14584 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
14585 |
|
14586 |
"use strict";
|
14610 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return defaultComponents; });
|
14611 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return exportedEqual; });
|
14612 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return components; });
|
14613 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
14614 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
14615 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_core__ = __webpack_require__(128);
|
14616 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom__ = __webpack_require__(11);
|
14617 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_dom__);
|
14618 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
14619 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
14620 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
|
14621 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_css__ = __webpack_require__(65);
|
14622 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize__ = __webpack_require__(232);
|
14623 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react_input_autosize__);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14624 |
|
14625 |
|
14626 |
|
14629 |
|
14630 |
|
14631 |
|
14632 |
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
14633 |
|
14634 |
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
14635 |
function getMenuPlacement(_ref) {
|
14636 |
var maxHeight = _ref.maxHeight,
|
14637 |
menuEl = _ref.menuEl,
|
14641 |
isFixedPosition = _ref.isFixedPosition,
|
14642 |
theme = _ref.theme;
|
14643 |
var spacing = theme.spacing;
|
14644 |
+
var scrollParent = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["a"])(menuEl);
|
14645 |
var defaultState = {
|
14646 |
placement: 'bottom',
|
14647 |
maxHeight: maxHeight
|
14662 |
containerTop = _menuEl$offsetParent$.top;
|
14663 |
|
14664 |
var viewHeight = window.innerHeight;
|
14665 |
+
var scrollTop = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["b"])(scrollParent);
|
14666 |
var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
|
14667 |
var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
|
14668 |
var viewSpaceAbove = containerTop - marginTop;
|
14687 |
|
14688 |
if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
|
14689 |
if (shouldScroll) {
|
14690 |
+
Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollDown, scrollDuration);
|
14691 |
}
|
14692 |
|
14693 |
return {
|
14699 |
|
14700 |
if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
|
14701 |
if (shouldScroll) {
|
14702 |
+
Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollDown, scrollDuration);
|
14703 |
} // we want to provide as much of the menu as possible to the user,
|
14704 |
// so give them whatever is available below rather than the minHeight.
|
14705 |
|
14730 |
|
14731 |
|
14732 |
if (placement === 'bottom') {
|
14733 |
+
Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["l" /* s */])(scrollParent, scrollDown);
|
14734 |
return {
|
14735 |
placement: 'bottom',
|
14736 |
maxHeight: maxHeight
|
14751 |
|
14752 |
if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
|
14753 |
if (shouldScroll) {
|
14754 |
+
Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollUp, scrollDuration);
|
14755 |
}
|
14756 |
|
14757 |
return {
|
14770 |
}
|
14771 |
|
14772 |
if (shouldScroll) {
|
14773 |
+
Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollUp, scrollDuration);
|
14774 |
}
|
14775 |
|
14776 |
return {
|
14788 |
};
|
14789 |
|
14790 |
default:
|
14791 |
+
throw new Error("Invalid placement provided \"" + placement + "\".");
|
14792 |
} // fulfil contract with flow: implicit return value of undefined
|
14793 |
|
14794 |
|
14818 |
colors = _ref2$theme.colors;
|
14819 |
return _ref3 = {
|
14820 |
label: 'menu'
|
14821 |
+
}, _ref3[alignToControl(placement)] = '100%', _ref3.backgroundColor = colors.neutral0, _ref3.borderRadius = borderRadius, _ref3.boxShadow = '0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)', _ref3.marginBottom = spacing.menuGutter, _ref3.marginTop = spacing.menuGutter, _ref3.position = 'absolute', _ref3.width = '100%', _ref3.zIndex = 1, _ref3;
|
14822 |
}; // NOTE: internal only
|
14823 |
|
14824 |
var MenuPlacer =
|
14825 |
/*#__PURE__*/
|
14826 |
function (_Component) {
|
14827 |
+
_inheritsLoose(MenuPlacer, _Component);
|
14828 |
|
14829 |
function MenuPlacer() {
|
|
|
|
|
14830 |
var _this;
|
14831 |
|
|
|
|
|
14832 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
14833 |
args[_key] = arguments[_key];
|
14834 |
}
|
14835 |
|
14836 |
+
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
14837 |
+
_this.state = {
|
|
|
14838 |
maxHeight: _this.props.maxMenuHeight,
|
14839 |
placement: null
|
14840 |
+
};
|
14841 |
|
14842 |
+
_this.getPlacement = function (ref) {
|
14843 |
var _this$props = _this.props,
|
14844 |
minMenuHeight = _this$props.minMenuHeight,
|
14845 |
maxMenuHeight = _this$props.maxMenuHeight,
|
14864 |
if (getPortalPlacement) getPortalPlacement(state);
|
14865 |
|
14866 |
_this.setState(state);
|
14867 |
+
};
|
14868 |
|
14869 |
+
_this.getUpdatedProps = function () {
|
14870 |
var menuPlacement = _this.props.menuPlacement;
|
14871 |
var placement = _this.state.placement || coercePlacement(menuPlacement);
|
14872 |
+
return _extends({}, _this.props, {
|
14873 |
placement: placement,
|
14874 |
maxHeight: _this.state.maxHeight
|
14875 |
});
|
14876 |
+
};
|
14877 |
|
14878 |
return _this;
|
14879 |
}
|
14880 |
|
14881 |
+
var _proto = MenuPlacer.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14882 |
|
14883 |
+
_proto.render = function render() {
|
14884 |
+
var children = this.props.children;
|
14885 |
+
return children({
|
14886 |
+
ref: this.getPlacement,
|
14887 |
+
placerProps: this.getUpdatedProps()
|
14888 |
+
});
|
14889 |
+
};
|
14890 |
|
14891 |
+
return MenuPlacer;
|
14892 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
14893 |
+
MenuPlacer.contextTypes = {
|
14894 |
+
getPortalPlacement: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func
|
14895 |
+
};
|
14896 |
|
14897 |
var Menu = function Menu(props) {
|
14898 |
var children = props.children,
|
14901 |
getStyles = props.getStyles,
|
14902 |
innerRef = props.innerRef,
|
14903 |
innerProps = props.innerProps;
|
14904 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends({
|
14905 |
css: getStyles('menu', props),
|
14906 |
className: cx({
|
14907 |
menu: true
|
14933 |
getStyles = props.getStyles,
|
14934 |
isMulti = props.isMulti,
|
14935 |
innerRef = props.innerRef;
|
14936 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
|
14937 |
css: getStyles('menuList', props),
|
14938 |
className: cx({
|
14939 |
'menu-list': true,
|
14951 |
colors = _ref5$theme.colors;
|
14952 |
return {
|
14953 |
color: colors.neutral40,
|
14954 |
+
padding: baseUnit * 2 + "px " + baseUnit * 3 + "px",
|
14955 |
textAlign: 'center'
|
14956 |
};
|
14957 |
};
|
14964 |
cx = props.cx,
|
14965 |
getStyles = props.getStyles,
|
14966 |
innerProps = props.innerProps;
|
14967 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends({
|
14968 |
css: getStyles('noOptionsMessage', props),
|
14969 |
className: cx({
|
14970 |
'menu-notice': true,
|
14981 |
cx = props.cx,
|
14982 |
getStyles = props.getStyles,
|
14983 |
innerProps = props.innerProps;
|
14984 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends({
|
14985 |
css: getStyles('loadingMessage', props),
|
14986 |
className: cx({
|
14987 |
'menu-notice': true,
|
15010 |
var MenuPortal =
|
15011 |
/*#__PURE__*/
|
15012 |
function (_Component2) {
|
15013 |
+
_inheritsLoose(MenuPortal, _Component2);
|
15014 |
|
15015 |
function MenuPortal() {
|
|
|
|
|
15016 |
var _this2;
|
15017 |
|
|
|
|
|
15018 |
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
15019 |
args[_key2] = arguments[_key2];
|
15020 |
}
|
15021 |
|
15022 |
+
_this2 = _Component2.call.apply(_Component2, [this].concat(args)) || this;
|
15023 |
+
_this2.state = {
|
|
|
15024 |
placement: null
|
15025 |
+
};
|
15026 |
|
15027 |
+
_this2.getPortalPlacement = function (_ref7) {
|
15028 |
var placement = _ref7.placement;
|
15029 |
var initialPlacement = coercePlacement(_this2.props.menuPlacement); // avoid re-renders if the placement has not changed
|
15030 |
|
15033 |
placement: placement
|
15034 |
});
|
15035 |
}
|
15036 |
+
};
|
15037 |
|
15038 |
return _this2;
|
15039 |
}
|
15040 |
|
15041 |
+
var _proto2 = MenuPortal.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
15042 |
|
15043 |
+
_proto2.getChildContext = function getChildContext() {
|
15044 |
+
return {
|
15045 |
+
getPortalPlacement: this.getPortalPlacement
|
15046 |
+
};
|
15047 |
+
} // callback for occassions where the menu must "flip"
|
15048 |
+
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15049 |
|
15050 |
+
_proto2.render = function render() {
|
15051 |
+
var _this$props2 = this.props,
|
15052 |
+
appendTo = _this$props2.appendTo,
|
15053 |
+
children = _this$props2.children,
|
15054 |
+
controlElement = _this$props2.controlElement,
|
15055 |
+
menuPlacement = _this$props2.menuPlacement,
|
15056 |
+
position = _this$props2.menuPosition,
|
15057 |
+
getStyles = _this$props2.getStyles;
|
15058 |
+
var isFixed = position === 'fixed'; // bail early if required elements aren't present
|
15059 |
+
|
15060 |
+
if (!appendTo && !isFixed || !controlElement) {
|
15061 |
+
return null;
|
15062 |
}
|
|
|
15063 |
|
15064 |
+
var placement = this.state.placement || coercePlacement(menuPlacement);
|
15065 |
+
var rect = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["g"])(controlElement);
|
15066 |
+
var scrollDistance = isFixed ? 0 : window.pageYOffset;
|
15067 |
+
var offset = rect[placement] + scrollDistance;
|
15068 |
+
var state = {
|
15069 |
+
offset: offset,
|
15070 |
+
position: position,
|
15071 |
+
rect: rect
|
15072 |
+
}; // same wrapper element whether fixed or portalled
|
15073 |
|
15074 |
+
var menuWrapper = Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
|
15075 |
+
css: getStyles('menuPortal', state)
|
15076 |
+
}, children);
|
15077 |
+
return appendTo ? Object(__WEBPACK_IMPORTED_MODULE_2_react_dom__["createPortal"])(menuWrapper, appendTo) : menuWrapper;
|
15078 |
+
};
|
15079 |
+
|
15080 |
+
return MenuPortal;
|
15081 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
15082 |
+
MenuPortal.childContextTypes = {
|
15083 |
+
getPortalPlacement: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func
|
15084 |
+
};
|
15085 |
|
15086 |
var isArray = Array.isArray;
|
15087 |
var keyList = Object.keys;
|
15091 |
// fast-deep-equal index.js 2.0.1
|
15092 |
if (a === b) return true;
|
15093 |
|
15094 |
+
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
15095 |
var arrA = isArray(a),
|
15096 |
arrB = isArray(b),
|
15097 |
i,
|
15173 |
}
|
15174 |
}
|
15175 |
|
15176 |
+
function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
15177 |
var containerCSS = function containerCSS(_ref) {
|
15178 |
var isDisabled = _ref.isDisabled,
|
15179 |
isRtl = _ref.isRtl;
|
15193 |
innerProps = props.innerProps,
|
15194 |
isDisabled = props.isDisabled,
|
15195 |
isRtl = props.isRtl;
|
15196 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$1({
|
15197 |
css: getStyles('container', props),
|
15198 |
className: cx({
|
15199 |
'--is-disabled': isDisabled,
|
15211 |
display: 'flex',
|
15212 |
flex: 1,
|
15213 |
flexWrap: 'wrap',
|
15214 |
+
padding: spacing.baseUnit / 2 + "px " + spacing.baseUnit * 2 + "px",
|
15215 |
WebkitOverflowScrolling: 'touch',
|
15216 |
position: 'relative',
|
15217 |
overflow: 'hidden'
|
15218 |
};
|
15219 |
};
|
15220 |
+
var ValueContainer = function ValueContainer(props) {
|
15221 |
+
var children = props.children,
|
15222 |
+
className = props.className,
|
15223 |
+
cx = props.cx,
|
15224 |
+
isMulti = props.isMulti,
|
15225 |
+
getStyles = props.getStyles,
|
15226 |
+
hasValue = props.hasValue;
|
15227 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
|
15228 |
+
css: getStyles('valueContainer', props),
|
15229 |
+
className: cx({
|
15230 |
+
'value-container': true,
|
15231 |
+
'value-container--is-multi': isMulti,
|
15232 |
+
'value-container--has-value': hasValue
|
15233 |
+
}, className)
|
15234 |
+
}, children);
|
15235 |
+
}; // ==============================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15236 |
// Indicator Container
|
15237 |
// ==============================
|
15238 |
|
15249 |
className = props.className,
|
15250 |
cx = props.cx,
|
15251 |
getStyles = props.getStyles;
|
15252 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
|
15253 |
css: getStyles('indicatorsContainer', props),
|
15254 |
className: cx({
|
15255 |
indicators: true
|
15258 |
};
|
15259 |
|
15260 |
function _templateObject() {
|
15261 |
+
var data = _taggedTemplateLiteralLoose(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);
|
15262 |
|
15263 |
_templateObject = function _templateObject() {
|
15264 |
return data;
|
15267 |
return data;
|
15268 |
}
|
15269 |
|
15270 |
+
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
15271 |
+
|
15272 |
+
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
15273 |
+
|
15274 |
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
15275 |
+
|
15276 |
var _ref2 = process.env.NODE_ENV === "production" ? {
|
15277 |
name: "19bqh2r",
|
15278 |
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"
|
15287 |
// ==============================
|
15288 |
var Svg = function Svg(_ref) {
|
15289 |
var size = _ref.size,
|
15290 |
+
props = _objectWithoutPropertiesLoose(_ref, ["size"]);
|
15291 |
|
15292 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("svg", _extends$2({
|
15293 |
height: size,
|
15294 |
width: size,
|
15295 |
viewBox: "0 0 20 20",
|
15300 |
};
|
15301 |
|
15302 |
var CrossIcon = function CrossIcon(props) {
|
15303 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Svg, _extends$2({
|
15304 |
size: 20
|
15305 |
+
}, props), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("path", {
|
15306 |
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
15307 |
}));
|
15308 |
};
|
15309 |
var DownChevron = function DownChevron(props) {
|
15310 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Svg, _extends$2({
|
15311 |
size: 20
|
15312 |
+
}, props), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("path", {
|
15313 |
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
15314 |
}));
|
15315 |
}; // ==============================
|
15340 |
cx = props.cx,
|
15341 |
getStyles = props.getStyles,
|
15342 |
innerProps = props.innerProps;
|
15343 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$2({}, innerProps, {
|
15344 |
css: getStyles('dropdownIndicator', props),
|
15345 |
className: cx({
|
15346 |
indicator: true,
|
15347 |
'dropdown-indicator': true
|
15348 |
}, className)
|
15349 |
+
}), children || Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(DownChevron, null));
|
15350 |
};
|
15351 |
var clearIndicatorCSS = baseCSS;
|
15352 |
var ClearIndicator = function ClearIndicator(props) {
|
15355 |
cx = props.cx,
|
15356 |
getStyles = props.getStyles,
|
15357 |
innerProps = props.innerProps;
|
15358 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$2({}, innerProps, {
|
15359 |
css: getStyles('clearIndicator', props),
|
15360 |
className: cx({
|
15361 |
indicator: true,
|
15362 |
'clear-indicator': true
|
15363 |
}, className)
|
15364 |
+
}), children || Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(CrossIcon, null));
|
15365 |
}; // ==============================
|
15366 |
// Separator
|
15367 |
// ==============================
|
15385 |
cx = props.cx,
|
15386 |
getStyles = props.getStyles,
|
15387 |
innerProps = props.innerProps;
|
15388 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("span", _extends$2({}, innerProps, {
|
15389 |
css: getStyles('indicatorSeparator', props),
|
15390 |
className: cx({
|
15391 |
'indicator-separator': true
|
15395 |
// Loading
|
15396 |
// ==============================
|
15397 |
|
15398 |
+
var loadingDotAnimations = Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["d" /* keyframes */])(_templateObject());
|
15399 |
var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {
|
15400 |
var isFocused = _ref5.isFocused,
|
15401 |
size = _ref5.size,
|
15420 |
var LoadingDot = function LoadingDot(_ref6) {
|
15421 |
var delay = _ref6.delay,
|
15422 |
offset = _ref6.offset;
|
15423 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("span", {
|
15424 |
css:
|
15425 |
/*#__PURE__*/
|
15426 |
+
Object(__WEBPACK_IMPORTED_MODULE_5__emotion_css__["a" /* default */])({
|
15427 |
+
animation: loadingDotAnimations + " 1s ease-in-out " + delay + "ms infinite;",
|
15428 |
backgroundColor: 'currentColor',
|
15429 |
borderRadius: '1em',
|
15430 |
display: 'inline-block',
|
15442 |
getStyles = props.getStyles,
|
15443 |
innerProps = props.innerProps,
|
15444 |
isRtl = props.isRtl;
|
15445 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$2({}, innerProps, {
|
15446 |
css: getStyles('loadingIndicator', props),
|
15447 |
className: cx({
|
15448 |
indicator: true,
|
15449 |
'loading-indicator': true
|
15450 |
}, className)
|
15451 |
+
}), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(LoadingDot, {
|
15452 |
delay: 0,
|
15453 |
offset: isRtl
|
15454 |
+
}), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(LoadingDot, {
|
15455 |
delay: 160,
|
15456 |
offset: true
|
15457 |
+
}), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(LoadingDot, {
|
15458 |
delay: 320,
|
15459 |
offset: !isRtl
|
15460 |
}));
|
15463 |
size: 4
|
15464 |
};
|
15465 |
|
15466 |
+
function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
15467 |
var css = function css(_ref) {
|
15468 |
var isDisabled = _ref.isDisabled,
|
15469 |
isFocused = _ref.isFocused,
|
15479 |
borderRadius: borderRadius,
|
15480 |
borderStyle: 'solid',
|
15481 |
borderWidth: 1,
|
15482 |
+
boxShadow: isFocused ? "0 0 0 1px " + colors.primary : null,
|
15483 |
cursor: 'default',
|
15484 |
display: 'flex',
|
15485 |
flexWrap: 'wrap',
|
15504 |
innerRef = props.innerRef,
|
15505 |
innerProps = props.innerProps,
|
15506 |
menuIsOpen = props.menuIsOpen;
|
15507 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$3({
|
15508 |
ref: innerRef,
|
15509 |
css: getStyles('control', props),
|
15510 |
className: cx({
|
15516 |
}, innerProps), children);
|
15517 |
};
|
15518 |
|
15519 |
+
function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
15520 |
+
|
15521 |
+
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
15522 |
var groupCSS = function groupCSS(_ref) {
|
15523 |
var spacing = _ref.theme.spacing;
|
15524 |
return {
|
15537 |
label = props.label,
|
15538 |
theme = props.theme,
|
15539 |
selectProps = props.selectProps;
|
15540 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
|
15541 |
css: getStyles('group', props),
|
15542 |
className: cx({
|
15543 |
group: true
|
15544 |
}, className)
|
15545 |
+
}, Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Heading, _extends$4({}, headingProps, {
|
15546 |
selectProps: selectProps,
|
15547 |
theme: theme,
|
15548 |
getStyles: getStyles,
|
15549 |
cx: cx
|
15550 |
+
}), label), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", null, children));
|
15551 |
};
|
15552 |
|
15553 |
var groupHeadingCSS = function groupHeadingCSS(_ref2) {
|
15571 |
getStyles = props.getStyles,
|
15572 |
theme = props.theme,
|
15573 |
selectProps = props.selectProps,
|
15574 |
+
cleanProps = _objectWithoutPropertiesLoose$1(props, ["className", "cx", "getStyles", "theme", "selectProps"]);
|
15575 |
|
15576 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$4({
|
15577 |
+
css: getStyles('groupHeading', _extends$4({
|
15578 |
theme: theme
|
15579 |
}, cleanProps)),
|
15580 |
className: cx({
|
15583 |
}, cleanProps));
|
15584 |
};
|
15585 |
|
15586 |
+
function _extends$5() { _extends$5 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
15587 |
+
|
15588 |
+
function _objectWithoutPropertiesLoose$2(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
15589 |
var inputCSS = function inputCSS(_ref) {
|
15590 |
var isDisabled = _ref.isDisabled,
|
15591 |
_ref$theme = _ref.theme,
|
15622 |
isDisabled = _ref2.isDisabled,
|
15623 |
theme = _ref2.theme,
|
15624 |
selectProps = _ref2.selectProps,
|
15625 |
+
props = _objectWithoutPropertiesLoose$2(_ref2, ["className", "cx", "getStyles", "innerRef", "isHidden", "isDisabled", "theme", "selectProps"]);
|
15626 |
|
15627 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
|
15628 |
+
css: getStyles('input', _extends$5({
|
15629 |
theme: theme
|
15630 |
}, props))
|
15631 |
+
}, Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(__WEBPACK_IMPORTED_MODULE_6_react_input_autosize___default.a, _extends$5({
|
15632 |
className: cx({
|
15633 |
input: true
|
15634 |
}, className),
|
15638 |
}, props)));
|
15639 |
};
|
15640 |
|
15641 |
+
function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
15642 |
var multiValueCSS = function multiValueCSS(_ref) {
|
15643 |
var _ref$theme = _ref.theme,
|
15644 |
spacing = _ref$theme.spacing,
|
15692 |
var MultiValueGeneric = function MultiValueGeneric(_ref4) {
|
15693 |
var children = _ref4.children,
|
15694 |
innerProps = _ref4.innerProps;
|
15695 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", innerProps, children);
|
15696 |
};
|
15697 |
var MultiValueContainer = MultiValueGeneric;
|
15698 |
var MultiValueLabel = MultiValueGeneric;
|
15699 |
+
function MultiValueRemove(_ref5) {
|
15700 |
+
var children = _ref5.children,
|
15701 |
+
innerProps = _ref5.innerProps;
|
15702 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", innerProps, children || Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(CrossIcon, {
|
15703 |
+
size: 14
|
15704 |
+
}));
|
15705 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15706 |
|
15707 |
+
var MultiValue = function MultiValue(props) {
|
15708 |
+
var children = props.children,
|
15709 |
+
className = props.className,
|
15710 |
+
components = props.components,
|
15711 |
+
cx = props.cx,
|
15712 |
+
data = props.data,
|
15713 |
+
getStyles = props.getStyles,
|
15714 |
+
innerProps = props.innerProps,
|
15715 |
+
isDisabled = props.isDisabled,
|
15716 |
+
removeProps = props.removeProps,
|
15717 |
+
selectProps = props.selectProps;
|
15718 |
+
var Container = components.Container,
|
15719 |
+
Label = components.Label,
|
15720 |
+
Remove = components.Remove;
|
15721 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["b" /* ClassNames */], null, function (_ref6) {
|
15722 |
+
var css = _ref6.css,
|
15723 |
+
emotionCx = _ref6.cx;
|
15724 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Container, {
|
15725 |
+
data: data,
|
15726 |
+
innerProps: _extends$6({}, innerProps, {
|
15727 |
+
className: emotionCx(css(getStyles('multiValue', props)), cx({
|
15728 |
+
'multi-value': true,
|
15729 |
+
'multi-value--is-disabled': isDisabled
|
15730 |
+
}, className))
|
15731 |
+
}),
|
15732 |
+
selectProps: selectProps
|
15733 |
+
}, Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Label, {
|
15734 |
+
data: data,
|
15735 |
+
innerProps: {
|
15736 |
+
className: emotionCx(css(getStyles('multiValueLabel', props)), cx({
|
15737 |
+
'multi-value__label': true
|
15738 |
+
}, className))
|
15739 |
+
},
|
15740 |
+
selectProps: selectProps
|
15741 |
+
}, children), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Remove, {
|
15742 |
+
data: data,
|
15743 |
+
innerProps: _extends$6({
|
15744 |
+
className: emotionCx(css(getStyles('multiValueRemove', props)), cx({
|
15745 |
+
'multi-value__remove': true
|
15746 |
+
}, className))
|
15747 |
+
}, removeProps),
|
15748 |
+
selectProps: selectProps
|
15749 |
+
}));
|
15750 |
+
});
|
15751 |
+
};
|
15752 |
|
15753 |
+
MultiValue.defaultProps = {
|
15754 |
cropWithEllipsis: true
|
15755 |
+
};
|
15756 |
|
15757 |
+
function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
15758 |
var optionCSS = function optionCSS(_ref) {
|
15759 |
var isDisabled = _ref.isDisabled,
|
15760 |
isFocused = _ref.isFocused,
|
15769 |
cursor: 'default',
|
15770 |
display: 'block',
|
15771 |
fontSize: 'inherit',
|
15772 |
+
padding: spacing.baseUnit * 2 + "px " + spacing.baseUnit * 3 + "px",
|
15773 |
width: '100%',
|
15774 |
userSelect: 'none',
|
15775 |
WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
|
15790 |
isSelected = props.isSelected,
|
15791 |
innerRef = props.innerRef,
|
15792 |
innerProps = props.innerProps;
|
15793 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$7({
|
15794 |
css: getStyles('option', props),
|
15795 |
className: cx({
|
15796 |
option: true,
|
15802 |
}, innerProps), children);
|
15803 |
};
|
15804 |
|
15805 |
+
function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
15806 |
var placeholderCSS = function placeholderCSS(_ref) {
|
15807 |
var _ref$theme = _ref.theme,
|
15808 |
spacing = _ref$theme.spacing,
|
15824 |
cx = props.cx,
|
15825 |
getStyles = props.getStyles,
|
15826 |
innerProps = props.innerProps;
|
15827 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$8({
|
15828 |
css: getStyles('placeholder', props),
|
15829 |
className: cx({
|
15830 |
placeholder: true
|
15832 |
}, innerProps), children);
|
15833 |
};
|
15834 |
|
15835 |
+
function _extends$9() { _extends$9 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
15836 |
var css$1 = function css(_ref) {
|
15837 |
var isDisabled = _ref.isDisabled,
|
15838 |
_ref$theme = _ref.theme,
|
15843 |
color: isDisabled ? colors.neutral40 : colors.neutral80,
|
15844 |
marginLeft: spacing.baseUnit / 2,
|
15845 |
marginRight: spacing.baseUnit / 2,
|
15846 |
+
maxWidth: "calc(100% - " + spacing.baseUnit * 2 + "px)",
|
15847 |
overflow: 'hidden',
|
15848 |
position: 'absolute',
|
15849 |
textOverflow: 'ellipsis',
|
15860 |
getStyles = props.getStyles,
|
15861 |
isDisabled = props.isDisabled,
|
15862 |
innerProps = props.innerProps;
|
15863 |
+
return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$9({
|
15864 |
css: getStyles('singleValue', props),
|
15865 |
className: cx({
|
15866 |
'single-value': true,
|
15869 |
}, innerProps), children);
|
15870 |
};
|
15871 |
|
15872 |
+
function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
15873 |
var components = {
|
15874 |
ClearIndicator: ClearIndicator,
|
15875 |
Control: Control,
|
15898 |
ValueContainer: ValueContainer
|
15899 |
};
|
15900 |
var defaultComponents = function defaultComponents(props) {
|
15901 |
+
return _extends$a({}, components, props.components);
|
15902 |
};
|
15903 |
|
15904 |
|
15906 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
15907 |
|
15908 |
/***/ }),
|
15909 |
+
/* 232 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15910 |
/***/ (function(module, exports, __webpack_require__) {
|
15911 |
|
15912 |
"use strict";
|
16180 |
exports.default = AutosizeInput;
|
16181 |
|
16182 |
/***/ }),
|
16183 |
+
/* 233 */
|
16184 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16185 |
|
16186 |
"use strict";
|
16189 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return createFilter; });
|
16190 |
/* unused harmony export d */
|
16191 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return mergeStyles; });
|
16192 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
16193 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
16194 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(227);
|
16195 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(128);
|
16196 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(11);
|
16197 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
|
16198 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
|
16199 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__ = __webpack_require__(231);
|
16200 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(65);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16201 |
|
16202 |
|
16203 |
|
16467 |
return str;
|
16468 |
};
|
16469 |
|
16470 |
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
16471 |
+
|
16472 |
var trimString = function trimString(str) {
|
16473 |
return str.replace(/^\s+|\s+$/g, '');
|
16474 |
};
|
16475 |
|
16476 |
var defaultStringify = function defaultStringify(option) {
|
16477 |
+
return option.label + " " + option.value;
|
16478 |
};
|
16479 |
|
16480 |
var createFilter = function createFilter(config) {
|
16481 |
return function (option, rawInput) {
|
16482 |
+
var _ignoreCase$ignoreAcc = _extends({
|
16483 |
ignoreCase: true,
|
16484 |
ignoreAccents: true,
|
16485 |
stringify: defaultStringify,
|
16509 |
};
|
16510 |
};
|
16511 |
|
16512 |
+
function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
16513 |
+
|
16514 |
var _ref = process.env.NODE_ENV === "production" ? {
|
16515 |
name: "1laao21-a11yText",
|
16516 |
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"
|
16521 |
};
|
16522 |
|
16523 |
var A11yText = function A11yText(props) {
|
16524 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("span", _extends$1({
|
16525 |
css: _ref
|
16526 |
}, props));
|
16527 |
};
|
16528 |
|
16529 |
+
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
16530 |
+
|
16531 |
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
16532 |
+
function DummyInput(_ref) {
|
16533 |
+
var inProp = _ref.in,
|
16534 |
+
out = _ref.out,
|
16535 |
+
onExited = _ref.onExited,
|
16536 |
+
appear = _ref.appear,
|
16537 |
+
enter = _ref.enter,
|
16538 |
+
exit = _ref.exit,
|
16539 |
+
innerRef = _ref.innerRef,
|
16540 |
+
emotion = _ref.emotion,
|
16541 |
+
props = _objectWithoutPropertiesLoose(_ref, ["in", "out", "onExited", "appear", "enter", "exit", "innerRef", "emotion"]);
|
16542 |
+
|
16543 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("input", _extends$2({
|
16544 |
+
ref: innerRef
|
16545 |
+
}, props, {
|
16546 |
+
css:
|
16547 |
+
/*#__PURE__*/
|
16548 |
+
Object(__WEBPACK_IMPORTED_MODULE_6__emotion_css__["a" /* default */])({
|
16549 |
+
label: 'dummyInput',
|
16550 |
+
// get rid of any default styles
|
16551 |
+
background: 0,
|
16552 |
+
border: 0,
|
16553 |
+
fontSize: 'inherit',
|
16554 |
+
outline: 0,
|
16555 |
+
padding: 0,
|
16556 |
+
// important! without `width` browsers won't allow focus
|
16557 |
+
width: 1,
|
16558 |
+
// remove cursor on desktop
|
16559 |
+
color: 'transparent',
|
16560 |
+
// remove cursor on mobile whilst maintaining "scroll into view" behaviour
|
16561 |
+
left: -100,
|
16562 |
+
opacity: 0,
|
16563 |
+
position: 'relative',
|
16564 |
+
transform: 'scale(0)'
|
16565 |
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUJNIiwiZmlsZSI6IkR1bW15SW5wdXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGluOiBpblByb3AsXG4gIG91dCxcbiAgb25FeGl0ZWQsXG4gIGFwcGVhcixcbiAgZW50ZXIsXG4gIGV4aXQsXG4gIGlubmVyUmVmLFxuICBlbW90aW9uLFxuICAuLi5wcm9wc1xufTogYW55KSB7XG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLnByb3BzfVxuICAgICAgY3NzPXt7XG4gICAgICAgIGxhYmVsOiAnZHVtbXlJbnB1dCcsXG4gICAgICAgIC8vIGdldCByaWQgb2YgYW55IGRlZmF1bHQgc3R5bGVzXG4gICAgICAgIGJhY2tncm91bmQ6IDAsXG4gICAgICAgIGJvcmRlcjogMCxcbiAgICAgICAgZm9udFNpemU6ICdpbmhlcml0JyxcbiAgICAgICAgb3V0bGluZTogMCxcbiAgICAgICAgcGFkZGluZzogMCxcbiAgICAgICAgLy8gaW1wb3J0YW50ISB3aXRob3V0IGB3aWR0aGAgYnJvd3NlcnMgd29uJ3QgYWxsb3cgZm9jdXNcbiAgICAgICAgd2lkdGg6IDEsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBkZXNrdG9wXG4gICAgICAgIGNvbG9yOiAndHJhbnNwYXJlbnQnLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gbW9iaWxlIHdoaWxzdCBtYWludGFpbmluZyBcInNjcm9sbCBpbnRvIHZpZXdcIiBiZWhhdmlvdXJcbiAgICAgICAgbGVmdDogLTEwMCxcbiAgICAgICAgb3BhY2l0eTogMCxcbiAgICAgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDApJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
|
16566 |
+
}));
|
16567 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16568 |
|
16569 |
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
|
16570 |
|
16571 |
var NodeResolver =
|
16572 |
/*#__PURE__*/
|
16573 |
function (_Component) {
|
16574 |
+
_inheritsLoose(NodeResolver, _Component);
|
16575 |
|
16576 |
function NodeResolver() {
|
16577 |
+
return _Component.apply(this, arguments) || this;
|
|
|
|
|
16578 |
}
|
16579 |
|
16580 |
+
var _proto = NodeResolver.prototype;
|
16581 |
+
|
16582 |
+
_proto.componentDidMount = function componentDidMount() {
|
16583 |
+
this.props.innerRef(Object(__WEBPACK_IMPORTED_MODULE_3_react_dom__["findDOMNode"])(this));
|
16584 |
+
};
|
16585 |
+
|
16586 |
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
16587 |
+
this.props.innerRef(null);
|
16588 |
+
};
|
16589 |
+
|
16590 |
+
_proto.render = function render() {
|
16591 |
+
return this.props.children;
|
16592 |
+
};
|
|
|
|
|
|
|
16593 |
|
16594 |
return NodeResolver;
|
16595 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
16596 |
|
16597 |
var STYLE_KEYS = ['boxSizing', 'height', 'overflow', 'paddingRight', 'position'];
|
16598 |
var LOCK_STYLES = {
|
16626 |
return 'ontouchstart' in window || navigator.maxTouchPoints;
|
16627 |
}
|
16628 |
|
16629 |
+
function _inheritsLoose$1(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
16630 |
+
var canUseDOM = !!( window.document && window.document.createElement);
|
16631 |
var activeScrollLocks = 0;
|
16632 |
|
16633 |
var ScrollLock =
|
16634 |
/*#__PURE__*/
|
16635 |
function (_Component) {
|
16636 |
+
_inheritsLoose$1(ScrollLock, _Component);
|
16637 |
|
16638 |
function ScrollLock() {
|
|
|
|
|
16639 |
var _this;
|
16640 |
|
|
|
|
|
16641 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
16642 |
args[_key] = arguments[_key];
|
16643 |
}
|
16644 |
|
16645 |
+
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
16646 |
+
_this.originalStyles = {};
|
16647 |
+
_this.listenerOptions = {
|
|
|
|
|
16648 |
capture: false,
|
16649 |
passive: false
|
16650 |
+
};
|
|
|
16651 |
return _this;
|
16652 |
}
|
16653 |
|
16654 |
+
var _proto = ScrollLock.prototype;
|
|
|
|
|
|
|
16655 |
|
16656 |
+
_proto.componentDidMount = function componentDidMount() {
|
16657 |
+
var _this2 = this;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16658 |
|
16659 |
+
if (!canUseDOM) return;
|
16660 |
+
var _this$props = this.props,
|
16661 |
+
accountForScrollbars = _this$props.accountForScrollbars,
|
16662 |
+
touchScrollTarget = _this$props.touchScrollTarget;
|
16663 |
+
var target = document.body;
|
16664 |
+
var targetStyle = target && target.style;
|
16665 |
+
|
16666 |
+
if (accountForScrollbars) {
|
16667 |
+
// store any styles already applied to the body
|
16668 |
+
STYLE_KEYS.forEach(function (key) {
|
16669 |
+
var val = targetStyle && targetStyle[key];
|
16670 |
+
_this2.originalStyles[key] = val;
|
16671 |
+
});
|
16672 |
+
} // apply the lock styles and padding if this is the first scroll lock
|
16673 |
|
|
|
|
|
|
|
|
|
|
|
|
|
16674 |
|
16675 |
+
if (accountForScrollbars && activeScrollLocks < 1) {
|
16676 |
+
var currentPadding = parseInt(this.originalStyles.paddingRight, 10) || 0;
|
16677 |
+
var clientWidth = document.body ? document.body.clientWidth : 0;
|
16678 |
+
var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;
|
16679 |
+
Object.keys(LOCK_STYLES).forEach(function (key) {
|
16680 |
+
var val = LOCK_STYLES[key];
|
16681 |
|
16682 |
if (targetStyle) {
|
16683 |
+
targetStyle[key] = val;
|
16684 |
}
|
16685 |
+
});
|
16686 |
|
16687 |
+
if (targetStyle) {
|
16688 |
+
targetStyle.paddingRight = adjustedPadding + "px";
|
16689 |
+
}
|
16690 |
+
} // account for touch devices
|
16691 |
|
|
|
|
|
|
|
16692 |
|
16693 |
+
if (target && isTouchDevice()) {
|
16694 |
+
// Mobile Safari ignores { overflow: hidden } declaration on the body.
|
16695 |
+
target.addEventListener('touchmove', preventTouchMove, this.listenerOptions); // Allow scroll on provided target
|
|
|
|
|
16696 |
|
16697 |
+
if (touchScrollTarget) {
|
16698 |
+
touchScrollTarget.addEventListener('touchstart', preventInertiaScroll, this.listenerOptions);
|
16699 |
+
touchScrollTarget.addEventListener('touchmove', allowTouchMove, this.listenerOptions);
|
16700 |
+
}
|
16701 |
+
} // increment active scroll locks
|
16702 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16703 |
|
16704 |
+
activeScrollLocks += 1;
|
16705 |
+
};
|
16706 |
|
16707 |
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
16708 |
+
var _this3 = this;
|
|
|
16709 |
|
16710 |
+
if (!canUseDOM) return;
|
16711 |
+
var _this$props2 = this.props,
|
16712 |
+
accountForScrollbars = _this$props2.accountForScrollbars,
|
16713 |
+
touchScrollTarget = _this$props2.touchScrollTarget;
|
16714 |
+
var target = document.body;
|
16715 |
+
var targetStyle = target && target.style; // safely decrement active scroll locks
|
16716 |
|
16717 |
+
activeScrollLocks = Math.max(activeScrollLocks - 1, 0); // reapply original body styles, if any
|
16718 |
|
16719 |
+
if (accountForScrollbars && activeScrollLocks < 1) {
|
16720 |
+
STYLE_KEYS.forEach(function (key) {
|
16721 |
+
var val = _this3.originalStyles[key];
|
16722 |
|
16723 |
+
if (targetStyle) {
|
16724 |
+
targetStyle[key] = val;
|
|
|
16725 |
}
|
16726 |
+
});
|
16727 |
+
} // remove touch listeners
|
16728 |
+
|
16729 |
+
|
16730 |
+
if (target && isTouchDevice()) {
|
16731 |
+
target.removeEventListener('touchmove', preventTouchMove, this.listenerOptions);
|
16732 |
+
|
16733 |
+
if (touchScrollTarget) {
|
16734 |
+
touchScrollTarget.removeEventListener('touchstart', preventInertiaScroll, this.listenerOptions);
|
16735 |
+
touchScrollTarget.removeEventListener('touchmove', allowTouchMove, this.listenerOptions);
|
16736 |
}
|
16737 |
}
|
16738 |
+
};
|
16739 |
+
|
16740 |
+
_proto.render = function render() {
|
16741 |
+
return null;
|
16742 |
+
};
|
|
|
16743 |
|
16744 |
return ScrollLock;
|
16745 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
16746 |
|
16747 |
+
ScrollLock.defaultProps = {
|
16748 |
accountForScrollbars: true
|
16749 |
+
};
|
16750 |
+
|
16751 |
+
function _inheritsLoose$2(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
16752 |
|
16753 |
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
16754 |
name: "1dsbpcp",
|
16766 |
var ScrollBlock =
|
16767 |
/*#__PURE__*/
|
16768 |
function (_PureComponent) {
|
16769 |
+
_inheritsLoose$2(ScrollBlock, _PureComponent);
|
16770 |
|
16771 |
function ScrollBlock() {
|
|
|
|
|
16772 |
var _this;
|
16773 |
|
|
|
|
|
16774 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
16775 |
args[_key] = arguments[_key];
|
16776 |
}
|
16777 |
|
16778 |
+
_this = _PureComponent.call.apply(_PureComponent, [this].concat(args)) || this;
|
16779 |
+
_this.state = {
|
|
|
16780 |
touchScrollTarget: null
|
16781 |
+
};
|
16782 |
|
16783 |
+
_this.getScrollTarget = function (ref) {
|
16784 |
if (ref === _this.state.touchScrollTarget) return;
|
16785 |
|
16786 |
_this.setState({
|
16787 |
touchScrollTarget: ref
|
16788 |
});
|
16789 |
+
};
|
16790 |
|
16791 |
+
_this.blurSelectInput = function () {
|
16792 |
if (document.activeElement) {
|
16793 |
document.activeElement.blur();
|
16794 |
}
|
16795 |
+
};
|
16796 |
|
16797 |
return _this;
|
16798 |
}
|
16799 |
|
16800 |
+
var _proto = ScrollBlock.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16801 |
|
16802 |
+
_proto.render = function render() {
|
16803 |
+
var _this$props = this.props,
|
16804 |
+
children = _this$props.children,
|
16805 |
+
isEnabled = _this$props.isEnabled;
|
16806 |
+
var touchScrollTarget = this.state.touchScrollTarget; // bail early if not enabled
|
16807 |
+
|
16808 |
+
if (!isEnabled) return children;
|
16809 |
+
/*
|
16810 |
+
* Div
|
16811 |
+
* ------------------------------
|
16812 |
+
* blocks scrolling on non-body elements behind the menu
|
16813 |
+
* NodeResolver
|
16814 |
+
* ------------------------------
|
16815 |
+
* we need a reference to the scrollable element to "unlock" scroll on
|
16816 |
+
* mobile devices
|
16817 |
+
* ScrollLock
|
16818 |
+
* ------------------------------
|
16819 |
+
* actually does the scroll locking
|
16820 |
+
*/
|
16821 |
+
|
16822 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("div", null, Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("div", {
|
16823 |
+
onClick: this.blurSelectInput,
|
16824 |
+
css: _ref$1
|
16825 |
+
}), Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])(NodeResolver, {
|
16826 |
+
innerRef: this.getScrollTarget
|
16827 |
+
}, children), touchScrollTarget ? Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])(ScrollLock, {
|
16828 |
+
touchScrollTarget: touchScrollTarget
|
16829 |
+
}) : null);
|
16830 |
+
};
|
16831 |
|
16832 |
return ScrollBlock;
|
16833 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["PureComponent"]);
|
16834 |
+
|
16835 |
+
function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
16836 |
+
|
16837 |
+
function _inheritsLoose$3(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
16838 |
|
16839 |
var ScrollCaptor =
|
16840 |
/*#__PURE__*/
|
16841 |
function (_Component) {
|
16842 |
+
_inheritsLoose$3(ScrollCaptor, _Component);
|
16843 |
|
16844 |
function ScrollCaptor() {
|
|
|
|
|
16845 |
var _this;
|
16846 |
|
|
|
|
|
16847 |
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
16848 |
args[_key] = arguments[_key];
|
16849 |
}
|
16850 |
|
16851 |
+
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
16852 |
+
_this.isBottom = false;
|
16853 |
+
_this.isTop = false;
|
16854 |
+
_this.scrollTarget = void 0;
|
16855 |
+
_this.touchStart = void 0;
|
16856 |
|
16857 |
+
_this.cancelScroll = function (event) {
|
|
|
|
|
|
|
|
|
|
|
|
|
16858 |
event.preventDefault();
|
16859 |
event.stopPropagation();
|
16860 |
+
};
|
16861 |
|
16862 |
+
_this.handleEventDelta = function (event, delta) {
|
16863 |
var _this$props = _this.props,
|
16864 |
onBottomArrive = _this$props.onBottomArrive,
|
16865 |
onBottomLeave = _this$props.onBottomLeave,
|
16907 |
if (shouldCancelScroll) {
|
16908 |
_this.cancelScroll(event);
|
16909 |
}
|
16910 |
+
};
|
16911 |
|
16912 |
+
_this.onWheel = function (event) {
|
16913 |
_this.handleEventDelta(event, event.deltaY);
|
16914 |
+
};
|
16915 |
|
16916 |
+
_this.onTouchStart = function (event) {
|
16917 |
// set touch start so we can calculate touchmove delta
|
16918 |
_this.touchStart = event.changedTouches[0].clientY;
|
16919 |
+
};
|
16920 |
|
16921 |
+
_this.onTouchMove = function (event) {
|
16922 |
var deltaY = _this.touchStart - event.changedTouches[0].clientY;
|
16923 |
|
16924 |
_this.handleEventDelta(event, deltaY);
|
16925 |
+
};
|
16926 |
|
16927 |
+
_this.getScrollTarget = function (ref) {
|
16928 |
_this.scrollTarget = ref;
|
16929 |
+
};
|
16930 |
|
16931 |
return _this;
|
16932 |
}
|
16933 |
|
16934 |
+
var _proto = ScrollCaptor.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16935 |
|
16936 |
+
_proto.componentDidMount = function componentDidMount() {
|
16937 |
+
this.startListening(this.scrollTarget);
|
16938 |
+
};
|
16939 |
|
16940 |
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
16941 |
+
this.stopListening(this.scrollTarget);
|
16942 |
+
};
|
16943 |
|
16944 |
+
_proto.startListening = function startListening(el) {
|
16945 |
+
// bail early if no element is available to attach to
|
16946 |
+
if (!el) return; // all the if statements are to appease Flow 😢
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16947 |
|
16948 |
+
if (typeof el.addEventListener === 'function') {
|
16949 |
+
el.addEventListener('wheel', this.onWheel, false);
|
16950 |
+
}
|
16951 |
|
16952 |
+
if (typeof el.addEventListener === 'function') {
|
16953 |
+
el.addEventListener('touchstart', this.onTouchStart, false);
|
|
|
16954 |
}
|
16955 |
+
|
16956 |
+
if (typeof el.addEventListener === 'function') {
|
16957 |
+
el.addEventListener('touchmove', this.onTouchMove, false);
|
|
|
|
|
|
|
16958 |
}
|
16959 |
+
};
|
16960 |
|
16961 |
+
_proto.stopListening = function stopListening(el) {
|
16962 |
+
// all the if statements are to appease Flow 😢
|
16963 |
+
if (typeof el.removeEventListener === 'function') {
|
16964 |
+
el.removeEventListener('wheel', this.onWheel, false);
|
16965 |
+
}
|
16966 |
|
16967 |
+
if (typeof el.removeEventListener === 'function') {
|
16968 |
+
el.removeEventListener('touchstart', this.onTouchStart, false);
|
16969 |
+
}
|
|
|
16970 |
|
16971 |
+
if (typeof el.removeEventListener === 'function') {
|
16972 |
+
el.removeEventListener('touchmove', this.onTouchMove, false);
|
16973 |
+
}
|
16974 |
+
};
|
16975 |
|
16976 |
+
_proto.render = function render() {
|
16977 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(NodeResolver, {
|
16978 |
+
innerRef: this.getScrollTarget
|
16979 |
+
}, this.props.children);
|
16980 |
+
};
|
16981 |
|
16982 |
+
return ScrollCaptor;
|
16983 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
|
|
|
|
|
|
|
|
16984 |
|
16985 |
+
function ScrollCaptorSwitch(_ref) {
|
16986 |
+
var _ref$isEnabled = _ref.isEnabled,
|
16987 |
+
isEnabled = _ref$isEnabled === void 0 ? true : _ref$isEnabled,
|
16988 |
+
props = _objectWithoutPropertiesLoose$1(_ref, ["isEnabled"]);
|
16989 |
|
16990 |
+
return isEnabled ? __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ScrollCaptor, props) : props.children;
|
16991 |
+
}
|
16992 |
|
16993 |
+
var instructionsAriaMessage = function instructionsAriaMessage(event, context) {
|
16994 |
+
if (context === void 0) {
|
16995 |
+
context = {};
|
16996 |
+
}
|
16997 |
|
16998 |
+
var _context = context,
|
16999 |
+
isSearchable = _context.isSearchable,
|
17000 |
+
isMulti = _context.isMulti,
|
17001 |
+
label = _context.label,
|
17002 |
+
isDisabled = _context.isDisabled;
|
|
|
17003 |
|
17004 |
switch (event) {
|
17005 |
case 'menu':
|
17006 |
+
return "Use Up and Down to choose options" + (isDisabled ? '' : ', press Enter to select the currently focused option') + ", press Escape to exit the menu, press Tab to select the option and exit the menu.";
|
17007 |
|
17008 |
case 'input':
|
17009 |
+
return (label ? label : 'Select') + " is focused " + (isSearchable ? ',type to refine list' : '') + ", press Down to open the menu, " + (isMulti ? ' press left to focus selected values' : '');
|
17010 |
|
17011 |
case 'value':
|
17012 |
return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';
|
17021 |
case 'deselect-option':
|
17022 |
case 'pop-value':
|
17023 |
case 'remove-value':
|
17024 |
+
return "option " + value + ", deselected.";
|
17025 |
|
17026 |
case 'select-option':
|
17027 |
+
return isDisabled ? "option " + value + " is disabled. Select another option." : "option " + value + ", selected.";
|
17028 |
}
|
17029 |
};
|
17030 |
var valueFocusAriaMessage = function valueFocusAriaMessage(_ref) {
|
17031 |
var focusedValue = _ref.focusedValue,
|
17032 |
getOptionLabel = _ref.getOptionLabel,
|
17033 |
selectValue = _ref.selectValue;
|
17034 |
+
return "value " + getOptionLabel(focusedValue) + " focused, " + (selectValue.indexOf(focusedValue) + 1) + " of " + selectValue.length + ".";
|
17035 |
};
|
17036 |
var optionFocusAriaMessage = function optionFocusAriaMessage(_ref2) {
|
17037 |
var focusedOption = _ref2.focusedOption,
|
17038 |
getOptionLabel = _ref2.getOptionLabel,
|
17039 |
options = _ref2.options;
|
17040 |
+
return "option " + getOptionLabel(focusedOption) + " focused" + (focusedOption.isDisabled ? ' disabled' : '') + ", " + (options.indexOf(focusedOption) + 1) + " of " + options.length + ".";
|
17041 |
};
|
17042 |
var resultsAriaMessage = function resultsAriaMessage(_ref3) {
|
17043 |
var inputValue = _ref3.inputValue,
|
17044 |
screenReaderMessage = _ref3.screenReaderMessage;
|
17045 |
+
return "" + screenReaderMessage + (inputValue ? ' for search term ' + inputValue : '') + ".";
|
17046 |
};
|
17047 |
|
17048 |
var formatGroupLabel = function formatGroupLabel(group) {
|
17058 |
return !!option.isDisabled;
|
17059 |
};
|
17060 |
|
17061 |
+
function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
17062 |
var defaultStyles = {
|
17063 |
+
clearIndicator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["d" /* c */],
|
17064 |
+
container: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["b" /* a */],
|
17065 |
+
control: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["c" /* b */],
|
17066 |
+
dropdownIndicator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["e" /* d */],
|
17067 |
+
group: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["h" /* g */],
|
17068 |
+
groupHeading: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["f" /* e */],
|
17069 |
+
indicatorsContainer: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["j" /* i */],
|
17070 |
+
indicatorSeparator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["g" /* f */],
|
17071 |
+
input: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["i" /* h */],
|
17072 |
+
loadingIndicator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["m" /* l */],
|
17073 |
+
loadingMessage: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["k" /* j */],
|
17074 |
+
menu: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["n" /* m */],
|
17075 |
+
menuList: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["l" /* k */],
|
17076 |
+
menuPortal: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["o" /* n */],
|
17077 |
+
multiValue: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["p" /* o */],
|
17078 |
+
multiValueLabel: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["q" /* p */],
|
17079 |
+
multiValueRemove: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["r" /* q */],
|
17080 |
+
noOptionsMessage: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["s" /* r */],
|
17081 |
+
option: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["t" /* s */],
|
17082 |
+
placeholder: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["u" /* t */],
|
17083 |
+
singleValue: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["v" /* u */],
|
17084 |
+
valueContainer: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["w" /* v */]
|
17085 |
}; // Merge Utility
|
17086 |
// Allows consumers to extend a base Select with additional styles
|
17087 |
|
17088 |
+
function mergeStyles(source, target) {
|
17089 |
+
if (target === void 0) {
|
17090 |
+
target = {};
|
17091 |
+
}
|
17092 |
|
17093 |
// initialize with source styles
|
17094 |
+
var styles = _extends$3({}, source); // massage in target styles
|
17095 |
|
17096 |
|
17097 |
Object.keys(target).forEach(function (key) {
|
17143 |
spacing: spacing
|
17144 |
};
|
17145 |
|
17146 |
+
function _objectWithoutPropertiesLoose$2(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
17147 |
+
|
17148 |
+
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
17149 |
+
|
17150 |
+
function _inheritsLoose$4(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
17151 |
+
|
17152 |
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
17153 |
var defaultProps = {
|
17154 |
backspaceRemovesValue: true,
|
17155 |
+
blurInputOnSelect: Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["i"])(),
|
17156 |
+
captureMenuScroll: !Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["i"])(),
|
17157 |
closeMenuOnSelect: true,
|
17158 |
closeMenuOnScroll: false,
|
17159 |
components: {},
|
17178 |
menuPlacement: 'bottom',
|
17179 |
menuPosition: 'absolute',
|
17180 |
menuShouldBlockScroll: false,
|
17181 |
+
menuShouldScrollIntoView: !Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["d"])(),
|
17182 |
noOptionsMessage: function noOptionsMessage() {
|
17183 |
return 'No options';
|
17184 |
},
|
17189 |
placeholder: 'Select...',
|
17190 |
screenReaderStatus: function screenReaderStatus(_ref) {
|
17191 |
var count = _ref.count;
|
17192 |
+
return count + " result" + (count !== 1 ? 's' : '') + " available";
|
17193 |
},
|
17194 |
styles: {},
|
17195 |
tabIndex: '0',
|
17200 |
var Select =
|
17201 |
/*#__PURE__*/
|
17202 |
function (_Component) {
|
17203 |
+
_inheritsLoose$4(Select, _Component);
|
17204 |
|
17205 |
// Misc. Instance Properties
|
17206 |
// ------------------------------
|
17212 |
function Select(_props) {
|
17213 |
var _this;
|
17214 |
|
17215 |
+
_this = _Component.call(this, _props) || this;
|
17216 |
+
_this.state = {
|
|
|
|
|
|
|
17217 |
ariaLiveSelection: '',
|
17218 |
ariaLiveContext: '',
|
17219 |
focusedOption: null,
|
17225 |
focusable: []
|
17226 |
},
|
17227 |
selectValue: []
|
17228 |
+
};
|
17229 |
+
_this.blockOptionHover = false;
|
17230 |
+
_this.isComposing = false;
|
17231 |
+
_this.clearFocusValueOnUpdate = false;
|
17232 |
+
_this.commonProps = void 0;
|
17233 |
+
_this.components = void 0;
|
17234 |
+
_this.hasGroups = false;
|
17235 |
+
_this.initialTouchX = 0;
|
17236 |
+
_this.initialTouchY = 0;
|
17237 |
+
_this.inputIsHiddenAfterUpdate = void 0;
|
17238 |
+
_this.instancePrefix = '';
|
17239 |
+
_this.openAfterFocus = false;
|
17240 |
+
_this.scrollToFocusedOptionOnUpdate = false;
|
17241 |
+
_this.userIsDragging = void 0;
|
17242 |
+
_this.controlRef = null;
|
17243 |
+
|
17244 |
+
_this.getControlRef = function (ref) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17245 |
_this.controlRef = ref;
|
17246 |
+
};
|
17247 |
|
17248 |
+
_this.focusedOptionRef = null;
|
17249 |
|
17250 |
+
_this.getFocusedOptionRef = function (ref) {
|
17251 |
_this.focusedOptionRef = ref;
|
17252 |
+
};
|
17253 |
|
17254 |
+
_this.menuListRef = null;
|
17255 |
|
17256 |
+
_this.getMenuListRef = function (ref) {
|
17257 |
_this.menuListRef = ref;
|
17258 |
+
};
|
17259 |
|
17260 |
+
_this.inputRef = null;
|
17261 |
|
17262 |
+
_this.getInputRef = function (ref) {
|
17263 |
_this.inputRef = ref;
|
17264 |
+
};
|
17265 |
|
17266 |
+
_this.cacheComponents = function (components) {
|
17267 |
+
_this.components = Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["x" /* w */])({
|
17268 |
components: components
|
17269 |
});
|
17270 |
+
};
|
|
|
|
|
17271 |
|
17272 |
+
_this.focus = _this.focusInput;
|
17273 |
+
_this.blur = _this.blurInput;
|
17274 |
|
17275 |
+
_this.onChange = function (newValue, actionMeta) {
|
17276 |
var _this$props = _this.props,
|
17277 |
onChange = _this$props.onChange,
|
17278 |
name = _this$props.name;
|
17279 |
+
onChange(newValue, _extends$4({}, actionMeta, {
|
17280 |
name: name
|
17281 |
}));
|
17282 |
+
};
|
17283 |
+
|
17284 |
+
_this.setValue = function (newValue, action, option) {
|
17285 |
+
if (action === void 0) {
|
17286 |
+
action = 'set-value';
|
17287 |
+
}
|
17288 |
|
|
|
|
|
|
|
17289 |
var _this$props2 = _this.props,
|
17290 |
closeMenuOnSelect = _this$props2.closeMenuOnSelect,
|
17291 |
isMulti = _this$props2.isMulti;
|
17307 |
action: action,
|
17308 |
option: option
|
17309 |
});
|
17310 |
+
};
|
17311 |
|
17312 |
+
_this.selectOption = function (newValue) {
|
17313 |
var _this$props3 = _this.props,
|
17314 |
blurInputOnSelect = _this$props3.blurInputOnSelect,
|
17315 |
isMulti = _this$props3.isMulti;
|
17331 |
});
|
17332 |
} else {
|
17333 |
if (!_this.isOptionDisabled(newValue, selectValue)) {
|
17334 |
+
_this.setValue([].concat(selectValue, [newValue]), 'select-option', newValue);
|
17335 |
|
17336 |
_this.announceAriaLiveSelection({
|
17337 |
event: 'select-option',
|
17375 |
if (blurInputOnSelect) {
|
17376 |
_this.blurInput();
|
17377 |
}
|
17378 |
+
};
|
17379 |
|
17380 |
+
_this.removeValue = function (removedValue) {
|
17381 |
var selectValue = _this.state.selectValue;
|
17382 |
|
17383 |
var candidate = _this.getOptionValue(removedValue);
|
17399 |
});
|
17400 |
|
17401 |
_this.focusInput();
|
17402 |
+
};
|
17403 |
|
17404 |
+
_this.clearValue = function () {
|
17405 |
var isMulti = _this.props.isMulti;
|
17406 |
|
17407 |
_this.onChange(isMulti ? [] : null, {
|
17408 |
action: 'clear'
|
17409 |
});
|
17410 |
+
};
|
17411 |
|
17412 |
+
_this.popValue = function () {
|
17413 |
var selectValue = _this.state.selectValue;
|
17414 |
var lastSelectedValue = selectValue[selectValue.length - 1];
|
17415 |
var newValue = selectValue.slice(0, selectValue.length - 1);
|
17425 |
action: 'pop-value',
|
17426 |
removedValue: lastSelectedValue
|
17427 |
});
|
17428 |
+
};
|
17429 |
|
17430 |
+
_this.getOptionLabel = function (data) {
|
17431 |
return _this.props.getOptionLabel(data);
|
17432 |
+
};
|
17433 |
|
17434 |
+
_this.getOptionValue = function (data) {
|
17435 |
return _this.props.getOptionValue(data);
|
17436 |
+
};
|
17437 |
|
17438 |
+
_this.getStyles = function (key, props) {
|
17439 |
var base = defaultStyles[key](props);
|
17440 |
base.boxSizing = 'border-box';
|
17441 |
var custom = _this.props.styles[key];
|
17442 |
return custom ? custom(base, props) : base;
|
17443 |
+
};
|
17444 |
|
17445 |
+
_this.getElementId = function (element) {
|
17446 |
+
return _this.instancePrefix + "-" + element;
|
17447 |
+
};
|
17448 |
|
17449 |
+
_this.getActiveDescendentId = function () {
|
17450 |
var menuIsOpen = _this.props.menuIsOpen;
|
17451 |
var _this$state = _this.state,
|
17452 |
menuOptions = _this$state.menuOptions,
|
17455 |
var index = menuOptions.focusable.indexOf(focusedOption);
|
17456 |
var option = menuOptions.render[index];
|
17457 |
return option && option.key;
|
17458 |
+
};
|
17459 |
|
17460 |
+
_this.announceAriaLiveSelection = function (_ref2) {
|
17461 |
var event = _ref2.event,
|
17462 |
context = _ref2.context;
|
17463 |
|
17464 |
_this.setState({
|
17465 |
ariaLiveSelection: valueEventAriaMessage(event, context)
|
17466 |
});
|
17467 |
+
};
|
17468 |
|
17469 |
+
_this.announceAriaLiveContext = function (_ref3) {
|
17470 |
var event = _ref3.event,
|
17471 |
context = _ref3.context;
|
17472 |
|
17473 |
_this.setState({
|
17474 |
+
ariaLiveContext: instructionsAriaMessage(event, _extends$4({}, context, {
|
17475 |
label: _this.props['aria-label']
|
17476 |
}))
|
17477 |
});
|
17478 |
+
};
|
17479 |
|
17480 |
+
_this.onMenuMouseDown = function (event) {
|
17481 |
if (event.button !== 0) {
|
17482 |
return;
|
17483 |
}
|
17486 |
event.preventDefault();
|
17487 |
|
17488 |
_this.focusInput();
|
17489 |
+
};
|
17490 |
|
17491 |
+
_this.onMenuMouseMove = function (event) {
|
17492 |
_this.blockOptionHover = false;
|
17493 |
+
};
|
17494 |
|
17495 |
+
_this.onControlMouseDown = function (event) {
|
17496 |
var openMenuOnClick = _this.props.openMenuOnClick;
|
17497 |
|
17498 |
if (!_this.state.isFocused) {
|
17506 |
_this.openMenu('first');
|
17507 |
}
|
17508 |
} else {
|
17509 |
+
if ( // $FlowFixMe
|
17510 |
+
event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
|
17511 |
_this.onMenuClose();
|
17512 |
}
|
17513 |
+
}
|
|
|
17514 |
|
17515 |
+
if ( // $FlowFixMe
|
17516 |
+
event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
|
17517 |
event.preventDefault();
|
17518 |
}
|
17519 |
+
};
|
17520 |
|
17521 |
+
_this.onDropdownIndicatorMouseDown = function (event) {
|
17522 |
// ignore mouse events that weren't triggered by the primary button
|
17523 |
if (event && event.type === 'mousedown' && event.button !== 0) {
|
17524 |
return;
|
17541 |
|
17542 |
event.preventDefault();
|
17543 |
event.stopPropagation();
|
17544 |
+
};
|
17545 |
|
17546 |
+
_this.onClearIndicatorMouseDown = function (event) {
|
17547 |
// ignore mouse events that weren't triggered by the primary button
|
17548 |
if (event && event.type === 'mousedown' && event.button !== 0) {
|
17549 |
return;
|
17561 |
return _this.focusInput();
|
17562 |
});
|
17563 |
}
|
17564 |
+
};
|
17565 |
|
17566 |
+
_this.onScroll = function (event) {
|
17567 |
if (typeof _this.props.closeMenuOnScroll === 'boolean') {
|
17568 |
+
if (event.target instanceof HTMLElement && Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["j"])(event.target)) {
|
17569 |
_this.props.onMenuClose();
|
17570 |
}
|
17571 |
} else if (typeof _this.props.closeMenuOnScroll === 'function') {
|
17573 |
_this.props.onMenuClose();
|
17574 |
}
|
17575 |
}
|
17576 |
+
};
|
17577 |
|
17578 |
+
_this.onCompositionStart = function () {
|
17579 |
_this.isComposing = true;
|
17580 |
+
};
|
17581 |
|
17582 |
+
_this.onCompositionEnd = function () {
|
17583 |
_this.isComposing = false;
|
17584 |
+
};
|
17585 |
|
17586 |
+
_this.onTouchStart = function (_ref4) {
|
17587 |
var touches = _ref4.touches;
|
17588 |
var touch = touches.item(0);
|
17589 |
|
17594 |
_this.initialTouchX = touch.clientX;
|
17595 |
_this.initialTouchY = touch.clientY;
|
17596 |
_this.userIsDragging = false;
|
17597 |
+
};
|
17598 |
|
17599 |
+
_this.onTouchMove = function (_ref5) {
|
17600 |
var touches = _ref5.touches;
|
17601 |
var touch = touches.item(0);
|
17602 |
|
17608 |
var deltaY = Math.abs(touch.clientY - _this.initialTouchY);
|
17609 |
var moveThreshold = 5;
|
17610 |
_this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;
|
17611 |
+
};
|
17612 |
|
17613 |
+
_this.onTouchEnd = function (event) {
|
17614 |
if (_this.userIsDragging) return; // close the menu if the user taps outside
|
17615 |
// we're checking on event.target here instead of event.currentTarget, because we want to assert information
|
17616 |
// on events on child elements, not the document (which we've attached this handler to).
|
17622 |
|
17623 |
_this.initialTouchX = 0;
|
17624 |
_this.initialTouchY = 0;
|
17625 |
+
};
|
17626 |
|
17627 |
+
_this.onControlTouchEnd = function (event) {
|
17628 |
if (_this.userIsDragging) return;
|
17629 |
|
17630 |
_this.onControlMouseDown(event);
|
17631 |
+
};
|
17632 |
|
17633 |
+
_this.onClearIndicatorTouchEnd = function (event) {
|
17634 |
if (_this.userIsDragging) return;
|
17635 |
|
17636 |
_this.onClearIndicatorMouseDown(event);
|
17637 |
+
};
|
17638 |
|
17639 |
+
_this.onDropdownIndicatorTouchEnd = function (event) {
|
17640 |
if (_this.userIsDragging) return;
|
17641 |
|
17642 |
_this.onDropdownIndicatorMouseDown(event);
|
17643 |
+
};
|
17644 |
|
17645 |
+
_this.handleInputChange = function (event) {
|
17646 |
var inputValue = event.currentTarget.value;
|
17647 |
_this.inputIsHiddenAfterUpdate = false;
|
17648 |
|
17651 |
});
|
17652 |
|
17653 |
_this.onMenuOpen();
|
17654 |
+
};
|
17655 |
|
17656 |
+
_this.onInputFocus = function (event) {
|
17657 |
var _this$props5 = _this.props,
|
17658 |
isSearchable = _this$props5.isSearchable,
|
17659 |
isMulti = _this$props5.isMulti;
|
17681 |
}
|
17682 |
|
17683 |
_this.openAfterFocus = false;
|
17684 |
+
};
|
17685 |
|
17686 |
+
_this.onInputBlur = function (event) {
|
17687 |
if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
|
17688 |
_this.inputRef.focus();
|
17689 |
|
17704 |
focusedValue: null,
|
17705 |
isFocused: false
|
17706 |
});
|
17707 |
+
};
|
17708 |
|
17709 |
+
_this.onOptionHover = function (focusedOption) {
|
17710 |
if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
|
17711 |
return;
|
17712 |
}
|
17714 |
_this.setState({
|
17715 |
focusedOption: focusedOption
|
17716 |
});
|
17717 |
+
};
|
17718 |
|
17719 |
+
_this.shouldHideSelectedOptions = function () {
|
17720 |
var _this$props6 = _this.props,
|
17721 |
hideSelectedOptions = _this$props6.hideSelectedOptions,
|
17722 |
isMulti = _this$props6.isMulti;
|
17723 |
if (hideSelectedOptions === undefined) return isMulti;
|
17724 |
return hideSelectedOptions;
|
17725 |
+
};
|
17726 |
|
17727 |
+
_this.onKeyDown = function (event) {
|
17728 |
var _this$props7 = _this.props,
|
17729 |
isMulti = _this$props7.isMulti,
|
17730 |
backspaceRemovesValue = _this$props7.backspaceRemovesValue,
|
17901 |
}
|
17902 |
|
17903 |
event.preventDefault();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17904 |
};
|
17905 |
|
17906 |
+
_this.buildMenuOptions = function (props, selectValue) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17907 |
var _props$inputValue = props.inputValue,
|
17908 |
inputValue = _props$inputValue === void 0 ? '' : _props$inputValue,
|
17909 |
options = props.options;
|
17910 |
|
17911 |
var toOption = function toOption(option, id) {
|
17912 |
+
var isDisabled = _this.isOptionDisabled(option, selectValue);
|
17913 |
|
17914 |
+
var isSelected = _this.isOptionSelected(option, selectValue);
|
17915 |
|
17916 |
+
var label = _this.getOptionLabel(option);
|
17917 |
|
17918 |
+
var value = _this.getOptionValue(option);
|
17919 |
|
17920 |
+
if (_this.shouldHideSelectedOptions() && isSelected || !_this.filterOption({
|
17921 |
label: label,
|
17922 |
value: value,
|
17923 |
data: option
|
17926 |
}
|
17927 |
|
17928 |
var onHover = isDisabled ? undefined : function () {
|
17929 |
+
return _this.onOptionHover(option);
|
17930 |
};
|
17931 |
var onSelect = isDisabled ? undefined : function () {
|
17932 |
+
return _this.selectOption(option);
|
17933 |
};
|
17934 |
+
var optionId = _this.getElementId('option') + "-" + id;
|
17935 |
return {
|
17936 |
innerProps: {
|
17937 |
id: optionId,
|
17953 |
return options.reduce(function (acc, item, itemIndex) {
|
17954 |
if (item.options) {
|
17955 |
// TODO needs a tidier implementation
|
17956 |
+
if (!_this.hasGroups) _this.hasGroups = true;
|
17957 |
var items = item.options;
|
17958 |
var children = items.map(function (child, i) {
|
17959 |
+
var option = toOption(child, itemIndex + "-" + i);
|
17960 |
if (option) acc.focusable.push(child);
|
17961 |
return option;
|
17962 |
}).filter(Boolean);
|
17963 |
|
17964 |
if (children.length) {
|
17965 |
+
var groupId = _this.getElementId('group') + "-" + itemIndex;
|
17966 |
acc.render.push({
|
17967 |
type: 'group',
|
17968 |
key: groupId,
|
17971 |
});
|
17972 |
}
|
17973 |
} else {
|
17974 |
+
var option = toOption(item, "" + itemIndex);
|
17975 |
|
17976 |
if (option) {
|
17977 |
acc.render.push(option);
|
17984 |
render: [],
|
17985 |
focusable: []
|
17986 |
});
|
17987 |
+
};
|
|
|
|
|
17988 |
|
17989 |
+
var _value = _props.value;
|
17990 |
+
_this.cacheComponents = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.cacheComponents, __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */]).bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
17991 |
+
|
17992 |
+
_this.cacheComponents(_props.components);
|
17993 |
+
|
17994 |
+
_this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
|
17995 |
+
|
17996 |
+
var _selectValue = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["e"])(_value);
|
17997 |
+
|
17998 |
+
_this.buildMenuOptions = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.buildMenuOptions, function (newArgs, lastArgs) {
|
17999 |
+
var _ref6 = newArgs,
|
18000 |
+
newProps = _ref6[0],
|
18001 |
+
newSelectValue = _ref6[1];
|
18002 |
+
var _ref7 = lastArgs,
|
18003 |
+
lastProps = _ref7[0],
|
18004 |
+
lastSelectValue = _ref7[1];
|
18005 |
+
return Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */])(newSelectValue, lastSelectValue) && Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */])(newProps.inputValue, lastProps.inputValue) && Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */])(newProps.options, lastProps.options);
|
18006 |
+
}).bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
18007 |
+
|
18008 |
+
var _menuOptions = _props.menuIsOpen ? _this.buildMenuOptions(_props, _selectValue) : {
|
18009 |
+
render: [],
|
18010 |
+
focusable: []
|
18011 |
+
};
|
18012 |
+
|
18013 |
+
_this.state.menuOptions = _menuOptions;
|
18014 |
+
_this.state.selectValue = _selectValue;
|
18015 |
+
return _this;
|
18016 |
+
}
|
18017 |
+
|
18018 |
+
var _proto = Select.prototype;
|
18019 |
+
|
18020 |
+
_proto.componentDidMount = function componentDidMount() {
|
18021 |
+
this.startListeningComposition();
|
18022 |
+
this.startListeningToTouch();
|
18023 |
+
|
18024 |
+
if (this.props.closeMenuOnScroll && document && document.addEventListener) {
|
18025 |
+
// Listen to all scroll events, and filter them out inside of 'onScroll'
|
18026 |
+
document.addEventListener('scroll', this.onScroll, true);
|
18027 |
+
}
|
18028 |
|
18029 |
+
if (this.props.autoFocus) {
|
18030 |
+
this.focusInput();
|
18031 |
+
}
|
18032 |
+
};
|
18033 |
+
|
18034 |
+
_proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {
|
18035 |
+
var _this$props8 = this.props,
|
18036 |
+
options = _this$props8.options,
|
18037 |
+
value = _this$props8.value,
|
18038 |
+
menuIsOpen = _this$props8.menuIsOpen,
|
18039 |
+
inputValue = _this$props8.inputValue; // re-cache custom components
|
18040 |
+
|
18041 |
+
this.cacheComponents(nextProps.components); // rebuild the menu options
|
18042 |
+
|
18043 |
+
if (nextProps.value !== value || nextProps.options !== options || nextProps.menuIsOpen !== menuIsOpen || nextProps.inputValue !== inputValue) {
|
18044 |
+
var selectValue = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["e"])(nextProps.value);
|
18045 |
+
var menuOptions = nextProps.menuIsOpen ? this.buildMenuOptions(nextProps, selectValue) : {
|
18046 |
+
render: [],
|
18047 |
+
focusable: []
|
18048 |
+
};
|
18049 |
+
var focusedValue = this.getNextFocusedValue(selectValue);
|
18050 |
+
var focusedOption = this.getNextFocusedOption(menuOptions.focusable);
|
18051 |
+
this.setState({
|
18052 |
+
menuOptions: menuOptions,
|
18053 |
+
selectValue: selectValue,
|
18054 |
focusedOption: focusedOption,
|
18055 |
+
focusedValue: focusedValue
|
18056 |
+
});
|
18057 |
+
} // some updates should toggle the state of the input visibility
|
18058 |
|
18059 |
+
|
18060 |
+
if (this.inputIsHiddenAfterUpdate != null) {
|
18061 |
+
this.setState({
|
18062 |
+
inputIsHidden: this.inputIsHiddenAfterUpdate
|
|
|
18063 |
});
|
18064 |
+
delete this.inputIsHiddenAfterUpdate;
|
18065 |
}
|
18066 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18067 |
|
18068 |
+
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|
18069 |
+
var _this$props9 = this.props,
|
18070 |
+
isDisabled = _this$props9.isDisabled,
|
18071 |
+
menuIsOpen = _this$props9.menuIsOpen;
|
18072 |
+
var isFocused = this.state.isFocused;
|
18073 |
|
18074 |
+
if ( // ensure focus is restored correctly when the control becomes enabled
|
18075 |
+
isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens
|
18076 |
+
isFocused && menuIsOpen && !prevProps.menuIsOpen) {
|
18077 |
+
this.focusInput();
|
18078 |
+
} // scroll the focused option into view if necessary
|
18079 |
+
|
18080 |
+
|
18081 |
+
if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {
|
18082 |
+
Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["f"])(this.menuListRef, this.focusedOptionRef);
|
18083 |
+
this.scrollToFocusedOptionOnUpdate = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18084 |
}
|
18085 |
+
};
|
18086 |
+
|
18087 |
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
18088 |
+
this.stopListeningComposition();
|
18089 |
+
this.stopListeningToTouch();
|
18090 |
+
document.removeEventListener('scroll', this.onScroll, true);
|
18091 |
+
};
|
18092 |
+
|
18093 |
+
// ==============================
|
18094 |
+
// Consumer Handlers
|
18095 |
+
// ==============================
|
18096 |
+
_proto.onMenuOpen = function onMenuOpen() {
|
18097 |
+
this.props.onMenuOpen();
|
18098 |
+
};
|
18099 |
+
|
18100 |
+
_proto.onMenuClose = function onMenuClose() {
|
18101 |
+
var _this$props10 = this.props,
|
18102 |
+
isSearchable = _this$props10.isSearchable,
|
18103 |
+
isMulti = _this$props10.isMulti;
|
18104 |
+
this.announceAriaLiveContext({
|
18105 |
+
event: 'input',
|
18106 |
+
context: {
|
18107 |
+
isSearchable: isSearchable,
|
18108 |
+
isMulti: isMulti
|
|
|
|
|
|
|
|
|
|
|
|
|
18109 |
}
|
18110 |
+
});
|
18111 |
+
this.onInputChange('', {
|
18112 |
+
action: 'menu-close'
|
18113 |
+
});
|
18114 |
+
this.props.onMenuClose();
|
18115 |
+
};
|
18116 |
|
18117 |
+
_proto.onInputChange = function onInputChange(newValue, actionMeta) {
|
18118 |
+
this.props.onInputChange(newValue, actionMeta);
|
18119 |
+
} // ==============================
|
18120 |
+
// Methods
|
18121 |
+
// ==============================
|
18122 |
+
;
|
18123 |
+
|
18124 |
+
_proto.focusInput = function focusInput() {
|
18125 |
+
if (!this.inputRef) return;
|
18126 |
+
this.inputRef.focus();
|
18127 |
+
};
|
18128 |
+
|
18129 |
+
_proto.blurInput = function blurInput() {
|
18130 |
+
if (!this.inputRef) return;
|
18131 |
+
this.inputRef.blur();
|
18132 |
+
} // aliased for consumers
|
18133 |
+
;
|
18134 |
+
|
18135 |
+
_proto.openMenu = function openMenu(focusOption) {
|
18136 |
+
var _this2 = this;
|
18137 |
+
|
18138 |
+
var _this$state3 = this.state,
|
18139 |
+
selectValue = _this$state3.selectValue,
|
18140 |
+
isFocused = _this$state3.isFocused;
|
18141 |
+
var menuOptions = this.buildMenuOptions(this.props, selectValue);
|
18142 |
+
var isMulti = this.props.isMulti;
|
18143 |
+
var openAtIndex = focusOption === 'first' ? 0 : menuOptions.focusable.length - 1;
|
18144 |
+
|
18145 |
+
if (!isMulti) {
|
18146 |
+
var selectedIndex = menuOptions.focusable.indexOf(selectValue[0]);
|
18147 |
+
|
18148 |
+
if (selectedIndex > -1) {
|
18149 |
+
openAtIndex = selectedIndex;
|
18150 |
}
|
18151 |
+
} // only scroll if the menu isn't already open
|
18152 |
|
18153 |
+
|
18154 |
+
this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);
|
18155 |
+
this.inputIsHiddenAfterUpdate = false;
|
18156 |
+
this.setState({
|
18157 |
+
menuOptions: menuOptions,
|
18158 |
+
focusedValue: null,
|
18159 |
+
focusedOption: menuOptions.focusable[openAtIndex]
|
18160 |
+
}, function () {
|
18161 |
+
_this2.onMenuOpen();
|
18162 |
+
|
18163 |
+
_this2.announceAriaLiveContext({
|
18164 |
+
event: 'menu'
|
18165 |
+
});
|
18166 |
+
});
|
18167 |
+
};
|
18168 |
+
|
18169 |
+
_proto.focusValue = function focusValue(direction) {
|
18170 |
+
var _this$props11 = this.props,
|
18171 |
+
isMulti = _this$props11.isMulti,
|
18172 |
+
isSearchable = _this$props11.isSearchable;
|
18173 |
+
var _this$state4 = this.state,
|
18174 |
+
selectValue = _this$state4.selectValue,
|
18175 |
+
focusedValue = _this$state4.focusedValue; // Only multiselects support value focusing
|
18176 |
+
|
18177 |
+
if (!isMulti) return;
|
18178 |
+
this.setState({
|
18179 |
+
focusedOption: null
|
18180 |
+
});
|
18181 |
+
var focusedIndex = selectValue.indexOf(focusedValue);
|
18182 |
+
|
18183 |
+
if (!focusedValue) {
|
18184 |
+
focusedIndex = -1;
|
18185 |
+
this.announceAriaLiveContext({
|
18186 |
+
event: 'value'
|
18187 |
+
});
|
18188 |
+
}
|
18189 |
+
|
18190 |
+
var lastIndex = selectValue.length - 1;
|
18191 |
+
var nextFocus = -1;
|
18192 |
+
if (!selectValue.length) return;
|
18193 |
+
|
18194 |
+
switch (direction) {
|
18195 |
+
case 'previous':
|
18196 |
+
if (focusedIndex === 0) {
|
18197 |
+
// don't cycle from the start to the end
|
18198 |
+
nextFocus = 0;
|
18199 |
+
} else if (focusedIndex === -1) {
|
18200 |
+
// if nothing is focused, focus the last value first
|
18201 |
+
nextFocus = lastIndex;
|
18202 |
+
} else {
|
18203 |
+
nextFocus = focusedIndex - 1;
|
18204 |
+
}
|
18205 |
+
|
18206 |
+
break;
|
18207 |
+
|
18208 |
+
case 'next':
|
18209 |
+
if (focusedIndex > -1 && focusedIndex < lastIndex) {
|
18210 |
+
nextFocus = focusedIndex + 1;
|
18211 |
+
}
|
18212 |
+
|
18213 |
+
break;
|
18214 |
+
}
|
18215 |
+
|
18216 |
+
if (nextFocus === -1) {
|
18217 |
+
this.announceAriaLiveContext({
|
18218 |
+
event: 'input',
|
18219 |
+
context: {
|
18220 |
+
isSearchable: isSearchable,
|
18221 |
+
isMulti: isMulti
|
18222 |
+
}
|
18223 |
+
});
|
18224 |
+
}
|
18225 |
+
|
18226 |
+
this.setState({
|
18227 |
+
inputIsHidden: nextFocus !== -1,
|
18228 |
+
focusedValue: selectValue[nextFocus]
|
18229 |
+
});
|
18230 |
+
};
|
18231 |
+
|
18232 |
+
_proto.focusOption = function focusOption(direction) {
|
18233 |
+
if (direction === void 0) {
|
18234 |
+
direction = 'first';
|
18235 |
+
}
|
18236 |
+
|
18237 |
+
var pageSize = this.props.pageSize;
|
18238 |
+
var _this$state5 = this.state,
|
18239 |
+
focusedOption = _this$state5.focusedOption,
|
18240 |
+
menuOptions = _this$state5.menuOptions;
|
18241 |
+
var options = menuOptions.focusable;
|
18242 |
+
if (!options.length) return;
|
18243 |
+
var nextFocus = 0; // handles 'first'
|
18244 |
+
|
18245 |
+
var focusedIndex = options.indexOf(focusedOption);
|
18246 |
+
|
18247 |
+
if (!focusedOption) {
|
18248 |
+
focusedIndex = -1;
|
18249 |
+
this.announceAriaLiveContext({
|
18250 |
+
event: 'menu'
|
18251 |
+
});
|
18252 |
+
}
|
18253 |
+
|
18254 |
+
if (direction === 'up') {
|
18255 |
+
nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options.length - 1;
|
18256 |
+
} else if (direction === 'down') {
|
18257 |
+
nextFocus = (focusedIndex + 1) % options.length;
|
18258 |
+
} else if (direction === 'pageup') {
|
18259 |
+
nextFocus = focusedIndex - pageSize;
|
18260 |
+
if (nextFocus < 0) nextFocus = 0;
|
18261 |
+
} else if (direction === 'pagedown') {
|
18262 |
+
nextFocus = focusedIndex + pageSize;
|
18263 |
+
if (nextFocus > options.length - 1) nextFocus = options.length - 1;
|
18264 |
+
} else if (direction === 'last') {
|
18265 |
+
nextFocus = options.length - 1;
|
18266 |
+
}
|
18267 |
+
|
18268 |
+
this.scrollToFocusedOptionOnUpdate = true;
|
18269 |
+
this.setState({
|
18270 |
+
focusedOption: options[nextFocus],
|
18271 |
+
focusedValue: null
|
18272 |
+
});
|
18273 |
+
this.announceAriaLiveContext({
|
18274 |
+
event: 'menu',
|
18275 |
+
context: {
|
18276 |
+
isDisabled: isOptionDisabled(options[nextFocus])
|
18277 |
}
|
18278 |
+
});
|
18279 |
+
};
|
18280 |
+
|
18281 |
+
// ==============================
|
18282 |
+
// Getters
|
18283 |
+
// ==============================
|
18284 |
+
_proto.getTheme = function getTheme() {
|
18285 |
+
// Use the default theme if there are no customizations.
|
18286 |
+
if (!this.props.theme) {
|
18287 |
+
return defaultTheme;
|
18288 |
+
} // If the theme prop is a function, assume the function
|
18289 |
+
// knows how to merge the passed-in default theme with
|
18290 |
+
// its own modifications.
|
18291 |
+
|
18292 |
|
18293 |
+
if (typeof this.props.theme === 'function') {
|
18294 |
+
return this.props.theme(defaultTheme);
|
18295 |
+
} // Otherwise, if a plain theme object was passed in,
|
18296 |
+
// overlay it with the default theme.
|
18297 |
+
|
18298 |
+
|
18299 |
+
return _extends$4({}, defaultTheme, this.props.theme);
|
18300 |
+
};
|
18301 |
+
|
18302 |
+
_proto.getCommonProps = function getCommonProps() {
|
18303 |
+
var clearValue = this.clearValue,
|
18304 |
+
getStyles = this.getStyles,
|
18305 |
+
setValue = this.setValue,
|
18306 |
+
selectOption = this.selectOption,
|
18307 |
+
props = this.props;
|
18308 |
+
var classNamePrefix = props.classNamePrefix,
|
18309 |
+
isMulti = props.isMulti,
|
18310 |
+
isRtl = props.isRtl,
|
18311 |
+
options = props.options;
|
18312 |
+
var selectValue = this.state.selectValue;
|
18313 |
+
var hasValue = this.hasValue();
|
18314 |
+
|
18315 |
+
var getValue = function getValue() {
|
18316 |
+
return selectValue;
|
18317 |
+
};
|
18318 |
+
|
18319 |
+
var cx = __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["h"].bind(null, classNamePrefix);
|
18320 |
+
return {
|
18321 |
+
cx: cx,
|
18322 |
+
clearValue: clearValue,
|
18323 |
+
getStyles: getStyles,
|
18324 |
+
getValue: getValue,
|
18325 |
+
hasValue: hasValue,
|
18326 |
+
isMulti: isMulti,
|
18327 |
+
isRtl: isRtl,
|
18328 |
+
options: options,
|
18329 |
+
selectOption: selectOption,
|
18330 |
+
setValue: setValue,
|
18331 |
+
selectProps: props,
|
18332 |
+
theme: this.getTheme()
|
18333 |
+
};
|
18334 |
+
};
|
18335 |
+
|
18336 |
+
_proto.getNextFocusedValue = function getNextFocusedValue(nextSelectValue) {
|
18337 |
+
if (this.clearFocusValueOnUpdate) {
|
18338 |
+
this.clearFocusValueOnUpdate = false;
|
18339 |
+
return null;
|
18340 |
}
|
18341 |
+
|
18342 |
+
var _this$state6 = this.state,
|
18343 |
+
focusedValue = _this$state6.focusedValue,
|
18344 |
+
lastSelectValue = _this$state6.selectValue;
|
18345 |
+
var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);
|
18346 |
+
|
18347 |
+
if (lastFocusedIndex > -1) {
|
18348 |
+
var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);
|
18349 |
+
|
18350 |
+
if (nextFocusedIndex > -1) {
|
18351 |
+
// the focused value is still in the selectValue, return it
|
18352 |
+
return focusedValue;
|
18353 |
+
} else if (lastFocusedIndex < nextSelectValue.length) {
|
18354 |
+
// the focusedValue is not present in the next selectValue array by
|
18355 |
+
// reference, so return the new value at the same index
|
18356 |
+
return nextSelectValue[lastFocusedIndex];
|
18357 |
}
|
18358 |
+
}
|
18359 |
|
18360 |
+
return null;
|
18361 |
+
};
|
18362 |
+
|
18363 |
+
_proto.getNextFocusedOption = function getNextFocusedOption(options) {
|
18364 |
+
var lastFocusedOption = this.state.focusedOption;
|
18365 |
+
return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
|
18366 |
+
};
|
18367 |
+
|
18368 |
+
_proto.hasValue = function hasValue() {
|
18369 |
+
var selectValue = this.state.selectValue;
|
18370 |
+
return selectValue.length > 0;
|
18371 |
+
};
|
18372 |
+
|
18373 |
+
_proto.hasOptions = function hasOptions() {
|
18374 |
+
return !!this.state.menuOptions.render.length;
|
18375 |
+
};
|
18376 |
+
|
18377 |
+
_proto.countOptions = function countOptions() {
|
18378 |
+
return this.state.menuOptions.focusable.length;
|
18379 |
+
};
|
18380 |
+
|
18381 |
+
_proto.isClearable = function isClearable() {
|
18382 |
+
var _this$props12 = this.props,
|
18383 |
+
isClearable = _this$props12.isClearable,
|
18384 |
+
isMulti = _this$props12.isMulti; // single select, by default, IS NOT clearable
|
18385 |
+
// multi select, by default, IS clearable
|
18386 |
+
|
18387 |
+
if (isClearable === undefined) return isMulti;
|
18388 |
+
return isClearable;
|
18389 |
+
};
|
18390 |
+
|
18391 |
+
_proto.isOptionDisabled = function isOptionDisabled(option, selectValue) {
|
18392 |
+
return typeof this.props.isOptionDisabled === 'function' ? this.props.isOptionDisabled(option, selectValue) : false;
|
18393 |
+
};
|
18394 |
+
|
18395 |
+
_proto.isOptionSelected = function isOptionSelected(option, selectValue) {
|
18396 |
+
var _this3 = this;
|
18397 |
+
|
18398 |
+
if (selectValue.indexOf(option) > -1) return true;
|
18399 |
+
|
18400 |
+
if (typeof this.props.isOptionSelected === 'function') {
|
18401 |
+
return this.props.isOptionSelected(option, selectValue);
|
18402 |
}
|
18403 |
+
|
18404 |
+
var candidate = this.getOptionValue(option);
|
18405 |
+
return selectValue.some(function (i) {
|
18406 |
+
return _this3.getOptionValue(i) === candidate;
|
18407 |
+
});
|
18408 |
+
};
|
18409 |
+
|
18410 |
+
_proto.filterOption = function filterOption(option, inputValue) {
|
18411 |
+
return this.props.filterOption ? this.props.filterOption(option, inputValue) : true;
|
18412 |
+
};
|
18413 |
+
|
18414 |
+
_proto.formatOptionLabel = function formatOptionLabel(data, context) {
|
18415 |
+
if (typeof this.props.formatOptionLabel === 'function') {
|
18416 |
+
var inputValue = this.props.inputValue;
|
18417 |
+
var selectValue = this.state.selectValue;
|
18418 |
+
return this.props.formatOptionLabel(data, {
|
18419 |
+
context: context,
|
18420 |
+
inputValue: inputValue,
|
18421 |
+
selectValue: selectValue
|
18422 |
+
});
|
18423 |
+
} else {
|
18424 |
+
return this.getOptionLabel(data);
|
18425 |
}
|
18426 |
+
};
|
18427 |
+
|
18428 |
+
_proto.formatGroupLabel = function formatGroupLabel(data) {
|
18429 |
+
return this.props.formatGroupLabel(data);
|
18430 |
+
} // ==============================
|
18431 |
+
// Mouse Handlers
|
18432 |
+
// ==============================
|
18433 |
+
;
|
18434 |
+
|
18435 |
+
// ==============================
|
18436 |
+
// Composition Handlers
|
18437 |
+
// ==============================
|
18438 |
+
_proto.startListeningComposition = function startListeningComposition() {
|
18439 |
+
if (document && document.addEventListener) {
|
18440 |
+
document.addEventListener('compositionstart', this.onCompositionStart, false);
|
18441 |
+
document.addEventListener('compositionend', this.onCompositionEnd, false);
|
18442 |
+
}
|
18443 |
+
};
|
18444 |
+
|
18445 |
+
_proto.stopListeningComposition = function stopListeningComposition() {
|
18446 |
+
if (document && document.removeEventListener) {
|
18447 |
+
document.removeEventListener('compositionstart', this.onCompositionStart);
|
18448 |
+
document.removeEventListener('compositionend', this.onCompositionEnd);
|
18449 |
+
}
|
18450 |
+
};
|
18451 |
+
|
18452 |
+
// ==============================
|
18453 |
+
// Touch Handlers
|
18454 |
+
// ==============================
|
18455 |
+
_proto.startListeningToTouch = function startListeningToTouch() {
|
18456 |
+
if (document && document.addEventListener) {
|
18457 |
+
document.addEventListener('touchstart', this.onTouchStart, false);
|
18458 |
+
document.addEventListener('touchmove', this.onTouchMove, false);
|
18459 |
+
document.addEventListener('touchend', this.onTouchEnd, false);
|
18460 |
+
}
|
18461 |
+
};
|
18462 |
+
|
18463 |
+
_proto.stopListeningToTouch = function stopListeningToTouch() {
|
18464 |
+
if (document && document.removeEventListener) {
|
18465 |
+
document.removeEventListener('touchstart', this.onTouchStart);
|
18466 |
+
document.removeEventListener('touchmove', this.onTouchMove);
|
18467 |
+
document.removeEventListener('touchend', this.onTouchEnd);
|
18468 |
+
}
|
18469 |
+
};
|
18470 |
+
|
18471 |
+
// ==============================
|
18472 |
+
// Renderers
|
18473 |
+
// ==============================
|
18474 |
+
_proto.constructAriaLiveMessage = function constructAriaLiveMessage() {
|
18475 |
+
var _this$state7 = this.state,
|
18476 |
+
ariaLiveContext = _this$state7.ariaLiveContext,
|
18477 |
+
selectValue = _this$state7.selectValue,
|
18478 |
+
focusedValue = _this$state7.focusedValue,
|
18479 |
+
focusedOption = _this$state7.focusedOption;
|
18480 |
+
var _this$props13 = this.props,
|
18481 |
+
options = _this$props13.options,
|
18482 |
+
menuIsOpen = _this$props13.menuIsOpen,
|
18483 |
+
inputValue = _this$props13.inputValue,
|
18484 |
+
screenReaderStatus = _this$props13.screenReaderStatus; // An aria live message representing the currently focused value in the select.
|
18485 |
+
|
18486 |
+
var focusedValueMsg = focusedValue ? valueFocusAriaMessage({
|
18487 |
+
focusedValue: focusedValue,
|
18488 |
+
getOptionLabel: this.getOptionLabel,
|
18489 |
+
selectValue: selectValue
|
18490 |
+
}) : ''; // An aria live message representing the currently focused option in the select.
|
18491 |
+
|
18492 |
+
var focusedOptionMsg = focusedOption && menuIsOpen ? optionFocusAriaMessage({
|
18493 |
+
focusedOption: focusedOption,
|
18494 |
+
getOptionLabel: this.getOptionLabel,
|
18495 |
+
options: options
|
18496 |
+
}) : ''; // An aria live message representing the set of focusable results and current searchterm/inputvalue.
|
18497 |
+
|
18498 |
+
var resultsMsg = resultsAriaMessage({
|
18499 |
+
inputValue: inputValue,
|
18500 |
+
screenReaderMessage: screenReaderStatus({
|
18501 |
+
count: this.countOptions()
|
18502 |
+
})
|
18503 |
+
});
|
18504 |
+
return focusedValueMsg + " " + focusedOptionMsg + " " + resultsMsg + " " + ariaLiveContext;
|
18505 |
+
};
|
18506 |
+
|
18507 |
+
_proto.renderInput = function renderInput() {
|
18508 |
+
var _this$props14 = this.props,
|
18509 |
+
isDisabled = _this$props14.isDisabled,
|
18510 |
+
isSearchable = _this$props14.isSearchable,
|
18511 |
+
inputId = _this$props14.inputId,
|
18512 |
+
inputValue = _this$props14.inputValue,
|
18513 |
+
tabIndex = _this$props14.tabIndex;
|
18514 |
+
var Input = this.components.Input;
|
18515 |
+
var inputIsHidden = this.state.inputIsHidden;
|
18516 |
+
var id = inputId || this.getElementId('input'); // aria attributes makes the JSX "noisy", separated for clarity
|
18517 |
+
|
18518 |
+
var ariaAttributes = {
|
18519 |
+
'aria-autocomplete': 'list',
|
18520 |
+
'aria-label': this.props['aria-label'],
|
18521 |
+
'aria-labelledby': this.props['aria-labelledby']
|
18522 |
+
};
|
18523 |
+
|
18524 |
+
if (!isSearchable) {
|
18525 |
+
// use a dummy input to maintain focus/blur functionality
|
18526 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(DummyInput, _extends$4({
|
18527 |
+
id: id,
|
18528 |
+
innerRef: this.getInputRef,
|
18529 |
+
onBlur: this.onInputBlur,
|
18530 |
+
onChange: __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["k" /* n */],
|
18531 |
+
onFocus: this.onInputFocus,
|
18532 |
+
readOnly: true,
|
18533 |
+
disabled: isDisabled,
|
18534 |
+
tabIndex: tabIndex,
|
18535 |
+
value: ""
|
18536 |
+
}, ariaAttributes));
|
18537 |
}
|
18538 |
+
|
18539 |
+
var _this$commonProps = this.commonProps,
|
18540 |
+
cx = _this$commonProps.cx,
|
18541 |
+
theme = _this$commonProps.theme,
|
18542 |
+
selectProps = _this$commonProps.selectProps;
|
18543 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Input, _extends$4({
|
18544 |
+
autoCapitalize: "none",
|
18545 |
+
autoComplete: "off",
|
18546 |
+
autoCorrect: "off",
|
18547 |
+
cx: cx,
|
18548 |
+
getStyles: this.getStyles,
|
18549 |
+
id: id,
|
18550 |
+
innerRef: this.getInputRef,
|
18551 |
+
isDisabled: isDisabled,
|
18552 |
+
isHidden: inputIsHidden,
|
18553 |
+
onBlur: this.onInputBlur,
|
18554 |
+
onChange: this.handleInputChange,
|
18555 |
+
onFocus: this.onInputFocus,
|
18556 |
+
selectProps: selectProps,
|
18557 |
+
spellCheck: "false",
|
18558 |
+
tabIndex: tabIndex,
|
18559 |
+
theme: theme,
|
18560 |
+
type: "text",
|
18561 |
+
value: inputValue
|
18562 |
+
}, ariaAttributes));
|
18563 |
+
};
|
18564 |
+
|
18565 |
+
_proto.renderPlaceholderOrValue = function renderPlaceholderOrValue() {
|
18566 |
+
var _this4 = this;
|
18567 |
+
|
18568 |
+
var _this$components = this.components,
|
18569 |
+
MultiValue = _this$components.MultiValue,
|
18570 |
+
MultiValueContainer = _this$components.MultiValueContainer,
|
18571 |
+
MultiValueLabel = _this$components.MultiValueLabel,
|
18572 |
+
MultiValueRemove = _this$components.MultiValueRemove,
|
18573 |
+
SingleValue = _this$components.SingleValue,
|
18574 |
+
Placeholder = _this$components.Placeholder;
|
18575 |
+
var commonProps = this.commonProps;
|
18576 |
+
var _this$props15 = this.props,
|
18577 |
+
controlShouldRenderValue = _this$props15.controlShouldRenderValue,
|
18578 |
+
isDisabled = _this$props15.isDisabled,
|
18579 |
+
isMulti = _this$props15.isMulti,
|
18580 |
+
inputValue = _this$props15.inputValue,
|
18581 |
+
placeholder = _this$props15.placeholder;
|
18582 |
+
var _this$state8 = this.state,
|
18583 |
+
selectValue = _this$state8.selectValue,
|
18584 |
+
focusedValue = _this$state8.focusedValue,
|
18585 |
+
isFocused = _this$state8.isFocused;
|
18586 |
+
|
18587 |
+
if (!this.hasValue() || !controlShouldRenderValue) {
|
18588 |
+
return inputValue ? null : __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Placeholder, _extends$4({}, commonProps, {
|
18589 |
+
key: "placeholder",
|
18590 |
isDisabled: isDisabled,
|
18591 |
isFocused: isFocused
|
18592 |
+
}), placeholder);
|
18593 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18594 |
|
18595 |
+
if (isMulti) {
|
18596 |
+
var selectValues = selectValue.map(function (opt, index) {
|
18597 |
+
var isOptionFocused = opt === focusedValue;
|
18598 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MultiValue, _extends$4({}, commonProps, {
|
18599 |
+
components: {
|
18600 |
+
Container: MultiValueContainer,
|
18601 |
+
Label: MultiValueLabel,
|
18602 |
+
Remove: MultiValueRemove
|
18603 |
+
},
|
18604 |
+
isFocused: isOptionFocused,
|
18605 |
+
isDisabled: isDisabled,
|
18606 |
+
key: _this4.getOptionValue(opt),
|
18607 |
+
index: index,
|
18608 |
+
removeProps: {
|
18609 |
+
onClick: function onClick() {
|
18610 |
+
return _this4.removeValue(opt);
|
18611 |
+
},
|
18612 |
+
onTouchEnd: function onTouchEnd() {
|
18613 |
+
return _this4.removeValue(opt);
|
18614 |
+
},
|
18615 |
+
onMouseDown: function onMouseDown(e) {
|
18616 |
+
e.preventDefault();
|
18617 |
+
e.stopPropagation();
|
18618 |
+
}
|
18619 |
+
},
|
18620 |
+
data: opt
|
18621 |
+
}), _this4.formatOptionLabel(opt, 'value'));
|
18622 |
+
});
|
18623 |
+
return selectValues;
|
18624 |
+
}
|
|
|
|
|
18625 |
|
18626 |
+
if (inputValue) {
|
18627 |
+
return null;
|
18628 |
+
}
|
18629 |
|
18630 |
+
var singleValue = selectValue[0];
|
18631 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(SingleValue, _extends$4({}, commonProps, {
|
18632 |
+
data: singleValue,
|
18633 |
+
isDisabled: isDisabled
|
18634 |
+
}), this.formatOptionLabel(singleValue, 'value'));
|
18635 |
+
};
|
18636 |
+
|
18637 |
+
_proto.renderClearIndicator = function renderClearIndicator() {
|
18638 |
+
var ClearIndicator = this.components.ClearIndicator;
|
18639 |
+
var commonProps = this.commonProps;
|
18640 |
+
var _this$props16 = this.props,
|
18641 |
+
isDisabled = _this$props16.isDisabled,
|
18642 |
+
isLoading = _this$props16.isLoading;
|
18643 |
+
var isFocused = this.state.isFocused;
|
18644 |
+
|
18645 |
+
if (!this.isClearable() || !ClearIndicator || isDisabled || !this.hasValue() || isLoading) {
|
18646 |
+
return null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18647 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18648 |
|
18649 |
+
var innerProps = {
|
18650 |
+
onMouseDown: this.onClearIndicatorMouseDown,
|
18651 |
+
onTouchEnd: this.onClearIndicatorTouchEnd,
|
18652 |
+
'aria-hidden': 'true'
|
18653 |
+
};
|
18654 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ClearIndicator, _extends$4({}, commonProps, {
|
18655 |
+
innerProps: innerProps,
|
18656 |
+
isFocused: isFocused
|
18657 |
+
}));
|
18658 |
+
};
|
18659 |
+
|
18660 |
+
_proto.renderLoadingIndicator = function renderLoadingIndicator() {
|
18661 |
+
var LoadingIndicator = this.components.LoadingIndicator;
|
18662 |
+
var commonProps = this.commonProps;
|
18663 |
+
var _this$props17 = this.props,
|
18664 |
+
isDisabled = _this$props17.isDisabled,
|
18665 |
+
isLoading = _this$props17.isLoading;
|
18666 |
+
var isFocused = this.state.isFocused;
|
18667 |
+
if (!LoadingIndicator || !isLoading) return null;
|
18668 |
+
var innerProps = {
|
18669 |
+
'aria-hidden': 'true'
|
18670 |
+
};
|
18671 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(LoadingIndicator, _extends$4({}, commonProps, {
|
18672 |
+
innerProps: innerProps,
|
18673 |
+
isDisabled: isDisabled,
|
18674 |
+
isFocused: isFocused
|
18675 |
+
}));
|
18676 |
+
};
|
18677 |
+
|
18678 |
+
_proto.renderIndicatorSeparator = function renderIndicatorSeparator() {
|
18679 |
+
var _this$components2 = this.components,
|
18680 |
+
DropdownIndicator = _this$components2.DropdownIndicator,
|
18681 |
+
IndicatorSeparator = _this$components2.IndicatorSeparator; // separator doesn't make sense without the dropdown indicator
|
18682 |
+
|
18683 |
+
if (!DropdownIndicator || !IndicatorSeparator) return null;
|
18684 |
+
var commonProps = this.commonProps;
|
18685 |
+
var isDisabled = this.props.isDisabled;
|
18686 |
+
var isFocused = this.state.isFocused;
|
18687 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(IndicatorSeparator, _extends$4({}, commonProps, {
|
18688 |
+
isDisabled: isDisabled,
|
18689 |
+
isFocused: isFocused
|
18690 |
+
}));
|
18691 |
+
};
|
18692 |
+
|
18693 |
+
_proto.renderDropdownIndicator = function renderDropdownIndicator() {
|
18694 |
+
var DropdownIndicator = this.components.DropdownIndicator;
|
18695 |
+
if (!DropdownIndicator) return null;
|
18696 |
+
var commonProps = this.commonProps;
|
18697 |
+
var isDisabled = this.props.isDisabled;
|
18698 |
+
var isFocused = this.state.isFocused;
|
18699 |
+
var innerProps = {
|
18700 |
+
onMouseDown: this.onDropdownIndicatorMouseDown,
|
18701 |
+
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
18702 |
+
'aria-hidden': 'true'
|
18703 |
+
};
|
18704 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(DropdownIndicator, _extends$4({}, commonProps, {
|
18705 |
+
innerProps: innerProps,
|
18706 |
+
isDisabled: isDisabled,
|
18707 |
+
isFocused: isFocused
|
18708 |
+
}));
|
18709 |
+
};
|
18710 |
+
|
18711 |
+
_proto.renderMenu = function renderMenu() {
|
18712 |
+
var _this5 = this;
|
18713 |
+
|
18714 |
+
var _this$components3 = this.components,
|
18715 |
+
Group = _this$components3.Group,
|
18716 |
+
GroupHeading = _this$components3.GroupHeading,
|
18717 |
+
Menu = _this$components3.Menu,
|
18718 |
+
MenuList = _this$components3.MenuList,
|
18719 |
+
MenuPortal = _this$components3.MenuPortal,
|
18720 |
+
LoadingMessage = _this$components3.LoadingMessage,
|
18721 |
+
NoOptionsMessage = _this$components3.NoOptionsMessage,
|
18722 |
+
Option = _this$components3.Option;
|
18723 |
+
var commonProps = this.commonProps;
|
18724 |
+
var _this$state9 = this.state,
|
18725 |
+
focusedOption = _this$state9.focusedOption,
|
18726 |
+
menuOptions = _this$state9.menuOptions;
|
18727 |
+
var _this$props18 = this.props,
|
18728 |
+
captureMenuScroll = _this$props18.captureMenuScroll,
|
18729 |
+
inputValue = _this$props18.inputValue,
|
18730 |
+
isLoading = _this$props18.isLoading,
|
18731 |
+
loadingMessage = _this$props18.loadingMessage,
|
18732 |
+
minMenuHeight = _this$props18.minMenuHeight,
|
18733 |
+
maxMenuHeight = _this$props18.maxMenuHeight,
|
18734 |
+
menuIsOpen = _this$props18.menuIsOpen,
|
18735 |
+
menuPlacement = _this$props18.menuPlacement,
|
18736 |
+
menuPosition = _this$props18.menuPosition,
|
18737 |
+
menuPortalTarget = _this$props18.menuPortalTarget,
|
18738 |
+
menuShouldBlockScroll = _this$props18.menuShouldBlockScroll,
|
18739 |
+
menuShouldScrollIntoView = _this$props18.menuShouldScrollIntoView,
|
18740 |
+
noOptionsMessage = _this$props18.noOptionsMessage,
|
18741 |
+
onMenuScrollToTop = _this$props18.onMenuScrollToTop,
|
18742 |
+
onMenuScrollToBottom = _this$props18.onMenuScrollToBottom;
|
18743 |
+
if (!menuIsOpen) return null; // TODO: Internal Option Type here
|
18744 |
+
|
18745 |
+
var render = function render(props) {
|
18746 |
+
// for performance, the menu options in state aren't changed when the
|
18747 |
+
// focused option changes so we calculate additional props based on that
|
18748 |
+
var isFocused = focusedOption === props.data;
|
18749 |
+
props.innerRef = isFocused ? _this5.getFocusedOptionRef : undefined;
|
18750 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Option, _extends$4({}, commonProps, props, {
|
18751 |
+
isFocused: isFocused
|
18752 |
+
}), _this5.formatOptionLabel(props.data, 'menu'));
|
18753 |
+
};
|
18754 |
+
|
18755 |
+
var menuUI;
|
18756 |
+
|
18757 |
+
if (this.hasOptions()) {
|
18758 |
+
menuUI = menuOptions.render.map(function (item) {
|
18759 |
+
if (item.type === 'group') {
|
18760 |
+
var type = item.type,
|
18761 |
+
group = _objectWithoutPropertiesLoose$2(item, ["type"]);
|
18762 |
+
|
18763 |
+
var headingId = item.key + "-heading";
|
18764 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Group, _extends$4({}, commonProps, group, {
|
18765 |
+
Heading: GroupHeading,
|
18766 |
+
headingProps: {
|
18767 |
+
id: headingId
|
18768 |
+
},
|
18769 |
+
label: _this5.formatGroupLabel(item.data)
|
18770 |
+
}), item.options.map(function (option) {
|
18771 |
+
return render(option);
|
18772 |
+
}));
|
18773 |
+
} else if (item.type === 'option') {
|
18774 |
+
return render(item);
|
18775 |
}
|
18776 |
+
});
|
18777 |
+
} else if (isLoading) {
|
18778 |
+
var message = loadingMessage({
|
18779 |
+
inputValue: inputValue
|
18780 |
+
});
|
18781 |
+
if (message === null) return null;
|
18782 |
+
menuUI = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(LoadingMessage, commonProps, message);
|
18783 |
+
} else {
|
18784 |
+
var _message = noOptionsMessage({
|
18785 |
+
inputValue: inputValue
|
18786 |
+
});
|
18787 |
+
|
18788 |
+
if (_message === null) return null;
|
18789 |
+
menuUI = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(NoOptionsMessage, commonProps, _message);
|
18790 |
+
}
|
18791 |
|
18792 |
+
var menuPlacementProps = {
|
18793 |
+
minMenuHeight: minMenuHeight,
|
18794 |
+
maxMenuHeight: maxMenuHeight,
|
18795 |
+
menuPlacement: menuPlacement,
|
18796 |
+
menuPosition: menuPosition,
|
18797 |
+
menuShouldScrollIntoView: menuShouldScrollIntoView
|
18798 |
+
};
|
18799 |
+
var menuElement = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["a" /* M */], _extends$4({}, commonProps, menuPlacementProps), function (_ref8) {
|
18800 |
+
var ref = _ref8.ref,
|
18801 |
+
_ref8$placerProps = _ref8.placerProps,
|
18802 |
+
placement = _ref8$placerProps.placement,
|
18803 |
+
maxHeight = _ref8$placerProps.maxHeight;
|
18804 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Menu, _extends$4({}, commonProps, menuPlacementProps, {
|
18805 |
+
innerRef: ref,
|
18806 |
+
innerProps: {
|
18807 |
+
onMouseDown: _this5.onMenuMouseDown,
|
18808 |
+
onMouseMove: _this5.onMenuMouseMove
|
18809 |
+
},
|
18810 |
+
isLoading: isLoading,
|
18811 |
+
placement: placement
|
18812 |
+
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ScrollCaptorSwitch, {
|
18813 |
+
isEnabled: captureMenuScroll,
|
18814 |
+
onTopArrive: onMenuScrollToTop,
|
18815 |
+
onBottomArrive: onMenuScrollToBottom
|
18816 |
+
}, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ScrollBlock, {
|
18817 |
+
isEnabled: menuShouldBlockScroll
|
18818 |
+
}, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MenuList, _extends$4({}, commonProps, {
|
18819 |
+
innerRef: _this5.getMenuListRef,
|
18820 |
+
isLoading: isLoading,
|
18821 |
+
maxHeight: maxHeight
|
18822 |
+
}), menuUI))));
|
18823 |
+
}); // positioning behaviour is almost identical for portalled and fixed,
|
18824 |
+
// so we use the same component. the actual portalling logic is forked
|
18825 |
+
// within the component based on `menuPosition`
|
18826 |
+
|
18827 |
+
return menuPortalTarget || menuPosition === 'fixed' ? __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MenuPortal, _extends$4({}, commonProps, {
|
18828 |
+
appendTo: menuPortalTarget,
|
18829 |
+
controlElement: this.controlRef,
|
18830 |
+
menuPlacement: menuPlacement,
|
18831 |
+
menuPosition: menuPosition
|
18832 |
+
}), menuElement) : menuElement;
|
18833 |
+
};
|
18834 |
+
|
18835 |
+
_proto.renderFormField = function renderFormField() {
|
18836 |
+
var _this6 = this;
|
18837 |
+
|
18838 |
+
var _this$props19 = this.props,
|
18839 |
+
delimiter = _this$props19.delimiter,
|
18840 |
+
isDisabled = _this$props19.isDisabled,
|
18841 |
+
isMulti = _this$props19.isMulti,
|
18842 |
+
name = _this$props19.name;
|
18843 |
+
var selectValue = this.state.selectValue;
|
18844 |
+
if (!name || isDisabled) return;
|
18845 |
+
|
18846 |
+
if (isMulti) {
|
18847 |
+
if (delimiter) {
|
18848 |
+
var value = selectValue.map(function (opt) {
|
18849 |
+
return _this6.getOptionValue(opt);
|
18850 |
+
}).join(delimiter);
|
18851 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
|
18852 |
name: name,
|
18853 |
type: "hidden",
|
18854 |
+
value: value
|
18855 |
+
});
|
18856 |
+
} else {
|
18857 |
+
var input = selectValue.length > 0 ? selectValue.map(function (opt, i) {
|
18858 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
|
18859 |
+
key: "i-" + i,
|
18860 |
+
name: name,
|
18861 |
+
type: "hidden",
|
18862 |
+
value: _this6.getOptionValue(opt)
|
18863 |
+
});
|
18864 |
+
}) : __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
|
18865 |
+
name: name,
|
18866 |
+
type: "hidden"
|
18867 |
});
|
18868 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div", null, input);
|
18869 |
}
|
18870 |
+
} else {
|
18871 |
+
var _value2 = selectValue[0] ? this.getOptionValue(selectValue[0]) : '';
|
18872 |
+
|
18873 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
|
18874 |
+
name: name,
|
18875 |
+
type: "hidden",
|
18876 |
+
value: _value2
|
18877 |
+
});
|
18878 |
}
|
18879 |
+
};
|
18880 |
+
|
18881 |
+
_proto.renderLiveRegion = function renderLiveRegion() {
|
18882 |
+
if (!this.state.isFocused) return null;
|
18883 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(A11yText, {
|
18884 |
+
"aria-live": "polite"
|
18885 |
+
}, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p", {
|
18886 |
+
id: "aria-selection-event"
|
18887 |
+
}, "\xA0", this.state.ariaLiveSelection), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p", {
|
18888 |
+
id: "aria-context"
|
18889 |
+
}, "\xA0", this.constructAriaLiveMessage()));
|
18890 |
+
};
|
18891 |
+
|
18892 |
+
_proto.render = function render() {
|
18893 |
+
var _this$components4 = this.components,
|
18894 |
+
Control = _this$components4.Control,
|
18895 |
+
IndicatorsContainer = _this$components4.IndicatorsContainer,
|
18896 |
+
SelectContainer = _this$components4.SelectContainer,
|
18897 |
+
ValueContainer = _this$components4.ValueContainer;
|
18898 |
+
var _this$props20 = this.props,
|
18899 |
+
className = _this$props20.className,
|
18900 |
+
id = _this$props20.id,
|
18901 |
+
isDisabled = _this$props20.isDisabled,
|
18902 |
+
menuIsOpen = _this$props20.menuIsOpen;
|
18903 |
+
var isFocused = this.state.isFocused;
|
18904 |
+
var commonProps = this.commonProps = this.getCommonProps();
|
18905 |
+
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(SelectContainer, _extends$4({}, commonProps, {
|
18906 |
+
className: className,
|
18907 |
+
innerProps: {
|
18908 |
+
id: id,
|
18909 |
+
onKeyDown: this.onKeyDown
|
18910 |
+
},
|
18911 |
+
isDisabled: isDisabled,
|
18912 |
+
isFocused: isFocused
|
18913 |
+
}), this.renderLiveRegion(), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Control, _extends$4({}, commonProps, {
|
18914 |
+
innerRef: this.getControlRef,
|
18915 |
+
innerProps: {
|
18916 |
+
onMouseDown: this.onControlMouseDown,
|
18917 |
+
onTouchEnd: this.onControlTouchEnd
|
18918 |
+
},
|
18919 |
+
isDisabled: isDisabled,
|
18920 |
+
isFocused: isFocused,
|
18921 |
+
menuIsOpen: menuIsOpen
|
18922 |
+
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ValueContainer, _extends$4({}, commonProps, {
|
18923 |
+
isDisabled: isDisabled
|
18924 |
+
}), this.renderPlaceholderOrValue(), this.renderInput()), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(IndicatorsContainer, _extends$4({}, commonProps, {
|
18925 |
+
isDisabled: isDisabled
|
18926 |
+
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
18927 |
+
};
|
|
|
|
|
18928 |
|
18929 |
return Select;
|
18930 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
18931 |
|
18932 |
+
Select.defaultProps = defaultProps;
|
18933 |
|
18934 |
|
18935 |
|
18936 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
18937 |
|
18938 |
/***/ }),
|
18939 |
+
/* 234 */
|
18940 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18941 |
|
18942 |
"use strict";
|
18943 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
18944 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(235);
|
18945 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Alert", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
|
18946 |
/* empty harmony namespace reexport */
|
18947 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__AlertTitle__ = __webpack_require__(242);
|
18948 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AlertTitle", function() { return __WEBPACK_IMPORTED_MODULE_1__AlertTitle__["a"]; });
|
18949 |
/* empty harmony namespace reexport */
|
18950 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Autocomplete__ = __webpack_require__(329);
|
18951 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return __WEBPACK_IMPORTED_MODULE_2__Autocomplete__["b"]; });
|
18952 |
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "createFilterOptions", function() { return __WEBPACK_IMPORTED_MODULE_2__Autocomplete__["a"]; });
|
18953 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__AvatarGroup__ = __webpack_require__(331);
|
18954 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AvatarGroup", function() { return __WEBPACK_IMPORTED_MODULE_3__AvatarGroup__["a"]; });
|
18955 |
/* empty harmony namespace reexport */
|
18956 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Pagination__ = __webpack_require__(332);
|
18957 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Pagination", function() { return __WEBPACK_IMPORTED_MODULE_4__Pagination__["a"]; });
|
18958 |
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "usePagination", function() { return __WEBPACK_IMPORTED_MODULE_4__Pagination__["b"]; });
|
18959 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__PaginationItem__ = __webpack_require__(164);
|
18960 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "PaginationItem", function() { return __WEBPACK_IMPORTED_MODULE_5__PaginationItem__["a"]; });
|
18961 |
/* empty harmony namespace reexport */
|
18962 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Rating__ = __webpack_require__(334);
|
18963 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Rating", function() { return __WEBPACK_IMPORTED_MODULE_6__Rating__["a"]; });
|
18964 |
/* empty harmony namespace reexport */
|
18965 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Skeleton__ = __webpack_require__(335);
|
18966 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return __WEBPACK_IMPORTED_MODULE_7__Skeleton__["a"]; });
|
18967 |
/* empty harmony namespace reexport */
|
18968 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__SpeedDial__ = __webpack_require__(336);
|
18969 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDial", function() { return __WEBPACK_IMPORTED_MODULE_8__SpeedDial__["a"]; });
|
18970 |
/* empty harmony namespace reexport */
|
18971 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__SpeedDialAction__ = __webpack_require__(337);
|
18972 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDialAction", function() { return __WEBPACK_IMPORTED_MODULE_9__SpeedDialAction__["a"]; });
|
18973 |
/* empty harmony namespace reexport */
|
18974 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__SpeedDialIcon__ = __webpack_require__(338);
|
18975 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDialIcon", function() { return __WEBPACK_IMPORTED_MODULE_10__SpeedDialIcon__["a"]; });
|
18976 |
/* empty harmony namespace reexport */
|
18977 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__TabContext__ = __webpack_require__(101);
|
18978 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabContext", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["a"]; });
|
18979 |
+
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "useTabContext", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["d"]; });
|
18980 |
+
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "getPanelId", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["b"]; });
|
18981 |
+
/* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "getTabId", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["c"]; });
|
18982 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__TabList__ = __webpack_require__(340);
|
18983 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabList", function() { return __WEBPACK_IMPORTED_MODULE_12__TabList__["a"]; });
|
18984 |
+
/* empty harmony namespace reexport */
|
18985 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__TabPanel__ = __webpack_require__(341);
|
18986 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabPanel", function() { return __WEBPACK_IMPORTED_MODULE_13__TabPanel__["a"]; });
|
18987 |
+
/* empty harmony namespace reexport */
|
18988 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__Timeline__ = __webpack_require__(342);
|
18989 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Timeline", function() { return __WEBPACK_IMPORTED_MODULE_14__Timeline__["a"]; });
|
18990 |
+
/* empty harmony namespace reexport */
|
18991 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__TimelineConnector__ = __webpack_require__(343);
|
18992 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineConnector", function() { return __WEBPACK_IMPORTED_MODULE_15__TimelineConnector__["a"]; });
|
18993 |
+
/* empty harmony namespace reexport */
|
18994 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__TimelineContent__ = __webpack_require__(344);
|
18995 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineContent", function() { return __WEBPACK_IMPORTED_MODULE_16__TimelineContent__["a"]; });
|
18996 |
/* empty harmony namespace reexport */
|
18997 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__TimelineDot__ = __webpack_require__(345);
|
18998 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineDot", function() { return __WEBPACK_IMPORTED_MODULE_17__TimelineDot__["a"]; });
|
18999 |
/* empty harmony namespace reexport */
|
19000 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__TimelineItem__ = __webpack_require__(346);
|
19001 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineItem", function() { return __WEBPACK_IMPORTED_MODULE_18__TimelineItem__["a"]; });
|
19002 |
/* empty harmony namespace reexport */
|
19003 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__TimelineOppositeContent__ = __webpack_require__(347);
|
19004 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineOppositeContent", function() { return __WEBPACK_IMPORTED_MODULE_19__TimelineOppositeContent__["a"]; });
|
19005 |
/* empty harmony namespace reexport */
|
19006 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__TimelineSeparator__ = __webpack_require__(348);
|
19007 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineSeparator", function() { return __WEBPACK_IMPORTED_MODULE_20__TimelineSeparator__["a"]; });
|
19008 |
+
/* empty harmony namespace reexport */
|
19009 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__ToggleButton__ = __webpack_require__(349);
|
19010 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ToggleButton", function() { return __WEBPACK_IMPORTED_MODULE_21__ToggleButton__["a"]; });
|
19011 |
+
/* empty harmony namespace reexport */
|
19012 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__ToggleButtonGroup__ = __webpack_require__(350);
|
19013 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ToggleButtonGroup", function() { return __WEBPACK_IMPORTED_MODULE_22__ToggleButtonGroup__["a"]; });
|
19014 |
+
/* empty harmony namespace reexport */
|
19015 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__TreeItem__ = __webpack_require__(351);
|
19016 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TreeItem", function() { return __WEBPACK_IMPORTED_MODULE_23__TreeItem__["a"]; });
|
19017 |
+
/* empty harmony namespace reexport */
|
19018 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__TreeView__ = __webpack_require__(353);
|
19019 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TreeView", function() { return __WEBPACK_IMPORTED_MODULE_24__TreeView__["a"]; });
|
19020 |
+
/* empty harmony namespace reexport */
|
19021 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__useAutocomplete__ = __webpack_require__(330);
|
19022 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "useAutocomplete", function() { return __WEBPACK_IMPORTED_MODULE_25__useAutocomplete__["b"]; });
|
19023 |
+
/** @license Material-UI v4.0.0-alpha.56
|
19024 |
*
|
19025 |
* This source code is licensed under the MIT license found in the
|
19026 |
* LICENSE file in the root directory of this source tree.
|
19046 |
|
19047 |
|
19048 |
|
19049 |
+
|
19050 |
+
|
19051 |
+
|
19052 |
+
|
19053 |
+
|
19054 |
+
|
19055 |
+
|
19056 |
+
|
19057 |
+
|
19058 |
+
|
19059 |
+
|
19060 |
+
|
19061 |
+
|
19062 |
+
|
19063 |
+
|
19064 |
+
|
19065 |
+
|
19066 |
+
|
19067 |
+
|
19068 |
+
|
19069 |
|
19070 |
|
19071 |
|
19080 |
|
19081 |
|
19082 |
/***/ }),
|
19083 |
+
/* 235 */
|
19084 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19085 |
|
19086 |
"use strict";
|
19087 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(506);
|
19088 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
|
19089 |
|
19090 |
|
19091 |
/***/ }),
|
19092 |
+
/* 236 */
|
19093 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19094 |
|
19095 |
"use strict";
|
19096 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
19097 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(23);
|
19098 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
|
19099 |
|
19100 |
|
19101 |
|
19112 |
/* harmony default export */ __webpack_exports__["a"] = (styled);
|
19113 |
|
19114 |
/***/ }),
|
19115 |
+
/* 237 */
|
19116 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19117 |
+
|
19118 |
+
"use strict";
|
19119 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = requirePropFactory;
|
19120 |
+
function requirePropFactory(componentNameInError) {
|
19121 |
+
if (process.env.NODE_ENV === 'production') {
|
19122 |
+
return function () {
|
19123 |
+
return null;
|
19124 |
+
};
|
19125 |
+
}
|
19126 |
+
|
19127 |
+
var requireProp = function requireProp(requiredProp) {
|
19128 |
+
return function (props, propName, componentName, location, propFullName) {
|
19129 |
+
var propFullNameSafe = propFullName || propName;
|
19130 |
+
|
19131 |
+
if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {
|
19132 |
+
return new Error("The prop `".concat(propFullNameSafe, "` of ") + "`".concat(componentNameInError, "` must be used on `").concat(requiredProp, "`."));
|
19133 |
+
}
|
19134 |
+
|
19135 |
+
return null;
|
19136 |
+
};
|
19137 |
+
};
|
19138 |
+
|
19139 |
+
return requireProp;
|
19140 |
+
}
|
19141 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
19142 |
+
|
19143 |
+
/***/ }),
|
19144 |
+
/* 238 */
|
19145 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19146 |
|
19147 |
"use strict";
|
19148 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
19149 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
19150 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_core_utils__ = __webpack_require__(10);
|
19151 |
|
19152 |
|
19153 |
/**
|
19154 |
* @ignore - internal component.
|
19155 |
*/
|
19156 |
|
19157 |
+
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__material_ui_core_utils__["b" /* createSvgIcon */])( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"]("path", {
|
19158 |
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
19159 |
}), 'Close'));
|
19160 |
|
19161 |
/***/ }),
|
19162 |
+
/* 239 */
|
19163 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19164 |
|
19165 |
"use strict";
|
19168 |
});
|
19169 |
|
19170 |
/***/ }),
|
19171 |
+
/* 240 */
|
19172 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19173 |
|
19174 |
"use strict";
|
19197 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
19198 |
|
19199 |
/***/ }),
|
19200 |
+
/* 241 */
|
19201 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19202 |
|
19203 |
"use strict";
|
19204 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
|
19205 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
19206 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(122);
|
19207 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
|
19208 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
|
19209 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
19210 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
|
19211 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
|
19212 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(131);
|
19213 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(528);
|
19214 |
|
19215 |
|
19216 |
|
19231 |
childFactory: function childFactory(child) {
|
19232 |
return child;
|
19233 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19234 |
};
|
19235 |
+
/**
|
19236 |
+
* The `<TransitionGroup>` component manages a set of transition components
|
19237 |
+
* (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition
|
19238 |
+
* components, `<TransitionGroup>` is a state machine for managing the mounting
|
19239 |
+
* and unmounting of components over time.
|
19240 |
+
*
|
19241 |
+
* Consider the example below. As items are removed or added to the TodoList the
|
19242 |
+
* `in` prop is toggled automatically by the `<TransitionGroup>`.
|
19243 |
+
*
|
19244 |
+
* Note that `<TransitionGroup>` does not define any animation behavior!
|
19245 |
+
* Exactly _how_ a list item animates is up to the individual transition
|
19246 |
+
* component. This means you can mix and match animations across different list
|
19247 |
+
* items.
|
19248 |
+
*/
|
19249 |
|
19250 |
+
var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
19251 |
+
Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(TransitionGroup, _React$Component);
|
|
|
|
|
19252 |
|
19253 |
function TransitionGroup(props, context) {
|
19254 |
var _this;
|
19255 |
|
19256 |
_this = _React$Component.call(this, props, context) || this;
|
19257 |
|
19258 |
+
var handleExited = _this.handleExited.bind(Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)); // Initial children should all be entering, dependent on appear
|
19259 |
|
19260 |
|
19261 |
_this.state = {
|
19291 |
children: firstRender ? Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["b" /* getInitialChildMapping */])(nextProps, handleExited) : Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["c" /* getNextChildMapping */])(nextProps, prevChildMapping, handleExited),
|
19292 |
firstRender: false
|
19293 |
};
|
19294 |
+
} // node is `undefined` when user provided `nodeRef` prop
|
19295 |
+
;
|
19296 |
|
19297 |
_proto.handleExited = function handleExited(child, node) {
|
19298 |
var currentChildMapping = Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["a" /* getChildMapping */])(this.props.children);
|
19327 |
delete props.exit;
|
19328 |
|
19329 |
if (Component === null) {
|
19330 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
|
19331 |
value: contextValue
|
19332 |
}, children);
|
19333 |
}
|
19334 |
|
19335 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
|
19336 |
value: contextValue
|
19337 |
+
}, /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(Component, props, children));
|
19338 |
};
|
19339 |
|
19340 |
return TransitionGroup;
|
19403 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
19404 |
|
19405 |
/***/ }),
|
19406 |
+
/* 242 */
|
19407 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19408 |
|
19409 |
"use strict";
|
19410 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AlertTitle__ = __webpack_require__(531);
|
19411 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AlertTitle__["a"]; });
|
|
|
|
|
|
|
|
|
|
|
19412 |
|
|
|
|
|
|
|
19413 |
|
19414 |
+
/***/ }),
|
19415 |
+
/* 243 */
|
19416 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19417 |
|
19418 |
+
"use strict";
|
19419 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Accordion__ = __webpack_require__(546);
|
19420 |
+
/* unused harmony reexport default */
|
19421 |
|
19422 |
+
|
19423 |
+
/***/ }),
|
19424 |
+
/* 244 */
|
19425 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19426 |
+
|
19427 |
+
"use strict";
|
19428 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = _toArray;
|
19429 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(223);
|
19430 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(195);
|
19431 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
|
19432 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableRest__ = __webpack_require__(224);
|
19433 |
+
|
19434 |
+
|
19435 |
+
|
19436 |
+
|
19437 |
+
function _toArray(arr) {
|
19438 |
+
return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableRest__["a" /* default */])();
|
19439 |
}
|
|
|
19440 |
|
19441 |
/***/ }),
|
19442 |
+
/* 245 */
|
19443 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19444 |
|
19445 |
"use strict";
|
19446 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
19447 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
19448 |
+
|
19449 |
+
/**
|
19450 |
+
* @ignore - internal component.
|
19451 |
+
* @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
|
19452 |
+
*/
|
19453 |
+
|
19454 |
+
var AccordionContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
|
19455 |
|
19456 |
+
if (process.env.NODE_ENV !== 'production') {
|
19457 |
+
AccordionContext.displayName = 'AccordionContext';
|
19458 |
+
}
|
19459 |
+
|
19460 |
+
/* harmony default export */ __webpack_exports__["a"] = (AccordionContext);
|
19461 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
19462 |
|
19463 |
/***/ }),
|
19464 |
+
/* 246 */
|
19465 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19466 |
|
19467 |
"use strict";
|
19468 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AccordionActions__ = __webpack_require__(548);
|
19469 |
/* unused harmony reexport default */
|
19470 |
|
19471 |
|
19472 |
/***/ }),
|
19473 |
+
/* 247 */
|
19474 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19475 |
|
19476 |
"use strict";
|
19477 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AccordionDetails__ = __webpack_require__(549);
|
19478 |
/* unused harmony reexport default */
|
19479 |
|
19480 |
|
19481 |
/***/ }),
|
19482 |
+
/* 248 */
|
19483 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19484 |
|
19485 |
"use strict";
|
19486 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AccordionSummary__ = __webpack_require__(550);
|
19487 |
/* unused harmony reexport default */
|
19488 |
|
19489 |
|
19490 |
/***/ }),
|
19491 |
+
/* 249 */
|
19492 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19493 |
|
19494 |
"use strict";
|
19495 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AppBar__ = __webpack_require__(551);
|
19496 |
/* unused harmony reexport default */
|
19497 |
|
19498 |
|
19499 |
/***/ }),
|
19500 |
+
/* 250 */
|
19501 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19502 |
|
19503 |
"use strict";
|
19504 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Badge__ = __webpack_require__(556);
|
19505 |
/* unused harmony reexport default */
|
19506 |
|
19507 |
|
19508 |
/***/ }),
|
19509 |
+
/* 251 */
|
19510 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19511 |
|
19512 |
"use strict";
|
19513 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigation__ = __webpack_require__(557);
|
19514 |
/* unused harmony reexport default */
|
|
|
19515 |
|
19516 |
|
19517 |
/***/ }),
|
19518 |
+
/* 252 */
|
19519 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19520 |
|
19521 |
"use strict";
|
19522 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigationAction__ = __webpack_require__(558);
|
19523 |
+
/* unused harmony reexport default */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19524 |
|
19525 |
|
19526 |
+
/***/ }),
|
19527 |
+
/* 253 */
|
19528 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19529 |
|
19530 |
+
"use strict";
|
19531 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Box__ = __webpack_require__(559);
|
19532 |
+
/* unused harmony reexport default */
|
19533 |
+
/* unused harmony reexport styleFunction */
|
19534 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19535 |
|
19536 |
/***/ }),
|
19537 |
+
/* 254 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19538 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19539 |
|
19540 |
"use strict";
|
19541 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Breadcrumbs__ = __webpack_require__(560);
|
19542 |
/* unused harmony reexport default */
|
19543 |
|
19544 |
|
19545 |
/***/ }),
|
19546 |
+
/* 255 */
|
19547 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19548 |
|
19549 |
"use strict";
|
19550 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonGroup__ = __webpack_require__(565);
|
19551 |
/* unused harmony reexport default */
|
19552 |
|
19553 |
|
19554 |
/***/ }),
|
19555 |
+
/* 256 */
|
19556 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19557 |
|
19558 |
"use strict";
|
19559 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Card__ = __webpack_require__(566);
|
19560 |
/* unused harmony reexport default */
|
19561 |
|
19562 |
|
19563 |
/***/ }),
|
19564 |
+
/* 257 */
|
19565 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19566 |
|
19567 |
"use strict";
|
19568 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActionArea__ = __webpack_require__(567);
|
19569 |
/* unused harmony reexport default */
|
19570 |
|
19571 |
|
19572 |
/***/ }),
|
19573 |
+
/* 258 */
|
19574 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19575 |
|
19576 |
"use strict";
|
19577 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActions__ = __webpack_require__(568);
|
19578 |
/* unused harmony reexport default */
|
19579 |
|
19580 |
|
19581 |
/***/ }),
|
19582 |
+
/* 259 */
|
19583 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19584 |
|
19585 |
"use strict";
|
19586 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardContent__ = __webpack_require__(569);
|
19587 |
/* unused harmony reexport default */
|
19588 |
|
19589 |
|
19590 |
/***/ }),
|
19591 |
+
/* 260 */
|
19592 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19593 |
|
19594 |
"use strict";
|
19595 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardHeader__ = __webpack_require__(570);
|
19596 |
/* unused harmony reexport default */
|
19597 |
|
19598 |
|
19599 |
/***/ }),
|
19600 |
+
/* 261 */
|
19601 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19602 |
|
19603 |
"use strict";
|
19604 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardMedia__ = __webpack_require__(571);
|
19605 |
/* unused harmony reexport default */
|
19606 |
|
19607 |
|
19608 |
/***/ }),
|
19609 |
+
/* 262 */
|
19610 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19611 |
|
19612 |
"use strict";
|
19613 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Checkbox__ = __webpack_require__(572);
|
19614 |
/* unused harmony reexport default */
|
19615 |
|
19616 |
|
19617 |
/***/ }),
|
19618 |
+
/* 263 */
|
19619 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19620 |
|
19621 |
"use strict";
|
19622 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CircularProgress__ = __webpack_require__(578);
|
19623 |
/* unused harmony reexport default */
|
19624 |
|
19625 |
|
19626 |
/***/ }),
|
19627 |
+
/* 264 */
|
19628 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19629 |
|
19630 |
"use strict";
|
19631 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Container__ = __webpack_require__(580);
|
19632 |
/* unused harmony reexport default */
|
19633 |
|
19634 |
|
19635 |
/***/ }),
|
19636 |
+
/* 265 */
|
19637 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19638 |
|
19639 |
"use strict";
|
19640 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CssBaseline__ = __webpack_require__(581);
|
19641 |
/* unused harmony reexport default */
|
19642 |
|
19643 |
|
19644 |
/***/ }),
|
19645 |
+
/* 266 */
|
19646 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19647 |
|
19648 |
"use strict";
|
19649 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Dialog__ = __webpack_require__(582);
|
19650 |
/* unused harmony reexport default */
|
19651 |
|
19652 |
|
19653 |
/***/ }),
|
19654 |
+
/* 267 */
|
19655 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19656 |
|
19657 |
"use strict";
|
19658 |
/* harmony export (immutable) */ __webpack_exports__["a"] = ariaHidden;
|
19659 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ModalManager; });
|
19660 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(125);
|
19661 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_createClass__ = __webpack_require__(79);
|
19662 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(32);
|
19663 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_getScrollbarSize__ = __webpack_require__(268);
|
19664 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__ = __webpack_require__(29);
|
19665 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_ownerWindow__ = __webpack_require__(86);
|
19666 |
|
19667 |
|
19668 |
|
19801 |
*/
|
19802 |
|
19803 |
|
19804 |
+
var ModalManager = /*#__PURE__*/function () {
|
|
|
|
|
19805 |
function ModalManager() {
|
19806 |
Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, ModalManager);
|
19807 |
|
19917 |
|
19918 |
|
19919 |
/***/ }),
|
19920 |
+
/* 268 */
|
19921 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19922 |
|
19923 |
"use strict";
|
19938 |
}
|
19939 |
|
19940 |
/***/ }),
|
19941 |
+
/* 269 */
|
19942 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19943 |
|
19944 |
"use strict";
|
19945 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogActions__ = __webpack_require__(587);
|
19946 |
/* unused harmony reexport default */
|
19947 |
|
19948 |
|
19949 |
/***/ }),
|
19950 |
+
/* 270 */
|
19951 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19952 |
|
19953 |
"use strict";
|
19954 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContent__ = __webpack_require__(588);
|
19955 |
/* unused harmony reexport default */
|
19956 |
|
19957 |
|
19958 |
/***/ }),
|
19959 |
+
/* 271 */
|
19960 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19961 |
|
19962 |
"use strict";
|
19963 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContentText__ = __webpack_require__(589);
|
19964 |
/* unused harmony reexport default */
|
19965 |
|
19966 |
|
19967 |
/***/ }),
|
19968 |
+
/* 272 */
|
19969 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19970 |
|
19971 |
"use strict";
|
19972 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogTitle__ = __webpack_require__(590);
|
19973 |
/* unused harmony reexport default */
|
19974 |
|
19975 |
|
19976 |
/***/ }),
|
19977 |
+
/* 273 */
|
19978 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19979 |
|
19980 |
"use strict";
|
19981 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Divider__ = __webpack_require__(591);
|
19982 |
/* unused harmony reexport default */
|
19983 |
|
19984 |
|
19985 |
/***/ }),
|
19986 |
+
/* 274 */
|
19987 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19988 |
|
19989 |
"use strict";
|
19990 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Drawer__ = __webpack_require__(138);
|
19991 |
/* unused harmony reexport default */
|
19992 |
|
19993 |
|
19994 |
/***/ }),
|
19995 |
+
/* 275 */
|
19996 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19997 |
|
19998 |
"use strict";
|
19999 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanel__ = __webpack_require__(593);
|
20000 |
/* unused harmony reexport default */
|
20001 |
|
20002 |
|
20003 |
/***/ }),
|
20004 |
+
/* 276 */
|
20005 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20006 |
|
20007 |
"use strict";
|
20013 |
* @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
|
20014 |
*/
|
20015 |
|
20016 |
+
var ExpansionPanelContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
|
20017 |
|
20018 |
if (process.env.NODE_ENV !== 'production') {
|
20019 |
ExpansionPanelContext.displayName = 'ExpansionPanelContext';
|
20023 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
20024 |
|
20025 |
/***/ }),
|
20026 |
+
/* 277 */
|
20027 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20028 |
|
20029 |
"use strict";
|
20030 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelActions__ = __webpack_require__(594);
|
20031 |
/* unused harmony reexport default */
|
20032 |
|
20033 |
|
20034 |
/***/ }),
|
20035 |
+
/* 278 */
|
20036 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20037 |
|
20038 |
"use strict";
|
20039 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelDetails__ = __webpack_require__(595);
|
20040 |
/* unused harmony reexport default */
|
20041 |
|
20042 |
|
20043 |
/***/ }),
|
20044 |
+
/* 279 */
|
20045 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20046 |
|
20047 |
"use strict";
|
20048 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelSummary__ = __webpack_require__(596);
|
20049 |
/* unused harmony reexport default */
|
20050 |
|
20051 |
|
20052 |
/***/ }),
|
20053 |
+
/* 280 */
|
20054 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20055 |
|
20056 |
"use strict";
|
20057 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControlLabel__ = __webpack_require__(602);
|
20058 |
/* unused harmony reexport default */
|
20059 |
|
20060 |
|
20061 |
/***/ }),
|
20062 |
+
/* 281 */
|
20063 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20064 |
|
20065 |
"use strict";
|
20066 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grid__ = __webpack_require__(606);
|
20067 |
/* unused harmony reexport default */
|
20068 |
|
20069 |
|
20070 |
/***/ }),
|
20071 |
+
/* 282 */
|
20072 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20073 |
|
20074 |
"use strict";
|
20075 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridList__ = __webpack_require__(607);
|
20076 |
/* unused harmony reexport default */
|
20077 |
|
20078 |
|
20079 |
/***/ }),
|
20080 |
+
/* 283 */
|
20081 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20082 |
|
20083 |
"use strict";
|
20084 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTile__ = __webpack_require__(608);
|
20085 |
/* unused harmony reexport default */
|
20086 |
|
20087 |
|
20088 |
/***/ }),
|
20089 |
+
/* 284 */
|
20090 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20091 |
|
20092 |
"use strict";
|
20093 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTileBar__ = __webpack_require__(609);
|
20094 |
/* unused harmony reexport default */
|
20095 |
|
20096 |
|
20097 |
/***/ }),
|
20098 |
+
/* 285 */
|
20099 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20100 |
|
20101 |
"use strict";
|
20102 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Hidden__ = __webpack_require__(611);
|
20103 |
/* unused harmony reexport default */
|
20104 |
|
20105 |
|
20106 |
/***/ }),
|
20107 |
+
/* 286 */
|
20108 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20109 |
|
20110 |
"use strict";
|
20111 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isWidthUp; });
|
20112 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isWidthDown; });
|
20113 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
20114 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
20115 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
20116 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
20117 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
20118 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
20119 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
|
20120 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_styles__ = __webpack_require__(23);
|
20121 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics__ = __webpack_require__(82);
|
20122 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics__);
|
20123 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_useTheme__ = __webpack_require__(17);
|
20124 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__ = __webpack_require__(205);
|
20125 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__useMediaQuery__ = __webpack_require__(145);
|
|
|
|
|
20126 |
|
20127 |
|
20128 |
|
20138 |
var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
20139 |
|
20140 |
if (inclusive) {
|
20141 |
+
return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint) <= __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width);
|
20142 |
}
|
20143 |
|
20144 |
+
return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint) < __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width);
|
20145 |
}; // By default, returns true if screen width is the same or less than the given breakpoint.
|
20146 |
|
20147 |
var isWidthDown = function isWidthDown(breakpoint, width) {
|
20148 |
var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
20149 |
|
20150 |
if (inclusive) {
|
20151 |
+
return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width) <= __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint);
|
20152 |
}
|
20153 |
|
20154 |
+
return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width) < __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint);
|
20155 |
};
|
20156 |
+
var useEnhancedEffect = typeof window === 'undefined' ? __WEBPACK_IMPORTED_MODULE_2_react__["useEffect"] : __WEBPACK_IMPORTED_MODULE_2_react__["useLayoutEffect"];
|
20157 |
|
20158 |
var withWidth = function withWidth() {
|
20159 |
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
20165 |
initialWidthOption = options.initialWidth;
|
20166 |
|
20167 |
function WithWidth(props) {
|
20168 |
+
var contextTheme = Object(__WEBPACK_IMPORTED_MODULE_7__styles_useTheme__["a" /* default */])();
|
20169 |
var theme = props.theme || contextTheme;
|
20170 |
|
20171 |
+
var _getThemeProps = Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_styles__["b" /* getThemeProps */])({
|
20172 |
theme: theme,
|
20173 |
name: 'MuiWithWidth',
|
20174 |
+
props: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, props)
|
20175 |
}),
|
20176 |
initialWidth = _getThemeProps.initialWidth,
|
20177 |
width = _getThemeProps.width,
|
20178 |
+
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(_getThemeProps, ["initialWidth", "width"]);
|
20179 |
|
20180 |
+
var _React$useState = __WEBPACK_IMPORTED_MODULE_2_react__["useState"](false),
|
20181 |
mountedState = _React$useState[0],
|
20182 |
setMountedState = _React$useState[1];
|
20183 |
|
20190 |
* width | xs | sm | md | lg | xl
|
20191 |
*/
|
20192 |
|
20193 |
+
var keys = theme.breakpoints.keys.slice().reverse();
|
|
|
20194 |
var widthComputed = keys.reduce(function (output, key) {
|
20195 |
// eslint-disable-next-line react-hooks/rules-of-hooks
|
20196 |
+
var matches = Object(__WEBPACK_IMPORTED_MODULE_9__useMediaQuery__["a" /* default */])(theme.breakpoints.up(key));
|
20197 |
return !output && matches ? key : output;
|
20198 |
}, null);
|
20199 |
|
20200 |
+
var more = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
20201 |
width: width || (mountedState || noSSR ? widthComputed : undefined) || initialWidth || initialWidthOption
|
20202 |
}, withThemeOption ? {
|
20203 |
theme: theme
|
20204 |
+
} : {}, other); // When rendering the component on the server,
|
20205 |
// we have no idea about the client browser screen width.
|
20206 |
// In order to prevent blinks and help the reconciliation of the React tree
|
20207 |
// we are not rendering the child component.
|
20213 |
return null;
|
20214 |
}
|
20215 |
|
20216 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](Component, more);
|
20217 |
}
|
20218 |
|
20219 |
process.env.NODE_ENV !== "production" ? WithWidth.propTypes = {
|
20226 |
* For instance, you could be using the user-agent or the client-hints.
|
20227 |
* https://caniuse.com/#search=client%20hint
|
20228 |
*/
|
20229 |
+
initialWidth: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
|
20230 |
|
20231 |
/**
|
20232 |
* @ignore
|
20233 |
*/
|
20234 |
+
theme: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
20235 |
|
20236 |
/**
|
20237 |
* Bypass the width calculation logic.
|
20238 |
*/
|
20239 |
+
width: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['xs', 'sm', 'md', 'lg', 'xl'])
|
20240 |
} : void 0;
|
20241 |
|
20242 |
if (process.env.NODE_ENV !== 'production') {
|
20243 |
+
WithWidth.displayName = "WithWidth(".concat(Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_utils__["h" /* getDisplayName */])(Component), ")");
|
20244 |
}
|
20245 |
|
20246 |
+
__WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics___default()(WithWidth, Component);
|
20247 |
return WithWidth;
|
20248 |
};
|
20249 |
};
|
20252 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
20253 |
|
20254 |
/***/ }),
|
20255 |
+
/* 287 */
|
20256 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20257 |
|
20258 |
"use strict";
|
20259 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputAdornment__ = __webpack_require__(616);
|
20260 |
/* unused harmony reexport default */
|
20261 |
|
20262 |
|
20263 |
/***/ }),
|
20264 |
+
/* 288 */
|
20265 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20266 |
|
20267 |
"use strict";
|
20268 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Link__ = __webpack_require__(619);
|
20269 |
/* unused harmony reexport default */
|
20270 |
|
20271 |
|
20272 |
/***/ }),
|
20273 |
+
/* 289 */
|
20274 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20275 |
|
20276 |
"use strict";
|
20277 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemAvatar__ = __webpack_require__(622);
|
20278 |
/* unused harmony reexport default */
|
20279 |
|
20280 |
|
20281 |
/***/ }),
|
20282 |
+
/* 290 */
|
20283 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20284 |
|
20285 |
"use strict";
|
20286 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemIcon__ = __webpack_require__(623);
|
20287 |
/* unused harmony reexport default */
|
20288 |
|
20289 |
|
20290 |
/***/ }),
|
20291 |
+
/* 291 */
|
20292 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20293 |
|
20294 |
"use strict";
|
20295 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemSecondaryAction__ = __webpack_require__(624);
|
20296 |
/* unused harmony reexport default */
|
20297 |
|
20298 |
|
20299 |
/***/ }),
|
20300 |
+
/* 292 */
|
20301 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20302 |
|
20303 |
"use strict";
|
20304 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemText__ = __webpack_require__(625);
|
20305 |
/* unused harmony reexport default */
|
20306 |
|
20307 |
|
20308 |
/***/ }),
|
20309 |
+
/* 293 */
|
20310 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20311 |
|
20312 |
"use strict";
|
20313 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Menu__ = __webpack_require__(294);
|
20314 |
/* unused harmony reexport default */
|
20315 |
|
20316 |
|
20317 |
/***/ }),
|
20318 |
+
/* 294 */
|
20319 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20320 |
|
20321 |
"use strict";
|
20324 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
20325 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
20326 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
20327 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_is__ = __webpack_require__(15);
|
20328 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_is___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_is__);
|
20329 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
|
20330 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
|
20331 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
|
20332 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__ = __webpack_require__(7);
|
20333 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
|
20334 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Popover__ = __webpack_require__(151);
|
20335 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__MenuList__ = __webpack_require__(152);
|
20336 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom__ = __webpack_require__(11);
|
20337 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react_dom__);
|
20338 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__utils_setRef__ = __webpack_require__(48);
|
20339 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(17);
|
20340 |
+
|
20341 |
|
20342 |
|
20343 |
|
20375 |
outline: 0
|
20376 |
}
|
20377 |
};
|
20378 |
+
var Menu = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function Menu(props, ref) {
|
20379 |
var _props$autoFocus = props.autoFocus,
|
20380 |
autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,
|
20381 |
children = props.children,
|
20396 |
variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,
|
20397 |
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "variant"]);
|
20398 |
|
20399 |
+
var theme = Object(__WEBPACK_IMPORTED_MODULE_12__styles_useTheme__["a" /* default */])();
|
20400 |
var autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
20401 |
+
var menuListActionsRef = __WEBPACK_IMPORTED_MODULE_2_react__["useRef"](null);
|
20402 |
+
var contentAnchorRef = __WEBPACK_IMPORTED_MODULE_2_react__["useRef"](null);
|
20403 |
|
20404 |
var getContentAnchorEl = function getContentAnchorEl() {
|
20405 |
return contentAnchorRef.current;
|
20435 |
// to check if there is a `selected` item. We're looking for the last `selected`
|
20436 |
// item and use the first valid item as a fallback
|
20437 |
|
20438 |
+
__WEBPACK_IMPORTED_MODULE_2_react__["Children"].map(children, function (child, index) {
|
20439 |
+
if (! /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["isValidElement"](child)) {
|
20440 |
return;
|
20441 |
}
|
20442 |
|
20443 |
if (process.env.NODE_ENV !== 'production') {
|
20444 |
if (Object(__WEBPACK_IMPORTED_MODULE_3_react_is__["isFragment"])(child)) {
|
20445 |
+
console.error(["Material-UI: The Menu component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
20446 |
}
|
20447 |
}
|
20448 |
|
20454 |
}
|
20455 |
}
|
20456 |
});
|
20457 |
+
var items = __WEBPACK_IMPORTED_MODULE_2_react__["Children"].map(children, function (child, index) {
|
20458 |
if (index === activeItemIndex) {
|
20459 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["cloneElement"](child, {
|
20460 |
ref: function ref(instance) {
|
20461 |
// #StrictMode ready
|
20462 |
+
contentAnchorRef.current = __WEBPACK_IMPORTED_MODULE_10_react_dom__["findDOMNode"](instance);
|
20463 |
+
Object(__WEBPACK_IMPORTED_MODULE_11__utils_setRef__["a" /* default */])(child.ref, instance);
|
20464 |
}
|
20465 |
});
|
20466 |
}
|
20467 |
|
20468 |
return child;
|
20469 |
});
|
20470 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_8__Popover__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
20471 |
getContentAnchorEl: getContentAnchorEl,
|
20472 |
classes: PopoverClasses,
|
20473 |
onClose: onClose,
|
20482 |
open: open,
|
20483 |
ref: ref,
|
20484 |
transitionDuration: transitionDuration
|
20485 |
+
}, other), /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_9__MenuList__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
20486 |
onKeyDown: handleListKeyDown,
|
20487 |
actions: menuListActionsRef,
|
20488 |
autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
|
20493 |
}), items));
|
20494 |
});
|
20495 |
process.env.NODE_ENV !== "production" ? Menu.propTypes = {
|
20496 |
+
// ----------------------------- Warning --------------------------------
|
20497 |
+
// | These PropTypes are generated from the TypeScript type definitions |
|
20498 |
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
20499 |
+
// ----------------------------------------------------------------------
|
20500 |
+
|
20501 |
/**
|
20502 |
+
* A HTML element, or a function that returns it.
|
20503 |
+
* It's used to set the position of the menu.
|
20504 |
*/
|
20505 |
+
anchorEl: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a
|
20506 |
+
/* @typescript-to-proptypes-ignore */
|
20507 |
+
.oneOfType([__WEBPACK_IMPORTED_MODULE_6__material_ui_utils__["a" /* HTMLElementType */], __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func]),
|
20508 |
|
20509 |
/**
|
20510 |
* If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
|
20523 |
* Override or extend the styles applied to the component.
|
20524 |
* See [CSS API](#css) below for more details.
|
20525 |
*/
|
20526 |
+
classes: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
|
20527 |
|
20528 |
/**
|
20529 |
* When opening the menu will not focus the active item but the `[role="menu"]`
|
20594 |
/**
|
20595 |
* The length of the transition in `ms`, or 'auto'
|
20596 |
*/
|
20597 |
+
transitionDuration: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOf(['auto']), __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.shape({
|
20598 |
+
appear: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number,
|
20599 |
enter: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number,
|
20600 |
exit: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number
|
20601 |
+
})]),
|
20602 |
|
20603 |
/**
|
20604 |
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
20606 |
*/
|
20607 |
variant: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOf(['menu', 'selectedMenu'])
|
20608 |
} : void 0;
|
20609 |
+
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_7__styles_withStyles__["a" /* default */])(styles, {
|
20610 |
name: 'MuiMenu'
|
20611 |
})(Menu));
|
20612 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
20613 |
|
20614 |
/***/ }),
|
20615 |
+
/* 295 */
|
20616 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20617 |
|
20618 |
"use strict";
|
20619 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MobileStepper__ = __webpack_require__(630);
|
20620 |
/* unused harmony reexport default */
|
20621 |
|
20622 |
|
20623 |
/***/ }),
|
20624 |
+
/* 296 */
|
20625 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20626 |
|
20627 |
"use strict";
|
20628 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NativeSelect__ = __webpack_require__(297);
|
20629 |
/* unused harmony reexport default */
|
20630 |
|
20631 |
|
20632 |
/***/ }),
|
20633 |
+
/* 297 */
|
20634 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20635 |
|
20636 |
"use strict";
|
20641 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
20642 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
|
20643 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
20644 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__ = __webpack_require__(298);
|
20645 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_withStyles__ = __webpack_require__(6);
|
20646 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__FormControl_formControlState__ = __webpack_require__(62);
|
20647 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__FormControl_useFormControl__ = __webpack_require__(49);
|
20648 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__internal_svg_icons_ArrowDropDown__ = __webpack_require__(299);
|
20649 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Input__ = __webpack_require__(70);
|
20650 |
|
20651 |
|
20652 |
|
20718 |
/* Styles applied to the select component `selectMenu` class. */
|
20719 |
selectMenu: {
|
20720 |
height: 'auto',
|
20721 |
+
// Resets for multpile select with chips
|
20722 |
+
minHeight: '1.1876em',
|
20723 |
+
// Required for select\text-field height consistency
|
20724 |
textOverflow: 'ellipsis',
|
20725 |
whiteSpace: 'nowrap',
|
20726 |
overflow: 'hidden'
|
20737 |
right: 0,
|
20738 |
top: 'calc(50% - 12px)',
|
20739 |
// Center vertically
|
20740 |
+
pointerEvents: 'none',
|
20741 |
+
// Don't block pointer events on the select under the icon.
|
20742 |
color: theme.palette.action.active,
|
20743 |
+
'&$disabled': {
|
20744 |
+
color: theme.palette.action.disabled
|
20745 |
+
}
|
20746 |
},
|
20747 |
|
20748 |
/* Styles applied to the icon component if the popup is open. */
|
20758 |
/* Styles applied to the icon component if `variant="outlined"`. */
|
20759 |
iconOutlined: {
|
20760 |
right: 7
|
20761 |
+
},
|
20762 |
+
|
20763 |
+
/* Styles applied to the underlying native input component. */
|
20764 |
+
nativeInput: {
|
20765 |
+
bottom: 0,
|
20766 |
+
left: 0,
|
20767 |
+
position: 'absolute',
|
20768 |
+
opacity: 0,
|
20769 |
+
pointerEvents: 'none',
|
20770 |
+
width: '100%'
|
20771 |
}
|
20772 |
};
|
20773 |
};
|
20774 |
+
var defaultInput = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_9__Input__["a" /* default */], null);
|
20775 |
/**
|
20776 |
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
20777 |
*/
|
20778 |
|
20779 |
+
var NativeSelect = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function NativeSelect(props, ref) {
|
20780 |
var children = props.children,
|
20781 |
classes = props.classes,
|
20782 |
_props$IconComponent = props.IconComponent,
|
20793 |
muiFormControl: muiFormControl,
|
20794 |
states: ['variant']
|
20795 |
});
|
20796 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["cloneElement"](input, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
20797 |
// Most of the logic is implemented in `NativeSelectInput`.
|
20798 |
// The `Select` component is a simple API wrapper to expose something better to play with.
|
20799 |
inputComponent: __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__["a" /* default */],
|
20803 |
IconComponent: IconComponent,
|
20804 |
variant: fcs.variant,
|
20805 |
type: undefined
|
20806 |
+
}, inputProps, input ? input.props.inputProps : {}),
|
20807 |
ref: ref
|
20808 |
}, other));
|
20809 |
});
|
20810 |
process.env.NODE_ENV !== "production" ? NativeSelect.propTypes = {
|
20811 |
+
// ----------------------------- Warning --------------------------------
|
20812 |
+
// | These PropTypes are generated from the TypeScript type definitions |
|
20813 |
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
20814 |
+
// ----------------------------------------------------------------------
|
20815 |
+
|
20816 |
/**
|
20817 |
* The option elements to populate the select with.
|
20818 |
* Can be some `<option>` elements.
|
20823 |
* Override or extend the styles applied to the component.
|
20824 |
* See [CSS API](#css) below for more details.
|
20825 |
*/
|
20826 |
+
classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
|
20827 |
|
20828 |
/**
|
20829 |
* The icon that displays the arrow.
|
20856 |
/**
|
20857 |
* The variant to use.
|
20858 |
*/
|
20859 |
+
variant: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['filled', 'outlined', 'standard'])
|
20860 |
} : void 0;
|
20861 |
NativeSelect.muiName = 'Select';
|
20862 |
/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_5__styles_withStyles__["a" /* default */])(styles, {
|
20865 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
20866 |
|
20867 |
/***/ }),
|
20868 |
+
/* 298 */
|
20869 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20870 |
|
20871 |
"use strict";
|
20877 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
|
20878 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
|
20879 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__ = __webpack_require__(7);
|
20880 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_capitalize__ = __webpack_require__(9);
|
20881 |
|
20882 |
|
20883 |
|
20889 |
* @ignore - internal component.
|
20890 |
*/
|
20891 |
|
20892 |
+
var NativeSelectInput = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function NativeSelectInput(props, ref) {
|
20893 |
var classes = props.classes,
|
20894 |
className = props.className,
|
20895 |
disabled = props.disabled,
|
20899 |
variant = _props$variant === void 0 ? 'standard' : _props$variant,
|
20900 |
other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
|
20901 |
|
20902 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_2_react__["Fragment"], null, /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"]("select", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
|
20903 |
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, // TODO v5: merge root and select
|
20904 |
classes.select, classes[variant], className, disabled && classes.disabled),
|
20905 |
disabled: disabled,
|
20906 |
ref: inputRef || ref
|
20907 |
+
}, other)), props.multiple ? null : /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](IconComponent, {
|
20908 |
+
className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.icon, classes["icon".concat(Object(__WEBPACK_IMPORTED_MODULE_6__utils_capitalize__["a" /* default */])(variant))], disabled && classes.disabled)
|
20909 |
}));
|
20910 |
});
|
20911 |
process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
|
20940 |
* Use that prop to pass a ref to the native select element.
|
20941 |
* @deprecated
|
20942 |
*/
|
20943 |
+
inputRef: __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["j" /* refType */],
|
20944 |
|
20945 |
/**
|
20946 |
* @ignore
|
20974 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
20975 |
|
20976 |
/***/ }),
|
20977 |
+
/* 299 */
|
20978 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20979 |
|
20980 |
"use strict";
|
20981 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
20982 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
20983 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__ = __webpack_require__(21);
|
20984 |
|
20985 |
|
20986 |
/**
|
20987 |
* @ignore - internal component.
|
20988 |
*/
|
20989 |
|
20990 |
+
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__["a" /* default */])( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"]("path", {
|
20991 |
d: "M7 10l5 5 5-5z"
|
20992 |
}), 'ArrowDropDown'));
|
20993 |
|
20994 |
/***/ }),
|
20995 |
+
/* 300 */
|
20996 |
+
/***/ (function(module, exports) {
|
20997 |
+
|
20998 |
+
var g;
|
20999 |
+
|
21000 |
+
// This works in non-strict mode
|
21001 |
+
g = (function() {
|
21002 |
+
return this;
|
21003 |
+
})();
|
21004 |
+
|
21005 |
+
try {
|
21006 |
+
// This works if eval is allowed (see CSP)
|
21007 |
+
g = g || Function("return this")() || (1,eval)("this");
|
21008 |
+
} catch(e) {
|
21009 |
+
// This works if the window reference is available
|
21010 |
+
if(typeof window === "object")
|
21011 |
+
g = window;
|
21012 |
+
}
|
21013 |
+
|
21014 |
+
// g can still be undefined, but nothing to do about it...
|
21015 |
+
// We return undefined, instead of nothing here, so it's
|
21016 |
+
// easier to handle this case. if(!global) { ...}
|
21017 |
+
|
21018 |
+
module.exports = g;
|
21019 |
+
|
21020 |
+
|
21021 |
+
/***/ }),
|
21022 |
+
/* 301 */
|
21023 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21024 |
|
21025 |
"use strict";
|
21026 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Radio__ = __webpack_require__(636);
|
21027 |
/* unused harmony reexport default */
|
21028 |
|
21029 |
|
21030 |
/***/ }),
|
21031 |
+
/* 302 */
|
21032 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21033 |
|
21034 |
"use strict";
|
21035 |
/* harmony export (immutable) */ __webpack_exports__["a"] = useRadioGroup;
|
21036 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
21037 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
21038 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__RadioGroupContext__ = __webpack_require__(303);
|
21039 |
|
21040 |
|
21041 |
function useRadioGroup() {
|
21042 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](__WEBPACK_IMPORTED_MODULE_1__RadioGroupContext__["a" /* default */]);
|
21043 |
}
|
21044 |
|
21045 |
/***/ }),
|
21046 |
+
/* 303 */
|
21047 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21048 |
|
21049 |
"use strict";
|
21054 |
* @ignore - internal component.
|
21055 |
*/
|
21056 |
|
21057 |
+
var RadioGroupContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
|
21058 |
|
21059 |
if (process.env.NODE_ENV !== 'production') {
|
21060 |
RadioGroupContext.displayName = 'RadioGroupContext';
|
21064 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
21065 |
|
21066 |
/***/ }),
|
21067 |
+
/* 304 */
|
21068 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21069 |
|
21070 |
"use strict";
|
21071 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RadioGroup__ = __webpack_require__(640);
|
21072 |
/* unused harmony reexport default */
|
21073 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useRadioGroup__ = __webpack_require__(302);
|
21074 |
/* unused harmony reexport useRadioGroup */
|
21075 |
|
21076 |
|
21077 |
|
21078 |
/***/ }),
|
21079 |
+
/* 305 */
|
21080 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21081 |
|
21082 |
"use strict";
|
21083 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RootRef__ = __webpack_require__(641);
|
21084 |
/* unused harmony reexport default */
|
21085 |
|
21086 |
|
21087 |
/***/ }),
|
21088 |
+
/* 306 */
|
21089 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21090 |
|
21091 |
"use strict";
|
21092 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slider__ = __webpack_require__(648);
|
21093 |
/* unused harmony reexport default */
|
21094 |
|
21095 |
|
21096 |
/***/ }),
|
21097 |
+
/* 307 */
|
21098 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21099 |
|
21100 |
"use strict";
|
21101 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Snackbar__ = __webpack_require__(650);
|
21102 |
/* unused harmony reexport default */
|
21103 |
|
21104 |
|
21105 |
/***/ }),
|
21106 |
+
/* 308 */
|
21107 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21108 |
|
21109 |
"use strict";
|
21110 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Step__ = __webpack_require__(652);
|
21111 |
/* unused harmony reexport default */
|
21112 |
|
21113 |
|
21114 |
/***/ }),
|
21115 |
+
/* 309 */
|
21116 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21117 |
|
21118 |
"use strict";
|
21119 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepButton__ = __webpack_require__(653);
|
21120 |
/* unused harmony reexport default */
|
21121 |
|
21122 |
|
21123 |
/***/ }),
|
21124 |
+
/* 310 */
|
21125 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21126 |
|
21127 |
"use strict";
|
21128 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepContent__ = __webpack_require__(659);
|
21129 |
/* unused harmony reexport default */
|
21130 |
|
21131 |
|
21132 |
/***/ }),
|
21133 |
+
/* 311 */
|
21134 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21135 |
|
21136 |
"use strict";
|
21137 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Stepper__ = __webpack_require__(660);
|
21138 |
/* unused harmony reexport default */
|
21139 |
|
21140 |
|
21141 |
/***/ }),
|
21142 |
+
/* 312 */
|
21143 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21144 |
|
21145 |
"use strict";
|
21146 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SwipeableDrawer__ = __webpack_require__(661);
|
21147 |
/* unused harmony reexport default */
|
21148 |
|
21149 |
|
21150 |
/***/ }),
|
21151 |
+
/* 313 */
|
21152 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21153 |
|
21154 |
"use strict";
|
21155 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Switch__ = __webpack_require__(663);
|
21156 |
/* unused harmony reexport default */
|
21157 |
|
21158 |
|
21159 |
/***/ }),
|
21160 |
+
/* 314 */
|
21161 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21162 |
|
21163 |
"use strict";
|
21164 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tab__ = __webpack_require__(664);
|
21165 |
/* unused harmony reexport default */
|
21166 |
|
21167 |
|
21168 |
/***/ }),
|
21169 |
+
/* 315 */
|
21170 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21171 |
|
21172 |
"use strict";
|
21173 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Table__ = __webpack_require__(665);
|
21174 |
/* unused harmony reexport default */
|
21175 |
|
21176 |
|
21177 |
/***/ }),
|
21178 |
+
/* 316 */
|
21179 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21180 |
|
21181 |
"use strict";
|
21186 |
* @ignore - internal component.
|
21187 |
*/
|
21188 |
|
21189 |
+
var TableContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
|
21190 |
|
21191 |
if (process.env.NODE_ENV !== 'production') {
|
21192 |
TableContext.displayName = 'TableContext';
|
21196 |
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
21197 |
|
21198 |
/***/ }),
|
21199 |
+
/* 317 */
|
21200 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21201 |
|
21202 |
"use strict";
|
21203 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableBody__ = __webpack_require__(666);
|
21204 |
/* unused harmony reexport default */
|
21205 |
|
21206 |
|
21207 |
/***/ }),
|
21208 |
+
/* 318 */
|
21209 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21210 |
|
21211 |
"use strict";
|
21212 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableContainer__ = __webpack_require__(668);
|
21213 |
/* unused harmony reexport default */
|
21214 |
|
21215 |
|
21216 |
/***/ }),
|
21217 |
+
/* 319 */
|
21218 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21219 |
|
21220 |
"use strict";
|
21221 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableFooter__ = __webpack_require__(669);
|
21222 |
/* unused harmony reexport default */
|
21223 |
|
21224 |
|
21225 |
/***/ }),
|
21226 |
+
/* 320 */
|
21227 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21228 |
|
21229 |
"use strict";
|
21230 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableHead__ = __webpack_require__(670);
|
21231 |
/* unused harmony reexport default */
|
21232 |
|
21233 |
|
21234 |
/***/ }),
|
21235 |
+
/* 321 */
|
21236 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21237 |
|
21238 |
"use strict";
|
21239 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TablePagination__ = __webpack_require__(671);
|
21240 |
/* unused harmony reexport default */
|
21241 |
|
21242 |
|
21243 |
/***/ }),
|
21244 |
+
/* 322 */
|
21245 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21246 |
|
21247 |
"use strict";
|
21248 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
21249 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
21250 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__ = __webpack_require__(21);
|
21251 |
|
21252 |
|
21253 |
/**
|
21254 |
* @ignore - internal component.
|
21255 |
*/
|
21256 |
|
21257 |
+
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__["a" /* default */])( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"]("path", {
|
21258 |
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
21259 |
}), 'KeyboardArrowLeft'));
|
21260 |
|
21261 |
/***/ }),
|
21262 |
+
/* 323 */
|
21263 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21264 |
|
21265 |
"use strict";
|
21266 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
21267 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
21268 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__ = __webpack_require__(21);
|
21269 |
|
21270 |
|
21271 |
/**
|
21272 |
* @ignore - internal component.
|
21273 |
*/
|
21274 |
|
21275 |
+
/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__["a" /* default */])( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"]("path", {
|
21276 |
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
21277 |
}), 'KeyboardArrowRight'));
|
21278 |
|
21279 |
/***/ }),
|
21280 |
+
/* 324 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21281 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21282 |
|
21283 |
"use strict";
|
21284 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableRow__ = __webpack_require__(674);
|
21285 |
/* unused harmony reexport default */
|
21286 |
|
21287 |
|
21288 |
/***/ }),
|
21289 |
+
/* 325 */
|
21290 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21291 |
|
21292 |
"use strict";
|
21293 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableSortLabel__ = __webpack_require__(675);
|
21294 |
/* unused harmony reexport default */
|
21295 |
|
21296 |
|
21297 |
/***/ }),
|
21298 |
+
/* 326 */
|
21299 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21300 |
|
21301 |
"use strict";
|
21302 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextField__ = __webpack_require__(683);
|
21303 |
/* unused harmony reexport default */
|
21304 |
|
21305 |
|
21306 |
/***/ }),
|
21307 |
+
/* 327 */
|
21308 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21309 |
|
21310 |
"use strict";
|
21311 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useScrollTrigger__ = __webpack_require__(685);
|
21312 |
/* unused harmony reexport default */
|
21313 |
|
21314 |
|
21315 |
/***/ }),
|
21316 |
+
/* 328 */
|
21317 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21318 |
|
21319 |
"use strict";
|
21320 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withMobileDialog__ = __webpack_require__(686);
|
21321 |
/* unused harmony reexport default */
|
21322 |
|
21323 |
|
21324 |
/***/ }),
|
21325 |
+
/* 329 */
|
21326 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21327 |
|
21328 |
"use strict";
|
21329 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Autocomplete__ = __webpack_require__(688);
|
21330 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["b"]; });
|
21331 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["a"]; });
|
21332 |
|
21333 |
|
21334 |
/***/ }),
|
21335 |
+
/* 330 */
|
21336 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21337 |
|
21338 |
"use strict";
|
21339 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__ = __webpack_require__(690);
|
21340 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["b"]; });
|
21341 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["a"]; });
|
21342 |
|
21343 |
|
21344 |
/***/ }),
|
21345 |
+
/* 331 */
|
21346 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21347 |
|
21348 |
"use strict";
|
21349 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__ = __webpack_require__(691);
|
21350 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__["a"]; });
|
21351 |
|
21352 |
|
21353 |
/***/ }),
|
21354 |
+
/* 332 */
|
21355 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21356 |
|
21357 |
"use strict";
|
21358 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Pagination__ = __webpack_require__(692);
|
21359 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Pagination__["a"]; });
|
21360 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__usePagination__ = __webpack_require__(333);
|
21361 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__usePagination__["a"]; });
|
21362 |
|
21363 |
|
21364 |
|
21365 |
/***/ }),
|
21366 |
+
/* 333 */
|
21367 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21368 |
|
21369 |
"use strict";
|
21370 |
/* harmony export (immutable) */ __webpack_exports__["a"] = usePagination;
|
21371 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
|
21372 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(32);
|
21373 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(20);
|
21374 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
|
21375 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_core_utils__ = __webpack_require__(10);
|
21376 |
|
21377 |
|
21378 |
|
21381 |
function usePagination() {
|
21382 |
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
21383 |
|
21384 |
+
// keep default values in sync with @default tags in Pagination.propTypes
|
21385 |
var _props$boundaryCount = props.boundaryCount,
|
21386 |
+
boundaryCount = _props$boundaryCount === void 0 ? 1 : _props$boundaryCount,
|
21387 |
_props$componentName = props.componentName,
|
21388 |
componentName = _props$componentName === void 0 ? 'usePagination' : _props$componentName,
|
21389 |
_props$count = props.count,
|
21404 |
showLastButton = _props$showLastButton === void 0 ? false : _props$showLastButton,
|
21405 |
_props$siblingCount = props.siblingCount,
|
21406 |
siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
|
21407 |
+
other = Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"]);
|
21408 |
|
21409 |
+
var _useControlled = Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_core_utils__["f" /* useControlled */])({
|
|
|
|
|
|
|
21410 |
controlled: pageProp,
|
21411 |
default: defaultPage,
|
21412 |
+
name: componentName,
|
21413 |
+
state: 'page'
|
21414 |
}),
|
21415 |
_useControlled2 = Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_useControlled, 2),
|
21416 |
page = _useControlled2[0],
|
21436 |
});
|
21437 |
};
|
21438 |
|
21439 |
+
var startPages = range(1, Math.min(boundaryCount, count));
|
21440 |
+
var endPages = range(Math.max(count - boundaryCount + 1, boundaryCount + 1), count);
|
21441 |
var siblingsStart = Math.max(Math.min( // Natural start
|
21442 |
page - siblingCount, // Lower boundary when page is high
|
21443 |
+
count - boundaryCount - siblingCount * 2 - 1), // Greater than startPages
|
21444 |
+
boundaryCount + 2);
|
21445 |
var siblingsEnd = Math.min(Math.max( // Natural end
|
21446 |
page + siblingCount, // Upper boundary when page is low
|
21447 |
+
boundaryCount + siblingCount * 2 + 2), // Less than endPages
|
21448 |
endPages[0] - 2); // Basic list of items to render
|
21449 |
// e.g. itemList = ['first', 'previous', 1, 'ellipsis', 4, 5, 6, 'ellipsis', 10, 'next', 'last']
|
21450 |
|
21451 |
+
var itemList = [].concat(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(showFirstButton ? ['first'] : []), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(hidePrevButton ? [] : ['previous']), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(startPages), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(siblingsStart > boundaryCount + 2 ? ['start-ellipsis'] : boundaryCount + 1 < count - boundaryCount ? [boundaryCount + 1] : []), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(range(siblingsStart, siblingsEnd)), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(siblingsEnd < count - boundaryCount - 1 ? ['end-ellipsis'] : count - boundaryCount > boundaryCount ? [count - boundaryCount] : []), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(endPages), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(hideNextButton ? [] : ['next']), Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(showLastButton ? ['last'] : [])); // Map the button type to its page number
|
21452 |
|
21453 |
var buttonPage = function buttonPage(type) {
|
21454 |
switch (type) {
|
21496 |
}
|
21497 |
|
21498 |
/***/ }),
|
21499 |
+
/* 334 */
|
21500 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21501 |
|
21502 |
"use strict";
|
21503 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Rating__ = __webpack_require__(698);
|
21504 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Rating__["a"]; });
|
21505 |
|
21506 |
|
21507 |
/***/ }),
|
21508 |
+
/* 335 */
|
21509 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21510 |
|
21511 |
"use strict";
|
21512 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Skeleton__ = __webpack_require__(700);
|
21513 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Skeleton__["a"]; });
|
21514 |
|
21515 |
|
21516 |
/***/ }),
|
21517 |
+
/* 336 */
|
21518 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21519 |
|
21520 |
"use strict";
|
21521 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDial__ = __webpack_require__(701);
|
21522 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDial__["a"]; });
|
21523 |
|
21524 |
|
21525 |
/***/ }),
|
21526 |
+
/* 337 */
|
21527 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21528 |
|
21529 |
"use strict";
|
21530 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__ = __webpack_require__(702);
|
21531 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__["a"]; });
|
21532 |
|
21533 |
|
21534 |
/***/ }),
|
21535 |
+
/* 338 */
|
21536 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21537 |
|
21538 |
"use strict";
|
21539 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__ = __webpack_require__(703);
|
21540 |
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__["a"]; });
|
21541 |
|
21542 |
|
21543 |
/***/ }),
|
21544 |
+
/* 339 */
|
21545 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21546 |
|
21547 |
"use strict";
|
21548 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = TabContext;
|
21549 |
+
/* harmony export (immutable) */ __webpack_exports__["d"] = useTabContext;
|
21550 |
+
/* harmony export (immutable) */ __webpack_exports__["b"] = getPanelId;
|
21551 |
+
/* harmony export (immutable) */ __webpack_exports__["c"] = getTabId;
|
21552 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
21553 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
21554 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(2);
|
21555 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
21556 |
+
|
21557 |
+
|
21558 |
+
/**
|
21559 |
+
* @type {React.Context<{ idPrefix: string; value: string } | null>}
|
21560 |
+
*/
|
21561 |
+
|
21562 |
+
var Context = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"](null);
|
21563 |
+
|
21564 |
+
if (process.env.NODE_ENV !== 'production') {
|
21565 |
+
Context.displayName = 'TabContext';
|
21566 |
+
}
|
21567 |
+
|
21568 |
+
function useUniquePrefix() {
|
21569 |
+
var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](null),
|
21570 |
+
id = _React$useState[0],
|
21571 |
+
setId = _React$useState[1];
|
21572 |
+
|
21573 |
+
__WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
|
21574 |
+
setId("mui-p-".concat(Math.round(Math.random() * 1e5)));
|
21575 |
+
}, []);
|
21576 |
+
return id;
|
21577 |
+
}
|
21578 |
+
|
21579 |
+
function TabContext(props) {
|
21580 |
+
var children = props.children,
|
21581 |
+
value = props.value;
|
21582 |
+
var idPrefix = useUniquePrefix();
|
21583 |
+
var context = __WEBPACK_IMPORTED_MODULE_0_react__["useMemo"](function () {
|
21584 |
+
return {
|
21585 |
+
idPrefix: idPrefix,
|
21586 |
+
value: value
|
21587 |
+
};
|
21588 |
+
}, [idPrefix, value]);
|
21589 |
+
return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"](Context.Provider, {
|
21590 |
+
value: context
|
21591 |
+
}, children);
|
21592 |
+
}
|
21593 |
+
process.env.NODE_ENV !== "production" ? TabContext.propTypes = {
|
21594 |
+
// ----------------------------- Warning --------------------------------
|
21595 |
+
// | These PropTypes are generated from the TypeScript type definitions |
|
21596 |
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
21597 |
+
// ----------------------------------------------------------------------
|
21598 |
+
|
21599 |
+
/**
|
21600 |
+
* The content of the component.
|
21601 |
+
*/
|
21602 |
+
children: __WEBPACK_IMPORTED_MODULE_1_prop_types__["node"],
|
21603 |
+
|
21604 |
+
/**
|
21605 |
+
* The value of the currently selected `Tab`.
|
21606 |
+
*/
|
21607 |
+
value: __WEBPACK_IMPORTED_MODULE_1_prop_types__["string"].isRequired
|
21608 |
+
} : void 0;
|
21609 |
+
/**
|
21610 |
+
* @returns {unknown}
|
21611 |
+
*/
|
21612 |
+
|
21613 |
+
function useTabContext() {
|
21614 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](Context);
|
21615 |
+
}
|
21616 |
+
function getPanelId(context, value) {
|
21617 |
+
var idPrefix = context.idPrefix;
|
21618 |
+
|
21619 |
+
if (idPrefix === null) {
|
21620 |
+
return null;
|
21621 |
+
}
|
21622 |
|
21623 |
+
return "".concat(context.idPrefix, "-P-").concat(value);
|
21624 |
+
}
|
21625 |
+
function getTabId(context, value) {
|
21626 |
+
var idPrefix = context.idPrefix;
|
21627 |
+
|
21628 |
+
if (idPrefix === null) {
|
21629 |
+
return null;
|
21630 |
+
}
|
21631 |
+
|
21632 |
+
return "".concat(context.idPrefix, "-T-").concat(value);
|
21633 |
+
}
|
21634 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
21635 |
|
21636 |
/***/ }),
|
21637 |
+
/* 340 */
|
21638 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21639 |
|
21640 |
"use strict";
|
21641 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabList__ = __webpack_require__(705);
|
21642 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabList__["a"]; });
|
21643 |
|
21644 |
|
21645 |
/***/ }),
|
21646 |
+
/* 341 */
|
21647 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21648 |
|
21649 |
"use strict";
|
21650 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabPanel__ = __webpack_require__(706);
|
21651 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabPanel__["a"]; });
|
21652 |
|
21653 |
|
21654 |
/***/ }),
|
21655 |
+
/* 342 */
|
21656 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21657 |
|
21658 |
"use strict";
|
21659 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Timeline__ = __webpack_require__(707);
|
21660 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Timeline__["a"]; });
|
21661 |
|
|
|
|
|
|
|
21662 |
|
21663 |
+
/***/ }),
|
21664 |
+
/* 343 */
|
21665 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21666 |
|
21667 |
+
"use strict";
|
21668 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TimelineConnector__ = __webpack_require__(708);
|
21669 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TimelineConnector__["a"]; });
|
21670 |
|
|
|
|
|
21671 |
|
21672 |
/***/ }),
|
21673 |
+
/* 344 */
|
21674 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21675 |
|
21676 |
"use strict";
|
21677 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TimelineContent__ = __webpack_require__(709);
|
21678 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TimelineContent__["a"]; });
|
21679 |
|
21680 |
|
21681 |
/***/ }),
|
21682 |
+
/* 345 */
|
21683 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21684 |
|
21685 |
"use strict";
|
21686 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TimelineDot__ = __webpack_require__(710);
|
21687 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TimelineDot__["a"]; });
|
21688 |
|
21689 |
|
21690 |
+
/***/ }),
|
21691 |
+
/* 346 */
|
21692 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21693 |
|
21694 |
+
"use strict";
|
21695 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TimelineItem__ = __webpack_require__(711);
|
21696 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TimelineItem__["a"]; });
|
21697 |
|
|
|
21698 |
|
21699 |
+
/***/ }),
|
21700 |
+
/* 347 */
|
21701 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21702 |
|
21703 |
+
"use strict";
|
21704 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TimelineOppositeContent__ = __webpack_require__(712);
|
21705 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TimelineOppositeContent__["a"]; });
|
21706 |
|
|
|
21707 |
|
21708 |
+
/***/ }),
|
21709 |
+
/* 348 */
|
21710 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21711 |
|
21712 |
+
"use strict";
|
21713 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TimelineSeparator__ = __webpack_require__(713);
|
21714 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TimelineSeparator__["a"]; });
|
21715 |
|
|
|
21716 |
|
21717 |
+
/***/ }),
|
21718 |
+
/* 349 */
|
21719 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21720 |
|
21721 |
+
"use strict";
|
21722 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ToggleButton__ = __webpack_require__(714);
|
21723 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ToggleButton__["a"]; });
|
21724 |
|
|
|
21725 |
|
21726 |
+
/***/ }),
|
21727 |
+
/* 350 */
|
21728 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21729 |
|
21730 |
+
"use strict";
|
21731 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ToggleButtonGroup__ = __webpack_require__(715);
|
21732 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ToggleButtonGroup__["a"]; });
|
21733 |
|
|
|
21734 |
|
21735 |
+
/***/ }),
|
21736 |
+
/* 351 */
|
21737 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21738 |
|
21739 |
+
"use strict";
|
21740 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TreeItem__ = __webpack_require__(717);
|
21741 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TreeItem__["a"]; });
|
21742 |
|
|
|
21743 |
|
21744 |
+
/***/ }),
|
21745 |
+
/* 352 */
|
21746 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21747 |
|
21748 |
+
"use strict";
|
21749 |
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
21750 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
|
21751 |
|
21752 |
+
/**
|
21753 |
+
* @ignore - internal component.
|
21754 |
+
*/
|
21755 |
|
21756 |
+
var TreeViewContext = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
|
|
|
21757 |
|
21758 |
+
if (process.env.NODE_ENV !== 'production') {
|
21759 |
+
TreeViewContext.displayName = 'TreeViewContext';
|
21760 |
+
}
|
|
|
|
|
|
|
|
|
|
|
21761 |
|
21762 |
+
/* harmony default export */ __webpack_exports__["a"] = (TreeViewContext);
|
21763 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21764 |
|
21765 |
+
/***/ }),
|
21766 |
+
/* 353 */
|
21767 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21768 |
+
|
21769 |
+
"use strict";
|
21770 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TreeView__ = __webpack_require__(718);
|
21771 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TreeView__["a"]; });
|
21772 |
|
|
|
21773 |
|
21774 |
/***/ }),
|
21775 |
+
/* 354 */
|
21776 |
/***/ (function(module, exports, __webpack_require__) {
|
21777 |
|
21778 |
+
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
|
21779 |
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21780 |
|
21781 |
+
module.exports = freeGlobal;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21782 |
|
21783 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(300)))
|
21784 |
|
21785 |
/***/ }),
|
21786 |
+
/* 355 */
|
21787 |
/***/ (function(module, exports, __webpack_require__) {
|
21788 |
|
21789 |
+
var baseFor = __webpack_require__(356),
|
21790 |
+
keys = __webpack_require__(74);
|
21791 |
+
|
21792 |
+
/**
|
21793 |
+
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
21794 |
*
|
21795 |
+
* @private
|
21796 |
+
* @param {Object} object The object to iterate over.
|
21797 |
+
* @param {Function} iteratee The function invoked per iteration.
|
21798 |
+
* @returns {Object} Returns `object`.
|
21799 |
*/
|
21800 |
+
function baseForOwn(object, iteratee) {
|
21801 |
+
return object && baseFor(object, iteratee, keys);
|
21802 |
+
}
|
21803 |
|
21804 |
+
module.exports = baseForOwn;
|
21805 |
|
21806 |
|
21807 |
+
/***/ }),
|
21808 |
+
/* 356 */
|
21809 |
+
/***/ (function(module, exports, __webpack_require__) {
|
21810 |
|
21811 |
+
var createBaseFor = __webpack_require__(729);
|
21812 |
|
21813 |
+
/**
|
21814 |
+
* The base implementation of `baseForOwn` which iterates over `object`
|
21815 |
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
21816 |
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
21817 |
+
*
|
21818 |
+
* @private
|
21819 |
+
* @param {Object} object The object to iterate over.
|
21820 |
+
* @param {Function} iteratee The function invoked per iteration.
|
21821 |
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
21822 |
+
* @returns {Object} Returns `object`.
|
21823 |
+
*/
|
21824 |
+
var baseFor = createBaseFor();
|
21825 |
|
21826 |
+
module.exports = baseFor;
|
21827 |
|
|
|
21828 |
|
21829 |
+
/***/ }),
|
21830 |
+
/* 357 */
|
21831 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21832 |
|
21833 |
+
var baseTimes = __webpack_require__(730),
|
21834 |
+
isArguments = __webpack_require__(167),
|
21835 |
+
isArray = __webpack_require__(25),
|
21836 |
+
isBuffer = __webpack_require__(103),
|
21837 |
+
isIndex = __webpack_require__(169),
|
21838 |
+
isTypedArray = __webpack_require__(170);
|
21839 |
|
21840 |
+
/** Used for built-in method references. */
|
21841 |
+
var objectProto = Object.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21842 |
|
21843 |
+
/** Used to check objects for own properties. */
|
21844 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
21845 |
|
21846 |
+
/**
|
21847 |
+
* Creates an array of the enumerable property names of the array-like `value`.
|
21848 |
+
*
|
21849 |
+
* @private
|
21850 |
+
* @param {*} value The value to query.
|
21851 |
+
* @param {boolean} inherited Specify returning inherited property names.
|
21852 |
+
* @returns {Array} Returns the array of property names.
|
21853 |
+
*/
|
21854 |
+
function arrayLikeKeys(value, inherited) {
|
21855 |
+
var isArr = isArray(value),
|
21856 |
+
isArg = !isArr && isArguments(value),
|
21857 |
+
isBuff = !isArr && !isArg && isBuffer(value),
|
21858 |
+
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
21859 |
+
skipIndexes = isArr || isArg || isBuff || isType,
|
21860 |
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
21861 |
+
length = result.length;
|
21862 |
+
|
21863 |
+
for (var key in value) {
|
21864 |
+
if ((inherited || hasOwnProperty.call(value, key)) &&
|
21865 |
+
!(skipIndexes && (
|
21866 |
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
21867 |
+
key == 'length' ||
|
21868 |
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
21869 |
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
21870 |
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
21871 |
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
21872 |
+
// Skip index properties.
|
21873 |
+
isIndex(key, length)
|
21874 |
+
))) {
|
21875 |
+
result.push(key);
|
21876 |
+
}
|
21877 |
}
|
21878 |
+
return result;
|
|
|
21879 |
}
|
21880 |
|
21881 |
+
module.exports = arrayLikeKeys;
|
21882 |
+
|
21883 |
+
|
21884 |
+
/***/ }),
|
21885 |
+
/* 358 */
|
21886 |
+
/***/ (function(module, exports) {
|
21887 |
|
21888 |
/**
|
21889 |
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
|
|
|
|
|
|
|
21890 |
*
|
21891 |
+
* @private
|
21892 |
+
* @param {Function} func The function to wrap.
|
21893 |
+
* @param {Function} transform The argument transform.
|
21894 |
+
* @returns {Function} Returns the new function.
|
21895 |
*/
|
21896 |
+
function overArg(func, transform) {
|
21897 |
+
return function(arg) {
|
21898 |
+
return func(transform(arg));
|
21899 |
+
};
|
21900 |
+
}
|
21901 |
+
|
21902 |
+
module.exports = overArg;
|
21903 |
+
|
21904 |
+
|
21905 |
+
/***/ }),
|
21906 |
+
/* 359 */
|
21907 |
+
/***/ (function(module, exports, __webpack_require__) {
|
21908 |
+
|
21909 |
+
var identity = __webpack_require__(104);
|
21910 |
|
21911 |
/**
|
21912 |
+
* Casts `value` to `identity` if it's not a function.
|
|
|
21913 |
*
|
21914 |
+
* @private
|
21915 |
+
* @param {*} value The value to inspect.
|
21916 |
+
* @returns {Function} Returns cast function.
|
|
|
|
|
|
|
|
|
|
|
21917 |
*/
|
21918 |
+
function castFunction(value) {
|
21919 |
+
return typeof value == 'function' ? value : identity;
|
21920 |
+
}
|
21921 |
|
21922 |
+
module.exports = castFunction;
|
|
|
|
|
|
|
|
|
21923 |
|
|
|
|
|
|
|
|
|
21924 |
|
21925 |
+
/***/ }),
|
21926 |
+
/* 360 */
|
21927 |
+
/***/ (function(module, exports, __webpack_require__) {
|
21928 |
|
21929 |
+
var baseGetTag = __webpack_require__(50),
|
21930 |
+
getPrototype = __webpack_require__(176),
|
21931 |
+
isObjectLike = __webpack_require__(35);
|
|
|
|
|
|
|
|
|
21932 |
|
21933 |
+
/** `Object#toString` result references. */
|
21934 |
+
var objectTag = '[object Object]';
|
|
|
|
|
21935 |
|
21936 |
+
/** Used for built-in method references. */
|
21937 |
+
var funcProto = Function.prototype,
|
21938 |
+
objectProto = Object.prototype;
|
|
|
21939 |
|
21940 |
+
/** Used to resolve the decompiled source of functions. */
|
21941 |
+
var funcToString = funcProto.toString;
|
21942 |
+
|
21943 |
+
/** Used to check objects for own properties. */
|
21944 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
21945 |
|
21946 |
+
/** Used to infer the `Object` constructor. */
|
21947 |
+
var objectCtorString = funcToString.call(Object);
|
21948 |
|
21949 |
/**
|
21950 |
+
* Checks if `value` is a plain object, that is, an object created by the
|
21951 |
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
21952 |
+
*
|
21953 |
+
* @static
|
21954 |
+
* @memberOf _
|
21955 |
+
* @since 0.8.0
|
21956 |
+
* @category Lang
|
21957 |
+
* @param {*} value The value to check.
|
21958 |
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
21959 |
+
* @example
|
21960 |
+
*
|
21961 |
+
* function Foo() {
|
21962 |
+
* this.a = 1;
|
21963 |
+
* }
|
21964 |
+
*
|
21965 |
+
* _.isPlainObject(new Foo);
|
21966 |
+
* // => false
|
21967 |
+
*
|
21968 |
+
* _.isPlainObject([1, 2, 3]);
|
21969 |
+
* // => false
|
21970 |
+
*
|
21971 |
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
21972 |
+
* // => true
|
21973 |
+
*
|
21974 |
+
* _.isPlainObject(Object.create(null));
|
21975 |
+
* // => true
|
21976 |
*/
|
21977 |
+
function isPlainObject(value) {
|
21978 |
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
21979 |
+
return false;
|
21980 |
+
}
|
21981 |
+
var proto = getPrototype(value);
|
21982 |
+
if (proto === null) {
|
21983 |
+
return true;
|
21984 |
+
}
|
21985 |
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
21986 |
+
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
21987 |
+
funcToString.call(Ctor) == objectCtorString;
|
21988 |
+
}
|
21989 |
|
21990 |
+
module.exports = isPlainObject;
|
|
|
|
|
|
|
|
|
21991 |
|
|
|
|
|
|
|
21992 |
|
21993 |
+
/***/ }),
|
21994 |
+
/* 361 */
|
21995 |
+
/***/ (function(module, exports) {
|
|
|
21996 |
|
21997 |
+
/**
|
21998 |
+
* A specialized version of `_.map` for arrays without support for iteratee
|
21999 |
+
* shorthands.
|
22000 |
+
*
|
22001 |
+
* @private
|
22002 |
+
* @param {Array} [array] The array to iterate over.
|
22003 |
+
* @param {Function} iteratee The function invoked per iteration.
|
22004 |
+
* @returns {Array} Returns the new mapped array.
|
22005 |
+
*/
|
22006 |
+
function arrayMap(array, iteratee) {
|
22007 |
+
var index = -1,
|
22008 |
+
length = array == null ? 0 : array.length,
|
22009 |
+
result = Array(length);
|
22010 |
|
22011 |
+
while (++index < length) {
|
22012 |
+
result[index] = iteratee(array[index], index, array);
|
22013 |
+
}
|
22014 |
+
return result;
|
22015 |
+
}
|
|
|
22016 |
|
22017 |
+
module.exports = arrayMap;
|
|
|
22018 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22019 |
|
22020 |
+
/***/ }),
|
22021 |
+
/* 362 */
|
22022 |
+
/***/ (function(module, exports) {
|
22023 |
|
22024 |
+
/** Used for built-in method references. */
|
22025 |
+
var funcProto = Function.prototype;
|
22026 |
|
22027 |
+
/** Used to resolve the decompiled source of functions. */
|
22028 |
+
var funcToString = funcProto.toString;
|
|
|
|
|
|
|
22029 |
|
22030 |
+
/**
|
22031 |
+
* Converts `func` to its source code.
|
22032 |
+
*
|
22033 |
+
* @private
|
22034 |
+
* @param {Function} func The function to convert.
|
22035 |
+
* @returns {string} Returns the source code.
|
22036 |
+
*/
|
22037 |
+
function toSource(func) {
|
22038 |
+
if (func != null) {
|
22039 |
+
try {
|
22040 |
+
return funcToString.call(func);
|
22041 |
+
} catch (e) {}
|
22042 |
+
try {
|
22043 |
+
return (func + '');
|
22044 |
+
} catch (e) {}
|
22045 |
}
|
22046 |
+
return '';
|
22047 |
}
|
22048 |
+
|
22049 |
+
module.exports = toSource;
|
22050 |
+
|
22051 |
+
|
22052 |
+
/***/ }),
|
22053 |
+
/* 363 */
|
22054 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22055 |
+
|
22056 |
+
var baseIsEqualDeep = __webpack_require__(765),
|
22057 |
+
isObjectLike = __webpack_require__(35);
|
22058 |
+
|
22059 |
/**
|
22060 |
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
22061 |
+
* and tracks traversed objects.
|
22062 |
+
*
|
22063 |
+
* @private
|
22064 |
+
* @param {*} value The value to compare.
|
22065 |
+
* @param {*} other The other value to compare.
|
22066 |
+
* @param {boolean} bitmask The bitmask flags.
|
22067 |
+
* 1 - Unordered comparison
|
22068 |
+
* 2 - Partial comparison
|
22069 |
+
* @param {Function} [customizer] The function to customize comparisons.
|
22070 |
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
22071 |
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
22072 |
*/
|
22073 |
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
22074 |
+
if (value === other) {
|
22075 |
+
return true;
|
22076 |
+
}
|
22077 |
+
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
22078 |
+
return value !== value && other !== other;
|
22079 |
+
}
|
22080 |
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
22081 |
+
}
|
22082 |
|
22083 |
+
module.exports = baseIsEqual;
|
22084 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22085 |
|
22086 |
+
/***/ }),
|
22087 |
+
/* 364 */
|
22088 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22089 |
|
22090 |
+
var SetCache = __webpack_require__(766),
|
22091 |
+
arraySome = __webpack_require__(769),
|
22092 |
+
cacheHas = __webpack_require__(770);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22093 |
|
22094 |
+
/** Used to compose bitmasks for value comparisons. */
|
22095 |
+
var COMPARE_PARTIAL_FLAG = 1,
|
22096 |
+
COMPARE_UNORDERED_FLAG = 2;
|
22097 |
+
|
22098 |
+
/**
|
22099 |
+
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
22100 |
+
* partial deep comparisons.
|
22101 |
+
*
|
22102 |
+
* @private
|
22103 |
+
* @param {Array} array The array to compare.
|
22104 |
+
* @param {Array} other The other array to compare.
|
22105 |
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
22106 |
+
* @param {Function} customizer The function to customize comparisons.
|
22107 |
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
22108 |
+
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
22109 |
+
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
22110 |
+
*/
|
22111 |
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
22112 |
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
22113 |
+
arrLength = array.length,
|
22114 |
+
othLength = other.length;
|
22115 |
+
|
22116 |
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
22117 |
+
return false;
|
22118 |
}
|
22119 |
+
// Assume cyclic values are equal.
|
22120 |
+
var stacked = stack.get(array);
|
22121 |
+
if (stacked && stack.get(other)) {
|
22122 |
+
return stacked == other;
|
22123 |
+
}
|
22124 |
+
var index = -1,
|
22125 |
+
result = true,
|
22126 |
+
seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
|
22127 |
|
22128 |
+
stack.set(array, other);
|
22129 |
+
stack.set(other, array);
|
22130 |
|
22131 |
+
// Ignore non-index properties.
|
22132 |
+
while (++index < arrLength) {
|
22133 |
+
var arrValue = array[index],
|
22134 |
+
othValue = other[index];
|
22135 |
+
|
22136 |
+
if (customizer) {
|
22137 |
+
var compared = isPartial
|
22138 |
+
? customizer(othValue, arrValue, index, other, array, stack)
|
22139 |
+
: customizer(arrValue, othValue, index, array, other, stack);
|
22140 |
+
}
|
22141 |
+
if (compared !== undefined) {
|
22142 |
+
if (compared) {
|
22143 |
+
continue;
|
22144 |
+
}
|
22145 |
+
result = false;
|
22146 |
+
break;
|
22147 |
+
}
|
22148 |
+
// Recursively compare arrays (susceptible to call stack limits).
|
22149 |
+
if (seen) {
|
22150 |
+
if (!arraySome(other, function(othValue, othIndex) {
|
22151 |
+
if (!cacheHas(seen, othIndex) &&
|
22152 |
+
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
22153 |
+
return seen.push(othIndex);
|
22154 |
+
}
|
22155 |
+
})) {
|
22156 |
+
result = false;
|
22157 |
+
break;
|
22158 |
+
}
|
22159 |
+
} else if (!(
|
22160 |
+
arrValue === othValue ||
|
22161 |
+
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
22162 |
+
)) {
|
22163 |
+
result = false;
|
22164 |
+
break;
|
22165 |
+
}
|
22166 |
+
}
|
22167 |
+
stack['delete'](array);
|
22168 |
+
stack['delete'](other);
|
22169 |
+
return result;
|
22170 |
}
|
22171 |
+
|
22172 |
+
module.exports = equalArrays;
|
22173 |
+
|
22174 |
+
|
22175 |
+
/***/ }),
|
22176 |
+
/* 365 */
|
22177 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22178 |
+
|
22179 |
+
var root = __webpack_require__(30);
|
22180 |
+
|
22181 |
+
/** Built-in value references. */
|
22182 |
+
var Uint8Array = root.Uint8Array;
|
22183 |
+
|
22184 |
+
module.exports = Uint8Array;
|
22185 |
+
|
22186 |
+
|
22187 |
+
/***/ }),
|
22188 |
+
/* 366 */
|
22189 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22190 |
+
|
22191 |
+
var baseGetAllKeys = __webpack_require__(367),
|
22192 |
+
getSymbols = __webpack_require__(179),
|
22193 |
+
keys = __webpack_require__(74);
|
22194 |
+
|
22195 |
/**
|
22196 |
+
* Creates an array of own enumerable property names and symbols of `object`.
|
22197 |
+
*
|
22198 |
+
* @private
|
22199 |
+
* @param {Object} object The object to query.
|
22200 |
+
* @returns {Array} Returns the array of property names and symbols.
|
22201 |
*/
|
22202 |
+
function getAllKeys(object) {
|
22203 |
+
return baseGetAllKeys(object, keys, getSymbols);
|
22204 |
+
}
|
22205 |
|
22206 |
+
module.exports = getAllKeys;
|
22207 |
|
|
|
|
|
|
|
22208 |
|
22209 |
+
/***/ }),
|
22210 |
+
/* 367 */
|
22211 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22212 |
|
22213 |
+
var arrayPush = __webpack_require__(368),
|
22214 |
+
isArray = __webpack_require__(25);
|
22215 |
|
|
|
22216 |
/**
|
22217 |
+
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
22218 |
+
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
22219 |
+
* symbols of `object`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22220 |
*
|
22221 |
+
* @private
|
22222 |
+
* @param {Object} object The object to query.
|
22223 |
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
22224 |
+
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
22225 |
+
* @returns {Array} Returns the array of property names and symbols.
|
22226 |
+
*/
|
22227 |
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
22228 |
+
var result = keysFunc(object);
|
22229 |
+
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
22230 |
+
}
|
22231 |
+
|
22232 |
+
module.exports = baseGetAllKeys;
|
22233 |
+
|
22234 |
+
|
22235 |
+
/***/ }),
|
22236 |
+
/* 368 */
|
22237 |
+
/***/ (function(module, exports) {
|
22238 |
+
|
22239 |
+
/**
|
22240 |
+
* Appends the elements of `values` to `array`.
|
22241 |
*
|
22242 |
+
* @private
|
22243 |
+
* @param {Array} array The array to modify.
|
22244 |
+
* @param {Array} values The values to append.
|
22245 |
+
* @returns {Array} Returns `array`.
|
|
|
22246 |
*/
|
22247 |
+
function arrayPush(array, values) {
|
22248 |
+
var index = -1,
|
22249 |
+
length = values.length,
|
22250 |
+
offset = array.length;
|
22251 |
|
22252 |
+
while (++index < length) {
|
22253 |
+
array[offset + index] = values[index];
|
|
|
|
|
|
|
22254 |
}
|
22255 |
+
return array;
|
22256 |
+
}
|
22257 |
+
|
22258 |
+
module.exports = arrayPush;
|
22259 |
+
|
22260 |
+
|
22261 |
+
/***/ }),
|
22262 |
+
/* 369 */
|
22263 |
+
/***/ (function(module, exports) {
|
22264 |
|
|
|
|
|
22265 |
/**
|
22266 |
+
* This method returns a new empty array.
|
|
|
22267 |
*
|
22268 |
+
* @static
|
22269 |
+
* @memberOf _
|
22270 |
+
* @since 4.13.0
|
22271 |
+
* @category Util
|
22272 |
+
* @returns {Array} Returns the new empty array.
|
22273 |
+
* @example
|
22274 |
*
|
22275 |
+
* var arrays = _.times(2, _.stubArray);
|
|
|
22276 |
*
|
22277 |
+
* console.log(arrays);
|
22278 |
+
* // => [[], []]
|
22279 |
+
*
|
22280 |
+
* console.log(arrays[0] === arrays[1]);
|
22281 |
+
* // => false
|
22282 |
*/
|
22283 |
+
function stubArray() {
|
22284 |
+
return [];
|
22285 |
+
}
|
22286 |
|
22287 |
+
module.exports = stubArray;
|
22288 |
+
|
22289 |
+
|
22290 |
+
/***/ }),
|
22291 |
+
/* 370 */
|
22292 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22293 |
+
|
22294 |
+
var isObject = __webpack_require__(27);
|
22295 |
|
|
|
|
|
|
|
22296 |
/**
|
22297 |
+
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
22298 |
+
*
|
22299 |
+
* @private
|
22300 |
+
* @param {*} value The value to check.
|
22301 |
+
* @returns {boolean} Returns `true` if `value` if suitable for strict
|
22302 |
+
* equality comparisons, else `false`.
|
22303 |
*/
|
22304 |
+
function isStrictComparable(value) {
|
22305 |
+
return value === value && !isObject(value);
|
22306 |
+
}
|
22307 |
|
22308 |
+
module.exports = isStrictComparable;
|
22309 |
|
|
|
|
|
|
|
|
|
|
|
22310 |
|
22311 |
+
/***/ }),
|
22312 |
+
/* 371 */
|
22313 |
+
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
|
|
|
22314 |
|
22315 |
+
/**
|
22316 |
+
* A specialized version of `matchesProperty` for source values suitable
|
22317 |
+
* for strict equality comparisons, i.e. `===`.
|
22318 |
+
*
|
22319 |
+
* @private
|
22320 |
+
* @param {string} key The key of the property to get.
|
22321 |
+
* @param {*} srcValue The value to match.
|
22322 |
+
* @returns {Function} Returns the new spec function.
|
22323 |
+
*/
|
22324 |
+
function matchesStrictComparable(key, srcValue) {
|
22325 |
+
return function(object) {
|
22326 |
+
if (object == null) {
|
22327 |
+
return false;
|
22328 |
}
|
22329 |
+
return object[key] === srcValue &&
|
22330 |
+
(srcValue !== undefined || (key in Object(object)));
|
22331 |
+
};
|
22332 |
}
|
22333 |
|
22334 |
+
module.exports = matchesStrictComparable;
|
22335 |
+
|
22336 |
+
|
22337 |
+
/***/ }),
|
22338 |
+
/* 372 */
|
22339 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22340 |
+
|
22341 |
+
var castPath = __webpack_require__(373),
|
22342 |
+
toKey = __webpack_require__(112);
|
22343 |
|
|
|
22344 |
/**
|
22345 |
+
* The base implementation of `_.get` without support for default values.
|
22346 |
+
*
|
22347 |
+
* @private
|
22348 |
+
* @param {Object} object The object to query.
|
22349 |
+
* @param {Array|string} path The path of the property to get.
|
22350 |
+
* @returns {*} Returns the resolved value.
|
22351 |
*/
|
22352 |
+
function baseGet(object, path) {
|
22353 |
+
path = castPath(path, object);
|
22354 |
|
22355 |
+
var index = 0,
|
22356 |
+
length = path.length;
|
|
|
22357 |
|
22358 |
+
while (object != null && index < length) {
|
22359 |
+
object = object[toKey(path[index++])];
|
22360 |
+
}
|
22361 |
+
return (index && index == length) ? object : undefined;
|
22362 |
}
|
22363 |
|
22364 |
+
module.exports = baseGet;
|
|
|
22365 |
|
|
|
22366 |
|
22367 |
+
/***/ }),
|
22368 |
+
/* 373 */
|
22369 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22370 |
|
22371 |
+
var isArray = __webpack_require__(25),
|
22372 |
+
isKey = __webpack_require__(180),
|
22373 |
+
stringToPath = __webpack_require__(783),
|
22374 |
+
toString = __webpack_require__(786);
|
|
|
22375 |
|
22376 |
+
/**
|
22377 |
+
* Casts `value` to a path array if it's not one.
|
22378 |
+
*
|
22379 |
+
* @private
|
22380 |
+
* @param {*} value The value to inspect.
|
22381 |
+
* @param {Object} [object] The object to query keys on.
|
22382 |
+
* @returns {Array} Returns the cast property path array.
|
22383 |
+
*/
|
22384 |
+
function castPath(value, object) {
|
22385 |
+
if (isArray(value)) {
|
22386 |
+
return value;
|
22387 |
}
|
22388 |
+
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
|
22389 |
}
|
22390 |
|
22391 |
+
module.exports = castPath;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22392 |
|
22393 |
+
|
22394 |
+
/***/ }),
|
22395 |
+
/* 374 */
|
22396 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22397 |
+
|
22398 |
+
var baseForOwn = __webpack_require__(355),
|
22399 |
+
createBaseEach = __webpack_require__(795);
|
22400 |
|
22401 |
/**
|
22402 |
+
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
22403 |
*
|
22404 |
+
* @private
|
22405 |
+
* @param {Array|Object} collection The collection to iterate over.
|
22406 |
+
* @param {Function} iteratee The function invoked per iteration.
|
22407 |
+
* @returns {Array|Object} Returns `collection`.
|
22408 |
*/
|
22409 |
+
var baseEach = createBaseEach(baseForOwn);
|
|
|
|
|
|
|
|
|
|
|
|
|
22410 |
|
22411 |
+
module.exports = baseEach;
|
|
|
|
|
22412 |
|
|
|
|
|
|
|
22413 |
|
22414 |
+
/***/ }),
|
22415 |
+
/* 375 */
|
22416 |
+
/***/ (function(module, exports) {
|
|
|
|
|
22417 |
|
22418 |
+
/**
|
22419 |
+
* A specialized version of `_.forEach` for arrays without support for
|
22420 |
+
* iteratee shorthands.
|
22421 |
+
*
|
22422 |
+
* @private
|
22423 |
+
* @param {Array} [array] The array to iterate over.
|
22424 |
+
* @param {Function} iteratee The function invoked per iteration.
|
22425 |
+
* @returns {Array} Returns `array`.
|
22426 |
+
*/
|
22427 |
+
function arrayEach(array, iteratee) {
|
22428 |
+
var index = -1,
|
22429 |
+
length = array == null ? 0 : array.length;
|
22430 |
|
22431 |
+
while (++index < length) {
|
22432 |
+
if (iteratee(array[index], index, array) === false) {
|
22433 |
+
break;
|
|
|
|
|
|
|
22434 |
}
|
|
|
|
|
|
|
|
|
22435 |
}
|
22436 |
+
return array;
|
22437 |
+
}
|
22438 |
|
22439 |
+
module.exports = arrayEach;
|
|
|
22440 |
|
|
|
22441 |
|
22442 |
+
/***/ }),
|
22443 |
+
/* 376 */
|
22444 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22445 |
|
22446 |
+
var baseAssignValue = __webpack_require__(181),
|
22447 |
+
eq = __webpack_require__(75);
|
|
|
|
|
22448 |
|
22449 |
+
/** Used for built-in method references. */
|
22450 |
+
var objectProto = Object.prototype;
|
|
|
|
|
|
|
22451 |
|
22452 |
+
/** Used to check objects for own properties. */
|
22453 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
|
|
|
|
22454 |
|
22455 |
+
/**
|
22456 |
+
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
22457 |
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
22458 |
+
* for equality comparisons.
|
22459 |
+
*
|
22460 |
+
* @private
|
22461 |
+
* @param {Object} object The object to modify.
|
22462 |
+
* @param {string} key The key of the property to assign.
|
22463 |
+
* @param {*} value The value to assign.
|
22464 |
+
*/
|
22465 |
+
function assignValue(object, key, value) {
|
22466 |
+
var objValue = object[key];
|
22467 |
+
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
|
22468 |
+
(value === undefined && !(key in object))) {
|
22469 |
+
baseAssignValue(object, key, value);
|
22470 |
}
|
22471 |
+
}
|
22472 |
|
22473 |
+
module.exports = assignValue;
|
|
|
|
|
22474 |
|
|
|
|
|
|
|
22475 |
|
22476 |
+
/***/ }),
|
22477 |
+
/* 377 */
|
22478 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22479 |
|
22480 |
+
var getNative = __webpack_require__(51);
|
|
|
22481 |
|
22482 |
+
var defineProperty = (function() {
|
22483 |
+
try {
|
22484 |
+
var func = getNative(Object, 'defineProperty');
|
22485 |
+
func({}, '', {});
|
22486 |
+
return func;
|
22487 |
+
} catch (e) {}
|
22488 |
+
}());
|
22489 |
|
22490 |
+
module.exports = defineProperty;
|
|
|
22491 |
|
|
|
|
|
|
|
22492 |
|
22493 |
+
/***/ }),
|
22494 |
+
/* 378 */
|
22495 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
22496 |
|
22497 |
+
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(30);
|
|
|
22498 |
|
22499 |
+
/** Detect free variable `exports`. */
|
22500 |
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
22501 |
|
22502 |
+
/** Detect free variable `module`. */
|
22503 |
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
22504 |
|
22505 |
+
/** Detect the popular CommonJS extension `module.exports`. */
|
22506 |
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
|
|
|
22507 |
|
22508 |
+
/** Built-in value references. */
|
22509 |
+
var Buffer = moduleExports ? root.Buffer : undefined,
|
22510 |
+
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
22511 |
|
22512 |
+
/**
|
22513 |
+
* Creates a clone of `buffer`.
|
22514 |
+
*
|
22515 |
+
* @private
|
22516 |
+
* @param {Buffer} buffer The buffer to clone.
|
22517 |
+
* @param {boolean} [isDeep] Specify a deep clone.
|
22518 |
+
* @returns {Buffer} Returns the cloned buffer.
|
22519 |
+
*/
|
22520 |
+
function cloneBuffer(buffer, isDeep) {
|
22521 |
+
if (isDeep) {
|
22522 |
+
return buffer.slice();
|
22523 |
}
|
22524 |
+
var length = buffer.length,
|
22525 |
+
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
22526 |
|
22527 |
+
buffer.copy(result);
|
22528 |
+
return result;
|
22529 |
}
|
22530 |
|
22531 |
+
module.exports = cloneBuffer;
|
|
|
|
|
|
|
|
|
|
|
|
|
22532 |
|
22533 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(168)(module)))
|
|
|
|
|
22534 |
|
22535 |
+
/***/ }),
|
22536 |
+
/* 379 */
|
22537 |
+
/***/ (function(module, exports) {
|
22538 |
|
22539 |
+
/**
|
22540 |
+
* Copies the values of `source` to `array`.
|
22541 |
+
*
|
22542 |
+
* @private
|
22543 |
+
* @param {Array} source The array to copy values from.
|
22544 |
+
* @param {Array} [array=[]] The array to copy values to.
|
22545 |
+
* @returns {Array} Returns `array`.
|
22546 |
+
*/
|
22547 |
+
function copyArray(source, array) {
|
22548 |
+
var index = -1,
|
22549 |
+
length = source.length;
|
22550 |
|
22551 |
+
array || (array = Array(length));
|
22552 |
+
while (++index < length) {
|
22553 |
+
array[index] = source[index];
|
22554 |
+
}
|
22555 |
+
return array;
|
22556 |
+
}
|
22557 |
|
22558 |
+
module.exports = copyArray;
|
22559 |
|
|
|
|
|
|
|
22560 |
|
22561 |
+
/***/ }),
|
22562 |
+
/* 380 */
|
22563 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22564 |
+
|
22565 |
+
var arrayPush = __webpack_require__(368),
|
22566 |
+
getPrototype = __webpack_require__(176),
|
22567 |
+
getSymbols = __webpack_require__(179),
|
22568 |
+
stubArray = __webpack_require__(369);
|
22569 |
+
|
22570 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
22571 |
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
22572 |
|
22573 |
/**
|
22574 |
+
* Creates an array of the own and inherited enumerable symbols of `object`.
|
22575 |
+
*
|
22576 |
+
* @private
|
22577 |
+
* @param {Object} object The object to query.
|
22578 |
+
* @returns {Array} Returns the array of symbols.
|
22579 |
*/
|
22580 |
+
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
22581 |
+
var result = [];
|
22582 |
+
while (object) {
|
22583 |
+
arrayPush(result, getSymbols(object));
|
22584 |
+
object = getPrototype(object);
|
22585 |
+
}
|
22586 |
+
return result;
|
22587 |
};
|
22588 |
|
22589 |
+
module.exports = getSymbolsIn;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22590 |
|
22591 |
+
|
22592 |
+
/***/ }),
|
22593 |
+
/* 381 */
|
22594 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22595 |
+
|
22596 |
+
var cloneArrayBuffer = __webpack_require__(182);
|
|
|
|
|
|
|
22597 |
|
22598 |
/**
|
22599 |
+
* Creates a clone of `typedArray`.
|
22600 |
+
*
|
22601 |
+
* @private
|
22602 |
+
* @param {Object} typedArray The typed array to clone.
|
22603 |
+
* @param {boolean} [isDeep] Specify a deep clone.
|
22604 |
+
* @returns {Object} Returns the cloned typed array.
|
22605 |
*/
|
22606 |
+
function cloneTypedArray(typedArray, isDeep) {
|
22607 |
+
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
22608 |
+
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
22609 |
+
}
|
22610 |
|
22611 |
+
module.exports = cloneTypedArray;
|
22612 |
|
|
|
|
|
|
|
|
|
|
|
22613 |
|
22614 |
+
/***/ }),
|
22615 |
+
/* 382 */
|
22616 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22617 |
|
22618 |
+
var baseCreate = __webpack_require__(811),
|
22619 |
+
getPrototype = __webpack_require__(176),
|
22620 |
+
isPrototype = __webpack_require__(174);
|
22621 |
|
22622 |
+
/**
|
22623 |
+
* Initializes an object clone.
|
22624 |
+
*
|
22625 |
+
* @private
|
22626 |
+
* @param {Object} object The object to clone.
|
22627 |
+
* @returns {Object} Returns the initialized clone.
|
22628 |
+
*/
|
22629 |
+
function initCloneObject(object) {
|
22630 |
+
return (typeof object.constructor == 'function' && !isPrototype(object))
|
22631 |
+
? baseCreate(getPrototype(object))
|
22632 |
+
: {};
|
22633 |
}
|
22634 |
|
22635 |
+
module.exports = initCloneObject;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22636 |
|
|
|
|
|
|
|
|
|
|
|
22637 |
|
22638 |
+
/***/ }),
|
22639 |
+
/* 383 */
|
22640 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22641 |
|
22642 |
+
var baseAssignValue = __webpack_require__(181),
|
22643 |
+
eq = __webpack_require__(75);
|
|
|
|
|
22644 |
|
22645 |
+
/**
|
22646 |
+
* This function is like `assignValue` except that it doesn't assign
|
22647 |
+
* `undefined` values.
|
22648 |
+
*
|
22649 |
+
* @private
|
22650 |
+
* @param {Object} object The object to modify.
|
22651 |
+
* @param {string} key The key of the property to assign.
|
22652 |
+
* @param {*} value The value to assign.
|
22653 |
+
*/
|
22654 |
+
function assignMergeValue(object, key, value) {
|
22655 |
+
if ((value !== undefined && !eq(object[key], value)) ||
|
22656 |
+
(value === undefined && !(key in object))) {
|
22657 |
+
baseAssignValue(object, key, value);
|
22658 |
}
|
|
|
|
|
22659 |
}
|
22660 |
|
22661 |
+
module.exports = assignMergeValue;
|
|
|
|
|
|
|
|
|
|
|
|
|
22662 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22663 |
|
22664 |
+
/***/ }),
|
22665 |
+
/* 384 */
|
22666 |
+
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
|
22667 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22668 |
/**
|
22669 |
+
* Gets the value at `key`, unless `key` is "__proto__" or "constructor".
|
|
|
|
|
|
|
22670 |
*
|
22671 |
+
* @private
|
22672 |
+
* @param {Object} object The object to query.
|
22673 |
+
* @param {string} key The key of the property to get.
|
22674 |
+
* @returns {*} Returns the property value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22675 |
*/
|
22676 |
+
function safeGet(object, key) {
|
22677 |
+
if (key === 'constructor' && typeof object[key] === 'function') {
|
22678 |
+
return;
|
22679 |
+
}
|
22680 |
|
22681 |
+
if (key == '__proto__') {
|
22682 |
+
return;
|
22683 |
+
}
|
22684 |
|
22685 |
+
return object[key];
|
22686 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22687 |
|
22688 |
+
module.exports = safeGet;
|
|
|
|
|
|
|
|
|
|
|
|
|
22689 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22690 |
|
22691 |
+
/***/ }),
|
22692 |
+
/* 385 */
|
22693 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
22694 |
|
22695 |
+
var isObject = __webpack_require__(27),
|
22696 |
+
now = __webpack_require__(842),
|
22697 |
+
toNumber = __webpack_require__(843);
|
|
|
|
|
|
|
|
|
|
|
22698 |
|
22699 |
+
/** Error message constants. */
|
22700 |
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
22701 |
|
22702 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
22703 |
+
var nativeMax = Math.max,
|
22704 |
+
nativeMin = Math.min;
|
22705 |
|
22706 |
/**
|
22707 |
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
22708 |
+
* milliseconds have elapsed since the last time the debounced function was
|
22709 |
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
22710 |
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
22711 |
+
* Provide `options` to indicate whether `func` should be invoked on the
|
22712 |
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
22713 |
+
* with the last arguments provided to the debounced function. Subsequent
|
22714 |
+
* calls to the debounced function return the result of the last `func`
|
22715 |
+
* invocation.
|
22716 |
+
*
|
22717 |
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
22718 |
+
* invoked on the trailing edge of the timeout only if the debounced function
|
22719 |
+
* is invoked more than once during the `wait` timeout.
|
22720 |
+
*
|
22721 |
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
22722 |
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
22723 |
+
*
|
22724 |
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
22725 |
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
22726 |
+
*
|
22727 |
+
* @static
|
22728 |
+
* @memberOf _
|
22729 |
+
* @since 0.1.0
|
22730 |
+
* @category Function
|
22731 |
+
* @param {Function} func The function to debounce.
|
22732 |
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
22733 |
+
* @param {Object} [options={}] The options object.
|
22734 |
+
* @param {boolean} [options.leading=false]
|
22735 |
+
* Specify invoking on the leading edge of the timeout.
|
22736 |
+
* @param {number} [options.maxWait]
|
22737 |
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
22738 |
+
* @param {boolean} [options.trailing=true]
|
22739 |
+
* Specify invoking on the trailing edge of the timeout.
|
22740 |
+
* @returns {Function} Returns the new debounced function.
|
22741 |
+
* @example
|
22742 |
+
*
|
22743 |
+
* // Avoid costly calculations while the window size is in flux.
|
22744 |
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
22745 |
+
*
|
22746 |
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
22747 |
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
22748 |
+
* 'leading': true,
|
22749 |
+
* 'trailing': false
|
22750 |
+
* }));
|
22751 |
+
*
|
22752 |
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
22753 |
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
22754 |
+
* var source = new EventSource('/stream');
|
22755 |
+
* jQuery(source).on('message', debounced);
|
22756 |
+
*
|
22757 |
+
* // Cancel the trailing debounced invocation.
|
22758 |
+
* jQuery(window).on('popstate', debounced.cancel);
|
22759 |
*/
|
22760 |
+
function debounce(func, wait, options) {
|
22761 |
+
var lastArgs,
|
22762 |
+
lastThis,
|
22763 |
+
maxWait,
|
22764 |
+
result,
|
22765 |
+
timerId,
|
22766 |
+
lastCallTime,
|
22767 |
+
lastInvokeTime = 0,
|
22768 |
+
leading = false,
|
22769 |
+
maxing = false,
|
22770 |
+
trailing = true;
|
22771 |
+
|
22772 |
+
if (typeof func != 'function') {
|
22773 |
+
throw new TypeError(FUNC_ERROR_TEXT);
|
22774 |
+
}
|
22775 |
+
wait = toNumber(wait) || 0;
|
22776 |
+
if (isObject(options)) {
|
22777 |
+
leading = !!options.leading;
|
22778 |
+
maxing = 'maxWait' in options;
|
22779 |
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
22780 |
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
22781 |
+
}
|
22782 |
+
|
22783 |
+
function invokeFunc(time) {
|
22784 |
+
var args = lastArgs,
|
22785 |
+
thisArg = lastThis;
|
22786 |
+
|
22787 |
+
lastArgs = lastThis = undefined;
|
22788 |
+
lastInvokeTime = time;
|
22789 |
+
result = func.apply(thisArg, args);
|
22790 |
+
return result;
|
22791 |
}
|
22792 |
|
22793 |
+
function leadingEdge(time) {
|
22794 |
+
// Reset any `maxWait` timer.
|
22795 |
+
lastInvokeTime = time;
|
22796 |
+
// Start the timer for the trailing edge.
|
22797 |
+
timerId = setTimeout(timerExpired, wait);
|
22798 |
+
// Invoke the leading edge.
|
22799 |
+
return leading ? invokeFunc(time) : result;
|
22800 |
}
|
22801 |
|
22802 |
+
function remainingWait(time) {
|
22803 |
+
var timeSinceLastCall = time - lastCallTime,
|
22804 |
+
timeSinceLastInvoke = time - lastInvokeTime,
|
22805 |
+
timeWaiting = wait - timeSinceLastCall;
|
22806 |
|
22807 |
+
return maxing
|
22808 |
+
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
22809 |
+
: timeWaiting;
|
22810 |
+
}
|
22811 |
|
22812 |
+
function shouldInvoke(time) {
|
22813 |
+
var timeSinceLastCall = time - lastCallTime,
|
22814 |
+
timeSinceLastInvoke = time - lastInvokeTime;
|
|
|
|
|
|
|
22815 |
|
22816 |
+
// Either this is the first call, activity has stopped and we're at the
|
22817 |
+
// trailing edge, the system time has gone backwards and we're treating
|
22818 |
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
22819 |
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
22820 |
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
22821 |
+
}
|
22822 |
|
22823 |
+
function timerExpired() {
|
22824 |
+
var time = now();
|
22825 |
+
if (shouldInvoke(time)) {
|
22826 |
+
return trailingEdge(time);
|
22827 |
}
|
22828 |
+
// Restart the timer.
|
22829 |
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
22830 |
}
|
22831 |
|
22832 |
+
function trailingEdge(time) {
|
22833 |
+
timerId = undefined;
|
22834 |
|
22835 |
+
// Only invoke if we have `lastArgs` which means `func` has been
|
22836 |
+
// debounced at least once.
|
22837 |
+
if (trailing && lastArgs) {
|
22838 |
+
return invokeFunc(time);
|
22839 |
}
|
22840 |
+
lastArgs = lastThis = undefined;
|
22841 |
+
return result;
|
22842 |
+
}
|
22843 |
|
22844 |
+
function cancel() {
|
22845 |
+
if (timerId !== undefined) {
|
22846 |
+
clearTimeout(timerId);
|
22847 |
}
|
22848 |
+
lastInvokeTime = 0;
|
22849 |
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
22850 |
}
|
22851 |
|
22852 |
+
function flush() {
|
22853 |
+
return timerId === undefined ? result : trailingEdge(now());
|
22854 |
+
}
|
|
|
|
|
|
|
22855 |
|
22856 |
+
function debounced() {
|
22857 |
+
var time = now(),
|
22858 |
+
isInvoking = shouldInvoke(time);
|
22859 |
|
22860 |
+
lastArgs = arguments;
|
22861 |
+
lastThis = this;
|
22862 |
+
lastCallTime = time;
|
|
|
|
|
22863 |
|
22864 |
+
if (isInvoking) {
|
22865 |
+
if (timerId === undefined) {
|
22866 |
+
return leadingEdge(lastCallTime);
|
22867 |
+
}
|
22868 |
+
if (maxing) {
|
22869 |
+
// Handle invocations in a tight loop.
|
22870 |
+
clearTimeout(timerId);
|
22871 |
+
timerId = setTimeout(timerExpired, wait);
|
22872 |
+
return invokeFunc(lastCallTime);
|
22873 |
+
}
|
22874 |
}
|
22875 |
+
if (timerId === undefined) {
|
22876 |
+
timerId = setTimeout(timerExpired, wait);
|
|
|
22877 |
}
|
22878 |
+
return result;
|
22879 |
+
}
|
22880 |
+
debounced.cancel = cancel;
|
22881 |
+
debounced.flush = flush;
|
22882 |
+
return debounced;
|
22883 |
+
}
|
22884 |
|
22885 |
+
module.exports = debounce;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22886 |
|
22887 |
|
22888 |
+
/***/ }),
|
22889 |
+
/* 386 */
|
22890 |
+
/***/ (function(module, exports, __webpack_require__) {
|
22891 |
|
22892 |
+
"use strict";
|
|
|
|
|
|
|
22893 |
|
|
|
|
|
|
|
22894 |
|
22895 |
+
Object.defineProperty(exports, "__esModule", {
|
22896 |
+
value: true
|
22897 |
+
});
|
22898 |
+
exports.ColorWrap = undefined;
|
|
|
22899 |
|
22900 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
|
22901 |
|
22902 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
22903 |
|
22904 |
+
var _react = __webpack_require__(0);
|
|
|
22905 |
|
22906 |
+
var _react2 = _interopRequireDefault(_react);
|
|
|
|
|
|
|
|
|
|
|
22907 |
|
22908 |
+
var _debounce = __webpack_require__(385);
|
|
|
|
|
22909 |
|
22910 |
+
var _debounce2 = _interopRequireDefault(_debounce);
|
|
|
|
|
22911 |
|
22912 |
+
var _color = __webpack_require__(36);
|
|
|
|
|
|
|
|
|
22913 |
|
22914 |
+
var _color2 = _interopRequireDefault(_color);
|
|
|
|
|
|
|
|
|
|
|
22915 |
|
22916 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
22917 |
|
22918 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22919 |
|
22920 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
|
|
|
|
|
|
|
|
|
22921 |
|
22922 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
22923 |
|
22924 |
+
var ColorWrap = exports.ColorWrap = function ColorWrap(Picker) {
|
22925 |
+
var ColorPicker = function (_ref) {
|
22926 |
+
_inherits(ColorPicker, _ref);
|
22927 |
|
22928 |
+
function ColorPicker(props) {
|
22929 |
+
_classCallCheck(this, ColorPicker);
|
22930 |
|
22931 |
+
var _this = _possibleConstructorReturn(this, (ColorPicker.__proto__ || Object.getPrototypeOf(ColorPicker)).call(this));
|
|
|
22932 |
|
22933 |
+
_this.handleChange = function (data, event) {
|
22934 |
+
var isValidColor = _color2.default.simpleCheckForValidColor(data);
|
22935 |
+
if (isValidColor) {
|
22936 |
+
var colors = _color2.default.toState(data, data.h || _this.state.oldHue);
|
22937 |
+
_this.setState(colors);
|
22938 |
+
_this.props.onChangeComplete && _this.debounce(_this.props.onChangeComplete, colors, event);
|
22939 |
+
_this.props.onChange && _this.props.onChange(colors, event);
|
22940 |
+
}
|
22941 |
+
};
|
22942 |
|
22943 |
+
_this.handleSwatchHover = function (data, event) {
|
22944 |
+
var isValidColor = _color2.default.simpleCheckForValidColor(data);
|
22945 |
+
if (isValidColor) {
|
22946 |
+
var colors = _color2.default.toState(data, data.h || _this.state.oldHue);
|
22947 |
+
_this.props.onSwatchHover && _this.props.onSwatchHover(colors, event);
|
22948 |
+
}
|
22949 |
+
};
|
22950 |
|
22951 |
+
_this.state = _extends({}, _color2.default.toState(props.color, 0));
|
22952 |
|
22953 |
+
_this.debounce = (0, _debounce2.default)(function (fn, data, event) {
|
22954 |
+
fn(data, event);
|
22955 |
+
}, 100);
|
22956 |
+
return _this;
|
|
|
22957 |
}
|
22958 |
|
22959 |
+
_createClass(ColorPicker, [{
|
22960 |
+
key: 'render',
|
22961 |
+
value: function render() {
|
22962 |
+
var optionalEvents = {};
|
22963 |
+
if (this.props.onSwatchHover) {
|
22964 |
+
optionalEvents.onSwatchHover = this.handleSwatchHover;
|
22965 |
+
}
|
22966 |
|
22967 |
+
return _react2.default.createElement(Picker, _extends({}, this.props, this.state, {
|
22968 |
+
onChange: this.handleChange
|
22969 |
+
}, optionalEvents));
|
22970 |
+
}
|
22971 |
+
}], [{
|
22972 |
+
key: 'getDerivedStateFromProps',
|
22973 |
+
value: function getDerivedStateFromProps(nextProps, state) {
|
22974 |
+
return _extends({}, _color2.default.toState(nextProps.color, state.oldHue));
|
22975 |
+
}
|
22976 |
+
}]);
|
22977 |
|
22978 |
+
return ColorPicker;
|
22979 |
+
}(_react.PureComponent || _react.Component);
|
22980 |
|
22981 |
+
ColorPicker.propTypes = _extends({}, Picker.propTypes);
|
|
|
|
|
22982 |
|
22983 |
+
ColorPicker.defaultProps = _extends({}, Picker.defaultProps, {
|
22984 |
+
color: {
|
22985 |
+
h: 250,
|
22986 |
+
s: 0.50,
|
22987 |
+
l: 0.20,
|
22988 |
+
a: 1
|
|
|
|
|
|
|
22989 |
}
|
22990 |
+
});
|
|
|
22991 |
|
22992 |
+
return ColorPicker;
|
22993 |
+
};
|
22994 |
|
22995 |
+
exports.default = ColorWrap;
|
22996 |
|
22997 |
+
/***/ }),
|
22998 |
+
/* 387 */
|
22999 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
23000 |
|
23001 |
+
"use strict";
|
23002 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
23003 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "red", function() { return red; });
|
23004 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pink", function() { return pink; });
|
23005 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "purple", function() { return purple; });
|
23006 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepPurple", function() { return deepPurple; });
|
23007 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "indigo", function() { return indigo; });
|
23008 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "blue", function() { return blue; });
|
23009 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightBlue", function() { return lightBlue; });
|
23010 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cyan", function() { return cyan; });
|
23011 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "teal", function() { return teal; });
|
23012 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "green", function() { return green; });
|
23013 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightGreen", function() { return lightGreen; });
|
23014 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lime", function() { return lime; });
|
23015 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yellow", function() { return yellow; });
|
23016 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "amber", function() { return amber; });
|
23017 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "orange", function() { return orange; });
|
23018 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepOrange", function() { return deepOrange; });
|
23019 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "brown", function() { return brown; });
|
23020 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "grey", function() { return grey; });
|
23021 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "blueGrey", function() { return blueGrey; });
|
23022 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darkText", function() { return darkText; });
|
23023 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightText", function() { return lightText; });
|
23024 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darkIcons", function() { return darkIcons; });
|
23025 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightIcons", function() { return lightIcons; });
|
23026 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "white", function() { return white; });
|
23027 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "black", function() { return black; });
|
23028 |
+
var red = {"50":"#ffebee","100":"#ffcdd2","200":"#ef9a9a","300":"#e57373","400":"#ef5350","500":"#f44336","600":"#e53935","700":"#d32f2f","800":"#c62828","900":"#b71c1c","a100":"#ff8a80","a200":"#ff5252","a400":"#ff1744","a700":"#d50000"};
|
23029 |
+
var pink = {"50":"#fce4ec","100":"#f8bbd0","200":"#f48fb1","300":"#f06292","400":"#ec407a","500":"#e91e63","600":"#d81b60","700":"#c2185b","800":"#ad1457","900":"#880e4f","a100":"#ff80ab","a200":"#ff4081","a400":"#f50057","a700":"#c51162"};
|
23030 |
+
var purple = {"50":"#f3e5f5","100":"#e1bee7","200":"#ce93d8","300":"#ba68c8","400":"#ab47bc","500":"#9c27b0","600":"#8e24aa","700":"#7b1fa2","800":"#6a1b9a","900":"#4a148c","a100":"#ea80fc","a200":"#e040fb","a400":"#d500f9","a700":"#aa00ff"};
|
23031 |
+
var deepPurple = {"50":"#ede7f6","100":"#d1c4e9","200":"#b39ddb","300":"#9575cd","400":"#7e57c2","500":"#673ab7","600":"#5e35b1","700":"#512da8","800":"#4527a0","900":"#311b92","a100":"#b388ff","a200":"#7c4dff","a400":"#651fff","a700":"#6200ea"};
|
23032 |
+
var indigo = {"50":"#e8eaf6","100":"#c5cae9","200":"#9fa8da","300":"#7986cb","400":"#5c6bc0","500":"#3f51b5","600":"#3949ab","700":"#303f9f","800":"#283593","900":"#1a237e","a100":"#8c9eff","a200":"#536dfe","a400":"#3d5afe","a700":"#304ffe"};
|
23033 |
+
var blue = {"50":"#e3f2fd","100":"#bbdefb","200":"#90caf9","300":"#64b5f6","400":"#42a5f5","500":"#2196f3","600":"#1e88e5","700":"#1976d2","800":"#1565c0","900":"#0d47a1","a100":"#82b1ff","a200":"#448aff","a400":"#2979ff","a700":"#2962ff"};
|
23034 |
+
var lightBlue = {"50":"#e1f5fe","100":"#b3e5fc","200":"#81d4fa","300":"#4fc3f7","400":"#29b6f6","500":"#03a9f4","600":"#039be5","700":"#0288d1","800":"#0277bd","900":"#01579b","a100":"#80d8ff","a200":"#40c4ff","a400":"#00b0ff","a700":"#0091ea"};
|
23035 |
+
var cyan = {"50":"#e0f7fa","100":"#b2ebf2","200":"#80deea","300":"#4dd0e1","400":"#26c6da","500":"#00bcd4","600":"#00acc1","700":"#0097a7","800":"#00838f","900":"#006064","a100":"#84ffff","a200":"#18ffff","a400":"#00e5ff","a700":"#00b8d4"};
|
23036 |
+
var teal = {"50":"#e0f2f1","100":"#b2dfdb","200":"#80cbc4","300":"#4db6ac","400":"#26a69a","500":"#009688","600":"#00897b","700":"#00796b","800":"#00695c","900":"#004d40","a100":"#a7ffeb","a200":"#64ffda","a400":"#1de9b6","a700":"#00bfa5"};
|
23037 |
+
var green = {"50":"#e8f5e9","100":"#c8e6c9","200":"#a5d6a7","300":"#81c784","400":"#66bb6a","500":"#4caf50","600":"#43a047","700":"#388e3c","800":"#2e7d32","900":"#1b5e20","a100":"#b9f6ca","a200":"#69f0ae","a400":"#00e676","a700":"#00c853"};
|
23038 |
+
var lightGreen = {"50":"#f1f8e9","100":"#dcedc8","200":"#c5e1a5","300":"#aed581","400":"#9ccc65","500":"#8bc34a","600":"#7cb342","700":"#689f38","800":"#558b2f","900":"#33691e","a100":"#ccff90","a200":"#b2ff59","a400":"#76ff03","a700":"#64dd17"};
|
23039 |
+
var lime = {"50":"#f9fbe7","100":"#f0f4c3","200":"#e6ee9c","300":"#dce775","400":"#d4e157","500":"#cddc39","600":"#c0ca33","700":"#afb42b","800":"#9e9d24","900":"#827717","a100":"#f4ff81","a200":"#eeff41","a400":"#c6ff00","a700":"#aeea00"};
|
23040 |
+
var yellow = {"50":"#fffde7","100":"#fff9c4","200":"#fff59d","300":"#fff176","400":"#ffee58","500":"#ffeb3b","600":"#fdd835","700":"#fbc02d","800":"#f9a825","900":"#f57f17","a100":"#ffff8d","a200":"#ffff00","a400":"#ffea00","a700":"#ffd600"};
|
23041 |
+
var amber = {"50":"#fff8e1","100":"#ffecb3","200":"#ffe082","300":"#ffd54f","400":"#ffca28","500":"#ffc107","600":"#ffb300","700":"#ffa000","800":"#ff8f00","900":"#ff6f00","a100":"#ffe57f","a200":"#ffd740","a400":"#ffc400","a700":"#ffab00"};
|
23042 |
+
var orange = {"50":"#fff3e0","100":"#ffe0b2","200":"#ffcc80","300":"#ffb74d","400":"#ffa726","500":"#ff9800","600":"#fb8c00","700":"#f57c00","800":"#ef6c00","900":"#e65100","a100":"#ffd180","a200":"#ffab40","a400":"#ff9100","a700":"#ff6d00"};
|
23043 |
+
var deepOrange = {"50":"#fbe9e7","100":"#ffccbc","200":"#ffab91","300":"#ff8a65","400":"#ff7043","500":"#ff5722","600":"#f4511e","700":"#e64a19","800":"#d84315","900":"#bf360c","a100":"#ff9e80","a200":"#ff6e40","a400":"#ff3d00","a700":"#dd2c00"};
|
23044 |
+
var brown = {"50":"#efebe9","100":"#d7ccc8","200":"#bcaaa4","300":"#a1887f","400":"#8d6e63","500":"#795548","600":"#6d4c41","700":"#5d4037","800":"#4e342e","900":"#3e2723"};
|
23045 |
+
var grey = {"50":"#fafafa","100":"#f5f5f5","200":"#eeeeee","300":"#e0e0e0","400":"#bdbdbd","500":"#9e9e9e","600":"#757575","700":"#616161","800":"#424242","900":"#212121"};
|
23046 |
+
var blueGrey = {"50":"#eceff1","100":"#cfd8dc","200":"#b0bec5","300":"#90a4ae","400":"#78909c","500":"#607d8b","600":"#546e7a","700":"#455a64","800":"#37474f","900":"#263238"};
|
23047 |
+
var darkText = {"primary":"rgba(0, 0, 0, 0.87)","secondary":"rgba(0, 0, 0, 0.54)","disabled":"rgba(0, 0, 0, 0.38)","dividers":"rgba(0, 0, 0, 0.12)"};
|
23048 |
+
var lightText = {"primary":"rgba(255, 255, 255, 1)","secondary":"rgba(255, 255, 255, 0.7)","disabled":"rgba(255, 255, 255, 0.5)","dividers":"rgba(255, 255, 255, 0.12)"};
|
23049 |
+
var darkIcons = {"active":"rgba(0, 0, 0, 0.54)","inactive":"rgba(0, 0, 0, 0.38)"};
|
23050 |
+
var lightIcons = {"active":"rgba(255, 255, 255, 1)","inactive":"rgba(255, 255, 255, 0.5)"};
|
23051 |
+
var white = "#ffffff";
|
23052 |
+
var black = "#000000";
|
23053 |
+
|
23054 |
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
23055 |
+
red: red,
|
23056 |
+
pink: pink,
|
23057 |
+
purple: purple,
|
23058 |
+
deepPurple: deepPurple,
|
23059 |
+
indigo: indigo,
|
23060 |
+
blue: blue,
|
23061 |
+
lightBlue: lightBlue,
|
23062 |
+
cyan: cyan,
|
23063 |
+
teal: teal,
|
23064 |
+
green: green,
|
23065 |
+
lightGreen: lightGreen,
|
23066 |
+
lime: lime,
|
23067 |
+
yellow: yellow,
|
23068 |
+
amber: amber,
|
23069 |
+
orange: orange,
|
23070 |
+
deepOrange: deepOrange,
|
23071 |
+
brown: brown,
|
23072 |
+
grey: grey,
|
23073 |
+
blueGrey: blueGrey,
|
23074 |
+
darkText: darkText,
|
23075 |
+
lightText: lightText,
|
23076 |
+
darkIcons: darkIcons,
|
23077 |
+
lightIcons: lightIcons,
|
23078 |
+
white: white,
|
23079 |
+
black: black
|
23080 |
+
});
|
23081 |
|
|
|
|
|
23082 |
|
23083 |
+
/***/ }),
|
23084 |
+
/* 388 */
|
23085 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
23086 |
|
23087 |
+
"use strict";
|
|
|
|
|
23088 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23089 |
|
23090 |
+
var _react = _interopRequireWildcard(__webpack_require__(0));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23091 |
|
23092 |
+
var _reactDom = _interopRequireDefault(__webpack_require__(11));
|
23093 |
|
23094 |
+
var _reactRouterDom = __webpack_require__(39);
|
|
|
23095 |
|
23096 |
+
var _queryString = _interopRequireDefault(__webpack_require__(28));
|
|
|
|
|
23097 |
|
23098 |
+
var _QuadsAdCreateRouter = _interopRequireDefault(__webpack_require__(190));
|
|
|
23099 |
|
23100 |
+
__webpack_require__(503);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23101 |
|
23102 |
+
var _QuadsAdmin = _interopRequireDefault(__webpack_require__(504));
|
|
|
|
|
|
|
|
|
|
|
23103 |
|
23104 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23105 |
|
23106 |
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
23107 |
|
23108 |
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
23109 |
|
23110 |
+
function _typeof(obj) { "@babel/helpers - typeof"; 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); }
|
|
|
|
|
|
|
23111 |
|
23112 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
23113 |
|
23114 |
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23115 |
|
23116 |
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
|
|
|
|
|
23117 |
|
23118 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
|
23119 |
|
23120 |
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
|
|
|
|
|
|
|
|
|
23121 |
|
23122 |
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
|
|
|
23123 |
|
23124 |
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
23125 |
|
23126 |
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23127 |
|
23128 |
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23129 |
|
23130 |
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
|
|
|
23131 |
|
23132 |
+
var QuadsAdRootComponent = /*#__PURE__*/function (_Component) {
|
23133 |
+
_inherits(QuadsAdRootComponent, _Component);
|
|
|
|
|
|
|
|
|
|
|
23134 |
|
23135 |
+
var _super = _createSuper(QuadsAdRootComponent);
|
|
|
|
|
23136 |
|
23137 |
+
function QuadsAdRootComponent() {
|
23138 |
+
_classCallCheck(this, QuadsAdRootComponent);
|
23139 |
|
23140 |
+
return _super.apply(this, arguments);
|
|
|
|
|
|
|
|
|
|
|
23141 |
}
|
23142 |
|
23143 |
+
_createClass(QuadsAdRootComponent, [{
|
23144 |
+
key: "render",
|
23145 |
+
value: function render() {
|
23146 |
+
return /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, /*#__PURE__*/_react["default"].createElement(_reactRouterDom.BrowserRouter, null, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
23147 |
+
className: "quads-segment"
|
23148 |
+
}, quads_localize_data.demo_test, /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Switch, null, /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
|
23149 |
+
render: function render(props) {
|
23150 |
+
var page = _queryString["default"].parse(window.location.search);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23151 |
|
23152 |
+
if (typeof page.path != 'undefined') {
|
23153 |
+
if (page.path.includes('settings')) {
|
23154 |
+
return /*#__PURE__*/_react["default"].createElement(_QuadsAdmin["default"], props);
|
23155 |
+
} else if (page.path.includes('wizard')) {
|
23156 |
+
return /*#__PURE__*/_react["default"].createElement(_QuadsAdCreateRouter["default"], props);
|
23157 |
+
} else {
|
23158 |
+
return 'Page not found';
|
23159 |
+
}
|
23160 |
+
} else {
|
23161 |
+
return /*#__PURE__*/_react["default"].createElement(_QuadsAdmin["default"], props);
|
23162 |
+
}
|
23163 |
+
}
|
23164 |
+
}))))));
|
23165 |
+
}
|
23166 |
+
}]);
|
23167 |
|
23168 |
+
return QuadsAdRootComponent;
|
23169 |
+
}(_react.Component);
|
|
|
|
|
23170 |
|
23171 |
+
_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(QuadsAdRootComponent, null), document.getElementById('quads-ad-content'));
|
23172 |
+
|
23173 |
+
/***/ }),
|
23174 |
+
/* 389 */
|
23175 |
+
/***/ (function(module, exports, __webpack_require__) {
|
23176 |
+
|
23177 |
+
"use strict";
|
23178 |
+
/** @license React v16.13.1
|
23179 |
+
* react.production.min.js
|
23180 |
*
|
23181 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
23182 |
+
*
|
23183 |
+
* This source code is licensed under the MIT license found in the
|
23184 |
+
* LICENSE file in the root directory of this source tree.
|
23185 |
*/
|
23186 |
|
23187 |
+
var l=__webpack_require__(52),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.forward_ref"):60112,y=n?Symbol.for("react.suspense"):60113,z=n?Symbol.for("react.memo"):60115,A=n?Symbol.for("react.lazy"):
|
23188 |
+
60116,B="function"===typeof Symbol&&Symbol.iterator;function C(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
|
23189 |
+
var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function F(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,"setState")};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
23190 |
+
function G(){}G.prototype=F.prototype;function H(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}var I=H.prototype=new G;I.constructor=H;l(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};
|
23191 |
+
function M(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:k,props:d,_owner:J.current}}
|
23192 |
+
function N(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g,Q=[];function R(a,b,c,e){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,count:0}}
|
23193 |
+
function S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}
|
23194 |
+
function T(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U(d,k);g+=T(d,f,c,e)}else if(null===a||"object"!==typeof a?f=null:(f=B&&a[B]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),k=
|
23195 |
+
0;!(d=a.next()).done;)d=d.value,f=b+U(d,k++),g+=T(d,f,c,e);else if("object"===d)throw c=""+a,Error(C(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function V(a,b,c){return null==a?0:T(a,"",b,c)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W(a,b){a.func.call(a.context,b,a.count++)}
|
23196 |
+
function aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,e,c,function(a){return a}):null!=a&&(O(a)&&(a=N(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+c)),e.push(a))}function X(a,b,c,e,d){var g="";null!=c&&(g=(""+c).replace(P,"$&/")+"/");b=R(b,g,e,d);V(a,aa,b);S(b)}var Y={current:null};function Z(){var a=Y.current;if(null===a)throw Error(C(321));return a}
|
23197 |
+
var ba={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:function(a,b,c){if(null==a)return a;var e=[];X(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R(null,null,b,c);V(a,W,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(C(143));return a}};
|
23198 |
+
exports.Component=F;exports.Fragment=r;exports.Profiler=u;exports.PureComponent=H;exports.StrictMode=t;exports.Suspense=y;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ba;
|
23199 |
+
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var e=l({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K.call(b,h)&&!L.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,
|
23200 |
+
key:d,ref:g,props:e,_owner:k}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:x,render:a}};exports.isValidElement=O;
|
23201 |
+
exports.lazy=function(a){return{$$typeof:A,_ctor:a,_status:-1,_result:null}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return Z().useCallback(a,b)};exports.useContext=function(a,b){return Z().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return Z().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return Z().useImperativeHandle(a,b,c)};
|
23202 |
+
exports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return Z().useMemo(a,b)};exports.useReducer=function(a,b,c){return Z().useReducer(a,b,c)};exports.useRef=function(a){return Z().useRef(a)};exports.useState=function(a){return Z().useState(a)};exports.version="16.13.1";
|
23203 |
|
23204 |
|
23205 |
+
/***/ }),
|
23206 |
+
/* 390 */
|
23207 |
+
/***/ (function(module, exports, __webpack_require__) {
|
23208 |
|
23209 |
+
"use strict";
|
23210 |
+
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.13.1
|
23211 |
+
* react.development.js
|
|
|
|
|
|
|
|
|
|
|
|
|
23212 |
*
|
23213 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
23214 |
*
|
23215 |
+
* This source code is licensed under the MIT license found in the
|
23216 |
+
* LICENSE file in the root directory of this source tree.
|
|
|
23217 |
*/
|
23218 |
|
23219 |
|
|
|
|
|
|
|
|
|
23220 |
|
|
|
|
|
|
|
|
|
23221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
23222 |
|
23223 |
+
if (process.env.NODE_ENV !== "production") {
|
23224 |
+
(function() {
|
23225 |
+
'use strict';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23226 |
|
23227 |
+
var _assign = __webpack_require__(52);
|
23228 |
+
var checkPropTypes = __webpack_require__(114);
|
|
|
23229 |
|
23230 |
+
var ReactVersion = '16.13.1';
|
|
|
23231 |
|
23232 |
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
23233 |
+
// nor polyfill, then a plain number is used for performance.
|
23234 |
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
23235 |
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
23236 |
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
23237 |
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
23238 |
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
23239 |
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
23240 |
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
23241 |
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
23242 |
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
23243 |
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
23244 |
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
23245 |
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
23246 |
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
23247 |
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
23248 |
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
23249 |
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
23250 |
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
23251 |
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
23252 |
+
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
23253 |
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
23254 |
+
function getIteratorFn(maybeIterable) {
|
23255 |
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
23256 |
+
return null;
|
23257 |
}
|
23258 |
|
23259 |
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23260 |
|
23261 |
+
if (typeof maybeIterator === 'function') {
|
23262 |
+
return maybeIterator;
|
|
|
23263 |
}
|
23264 |
|
23265 |
+
return null;
|
|
|
|
|
23266 |
}
|
23267 |
+
|
23268 |
/**
|
23269 |
+
* Keeps track of the current dispatcher.
|
|
|
|
|
|
|
|
|
|
|
|
|
23270 |
*/
|
23271 |
+
var ReactCurrentDispatcher = {
|
23272 |
+
/**
|
23273 |
+
* @internal
|
23274 |
+
* @type {ReactComponent}
|
23275 |
+
*/
|
23276 |
+
current: null
|
23277 |
+
};
|
23278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
23279 |
/**
|
23280 |
+
* Keeps track of the current batch's configuration such as how long an update
|
23281 |
+
* should suspend for if it needs to.
|
|
|
|
|
23282 |
*/
|
23283 |
+
var ReactCurrentBatchConfig = {
|
23284 |
+
suspense: null
|
23285 |
+
};
|
23286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23287 |
/**
|
23288 |
+
* Keeps track of the current owner.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23289 |
*
|
23290 |
+
* The current owner is the component who should own any components that are
|
23291 |
+
* currently being constructed.
|
|
|
23292 |
*/
|
23293 |
+
var ReactCurrentOwner = {
|
23294 |
+
/**
|
23295 |
+
* @internal
|
23296 |
+
* @type {ReactComponent}
|
23297 |
+
*/
|
23298 |
+
current: null
|
23299 |
+
};
|
23300 |
|
23301 |
+
var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
|
23302 |
+
function describeComponentFrame (name, source, ownerName) {
|
23303 |
+
var sourceInfo = '';
|
23304 |
+
|
23305 |
+
if (source) {
|
23306 |
+
var path = source.fileName;
|
23307 |
+
var fileName = path.replace(BEFORE_SLASH_RE, '');
|
23308 |
|
|
|
|
|
23309 |
{
|
23310 |
+
// In DEV, include code for a common special case:
|
23311 |
+
// prefer "folder/index.js" instead of just "index.js".
|
23312 |
+
if (/^index\./.test(fileName)) {
|
23313 |
+
var match = path.match(BEFORE_SLASH_RE);
|
23314 |
+
|
23315 |
+
if (match) {
|
23316 |
+
var pathBeforeSlash = match[1];
|
23317 |
+
|
23318 |
+
if (pathBeforeSlash) {
|
23319 |
+
var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
|
23320 |
+
fileName = folderName + '/' + fileName;
|
23321 |
+
}
|
23322 |
+
}
|
23323 |
+
}
|
23324 |
}
|
23325 |
+
|
23326 |
+
sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
|
23327 |
+
} else if (ownerName) {
|
23328 |
+
sourceInfo = ' (created by ' + ownerName + ')';
|
23329 |
}
|
23330 |
|
23331 |
+
return '\n in ' + (name || 'Unknown') + sourceInfo;
|
23332 |
}
|
23333 |
|
23334 |
+
var Resolved = 1;
|
23335 |
+
function refineResolvedLazyComponent(lazyComponent) {
|
23336 |
+
return lazyComponent._status === Resolved ? lazyComponent._result : null;
|
23337 |
+
}
|
23338 |
+
|
23339 |
+
function getWrappedName(outerType, innerType, wrapperName) {
|
23340 |
+
var functionName = innerType.displayName || innerType.name || '';
|
23341 |
+
return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
|
23342 |
+
}
|
23343 |
+
|
23344 |
+
function getComponentName(type) {
|
23345 |
+
if (type == null) {
|
23346 |
+
// Host root, text node or just invalid type.
|
23347 |
+
return null;
|
23348 |
+
}
|
23349 |
+
|
23350 |
+
{
|
23351 |
+
if (typeof type.tag === 'number') {
|
23352 |
+
error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
|
23353 |
}
|
23354 |
}
|
23355 |
|
23356 |
+
if (typeof type === 'function') {
|
23357 |
+
return type.displayName || type.name || null;
|
23358 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23359 |
|
23360 |
+
if (typeof type === 'string') {
|
23361 |
+
return type;
|
23362 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
23363 |
|
23364 |
+
switch (type) {
|
23365 |
+
case REACT_FRAGMENT_TYPE:
|
23366 |
+
return 'Fragment';
|
|
|
|
|
|
|
|
|
23367 |
|
23368 |
+
case REACT_PORTAL_TYPE:
|
23369 |
+
return 'Portal';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23370 |
|
23371 |
+
case REACT_PROFILER_TYPE:
|
23372 |
+
return "Profiler";
|
|
|
|
|
23373 |
|
23374 |
+
case REACT_STRICT_MODE_TYPE:
|
23375 |
+
return 'StrictMode';
|
23376 |
|
23377 |
+
case REACT_SUSPENSE_TYPE:
|
23378 |
+
return 'Suspense';
|
23379 |
+
|
23380 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
23381 |
+
return 'SuspenseList';
|
23382 |
}
|
23383 |
|
23384 |
+
if (typeof type === 'object') {
|
23385 |
+
switch (type.$$typeof) {
|
23386 |
+
case REACT_CONTEXT_TYPE:
|
23387 |
+
return 'Context.Consumer';
|
23388 |
|
23389 |
+
case REACT_PROVIDER_TYPE:
|
23390 |
+
return 'Context.Provider';
|
|
|
|
|
|
|
|
|
|
|
|
|
23391 |
|
23392 |
+
case REACT_FORWARD_REF_TYPE:
|
23393 |
+
return getWrappedName(type, type.render, 'ForwardRef');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23394 |
|
23395 |
+
case REACT_MEMO_TYPE:
|
23396 |
+
return getComponentName(type.type);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23397 |
|
23398 |
+
case REACT_BLOCK_TYPE:
|
23399 |
+
return getComponentName(type.render);
|
|
|
|
|
|
|
|
|
|
|
23400 |
|
23401 |
+
case REACT_LAZY_TYPE:
|
23402 |
+
{
|
23403 |
+
var thenable = type;
|
23404 |
+
var resolvedThenable = refineResolvedLazyComponent(thenable);
|
23405 |
|
23406 |
+
if (resolvedThenable) {
|
23407 |
+
return getComponentName(resolvedThenable);
|
23408 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23409 |
|
23410 |
+
break;
|
23411 |
+
}
|
23412 |
}
|
23413 |
}
|
23414 |
|
23415 |
+
return null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23416 |
}
|
23417 |
|
23418 |
+
var ReactDebugCurrentFrame = {};
|
23419 |
+
var currentlyValidatingElement = null;
|
23420 |
+
function setCurrentlyValidatingElement(element) {
|
23421 |
{
|
23422 |
+
currentlyValidatingElement = element;
|
|
|
|
|
23423 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
23424 |
}
|
23425 |
|
23426 |
+
{
|
23427 |
+
// Stack implementation injected by the current renderer.
|
23428 |
+
ReactDebugCurrentFrame.getCurrentStack = null;
|
|
|
|
|
|
|
|
|
|
|
23429 |
|
23430 |
+
ReactDebugCurrentFrame.getStackAddendum = function () {
|
23431 |
+
var stack = ''; // Add an extra top frame while an element is being validated
|
23432 |
|
23433 |
+
if (currentlyValidatingElement) {
|
23434 |
+
var name = getComponentName(currentlyValidatingElement.type);
|
23435 |
+
var owner = currentlyValidatingElement._owner;
|
23436 |
+
stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
|
23437 |
+
} // Delegate to the injected renderer-specific implementation
|
23438 |
|
|
|
|
|
23439 |
|
23440 |
+
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
|
|
|
|
23441 |
|
23442 |
+
if (impl) {
|
23443 |
+
stack += impl() || '';
|
|
|
|
|
|
|
23444 |
}
|
|
|
23445 |
|
23446 |
+
return stack;
|
23447 |
+
};
|
|
|
|
|
|
|
23448 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23449 |
|
23450 |
+
/**
|
23451 |
+
* Used by act() to track whether you're inside an act() scope.
|
23452 |
+
*/
|
23453 |
+
var IsSomeRendererActing = {
|
23454 |
+
current: false
|
23455 |
+
};
|
23456 |
|
23457 |
+
var ReactSharedInternals = {
|
23458 |
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
23459 |
+
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
23460 |
+
ReactCurrentOwner: ReactCurrentOwner,
|
23461 |
+
IsSomeRendererActing: IsSomeRendererActing,
|
23462 |
+
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
23463 |
+
assign: _assign
|
23464 |
+
};
|
23465 |
+
|
23466 |
+
{
|
23467 |
+
_assign(ReactSharedInternals, {
|
23468 |
+
// These should not be included in production.
|
23469 |
+
ReactDebugCurrentFrame: ReactDebugCurrentFrame,
|
23470 |
+
// Shim for React DOM 16.0.0 which still destructured (but not used) this.
|
23471 |
+
// TODO: remove in React 17.0.
|
23472 |
+
ReactComponentTreeHook: {}
|
23473 |
+
});
|
23474 |
}
|
23475 |
|
23476 |
+
// by calls to these methods by a Babel plugin.
|
23477 |
+
//
|
23478 |
+
// In PROD (or in packages without access to React internals),
|
23479 |
+
// they are left as they are instead.
|
23480 |
+
|
23481 |
+
function warn(format) {
|
23482 |
+
{
|
23483 |
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
23484 |
+
args[_key - 1] = arguments[_key];
|
23485 |
+
}
|
23486 |
|
23487 |
+
printWarning('warn', format, args);
|
|
|
|
|
|
|
23488 |
}
|
23489 |
}
|
23490 |
+
function error(format) {
|
23491 |
+
{
|
23492 |
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
23493 |
+
args[_key2 - 1] = arguments[_key2];
|
23494 |
+
}
|
23495 |
|
23496 |
+
printWarning('error', format, args);
|
23497 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23498 |
}
|
23499 |
|
23500 |
+
function printWarning(level, format, args) {
|
23501 |
+
// When changing this logic, you might want to also
|
23502 |
+
// update consoleWithStackDev.www.js as well.
|
23503 |
+
{
|
23504 |
+
var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0;
|
23505 |
|
23506 |
+
if (!hasExistingStack) {
|
23507 |
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
23508 |
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
23509 |
|
23510 |
+
if (stack !== '') {
|
23511 |
+
format += '%s';
|
23512 |
+
args = args.concat([stack]);
|
23513 |
+
}
|
23514 |
}
|
|
|
23515 |
|
23516 |
+
var argsWithFormat = args.map(function (item) {
|
23517 |
+
return '' + item;
|
23518 |
+
}); // Careful: RN currently depends on this prefix
|
23519 |
|
23520 |
+
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
23521 |
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
23522 |
+
// eslint-disable-next-line react-internal/no-production-logging
|
|
|
|
|
|
|
23523 |
|
23524 |
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
|
23525 |
|
23526 |
+
try {
|
23527 |
+
// --- Welcome to debugging React ---
|
23528 |
+
// This error was thrown as a convenience so that you can use this stack
|
23529 |
+
// to find the callsite that caused this warning to fire.
|
23530 |
+
var argIndex = 0;
|
23531 |
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
23532 |
+
return args[argIndex++];
|
23533 |
+
});
|
23534 |
+
throw new Error(message);
|
23535 |
+
} catch (x) {}
|
23536 |
}
|
|
|
|
|
23537 |
}
|
|
|
|
|
|
|
|
|
|
|
23538 |
|
23539 |
+
var didWarnStateUpdateForUnmountedComponent = {};
|
23540 |
|
23541 |
+
function warnNoop(publicInstance, callerName) {
|
23542 |
+
{
|
23543 |
+
var _constructor = publicInstance.constructor;
|
23544 |
+
var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
|
23545 |
+
var warningKey = componentName + "." + callerName;
|
23546 |
|
23547 |
+
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
|
23548 |
+
return;
|
23549 |
+
}
|
23550 |
|
23551 |
+
error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
|
|
|
23552 |
|
23553 |
+
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
|
|
|
|
|
23554 |
}
|
|
|
|
|
23555 |
}
|
23556 |
/**
|
23557 |
+
* This is the abstract API for an update queue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23558 |
*/
|
23559 |
|
23560 |
|
23561 |
+
var ReactNoopUpdateQueue = {
|
23562 |
+
/**
|
23563 |
+
* Checks whether or not this composite component is mounted.
|
23564 |
+
* @param {ReactClass} publicInstance The instance we want to test.
|
23565 |
+
* @return {boolean} True if mounted, false otherwise.
|
23566 |
+
* @protected
|
23567 |
+
* @final
|
23568 |
+
*/
|
23569 |
+
isMounted: function (publicInstance) {
|
23570 |
+
return false;
|
23571 |
+
},
|
23572 |
|
23573 |
+
/**
|
23574 |
+
* Forces an update. This should only be invoked when it is known with
|
23575 |
+
* certainty that we are **not** in a DOM transaction.
|
23576 |
+
*
|
23577 |
+
* You may want to call this when you know that some deeper aspect of the
|
23578 |
+
* component's state has changed but `setState` was not called.
|
23579 |
+
*
|
23580 |
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
23581 |
+
* `componentWillUpdate` and `componentDidUpdate`.
|
23582 |
+
*
|
23583 |
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
23584 |
+
* @param {?function} callback Called after component is updated.
|
23585 |
+
* @param {?string} callerName name of the calling function in the public API.
|
23586 |
+
* @internal
|
23587 |
+
*/
|
23588 |
+
enqueueForceUpdate: function (publicInstance, callback, callerName) {
|
23589 |
+
warnNoop(publicInstance, 'forceUpdate');
|
23590 |
+
},
|
23591 |
|
23592 |
+
/**
|
23593 |
+
* Replaces all of the state. Always use this or `setState` to mutate state.
|
23594 |
+
* You should treat `this.state` as immutable.
|
23595 |
+
*
|
23596 |
+
* There is no guarantee that `this.state` will be immediately updated, so
|
23597 |
+
* accessing `this.state` after calling this method may return the old value.
|
23598 |
+
*
|
23599 |
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
23600 |
+
* @param {object} completeState Next state.
|
23601 |
+
* @param {?function} callback Called after component is updated.
|
23602 |
+
* @param {?string} callerName name of the calling function in the public API.
|
23603 |
+
* @internal
|
23604 |
+
*/
|
23605 |
+
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
|
23606 |
+
warnNoop(publicInstance, 'replaceState');
|
23607 |
+
},
|
23608 |
|
23609 |
+
/**
|
23610 |
+
* Sets a subset of the state. This only exists because _pendingState is
|
23611 |
+
* internal. This provides a merging strategy that is not available to deep
|
23612 |
+
* properties which is confusing. TODO: Expose pendingState or don't use it
|
23613 |
+
* during the merge.
|
23614 |
+
*
|
23615 |
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
23616 |
+
* @param {object} partialState Next partial state to be merged with state.
|
23617 |
+
* @param {?function} callback Called after component is updated.
|
23618 |
+
* @param {?string} Name of the calling function in the public API.
|
23619 |
+
* @internal
|
23620 |
+
*/
|
23621 |
+
enqueueSetState: function (publicInstance, partialState, callback, callerName) {
|
23622 |
+
warnNoop(publicInstance, 'setState');
|
23623 |
}
|
23624 |
+
};
|
23625 |
|
23626 |
+
var emptyObject = {};
|
|
|
|
|
|
|
|
|
23627 |
|
23628 |
+
{
|
23629 |
+
Object.freeze(emptyObject);
|
23630 |
}
|
23631 |
/**
|
23632 |
+
* Base class helpers for the updating state of a component.
|
|
|
|
|
|
|
|
|
|
|
|
|
23633 |
*/
|
23634 |
|
23635 |
|
23636 |
+
function Component(props, context, updater) {
|
23637 |
+
this.props = props;
|
23638 |
+
this.context = context; // If a component has string refs, we will assign a different object later.
|
|
|
23639 |
|
23640 |
+
this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the
|
23641 |
+
// renderer.
|
|
|
23642 |
|
23643 |
+
this.updater = updater || ReactNoopUpdateQueue;
|
23644 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23645 |
|
23646 |
+
Component.prototype.isReactComponent = {};
|
23647 |
+
/**
|
23648 |
+
* Sets a subset of the state. Always use this to mutate
|
23649 |
+
* state. You should treat `this.state` as immutable.
|
23650 |
+
*
|
23651 |
+
* There is no guarantee that `this.state` will be immediately updated, so
|
23652 |
+
* accessing `this.state` after calling this method may return the old value.
|
23653 |
+
*
|
23654 |
+
* There is no guarantee that calls to `setState` will run synchronously,
|
23655 |
+
* as they may eventually be batched together. You can provide an optional
|
23656 |
+
* callback that will be executed when the call to setState is actually
|
23657 |
+
* completed.
|
23658 |
+
*
|
23659 |
+
* When a function is provided to setState, it will be called at some point in
|
23660 |
+
* the future (not synchronously). It will be called with the up to date
|
23661 |
+
* component arguments (state, props, context). These values can be different
|
23662 |
+
* from this.* because your function may be called after receiveProps but before
|
23663 |
+
* shouldComponentUpdate, and this new state, props, and context will not yet be
|
23664 |
+
* assigned to this.
|
23665 |
+
*
|
23666 |
+
* @param {object|function} partialState Next partial state or function to
|
23667 |
+
* produce next partial state to be merged with current state.
|
23668 |
+
* @param {?function} callback Called after state is updated.
|
23669 |
+
* @final
|
23670 |
+
* @protected
|
23671 |
+
*/
|
23672 |
|
23673 |
+
Component.prototype.setState = function (partialState, callback) {
|
23674 |
+
if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) {
|
23675 |
+
{
|
23676 |
+
throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." );
|
|
|
|
|
23677 |
}
|
23678 |
}
|
23679 |
+
|
23680 |
+
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
23681 |
+
};
|
23682 |
/**
|
23683 |
+
* Forces an update. This should only be invoked when it is known with
|
23684 |
+
* certainty that we are **not** in a DOM transaction.
|
23685 |
*
|
23686 |
+
* You may want to call this when you know that some deeper aspect of the
|
23687 |
+
* component's state has changed but `setState` was not called.
|
23688 |
+
*
|
23689 |
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
23690 |
+
* `componentWillUpdate` and `componentDidUpdate`.
|
23691 |
+
*
|
23692 |
+
* @param {?function} callback Called after update is complete.
|
23693 |
+
* @final
|
23694 |
+
* @protected
|
23695 |
*/
|
23696 |
|
23697 |
|
23698 |
+
Component.prototype.forceUpdate = function (callback) {
|
23699 |
+
this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
|
23700 |
+
};
|
23701 |
+
/**
|
23702 |
+
* Deprecated APIs. These APIs used to exist on classic React classes but since
|
23703 |
+
* we would like to deprecate them, we're not going to move them over to this
|
23704 |
+
* modern base class. Instead, we define a getter that warns if it's accessed.
|
23705 |
+
*/
|
23706 |
|
|
|
|
|
|
|
23707 |
|
23708 |
+
{
|
23709 |
+
var deprecatedAPIs = {
|
23710 |
+
isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
|
23711 |
+
replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
|
23712 |
+
};
|
23713 |
|
23714 |
+
var defineDeprecationWarning = function (methodName, info) {
|
23715 |
+
Object.defineProperty(Component.prototype, methodName, {
|
23716 |
+
get: function () {
|
23717 |
+
warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
|
|
|
|
|
|
|
|
|
|
|
23718 |
|
23719 |
+
return undefined;
|
23720 |
+
}
|
23721 |
+
});
|
23722 |
+
};
|
|
|
|
|
|
|
|
|
23723 |
|
23724 |
+
for (var fnName in deprecatedAPIs) {
|
23725 |
+
if (deprecatedAPIs.hasOwnProperty(fnName)) {
|
23726 |
+
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
23727 |
+
}
|
23728 |
}
|
23729 |
}
|
23730 |
+
|
23731 |
+
function ComponentDummy() {}
|
23732 |
+
|
23733 |
+
ComponentDummy.prototype = Component.prototype;
|
23734 |
/**
|
23735 |
+
* Convenience component with default shallow equality check for sCU.
|
|
|
23736 |
*/
|
23737 |
|
23738 |
+
function PureComponent(props, context, updater) {
|
23739 |
+
this.props = props;
|
23740 |
+
this.context = context; // If a component has string refs, we will assign a different object later.
|
23741 |
|
23742 |
+
this.refs = emptyObject;
|
23743 |
+
this.updater = updater || ReactNoopUpdateQueue;
|
23744 |
+
}
|
|
|
|
|
|
|
23745 |
|
23746 |
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
23747 |
+
pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.
|
|
|
|
|
|
|
23748 |
|
23749 |
+
_assign(pureComponentPrototype, Component.prototype);
|
|
|
|
|
23750 |
|
23751 |
+
pureComponentPrototype.isPureReactComponent = true;
|
|
|
23752 |
|
23753 |
+
// an immutable object with a single mutable value
|
23754 |
+
function createRef() {
|
23755 |
+
var refObject = {
|
23756 |
+
current: null
|
23757 |
+
};
|
23758 |
|
23759 |
+
{
|
23760 |
+
Object.seal(refObject);
|
23761 |
+
}
|
23762 |
|
23763 |
+
return refObject;
|
23764 |
+
}
|
|
|
23765 |
|
23766 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
23767 |
+
var RESERVED_PROPS = {
|
23768 |
+
key: true,
|
23769 |
+
ref: true,
|
23770 |
+
__self: true,
|
23771 |
+
__source: true
|
23772 |
+
};
|
23773 |
+
var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
|
23774 |
|
23775 |
+
{
|
23776 |
+
didWarnAboutStringRefs = {};
|
23777 |
+
}
|
|
|
|
|
23778 |
|
23779 |
+
function hasValidRef(config) {
|
23780 |
+
{
|
23781 |
+
if (hasOwnProperty.call(config, 'ref')) {
|
23782 |
+
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
|
23783 |
|
23784 |
+
if (getter && getter.isReactWarning) {
|
23785 |
+
return false;
|
23786 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
23787 |
}
|
|
|
|
|
23788 |
}
|
23789 |
|
23790 |
+
return config.ref !== undefined;
|
23791 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23792 |
|
23793 |
+
function hasValidKey(config) {
|
23794 |
+
{
|
23795 |
+
if (hasOwnProperty.call(config, 'key')) {
|
23796 |
+
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
|
|
|
|
|
23797 |
|
23798 |
+
if (getter && getter.isReactWarning) {
|
23799 |
+
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
23800 |
}
|
23801 |
}
|
23802 |
}
|
23803 |
|
23804 |
+
return config.key !== undefined;
|
23805 |
+
}
|
|
|
23806 |
|
23807 |
+
function defineKeyPropWarningGetter(props, displayName) {
|
23808 |
+
var warnAboutAccessingKey = function () {
|
23809 |
+
{
|
23810 |
+
if (!specialPropKeyWarningShown) {
|
23811 |
+
specialPropKeyWarningShown = true;
|
23812 |
|
23813 |
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
23814 |
+
}
|
23815 |
+
}
|
23816 |
+
};
|
|
|
23817 |
|
23818 |
+
warnAboutAccessingKey.isReactWarning = true;
|
23819 |
+
Object.defineProperty(props, 'key', {
|
23820 |
+
get: warnAboutAccessingKey,
|
23821 |
+
configurable: true
|
23822 |
+
});
|
23823 |
}
|
|
|
|
|
|
|
23824 |
|
23825 |
+
function defineRefPropWarningGetter(props, displayName) {
|
23826 |
+
var warnAboutAccessingRef = function () {
|
23827 |
+
{
|
23828 |
+
if (!specialPropRefWarningShown) {
|
23829 |
+
specialPropRefWarningShown = true;
|
23830 |
|
23831 |
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
23832 |
+
}
|
23833 |
}
|
23834 |
+
};
|
23835 |
|
23836 |
+
warnAboutAccessingRef.isReactWarning = true;
|
23837 |
+
Object.defineProperty(props, 'ref', {
|
23838 |
+
get: warnAboutAccessingRef,
|
23839 |
+
configurable: true
|
23840 |
+
});
|
23841 |
+
}
|
23842 |
|
23843 |
+
function warnIfStringRefCannotBeAutoConverted(config) {
|
23844 |
+
{
|
23845 |
+
if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
|
23846 |
+
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
|
|
23847 |
|
23848 |
+
if (!didWarnAboutStringRefs[componentName]) {
|
23849 |
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://fb.me/react-strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
|
23850 |
|
23851 |
+
didWarnAboutStringRefs[componentName] = true;
|
23852 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23853 |
}
|
|
|
|
|
23854 |
}
|
23855 |
+
}
|
23856 |
+
/**
|
23857 |
+
* Factory method to create a new React element. This no longer adheres to
|
23858 |
+
* the class pattern, so do not use new to call it. Also, instanceof check
|
23859 |
+
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
23860 |
+
* if something is a React Element.
|
23861 |
+
*
|
23862 |
+
* @param {*} type
|
23863 |
+
* @param {*} props
|
23864 |
+
* @param {*} key
|
23865 |
+
* @param {string|object} ref
|
23866 |
+
* @param {*} owner
|
23867 |
+
* @param {*} self A *temporary* helper to detect places where `this` is
|
23868 |
+
* different from the `owner` when React.createElement is called, so that we
|
23869 |
+
* can warn. We want to get rid of owner and replace string `ref`s with arrow
|
23870 |
+
* functions, and as long as `this` and owner are the same, there will be no
|
23871 |
+
* change in behavior.
|
23872 |
+
* @param {*} source An annotation object (added by a transpiler or otherwise)
|
23873 |
+
* indicating filename, line number, and/or other information.
|
23874 |
+
* @internal
|
23875 |
+
*/
|
23876 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23877 |
|
23878 |
+
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
23879 |
+
var element = {
|
23880 |
+
// This tag allows us to uniquely identify this as a React Element
|
23881 |
+
$$typeof: REACT_ELEMENT_TYPE,
|
23882 |
+
// Built-in properties that belong on the element
|
23883 |
+
type: type,
|
23884 |
+
key: key,
|
23885 |
+
ref: ref,
|
23886 |
+
props: props,
|
23887 |
+
// Record the component responsible for creating this element.
|
23888 |
+
_owner: owner
|
23889 |
+
};
|
23890 |
|
23891 |
+
{
|
23892 |
+
// The validation flag is currently mutative. We put it on
|
23893 |
+
// an external backing store so that we can freeze the whole object.
|
23894 |
+
// This can be replaced with a WeakMap once they are implemented in
|
23895 |
+
// commonly used development environments.
|
23896 |
+
element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
|
23897 |
+
// the validation flag non-enumerable (where possible, which should
|
23898 |
+
// include every environment we run tests in), so the test framework
|
23899 |
+
// ignores it.
|
23900 |
|
23901 |
+
Object.defineProperty(element._store, 'validated', {
|
23902 |
+
configurable: false,
|
23903 |
+
enumerable: false,
|
23904 |
+
writable: true,
|
23905 |
+
value: false
|
23906 |
+
}); // self and source are DEV only properties.
|
23907 |
|
23908 |
+
Object.defineProperty(element, '_self', {
|
23909 |
+
configurable: false,
|
23910 |
+
enumerable: false,
|
23911 |
+
writable: false,
|
23912 |
+
value: self
|
23913 |
+
}); // Two elements created in two different places should be considered
|
23914 |
+
// equal for testing purposes and therefore we hide it from enumeration.
|
23915 |
|
23916 |
+
Object.defineProperty(element, '_source', {
|
23917 |
+
configurable: false,
|
23918 |
enumerable: false,
|
23919 |
+
writable: false,
|
23920 |
+
value: source
|
|
|
|
|
|
|
|
|
|
|
23921 |
});
|
23922 |
+
|
23923 |
+
if (Object.freeze) {
|
23924 |
+
Object.freeze(element.props);
|
23925 |
+
Object.freeze(element);
|
23926 |
+
}
|
23927 |
}
|
23928 |
|
23929 |
+
return element;
|
23930 |
+
};
|
23931 |
+
/**
|
23932 |
+
* Create and return a new ReactElement of the given type.
|
23933 |
+
* See https://reactjs.org/docs/react-api.html#createelement
|
23934 |
+
*/
|
23935 |
|
23936 |
+
function createElement(type, config, children) {
|
23937 |
+
var propName; // Reserved names are extracted
|
|
|
23938 |
|
23939 |
+
var props = {};
|
23940 |
+
var key = null;
|
23941 |
+
var ref = null;
|
23942 |
+
var self = null;
|
23943 |
+
var source = null;
|
23944 |
|
23945 |
+
if (config != null) {
|
23946 |
+
if (hasValidRef(config)) {
|
23947 |
+
ref = config.ref;
|
23948 |
|
23949 |
+
{
|
23950 |
+
warnIfStringRefCannotBeAutoConverted(config);
|
23951 |
+
}
|
23952 |
+
}
|
23953 |
|
23954 |
+
if (hasValidKey(config)) {
|
23955 |
+
key = '' + config.key;
|
23956 |
+
}
|
|
|
|
|
|
|
23957 |
|
23958 |
+
self = config.__self === undefined ? null : config.__self;
|
23959 |
+
source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object
|
|
|
|
|
|
|
|
|
|
|
23960 |
|
23961 |
+
for (propName in config) {
|
23962 |
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
23963 |
+
props[propName] = config[propName];
|
23964 |
+
}
|
23965 |
+
}
|
23966 |
+
} // Children can be more than one argument, and those are transferred onto
|
23967 |
+
// the newly allocated props object.
|
23968 |
|
|
|
|
|
|
|
|
|
23969 |
|
23970 |
+
var childrenLength = arguments.length - 2;
|
|
|
|
|
23971 |
|
23972 |
+
if (childrenLength === 1) {
|
23973 |
+
props.children = children;
|
23974 |
+
} else if (childrenLength > 1) {
|
23975 |
+
var childArray = Array(childrenLength);
|
23976 |
|
23977 |
+
for (var i = 0; i < childrenLength; i++) {
|
23978 |
+
childArray[i] = arguments[i + 2];
|
23979 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23980 |
|
23981 |
+
{
|
23982 |
+
if (Object.freeze) {
|
23983 |
+
Object.freeze(childArray);
|
23984 |
+
}
|
23985 |
+
}
|
23986 |
|
23987 |
+
props.children = childArray;
|
23988 |
+
} // Resolve default props
|
23989 |
|
23990 |
+
|
23991 |
+
if (type && type.defaultProps) {
|
23992 |
+
var defaultProps = type.defaultProps;
|
23993 |
+
|
23994 |
+
for (propName in defaultProps) {
|
23995 |
+
if (props[propName] === undefined) {
|
23996 |
+
props[propName] = defaultProps[propName];
|
23997 |
+
}
|
23998 |
+
}
|
23999 |
+
}
|
24000 |
|
24001 |
{
|
24002 |
+
if (key || ref) {
|
24003 |
+
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
24004 |
+
|
24005 |
+
if (key) {
|
24006 |
+
defineKeyPropWarningGetter(props, displayName);
|
24007 |
+
}
|
24008 |
+
|
24009 |
+
if (ref) {
|
24010 |
+
defineRefPropWarningGetter(props, displayName);
|
24011 |
+
}
|
24012 |
+
}
|
24013 |
}
|
24014 |
|
24015 |
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
24016 |
}
|
24017 |
+
function cloneAndReplaceKey(oldElement, newKey) {
|
24018 |
+
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
24019 |
+
return newElement;
|
24020 |
+
}
|
24021 |
+
/**
|
24022 |
+
* Clone and return a new ReactElement using element as the starting point.
|
24023 |
+
* See https://reactjs.org/docs/react-api.html#cloneelement
|
24024 |
+
*/
|
24025 |
|
24026 |
+
function cloneElement(element, config, children) {
|
24027 |
+
if (!!(element === null || element === undefined)) {
|
24028 |
+
{
|
24029 |
+
throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." );
|
24030 |
+
}
|
24031 |
+
}
|
24032 |
|
24033 |
+
var propName; // Original props are copied
|
24034 |
|
24035 |
+
var props = _assign({}, element.props); // Reserved names are extracted
|
24036 |
|
|
|
24037 |
|
24038 |
+
var key = element.key;
|
24039 |
+
var ref = element.ref; // Self is preserved since the owner is preserved.
|
24040 |
|
24041 |
+
var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a
|
24042 |
+
// transpiler, and the original source is probably a better indicator of the
|
24043 |
+
// true owner.
|
24044 |
|
24045 |
+
var source = element._source; // Owner will be preserved, unless ref is overridden
|
24046 |
|
24047 |
+
var owner = element._owner;
|
24048 |
|
24049 |
+
if (config != null) {
|
24050 |
+
if (hasValidRef(config)) {
|
24051 |
+
// Silently steal the ref from the parent.
|
24052 |
+
ref = config.ref;
|
24053 |
+
owner = ReactCurrentOwner.current;
|
24054 |
+
}
|
24055 |
|
24056 |
+
if (hasValidKey(config)) {
|
24057 |
+
key = '' + config.key;
|
24058 |
+
} // Remaining properties override existing props
|
24059 |
|
|
|
|
|
24060 |
|
24061 |
+
var defaultProps;
|
|
|
24062 |
|
24063 |
+
if (element.type && element.type.defaultProps) {
|
24064 |
+
defaultProps = element.type.defaultProps;
|
24065 |
+
}
|
24066 |
|
24067 |
+
for (propName in config) {
|
24068 |
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
24069 |
+
if (config[propName] === undefined && defaultProps !== undefined) {
|
24070 |
+
// Resolve default props
|
24071 |
+
props[propName] = defaultProps[propName];
|
24072 |
+
} else {
|
24073 |
+
props[propName] = config[propName];
|
24074 |
+
}
|
24075 |
+
}
|
24076 |
+
}
|
24077 |
+
} // Children can be more than one argument, and those are transferred onto
|
24078 |
+
// the newly allocated props object.
|
24079 |
|
|
|
24080 |
|
24081 |
+
var childrenLength = arguments.length - 2;
|
|
|
24082 |
|
24083 |
+
if (childrenLength === 1) {
|
24084 |
+
props.children = children;
|
24085 |
+
} else if (childrenLength > 1) {
|
24086 |
+
var childArray = Array(childrenLength);
|
24087 |
|
24088 |
+
for (var i = 0; i < childrenLength; i++) {
|
24089 |
+
childArray[i] = arguments[i + 2];
|
24090 |
+
}
|
|
|
|
|
24091 |
|
24092 |
+
props.children = childArray;
|
24093 |
+
}
|
|
|
24094 |
|
24095 |
+
return ReactElement(element.type, key, ref, self, source, owner, props);
|
24096 |
+
}
|
24097 |
+
/**
|
24098 |
+
* Verifies the object is a ReactElement.
|
24099 |
+
* See https://reactjs.org/docs/react-api.html#isvalidelement
|
24100 |
+
* @param {?object} object
|
24101 |
+
* @return {boolean} True if `object` is a ReactElement.
|
24102 |
+
* @final
|
24103 |
+
*/
|
24104 |
|
24105 |
+
function isValidElement(object) {
|
24106 |
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
24107 |
+
}
|
24108 |
|
24109 |
+
var SEPARATOR = '.';
|
24110 |
+
var SUBSEPARATOR = ':';
|
24111 |
+
/**
|
24112 |
+
* Escape and wrap key so it is safe to use as a reactid
|
24113 |
+
*
|
24114 |
+
* @param {string} key to be escaped.
|
24115 |
+
* @return {string} the escaped key.
|
24116 |
+
*/
|
24117 |
|
24118 |
+
function escape(key) {
|
24119 |
+
var escapeRegex = /[=:]/g;
|
24120 |
+
var escaperLookup = {
|
24121 |
+
'=': '=0',
|
24122 |
+
':': '=2'
|
24123 |
+
};
|
24124 |
+
var escapedString = ('' + key).replace(escapeRegex, function (match) {
|
24125 |
+
return escaperLookup[match];
|
24126 |
+
});
|
24127 |
+
return '$' + escapedString;
|
24128 |
+
}
|
24129 |
+
/**
|
24130 |
+
* TODO: Test that a single child and an array with one item have the same key
|
24131 |
+
* pattern.
|
24132 |
+
*/
|
24133 |
|
|
|
24134 |
|
24135 |
+
var didWarnAboutMaps = false;
|
24136 |
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24137 |
|
24138 |
+
function escapeUserProvidedKey(text) {
|
24139 |
+
return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
|
|
|
|
|
|
|
24140 |
}
|
24141 |
|
24142 |
+
var POOL_SIZE = 10;
|
24143 |
+
var traverseContextPool = [];
|
|
|
|
|
24144 |
|
24145 |
+
function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) {
|
24146 |
+
if (traverseContextPool.length) {
|
24147 |
+
var traverseContext = traverseContextPool.pop();
|
24148 |
+
traverseContext.result = mapResult;
|
24149 |
+
traverseContext.keyPrefix = keyPrefix;
|
24150 |
+
traverseContext.func = mapFunction;
|
24151 |
+
traverseContext.context = mapContext;
|
24152 |
+
traverseContext.count = 0;
|
24153 |
+
return traverseContext;
|
24154 |
+
} else {
|
24155 |
+
return {
|
24156 |
+
result: mapResult,
|
24157 |
+
keyPrefix: keyPrefix,
|
24158 |
+
func: mapFunction,
|
24159 |
+
context: mapContext,
|
24160 |
+
count: 0
|
24161 |
+
};
|
24162 |
+
}
|
24163 |
}
|
24164 |
|
24165 |
+
function releaseTraverseContext(traverseContext) {
|
24166 |
+
traverseContext.result = null;
|
24167 |
+
traverseContext.keyPrefix = null;
|
24168 |
+
traverseContext.func = null;
|
24169 |
+
traverseContext.context = null;
|
24170 |
+
traverseContext.count = 0;
|
|
|
24171 |
|
24172 |
+
if (traverseContextPool.length < POOL_SIZE) {
|
24173 |
+
traverseContextPool.push(traverseContext);
|
|
|
|
|
|
|
24174 |
}
|
24175 |
}
|
24176 |
+
/**
|
24177 |
+
* @param {?*} children Children tree container.
|
24178 |
+
* @param {!string} nameSoFar Name of the key path so far.
|
24179 |
+
* @param {!function} callback Callback to invoke with each child found.
|
24180 |
+
* @param {?*} traverseContext Used to pass information throughout the traversal
|
24181 |
+
* process.
|
24182 |
+
* @return {!number} The number of children in this subtree.
|
24183 |
+
*/
|
24184 |
|
24185 |
|
24186 |
+
function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {
|
24187 |
+
var type = typeof children;
|
24188 |
|
24189 |
+
if (type === 'undefined' || type === 'boolean') {
|
24190 |
+
// All of the above are perceived as null.
|
24191 |
+
children = null;
|
24192 |
+
}
|
24193 |
|
24194 |
+
var invokeCallback = false;
|
24195 |
|
24196 |
+
if (children === null) {
|
24197 |
+
invokeCallback = true;
|
24198 |
+
} else {
|
24199 |
+
switch (type) {
|
24200 |
+
case 'string':
|
24201 |
+
case 'number':
|
24202 |
+
invokeCallback = true;
|
24203 |
+
break;
|
24204 |
|
24205 |
+
case 'object':
|
24206 |
+
switch (children.$$typeof) {
|
24207 |
+
case REACT_ELEMENT_TYPE:
|
24208 |
+
case REACT_PORTAL_TYPE:
|
24209 |
+
invokeCallback = true;
|
24210 |
+
}
|
24211 |
|
24212 |
+
}
|
24213 |
+
}
|
24214 |
|
24215 |
+
if (invokeCallback) {
|
24216 |
+
callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array
|
24217 |
+
// so that it's consistent if the number of children grows.
|
24218 |
+
nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);
|
24219 |
+
return 1;
|
24220 |
+
}
|
24221 |
|
24222 |
+
var child;
|
24223 |
+
var nextName;
|
24224 |
+
var subtreeCount = 0; // Count of children found in the current subtree.
|
24225 |
|
24226 |
+
var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
|
|
|
|
|
24227 |
|
24228 |
+
if (Array.isArray(children)) {
|
24229 |
+
for (var i = 0; i < children.length; i++) {
|
24230 |
+
child = children[i];
|
24231 |
+
nextName = nextNamePrefix + getComponentKey(child, i);
|
24232 |
+
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
24233 |
+
}
|
24234 |
+
} else {
|
24235 |
+
var iteratorFn = getIteratorFn(children);
|
|
|
24236 |
|
24237 |
+
if (typeof iteratorFn === 'function') {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24238 |
|
24239 |
+
{
|
24240 |
+
// Warn about using Maps as children
|
24241 |
+
if (iteratorFn === children.entries) {
|
24242 |
+
if (!didWarnAboutMaps) {
|
24243 |
+
warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.');
|
24244 |
+
}
|
24245 |
|
24246 |
+
didWarnAboutMaps = true;
|
24247 |
+
}
|
24248 |
+
}
|
24249 |
|
24250 |
+
var iterator = iteratorFn.call(children);
|
24251 |
+
var step;
|
24252 |
+
var ii = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
24253 |
|
24254 |
+
while (!(step = iterator.next()).done) {
|
24255 |
+
child = step.value;
|
24256 |
+
nextName = nextNamePrefix + getComponentKey(child, ii++);
|
24257 |
+
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
24258 |
+
}
|
24259 |
+
} else if (type === 'object') {
|
24260 |
+
var addendum = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
24261 |
|
24262 |
+
{
|
24263 |
+
addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum();
|
24264 |
+
}
|
24265 |
|
24266 |
+
var childrenString = '' + children;
|
|
|
|
|
24267 |
|
24268 |
+
{
|
24269 |
+
{
|
24270 |
+
throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum );
|
24271 |
+
}
|
24272 |
+
}
|
24273 |
+
}
|
24274 |
+
}
|
24275 |
+
|
24276 |
+
return subtreeCount;
|
24277 |
+
}
|
24278 |
+
/**
|
24279 |
+
* Traverses children that are typically specified as `props.children`, but
|
24280 |
+
* might also be specified through attributes:
|
24281 |
*
|
24282 |
+
* - `traverseAllChildren(this.props.children, ...)`
|
24283 |
+
* - `traverseAllChildren(this.props.leftPanelChildren, ...)`
|
24284 |
*
|
24285 |
+
* The `traverseContext` is an optional argument that is passed through the
|
24286 |
+
* entire traversal. It can be used to store accumulations or anything else that
|
24287 |
+
* the callback might find relevant.
|
24288 |
+
*
|
24289 |
+
* @param {?*} children Children tree object.
|
24290 |
+
* @param {!function} callback To invoke upon traversing each child.
|
24291 |
+
* @param {?*} traverseContext Context for traversal.
|
24292 |
+
* @return {!number} The number of children in this subtree.
|
24293 |
*/
|
24294 |
|
24295 |
|
24296 |
+
function traverseAllChildren(children, callback, traverseContext) {
|
24297 |
+
if (children == null) {
|
24298 |
+
return 0;
|
24299 |
+
}
|
24300 |
|
24301 |
+
return traverseAllChildrenImpl(children, '', callback, traverseContext);
|
24302 |
+
}
|
24303 |
+
/**
|
24304 |
+
* Generate a key string that identifies a component within a set.
|
24305 |
+
*
|
24306 |
+
* @param {*} component A component that could contain a manual key.
|
24307 |
+
* @param {number} index Index that is used if a manual key is not provided.
|
24308 |
+
* @return {string}
|
24309 |
+
*/
|
24310 |
|
24311 |
|
24312 |
+
function getComponentKey(component, index) {
|
24313 |
+
// Do some typechecking here since we call this blindly. We want to ensure
|
24314 |
+
// that we don't block potential future ES APIs.
|
24315 |
+
if (typeof component === 'object' && component !== null && component.key != null) {
|
24316 |
+
// Explicit key
|
24317 |
+
return escape(component.key);
|
24318 |
+
} // Implicit key determined by the index in the set
|
24319 |
|
|
|
24320 |
|
24321 |
+
return index.toString(36);
|
24322 |
+
}
|
|
|
24323 |
|
24324 |
+
function forEachSingleChild(bookKeeping, child, name) {
|
24325 |
+
var func = bookKeeping.func,
|
24326 |
+
context = bookKeeping.context;
|
24327 |
+
func.call(context, child, bookKeeping.count++);
|
24328 |
+
}
|
24329 |
+
/**
|
24330 |
+
* Iterates through children that are typically specified as `props.children`.
|
24331 |
+
*
|
24332 |
+
* See https://reactjs.org/docs/react-api.html#reactchildrenforeach
|
24333 |
+
*
|
24334 |
+
* The provided forEachFunc(child, index) will be called for each
|
24335 |
+
* leaf child.
|
24336 |
+
*
|
24337 |
+
* @param {?*} children Children tree container.
|
24338 |
+
* @param {function(*, int)} forEachFunc
|
24339 |
+
* @param {*} forEachContext Context for forEachContext.
|
24340 |
+
*/
|
24341 |
|
|
|
|
|
|
|
|
|
24342 |
|
24343 |
+
function forEachChildren(children, forEachFunc, forEachContext) {
|
24344 |
+
if (children == null) {
|
24345 |
+
return children;
|
24346 |
+
}
|
24347 |
|
24348 |
+
var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext);
|
24349 |
+
traverseAllChildren(children, forEachSingleChild, traverseContext);
|
24350 |
+
releaseTraverseContext(traverseContext);
|
24351 |
+
}
|
24352 |
|
24353 |
+
function mapSingleChildIntoContext(bookKeeping, child, childKey) {
|
24354 |
+
var result = bookKeeping.result,
|
24355 |
+
keyPrefix = bookKeeping.keyPrefix,
|
24356 |
+
func = bookKeeping.func,
|
24357 |
+
context = bookKeeping.context;
|
24358 |
+
var mappedChild = func.call(context, child, bookKeeping.count++);
|
|
|
|
|
24359 |
|
24360 |
+
if (Array.isArray(mappedChild)) {
|
24361 |
+
mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) {
|
24362 |
+
return c;
|
24363 |
+
});
|
24364 |
+
} else if (mappedChild != null) {
|
24365 |
+
if (isValidElement(mappedChild)) {
|
24366 |
+
mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
|
24367 |
+
// traverseAllChildren used to do for objects as children
|
24368 |
+
keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);
|
24369 |
+
}
|
24370 |
|
24371 |
+
result.push(mappedChild);
|
24372 |
+
}
|
24373 |
+
}
|
24374 |
|
24375 |
+
function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {
|
24376 |
+
var escapedPrefix = '';
|
|
|
|
|
|
|
|
|
|
|
24377 |
|
24378 |
+
if (prefix != null) {
|
24379 |
+
escapedPrefix = escapeUserProvidedKey(prefix) + '/';
|
24380 |
+
}
|
24381 |
|
24382 |
+
var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context);
|
24383 |
+
traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);
|
24384 |
+
releaseTraverseContext(traverseContext);
|
24385 |
+
}
|
24386 |
+
/**
|
24387 |
+
* Maps children that are typically specified as `props.children`.
|
24388 |
+
*
|
24389 |
+
* See https://reactjs.org/docs/react-api.html#reactchildrenmap
|
24390 |
+
*
|
24391 |
+
* The provided mapFunction(child, key, index) will be called for each
|
24392 |
+
* leaf child.
|
24393 |
+
*
|
24394 |
+
* @param {?*} children Children tree container.
|
24395 |
+
* @param {function(*, int)} func The map function.
|
24396 |
+
* @param {*} context Context for mapFunction.
|
24397 |
+
* @return {object} Object containing the ordered map of results.
|
24398 |
+
*/
|
24399 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24400 |
|
24401 |
+
function mapChildren(children, func, context) {
|
24402 |
+
if (children == null) {
|
24403 |
+
return children;
|
24404 |
+
}
|
24405 |
|
24406 |
+
var result = [];
|
24407 |
+
mapIntoWithKeyPrefixInternal(children, result, null, func, context);
|
24408 |
+
return result;
|
24409 |
+
}
|
24410 |
+
/**
|
24411 |
+
* Count the number of children that are typically specified as
|
24412 |
+
* `props.children`.
|
24413 |
+
*
|
24414 |
+
* See https://reactjs.org/docs/react-api.html#reactchildrencount
|
24415 |
+
*
|
24416 |
+
* @param {?*} children Children tree container.
|
24417 |
+
* @return {number} The number of children.
|
24418 |
+
*/
|
24419 |
|
|
|
|
|
|
|
24420 |
|
24421 |
+
function countChildren(children) {
|
24422 |
+
return traverseAllChildren(children, function () {
|
24423 |
+
return null;
|
24424 |
+
}, null);
|
24425 |
+
}
|
24426 |
+
/**
|
24427 |
+
* Flatten a children object (typically specified as `props.children`) and
|
24428 |
+
* return an array with appropriately re-keyed children.
|
24429 |
+
*
|
24430 |
+
* See https://reactjs.org/docs/react-api.html#reactchildrentoarray
|
24431 |
+
*/
|
24432 |
|
|
|
|
|
|
|
|
|
|
|
|
|
24433 |
|
24434 |
+
function toArray(children) {
|
24435 |
+
var result = [];
|
24436 |
+
mapIntoWithKeyPrefixInternal(children, result, null, function (child) {
|
24437 |
+
return child;
|
24438 |
+
});
|
24439 |
+
return result;
|
24440 |
+
}
|
24441 |
+
/**
|
24442 |
+
* Returns the first child in a collection of children and verifies that there
|
24443 |
+
* is only one child in the collection.
|
24444 |
+
*
|
24445 |
+
* See https://reactjs.org/docs/react-api.html#reactchildrenonly
|
24446 |
+
*
|
24447 |
+
* The current implementation of this function assumes that a single child gets
|
24448 |
+
* passed without a wrapper, but the purpose of this helper function is to
|
24449 |
+
* abstract away the particular structure of children.
|
24450 |
+
*
|
24451 |
+
* @param {?object} children Child collection structure.
|
24452 |
+
* @return {ReactElement} The first and only `ReactElement` contained in the
|
24453 |
+
* structure.
|
24454 |
+
*/
|
24455 |
|
24456 |
+
|
24457 |
+
function onlyChild(children) {
|
24458 |
+
if (!isValidElement(children)) {
|
24459 |
+
{
|
24460 |
+
throw Error( "React.Children.only expected to receive a single React element child." );
|
24461 |
}
|
24462 |
}
|
24463 |
|
24464 |
+
return children;
|
24465 |
+
}
|
|
|
|
|
|
|
|
|
24466 |
|
24467 |
+
function createContext(defaultValue, calculateChangedBits) {
|
24468 |
+
if (calculateChangedBits === undefined) {
|
24469 |
+
calculateChangedBits = null;
|
24470 |
+
} else {
|
24471 |
+
{
|
24472 |
+
if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') {
|
24473 |
+
error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
|
24474 |
+
}
|
24475 |
+
}
|
24476 |
}
|
24477 |
|
24478 |
+
var context = {
|
24479 |
+
$$typeof: REACT_CONTEXT_TYPE,
|
24480 |
+
_calculateChangedBits: calculateChangedBits,
|
24481 |
+
// As a workaround to support multiple concurrent renderers, we categorize
|
24482 |
+
// some renderers as primary and others as secondary. We only expect
|
24483 |
+
// there to be two concurrent renderers at most: React Native (primary) and
|
24484 |
+
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
24485 |
+
// Secondary renderers store their context values on separate fields.
|
24486 |
+
_currentValue: defaultValue,
|
24487 |
+
_currentValue2: defaultValue,
|
24488 |
+
// Used to track how many concurrent renderers this context currently
|
24489 |
+
// supports within in a single renderer. Such as parallel server rendering.
|
24490 |
+
_threadCount: 0,
|
24491 |
+
// These are circular
|
24492 |
+
Provider: null,
|
24493 |
+
Consumer: null
|
24494 |
+
};
|
24495 |
+
context.Provider = {
|
24496 |
+
$$typeof: REACT_PROVIDER_TYPE,
|
24497 |
+
_context: context
|
24498 |
+
};
|
24499 |
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
24500 |
+
var hasWarnedAboutUsingConsumerProvider = false;
|
24501 |
|
24502 |
+
{
|
24503 |
+
// A separate object, but proxies back to the original context object for
|
24504 |
+
// backwards compatibility. It has a different $$typeof, so we can properly
|
24505 |
+
// warn for the incorrect usage of Context as a Consumer.
|
24506 |
+
var Consumer = {
|
24507 |
+
$$typeof: REACT_CONTEXT_TYPE,
|
24508 |
+
_context: context,
|
24509 |
+
_calculateChangedBits: context._calculateChangedBits
|
24510 |
+
}; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
24511 |
|
24512 |
+
Object.defineProperties(Consumer, {
|
24513 |
+
Provider: {
|
24514 |
+
get: function () {
|
24515 |
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
24516 |
+
hasWarnedAboutUsingConsumerProvider = true;
|
24517 |
|
24518 |
+
error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
|
24519 |
+
}
|
24520 |
|
24521 |
+
return context.Provider;
|
24522 |
+
},
|
24523 |
+
set: function (_Provider) {
|
24524 |
+
context.Provider = _Provider;
|
24525 |
+
}
|
24526 |
+
},
|
24527 |
+
_currentValue: {
|
24528 |
+
get: function () {
|
24529 |
+
return context._currentValue;
|
24530 |
+
},
|
24531 |
+
set: function (_currentValue) {
|
24532 |
+
context._currentValue = _currentValue;
|
24533 |
+
}
|
24534 |
+
},
|
24535 |
+
_currentValue2: {
|
24536 |
+
get: function () {
|
24537 |
+
return context._currentValue2;
|
24538 |
+
},
|
24539 |
+
set: function (_currentValue2) {
|
24540 |
+
context._currentValue2 = _currentValue2;
|
24541 |
+
}
|
24542 |
+
},
|
24543 |
+
_threadCount: {
|
24544 |
+
get: function () {
|
24545 |
+
return context._threadCount;
|
24546 |
+
},
|
24547 |
+
set: function (_threadCount) {
|
24548 |
+
context._threadCount = _threadCount;
|
24549 |
+
}
|
24550 |
+
},
|
24551 |
+
Consumer: {
|
24552 |
+
get: function () {
|
24553 |
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
24554 |
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
24555 |
|
24556 |
+
error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
|
24557 |
+
}
|
24558 |
|
24559 |
+
return context.Consumer;
|
24560 |
+
}
|
|
|
|
|
24561 |
}
|
24562 |
+
}); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24563 |
|
24564 |
+
context.Consumer = Consumer;
|
24565 |
+
}
|
24566 |
|
24567 |
+
{
|
24568 |
+
context._currentRenderer = null;
|
24569 |
+
context._currentRenderer2 = null;
|
24570 |
}
|
24571 |
|
24572 |
+
return context;
|
24573 |
+
}
|
|
|
|
|
|
|
24574 |
|
24575 |
+
function lazy(ctor) {
|
24576 |
+
var lazyType = {
|
24577 |
+
$$typeof: REACT_LAZY_TYPE,
|
24578 |
+
_ctor: ctor,
|
24579 |
+
// React uses these fields to store the result.
|
24580 |
+
_status: -1,
|
24581 |
+
_result: null
|
24582 |
};
|
24583 |
|
24584 |
+
{
|
24585 |
+
// In production, this would just set it on the object.
|
24586 |
+
var defaultProps;
|
24587 |
+
var propTypes;
|
24588 |
+
Object.defineProperties(lazyType, {
|
24589 |
+
defaultProps: {
|
24590 |
+
configurable: true,
|
24591 |
+
get: function () {
|
24592 |
+
return defaultProps;
|
24593 |
+
},
|
24594 |
+
set: function (newDefaultProps) {
|
24595 |
+
error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
24596 |
|
24597 |
+
defaultProps = newDefaultProps; // Match production behavior more closely:
|
|
|
24598 |
|
24599 |
+
Object.defineProperty(lazyType, 'defaultProps', {
|
24600 |
+
enumerable: true
|
24601 |
+
});
|
24602 |
+
}
|
24603 |
+
},
|
24604 |
+
propTypes: {
|
24605 |
+
configurable: true,
|
24606 |
+
get: function () {
|
24607 |
+
return propTypes;
|
24608 |
+
},
|
24609 |
+
set: function (newPropTypes) {
|
24610 |
+
error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
24611 |
|
24612 |
+
propTypes = newPropTypes; // Match production behavior more closely:
|
24613 |
+
|
24614 |
+
Object.defineProperty(lazyType, 'propTypes', {
|
24615 |
+
enumerable: true
|
24616 |
+
});
|
|
|
|
|
24617 |
}
|
|
|
|
|
|
|
|
|
|
|
24618 |
}
|
24619 |
+
});
|
24620 |
+
}
|
24621 |
+
|
24622 |
+
return lazyType;
|
24623 |
+
}
|
24624 |
+
|
24625 |
+
function forwardRef(render) {
|
24626 |
+
{
|
24627 |
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
24628 |
+
error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
24629 |
+
} else if (typeof render !== 'function') {
|
24630 |
+
error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
24631 |
} else {
|
24632 |
+
if (render.length !== 0 && render.length !== 2) {
|
24633 |
+
error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
|
24634 |
+
}
|
24635 |
+
}
|
24636 |
|
24637 |
+
if (render != null) {
|
24638 |
+
if (render.defaultProps != null || render.propTypes != null) {
|
24639 |
+
error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
|
24640 |
+
}
|
24641 |
+
}
|
24642 |
+
}
|
24643 |
|
24644 |
+
return {
|
24645 |
+
$$typeof: REACT_FORWARD_REF_TYPE,
|
24646 |
+
render: render
|
24647 |
};
|
24648 |
+
}
|
24649 |
|
24650 |
+
function isValidElementType(type) {
|
24651 |
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
24652 |
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
24653 |
+
}
|
|
|
|
|
24654 |
|
24655 |
+
function memo(type, compare) {
|
24656 |
+
{
|
24657 |
+
if (!isValidElementType(type)) {
|
24658 |
+
error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
|
24659 |
}
|
24660 |
+
}
|
24661 |
|
24662 |
+
return {
|
24663 |
+
$$typeof: REACT_MEMO_TYPE,
|
24664 |
+
type: type,
|
24665 |
+
compare: compare === undefined ? null : compare
|
24666 |
};
|
24667 |
+
}
|
24668 |
|
24669 |
+
function resolveDispatcher() {
|
24670 |
+
var dispatcher = ReactCurrentDispatcher.current;
|
24671 |
|
24672 |
+
if (!(dispatcher !== null)) {
|
24673 |
+
{
|
24674 |
+
throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem." );
|
24675 |
+
}
|
24676 |
+
}
|
24677 |
|
24678 |
+
return dispatcher;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24679 |
}
|
|
|
|
|
24680 |
|
24681 |
+
function useContext(Context, unstable_observedBits) {
|
24682 |
+
var dispatcher = resolveDispatcher();
|
24683 |
|
24684 |
+
{
|
24685 |
+
if (unstable_observedBits !== undefined) {
|
24686 |
+
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '');
|
24687 |
+
} // TODO: add a more generic warning for invalid values.
|
24688 |
+
|
24689 |
+
|
24690 |
+
if (Context._context !== undefined) {
|
24691 |
+
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
|
24692 |
+
// and nobody should be using this in existing code.
|
24693 |
+
|
24694 |
+
if (realContext.Consumer === Context) {
|
24695 |
+
error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
|
24696 |
+
} else if (realContext.Provider === Context) {
|
24697 |
+
error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
|
24698 |
+
}
|
24699 |
}
|
24700 |
+
}
|
24701 |
|
24702 |
+
return dispatcher.useContext(Context, unstable_observedBits);
|
24703 |
+
}
|
24704 |
+
function useState(initialState) {
|
24705 |
+
var dispatcher = resolveDispatcher();
|
24706 |
+
return dispatcher.useState(initialState);
|
24707 |
+
}
|
24708 |
+
function useReducer(reducer, initialArg, init) {
|
24709 |
+
var dispatcher = resolveDispatcher();
|
24710 |
+
return dispatcher.useReducer(reducer, initialArg, init);
|
24711 |
+
}
|
24712 |
+
function useRef(initialValue) {
|
24713 |
+
var dispatcher = resolveDispatcher();
|
24714 |
+
return dispatcher.useRef(initialValue);
|
24715 |
+
}
|
24716 |
+
function useEffect(create, deps) {
|
24717 |
+
var dispatcher = resolveDispatcher();
|
24718 |
+
return dispatcher.useEffect(create, deps);
|
24719 |
+
}
|
24720 |
+
function useLayoutEffect(create, deps) {
|
24721 |
+
var dispatcher = resolveDispatcher();
|
24722 |
+
return dispatcher.useLayoutEffect(create, deps);
|
24723 |
+
}
|
24724 |
+
function useCallback(callback, deps) {
|
24725 |
+
var dispatcher = resolveDispatcher();
|
24726 |
+
return dispatcher.useCallback(callback, deps);
|
24727 |
+
}
|
24728 |
+
function useMemo(create, deps) {
|
24729 |
+
var dispatcher = resolveDispatcher();
|
24730 |
+
return dispatcher.useMemo(create, deps);
|
24731 |
+
}
|
24732 |
+
function useImperativeHandle(ref, create, deps) {
|
24733 |
+
var dispatcher = resolveDispatcher();
|
24734 |
+
return dispatcher.useImperativeHandle(ref, create, deps);
|
24735 |
+
}
|
24736 |
+
function useDebugValue(value, formatterFn) {
|
24737 |
+
{
|
24738 |
+
var dispatcher = resolveDispatcher();
|
24739 |
+
return dispatcher.useDebugValue(value, formatterFn);
|
24740 |
}
|
24741 |
}
|
24742 |
|
24743 |
+
var propTypesMisspellWarningShown;
|
|
|
24744 |
|
24745 |
+
{
|
24746 |
+
propTypesMisspellWarningShown = false;
|
24747 |
+
}
|
24748 |
|
24749 |
+
function getDeclarationErrorAddendum() {
|
24750 |
+
if (ReactCurrentOwner.current) {
|
24751 |
+
var name = getComponentName(ReactCurrentOwner.current.type);
|
24752 |
+
|
24753 |
+
if (name) {
|
24754 |
+
return '\n\nCheck the render method of `' + name + '`.';
|
|
|
|
|
24755 |
}
|
24756 |
}
|
24757 |
+
|
24758 |
+
return '';
|
24759 |
}
|
24760 |
|
24761 |
+
function getSourceInfoErrorAddendum(source) {
|
24762 |
+
if (source !== undefined) {
|
24763 |
+
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
24764 |
+
var lineNumber = source.lineNumber;
|
24765 |
+
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
24766 |
+
}
|
24767 |
|
24768 |
+
return '';
|
24769 |
+
}
|
|
|
|
|
|
|
24770 |
|
24771 |
+
function getSourceInfoErrorAddendumForProps(elementProps) {
|
24772 |
+
if (elementProps !== null && elementProps !== undefined) {
|
24773 |
+
return getSourceInfoErrorAddendum(elementProps.__source);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24774 |
}
|
|
|
24775 |
|
24776 |
+
return '';
|
|
|
|
|
|
|
24777 |
}
|
24778 |
+
/**
|
24779 |
+
* Warn if there's no key explicitly set on dynamic arrays of children or
|
24780 |
+
* object keys are not valid. This allows us to keep track of children between
|
24781 |
+
* updates.
|
24782 |
+
*/
|
24783 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24784 |
|
|
|
|
|
|
|
|
|
|