AdSense Plugin WP QUADS - Version 2.0.1

Version Description

  • New Random add module
Download this release

Release Info

Developer wpquads
Plugin Icon 128x128 AdSense Plugin WP QUADS
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0 to 2.0.1

Files changed (3) hide show
  1. README.md +36 -36
  2. admin/assets/js/.babelrc +10 -10
  3. admin/assets/js/dist/adminscript.js +3603 -19450
README.md CHANGED
@@ -1,36 +1,36 @@
1
- # [WP QUADS (Quick AdSense Reloaded)](https://wordpress.org/support/plugin/quick-adsense-reloaded)
2
-
3
- ### Welcome to WP QUADS GitHub Repository
4
-
5
- A further development of Quick Adsense! Insert Google AdSense or any Ads code into your website.
6
-
7
- More information can be found at [wordpress.org](https://wordpress.org/support/plugin/quick-adsense-reloaded).
8
-
9
- ## Note ##
10
-
11
- This is the latest developer version of WP QUADS.
12
- if you just want to use WP QUADS install the productive version which you get at [wordpress.org](https://wordpress.org/support/plugin/quick-adsense-reloaded)
13
-
14
- ## Installation ##
15
-
16
- 1. You can clone the GitHub repository: `https://github.com/rene-hermenau/quick-adsense-reloaded.git`
17
- 2. Or download it directly as a ZIP file: `https://github.com/rene-hermenau/quick-adsense-reloaded/archive/master.zip`
18
-
19
- This will download the latest developer copy of Quick AdSense Reloaded.
20
-
21
- ## Bugs ##
22
- If you find an issue, let us know [here](https://github.com/rene-hermenau/quick-adsense-reloaded/issues)!
23
-
24
- ## Support ##
25
- This is a developer's portal for WP QUADS and should _not_ be used for support.
26
- Please visit the [support forums](https://wordpress.org/support/plugin/quick-adsense-reloaded/).
27
-
28
- ## Contributions ##
29
- Anyone is welcome to contribute to WP QUADS. Please read the [guidelines for contributing](https://github.com/rene-hermenau/quick-adsense-reloaded/blob/master/CONTRIBUTING.md) to this repository.
30
-
31
- There are various ways you can contribute:
32
-
33
- 1. Raise an [Issue](https://github.com/rene-hermenau/quick-adsense-reloaded/issues) on GitHub
34
- 2. Send us a Pull Request with your bug fixes and/or new features to the dev branch
35
- 3. Translate WP QUADS into different languages
36
- 4. Provide feedback and suggestions on [enhancements](https://github.com/rene-hermenau/quick-adsense-reloaded/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open)
1
+ # [WP QUADS (Quick AdSense Reloaded)](https://wordpress.org/support/plugin/quick-adsense-reloaded)
2
+
3
+ ### Welcome to WP QUADS GitHub Repository
4
+
5
+ A further development of Quick Adsense! Insert Google AdSense or any Ads code into your website.
6
+
7
+ More information can be found at [wordpress.org](https://wordpress.org/support/plugin/quick-adsense-reloaded).
8
+
9
+ ## Note ##
10
+
11
+ This is the latest developer version of WP QUADS.
12
+ if you just want to use WP QUADS install the productive version which you get at [wordpress.org](https://wordpress.org/support/plugin/quick-adsense-reloaded)
13
+
14
+ ## Installation ##
15
+
16
+ 1. You can clone the GitHub repository: `https://github.com/rene-hermenau/quick-adsense-reloaded.git`
17
+ 2. Or download it directly as a ZIP file: `https://github.com/rene-hermenau/quick-adsense-reloaded/archive/master.zip`
18
+
19
+ This will download the latest developer copy of Quick AdSense Reloaded.
20
+
21
+ ## Bugs ##
22
+ If you find an issue, let us know [here](https://github.com/rene-hermenau/quick-adsense-reloaded/issues)!
23
+
24
+ ## Support ##
25
+ This is a developer's portal for WP QUADS and should _not_ be used for support.
26
+ Please visit the [support forums](https://wordpress.org/support/plugin/quick-adsense-reloaded/).
27
+
28
+ ## Contributions ##
29
+ Anyone is welcome to contribute to WP QUADS. Please read the [guidelines for contributing](https://github.com/rene-hermenau/quick-adsense-reloaded/blob/master/CONTRIBUTING.md) to this repository.
30
+
31
+ There are various ways you can contribute:
32
+
33
+ 1. Raise an [Issue](https://github.com/rene-hermenau/quick-adsense-reloaded/issues) on GitHub
34
+ 2. Send us a Pull Request with your bug fixes and/or new features to the dev branch
35
+ 3. Translate WP QUADS into different languages
36
+ 4. Provide feedback and suggestions on [enhancements](https://github.com/rene-hermenau/quick-adsense-reloaded/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open)
admin/assets/js/.babelrc CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "presets": [
3
- "@babel/preset-env",
4
- "@babel/preset-react"
5
- ],
6
- "plugins": [
7
- [
8
- "@babel/plugin-proposal-class-properties"
9
- ]
10
- ]
11
  }
1
+ {
2
+ "presets": [
3
+ "@babel/preset-env",
4
+ "@babel/preset-react"
5
+ ],
6
+ "plugins": [
7
+ [
8
+ "@babel/plugin-proposal-class-properties"
9
+ ]
10
+ ]
11
  }
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 = 298);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ([
@@ -68,13 +68,13 @@
68
  /***/ (function(module, exports, __webpack_require__) {
69
 
70
  "use strict";
71
- /* WEBPACK VAR INJECTION */(function(process) {
72
-
73
- if (process.env.NODE_ENV === 'production') {
74
- module.exports = __webpack_require__(299);
75
- } else {
76
- module.exports = __webpack_require__(300);
77
- }
78
 
79
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
80
 
@@ -82,215 +82,215 @@ if (process.env.NODE_ENV === 'production') {
82
  /* 1 */
83
  /***/ (function(module, exports) {
84
 
85
- // shim for using process in browser
86
- var process = module.exports = {};
87
-
88
- // cached from whatever global is present so that test runners that stub it
89
- // don't break things. But we need to wrap it in a try catch in case it is
90
- // wrapped in strict mode code which doesn't define any globals. It's inside a
91
- // function because try/catches deoptimize in certain engines.
92
-
93
- var cachedSetTimeout;
94
- var cachedClearTimeout;
95
-
96
- function defaultSetTimout() {
97
- throw new Error('setTimeout has not been defined');
98
- }
99
- function defaultClearTimeout () {
100
- throw new Error('clearTimeout has not been defined');
101
- }
102
- (function () {
103
- try {
104
- if (typeof setTimeout === 'function') {
105
- cachedSetTimeout = setTimeout;
106
- } else {
107
- cachedSetTimeout = defaultSetTimout;
108
- }
109
- } catch (e) {
110
- cachedSetTimeout = defaultSetTimout;
111
- }
112
- try {
113
- if (typeof clearTimeout === 'function') {
114
- cachedClearTimeout = clearTimeout;
115
- } else {
116
- cachedClearTimeout = defaultClearTimeout;
117
- }
118
- } catch (e) {
119
- cachedClearTimeout = defaultClearTimeout;
120
- }
121
- } ())
122
- function runTimeout(fun) {
123
- if (cachedSetTimeout === setTimeout) {
124
- //normal enviroments in sane situations
125
- return setTimeout(fun, 0);
126
- }
127
- // if setTimeout wasn't available but was latter defined
128
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
129
- cachedSetTimeout = setTimeout;
130
- return setTimeout(fun, 0);
131
- }
132
- try {
133
- // when when somebody has screwed with setTimeout but no I.E. maddness
134
- return cachedSetTimeout(fun, 0);
135
- } catch(e){
136
- try {
137
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
138
- return cachedSetTimeout.call(null, fun, 0);
139
- } catch(e){
140
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
141
- return cachedSetTimeout.call(this, fun, 0);
142
- }
143
- }
144
-
145
-
146
- }
147
- function runClearTimeout(marker) {
148
- if (cachedClearTimeout === clearTimeout) {
149
- //normal enviroments in sane situations
150
- return clearTimeout(marker);
151
- }
152
- // if clearTimeout wasn't available but was latter defined
153
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
154
- cachedClearTimeout = clearTimeout;
155
- return clearTimeout(marker);
156
- }
157
- try {
158
- // when when somebody has screwed with setTimeout but no I.E. maddness
159
- return cachedClearTimeout(marker);
160
- } catch (e){
161
- try {
162
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
163
- return cachedClearTimeout.call(null, marker);
164
- } catch (e){
165
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
166
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
167
- return cachedClearTimeout.call(this, marker);
168
- }
169
- }
170
-
171
-
172
-
173
- }
174
- var queue = [];
175
- var draining = false;
176
- var currentQueue;
177
- var queueIndex = -1;
178
-
179
- function cleanUpNextTick() {
180
- if (!draining || !currentQueue) {
181
- return;
182
- }
183
- draining = false;
184
- if (currentQueue.length) {
185
- queue = currentQueue.concat(queue);
186
- } else {
187
- queueIndex = -1;
188
- }
189
- if (queue.length) {
190
- drainQueue();
191
- }
192
- }
193
-
194
- function drainQueue() {
195
- if (draining) {
196
- return;
197
- }
198
- var timeout = runTimeout(cleanUpNextTick);
199
- draining = true;
200
-
201
- var len = queue.length;
202
- while(len) {
203
- currentQueue = queue;
204
- queue = [];
205
- while (++queueIndex < len) {
206
- if (currentQueue) {
207
- currentQueue[queueIndex].run();
208
- }
209
- }
210
- queueIndex = -1;
211
- len = queue.length;
212
- }
213
- currentQueue = null;
214
- draining = false;
215
- runClearTimeout(timeout);
216
- }
217
-
218
- process.nextTick = function (fun) {
219
- var args = new Array(arguments.length - 1);
220
- if (arguments.length > 1) {
221
- for (var i = 1; i < arguments.length; i++) {
222
- args[i - 1] = arguments[i];
223
- }
224
- }
225
- queue.push(new Item(fun, args));
226
- if (queue.length === 1 && !draining) {
227
- runTimeout(drainQueue);
228
- }
229
- };
230
-
231
- // v8 likes predictible objects
232
- function Item(fun, array) {
233
- this.fun = fun;
234
- this.array = array;
235
- }
236
- Item.prototype.run = function () {
237
- this.fun.apply(null, this.array);
238
- };
239
- process.title = 'browser';
240
- process.browser = true;
241
- process.env = {};
242
- process.argv = [];
243
- process.version = ''; // empty string to avoid regexp issues
244
- process.versions = {};
245
-
246
- function noop() {}
247
-
248
- process.on = noop;
249
- process.addListener = noop;
250
- process.once = noop;
251
- process.off = noop;
252
- process.removeListener = noop;
253
- process.removeAllListeners = noop;
254
- process.emit = noop;
255
- process.prependListener = noop;
256
- process.prependOnceListener = noop;
257
-
258
- process.listeners = function (name) { return [] }
259
-
260
- process.binding = function (name) {
261
- throw new Error('process.binding is not supported');
262
- };
263
-
264
- process.cwd = function () { return '/' };
265
- process.chdir = function (dir) {
266
- throw new Error('process.chdir is not supported');
267
- };
268
- process.umask = function() { return 0; };
269
 
270
 
271
  /***/ }),
272
  /* 2 */
273
  /***/ (function(module, exports, __webpack_require__) {
274
 
275
- /* WEBPACK VAR INJECTION */(function(process) {/**
276
- * Copyright (c) 2013-present, Facebook, Inc.
277
- *
278
- * This source code is licensed under the MIT license found in the
279
- * LICENSE file in the root directory of this source tree.
280
- */
281
-
282
- if (process.env.NODE_ENV !== 'production') {
283
- var ReactIs = __webpack_require__(14);
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__(311)(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__(312)();
293
- }
294
 
295
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
296
 
@@ -300,22 +300,22 @@ if (process.env.NODE_ENV !== 'production') {
300
 
301
  "use strict";
302
  /* harmony export (immutable) */ __webpack_exports__["a"] = _extends;
303
- function _extends() {
304
- _extends = Object.assign || function (target) {
305
- for (var i = 1; i < arguments.length; i++) {
306
- var source = arguments[i];
307
-
308
- for (var key in source) {
309
- if (Object.prototype.hasOwnProperty.call(source, key)) {
310
- target[key] = source[key];
311
- }
312
- }
313
- }
314
-
315
- return target;
316
- };
317
-
318
- return _extends.apply(this, arguments);
319
  }
320
 
321
  /***/ }),
@@ -324,25 +324,25 @@ 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__(24);
328
-
329
- function _objectWithoutProperties(source, excluded) {
330
- if (source == null) return {};
331
- var target = Object(__WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__["a" /* default */])(source, excluded);
332
- var key, i;
333
-
334
- if (Object.getOwnPropertySymbols) {
335
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
336
-
337
- for (i = 0; i < sourceSymbolKeys.length; i++) {
338
- key = sourceSymbolKeys[i];
339
- if (excluded.indexOf(key) >= 0) continue;
340
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
341
- target[key] = source[key];
342
- }
343
- }
344
-
345
- return target;
346
  }
347
 
348
  /***/ }),
@@ -414,21 +414,21 @@ 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__(92);
418
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__["a"]; });
419
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deepmerge__ = __webpack_require__(352);
420
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__deepmerge__["a"]; });
421
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__ = __webpack_require__(353);
422
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__["a"]; });
423
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__ = __webpack_require__(354);
424
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__["a"]; });
425
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__exactProp__ = __webpack_require__(355);
426
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__exactProp__["a"]; });
427
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__getDisplayName__ = __webpack_require__(356);
428
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__getDisplayName__["a"]; });
429
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ponyfillGlobal__ = __webpack_require__(357);
430
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__ponyfillGlobal__["a"]; });
431
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__refType__ = __webpack_require__(358);
432
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__refType__["a"]; });
433
  /** @license Material-UI v4.9.6
434
  *
@@ -472,7 +472,7 @@ function capitalize(string) {
472
  "use strict";
473
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__capitalize__ = __webpack_require__(8);
474
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__capitalize__["a"]; });
475
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deprecatedPropType__ = __webpack_require__(194);
476
  /* unused harmony reexport createChainedFunction */
477
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__ = __webpack_require__(19);
478
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__["a"]; });
@@ -481,15 +481,15 @@ function capitalize(string) {
481
  /* unused harmony reexport deprecatedPropType */
482
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__isMuiElement__ = __webpack_require__(55);
483
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_4__isMuiElement__["a"]; });
484
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ownerDocument__ = __webpack_require__(29);
485
  /* unused harmony reexport ownerDocument */
486
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ownerWindow__ = __webpack_require__(56);
487
  /* unused harmony reexport ownerWindow */
488
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__requirePropFactory__ = __webpack_require__(195);
489
  /* unused harmony reexport requirePropFactory */
490
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__setRef__ = __webpack_require__(39);
491
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_8__setRef__["a"]; });
492
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__unsupportedProp__ = __webpack_require__(73);
493
  /* unused harmony reexport unsupportedProp */
494
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__useControlled__ = __webpack_require__(40);
495
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_10__useControlled__["a"]; });
@@ -497,7 +497,7 @@ function capitalize(string) {
497
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_11__useEventCallback__["a"]; });
498
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__useForkRef__ = __webpack_require__(11);
499
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_12__useForkRef__["a"]; });
500
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__unstable_useId__ = __webpack_require__(105);
501
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_13__unstable_useId__["a"]; });
502
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__useIsFocusVisible__ = __webpack_require__(57);
503
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_14__useIsFocusVisible__["a"]; });
@@ -524,44 +524,44 @@ function capitalize(string) {
524
  /***/ (function(module, exports, __webpack_require__) {
525
 
526
  "use strict";
527
- /* WEBPACK VAR INJECTION */(function(process) {
528
-
529
- function checkDCE() {
530
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
531
- if (
532
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
533
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
534
- ) {
535
- return;
536
- }
537
- if (process.env.NODE_ENV !== 'production') {
538
- // This branch is unreachable because this function is only called
539
- // in production, but the condition is true only in development.
540
- // Therefore if the branch is still here, dead code elimination wasn't
541
- // properly applied.
542
- // Don't change the message. React DevTools relies on it. Also make sure
543
- // this message doesn't occur elsewhere in this function, or it will cause
544
- // a false positive.
545
- throw new Error('^_^');
546
- }
547
- try {
548
- // Verify that the code above has been dead code eliminated (DCE'd).
549
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
550
- } catch (err) {
551
- // DevTools shouldn't crash React, no matter what.
552
- // We should still report in case we break this code.
553
- console.error(err);
554
- }
555
- }
556
-
557
- if (process.env.NODE_ENV === 'production') {
558
- // DCE check should happen before ReactDOM bundle executes so that
559
- // DevTools can report bad minification during injection.
560
- checkDCE();
561
- module.exports = __webpack_require__(301);
562
- } else {
563
- module.exports = __webpack_require__(304);
564
- }
565
 
566
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
567
 
@@ -600,19 +600,19 @@ function useForkRef(refA, refB) {
600
 
601
  "use strict";
602
  /* harmony export (immutable) */ __webpack_exports__["a"] = _defineProperty;
603
- function _defineProperty(obj, key, value) {
604
- if (key in obj) {
605
- Object.defineProperty(obj, key, {
606
- value: value,
607
- enumerable: true,
608
- configurable: true,
609
- writable: true
610
- });
611
- } else {
612
- obj[key] = value;
613
- }
614
-
615
- return obj;
616
  }
617
 
618
  /***/ }),
@@ -645,13 +645,13 @@ function useTheme() {
645
  /***/ (function(module, exports, __webpack_require__) {
646
 
647
  "use strict";
648
- /* WEBPACK VAR INJECTION */(function(process) {
649
-
650
- if (process.env.NODE_ENV === 'production') {
651
- module.exports = __webpack_require__(309);
652
- } else {
653
- module.exports = __webpack_require__(310);
654
- }
655
 
656
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
657
 
@@ -956,7 +956,7 @@ function lighten(color, coefficient) {
956
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
957
 
958
  "use strict";
959
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonBase__ = __webpack_require__(448);
960
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ButtonBase__["a"]; });
961
 
962
 
@@ -972,23 +972,23 @@ function lighten(color, coefficient) {
972
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["e"]; });
973
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createMuiTheme__ = __webpack_require__(98);
974
  /* unused harmony reexport createMuiTheme */
975
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createMuiStrictModeTheme__ = __webpack_require__(416);
976
  /* unused harmony reexport unstable_createMuiStrictModeTheme */
977
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createStyles__ = __webpack_require__(437);
978
  /* unused harmony reexport createStyles */
979
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__makeStyles__ = __webpack_require__(438);
980
  /* unused harmony reexport makeStyles */
981
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__responsiveFontSizes__ = __webpack_require__(439);
982
  /* unused harmony reexport responsiveFontSizes */
983
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styled__ = __webpack_require__(200);
984
  /* unused harmony reexport styled */
985
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions__ = __webpack_require__(28);
986
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_7__transitions__["b"]; });
987
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__useTheme__ = __webpack_require__(13);
988
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_8__useTheme__["a"]; });
989
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__withStyles__ = __webpack_require__(6);
990
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_9__withStyles__["a"]; });
991
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__withTheme__ = __webpack_require__(441);
992
  /* unused harmony reexport withTheme */
993
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_ui_styles__ = __webpack_require__(20);
994
  /* unused harmony reexport createGenerateClassName */
@@ -1017,14 +1017,14 @@ function lighten(color, coefficient) {
1017
 
1018
  "use strict";
1019
  /* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
1020
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__ = __webpack_require__(371);
1021
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(145);
1022
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__nonIterableSpread__ = __webpack_require__(372);
1023
-
1024
-
1025
-
1026
- function _toConsumableArray(arr) {
1027
- return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__nonIterableSpread__["a" /* default */])();
1028
  }
1029
 
1030
  /***/ }),
@@ -1036,7 +1036,7 @@ function _toConsumableArray(arr) {
1036
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
1037
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
1038
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
1039
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SvgIcon__ = __webpack_require__(72);
1040
 
1041
 
1042
 
@@ -1069,13 +1069,13 @@ function createSvgIcon(path, displayName) {
1069
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createGenerateClassName__ = __webpack_require__(65);
1070
  /* unused harmony reexport createGenerateClassName */
1071
  /* unused harmony namespace reexport */
1072
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(142);
1073
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__createStyles__["a"]; });
1074
  /* unused harmony namespace reexport */
1075
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getThemeProps__ = __webpack_require__(93);
1076
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__getThemeProps__["a"]; });
1077
  /* unused harmony namespace reexport */
1078
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__jssPreset__ = __webpack_require__(94);
1079
  /* unused harmony reexport jssPreset */
1080
  /* unused harmony namespace reexport */
1081
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__makeStyles__ = __webpack_require__(68);
@@ -1084,25 +1084,25 @@ function createSvgIcon(path, displayName) {
1084
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mergeClasses__ = __webpack_require__(96);
1085
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__mergeClasses__["a"]; });
1086
  /* unused harmony namespace reexport */
1087
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ServerStyleSheets__ = __webpack_require__(149);
1088
  /* unused harmony reexport ServerStyleSheets */
1089
  /* unused harmony namespace reexport */
1090
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styled__ = __webpack_require__(150);
1091
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_8__styled__["a"]; });
1092
  /* unused harmony namespace reexport */
1093
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StylesProvider__ = __webpack_require__(69);
1094
  /* unused harmony reexport StylesProvider */
1095
  /* unused harmony namespace reexport */
1096
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ThemeProvider__ = __webpack_require__(151);
1097
  /* unused harmony reexport ThemeProvider */
1098
  /* unused harmony namespace reexport */
1099
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useTheme__ = __webpack_require__(45);
1100
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useTheme__["a"]; });
1101
  /* unused harmony namespace reexport */
1102
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__withStyles__ = __webpack_require__(152);
1103
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__withStyles__["a"]; });
1104
  /* unused harmony namespace reexport */
1105
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withTheme__ = __webpack_require__(153);
1106
  /* unused harmony reexport withTheme */
1107
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__withTheme__["a"]; });
1108
  /** @license Material-UI v4.9.10
@@ -1157,7 +1157,7 @@ if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' &&
1157
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1158
 
1159
  "use strict";
1160
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Paper__ = __webpack_require__(442);
1161
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Paper__["a"]; });
1162
 
1163
 
@@ -1166,7 +1166,7 @@ if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' &&
1166
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1167
 
1168
  "use strict";
1169
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Typography__ = __webpack_require__(475);
1170
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Typography__["a"]; });
1171
 
1172
 
@@ -1175,253 +1175,263 @@ if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' &&
1175
  /***/ (function(module, exports, __webpack_require__) {
1176
 
1177
  "use strict";
1178
-
1179
- var strictUriEncode = __webpack_require__(334);
1180
- var objectAssign = __webpack_require__(43);
1181
-
1182
- function encoderForArrayFormat(opts) {
1183
- switch (opts.arrayFormat) {
1184
- case 'index':
1185
- return function (key, value, index) {
1186
- return value === null ? [
1187
- encode(key, opts),
1188
- '[',
1189
- index,
1190
- ']'
1191
- ].join('') : [
1192
- encode(key, opts),
1193
- '[',
1194
- encode(index, opts),
1195
- ']=',
1196
- encode(value, opts)
1197
- ].join('');
1198
- };
1199
-
1200
- case 'bracket':
1201
- return function (key, value) {
1202
- return value === null ? encode(key, opts) : [
1203
- encode(key, opts),
1204
- '[]=',
1205
- encode(value, opts)
1206
- ].join('');
1207
- };
1208
-
1209
- default:
1210
- return function (key, value) {
1211
- return value === null ? encode(key, opts) : [
1212
- encode(key, opts),
1213
- '=',
1214
- encode(value, opts)
1215
- ].join('');
1216
- };
1217
- }
1218
- }
1219
-
1220
- function parserForArrayFormat(opts) {
1221
- var result;
1222
-
1223
- switch (opts.arrayFormat) {
1224
- case 'index':
1225
- return function (key, value, accumulator) {
1226
- result = /\[(\d*)\]$/.exec(key);
1227
-
1228
- key = key.replace(/\[\d*\]$/, '');
1229
-
1230
- if (!result) {
1231
- accumulator[key] = value;
1232
- return;
1233
- }
1234
-
1235
- if (accumulator[key] === undefined) {
1236
- accumulator[key] = {};
1237
- }
1238
-
1239
- accumulator[key][result[1]] = value;
1240
- };
1241
-
1242
- case 'bracket':
1243
- return function (key, value, accumulator) {
1244
- result = /(\[\])$/.exec(key);
1245
- key = key.replace(/\[\]$/, '');
1246
-
1247
- if (!result) {
1248
- accumulator[key] = value;
1249
- return;
1250
- } else if (accumulator[key] === undefined) {
1251
- accumulator[key] = [value];
1252
- return;
1253
- }
1254
-
1255
- accumulator[key] = [].concat(accumulator[key], value);
1256
- };
1257
-
1258
- default:
1259
- return function (key, value, accumulator) {
1260
- if (accumulator[key] === undefined) {
1261
- accumulator[key] = value;
1262
- return;
1263
- }
1264
-
1265
- accumulator[key] = [].concat(accumulator[key], value);
1266
- };
1267
- }
1268
- }
1269
-
1270
- function encode(value, opts) {
1271
- if (opts.encode) {
1272
- return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
1273
- }
1274
-
1275
- return value;
1276
- }
1277
-
1278
- function keysSorter(input) {
1279
- if (Array.isArray(input)) {
1280
- return input.sort();
1281
- } else if (typeof input === 'object') {
1282
- return keysSorter(Object.keys(input)).sort(function (a, b) {
1283
- return Number(a) - Number(b);
1284
- }).map(function (key) {
1285
- return input[key];
1286
- });
1287
- }
1288
-
1289
- return input;
1290
- }
1291
-
1292
- exports.extract = function (str) {
1293
- return str.split('?')[1] || '';
1294
- };
1295
-
1296
- exports.parse = function (str, opts) {
1297
- opts = objectAssign({arrayFormat: 'none'}, opts);
1298
-
1299
- var formatter = parserForArrayFormat(opts);
1300
-
1301
- // Create an object with no prototype
1302
- // https://github.com/sindresorhus/query-string/issues/47
1303
- var ret = Object.create(null);
1304
-
1305
- if (typeof str !== 'string') {
1306
- return ret;
1307
- }
1308
-
1309
- str = str.trim().replace(/^(\?|#|&)/, '');
1310
-
1311
- if (!str) {
1312
- return ret;
1313
- }
1314
-
1315
- str.split('&').forEach(function (param) {
1316
- var parts = param.replace(/\+/g, ' ').split('=');
1317
- // Firefox (pre 40) decodes `%3D` to `=`
1318
- // https://github.com/sindresorhus/query-string/pull/37
1319
- var key = parts.shift();
1320
- var val = parts.length > 0 ? parts.join('=') : undefined;
1321
-
1322
- // missing `=` should be `null`:
1323
- // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
1324
- val = val === undefined ? null : decodeURIComponent(val);
1325
-
1326
- formatter(decodeURIComponent(key), val, ret);
1327
- });
1328
-
1329
- return Object.keys(ret).sort().reduce(function (result, key) {
1330
- var val = ret[key];
1331
- if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
1332
- // Sort object keys, not values
1333
- result[key] = keysSorter(val);
1334
- } else {
1335
- result[key] = val;
1336
- }
1337
-
1338
- return result;
1339
- }, Object.create(null));
1340
- };
1341
-
1342
- exports.stringify = function (obj, opts) {
1343
- var defaults = {
1344
- encode: true,
1345
- strict: true,
1346
- arrayFormat: 'none'
1347
- };
1348
-
1349
- opts = objectAssign(defaults, opts);
1350
-
1351
- var formatter = encoderForArrayFormat(opts);
1352
-
1353
- return obj ? Object.keys(obj).sort().map(function (key) {
1354
- var val = obj[key];
1355
-
1356
- if (val === undefined) {
1357
- return '';
1358
- }
1359
-
1360
- if (val === null) {
1361
- return encode(key, opts);
1362
- }
1363
-
1364
- if (Array.isArray(val)) {
1365
- var result = [];
1366
-
1367
- val.slice().forEach(function (val2) {
1368
- if (val2 === undefined) {
1369
- return;
1370
- }
1371
-
1372
- result.push(formatter(key, val2, result.length));
1373
- });
1374
-
1375
- return result.join('&');
1376
- }
1377
-
1378
- return encode(key, opts) + '=' + encode(val, opts);
1379
- }).filter(function (x) {
1380
- return x.length > 0;
1381
- }).join('&') : '';
1382
- };
1383
 
1384
 
1385
  /***/ }),
1386
  /* 24 */
1387
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1388
 
 
 
 
 
 
 
 
 
 
 
1389
  "use strict";
1390
  /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutPropertiesLoose;
1391
- function _objectWithoutPropertiesLoose(source, excluded) {
1392
- if (source == null) return {};
1393
- var target = {};
1394
- var sourceKeys = Object.keys(source);
1395
- var key, i;
1396
-
1397
- for (i = 0; i < sourceKeys.length; i++) {
1398
- key = sourceKeys[i];
1399
- if (excluded.indexOf(key) >= 0) continue;
1400
- target[key] = source[key];
1401
- }
1402
-
1403
- return target;
1404
  }
1405
 
1406
  /***/ }),
1407
- /* 25 */
1408
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1409
 
1410
  "use strict";
1411
  /* harmony export (immutable) */ __webpack_exports__["a"] = _inheritsLoose;
1412
- function _inheritsLoose(subClass, superClass) {
1413
- subClass.prototype = Object.create(superClass.prototype);
1414
- subClass.prototype.constructor = subClass;
1415
- subClass.__proto__ = superClass;
1416
  }
1417
 
1418
  /***/ }),
1419
- /* 26 */
1420
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1421
 
1422
  "use strict";
1423
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(12);
1424
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(166);
1425
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(99);
1426
 
1427
 
@@ -1487,23 +1497,23 @@ function style(options) {
1487
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1488
 
1489
  /***/ }),
1490
- /* 27 */
1491
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1492
 
1493
  "use strict";
1494
  /* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
1495
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(173);
1496
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__ = __webpack_require__(394);
1497
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__nonIterableRest__ = __webpack_require__(174);
1498
-
1499
-
1500
-
1501
- function _slicedToArray(arr, i) {
1502
- 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 */])();
1503
  }
1504
 
1505
  /***/ }),
1506
- /* 28 */
1507
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1508
 
1509
  "use strict";
@@ -1615,7 +1625,7 @@ function formatMs(milliseconds) {
1615
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1616
 
1617
  /***/ }),
1618
- /* 29 */
1619
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1620
 
1621
  "use strict";
@@ -1624,16 +1634,6 @@ function ownerDocument(node) {
1624
  return node && node.ownerDocument || document;
1625
  }
1626
 
1627
- /***/ }),
1628
- /* 30 */
1629
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1630
-
1631
- "use strict";
1632
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1633
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Icon__ = __webpack_require__(351);
1634
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Icon__["a"]; });
1635
-
1636
-
1637
  /***/ }),
1638
  /* 31 */
1639
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -1720,61 +1720,61 @@ function useEventCallback(fn) {
1720
 
1721
  "use strict";
1722
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1723
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__ = __webpack_require__(308);
1724
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "BrowserRouter", function() { return __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__["a"]; });
1725
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HashRouter__ = __webpack_require__(316);
1726
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HashRouter", function() { return __WEBPACK_IMPORTED_MODULE_1__HashRouter__["a"]; });
1727
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Link__ = __webpack_require__(135);
1728
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Link", function() { return __WEBPACK_IMPORTED_MODULE_2__Link__["a"]; });
1729
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(317);
1730
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryRouter", function() { return __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__["a"]; });
1731
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(319);
1732
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavLink", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
1733
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(321);
1734
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Prompt", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
1735
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(323);
1736
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Redirect", function() { return __WEBPACK_IMPORTED_MODULE_6__Redirect__["a"]; });
1737
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(136);
1738
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Route", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
1739
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(89);
1740
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Router", function() { return __WEBPACK_IMPORTED_MODULE_8__Router__["a"]; });
1741
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(325);
1742
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "StaticRouter", function() { return __WEBPACK_IMPORTED_MODULE_9__StaticRouter__["a"]; });
1743
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(327);
1744
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Switch", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
1745
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(329);
1746
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "generatePath", function() { return __WEBPACK_IMPORTED_MODULE_11__generatePath__["a"]; });
1747
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(330);
1748
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matchPath", function() { return __WEBPACK_IMPORTED_MODULE_12__matchPath__["a"]; });
1749
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withRouter__ = __webpack_require__(331);
1750
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "withRouter", function() { return __WEBPACK_IMPORTED_MODULE_13__withRouter__["a"]; });
1751
-
1752
-
1753
-
1754
-
1755
-
1756
-
1757
-
1758
-
1759
-
1760
-
1761
-
1762
-
1763
-
1764
-
1765
-
1766
-
1767
-
1768
-
1769
-
1770
-
1771
-
1772
-
1773
-
1774
-
1775
-
1776
-
1777
-
1778
 
1779
 
1780
  /***/ }),
@@ -1782,68 +1782,68 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1782
  /***/ (function(module, exports, __webpack_require__) {
1783
 
1784
  "use strict";
1785
- /* WEBPACK VAR INJECTION */(function(process) {/**
1786
- * Copyright (c) 2014-present, Facebook, Inc.
1787
- *
1788
- * This source code is licensed under the MIT license found in the
1789
- * LICENSE file in the root directory of this source tree.
1790
- */
1791
-
1792
-
1793
-
1794
- /**
1795
- * Similar to invariant but only logs a warning if the condition is not met.
1796
- * This can be used to log issues in development environments in critical
1797
- * paths. Removing the logging code for production environments will keep the
1798
- * same logic and follow the same code paths.
1799
- */
1800
-
1801
- var __DEV__ = process.env.NODE_ENV !== 'production';
1802
-
1803
- var warning = function() {};
1804
-
1805
- if (__DEV__) {
1806
- var printWarning = function printWarning(format, args) {
1807
- var len = arguments.length;
1808
- args = new Array(len > 1 ? len - 1 : 0);
1809
- for (var key = 1; key < len; key++) {
1810
- args[key - 1] = arguments[key];
1811
- }
1812
- var argIndex = 0;
1813
- var message = 'Warning: ' +
1814
- format.replace(/%s/g, function() {
1815
- return args[argIndex++];
1816
- });
1817
- if (typeof console !== 'undefined') {
1818
- console.error(message);
1819
- }
1820
- try {
1821
- // --- Welcome to debugging React ---
1822
- // This error was thrown as a convenience so that you can use this stack
1823
- // to find the callsite that caused this warning to fire.
1824
- throw new Error(message);
1825
- } catch (x) {}
1826
- }
1827
-
1828
- warning = function(condition, format, args) {
1829
- var len = arguments.length;
1830
- args = new Array(len > 2 ? len - 2 : 0);
1831
- for (var key = 2; key < len; key++) {
1832
- args[key - 2] = arguments[key];
1833
- }
1834
- if (format === undefined) {
1835
- throw new Error(
1836
- '`warning(condition, format, ...args)` requires a warning ' +
1837
- 'message argument'
1838
- );
1839
- }
1840
- if (!condition) {
1841
- printWarning.apply(null, [format].concat(args));
1842
- }
1843
- };
1844
- }
1845
-
1846
- module.exports = warning;
1847
 
1848
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
1849
 
@@ -1852,55 +1852,55 @@ module.exports = warning;
1852
  /***/ (function(module, exports, __webpack_require__) {
1853
 
1854
  "use strict";
1855
- /* WEBPACK VAR INJECTION */(function(process) {/**
1856
- * Copyright (c) 2013-present, Facebook, Inc.
1857
- *
1858
- * This source code is licensed under the MIT license found in the
1859
- * LICENSE file in the root directory of this source tree.
1860
- */
1861
-
1862
-
1863
-
1864
- /**
1865
- * Use invariant() to assert state which your program assumes to be true.
1866
- *
1867
- * Provide sprintf-style format (only %s is supported) and arguments
1868
- * to provide information about what broke and what you were
1869
- * expecting.
1870
- *
1871
- * The invariant message will be stripped in production, but the invariant
1872
- * will remain to ensure logic does not differ in production.
1873
- */
1874
-
1875
- var invariant = function(condition, format, a, b, c, d, e, f) {
1876
- if (process.env.NODE_ENV !== 'production') {
1877
- if (format === undefined) {
1878
- throw new Error('invariant requires an error message argument');
1879
- }
1880
- }
1881
-
1882
- if (!condition) {
1883
- var error;
1884
- if (format === undefined) {
1885
- error = new Error(
1886
- 'Minified exception occurred; use the non-minified dev environment ' +
1887
- 'for the full error message and additional helpful warnings.'
1888
- );
1889
- } else {
1890
- var args = [a, b, c, d, e, f];
1891
- var argIndex = 0;
1892
- error = new Error(
1893
- format.replace(/%s/g, function() { return args[argIndex++]; })
1894
- );
1895
- error.name = 'Invariant Violation';
1896
- }
1897
-
1898
- error.framesToPop = 1; // we don't care about invariant's own frame
1899
- throw error;
1900
- }
1901
- };
1902
-
1903
- module.exports = invariant;
1904
 
1905
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
1906
 
@@ -1910,18 +1910,18 @@ module.exports = invariant;
1910
 
1911
  "use strict";
1912
  /* harmony export (immutable) */ __webpack_exports__["a"] = _typeof;
1913
- function _typeof(obj) {
1914
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1915
- _typeof = function _typeof(obj) {
1916
- return typeof obj;
1917
- };
1918
- } else {
1919
- _typeof = function _typeof(obj) {
1920
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1921
- };
1922
- }
1923
-
1924
- return _typeof(obj);
1925
  }
1926
 
1927
  /***/ }),
@@ -1940,12 +1940,12 @@ function _typeof(obj) {
1940
  /* unused harmony export sheets */
1941
  /* unused harmony export createGenerateId */
1942
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
1943
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_is_in_browser__ = __webpack_require__(143);
1944
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_tiny_warning__ = __webpack_require__(64);
1945
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__ = __webpack_require__(66);
1946
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(25);
1947
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(67);
1948
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(24);
1949
 
1950
 
1951
 
@@ -4277,7 +4277,7 @@ function useControlled(_ref) {
4277
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4278
 
4279
  "use strict";
4280
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__IconButton__ = __webpack_require__(447);
4281
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__IconButton__["a"]; });
4282
 
4283
 
@@ -4289,7 +4289,7 @@ function useControlled(_ref) {
4289
  /* harmony export (immutable) */ __webpack_exports__["a"] = useFormControl;
4290
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
4291
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
4292
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__FormControlContext__ = __webpack_require__(77);
4293
 
4294
 
4295
  function useFormControl() {
@@ -4301,96 +4301,96 @@ function useFormControl() {
4301
  /***/ (function(module, exports, __webpack_require__) {
4302
 
4303
  "use strict";
4304
- /*
4305
- object-assign
4306
- (c) Sindre Sorhus
4307
- @license MIT
4308
- */
4309
-
4310
-
4311
- /* eslint-disable no-unused-vars */
4312
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4313
- var hasOwnProperty = Object.prototype.hasOwnProperty;
4314
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
4315
-
4316
- function toObject(val) {
4317
- if (val === null || val === undefined) {
4318
- throw new TypeError('Object.assign cannot be called with null or undefined');
4319
- }
4320
-
4321
- return Object(val);
4322
- }
4323
-
4324
- function shouldUseNative() {
4325
- try {
4326
- if (!Object.assign) {
4327
- return false;
4328
- }
4329
-
4330
- // Detect buggy property enumeration order in older V8 versions.
4331
-
4332
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
4333
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
4334
- test1[5] = 'de';
4335
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
4336
- return false;
4337
- }
4338
-
4339
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4340
- var test2 = {};
4341
- for (var i = 0; i < 10; i++) {
4342
- test2['_' + String.fromCharCode(i)] = i;
4343
- }
4344
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
4345
- return test2[n];
4346
- });
4347
- if (order2.join('') !== '0123456789') {
4348
- return false;
4349
- }
4350
-
4351
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4352
- var test3 = {};
4353
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
4354
- test3[letter] = letter;
4355
- });
4356
- if (Object.keys(Object.assign({}, test3)).join('') !==
4357
- 'abcdefghijklmnopqrst') {
4358
- return false;
4359
- }
4360
-
4361
- return true;
4362
- } catch (err) {
4363
- // We don't expect any of the above to throw, but better to be safe.
4364
- return false;
4365
- }
4366
- }
4367
-
4368
- module.exports = shouldUseNative() ? Object.assign : function (target, source) {
4369
- var from;
4370
- var to = toObject(target);
4371
- var symbols;
4372
-
4373
- for (var s = 1; s < arguments.length; s++) {
4374
- from = Object(arguments[s]);
4375
-
4376
- for (var key in from) {
4377
- if (hasOwnProperty.call(from, key)) {
4378
- to[key] = from[key];
4379
- }
4380
- }
4381
-
4382
- if (getOwnPropertySymbols) {
4383
- symbols = getOwnPropertySymbols(from);
4384
- for (var i = 0; i < symbols.length; i++) {
4385
- if (propIsEnumerable.call(from, symbols[i])) {
4386
- to[symbols[i]] = from[symbols[i]];
4387
- }
4388
- }
4389
- }
4390
- }
4391
-
4392
- return to;
4393
- };
4394
 
4395
 
4396
  /***/ }),
@@ -4406,929 +4406,929 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
4406
  /* unused harmony export parsePath */
4407
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
4408
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
4409
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_resolve_pathname__ = __webpack_require__(313);
4410
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_value_equal__ = __webpack_require__(314);
4411
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_tiny_warning__ = __webpack_require__(64);
4412
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_tiny_invariant__ = __webpack_require__(315);
4413
-
4414
-
4415
-
4416
-
4417
-
4418
-
4419
- function addLeadingSlash(path) {
4420
- return path.charAt(0) === '/' ? path : '/' + path;
4421
- }
4422
- function stripLeadingSlash(path) {
4423
- return path.charAt(0) === '/' ? path.substr(1) : path;
4424
- }
4425
- function hasBasename(path, prefix) {
4426
- return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;
4427
- }
4428
- function stripBasename(path, prefix) {
4429
- return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
4430
- }
4431
- function stripTrailingSlash(path) {
4432
- return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
4433
- }
4434
- function parsePath(path) {
4435
- var pathname = path || '/';
4436
- var search = '';
4437
- var hash = '';
4438
- var hashIndex = pathname.indexOf('#');
4439
-
4440
- if (hashIndex !== -1) {
4441
- hash = pathname.substr(hashIndex);
4442
- pathname = pathname.substr(0, hashIndex);
4443
- }
4444
-
4445
- var searchIndex = pathname.indexOf('?');
4446
-
4447
- if (searchIndex !== -1) {
4448
- search = pathname.substr(searchIndex);
4449
- pathname = pathname.substr(0, searchIndex);
4450
- }
4451
-
4452
- return {
4453
- pathname: pathname,
4454
- search: search === '?' ? '' : search,
4455
- hash: hash === '#' ? '' : hash
4456
- };
4457
- }
4458
- function createPath(location) {
4459
- var pathname = location.pathname,
4460
- search = location.search,
4461
- hash = location.hash;
4462
- var path = pathname || '/';
4463
- if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search;
4464
- if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash;
4465
- return path;
4466
- }
4467
-
4468
- function createLocation(path, state, key, currentLocation) {
4469
- var location;
4470
-
4471
- if (typeof path === 'string') {
4472
- // Two-arg form: push(path, state)
4473
- location = parsePath(path);
4474
- location.state = state;
4475
- } else {
4476
- // One-arg form: push(location)
4477
- location = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, path);
4478
- if (location.pathname === undefined) location.pathname = '';
4479
-
4480
- if (location.search) {
4481
- if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
4482
- } else {
4483
- location.search = '';
4484
- }
4485
-
4486
- if (location.hash) {
4487
- if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
4488
- } else {
4489
- location.hash = '';
4490
- }
4491
-
4492
- if (state !== undefined && location.state === undefined) location.state = state;
4493
- }
4494
-
4495
- try {
4496
- location.pathname = decodeURI(location.pathname);
4497
- } catch (e) {
4498
- if (e instanceof URIError) {
4499
- throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
4500
- } else {
4501
- throw e;
4502
- }
4503
- }
4504
-
4505
- if (key) location.key = key;
4506
-
4507
- if (currentLocation) {
4508
- // Resolve incomplete/relative pathname relative to current location.
4509
- if (!location.pathname) {
4510
- location.pathname = currentLocation.pathname;
4511
- } else if (location.pathname.charAt(0) !== '/') {
4512
- location.pathname = Object(__WEBPACK_IMPORTED_MODULE_1_resolve_pathname__["a" /* default */])(location.pathname, currentLocation.pathname);
4513
- }
4514
- } else {
4515
- // When there is no prior location and pathname is empty, set it to /
4516
- if (!location.pathname) {
4517
- location.pathname = '/';
4518
- }
4519
- }
4520
-
4521
- return location;
4522
- }
4523
- function locationsAreEqual(a, b) {
4524
- return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && Object(__WEBPACK_IMPORTED_MODULE_2_value_equal__["a" /* default */])(a.state, b.state);
4525
- }
4526
-
4527
- function createTransitionManager() {
4528
- var prompt = null;
4529
-
4530
- function setPrompt(nextPrompt) {
4531
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(prompt == null, 'A history supports only one prompt at a time') : void 0;
4532
- prompt = nextPrompt;
4533
- return function () {
4534
- if (prompt === nextPrompt) prompt = null;
4535
- };
4536
- }
4537
-
4538
- function confirmTransitionTo(location, action, getUserConfirmation, callback) {
4539
- // TODO: If another transition starts while we're still confirming
4540
- // the previous one, we may end up in a weird state. Figure out the
4541
- // best way to handle this.
4542
- if (prompt != null) {
4543
- var result = typeof prompt === 'function' ? prompt(location, action) : prompt;
4544
-
4545
- if (typeof result === 'string') {
4546
- if (typeof getUserConfirmation === 'function') {
4547
- getUserConfirmation(result, callback);
4548
- } else {
4549
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;
4550
- callback(true);
4551
- }
4552
- } else {
4553
- // Return false from a transition hook to cancel the transition.
4554
- callback(result !== false);
4555
- }
4556
- } else {
4557
- callback(true);
4558
- }
4559
- }
4560
-
4561
- var listeners = [];
4562
-
4563
- function appendListener(fn) {
4564
- var isActive = true;
4565
-
4566
- function listener() {
4567
- if (isActive) fn.apply(void 0, arguments);
4568
- }
4569
-
4570
- listeners.push(listener);
4571
- return function () {
4572
- isActive = false;
4573
- listeners = listeners.filter(function (item) {
4574
- return item !== listener;
4575
- });
4576
- };
4577
- }
4578
-
4579
- function notifyListeners() {
4580
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4581
- args[_key] = arguments[_key];
4582
- }
4583
-
4584
- listeners.forEach(function (listener) {
4585
- return listener.apply(void 0, args);
4586
- });
4587
- }
4588
-
4589
- return {
4590
- setPrompt: setPrompt,
4591
- confirmTransitionTo: confirmTransitionTo,
4592
- appendListener: appendListener,
4593
- notifyListeners: notifyListeners
4594
- };
4595
- }
4596
-
4597
- var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
4598
- function getConfirmation(message, callback) {
4599
- callback(window.confirm(message)); // eslint-disable-line no-alert
4600
- }
4601
- /**
4602
- * Returns true if the HTML5 history API is supported. Taken from Modernizr.
4603
- *
4604
- * https://github.com/Modernizr/Modernizr/blob/master/LICENSE
4605
- * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
4606
- * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
4607
- */
4608
-
4609
- function supportsHistory() {
4610
- var ua = window.navigator.userAgent;
4611
- if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;
4612
- return window.history && 'pushState' in window.history;
4613
- }
4614
- /**
4615
- * Returns true if browser fires popstate on hash change.
4616
- * IE10 and IE11 do not.
4617
- */
4618
-
4619
- function supportsPopStateOnHashChange() {
4620
- return window.navigator.userAgent.indexOf('Trident') === -1;
4621
- }
4622
- /**
4623
- * Returns false if using go(n) with hash history causes a full page reload.
4624
- */
4625
-
4626
- function supportsGoWithoutReloadUsingHash() {
4627
- return window.navigator.userAgent.indexOf('Firefox') === -1;
4628
- }
4629
- /**
4630
- * Returns true if a given popstate event is an extraneous WebKit event.
4631
- * Accounts for the fact that Chrome on iOS fires real popstate events
4632
- * containing undefined state when pressing the back button.
4633
- */
4634
-
4635
- function isExtraneousPopstateEvent(event) {
4636
- return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;
4637
- }
4638
-
4639
- var PopStateEvent = 'popstate';
4640
- var HashChangeEvent = 'hashchange';
4641
-
4642
- function getHistoryState() {
4643
- try {
4644
- return window.history.state || {};
4645
- } catch (e) {
4646
- // IE 11 sometimes throws when accessing window.history.state
4647
- // See https://github.com/ReactTraining/history/pull/289
4648
- return {};
4649
- }
4650
- }
4651
- /**
4652
- * Creates a history object that uses the HTML5 history API including
4653
- * pushState, replaceState, and the popstate event.
4654
- */
4655
-
4656
-
4657
- function createBrowserHistory(props) {
4658
- if (props === void 0) {
4659
- props = {};
4660
- }
4661
-
4662
- !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Browser history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
4663
- var globalHistory = window.history;
4664
- var canUseHistory = supportsHistory();
4665
- var needsHashChangeListener = !supportsPopStateOnHashChange();
4666
- var _props = props,
4667
- _props$forceRefresh = _props.forceRefresh,
4668
- forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,
4669
- _props$getUserConfirm = _props.getUserConfirmation,
4670
- getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
4671
- _props$keyLength = _props.keyLength,
4672
- keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
4673
- var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
4674
-
4675
- function getDOMLocation(historyState) {
4676
- var _ref = historyState || {},
4677
- key = _ref.key,
4678
- state = _ref.state;
4679
-
4680
- var _window$location = window.location,
4681
- pathname = _window$location.pathname,
4682
- search = _window$location.search,
4683
- hash = _window$location.hash;
4684
- var path = pathname + search + hash;
4685
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
4686
- if (basename) path = stripBasename(path, basename);
4687
- return createLocation(path, state, key);
4688
- }
4689
-
4690
- function createKey() {
4691
- return Math.random().toString(36).substr(2, keyLength);
4692
- }
4693
-
4694
- var transitionManager = createTransitionManager();
4695
-
4696
- function setState(nextState) {
4697
- Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
4698
-
4699
- history.length = globalHistory.length;
4700
- transitionManager.notifyListeners(history.location, history.action);
4701
- }
4702
-
4703
- function handlePopState(event) {
4704
- // Ignore extraneous popstate events in WebKit.
4705
- if (isExtraneousPopstateEvent(event)) return;
4706
- handlePop(getDOMLocation(event.state));
4707
- }
4708
-
4709
- function handleHashChange() {
4710
- handlePop(getDOMLocation(getHistoryState()));
4711
- }
4712
-
4713
- var forceNextPop = false;
4714
-
4715
- function handlePop(location) {
4716
- if (forceNextPop) {
4717
- forceNextPop = false;
4718
- setState();
4719
- } else {
4720
- var action = 'POP';
4721
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
4722
- if (ok) {
4723
- setState({
4724
- action: action,
4725
- location: location
4726
- });
4727
- } else {
4728
- revertPop(location);
4729
- }
4730
- });
4731
- }
4732
- }
4733
-
4734
- function revertPop(fromLocation) {
4735
- var toLocation = history.location; // TODO: We could probably make this more reliable by
4736
- // keeping a list of keys we've seen in sessionStorage.
4737
- // Instead, we just default to 0 for keys we don't know.
4738
-
4739
- var toIndex = allKeys.indexOf(toLocation.key);
4740
- if (toIndex === -1) toIndex = 0;
4741
- var fromIndex = allKeys.indexOf(fromLocation.key);
4742
- if (fromIndex === -1) fromIndex = 0;
4743
- var delta = toIndex - fromIndex;
4744
-
4745
- if (delta) {
4746
- forceNextPop = true;
4747
- go(delta);
4748
- }
4749
- }
4750
-
4751
- var initialLocation = getDOMLocation(getHistoryState());
4752
- var allKeys = [initialLocation.key]; // Public interface
4753
-
4754
- function createHref(location) {
4755
- return basename + createPath(location);
4756
- }
4757
-
4758
- function push(path, state) {
4759
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
4760
- var action = 'PUSH';
4761
- var location = createLocation(path, state, createKey(), history.location);
4762
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
4763
- if (!ok) return;
4764
- var href = createHref(location);
4765
- var key = location.key,
4766
- state = location.state;
4767
-
4768
- if (canUseHistory) {
4769
- globalHistory.pushState({
4770
- key: key,
4771
- state: state
4772
- }, null, href);
4773
-
4774
- if (forceRefresh) {
4775
- window.location.href = href;
4776
- } else {
4777
- var prevIndex = allKeys.indexOf(history.location.key);
4778
- var nextKeys = allKeys.slice(0, prevIndex + 1);
4779
- nextKeys.push(location.key);
4780
- allKeys = nextKeys;
4781
- setState({
4782
- action: action,
4783
- location: location
4784
- });
4785
- }
4786
- } else {
4787
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;
4788
- window.location.href = href;
4789
- }
4790
- });
4791
- }
4792
-
4793
- function replace(path, state) {
4794
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
4795
- var action = 'REPLACE';
4796
- var location = createLocation(path, state, createKey(), history.location);
4797
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
4798
- if (!ok) return;
4799
- var href = createHref(location);
4800
- var key = location.key,
4801
- state = location.state;
4802
-
4803
- if (canUseHistory) {
4804
- globalHistory.replaceState({
4805
- key: key,
4806
- state: state
4807
- }, null, href);
4808
-
4809
- if (forceRefresh) {
4810
- window.location.replace(href);
4811
- } else {
4812
- var prevIndex = allKeys.indexOf(history.location.key);
4813
- if (prevIndex !== -1) allKeys[prevIndex] = location.key;
4814
- setState({
4815
- action: action,
4816
- location: location
4817
- });
4818
- }
4819
- } else {
4820
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;
4821
- window.location.replace(href);
4822
- }
4823
- });
4824
- }
4825
-
4826
- function go(n) {
4827
- globalHistory.go(n);
4828
- }
4829
-
4830
- function goBack() {
4831
- go(-1);
4832
- }
4833
-
4834
- function goForward() {
4835
- go(1);
4836
- }
4837
-
4838
- var listenerCount = 0;
4839
-
4840
- function checkDOMListeners(delta) {
4841
- listenerCount += delta;
4842
-
4843
- if (listenerCount === 1 && delta === 1) {
4844
- window.addEventListener(PopStateEvent, handlePopState);
4845
- if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);
4846
- } else if (listenerCount === 0) {
4847
- window.removeEventListener(PopStateEvent, handlePopState);
4848
- if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);
4849
- }
4850
- }
4851
-
4852
- var isBlocked = false;
4853
-
4854
- function block(prompt) {
4855
- if (prompt === void 0) {
4856
- prompt = false;
4857
- }
4858
-
4859
- var unblock = transitionManager.setPrompt(prompt);
4860
-
4861
- if (!isBlocked) {
4862
- checkDOMListeners(1);
4863
- isBlocked = true;
4864
- }
4865
-
4866
- return function () {
4867
- if (isBlocked) {
4868
- isBlocked = false;
4869
- checkDOMListeners(-1);
4870
- }
4871
-
4872
- return unblock();
4873
- };
4874
- }
4875
-
4876
- function listen(listener) {
4877
- var unlisten = transitionManager.appendListener(listener);
4878
- checkDOMListeners(1);
4879
- return function () {
4880
- checkDOMListeners(-1);
4881
- unlisten();
4882
- };
4883
- }
4884
-
4885
- var history = {
4886
- length: globalHistory.length,
4887
- action: 'POP',
4888
- location: initialLocation,
4889
- createHref: createHref,
4890
- push: push,
4891
- replace: replace,
4892
- go: go,
4893
- goBack: goBack,
4894
- goForward: goForward,
4895
- block: block,
4896
- listen: listen
4897
- };
4898
- return history;
4899
- }
4900
-
4901
- var HashChangeEvent$1 = 'hashchange';
4902
- var HashPathCoders = {
4903
- hashbang: {
4904
- encodePath: function encodePath(path) {
4905
- return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);
4906
- },
4907
- decodePath: function decodePath(path) {
4908
- return path.charAt(0) === '!' ? path.substr(1) : path;
4909
- }
4910
- },
4911
- noslash: {
4912
- encodePath: stripLeadingSlash,
4913
- decodePath: addLeadingSlash
4914
- },
4915
- slash: {
4916
- encodePath: addLeadingSlash,
4917
- decodePath: addLeadingSlash
4918
- }
4919
- };
4920
-
4921
- function stripHash(url) {
4922
- var hashIndex = url.indexOf('#');
4923
- return hashIndex === -1 ? url : url.slice(0, hashIndex);
4924
- }
4925
-
4926
- function getHashPath() {
4927
- // We can't use window.location.hash here because it's not
4928
- // consistent across browsers - Firefox will pre-decode it!
4929
- var href = window.location.href;
4930
- var hashIndex = href.indexOf('#');
4931
- return hashIndex === -1 ? '' : href.substring(hashIndex + 1);
4932
- }
4933
-
4934
- function pushHashPath(path) {
4935
- window.location.hash = path;
4936
- }
4937
-
4938
- function replaceHashPath(path) {
4939
- window.location.replace(stripHash(window.location.href) + '#' + path);
4940
- }
4941
-
4942
- function createHashHistory(props) {
4943
- if (props === void 0) {
4944
- props = {};
4945
- }
4946
-
4947
- !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Hash history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
4948
- var globalHistory = window.history;
4949
- var canGoWithoutReload = supportsGoWithoutReloadUsingHash();
4950
- var _props = props,
4951
- _props$getUserConfirm = _props.getUserConfirmation,
4952
- getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
4953
- _props$hashType = _props.hashType,
4954
- hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;
4955
- var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
4956
- var _HashPathCoders$hashT = HashPathCoders[hashType],
4957
- encodePath = _HashPathCoders$hashT.encodePath,
4958
- decodePath = _HashPathCoders$hashT.decodePath;
4959
-
4960
- function getDOMLocation() {
4961
- var path = decodePath(getHashPath());
4962
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
4963
- if (basename) path = stripBasename(path, basename);
4964
- return createLocation(path);
4965
- }
4966
-
4967
- var transitionManager = createTransitionManager();
4968
-
4969
- function setState(nextState) {
4970
- Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
4971
-
4972
- history.length = globalHistory.length;
4973
- transitionManager.notifyListeners(history.location, history.action);
4974
- }
4975
-
4976
- var forceNextPop = false;
4977
- var ignorePath = null;
4978
-
4979
- function locationsAreEqual$$1(a, b) {
4980
- return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;
4981
- }
4982
-
4983
- function handleHashChange() {
4984
- var path = getHashPath();
4985
- var encodedPath = encodePath(path);
4986
-
4987
- if (path !== encodedPath) {
4988
- // Ensure we always have a properly-encoded hash.
4989
- replaceHashPath(encodedPath);
4990
- } else {
4991
- var location = getDOMLocation();
4992
- var prevLocation = history.location;
4993
- if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.
4994
-
4995
- if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.
4996
-
4997
- ignorePath = null;
4998
- handlePop(location);
4999
- }
5000
- }
5001
-
5002
- function handlePop(location) {
5003
- if (forceNextPop) {
5004
- forceNextPop = false;
5005
- setState();
5006
- } else {
5007
- var action = 'POP';
5008
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5009
- if (ok) {
5010
- setState({
5011
- action: action,
5012
- location: location
5013
- });
5014
- } else {
5015
- revertPop(location);
5016
- }
5017
- });
5018
- }
5019
- }
5020
-
5021
- function revertPop(fromLocation) {
5022
- var toLocation = history.location; // TODO: We could probably make this more reliable by
5023
- // keeping a list of paths we've seen in sessionStorage.
5024
- // Instead, we just default to 0 for paths we don't know.
5025
-
5026
- var toIndex = allPaths.lastIndexOf(createPath(toLocation));
5027
- if (toIndex === -1) toIndex = 0;
5028
- var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));
5029
- if (fromIndex === -1) fromIndex = 0;
5030
- var delta = toIndex - fromIndex;
5031
-
5032
- if (delta) {
5033
- forceNextPop = true;
5034
- go(delta);
5035
- }
5036
- } // Ensure the hash is encoded properly before doing anything else.
5037
-
5038
-
5039
- var path = getHashPath();
5040
- var encodedPath = encodePath(path);
5041
- if (path !== encodedPath) replaceHashPath(encodedPath);
5042
- var initialLocation = getDOMLocation();
5043
- var allPaths = [createPath(initialLocation)]; // Public interface
5044
-
5045
- function createHref(location) {
5046
- var baseTag = document.querySelector('base');
5047
- var href = '';
5048
-
5049
- if (baseTag && baseTag.getAttribute('href')) {
5050
- href = stripHash(window.location.href);
5051
- }
5052
-
5053
- return href + '#' + encodePath(basename + createPath(location));
5054
- }
5055
-
5056
- function push(path, state) {
5057
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;
5058
- var action = 'PUSH';
5059
- var location = createLocation(path, undefined, undefined, history.location);
5060
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5061
- if (!ok) return;
5062
- var path = createPath(location);
5063
- var encodedPath = encodePath(basename + path);
5064
- var hashChanged = getHashPath() !== encodedPath;
5065
-
5066
- if (hashChanged) {
5067
- // We cannot tell if a hashchange was caused by a PUSH, so we'd
5068
- // rather setState here and ignore the hashchange. The caveat here
5069
- // is that other hash histories in the page will consider it a POP.
5070
- ignorePath = path;
5071
- pushHashPath(encodedPath);
5072
- var prevIndex = allPaths.lastIndexOf(createPath(history.location));
5073
- var nextPaths = allPaths.slice(0, prevIndex + 1);
5074
- nextPaths.push(path);
5075
- allPaths = nextPaths;
5076
- setState({
5077
- action: action,
5078
- location: location
5079
- });
5080
- } else {
5081
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;
5082
- setState();
5083
- }
5084
- });
5085
- }
5086
-
5087
- function replace(path, state) {
5088
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;
5089
- var action = 'REPLACE';
5090
- var location = createLocation(path, undefined, undefined, history.location);
5091
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5092
- if (!ok) return;
5093
- var path = createPath(location);
5094
- var encodedPath = encodePath(basename + path);
5095
- var hashChanged = getHashPath() !== encodedPath;
5096
-
5097
- if (hashChanged) {
5098
- // We cannot tell if a hashchange was caused by a REPLACE, so we'd
5099
- // rather setState here and ignore the hashchange. The caveat here
5100
- // is that other hash histories in the page will consider it a POP.
5101
- ignorePath = path;
5102
- replaceHashPath(encodedPath);
5103
- }
5104
-
5105
- var prevIndex = allPaths.indexOf(createPath(history.location));
5106
- if (prevIndex !== -1) allPaths[prevIndex] = path;
5107
- setState({
5108
- action: action,
5109
- location: location
5110
- });
5111
- });
5112
- }
5113
-
5114
- function go(n) {
5115
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;
5116
- globalHistory.go(n);
5117
- }
5118
-
5119
- function goBack() {
5120
- go(-1);
5121
- }
5122
-
5123
- function goForward() {
5124
- go(1);
5125
- }
5126
-
5127
- var listenerCount = 0;
5128
-
5129
- function checkDOMListeners(delta) {
5130
- listenerCount += delta;
5131
-
5132
- if (listenerCount === 1 && delta === 1) {
5133
- window.addEventListener(HashChangeEvent$1, handleHashChange);
5134
- } else if (listenerCount === 0) {
5135
- window.removeEventListener(HashChangeEvent$1, handleHashChange);
5136
- }
5137
- }
5138
-
5139
- var isBlocked = false;
5140
-
5141
- function block(prompt) {
5142
- if (prompt === void 0) {
5143
- prompt = false;
5144
- }
5145
-
5146
- var unblock = transitionManager.setPrompt(prompt);
5147
-
5148
- if (!isBlocked) {
5149
- checkDOMListeners(1);
5150
- isBlocked = true;
5151
- }
5152
-
5153
- return function () {
5154
- if (isBlocked) {
5155
- isBlocked = false;
5156
- checkDOMListeners(-1);
5157
- }
5158
-
5159
- return unblock();
5160
- };
5161
- }
5162
-
5163
- function listen(listener) {
5164
- var unlisten = transitionManager.appendListener(listener);
5165
- checkDOMListeners(1);
5166
- return function () {
5167
- checkDOMListeners(-1);
5168
- unlisten();
5169
- };
5170
- }
5171
-
5172
- var history = {
5173
- length: globalHistory.length,
5174
- action: 'POP',
5175
- location: initialLocation,
5176
- createHref: createHref,
5177
- push: push,
5178
- replace: replace,
5179
- go: go,
5180
- goBack: goBack,
5181
- goForward: goForward,
5182
- block: block,
5183
- listen: listen
5184
- };
5185
- return history;
5186
- }
5187
-
5188
- function clamp(n, lowerBound, upperBound) {
5189
- return Math.min(Math.max(n, lowerBound), upperBound);
5190
- }
5191
- /**
5192
- * Creates a history object that stores locations in memory.
5193
- */
5194
-
5195
-
5196
- function createMemoryHistory(props) {
5197
- if (props === void 0) {
5198
- props = {};
5199
- }
5200
-
5201
- var _props = props,
5202
- getUserConfirmation = _props.getUserConfirmation,
5203
- _props$initialEntries = _props.initialEntries,
5204
- initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,
5205
- _props$initialIndex = _props.initialIndex,
5206
- initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,
5207
- _props$keyLength = _props.keyLength,
5208
- keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
5209
- var transitionManager = createTransitionManager();
5210
-
5211
- function setState(nextState) {
5212
- Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5213
-
5214
- history.length = history.entries.length;
5215
- transitionManager.notifyListeners(history.location, history.action);
5216
- }
5217
-
5218
- function createKey() {
5219
- return Math.random().toString(36).substr(2, keyLength);
5220
- }
5221
-
5222
- var index = clamp(initialIndex, 0, initialEntries.length - 1);
5223
- var entries = initialEntries.map(function (entry) {
5224
- return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());
5225
- }); // Public interface
5226
-
5227
- var createHref = createPath;
5228
-
5229
- function push(path, state) {
5230
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5231
- var action = 'PUSH';
5232
- var location = createLocation(path, state, createKey(), history.location);
5233
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5234
- if (!ok) return;
5235
- var prevIndex = history.index;
5236
- var nextIndex = prevIndex + 1;
5237
- var nextEntries = history.entries.slice(0);
5238
-
5239
- if (nextEntries.length > nextIndex) {
5240
- nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);
5241
- } else {
5242
- nextEntries.push(location);
5243
- }
5244
-
5245
- setState({
5246
- action: action,
5247
- location: location,
5248
- index: nextIndex,
5249
- entries: nextEntries
5250
- });
5251
- });
5252
- }
5253
-
5254
- function replace(path, state) {
5255
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5256
- var action = 'REPLACE';
5257
- var location = createLocation(path, state, createKey(), history.location);
5258
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5259
- if (!ok) return;
5260
- history.entries[history.index] = location;
5261
- setState({
5262
- action: action,
5263
- location: location
5264
- });
5265
- });
5266
- }
5267
-
5268
- function go(n) {
5269
- var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);
5270
- var action = 'POP';
5271
- var location = history.entries[nextIndex];
5272
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5273
- if (ok) {
5274
- setState({
5275
- action: action,
5276
- location: location,
5277
- index: nextIndex
5278
- });
5279
- } else {
5280
- // Mimic the behavior of DOM histories by
5281
- // causing a render after a cancelled POP.
5282
- setState();
5283
- }
5284
- });
5285
- }
5286
-
5287
- function goBack() {
5288
- go(-1);
5289
- }
5290
-
5291
- function goForward() {
5292
- go(1);
5293
- }
5294
-
5295
- function canGo(n) {
5296
- var nextIndex = history.index + n;
5297
- return nextIndex >= 0 && nextIndex < history.entries.length;
5298
- }
5299
-
5300
- function block(prompt) {
5301
- if (prompt === void 0) {
5302
- prompt = false;
5303
- }
5304
-
5305
- return transitionManager.setPrompt(prompt);
5306
- }
5307
-
5308
- function listen(listener) {
5309
- return transitionManager.appendListener(listener);
5310
- }
5311
-
5312
- var history = {
5313
- length: entries.length,
5314
- action: 'POP',
5315
- location: entries[index],
5316
- index: index,
5317
- entries: entries,
5318
- createHref: createHref,
5319
- push: push,
5320
- replace: replace,
5321
- go: go,
5322
- goBack: goBack,
5323
- goForward: goForward,
5324
- canGo: canGo,
5325
- block: block,
5326
- listen: listen
5327
- };
5328
- return history;
5329
- }
5330
-
5331
-
5332
 
5333
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5334
 
@@ -5337,7 +5337,7 @@ function createMemoryHistory(props) {
5337
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5338
 
5339
  "use strict";
5340
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useTheme__ = __webpack_require__(377);
5341
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useTheme__["a"]; });
5342
 
5343
 
@@ -5346,9 +5346,9 @@ function createMemoryHistory(props) {
5346
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5347
 
5348
  "use strict";
5349
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Collapse__ = __webpack_require__(185);
5350
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Collapse__["a"]; });
5351
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeCollapse__ = __webpack_require__(424);
5352
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeCollapse__["a"]; });
5353
  // eslint-disable-next-line camelcase
5354
 
@@ -5359,17 +5359,17 @@ function createMemoryHistory(props) {
5359
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5360
 
5361
  "use strict";
5362
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(417);
5363
  /* unused harmony reexport CSSTransition */
5364
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(421);
5365
  /* unused harmony reexport ReplaceTransition */
5366
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(423);
5367
  /* unused harmony reexport SwitchTransition */
5368
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(188);
5369
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
5370
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(103);
5371
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
5372
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(186);
5373
  /* unused harmony reexport config */
5374
 
5375
 
@@ -5403,9 +5403,9 @@ function getTransitionProps(props, options) {
5403
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5404
 
5405
  "use strict";
5406
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grow__ = __webpack_require__(197);
5407
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Grow__["a"]; });
5408
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeGrow__ = __webpack_require__(434);
5409
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeGrow__["a"]; });
5410
  // eslint-disable-next-line camelcase
5411
 
@@ -5416,7 +5416,7 @@ function getTransitionProps(props, options) {
5416
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5417
 
5418
  "use strict";
5419
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputBase__ = __webpack_require__(513);
5420
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputBase__["a"]; });
5421
 
5422
 
@@ -5458,7 +5458,7 @@ var defaultTheme = Object(__WEBPACK_IMPORTED_MODULE_0__createMuiTheme__["a" /* d
5458
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5459
 
5460
  "use strict";
5461
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(180);
5462
 
5463
 
5464
  function css() {
@@ -5477,15 +5477,15 @@ function css() {
5477
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5478
 
5479
  "use strict";
5480
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(425);
5481
  /* unused harmony reexport CSSTransition */
5482
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(430);
5483
  /* unused harmony reexport ReplaceTransition */
5484
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__TransitionGroup__ = __webpack_require__(193);
5485
  /* unused harmony reexport TransitionGroup */
5486
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Transition__ = __webpack_require__(189);
5487
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_3__Transition__["a"]; });
5488
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__config__ = __webpack_require__(190);
5489
  /* unused harmony reexport config */
5490
 
5491
 
@@ -5512,7 +5512,7 @@ function isMuiElement(element, muiNames) {
5512
 
5513
  "use strict";
5514
  /* harmony export (immutable) */ __webpack_exports__["a"] = ownerWindow;
5515
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ownerDocument__ = __webpack_require__(29);
5516
 
5517
  function ownerWindow(node) {
5518
  var doc = Object(__WEBPACK_IMPORTED_MODULE_0__ownerDocument__["a" /* default */])(node);
@@ -5693,9 +5693,9 @@ function useIsFocusVisible() {
5693
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5694
 
5695
  "use strict";
5696
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fade__ = __webpack_require__(196);
5697
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fade__["a"]; });
5698
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeFade__ = __webpack_require__(433);
5699
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeFade__["a"]; });
5700
  // eslint-disable-next-line camelcase
5701
 
@@ -5706,9 +5706,9 @@ function useIsFocusVisible() {
5706
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5707
 
5708
  "use strict";
5709
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Modal__ = __webpack_require__(497);
5710
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Modal__["a"]; });
5711
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ModalManager__ = __webpack_require__(221);
5712
  /* unused harmony reexport ModalManager */
5713
 
5714
 
@@ -5761,7 +5761,7 @@ function createChainedFunction() {
5761
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5762
 
5763
  "use strict";
5764
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Input__ = __webpack_require__(528);
5765
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Input__["a"]; });
5766
 
5767
 
@@ -5812,26 +5812,26 @@ if (process.env.NODE_ENV !== 'production') {
5812
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5813
 
5814
  "use strict";
5815
- /* WEBPACK VAR INJECTION */(function(process) {var isProduction = process.env.NODE_ENV === 'production';
5816
- function warning(condition, message) {
5817
- if (!isProduction) {
5818
- if (condition) {
5819
- return;
5820
- }
5821
-
5822
- var text = "Warning: " + message;
5823
-
5824
- if (typeof console !== 'undefined') {
5825
- console.warn(text);
5826
- }
5827
-
5828
- try {
5829
- throw Error(text);
5830
- } catch (x) {}
5831
- }
5832
- }
5833
-
5834
- /* harmony default export */ __webpack_exports__["a"] = (warning);
5835
 
5836
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5837
 
@@ -5840,7 +5840,7 @@ function warning(condition, message) {
5840
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5841
 
5842
  "use strict";
5843
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__ = __webpack_require__(359);
5844
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__["a"]; });
5845
 
5846
 
@@ -5850,20 +5850,20 @@ function warning(condition, message) {
5850
 
5851
  "use strict";
5852
  /* harmony export (immutable) */ __webpack_exports__["a"] = _createClass;
5853
- function _defineProperties(target, props) {
5854
- for (var i = 0; i < props.length; i++) {
5855
- var descriptor = props[i];
5856
- descriptor.enumerable = descriptor.enumerable || false;
5857
- descriptor.configurable = true;
5858
- if ("value" in descriptor) descriptor.writable = true;
5859
- Object.defineProperty(target, descriptor.key, descriptor);
5860
- }
5861
- }
5862
-
5863
- function _createClass(Constructor, protoProps, staticProps) {
5864
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
5865
- if (staticProps) _defineProperties(Constructor, staticProps);
5866
- return Constructor;
5867
  }
5868
 
5869
  /***/ }),
@@ -5872,12 +5872,12 @@ function _createClass(Constructor, protoProps, staticProps) {
5872
 
5873
  "use strict";
5874
  /* harmony export (immutable) */ __webpack_exports__["a"] = _assertThisInitialized;
5875
- function _assertThisInitialized(self) {
5876
- if (self === void 0) {
5877
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5878
- }
5879
-
5880
- return self;
5881
  }
5882
 
5883
  /***/ }),
@@ -5885,7 +5885,7 @@ function _assertThisInitialized(self) {
5885
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5886
 
5887
  "use strict";
5888
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__makeStyles__ = __webpack_require__(374);
5889
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__makeStyles__["a"]; });
5890
 
5891
 
@@ -5894,7 +5894,7 @@ function _assertThisInitialized(self) {
5894
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5895
 
5896
  "use strict";
5897
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StylesProvider__ = __webpack_require__(147);
5898
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["b"]; });
5899
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["a"]; });
5900
 
@@ -5905,109 +5905,109 @@ function _assertThisInitialized(self) {
5905
  /***/ (function(module, exports, __webpack_require__) {
5906
 
5907
  "use strict";
5908
-
5909
-
5910
- var reactIs = __webpack_require__(14);
5911
-
5912
- /**
5913
- * Copyright 2015, Yahoo! Inc.
5914
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
5915
- */
5916
- var REACT_STATICS = {
5917
- childContextTypes: true,
5918
- contextType: true,
5919
- contextTypes: true,
5920
- defaultProps: true,
5921
- displayName: true,
5922
- getDefaultProps: true,
5923
- getDerivedStateFromError: true,
5924
- getDerivedStateFromProps: true,
5925
- mixins: true,
5926
- propTypes: true,
5927
- type: true
5928
- };
5929
- var KNOWN_STATICS = {
5930
- name: true,
5931
- length: true,
5932
- prototype: true,
5933
- caller: true,
5934
- callee: true,
5935
- arguments: true,
5936
- arity: true
5937
- };
5938
- var FORWARD_REF_STATICS = {
5939
- '$$typeof': true,
5940
- render: true,
5941
- defaultProps: true,
5942
- displayName: true,
5943
- propTypes: true
5944
- };
5945
- var MEMO_STATICS = {
5946
- '$$typeof': true,
5947
- compare: true,
5948
- defaultProps: true,
5949
- displayName: true,
5950
- propTypes: true,
5951
- type: true
5952
- };
5953
- var TYPE_STATICS = {};
5954
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
5955
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
5956
-
5957
- function getStatics(component) {
5958
- // React v16.11 and below
5959
- if (reactIs.isMemo(component)) {
5960
- return MEMO_STATICS;
5961
- } // React v16.12 and above
5962
-
5963
-
5964
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
5965
- }
5966
-
5967
- var defineProperty = Object.defineProperty;
5968
- var getOwnPropertyNames = Object.getOwnPropertyNames;
5969
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
5970
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5971
- var getPrototypeOf = Object.getPrototypeOf;
5972
- var objectPrototype = Object.prototype;
5973
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
5974
- if (typeof sourceComponent !== 'string') {
5975
- // don't hoist over string (html) components
5976
- if (objectPrototype) {
5977
- var inheritedComponent = getPrototypeOf(sourceComponent);
5978
-
5979
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
5980
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
5981
- }
5982
- }
5983
-
5984
- var keys = getOwnPropertyNames(sourceComponent);
5985
-
5986
- if (getOwnPropertySymbols) {
5987
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
5988
- }
5989
-
5990
- var targetStatics = getStatics(targetComponent);
5991
- var sourceStatics = getStatics(sourceComponent);
5992
-
5993
- for (var i = 0; i < keys.length; ++i) {
5994
- var key = keys[i];
5995
-
5996
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
5997
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
5998
-
5999
- try {
6000
- // Avoid failures from read-only properties
6001
- defineProperty(targetComponent, key, descriptor);
6002
- } catch (e) {}
6003
- }
6004
- }
6005
- }
6006
-
6007
- return targetComponent;
6008
- }
6009
-
6010
- module.exports = hoistNonReactStatics;
6011
 
6012
 
6013
  /***/ }),
@@ -6036,14 +6036,95 @@ function merge(acc, item) {
6036
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6037
 
6038
  "use strict";
6039
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SvgIcon__ = __webpack_require__(432);
6040
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SvgIcon__["a"]; });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6041
 
6042
 
6043
  /***/ }),
6044
  /* 73 */
6045
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6046
 
 
 
 
 
 
 
 
 
 
6047
  "use strict";
6048
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = unsupportedProp;
6049
  function unsupportedProp(props, propName, componentName, location, propFullName) {
@@ -6062,42 +6143,42 @@ function unsupportedProp(props, propName, componentName, location, propFullName)
6062
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6063
 
6064
  /***/ }),
6065
- /* 74 */
6066
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6067
 
6068
  "use strict";
6069
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slide__ = __webpack_require__(198);
6070
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Slide__["a"]; });
6071
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeSlide__ = __webpack_require__(435);
6072
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeSlide__["a"]; });
6073
  // eslint-disable-next-line camelcase
6074
 
6075
 
6076
 
6077
  /***/ }),
6078
- /* 75 */
6079
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6080
 
6081
  "use strict";
6082
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Zoom__ = __webpack_require__(199);
6083
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Zoom__["a"]; });
6084
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeZoom__ = __webpack_require__(436);
6085
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeZoom__["a"]; });
6086
  // eslint-disable-next-line camelcase
6087
 
6088
 
6089
 
6090
  /***/ }),
6091
- /* 76 */
6092
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6093
 
6094
  "use strict";
6095
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Backdrop__ = __webpack_require__(469);
6096
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Backdrop__["a"]; });
6097
 
6098
 
6099
  /***/ }),
6100
- /* 77 */
6101
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6102
 
6103
  "use strict";
@@ -6122,38 +6203,38 @@ function useFormControl() {
6122
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6123
 
6124
  /***/ }),
6125
- /* 78 */
6126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6127
 
6128
  "use strict";
6129
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Portal__ = __webpack_require__(498);
6130
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Portal__["a"]; });
6131
 
6132
 
6133
  /***/ }),
6134
- /* 79 */
6135
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6136
 
6137
  "use strict";
6138
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fab__ = __webpack_require__(511);
6139
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fab__["a"]; });
6140
 
6141
 
6142
  /***/ }),
6143
- /* 80 */
6144
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6145
 
6146
  "use strict";
6147
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FilledInput__ = __webpack_require__(512);
6148
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FilledInput__["a"]; });
6149
 
6150
 
6151
  /***/ }),
6152
- /* 81 */
6153
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6154
 
6155
  "use strict";
6156
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControl__ = __webpack_require__(515);
6157
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormControl__["a"]; });
6158
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useFormControl__ = __webpack_require__(42);
6159
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__useFormControl__["a"]; });
@@ -6161,11 +6242,11 @@ function useFormControl() {
6161
 
6162
 
6163
  /***/ }),
6164
- /* 82 */
6165
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6166
 
6167
  "use strict";
6168
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withWidth__ = __webpack_require__(240);
6169
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["a"]; });
6170
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["b"]; });
6171
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["c"]; });
@@ -6173,184 +6254,184 @@ function useFormControl() {
6173
 
6174
 
6175
  /***/ }),
6176
- /* 83 */
6177
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6178
 
6179
  "use strict";
6180
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__ = __webpack_require__(545);
6181
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__["a"]; });
6182
 
6183
 
6184
  /***/ }),
6185
- /* 84 */
6186
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6187
 
6188
  "use strict";
6189
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popper__ = __webpack_require__(547);
6190
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popper__["a"]; });
6191
 
6192
 
6193
  /***/ }),
6194
- /* 85 */
6195
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6196
 
6197
  "use strict";
6198
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Select__ = __webpack_require__(560);
6199
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Select__["a"]; });
6200
 
6201
 
6202
  /***/ }),
6203
- /* 86 */
6204
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6205
 
6206
  "use strict";
6207
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6208
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tooltip__ = __webpack_require__(598);
6209
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Tooltip__["a"]; });
6210
 
6211
 
6212
  /***/ }),
6213
- /* 87 */
6214
  /***/ (function(module, exports, __webpack_require__) {
6215
 
6216
  "use strict";
6217
- /* WEBPACK VAR INJECTION */(function(process) {/**
6218
- * Copyright (c) 2013-present, Facebook, Inc.
6219
- *
6220
- * This source code is licensed under the MIT license found in the
6221
- * LICENSE file in the root directory of this source tree.
6222
- */
6223
-
6224
-
6225
-
6226
- var printWarning = function() {};
6227
-
6228
- if (process.env.NODE_ENV !== 'production') {
6229
- var ReactPropTypesSecret = __webpack_require__(88);
6230
- var loggedTypeFailures = {};
6231
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
6232
-
6233
- printWarning = function(text) {
6234
- var message = 'Warning: ' + text;
6235
- if (typeof console !== 'undefined') {
6236
- console.error(message);
6237
- }
6238
- try {
6239
- // --- Welcome to debugging React ---
6240
- // This error was thrown as a convenience so that you can use this stack
6241
- // to find the callsite that caused this warning to fire.
6242
- throw new Error(message);
6243
- } catch (x) {}
6244
- };
6245
- }
6246
-
6247
- /**
6248
- * Assert that the values match with the type specs.
6249
- * Error messages are memorized and will only be shown once.
6250
- *
6251
- * @param {object} typeSpecs Map of name to a ReactPropType
6252
- * @param {object} values Runtime values that need to be type-checked
6253
- * @param {string} location e.g. "prop", "context", "child context"
6254
- * @param {string} componentName Name of the component for error messages.
6255
- * @param {?Function} getStack Returns the component stack.
6256
- * @private
6257
- */
6258
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
6259
- if (process.env.NODE_ENV !== 'production') {
6260
- for (var typeSpecName in typeSpecs) {
6261
- if (has(typeSpecs, typeSpecName)) {
6262
- var error;
6263
- // Prop type validation may throw. In case they do, we don't want to
6264
- // fail the render phase where it didn't fail before. So we log it.
6265
- // After these have been cleaned up, we'll let them throw.
6266
- try {
6267
- // This is intentionally an invariant that gets caught. It's the same
6268
- // behavior as without this statement except with a better message.
6269
- if (typeof typeSpecs[typeSpecName] !== 'function') {
6270
- var err = Error(
6271
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
6272
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
6273
- );
6274
- err.name = 'Invariant Violation';
6275
- throw err;
6276
- }
6277
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
6278
- } catch (ex) {
6279
- error = ex;
6280
- }
6281
- if (error && !(error instanceof Error)) {
6282
- printWarning(
6283
- (componentName || 'React class') + ': type specification of ' +
6284
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
6285
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
6286
- 'You may have forgotten to pass an argument to the type checker ' +
6287
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
6288
- 'shape all require an argument).'
6289
- );
6290
- }
6291
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
6292
- // Only monitor this failure once because there tends to be a lot of the
6293
- // same error.
6294
- loggedTypeFailures[error.message] = true;
6295
-
6296
- var stack = getStack ? getStack() : '';
6297
-
6298
- printWarning(
6299
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
6300
- );
6301
- }
6302
- }
6303
- }
6304
- }
6305
- }
6306
-
6307
- /**
6308
- * Resets warning cache when testing.
6309
- *
6310
- * @private
6311
- */
6312
- checkPropTypes.resetWarningCache = function() {
6313
- if (process.env.NODE_ENV !== 'production') {
6314
- loggedTypeFailures = {};
6315
- }
6316
- }
6317
-
6318
- module.exports = checkPropTypes;
6319
 
6320
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
6321
 
6322
  /***/ }),
6323
- /* 88 */
6324
  /***/ (function(module, exports, __webpack_require__) {
6325
 
6326
  "use strict";
6327
- /**
6328
- * Copyright (c) 2013-present, Facebook, Inc.
6329
- *
6330
- * This source code is licensed under the MIT license found in the
6331
- * LICENSE file in the root directory of this source tree.
6332
- */
6333
-
6334
-
6335
-
6336
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
6337
-
6338
- module.exports = ReactPropTypesSecret;
6339
 
6340
 
6341
  /***/ }),
6342
- /* 89 */
6343
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6344
 
6345
  "use strict";
6346
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__ = __webpack_require__(90);
6347
- // Written in this round about way for babel-transform-imports
6348
-
6349
-
6350
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__["a" /* default */]);
6351
 
6352
  /***/ }),
6353
- /* 90 */
6354
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6355
 
6356
  "use strict";
@@ -6362,194 +6443,194 @@ module.exports = ReactPropTypesSecret;
6362
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
6363
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
6364
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
6365
- 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; };
6366
-
6367
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6368
-
6369
- 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; }
6370
-
6371
- 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; }
6372
-
6373
-
6374
-
6375
-
6376
-
6377
-
6378
- /**
6379
- * The public API for putting history on context.
6380
- */
6381
-
6382
- var Router = function (_React$Component) {
6383
- _inherits(Router, _React$Component);
6384
-
6385
- function Router() {
6386
- var _temp, _this, _ret;
6387
-
6388
- _classCallCheck(this, Router);
6389
-
6390
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
6391
- args[_key] = arguments[_key];
6392
- }
6393
-
6394
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
6395
- match: _this.computeMatch(_this.props.history.location.pathname)
6396
- }, _temp), _possibleConstructorReturn(_this, _ret);
6397
- }
6398
-
6399
- Router.prototype.getChildContext = function getChildContext() {
6400
- return {
6401
- router: _extends({}, this.context.router, {
6402
- history: this.props.history,
6403
- route: {
6404
- location: this.props.history.location,
6405
- match: this.state.match
6406
- }
6407
- })
6408
- };
6409
- };
6410
-
6411
- Router.prototype.computeMatch = function computeMatch(pathname) {
6412
- return {
6413
- path: "/",
6414
- url: "/",
6415
- params: {},
6416
- isExact: pathname === "/"
6417
- };
6418
- };
6419
-
6420
- Router.prototype.componentWillMount = function componentWillMount() {
6421
- var _this2 = this;
6422
-
6423
- var _props = this.props,
6424
- children = _props.children,
6425
- history = _props.history;
6426
-
6427
-
6428
- __WEBPACK_IMPORTED_MODULE_1_invariant___default()(children == null || __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 1, "A <Router> may have only one child element");
6429
-
6430
- // Do this here so we can setState when a <Redirect> changes the
6431
- // location in componentWillMount. This happens e.g. when doing
6432
- // server rendering using a <StaticRouter>.
6433
- this.unlisten = history.listen(function () {
6434
- _this2.setState({
6435
- match: _this2.computeMatch(history.location.pathname)
6436
- });
6437
- });
6438
- };
6439
-
6440
- Router.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
6441
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(this.props.history === nextProps.history, "You cannot change <Router history>");
6442
- };
6443
-
6444
- Router.prototype.componentWillUnmount = function componentWillUnmount() {
6445
- this.unlisten();
6446
- };
6447
-
6448
- Router.prototype.render = function render() {
6449
- var children = this.props.children;
6450
-
6451
- return children ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children) : null;
6452
- };
6453
-
6454
- return Router;
6455
- }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
6456
-
6457
- Router.propTypes = {
6458
- history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
6459
- children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node
6460
- };
6461
- Router.contextTypes = {
6462
- router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
6463
- };
6464
- Router.childContextTypes = {
6465
- router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
6466
- };
6467
-
6468
-
6469
  /* harmony default export */ __webpack_exports__["a"] = (Router);
6470
 
6471
  /***/ }),
6472
- /* 91 */
6473
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6474
 
6475
  "use strict";
6476
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(138);
6477
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
6478
-
6479
-
6480
- var patternCache = {};
6481
- var cacheLimit = 10000;
6482
- var cacheCount = 0;
6483
-
6484
- var compilePath = function compilePath(pattern, options) {
6485
- var cacheKey = "" + options.end + options.strict + options.sensitive;
6486
- var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
6487
-
6488
- if (cache[pattern]) return cache[pattern];
6489
-
6490
- var keys = [];
6491
- var re = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default()(pattern, keys, options);
6492
- var compiledPattern = { re: re, keys: keys };
6493
-
6494
- if (cacheCount < cacheLimit) {
6495
- cache[pattern] = compiledPattern;
6496
- cacheCount++;
6497
- }
6498
-
6499
- return compiledPattern;
6500
- };
6501
-
6502
- /**
6503
- * Public API for matching a URL pathname to a path pattern.
6504
- */
6505
- var matchPath = function matchPath(pathname) {
6506
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
6507
- var parent = arguments[2];
6508
-
6509
- if (typeof options === "string") options = { path: options };
6510
-
6511
- var _options = options,
6512
- path = _options.path,
6513
- _options$exact = _options.exact,
6514
- exact = _options$exact === undefined ? false : _options$exact,
6515
- _options$strict = _options.strict,
6516
- strict = _options$strict === undefined ? false : _options$strict,
6517
- _options$sensitive = _options.sensitive,
6518
- sensitive = _options$sensitive === undefined ? false : _options$sensitive;
6519
-
6520
-
6521
- if (path == null) return parent;
6522
-
6523
- var _compilePath = compilePath(path, { end: exact, strict: strict, sensitive: sensitive }),
6524
- re = _compilePath.re,
6525
- keys = _compilePath.keys;
6526
-
6527
- var match = re.exec(pathname);
6528
-
6529
- if (!match) return null;
6530
-
6531
- var url = match[0],
6532
- values = match.slice(1);
6533
-
6534
- var isExact = pathname === url;
6535
-
6536
- if (exact && !isExact) return null;
6537
-
6538
- return {
6539
- path: path, // the path pattern used to match
6540
- url: path === "/" && url === "" ? "/" : url, // the matched portion of the URL
6541
- isExact: isExact, // whether or not we matched exactly
6542
- params: keys.reduce(function (memo, key, index) {
6543
- memo[key.name] = values[index];
6544
- return memo;
6545
- }, {})
6546
- };
6547
- };
6548
-
6549
  /* harmony default export */ __webpack_exports__["a"] = (matchPath);
6550
 
6551
  /***/ }),
6552
- /* 92 */
6553
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6554
 
6555
  "use strict";
@@ -6568,30 +6649,29 @@ function chainPropTypes(propType1, propType2) {
6568
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6569
 
6570
  /***/ }),
6571
- /* 93 */
6572
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6573
 
6574
  "use strict";
6575
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getThemeProps__ = __webpack_require__(361);
6576
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__getThemeProps__["a"]; });
6577
 
6578
 
6579
  /***/ }),
6580
- /* 94 */
6581
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6582
 
6583
  "use strict";
6584
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jssPreset__ = __webpack_require__(362);
6585
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__jssPreset__["a"]; });
6586
 
6587
 
6588
  /***/ }),
6589
- /* 95 */,
6590
  /* 96 */
6591
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6592
 
6593
  "use strict";
6594
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mergeClasses__ = __webpack_require__(375);
6595
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__mergeClasses__["a"]; });
6596
 
6597
 
@@ -6601,10 +6681,10 @@ function chainPropTypes(propType1, propType2) {
6601
 
6602
  "use strict";
6603
  /* harmony export (immutable) */ __webpack_exports__["a"] = _classCallCheck;
6604
- function _classCallCheck(instance, Constructor) {
6605
- if (!(instance instanceof Constructor)) {
6606
- throw new TypeError("Cannot call a class as a function");
6607
- }
6608
  }
6609
 
6610
  /***/ }),
@@ -6615,15 +6695,15 @@ function _classCallCheck(instance, Constructor) {
6615
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(12);
6616
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
6617
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_utils__ = __webpack_require__(7);
6618
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createBreakpoints__ = __webpack_require__(155);
6619
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__createMixins__ = __webpack_require__(385);
6620
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createPalette__ = __webpack_require__(386);
6621
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__createTypography__ = __webpack_require__(387);
6622
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shadows__ = __webpack_require__(388);
6623
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shape__ = __webpack_require__(389);
6624
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__createSpacing__ = __webpack_require__(390);
6625
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__transitions__ = __webpack_require__(28);
6626
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__zIndex__ = __webpack_require__(176);
6627
 
6628
 
6629
 
@@ -6812,87 +6892,6 @@ function breakpoints(styleFunction) {
6812
  /* 100 */
6813
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6814
 
6815
- "use strict";
6816
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6817
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonceProvider", function() { return NonceProvider; });
6818
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6819
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6820
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(177);
6821
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(101);
6822
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(10);
6823
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
6824
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
6825
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
6826
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(102);
6827
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__ = __webpack_require__(181);
6828
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__["z"]; });
6829
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__ = __webpack_require__(183);
6830
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createFilter", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["c"]; });
6831
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTheme", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["b"]; });
6832
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "mergeStyles", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["d"]; });
6833
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__emotion_css__ = __webpack_require__(53);
6834
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize__ = __webpack_require__(182);
6835
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_input_autosize__);
6836
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__ = __webpack_require__(403);
6837
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_cache__ = __webpack_require__(178);
6838
-
6839
-
6840
-
6841
-
6842
-
6843
-
6844
-
6845
-
6846
-
6847
-
6848
-
6849
-
6850
-
6851
-
6852
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
6853
-
6854
- var NonceProvider =
6855
- /*#__PURE__*/
6856
- function (_Component) {
6857
- _inheritsLoose(NonceProvider, _Component);
6858
-
6859
- function NonceProvider(props) {
6860
- var _this;
6861
-
6862
- _this = _Component.call(this, props) || this;
6863
-
6864
- _this.createEmotionCache = function (nonce) {
6865
- return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_cache__["a" /* default */])({
6866
- nonce: nonce
6867
- });
6868
- };
6869
-
6870
- _this.createEmotionCache = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.createEmotionCache);
6871
- return _this;
6872
- }
6873
-
6874
- var _proto = NonceProvider.prototype;
6875
-
6876
- _proto.render = function render() {
6877
- var emotionCache = this.createEmotionCache(this.props.nonce);
6878
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["a" /* CacheProvider */], {
6879
- value: emotionCache
6880
- }, this.props.children);
6881
- };
6882
-
6883
- return NonceProvider;
6884
- }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
6885
-
6886
- 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 */]);
6887
-
6888
- /* harmony default export */ __webpack_exports__["default"] = (index);
6889
-
6890
-
6891
-
6892
- /***/ }),
6893
- /* 101 */
6894
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6895
-
6896
  "use strict";
6897
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
6898
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
@@ -6901,14 +6900,14 @@ var index = Object(__WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_e
6901
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
6902
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
6903
  /* unused harmony export withEmotionCache */
6904
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(396);
6905
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
6906
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
6907
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
6908
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(178);
6909
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(399);
6910
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(180);
6911
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(179);
6912
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(53);
6913
  /* unused harmony reexport css */
6914
 
@@ -7292,7 +7291,7 @@ var ClassNames = withEmotionCache(function (props, context) {
7292
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7293
 
7294
  /***/ }),
7295
- /* 102 */
7296
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7297
 
7298
  "use strict";
@@ -7515,7 +7514,7 @@ function isMobileDevice() {
7515
 
7516
 
7517
  /***/ }),
7518
- /* 103 */
7519
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7520
 
7521
  "use strict";
@@ -7524,17 +7523,17 @@ function isMobileDevice() {
7524
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ENTERING; });
7525
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ENTERED; });
7526
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return EXITING; });
7527
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(24);
7528
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(25);
7529
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
7530
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
7531
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
7532
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
7533
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(10);
7534
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
7535
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(186);
7536
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(187);
7537
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(104);
7538
 
7539
 
7540
 
@@ -8123,7 +8122,7 @@ Transition.EXITING = 4;
8123
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8124
 
8125
  /***/ }),
8126
- /* 104 */
8127
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8128
 
8129
  "use strict";
@@ -8133,7 +8132,7 @@ Transition.EXITING = 4;
8133
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
8134
 
8135
  /***/ }),
8136
- /* 105 */
8137
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8138
 
8139
  "use strict";
@@ -8163,31 +8162,31 @@ function useId(idOverride) {
8163
  }
8164
 
8165
  /***/ }),
8166
- /* 106 */
8167
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8168
 
8169
  "use strict";
8170
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Avatar__ = __webpack_require__(467);
8171
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Avatar__["a"]; });
8172
 
8173
 
8174
  /***/ }),
8175
- /* 107 */
8176
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8177
 
8178
  "use strict";
8179
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Button__ = __webpack_require__(478);
8180
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Button__["a"]; });
8181
 
8182
 
8183
  /***/ }),
8184
- /* 108 */
8185
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8186
 
8187
  "use strict";
8188
  /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
8189
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
8190
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(27);
8191
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
8192
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
8193
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
@@ -8447,25 +8446,25 @@ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
8447
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8448
 
8449
  /***/ }),
8450
- /* 109 */
8451
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8452
 
8453
  "use strict";
8454
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Chip__ = __webpack_require__(490);
8455
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Chip__["a"]; });
8456
 
8457
 
8458
  /***/ }),
8459
- /* 110 */
8460
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8461
 
8462
  "use strict";
8463
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__ = __webpack_require__(493);
8464
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__["a"]; });
8465
 
8466
 
8467
  /***/ }),
8468
- /* 111 */
8469
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8470
 
8471
  "use strict";
@@ -8480,12 +8479,12 @@ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
8480
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
8481
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
8482
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Modal__ = __webpack_require__(59);
8483
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Backdrop__ = __webpack_require__(76);
8484
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
8485
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Slide__ = __webpack_require__(74);
8486
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Paper__ = __webpack_require__(21);
8487
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_capitalize__ = __webpack_require__(8);
8488
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__styles_transitions__ = __webpack_require__(28);
8489
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(13);
8490
 
8491
 
@@ -8769,16 +8768,16 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
8769
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8770
 
8771
  /***/ }),
8772
- /* 112 */
8773
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8774
 
8775
  "use strict";
8776
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__ = __webpack_require__(514);
8777
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__["a"]; });
8778
 
8779
 
8780
  /***/ }),
8781
- /* 113 */
8782
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8783
 
8784
  "use strict";
@@ -8816,202 +8815,202 @@ function isAdornedStart(obj) {
8816
  }
8817
 
8818
  /***/ }),
8819
- /* 114 */
8820
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8821
 
8822
  "use strict";
8823
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormGroup__ = __webpack_require__(517);
8824
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormGroup__["a"]; });
8825
 
8826
 
8827
  /***/ }),
8828
- /* 115 */
8829
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8830
 
8831
  "use strict";
8832
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormHelperText__ = __webpack_require__(518);
8833
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormHelperText__["a"]; });
8834
 
8835
 
8836
  /***/ }),
8837
- /* 116 */
8838
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8839
 
8840
  "use strict";
8841
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormLabel__ = __webpack_require__(519);
8842
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormLabel__["a"]; });
8843
 
8844
 
8845
  /***/ }),
8846
- /* 117 */
8847
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8848
 
8849
  "use strict";
8850
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__ = __webpack_require__(526);
8851
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__["a"]; });
8852
 
8853
 
8854
  /***/ }),
8855
- /* 118 */
8856
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8857
 
8858
  "use strict";
8859
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputLabel__ = __webpack_require__(530);
8860
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputLabel__["a"]; });
8861
 
8862
 
8863
  /***/ }),
8864
- /* 119 */
8865
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8866
 
8867
  "use strict";
8868
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__LinearProgress__ = __webpack_require__(531);
8869
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__LinearProgress__["a"]; });
8870
 
8871
 
8872
  /***/ }),
8873
- /* 120 */
8874
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8875
 
8876
  "use strict";
8877
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__List__ = __webpack_require__(533);
8878
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__List__["a"]; });
8879
 
8880
 
8881
  /***/ }),
8882
- /* 121 */
8883
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8884
 
8885
  "use strict";
8886
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItem__ = __webpack_require__(534);
8887
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListItem__["a"]; });
8888
 
8889
 
8890
  /***/ }),
8891
- /* 122 */
8892
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8893
 
8894
  "use strict";
8895
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListSubheader__ = __webpack_require__(539);
8896
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListSubheader__["a"]; });
8897
 
8898
 
8899
  /***/ }),
8900
- /* 123 */
8901
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8902
 
8903
  "use strict";
8904
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popover__ = __webpack_require__(540);
8905
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popover__["a"]; });
8906
 
8907
 
8908
  /***/ }),
8909
- /* 124 */
8910
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8911
 
8912
  "use strict";
8913
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuList__ = __webpack_require__(541);
8914
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuList__["a"]; });
8915
 
8916
 
8917
  /***/ }),
8918
- /* 125 */
8919
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8920
 
8921
  "use strict";
8922
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuItem__ = __webpack_require__(542);
8923
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuItem__["a"]; });
8924
 
8925
 
8926
  /***/ }),
8927
- /* 126 */
8928
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8929
 
8930
  "use strict";
8931
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NoSsr__ = __webpack_require__(544);
8932
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__NoSsr__["a"]; });
8933
 
8934
 
8935
  /***/ }),
8936
- /* 127 */
8937
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8938
 
8939
  "use strict";
8940
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__ = __webpack_require__(565);
8941
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__["a"]; });
8942
 
8943
 
8944
  /***/ }),
8945
- /* 128 */
8946
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8947
 
8948
  "use strict";
8949
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepLabel__ = __webpack_require__(568);
8950
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepLabel__["a"]; });
8951
 
8952
 
8953
  /***/ }),
8954
- /* 129 */
8955
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8956
 
8957
  "use strict";
8958
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepIcon__ = __webpack_require__(569);
8959
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepIcon__["a"]; });
8960
 
8961
 
8962
  /***/ }),
8963
- /* 130 */
8964
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8965
 
8966
  "use strict";
8967
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepConnector__ = __webpack_require__(572);
8968
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepConnector__["a"]; });
8969
 
8970
 
8971
  /***/ }),
8972
- /* 131 */
8973
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8974
 
8975
  "use strict";
8976
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableCell__ = __webpack_require__(581);
8977
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TableCell__["a"]; });
8978
 
8979
 
8980
  /***/ }),
8981
- /* 132 */
8982
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8983
 
8984
  "use strict";
8985
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Toolbar__ = __webpack_require__(586);
8986
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Toolbar__["a"]; });
8987
 
8988
 
8989
  /***/ }),
8990
- /* 133 */
8991
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8992
 
8993
  "use strict";
8994
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__PaginationItem__ = __webpack_require__(606);
8995
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__PaginationItem__["a"]; });
8996
 
8997
 
8998
  /***/ }),
8999
- /* 134 */
9000
  /***/ (function(module, exports, __webpack_require__) {
9001
 
9002
  "use strict";
9003
- /* WEBPACK VAR INJECTION */(function(process) {
9004
-
9005
- if (process.env.NODE_ENV === 'production') {
9006
- module.exports = __webpack_require__(302);
9007
- } else {
9008
- module.exports = __webpack_require__(303);
9009
- }
9010
 
9011
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
9012
 
9013
  /***/ }),
9014
- /* 135 */
9015
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9016
 
9017
  "use strict";
@@ -9022,124 +9021,124 @@ if (process.env.NODE_ENV === 'production') {
9022
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant__ = __webpack_require__(35);
9023
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_invariant__);
9024
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_history__ = __webpack_require__(44);
9025
- 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; };
9026
-
9027
- 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; }
9028
-
9029
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9030
-
9031
- 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; }
9032
-
9033
- 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; }
9034
-
9035
-
9036
-
9037
-
9038
-
9039
-
9040
- var isModifiedEvent = function isModifiedEvent(event) {
9041
- return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
9042
- };
9043
-
9044
- /**
9045
- * The public API for rendering a history-aware <a>.
9046
- */
9047
-
9048
- var Link = function (_React$Component) {
9049
- _inherits(Link, _React$Component);
9050
-
9051
- function Link() {
9052
- var _temp, _this, _ret;
9053
-
9054
- _classCallCheck(this, Link);
9055
-
9056
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
9057
- args[_key] = arguments[_key];
9058
- }
9059
-
9060
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
9061
- if (_this.props.onClick) _this.props.onClick(event);
9062
-
9063
- if (!event.defaultPrevented && // onClick prevented default
9064
- event.button === 0 && // ignore everything but left clicks
9065
- !_this.props.target && // let browser handle "target=_blank" etc.
9066
- !isModifiedEvent(event) // ignore clicks with modifier keys
9067
- ) {
9068
- event.preventDefault();
9069
-
9070
- var history = _this.context.router.history;
9071
- var _this$props = _this.props,
9072
- replace = _this$props.replace,
9073
- to = _this$props.to;
9074
-
9075
-
9076
- if (replace) {
9077
- history.replace(to);
9078
- } else {
9079
- history.push(to);
9080
- }
9081
- }
9082
- }, _temp), _possibleConstructorReturn(_this, _ret);
9083
- }
9084
-
9085
- Link.prototype.render = function render() {
9086
- var _props = this.props,
9087
- replace = _props.replace,
9088
- to = _props.to,
9089
- innerRef = _props.innerRef,
9090
- props = _objectWithoutProperties(_props, ["replace", "to", "innerRef"]); // eslint-disable-line no-unused-vars
9091
-
9092
- __WEBPACK_IMPORTED_MODULE_2_invariant___default()(this.context.router, "You should not use <Link> outside a <Router>");
9093
-
9094
- __WEBPACK_IMPORTED_MODULE_2_invariant___default()(to !== undefined, 'You must specify the "to" property');
9095
-
9096
- var history = this.context.router.history;
9097
-
9098
- var location = typeof to === "string" ? Object(__WEBPACK_IMPORTED_MODULE_3_history__["c" /* createLocation */])(to, null, null, history.location) : to;
9099
-
9100
- var href = history.createHref(location);
9101
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a", _extends({}, props, { onClick: this.handleClick, href: href, ref: innerRef }));
9102
- };
9103
-
9104
- return Link;
9105
- }(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Component);
9106
-
9107
- Link.propTypes = {
9108
- onClick: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func,
9109
- target: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
9110
- replace: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool,
9111
- to: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.object]).isRequired,
9112
- innerRef: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func])
9113
- };
9114
- Link.defaultProps = {
9115
- replace: false
9116
- };
9117
- Link.contextTypes = {
9118
- router: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.shape({
9119
- history: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.shape({
9120
- push: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
9121
- replace: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
9122
- createHref: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired
9123
- }).isRequired
9124
- }).isRequired
9125
- };
9126
-
9127
-
9128
  /* harmony default export */ __webpack_exports__["a"] = (Link);
9129
 
9130
  /***/ }),
9131
- /* 136 */
9132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9133
 
9134
  "use strict";
9135
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__ = __webpack_require__(137);
9136
- // Written in this round about way for babel-transform-imports
9137
-
9138
-
9139
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__["a" /* default */]);
9140
 
9141
  /***/ }),
9142
- /* 137 */
9143
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9144
 
9145
  "use strict";
@@ -9151,626 +9150,626 @@ Link.contextTypes = {
9151
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
9152
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
9153
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
9154
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__matchPath__ = __webpack_require__(91);
9155
- 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; };
9156
-
9157
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9158
-
9159
- 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; }
9160
-
9161
- 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; }
9162
-
9163
-
9164
-
9165
-
9166
-
9167
-
9168
-
9169
- var isEmptyChildren = function isEmptyChildren(children) {
9170
- return __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 0;
9171
- };
9172
-
9173
- /**
9174
- * The public API for matching a single path and rendering.
9175
- */
9176
-
9177
- var Route = function (_React$Component) {
9178
- _inherits(Route, _React$Component);
9179
-
9180
- function Route() {
9181
- var _temp, _this, _ret;
9182
-
9183
- _classCallCheck(this, Route);
9184
-
9185
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
9186
- args[_key] = arguments[_key];
9187
- }
9188
-
9189
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
9190
- match: _this.computeMatch(_this.props, _this.context.router)
9191
- }, _temp), _possibleConstructorReturn(_this, _ret);
9192
- }
9193
-
9194
- Route.prototype.getChildContext = function getChildContext() {
9195
- return {
9196
- router: _extends({}, this.context.router, {
9197
- route: {
9198
- location: this.props.location || this.context.router.route.location,
9199
- match: this.state.match
9200
- }
9201
- })
9202
- };
9203
- };
9204
-
9205
- Route.prototype.computeMatch = function computeMatch(_ref, router) {
9206
- var computedMatch = _ref.computedMatch,
9207
- location = _ref.location,
9208
- path = _ref.path,
9209
- strict = _ref.strict,
9210
- exact = _ref.exact,
9211
- sensitive = _ref.sensitive;
9212
-
9213
- if (computedMatch) return computedMatch; // <Switch> already computed the match for us
9214
-
9215
- __WEBPACK_IMPORTED_MODULE_1_invariant___default()(router, "You should not use <Route> or withRouter() outside a <Router>");
9216
-
9217
- var route = router.route;
9218
-
9219
- var pathname = (location || route.location).pathname;
9220
-
9221
- return Object(__WEBPACK_IMPORTED_MODULE_4__matchPath__["a" /* default */])(pathname, { path: path, strict: strict, exact: exact, sensitive: sensitive }, route.match);
9222
- };
9223
-
9224
- Route.prototype.componentWillMount = function componentWillMount() {
9225
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.component && this.props.render), "You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored");
9226
-
9227
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.component && this.props.children && !isEmptyChildren(this.props.children)), "You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored");
9228
-
9229
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.render && this.props.children && !isEmptyChildren(this.props.children)), "You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored");
9230
- };
9231
-
9232
- Route.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps, nextContext) {
9233
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(nextProps.location && !this.props.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.');
9234
-
9235
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(!nextProps.location && this.props.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
9236
-
9237
- this.setState({
9238
- match: this.computeMatch(nextProps, nextContext.router)
9239
- });
9240
- };
9241
-
9242
- Route.prototype.render = function render() {
9243
- var match = this.state.match;
9244
- var _props = this.props,
9245
- children = _props.children,
9246
- component = _props.component,
9247
- render = _props.render;
9248
- var _context$router = this.context.router,
9249
- history = _context$router.history,
9250
- route = _context$router.route,
9251
- staticContext = _context$router.staticContext;
9252
-
9253
- var location = this.props.location || route.location;
9254
- var props = { match: match, location: location, history: history, staticContext: staticContext };
9255
-
9256
- if (component) return match ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(component, props) : null;
9257
-
9258
- if (render) return match ? render(props) : null;
9259
-
9260
- if (typeof children === "function") return children(props);
9261
-
9262
- if (children && !isEmptyChildren(children)) return __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children);
9263
-
9264
- return null;
9265
- };
9266
-
9267
- return Route;
9268
- }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
9269
-
9270
- Route.propTypes = {
9271
- computedMatch: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object, // private, from <Switch>
9272
- path: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string,
9273
- exact: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9274
- strict: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9275
- sensitive: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9276
- component: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
9277
- render: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
9278
- children: __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.node]),
9279
- location: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
9280
- };
9281
- Route.contextTypes = {
9282
- router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.shape({
9283
- history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
9284
- route: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
9285
- staticContext: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
9286
- })
9287
- };
9288
- Route.childContextTypes = {
9289
- router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
9290
- };
9291
-
9292
-
9293
  /* harmony default export */ __webpack_exports__["a"] = (Route);
9294
 
9295
  /***/ }),
9296
- /* 138 */
9297
  /***/ (function(module, exports, __webpack_require__) {
9298
 
9299
- var isarray = __webpack_require__(320)
9300
-
9301
- /**
9302
- * Expose `pathToRegexp`.
9303
- */
9304
- module.exports = pathToRegexp
9305
- module.exports.parse = parse
9306
- module.exports.compile = compile
9307
- module.exports.tokensToFunction = tokensToFunction
9308
- module.exports.tokensToRegExp = tokensToRegExp
9309
-
9310
- /**
9311
- * The main path matching regexp utility.
9312
- *
9313
- * @type {RegExp}
9314
- */
9315
- var PATH_REGEXP = new RegExp([
9316
- // Match escaped characters that would otherwise appear in future matches.
9317
- // This allows the user to escape special characters that won't transform.
9318
- '(\\\\.)',
9319
- // Match Express-style parameters and un-named parameters with a prefix
9320
- // and optional suffixes. Matches appear as:
9321
- //
9322
- // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
9323
- // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
9324
- // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
9325
- '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'
9326
- ].join('|'), 'g')
9327
-
9328
- /**
9329
- * Parse a string for the raw tokens.
9330
- *
9331
- * @param {string} str
9332
- * @param {Object=} options
9333
- * @return {!Array}
9334
- */
9335
- function parse (str, options) {
9336
- var tokens = []
9337
- var key = 0
9338
- var index = 0
9339
- var path = ''
9340
- var defaultDelimiter = options && options.delimiter || '/'
9341
- var res
9342
-
9343
- while ((res = PATH_REGEXP.exec(str)) != null) {
9344
- var m = res[0]
9345
- var escaped = res[1]
9346
- var offset = res.index
9347
- path += str.slice(index, offset)
9348
- index = offset + m.length
9349
-
9350
- // Ignore already escaped sequences.
9351
- if (escaped) {
9352
- path += escaped[1]
9353
- continue
9354
- }
9355
-
9356
- var next = str[index]
9357
- var prefix = res[2]
9358
- var name = res[3]
9359
- var capture = res[4]
9360
- var group = res[5]
9361
- var modifier = res[6]
9362
- var asterisk = res[7]
9363
-
9364
- // Push the current path onto the tokens.
9365
- if (path) {
9366
- tokens.push(path)
9367
- path = ''
9368
- }
9369
-
9370
- var partial = prefix != null && next != null && next !== prefix
9371
- var repeat = modifier === '+' || modifier === '*'
9372
- var optional = modifier === '?' || modifier === '*'
9373
- var delimiter = res[2] || defaultDelimiter
9374
- var pattern = capture || group
9375
-
9376
- tokens.push({
9377
- name: name || key++,
9378
- prefix: prefix || '',
9379
- delimiter: delimiter,
9380
- optional: optional,
9381
- repeat: repeat,
9382
- partial: partial,
9383
- asterisk: !!asterisk,
9384
- pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')
9385
- })
9386
- }
9387
-
9388
- // Match any characters still remaining.
9389
- if (index < str.length) {
9390
- path += str.substr(index)
9391
- }
9392
-
9393
- // If the path exists, push it onto the end.
9394
- if (path) {
9395
- tokens.push(path)
9396
- }
9397
-
9398
- return tokens
9399
- }
9400
-
9401
- /**
9402
- * Compile a string to a template function for the path.
9403
- *
9404
- * @param {string} str
9405
- * @param {Object=} options
9406
- * @return {!function(Object=, Object=)}
9407
- */
9408
- function compile (str, options) {
9409
- return tokensToFunction(parse(str, options), options)
9410
- }
9411
-
9412
- /**
9413
- * Prettier encoding of URI path segments.
9414
- *
9415
- * @param {string}
9416
- * @return {string}
9417
- */
9418
- function encodeURIComponentPretty (str) {
9419
- return encodeURI(str).replace(/[\/?#]/g, function (c) {
9420
- return '%' + c.charCodeAt(0).toString(16).toUpperCase()
9421
- })
9422
- }
9423
-
9424
- /**
9425
- * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.
9426
- *
9427
- * @param {string}
9428
- * @return {string}
9429
- */
9430
- function encodeAsterisk (str) {
9431
- return encodeURI(str).replace(/[?#]/g, function (c) {
9432
- return '%' + c.charCodeAt(0).toString(16).toUpperCase()
9433
- })
9434
- }
9435
-
9436
- /**
9437
- * Expose a method for transforming tokens into the path function.
9438
- */
9439
- function tokensToFunction (tokens, options) {
9440
- // Compile all the tokens into regexps.
9441
- var matches = new Array(tokens.length)
9442
-
9443
- // Compile all the patterns before compilation.
9444
- for (var i = 0; i < tokens.length; i++) {
9445
- if (typeof tokens[i] === 'object') {
9446
- matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))
9447
- }
9448
- }
9449
-
9450
- return function (obj, opts) {
9451
- var path = ''
9452
- var data = obj || {}
9453
- var options = opts || {}
9454
- var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent
9455
-
9456
- for (var i = 0; i < tokens.length; i++) {
9457
- var token = tokens[i]
9458
-
9459
- if (typeof token === 'string') {
9460
- path += token
9461
-
9462
- continue
9463
- }
9464
-
9465
- var value = data[token.name]
9466
- var segment
9467
-
9468
- if (value == null) {
9469
- if (token.optional) {
9470
- // Prepend partial segment prefixes.
9471
- if (token.partial) {
9472
- path += token.prefix
9473
- }
9474
-
9475
- continue
9476
- } else {
9477
- throw new TypeError('Expected "' + token.name + '" to be defined')
9478
- }
9479
- }
9480
-
9481
- if (isarray(value)) {
9482
- if (!token.repeat) {
9483
- throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`')
9484
- }
9485
-
9486
- if (value.length === 0) {
9487
- if (token.optional) {
9488
- continue
9489
- } else {
9490
- throw new TypeError('Expected "' + token.name + '" to not be empty')
9491
- }
9492
- }
9493
-
9494
- for (var j = 0; j < value.length; j++) {
9495
- segment = encode(value[j])
9496
-
9497
- if (!matches[i].test(segment)) {
9498
- throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`')
9499
- }
9500
-
9501
- path += (j === 0 ? token.prefix : token.delimiter) + segment
9502
- }
9503
-
9504
- continue
9505
- }
9506
-
9507
- segment = token.asterisk ? encodeAsterisk(value) : encode(value)
9508
-
9509
- if (!matches[i].test(segment)) {
9510
- throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"')
9511
- }
9512
-
9513
- path += token.prefix + segment
9514
- }
9515
-
9516
- return path
9517
- }
9518
- }
9519
-
9520
- /**
9521
- * Escape a regular expression string.
9522
- *
9523
- * @param {string} str
9524
- * @return {string}
9525
- */
9526
- function escapeString (str) {
9527
- return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1')
9528
- }
9529
-
9530
- /**
9531
- * Escape the capturing group by escaping special characters and meaning.
9532
- *
9533
- * @param {string} group
9534
- * @return {string}
9535
- */
9536
- function escapeGroup (group) {
9537
- return group.replace(/([=!:$\/()])/g, '\\$1')
9538
- }
9539
-
9540
- /**
9541
- * Attach the keys as a property of the regexp.
9542
- *
9543
- * @param {!RegExp} re
9544
- * @param {Array} keys
9545
- * @return {!RegExp}
9546
- */
9547
- function attachKeys (re, keys) {
9548
- re.keys = keys
9549
- return re
9550
- }
9551
-
9552
- /**
9553
- * Get the flags for a regexp from the options.
9554
- *
9555
- * @param {Object} options
9556
- * @return {string}
9557
- */
9558
- function flags (options) {
9559
- return options && options.sensitive ? '' : 'i'
9560
- }
9561
-
9562
- /**
9563
- * Pull out keys from a regexp.
9564
- *
9565
- * @param {!RegExp} path
9566
- * @param {!Array} keys
9567
- * @return {!RegExp}
9568
- */
9569
- function regexpToRegexp (path, keys) {
9570
- // Use a negative lookahead to match only capturing groups.
9571
- var groups = path.source.match(/\((?!\?)/g)
9572
-
9573
- if (groups) {
9574
- for (var i = 0; i < groups.length; i++) {
9575
- keys.push({
9576
- name: i,
9577
- prefix: null,
9578
- delimiter: null,
9579
- optional: false,
9580
- repeat: false,
9581
- partial: false,
9582
- asterisk: false,
9583
- pattern: null
9584
- })
9585
- }
9586
- }
9587
-
9588
- return attachKeys(path, keys)
9589
- }
9590
-
9591
- /**
9592
- * Transform an array into a regexp.
9593
- *
9594
- * @param {!Array} path
9595
- * @param {Array} keys
9596
- * @param {!Object} options
9597
- * @return {!RegExp}
9598
- */
9599
- function arrayToRegexp (path, keys, options) {
9600
- var parts = []
9601
-
9602
- for (var i = 0; i < path.length; i++) {
9603
- parts.push(pathToRegexp(path[i], keys, options).source)
9604
- }
9605
-
9606
- var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options))
9607
-
9608
- return attachKeys(regexp, keys)
9609
- }
9610
-
9611
- /**
9612
- * Create a path regexp from string input.
9613
- *
9614
- * @param {string} path
9615
- * @param {!Array} keys
9616
- * @param {!Object} options
9617
- * @return {!RegExp}
9618
- */
9619
- function stringToRegexp (path, keys, options) {
9620
- return tokensToRegExp(parse(path, options), keys, options)
9621
- }
9622
-
9623
- /**
9624
- * Expose a function for taking tokens and returning a RegExp.
9625
- *
9626
- * @param {!Array} tokens
9627
- * @param {(Array|Object)=} keys
9628
- * @param {Object=} options
9629
- * @return {!RegExp}
9630
- */
9631
- function tokensToRegExp (tokens, keys, options) {
9632
- if (!isarray(keys)) {
9633
- options = /** @type {!Object} */ (keys || options)
9634
- keys = []
9635
- }
9636
-
9637
- options = options || {}
9638
-
9639
- var strict = options.strict
9640
- var end = options.end !== false
9641
- var route = ''
9642
-
9643
- // Iterate over the tokens and create our regexp string.
9644
- for (var i = 0; i < tokens.length; i++) {
9645
- var token = tokens[i]
9646
-
9647
- if (typeof token === 'string') {
9648
- route += escapeString(token)
9649
- } else {
9650
- var prefix = escapeString(token.prefix)
9651
- var capture = '(?:' + token.pattern + ')'
9652
-
9653
- keys.push(token)
9654
-
9655
- if (token.repeat) {
9656
- capture += '(?:' + prefix + capture + ')*'
9657
- }
9658
-
9659
- if (token.optional) {
9660
- if (!token.partial) {
9661
- capture = '(?:' + prefix + '(' + capture + '))?'
9662
- } else {
9663
- capture = prefix + '(' + capture + ')?'
9664
- }
9665
- } else {
9666
- capture = prefix + '(' + capture + ')'
9667
- }
9668
-
9669
- route += capture
9670
- }
9671
- }
9672
-
9673
- var delimiter = escapeString(options.delimiter || '/')
9674
- var endsWithDelimiter = route.slice(-delimiter.length) === delimiter
9675
-
9676
- // In non-strict mode we allow a slash at the end of match. If the path to
9677
- // match already ends with a slash, we remove it for consistency. The slash
9678
- // is valid at the end of a path match, not in the middle. This is important
9679
- // in non-ending mode, where "/test/" shouldn't match "/test//route".
9680
- if (!strict) {
9681
- route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?'
9682
- }
9683
-
9684
- if (end) {
9685
- route += '$'
9686
- } else {
9687
- // In non-ending mode, we need the capturing groups to match as much as
9688
- // possible by using a positive lookahead to the end or next path segment.
9689
- route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)'
9690
- }
9691
-
9692
- return attachKeys(new RegExp('^' + route, flags(options)), keys)
9693
- }
9694
-
9695
- /**
9696
- * Normalize the given path string, returning a regular expression.
9697
- *
9698
- * An empty array can be passed in for the keys, which will hold the
9699
- * placeholder key descriptions. For example, using `/user/:id`, `keys` will
9700
- * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.
9701
- *
9702
- * @param {(string|RegExp|Array)} path
9703
- * @param {(Array|Object)=} keys
9704
- * @param {Object=} options
9705
- * @return {!RegExp}
9706
- */
9707
- function pathToRegexp (path, keys, options) {
9708
- if (!isarray(keys)) {
9709
- options = /** @type {!Object} */ (keys || options)
9710
- keys = []
9711
- }
9712
-
9713
- options = options || {}
9714
-
9715
- if (path instanceof RegExp) {
9716
- return regexpToRegexp(path, /** @type {!Array} */ (keys))
9717
- }
9718
-
9719
- if (isarray(path)) {
9720
- return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)
9721
- }
9722
-
9723
- return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)
9724
- }
9725
 
9726
 
9727
  /***/ }),
9728
- /* 139 */
9729
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9730
 
9731
  "use strict";
9732
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(138);
9733
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
9734
-
9735
-
9736
- var patternCache = {};
9737
- var cacheLimit = 10000;
9738
- var cacheCount = 0;
9739
-
9740
- var compileGenerator = function compileGenerator(pattern) {
9741
- var cacheKey = pattern;
9742
- var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
9743
-
9744
- if (cache[pattern]) return cache[pattern];
9745
-
9746
- var compiledGenerator = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default.a.compile(pattern);
9747
-
9748
- if (cacheCount < cacheLimit) {
9749
- cache[pattern] = compiledGenerator;
9750
- cacheCount++;
9751
- }
9752
-
9753
- return compiledGenerator;
9754
- };
9755
-
9756
- /**
9757
- * Public API for generating a URL pathname from a pattern and parameters.
9758
- */
9759
- var generatePath = function generatePath() {
9760
- var pattern = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "/";
9761
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
9762
-
9763
- if (pattern === "/") {
9764
- return pattern;
9765
- }
9766
- var generator = compileGenerator(pattern);
9767
- return generator(params, { pretty: true });
9768
- };
9769
-
9770
  /* harmony default export */ __webpack_exports__["a"] = (generatePath);
9771
 
9772
  /***/ }),
9773
- /* 140 */
9774
  /***/ (function(module, exports, __webpack_require__) {
9775
 
9776
  "use strict";
@@ -9787,17 +9786,17 @@ var _reactRouterDom = __webpack_require__(33);
9787
 
9788
  var _reactDom = _interopRequireDefault(__webpack_require__(10));
9789
 
9790
- __webpack_require__(335);
9791
 
9792
- var _QuadsAdConfig = _interopRequireDefault(__webpack_require__(336));
9793
 
9794
- var _QuadsAdTargeting = _interopRequireDefault(__webpack_require__(348));
9795
 
9796
- var _QuadsAdPublish = _interopRequireDefault(__webpack_require__(409));
9797
 
9798
  var _queryString = _interopRequireDefault(__webpack_require__(23));
9799
 
9800
- var _Icon = _interopRequireDefault(__webpack_require__(30));
9801
 
9802
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9803
 
@@ -9881,6 +9880,10 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
9881
  _this.excludedVisibilityVal = exclude;
9882
  });
9883
 
 
 
 
 
9884
  _defineProperty(_assertThisInitialized(_this), "getAdDataById", function (ad_id) {
9885
  var url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id?ad-id=' + ad_id;
9886
  fetch(url, {
@@ -10135,6 +10138,7 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10135
  body_json.quads_post_meta.targeting_exclude = _this.excludedVal;
10136
  body_json.quads_post_meta.visibility_include = _this.includedVisibilityVal;
10137
  body_json.quads_post_meta.visibility_exclude = _this.excludedVisibilityVal;
 
10138
  var url = quads_localize_data.rest_url + 'quads-route/update-ad';
10139
  fetch(url, {
10140
  method: "post",
@@ -10244,6 +10248,17 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10244
 
10245
  break;
10246
 
 
 
 
 
 
 
 
 
 
 
 
10247
  default:
10248
  break;
10249
  }
@@ -10317,6 +10332,17 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10317
 
10318
  break;
10319
 
 
 
 
 
 
 
 
 
 
 
 
10320
  default:
10321
  break;
10322
  }
@@ -10403,7 +10429,8 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10403
  enable_on_end_of_post: false,
10404
  image_caption: false,
10405
  include_dropdown: false,
10406
- exclude_dropdown: false
 
10407
  },
10408
  quads_form_errors: {
10409
  g_data_ad_slot: '',
@@ -10411,7 +10438,8 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10411
  code: '',
10412
  label: '',
10413
  position: '',
10414
- visibility_include: []
 
10415
  }
10416
  };
10417
  _this.include_timer = null;
@@ -10477,8 +10505,14 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10477
  }).then(function (res) {
10478
  return res.json();
10479
  }).then(function (result) {
 
 
 
 
 
 
10480
  _this2.setState(Object.assign(_this2.state.quads_post_meta, {
10481
- label: result.name
10482
  }));
10483
  }, function (error) {});
10484
  }
@@ -10530,7 +10564,8 @@ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
10530
  modalValue: _this2.modalValue,
10531
  getAdsenseCode: _this2.getAdsenseCode,
10532
  openModal: _this2.openModal,
10533
- closeModal: _this2.closeModal
 
10534
  }));
10535
 
10536
  case "wizard_target":
@@ -10566,7 +10601,7 @@ var _default = QuadsAdCreateRouter;
10566
  exports["default"] = _default;
10567
 
10568
  /***/ }),
10569
- /* 141 */
10570
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10571
 
10572
  "use strict";
@@ -10574,16 +10609,16 @@ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
10574
  /* harmony default export */ __webpack_exports__["a"] = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');
10575
 
10576
  /***/ }),
10577
- /* 142 */
10578
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10579
 
10580
  "use strict";
10581
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStyles__ = __webpack_require__(360);
10582
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createStyles__["a"]; });
10583
 
10584
 
10585
  /***/ }),
10586
- /* 143 */
10587
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10588
 
10589
  "use strict";
@@ -10596,18 +10631,17 @@ var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window))
10596
 
10597
 
10598
  /***/ }),
10599
- /* 144 */,
10600
- /* 145 */
10601
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10602
 
10603
  "use strict";
10604
  /* harmony export (immutable) */ __webpack_exports__["a"] = _iterableToArray;
10605
- function _iterableToArray(iter) {
10606
- if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
10607
  }
10608
 
10609
  /***/ }),
10610
- /* 146 */
10611
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10612
 
10613
  "use strict";
@@ -10624,7 +10658,7 @@ if (process.env.NODE_ENV !== 'production') {
10624
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10625
 
10626
  /***/ }),
10627
- /* 147 */
10628
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10629
 
10630
  "use strict";
@@ -10640,7 +10674,7 @@ if (process.env.NODE_ENV !== 'production') {
10640
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
10641
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createGenerateClassName__ = __webpack_require__(65);
10642
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_jss__ = __webpack_require__(37);
10643
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__jssPreset__ = __webpack_require__(94);
10644
 
10645
 
10646
 
@@ -10791,7 +10825,7 @@ if (process.env.NODE_ENV !== 'production') {
10791
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10792
 
10793
  /***/ }),
10794
- /* 148 */
10795
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10796
 
10797
  "use strict";
@@ -10800,54 +10834,54 @@ var noopTheme = {};
10800
  /* harmony default export */ __webpack_exports__["a"] = (noopTheme);
10801
 
10802
  /***/ }),
10803
- /* 149 */
10804
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10805
 
10806
  "use strict";
10807
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ServerStyleSheets__ = __webpack_require__(381);
10808
  /* unused harmony reexport default */
10809
 
10810
 
10811
  /***/ }),
10812
- /* 150 */
10813
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10814
 
10815
  "use strict";
10816
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__styled__ = __webpack_require__(382);
10817
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__styled__["a"]; });
10818
 
10819
 
10820
  /***/ }),
10821
- /* 151 */
10822
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10823
 
10824
  "use strict";
10825
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ThemeProvider__ = __webpack_require__(383);
10826
  /* unused harmony reexport default */
10827
 
10828
 
10829
  /***/ }),
10830
- /* 152 */
10831
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10832
 
10833
  "use strict";
10834
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withStyles__ = __webpack_require__(384);
10835
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withStyles__["a"]; });
10836
 
10837
 
10838
  /***/ }),
10839
- /* 153 */
10840
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10841
 
10842
  "use strict";
10843
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withTheme__ = __webpack_require__(154);
10844
  /* unused harmony reexport default */
10845
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withTheme__["a"]; });
10846
 
10847
 
10848
 
10849
  /***/ }),
10850
- /* 154 */
10851
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10852
 
10853
  "use strict";
@@ -10928,7 +10962,7 @@ var withTheme = withThemeCreator();
10928
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10929
 
10930
  /***/ }),
10931
- /* 155 */
10932
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10933
 
10934
  "use strict";
@@ -11005,7 +11039,7 @@ function createBreakpoints(breakpoints) {
11005
  }
11006
 
11007
  /***/ }),
11008
- /* 156 */
11009
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11010
 
11011
  "use strict";
@@ -11016,7 +11050,7 @@ var common = {
11016
  /* harmony default export */ __webpack_exports__["a"] = (common);
11017
 
11018
  /***/ }),
11019
- /* 157 */
11020
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11021
 
11022
  "use strict";
@@ -11039,7 +11073,7 @@ var grey = {
11039
  /* harmony default export */ __webpack_exports__["a"] = (grey);
11040
 
11041
  /***/ }),
11042
- /* 158 */
11043
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11044
 
11045
  "use strict";
@@ -11062,7 +11096,7 @@ var indigo = {
11062
  /* harmony default export */ __webpack_exports__["a"] = (indigo);
11063
 
11064
  /***/ }),
11065
- /* 159 */
11066
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11067
 
11068
  "use strict";
@@ -11085,7 +11119,7 @@ var pink = {
11085
  /* harmony default export */ __webpack_exports__["a"] = (pink);
11086
 
11087
  /***/ }),
11088
- /* 160 */
11089
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11090
 
11091
  "use strict";
@@ -11108,7 +11142,7 @@ var red = {
11108
  /* harmony default export */ __webpack_exports__["a"] = (red);
11109
 
11110
  /***/ }),
11111
- /* 161 */
11112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11113
 
11114
  "use strict";
@@ -11131,7 +11165,7 @@ var orange = {
11131
  /* harmony default export */ __webpack_exports__["a"] = (orange);
11132
 
11133
  /***/ }),
11134
- /* 162 */
11135
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11136
 
11137
  "use strict";
@@ -11154,7 +11188,7 @@ var blue = {
11154
  /* harmony default export */ __webpack_exports__["a"] = (blue);
11155
 
11156
  /***/ }),
11157
- /* 163 */
11158
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11159
 
11160
  "use strict";
@@ -11177,44 +11211,44 @@ var green = {
11177
  /* harmony default export */ __webpack_exports__["a"] = (green);
11178
 
11179
  /***/ }),
11180
- /* 164 */
11181
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11182
 
11183
  "use strict";
11184
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__borders__ = __webpack_require__(165);
11185
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__borders__["a"]; });
11186
  /* unused harmony namespace reexport */
11187
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__breakpoints__ = __webpack_require__(99);
11188
  /* unused harmony reexport breakpoints */
11189
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__compose__ = __webpack_require__(31);
11190
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__compose__["a"]; });
11191
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__css__ = __webpack_require__(391);
11192
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__css__["a"]; });
11193
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__display__ = __webpack_require__(392);
11194
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__display__["a"]; });
11195
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__flexbox__ = __webpack_require__(167);
11196
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__flexbox__["a"]; });
11197
  /* unused harmony namespace reexport */
11198
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__grid__ = __webpack_require__(168);
11199
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__grid__["a"]; });
11200
  /* unused harmony namespace reexport */
11201
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__palette__ = __webpack_require__(169);
11202
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__palette__["a"]; });
11203
  /* unused harmony namespace reexport */
11204
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__positions__ = __webpack_require__(170);
11205
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__positions__["a"]; });
11206
  /* unused harmony namespace reexport */
11207
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__shadows__ = __webpack_require__(393);
11208
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__shadows__["a"]; });
11209
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__sizing__ = __webpack_require__(171);
11210
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_10__sizing__["a"]; });
11211
  /* unused harmony namespace reexport */
11212
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__spacing__ = __webpack_require__(172);
11213
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["b"]; });
11214
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["a"]; });
11215
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__style__ = __webpack_require__(26);
11216
  /* unused harmony reexport style */
11217
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__typography__ = __webpack_require__(175);
11218
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_13__typography__["a"]; });
11219
  /* unused harmony namespace reexport */
11220
  /** @license Material-UI v4.9.10
@@ -11246,7 +11280,7 @@ var green = {
11246
 
11247
 
11248
  /***/ }),
11249
- /* 165 */
11250
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11251
 
11252
  "use strict";
@@ -11257,7 +11291,7 @@ var green = {
11257
  /* unused harmony export borderLeft */
11258
  /* unused harmony export borderColor */
11259
  /* unused harmony export borderRadius */
11260
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11261
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11262
 
11263
 
@@ -11307,7 +11341,7 @@ var borders = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(
11307
  /* harmony default export */ __webpack_exports__["a"] = (borders);
11308
 
11309
  /***/ }),
11310
- /* 166 */
11311
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11312
 
11313
  "use strict";
@@ -11319,7 +11353,7 @@ var responsivePropType = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPOR
11319
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
11320
 
11321
  /***/ }),
11322
- /* 167 */
11323
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11324
 
11325
  "use strict";
@@ -11336,7 +11370,7 @@ var responsivePropType = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPOR
11336
  /* unused harmony export alignSelf */
11337
  /* unused harmony export justifyItems */
11338
  /* unused harmony export justifySelf */
11339
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11340
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11341
 
11342
 
@@ -11383,7 +11417,7 @@ var flexbox = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(
11383
  /* harmony default export */ __webpack_exports__["a"] = (flexbox);
11384
 
11385
  /***/ }),
11386
- /* 168 */
11387
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11388
 
11389
  "use strict";
@@ -11399,7 +11433,7 @@ var flexbox = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(
11399
  /* unused harmony export gridTemplateRows */
11400
  /* unused harmony export gridTemplateAreas */
11401
  /* unused harmony export gridArea */
11402
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11403
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11404
 
11405
 
@@ -11443,13 +11477,13 @@ var grid = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(gri
11443
  /* harmony default export */ __webpack_exports__["a"] = (grid);
11444
 
11445
  /***/ }),
11446
- /* 169 */
11447
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11448
 
11449
  "use strict";
11450
  /* unused harmony export color */
11451
  /* unused harmony export bgcolor */
11452
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11453
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11454
 
11455
 
@@ -11466,7 +11500,7 @@ var palette = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(
11466
  /* harmony default export */ __webpack_exports__["a"] = (palette);
11467
 
11468
  /***/ }),
11469
- /* 170 */
11470
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11471
 
11472
  "use strict";
@@ -11476,7 +11510,7 @@ var palette = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(
11476
  /* unused harmony export right */
11477
  /* unused harmony export bottom */
11478
  /* unused harmony export left */
11479
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11480
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11481
 
11482
 
@@ -11502,7 +11536,7 @@ var left = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
11502
  /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(position, zIndex, top, right, bottom, left));
11503
 
11504
  /***/ }),
11505
- /* 171 */
11506
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11507
 
11508
  "use strict";
@@ -11515,7 +11549,7 @@ var left = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
11515
  /* unused harmony export sizeWidth */
11516
  /* unused harmony export sizeHeight */
11517
  /* unused harmony export boxSizing */
11518
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11519
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11520
 
11521
 
@@ -11565,16 +11599,16 @@ var sizing = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(w
11565
  /* harmony default export */ __webpack_exports__["a"] = (sizing);
11566
 
11567
  /***/ }),
11568
- /* 172 */
11569
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11570
 
11571
  "use strict";
11572
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createUnarySpacing;
11573
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(27);
11574
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(166);
11575
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(99);
11576
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__merge__ = __webpack_require__(71);
11577
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__memoize__ = __webpack_require__(395);
11578
 
11579
 
11580
 
@@ -11717,27 +11751,27 @@ spacing.filterProps = spacingKeys;
11717
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
11718
 
11719
  /***/ }),
11720
- /* 173 */
11721
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11722
 
11723
  "use strict";
11724
  /* harmony export (immutable) */ __webpack_exports__["a"] = _arrayWithHoles;
11725
- function _arrayWithHoles(arr) {
11726
- if (Array.isArray(arr)) return arr;
11727
  }
11728
 
11729
  /***/ }),
11730
- /* 174 */
11731
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11732
 
11733
  "use strict";
11734
  /* harmony export (immutable) */ __webpack_exports__["a"] = _nonIterableRest;
11735
- function _nonIterableRest() {
11736
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
11737
  }
11738
 
11739
  /***/ }),
11740
- /* 175 */
11741
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11742
 
11743
  "use strict";
@@ -11748,7 +11782,7 @@ function _nonIterableRest() {
11748
  /* unused harmony export letterSpacing */
11749
  /* unused harmony export lineHeight */
11750
  /* unused harmony export textAlign */
11751
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(26);
11752
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11753
 
11754
 
@@ -11781,7 +11815,7 @@ var typography = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */
11781
  /* harmony default export */ __webpack_exports__["a"] = (typography);
11782
 
11783
  /***/ }),
11784
- /* 176 */
11785
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11786
 
11787
  "use strict";
@@ -11799,7 +11833,7 @@ var zIndex = {
11799
  /* harmony default export */ __webpack_exports__["a"] = (zIndex);
11800
 
11801
  /***/ }),
11802
- /* 177 */
11803
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11804
 
11805
  "use strict";
@@ -11842,13 +11876,13 @@ function memoizeOne(resultFn, isEqual) {
11842
 
11843
 
11844
  /***/ }),
11845
- /* 178 */
11846
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11847
 
11848
  "use strict";
11849
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(179);
11850
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(397);
11851
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(398);
11852
 
11853
 
11854
 
@@ -12063,7 +12097,7 @@ var createCache = function createCache(options) {
12063
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12064
 
12065
  /***/ }),
12066
- /* 179 */
12067
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12068
 
12069
  "use strict";
@@ -12207,14 +12241,14 @@ function () {
12207
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12208
 
12209
  /***/ }),
12210
- /* 180 */
12211
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12212
 
12213
  "use strict";
12214
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
12215
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(400);
12216
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(401);
12217
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(402);
12218
 
12219
 
12220
 
@@ -12541,7 +12575,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
12541
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12542
 
12543
  /***/ }),
12544
- /* 181 */
12545
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12546
 
12547
  "use strict";
@@ -12573,14 +12607,14 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
12573
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return components; });
12574
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
12575
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
12576
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_core__ = __webpack_require__(101);
12577
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom__ = __webpack_require__(10);
12578
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_dom__);
12579
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
12580
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
12581
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(102);
12582
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_css__ = __webpack_require__(53);
12583
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize__ = __webpack_require__(182);
12584
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react_input_autosize__);
12585
 
12586
 
@@ -13867,7 +13901,7 @@ var defaultComponents = function defaultComponents(props) {
13867
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
13868
 
13869
  /***/ }),
13870
- /* 182 */
13871
  /***/ (function(module, exports, __webpack_require__) {
13872
 
13873
  "use strict";
@@ -14141,7 +14175,7 @@ AutosizeInput.defaultProps = {
14141
  exports.default = AutosizeInput;
14142
 
14143
  /***/ }),
14144
- /* 183 */
14145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14146
 
14147
  "use strict";
@@ -14152,12 +14186,12 @@ exports.default = AutosizeInput;
14152
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return mergeStyles; });
14153
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
14154
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
14155
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(177);
14156
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(101);
14157
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(10);
14158
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
14159
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(102);
14160
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__ = __webpack_require__(181);
14161
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(53);
14162
 
14163
 
@@ -16897,16 +16931,16 @@ Select.defaultProps = defaultProps;
16897
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
16898
 
16899
  /***/ }),
16900
- /* 184 */
16901
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
16902
 
16903
  "use strict";
16904
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(415);
16905
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
16906
 
16907
 
16908
  /***/ }),
16909
- /* 185 */
16910
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
16911
 
16912
  "use strict";
@@ -16920,7 +16954,7 @@ Select.defaultProps = defaultProps;
16920
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
16921
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_transition_group__ = __webpack_require__(47);
16922
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_withStyles__ = __webpack_require__(6);
16923
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_transitions__ = __webpack_require__(28);
16924
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__transitions_utils__ = __webpack_require__(48);
16925
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_useTheme__ = __webpack_require__(13);
16926
 
@@ -17200,7 +17234,7 @@ Collapse.muiSupportAuto = true;
17200
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
17201
 
17202
  /***/ }),
17203
- /* 186 */
17204
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17205
 
17206
  "use strict";
@@ -17209,7 +17243,7 @@ Collapse.muiSupportAuto = true;
17209
  });
17210
 
17211
  /***/ }),
17212
- /* 187 */
17213
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17214
 
17215
  "use strict";
@@ -17238,20 +17272,20 @@ var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED
17238
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
17239
 
17240
  /***/ }),
17241
- /* 188 */
17242
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17243
 
17244
  "use strict";
17245
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(24);
17246
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
17247
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(25);
17248
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(67);
17249
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
17250
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
17251
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
17252
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
17253
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(104);
17254
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(422);
17255
 
17256
 
17257
 
@@ -17446,7 +17480,7 @@ TransitionGroup.defaultProps = defaultProps;
17446
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
17447
 
17448
  /***/ }),
17449
- /* 189 */
17450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17451
 
17452
  "use strict";
@@ -17455,17 +17489,17 @@ TransitionGroup.defaultProps = defaultProps;
17455
  /* unused harmony export ENTERING */
17456
  /* unused harmony export ENTERED */
17457
  /* unused harmony export EXITING */
17458
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(24);
17459
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(25);
17460
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
17461
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
17462
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
17463
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
17464
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(10);
17465
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
17466
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(190);
17467
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(191);
17468
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(192);
17469
 
17470
 
17471
 
@@ -18059,7 +18093,7 @@ Transition.EXITING = 4;
18059
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18060
 
18061
  /***/ }),
18062
- /* 190 */
18063
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18064
 
18065
  "use strict";
@@ -18068,7 +18102,7 @@ Transition.EXITING = 4;
18068
  });
18069
 
18070
  /***/ }),
18071
- /* 191 */
18072
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18073
 
18074
  "use strict";
@@ -18097,7 +18131,7 @@ var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED
18097
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18098
 
18099
  /***/ }),
18100
- /* 192 */
18101
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18102
 
18103
  "use strict";
@@ -18107,20 +18141,20 @@ var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED
18107
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
18108
 
18109
  /***/ }),
18110
- /* 193 */
18111
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18112
 
18113
  "use strict";
18114
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(24);
18115
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
18116
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(25);
18117
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(67);
18118
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
18119
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
18120
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
18121
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
18122
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(192);
18123
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(431);
18124
 
18125
 
18126
 
@@ -18315,7 +18349,7 @@ TransitionGroup.defaultProps = defaultProps;
18315
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18316
 
18317
  /***/ }),
18318
- /* 194 */
18319
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18320
 
18321
  "use strict";
@@ -18341,7 +18375,7 @@ function deprecatedPropType(validator, reason) {
18341
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18342
 
18343
  /***/ }),
18344
- /* 195 */
18345
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18346
 
18347
  "use strict";
@@ -18370,7 +18404,7 @@ function requirePropFactory(componentNameInError) {
18370
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18371
 
18372
  /***/ }),
18373
- /* 196 */
18374
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18375
 
18376
  "use strict";
@@ -18381,7 +18415,7 @@ function requirePropFactory(componentNameInError) {
18381
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
18382
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
18383
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_transition_group__ = __webpack_require__(47);
18384
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_transitions__ = __webpack_require__(28);
18385
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_useTheme__ = __webpack_require__(13);
18386
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions_utils__ = __webpack_require__(48);
18387
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_useForkRef__ = __webpack_require__(11);
@@ -18519,7 +18553,7 @@ process.env.NODE_ENV !== "production" ? Fade.propTypes = {
18519
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18520
 
18521
  /***/ }),
18522
- /* 197 */
18523
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18524
 
18525
  "use strict";
@@ -18724,7 +18758,7 @@ Grow.muiSupportAuto = true;
18724
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18725
 
18726
  /***/ }),
18727
- /* 198 */
18728
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18729
 
18730
  "use strict";
@@ -18742,7 +18776,7 @@ Grow.muiSupportAuto = true;
18742
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__material_ui_utils__ = __webpack_require__(7);
18743
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_useForkRef__ = __webpack_require__(11);
18744
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_useTheme__ = __webpack_require__(13);
18745
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__styles_transitions__ = __webpack_require__(28);
18746
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__transitions_utils__ = __webpack_require__(48);
18747
 
18748
 
@@ -19011,7 +19045,7 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes = {
19011
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19012
 
19013
  /***/ }),
19014
- /* 199 */
19015
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19016
 
19017
  "use strict";
@@ -19022,7 +19056,7 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes = {
19022
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
19023
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
19024
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_transition_group__ = __webpack_require__(47);
19025
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_transitions__ = __webpack_require__(28);
19026
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_useTheme__ = __webpack_require__(13);
19027
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions_utils__ = __webpack_require__(48);
19028
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_useForkRef__ = __webpack_require__(11);
@@ -19161,7 +19195,7 @@ process.env.NODE_ENV !== "production" ? Zoom.propTypes = {
19161
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19162
 
19163
  /***/ }),
19164
- /* 200 */
19165
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19166
 
19167
  "use strict";
@@ -19184,7 +19218,7 @@ var styled = function styled(Component) {
19184
  /* harmony default export */ __webpack_exports__["a"] = (styled);
19185
 
19186
  /***/ }),
19187
- /* 201 */
19188
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19189
 
19190
  "use strict";
@@ -19202,20 +19236,38 @@ var styled = function styled(Component) {
19202
  }), 'Close'));
19203
 
19204
  /***/ }),
19205
- /* 202 */
19206
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19207
 
19208
  "use strict";
19209
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AlertTitle__ = __webpack_require__(451);
19210
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AlertTitle__["a"]; });
19211
 
19212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19213
  /***/ }),
19214
  /* 203 */
19215
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19216
 
19217
  "use strict";
19218
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AppBar__ = __webpack_require__(466);
19219
  /* unused harmony reexport default */
19220
 
19221
 
@@ -19224,7 +19276,7 @@ var styled = function styled(Component) {
19224
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19225
 
19226
  "use strict";
19227
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Badge__ = __webpack_require__(470);
19228
  /* unused harmony reexport default */
19229
 
19230
 
@@ -19233,8 +19285,9 @@ var styled = function styled(Component) {
19233
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19234
 
19235
  "use strict";
19236
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigation__ = __webpack_require__(471);
19237
  /* unused harmony reexport default */
 
19238
 
19239
 
19240
  /***/ }),
@@ -19242,7 +19295,7 @@ var styled = function styled(Component) {
19242
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19243
 
19244
  "use strict";
19245
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigationAction__ = __webpack_require__(472);
19246
  /* unused harmony reexport default */
19247
 
19248
 
@@ -19251,9 +19304,8 @@ var styled = function styled(Component) {
19251
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19252
 
19253
  "use strict";
19254
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Box__ = __webpack_require__(473);
19255
  /* unused harmony reexport default */
19256
- /* unused harmony reexport styleFunction */
19257
 
19258
 
19259
  /***/ }),
@@ -19261,7 +19313,7 @@ var styled = function styled(Component) {
19261
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19262
 
19263
  "use strict";
19264
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Breadcrumbs__ = __webpack_require__(474);
19265
  /* unused harmony reexport default */
19266
 
19267
 
@@ -19270,7 +19322,7 @@ var styled = function styled(Component) {
19270
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19271
 
19272
  "use strict";
19273
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonGroup__ = __webpack_require__(479);
19274
  /* unused harmony reexport default */
19275
 
19276
 
@@ -19279,7 +19331,7 @@ var styled = function styled(Component) {
19279
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19280
 
19281
  "use strict";
19282
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Card__ = __webpack_require__(480);
19283
  /* unused harmony reexport default */
19284
 
19285
 
@@ -19288,7 +19340,7 @@ var styled = function styled(Component) {
19288
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19289
 
19290
  "use strict";
19291
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActionArea__ = __webpack_require__(481);
19292
  /* unused harmony reexport default */
19293
 
19294
 
@@ -19297,7 +19349,7 @@ var styled = function styled(Component) {
19297
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19298
 
19299
  "use strict";
19300
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActions__ = __webpack_require__(482);
19301
  /* unused harmony reexport default */
19302
 
19303
 
@@ -19306,7 +19358,7 @@ var styled = function styled(Component) {
19306
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19307
 
19308
  "use strict";
19309
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardContent__ = __webpack_require__(483);
19310
  /* unused harmony reexport default */
19311
 
19312
 
@@ -19315,7 +19367,7 @@ var styled = function styled(Component) {
19315
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19316
 
19317
  "use strict";
19318
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardHeader__ = __webpack_require__(484);
19319
  /* unused harmony reexport default */
19320
 
19321
 
@@ -19324,7 +19376,7 @@ var styled = function styled(Component) {
19324
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19325
 
19326
  "use strict";
19327
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardMedia__ = __webpack_require__(485);
19328
  /* unused harmony reexport default */
19329
 
19330
 
@@ -19333,7 +19385,7 @@ var styled = function styled(Component) {
19333
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19334
 
19335
  "use strict";
19336
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Checkbox__ = __webpack_require__(486);
19337
  /* unused harmony reexport default */
19338
 
19339
 
@@ -19342,7 +19394,7 @@ var styled = function styled(Component) {
19342
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19343
 
19344
  "use strict";
19345
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CircularProgress__ = __webpack_require__(492);
19346
  /* unused harmony reexport default */
19347
 
19348
 
@@ -19351,7 +19403,7 @@ var styled = function styled(Component) {
19351
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19352
 
19353
  "use strict";
19354
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Container__ = __webpack_require__(494);
19355
  /* unused harmony reexport default */
19356
 
19357
 
@@ -19359,32 +19411,14 @@ var styled = function styled(Component) {
19359
  /* 219 */
19360
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19361
 
19362
- "use strict";
19363
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CssBaseline__ = __webpack_require__(495);
19364
- /* unused harmony reexport default */
19365
-
19366
-
19367
- /***/ }),
19368
- /* 220 */
19369
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
19370
-
19371
- "use strict";
19372
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Dialog__ = __webpack_require__(496);
19373
- /* unused harmony reexport default */
19374
-
19375
-
19376
- /***/ }),
19377
- /* 221 */
19378
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
19379
-
19380
  "use strict";
19381
  /* harmony export (immutable) */ __webpack_exports__["a"] = ariaHidden;
19382
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ModalManager; });
19383
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(97);
19384
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_createClass__ = __webpack_require__(66);
19385
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(18);
19386
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_getScrollbarSize__ = __webpack_require__(222);
19387
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__ = __webpack_require__(29);
19388
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_ownerWindow__ = __webpack_require__(56);
19389
 
19390
 
@@ -19640,7 +19674,7 @@ var ModalManager = /*#__PURE__*/function () {
19640
 
19641
 
19642
  /***/ }),
19643
- /* 222 */
19644
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19645
 
19646
  "use strict";
@@ -19661,70 +19695,70 @@ function getScrollbarSize() {
19661
  }
19662
 
19663
  /***/ }),
19664
- /* 223 */
19665
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19666
 
19667
  "use strict";
19668
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogActions__ = __webpack_require__(501);
19669
  /* unused harmony reexport default */
19670
 
19671
 
19672
  /***/ }),
19673
- /* 224 */
19674
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19675
 
19676
  "use strict";
19677
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContent__ = __webpack_require__(502);
19678
  /* unused harmony reexport default */
19679
 
19680
 
19681
  /***/ }),
19682
- /* 225 */
19683
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19684
 
19685
  "use strict";
19686
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContentText__ = __webpack_require__(503);
19687
  /* unused harmony reexport default */
19688
 
19689
 
19690
  /***/ }),
19691
- /* 226 */
19692
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19693
 
19694
  "use strict";
19695
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogTitle__ = __webpack_require__(504);
19696
  /* unused harmony reexport default */
19697
 
19698
 
19699
  /***/ }),
19700
- /* 227 */
19701
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19702
 
19703
  "use strict";
19704
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Divider__ = __webpack_require__(505);
19705
  /* unused harmony reexport default */
19706
 
19707
 
19708
  /***/ }),
19709
- /* 228 */
19710
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19711
 
19712
  "use strict";
19713
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Drawer__ = __webpack_require__(111);
19714
  /* unused harmony reexport default */
19715
 
19716
 
19717
  /***/ }),
19718
- /* 229 */
19719
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19720
 
19721
  "use strict";
19722
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanel__ = __webpack_require__(506);
19723
  /* unused harmony reexport default */
19724
 
19725
 
19726
  /***/ }),
19727
- /* 230 */
19728
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19729
 
19730
  "use strict";
@@ -19746,88 +19780,88 @@ if (process.env.NODE_ENV !== 'production') {
19746
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19747
 
19748
  /***/ }),
19749
- /* 231 */
19750
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19751
 
19752
  "use strict";
19753
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelActions__ = __webpack_require__(508);
19754
  /* unused harmony reexport default */
19755
 
19756
 
19757
  /***/ }),
19758
- /* 232 */
19759
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19760
 
19761
  "use strict";
19762
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelDetails__ = __webpack_require__(509);
19763
  /* unused harmony reexport default */
19764
 
19765
 
19766
  /***/ }),
19767
- /* 233 */
19768
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19769
 
19770
  "use strict";
19771
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelSummary__ = __webpack_require__(510);
19772
  /* unused harmony reexport default */
19773
 
19774
 
19775
  /***/ }),
19776
- /* 234 */
19777
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19778
 
19779
  "use strict";
19780
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControlLabel__ = __webpack_require__(516);
19781
  /* unused harmony reexport default */
19782
 
19783
 
19784
  /***/ }),
19785
- /* 235 */
19786
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19787
 
19788
  "use strict";
19789
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grid__ = __webpack_require__(520);
19790
  /* unused harmony reexport default */
19791
 
19792
 
19793
  /***/ }),
19794
- /* 236 */
19795
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19796
 
19797
  "use strict";
19798
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridList__ = __webpack_require__(521);
19799
  /* unused harmony reexport default */
19800
 
19801
 
19802
  /***/ }),
19803
- /* 237 */
19804
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19805
 
19806
  "use strict";
19807
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTile__ = __webpack_require__(522);
19808
  /* unused harmony reexport default */
19809
 
19810
 
19811
  /***/ }),
19812
- /* 238 */
19813
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19814
 
19815
  "use strict";
19816
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTileBar__ = __webpack_require__(523);
19817
  /* unused harmony reexport default */
19818
 
19819
 
19820
  /***/ }),
19821
- /* 239 */
19822
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19823
 
19824
  "use strict";
19825
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Hidden__ = __webpack_require__(524);
19826
  /* unused harmony reexport default */
19827
 
19828
 
19829
  /***/ }),
19830
- /* 240 */
19831
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19832
 
19833
  "use strict";
@@ -19845,8 +19879,8 @@ if (process.env.NODE_ENV !== 'production') {
19845
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_hoist_non_react_statics__ = __webpack_require__(70);
19846
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_hoist_non_react_statics__);
19847
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styles_useTheme__ = __webpack_require__(13);
19848
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_createBreakpoints__ = __webpack_require__(155);
19849
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__useMediaQuery__ = __webpack_require__(117);
19850
 
19851
 
19852
 
@@ -19978,70 +20012,70 @@ var withWidth = function withWidth() {
19978
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19979
 
19980
  /***/ }),
19981
- /* 241 */
19982
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19983
 
19984
  "use strict";
19985
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputAdornment__ = __webpack_require__(529);
19986
  /* unused harmony reexport default */
19987
 
19988
 
19989
  /***/ }),
19990
- /* 242 */
19991
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19992
 
19993
  "use strict";
19994
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Link__ = __webpack_require__(532);
19995
  /* unused harmony reexport default */
19996
 
19997
 
19998
  /***/ }),
19999
- /* 243 */
20000
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20001
 
20002
  "use strict";
20003
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemAvatar__ = __webpack_require__(535);
20004
  /* unused harmony reexport default */
20005
 
20006
 
20007
  /***/ }),
20008
- /* 244 */
20009
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20010
 
20011
  "use strict";
20012
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemIcon__ = __webpack_require__(536);
20013
  /* unused harmony reexport default */
20014
 
20015
 
20016
  /***/ }),
20017
- /* 245 */
20018
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20019
 
20020
  "use strict";
20021
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemSecondaryAction__ = __webpack_require__(537);
20022
  /* unused harmony reexport default */
20023
 
20024
 
20025
  /***/ }),
20026
- /* 246 */
20027
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20028
 
20029
  "use strict";
20030
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemText__ = __webpack_require__(538);
20031
  /* unused harmony reexport default */
20032
 
20033
 
20034
  /***/ }),
20035
- /* 247 */
20036
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20037
 
20038
  "use strict";
20039
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Menu__ = __webpack_require__(248);
20040
  /* unused harmony reexport default */
20041
 
20042
 
20043
  /***/ }),
20044
- /* 248 */
20045
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20046
 
20047
  "use strict";
@@ -20056,8 +20090,8 @@ var withWidth = function withWidth() {
20056
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
20057
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
20058
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_withStyles__ = __webpack_require__(6);
20059
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Popover__ = __webpack_require__(123);
20060
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__MenuList__ = __webpack_require__(124);
20061
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_dom__ = __webpack_require__(10);
20062
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_dom__);
20063
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_setRef__ = __webpack_require__(39);
@@ -20335,25 +20369,25 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
20335
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20336
 
20337
  /***/ }),
20338
- /* 249 */
20339
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20340
 
20341
  "use strict";
20342
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MobileStepper__ = __webpack_require__(543);
20343
  /* unused harmony reexport default */
20344
 
20345
 
20346
  /***/ }),
20347
- /* 250 */
20348
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20349
 
20350
  "use strict";
20351
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NativeSelect__ = __webpack_require__(251);
20352
  /* unused harmony reexport default */
20353
 
20354
 
20355
  /***/ }),
20356
- /* 251 */
20357
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20358
 
20359
  "use strict";
@@ -20364,11 +20398,11 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
20364
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
20365
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
20366
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
20367
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__ = __webpack_require__(252);
20368
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_withStyles__ = __webpack_require__(6);
20369
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__FormControl_formControlState__ = __webpack_require__(51);
20370
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__FormControl_useFormControl__ = __webpack_require__(42);
20371
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__internal_svg_icons_ArrowDropDown__ = __webpack_require__(253);
20372
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Input__ = __webpack_require__(61);
20373
 
20374
 
@@ -20576,7 +20610,7 @@ NativeSelect.muiName = 'Select';
20576
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20577
 
20578
  /***/ }),
20579
- /* 252 */
20580
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20581
 
20582
  "use strict";
@@ -20685,7 +20719,7 @@ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
20685
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20686
 
20687
  /***/ }),
20688
- /* 253 */
20689
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20690
 
20691
  "use strict";
@@ -20703,23 +20737,23 @@ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
20703
  }), 'ArrowDropDown'));
20704
 
20705
  /***/ }),
20706
- /* 254 */
20707
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20708
 
20709
  "use strict";
20710
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Radio__ = __webpack_require__(550);
20711
  /* unused harmony reexport default */
20712
 
20713
 
20714
  /***/ }),
20715
- /* 255 */
20716
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20717
 
20718
  "use strict";
20719
  /* harmony export (immutable) */ __webpack_exports__["a"] = useRadioGroup;
20720
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
20721
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
20722
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__RadioGroupContext__ = __webpack_require__(256);
20723
 
20724
 
20725
  function useRadioGroup() {
@@ -20727,7 +20761,7 @@ function useRadioGroup() {
20727
  }
20728
 
20729
  /***/ }),
20730
- /* 256 */
20731
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20732
 
20733
  "use strict";
@@ -20748,23 +20782,41 @@ if (process.env.NODE_ENV !== 'production') {
20748
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20749
 
20750
  /***/ }),
20751
- /* 257 */
20752
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20753
 
20754
  "use strict";
20755
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RadioGroup__ = __webpack_require__(554);
20756
  /* unused harmony reexport default */
20757
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useRadioGroup__ = __webpack_require__(255);
20758
  /* unused harmony reexport useRadioGroup */
20759
 
20760
 
20761
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20762
  /***/ }),
20763
  /* 258 */
20764
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20765
 
20766
  "use strict";
20767
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RootRef__ = __webpack_require__(555);
20768
  /* unused harmony reexport default */
20769
 
20770
 
@@ -20773,7 +20825,7 @@ if (process.env.NODE_ENV !== 'production') {
20773
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20774
 
20775
  "use strict";
20776
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slider__ = __webpack_require__(562);
20777
  /* unused harmony reexport default */
20778
 
20779
 
@@ -20782,7 +20834,7 @@ if (process.env.NODE_ENV !== 'production') {
20782
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20783
 
20784
  "use strict";
20785
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Snackbar__ = __webpack_require__(564);
20786
  /* unused harmony reexport default */
20787
 
20788
 
@@ -20791,7 +20843,7 @@ if (process.env.NODE_ENV !== 'production') {
20791
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20792
 
20793
  "use strict";
20794
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Step__ = __webpack_require__(566);
20795
  /* unused harmony reexport default */
20796
 
20797
 
@@ -20800,7 +20852,7 @@ if (process.env.NODE_ENV !== 'production') {
20800
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20801
 
20802
  "use strict";
20803
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepButton__ = __webpack_require__(567);
20804
  /* unused harmony reexport default */
20805
 
20806
 
@@ -20809,7 +20861,7 @@ if (process.env.NODE_ENV !== 'production') {
20809
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20810
 
20811
  "use strict";
20812
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepContent__ = __webpack_require__(573);
20813
  /* unused harmony reexport default */
20814
 
20815
 
@@ -20818,7 +20870,7 @@ if (process.env.NODE_ENV !== 'production') {
20818
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20819
 
20820
  "use strict";
20821
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Stepper__ = __webpack_require__(574);
20822
  /* unused harmony reexport default */
20823
 
20824
 
@@ -20827,7 +20879,7 @@ if (process.env.NODE_ENV !== 'production') {
20827
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20828
 
20829
  "use strict";
20830
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SwipeableDrawer__ = __webpack_require__(575);
20831
  /* unused harmony reexport default */
20832
 
20833
 
@@ -20836,7 +20888,7 @@ if (process.env.NODE_ENV !== 'production') {
20836
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20837
 
20838
  "use strict";
20839
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Switch__ = __webpack_require__(577);
20840
  /* unused harmony reexport default */
20841
 
20842
 
@@ -20844,24 +20896,6 @@ if (process.env.NODE_ENV !== 'production') {
20844
  /* 267 */
20845
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20846
 
20847
- "use strict";
20848
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tab__ = __webpack_require__(578);
20849
- /* unused harmony reexport default */
20850
-
20851
-
20852
- /***/ }),
20853
- /* 268 */
20854
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
20855
-
20856
- "use strict";
20857
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Table__ = __webpack_require__(579);
20858
- /* unused harmony reexport default */
20859
-
20860
-
20861
- /***/ }),
20862
- /* 269 */
20863
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
20864
-
20865
  "use strict";
20866
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
20867
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
@@ -20880,52 +20914,52 @@ if (process.env.NODE_ENV !== 'production') {
20880
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20881
 
20882
  /***/ }),
20883
- /* 270 */
20884
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20885
 
20886
  "use strict";
20887
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableBody__ = __webpack_require__(580);
20888
  /* unused harmony reexport default */
20889
 
20890
 
20891
  /***/ }),
20892
- /* 271 */
20893
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20894
 
20895
  "use strict";
20896
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableContainer__ = __webpack_require__(582);
20897
  /* unused harmony reexport default */
20898
 
20899
 
20900
  /***/ }),
20901
- /* 272 */
20902
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20903
 
20904
  "use strict";
20905
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableFooter__ = __webpack_require__(583);
20906
  /* unused harmony reexport default */
20907
 
20908
 
20909
  /***/ }),
20910
- /* 273 */
20911
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20912
 
20913
  "use strict";
20914
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableHead__ = __webpack_require__(584);
20915
  /* unused harmony reexport default */
20916
 
20917
 
20918
  /***/ }),
20919
- /* 274 */
20920
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20921
 
20922
  "use strict";
20923
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TablePagination__ = __webpack_require__(585);
20924
  /* unused harmony reexport default */
20925
 
20926
 
20927
  /***/ }),
20928
- /* 275 */
20929
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20930
 
20931
  "use strict";
@@ -20943,7 +20977,7 @@ if (process.env.NODE_ENV !== 'production') {
20943
  }), 'KeyboardArrowLeft'));
20944
 
20945
  /***/ }),
20946
- /* 276 */
20947
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20948
 
20949
  "use strict";
@@ -20961,109 +20995,109 @@ if (process.env.NODE_ENV !== 'production') {
20961
  }), 'KeyboardArrowRight'));
20962
 
20963
  /***/ }),
20964
- /* 277 */
20965
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20966
 
20967
  "use strict";
20968
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableRow__ = __webpack_require__(588);
20969
  /* unused harmony reexport default */
20970
 
20971
 
20972
  /***/ }),
20973
- /* 278 */
20974
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20975
 
20976
  "use strict";
20977
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableSortLabel__ = __webpack_require__(589);
20978
  /* unused harmony reexport default */
20979
 
20980
 
20981
  /***/ }),
20982
- /* 279 */
20983
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20984
 
20985
  "use strict";
20986
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tabs__ = __webpack_require__(591);
20987
  /* unused harmony reexport default */
20988
 
20989
 
20990
  /***/ }),
20991
- /* 280 */
20992
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20993
 
20994
  "use strict";
20995
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextField__ = __webpack_require__(597);
20996
  /* unused harmony reexport default */
20997
 
20998
 
20999
  /***/ }),
21000
- /* 281 */
21001
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21002
 
21003
  "use strict";
21004
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useScrollTrigger__ = __webpack_require__(599);
21005
  /* unused harmony reexport default */
21006
 
21007
 
21008
  /***/ }),
21009
- /* 282 */
21010
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21011
 
21012
  "use strict";
21013
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withMobileDialog__ = __webpack_require__(600);
21014
  /* unused harmony reexport default */
21015
 
21016
 
21017
  /***/ }),
21018
- /* 283 */
21019
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21020
 
21021
  "use strict";
21022
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Autocomplete__ = __webpack_require__(601);
21023
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["b"]; });
21024
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["a"]; });
21025
 
21026
 
21027
  /***/ }),
21028
- /* 284 */
21029
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21030
 
21031
  "use strict";
21032
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__ = __webpack_require__(603);
21033
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["b"]; });
21034
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["a"]; });
21035
 
21036
 
21037
  /***/ }),
21038
- /* 285 */
21039
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21040
 
21041
  "use strict";
21042
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__ = __webpack_require__(604);
21043
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__["a"]; });
21044
 
21045
 
21046
  /***/ }),
21047
- /* 286 */
21048
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21049
 
21050
  "use strict";
21051
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Pagination__ = __webpack_require__(605);
21052
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Pagination__["a"]; });
21053
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__usePagination__ = __webpack_require__(287);
21054
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__usePagination__["a"]; });
21055
 
21056
 
21057
 
21058
  /***/ }),
21059
- /* 287 */
21060
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21061
 
21062
  "use strict";
21063
  /* harmony export (immutable) */ __webpack_exports__["a"] = usePagination;
21064
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
21065
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(18);
21066
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(27);
21067
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
21068
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_core_utils__ = __webpack_require__(9);
21069
 
@@ -21192,79 +21226,79 @@ function usePagination() {
21192
  }
21193
 
21194
  /***/ }),
21195
- /* 288 */
21196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21197
 
21198
  "use strict";
21199
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Rating__ = __webpack_require__(611);
21200
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Rating__["a"]; });
21201
 
21202
 
21203
  /***/ }),
21204
- /* 289 */
21205
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21206
 
21207
  "use strict";
21208
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Skeleton__ = __webpack_require__(613);
21209
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Skeleton__["a"]; });
21210
 
21211
 
21212
  /***/ }),
21213
- /* 290 */
21214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21215
 
21216
  "use strict";
21217
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDial__ = __webpack_require__(614);
21218
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDial__["a"]; });
21219
 
21220
 
21221
  /***/ }),
21222
- /* 291 */
21223
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21224
 
21225
  "use strict";
21226
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__ = __webpack_require__(615);
21227
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__["a"]; });
21228
 
21229
 
21230
  /***/ }),
21231
- /* 292 */
21232
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21233
 
21234
  "use strict";
21235
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__ = __webpack_require__(616);
21236
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__["a"]; });
21237
 
21238
 
21239
  /***/ }),
21240
- /* 293 */
21241
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21242
 
21243
  "use strict";
21244
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ToggleButton__ = __webpack_require__(618);
21245
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ToggleButton__["a"]; });
21246
 
21247
 
21248
  /***/ }),
21249
- /* 294 */
21250
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21251
 
21252
  "use strict";
21253
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ToggleButtonGroup__ = __webpack_require__(619);
21254
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ToggleButtonGroup__["a"]; });
21255
 
21256
 
21257
  /***/ }),
21258
- /* 295 */
21259
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21260
 
21261
  "use strict";
21262
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TreeItem__ = __webpack_require__(621);
21263
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TreeItem__["a"]; });
21264
 
21265
 
21266
  /***/ }),
21267
- /* 296 */
21268
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21269
 
21270
  "use strict";
@@ -21285,16 +21319,16 @@ if (process.env.NODE_ENV !== 'production') {
21285
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
21286
 
21287
  /***/ }),
21288
- /* 297 */
21289
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21290
 
21291
  "use strict";
21292
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TreeView__ = __webpack_require__(622);
21293
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TreeView__["a"]; });
21294
 
21295
 
21296
  /***/ }),
21297
- /* 298 */
21298
  /***/ (function(module, exports, __webpack_require__) {
21299
 
21300
  "use strict";
@@ -21308,11 +21342,11 @@ var _reactRouterDom = __webpack_require__(33);
21308
 
21309
  var _queryString = _interopRequireDefault(__webpack_require__(23));
21310
 
21311
- var _QuadsAdCreateRouter = _interopRequireDefault(__webpack_require__(140));
21312
 
21313
- __webpack_require__(411);
21314
 
21315
- var _QuadsAdmin = _interopRequireDefault(__webpack_require__(412));
21316
 
21317
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21318
 
@@ -21384,38556 +21418,38062 @@ var QuadsAdRootComponent = /*#__PURE__*/function (_Component) {
21384
  _reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(QuadsAdRootComponent, null), document.getElementById('quads-ad-content'));
21385
 
21386
  /***/ }),
21387
- /* 299 */
21388
  /***/ (function(module, exports, __webpack_require__) {
21389
 
21390
  "use strict";
21391
- /** @license React v16.12.0
21392
- * react.production.min.js
21393
- *
21394
- * Copyright (c) Facebook, Inc. and its affiliates.
21395
- *
21396
- * This source code is licensed under the MIT license found in the
21397
- * LICENSE file in the root directory of this source tree.
21398
- */
21399
-
21400
- var h=__webpack_require__(43),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;n&&Symbol.for("react.suspense_list");
21401
- 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;
21402
- 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={};
21403
- 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;
21404
- 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};
21405
- 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}}
21406
- 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}}
21407
- function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
21408
- 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=
21409
- 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++)}
21410
- 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}
21411
- 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,
21412
- _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,
21413
- 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;
21414
- 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",
21415
- __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;
21416
 
21417
 
21418
  /***/ }),
21419
- /* 300 */
21420
  /***/ (function(module, exports, __webpack_require__) {
21421
 
21422
  "use strict";
21423
- /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.12.0
21424
- * react.development.js
21425
- *
21426
- * Copyright (c) Facebook, Inc. and its affiliates.
21427
- *
21428
- * This source code is licensed under the MIT license found in the
21429
- * LICENSE file in the root directory of this source tree.
21430
- */
21431
-
21432
-
21433
-
21434
-
21435
-
21436
- if (process.env.NODE_ENV !== "production") {
21437
- (function() {
21438
- 'use strict';
21439
-
21440
- var _assign = __webpack_require__(43);
21441
- var checkPropTypes = __webpack_require__(87);
21442
-
21443
- // TODO: this is special because it gets imported during build.
21444
-
21445
- var ReactVersion = '16.12.0';
21446
-
21447
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
21448
- // nor polyfill, then a plain number is used for performance.
21449
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
21450
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
21451
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
21452
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
21453
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
21454
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
21455
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
21456
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
21457
- // (unstable) APIs that have been removed. Can we remove the symbols?
21458
-
21459
-
21460
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
21461
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
21462
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
21463
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
21464
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
21465
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
21466
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
21467
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
21468
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
21469
- var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
21470
- var FAUX_ITERATOR_SYMBOL = '@@iterator';
21471
- function getIteratorFn(maybeIterable) {
21472
- if (maybeIterable === null || typeof maybeIterable !== 'object') {
21473
- return null;
21474
- }
21475
-
21476
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
21477
-
21478
- if (typeof maybeIterator === 'function') {
21479
- return maybeIterator;
21480
- }
21481
-
21482
- return null;
21483
- }
21484
-
21485
- // Do not require this module directly! Use normal `invariant` calls with
21486
- // template literal strings. The messages will be replaced with error codes
21487
- // during build.
21488
-
21489
- /**
21490
- * Use invariant() to assert state which your program assumes to be true.
21491
- *
21492
- * Provide sprintf-style format (only %s is supported) and arguments
21493
- * to provide information about what broke and what you were
21494
- * expecting.
21495
- *
21496
- * The invariant message will be stripped in production, but the invariant
21497
- * will remain to ensure logic does not differ in production.
21498
- */
21499
-
21500
- /**
21501
- * Forked from fbjs/warning:
21502
- * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
21503
- *
21504
- * Only change is we use console.warn instead of console.error,
21505
- * and do nothing when 'console' is not supported.
21506
- * This really simplifies the code.
21507
- * ---
21508
- * Similar to invariant but only logs a warning if the condition is not met.
21509
- * This can be used to log issues in development environments in critical
21510
- * paths. Removing the logging code for production environments will keep the
21511
- * same logic and follow the same code paths.
21512
- */
21513
- var lowPriorityWarningWithoutStack = function () {};
21514
-
21515
- {
21516
- var printWarning = function (format) {
21517
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
21518
- args[_key - 1] = arguments[_key];
21519
- }
21520
-
21521
- var argIndex = 0;
21522
- var message = 'Warning: ' + format.replace(/%s/g, function () {
21523
- return args[argIndex++];
21524
- });
21525
-
21526
- if (typeof console !== 'undefined') {
21527
- console.warn(message);
21528
- }
21529
-
21530
- try {
21531
- // --- Welcome to debugging React ---
21532
- // This error was thrown as a convenience so that you can use this stack
21533
- // to find the callsite that caused this warning to fire.
21534
- throw new Error(message);
21535
- } catch (x) {}
21536
- };
21537
-
21538
- lowPriorityWarningWithoutStack = function (condition, format) {
21539
- if (format === undefined) {
21540
- throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
21541
- }
21542
-
21543
- if (!condition) {
21544
- for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
21545
- args[_key2 - 2] = arguments[_key2];
21546
- }
21547
-
21548
- printWarning.apply(void 0, [format].concat(args));
21549
- }
21550
- };
21551
- }
21552
-
21553
- var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
21554
-
21555
- /**
21556
- * Similar to invariant but only logs a warning if the condition is not met.
21557
- * This can be used to log issues in development environments in critical
21558
- * paths. Removing the logging code for production environments will keep the
21559
- * same logic and follow the same code paths.
21560
- */
21561
- var warningWithoutStack = function () {};
21562
-
21563
- {
21564
- warningWithoutStack = function (condition, format) {
21565
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
21566
- args[_key - 2] = arguments[_key];
21567
- }
21568
-
21569
- if (format === undefined) {
21570
- throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
21571
- }
21572
-
21573
- if (args.length > 8) {
21574
- // Check before the condition to catch violations early.
21575
- throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
21576
- }
21577
-
21578
- if (condition) {
21579
- return;
21580
- }
21581
-
21582
- if (typeof console !== 'undefined') {
21583
- var argsWithFormat = args.map(function (item) {
21584
- return '' + item;
21585
- });
21586
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
21587
- // breaks IE9: https://github.com/facebook/react/issues/13610
21588
-
21589
- Function.prototype.apply.call(console.error, console, argsWithFormat);
21590
- }
21591
-
21592
- try {
21593
- // --- Welcome to debugging React ---
21594
- // This error was thrown as a convenience so that you can use this stack
21595
- // to find the callsite that caused this warning to fire.
21596
- var argIndex = 0;
21597
- var message = 'Warning: ' + format.replace(/%s/g, function () {
21598
- return args[argIndex++];
21599
- });
21600
- throw new Error(message);
21601
- } catch (x) {}
21602
- };
21603
- }
21604
-
21605
- var warningWithoutStack$1 = warningWithoutStack;
21606
-
21607
- var didWarnStateUpdateForUnmountedComponent = {};
21608
-
21609
- function warnNoop(publicInstance, callerName) {
21610
- {
21611
- var _constructor = publicInstance.constructor;
21612
- var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
21613
- var warningKey = componentName + "." + callerName;
21614
-
21615
- if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
21616
- return;
21617
- }
21618
-
21619
- warningWithoutStack$1(false, "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);
21620
- didWarnStateUpdateForUnmountedComponent[warningKey] = true;
21621
- }
21622
- }
21623
- /**
21624
- * This is the abstract API for an update queue.
21625
- */
21626
-
21627
-
21628
- var ReactNoopUpdateQueue = {
21629
- /**
21630
- * Checks whether or not this composite component is mounted.
21631
- * @param {ReactClass} publicInstance The instance we want to test.
21632
- * @return {boolean} True if mounted, false otherwise.
21633
- * @protected
21634
- * @final
21635
- */
21636
- isMounted: function (publicInstance) {
21637
- return false;
21638
- },
21639
-
21640
- /**
21641
- * Forces an update. This should only be invoked when it is known with
21642
- * certainty that we are **not** in a DOM transaction.
21643
- *
21644
- * You may want to call this when you know that some deeper aspect of the
21645
- * component's state has changed but `setState` was not called.
21646
- *
21647
- * This will not invoke `shouldComponentUpdate`, but it will invoke
21648
- * `componentWillUpdate` and `componentDidUpdate`.
21649
- *
21650
- * @param {ReactClass} publicInstance The instance that should rerender.
21651
- * @param {?function} callback Called after component is updated.
21652
- * @param {?string} callerName name of the calling function in the public API.
21653
- * @internal
21654
- */
21655
- enqueueForceUpdate: function (publicInstance, callback, callerName) {
21656
- warnNoop(publicInstance, 'forceUpdate');
21657
- },
21658
-
21659
- /**
21660
- * Replaces all of the state. Always use this or `setState` to mutate state.
21661
- * You should treat `this.state` as immutable.
21662
- *
21663
- * There is no guarantee that `this.state` will be immediately updated, so
21664
- * accessing `this.state` after calling this method may return the old value.
21665
- *
21666
- * @param {ReactClass} publicInstance The instance that should rerender.
21667
- * @param {object} completeState Next state.
21668
- * @param {?function} callback Called after component is updated.
21669
- * @param {?string} callerName name of the calling function in the public API.
21670
- * @internal
21671
- */
21672
- enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
21673
- warnNoop(publicInstance, 'replaceState');
21674
- },
21675
-
21676
- /**
21677
- * Sets a subset of the state. This only exists because _pendingState is
21678
- * internal. This provides a merging strategy that is not available to deep
21679
- * properties which is confusing. TODO: Expose pendingState or don't use it
21680
- * during the merge.
21681
- *
21682
- * @param {ReactClass} publicInstance The instance that should rerender.
21683
- * @param {object} partialState Next partial state to be merged with state.
21684
- * @param {?function} callback Called after component is updated.
21685
- * @param {?string} Name of the calling function in the public API.
21686
- * @internal
21687
- */
21688
- enqueueSetState: function (publicInstance, partialState, callback, callerName) {
21689
- warnNoop(publicInstance, 'setState');
21690
- }
21691
- };
21692
-
21693
- var emptyObject = {};
21694
-
21695
- {
21696
- Object.freeze(emptyObject);
21697
- }
21698
- /**
21699
- * Base class helpers for the updating state of a component.
21700
- */
21701
-
21702
-
21703
- function Component(props, context, updater) {
21704
- this.props = props;
21705
- this.context = context; // If a component has string refs, we will assign a different object later.
21706
-
21707
- this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the
21708
- // renderer.
21709
-
21710
- this.updater = updater || ReactNoopUpdateQueue;
21711
- }
21712
-
21713
- Component.prototype.isReactComponent = {};
21714
- /**
21715
- * Sets a subset of the state. Always use this to mutate
21716
- * state. You should treat `this.state` as immutable.
21717
- *
21718
- * There is no guarantee that `this.state` will be immediately updated, so
21719
- * accessing `this.state` after calling this method may return the old value.
21720
- *
21721
- * There is no guarantee that calls to `setState` will run synchronously,
21722
- * as they may eventually be batched together. You can provide an optional
21723
- * callback that will be executed when the call to setState is actually
21724
- * completed.
21725
- *
21726
- * When a function is provided to setState, it will be called at some point in
21727
- * the future (not synchronously). It will be called with the up to date
21728
- * component arguments (state, props, context). These values can be different
21729
- * from this.* because your function may be called after receiveProps but before
21730
- * shouldComponentUpdate, and this new state, props, and context will not yet be
21731
- * assigned to this.
21732
- *
21733
- * @param {object|function} partialState Next partial state or function to
21734
- * produce next partial state to be merged with current state.
21735
- * @param {?function} callback Called after state is updated.
21736
- * @final
21737
- * @protected
21738
- */
21739
-
21740
- Component.prototype.setState = function (partialState, callback) {
21741
- if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) {
21742
- {
21743
- throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
21744
- }
21745
- }
21746
-
21747
- this.updater.enqueueSetState(this, partialState, callback, 'setState');
21748
- };
21749
- /**
21750
- * Forces an update. This should only be invoked when it is known with
21751
- * certainty that we are **not** in a DOM transaction.
21752
- *
21753
- * You may want to call this when you know that some deeper aspect of the
21754
- * component's state has changed but `setState` was not called.
21755
- *
21756
- * This will not invoke `shouldComponentUpdate`, but it will invoke
21757
- * `componentWillUpdate` and `componentDidUpdate`.
21758
- *
21759
- * @param {?function} callback Called after update is complete.
21760
- * @final
21761
- * @protected
21762
- */
21763
-
21764
-
21765
- Component.prototype.forceUpdate = function (callback) {
21766
- this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
21767
- };
21768
- /**
21769
- * Deprecated APIs. These APIs used to exist on classic React classes but since
21770
- * we would like to deprecate them, we're not going to move them over to this
21771
- * modern base class. Instead, we define a getter that warns if it's accessed.
21772
- */
21773
-
21774
-
21775
- {
21776
- var deprecatedAPIs = {
21777
- isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
21778
- replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
21779
- };
21780
-
21781
- var defineDeprecationWarning = function (methodName, info) {
21782
- Object.defineProperty(Component.prototype, methodName, {
21783
- get: function () {
21784
- lowPriorityWarningWithoutStack$1(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
21785
- return undefined;
21786
- }
21787
- });
21788
- };
21789
-
21790
- for (var fnName in deprecatedAPIs) {
21791
- if (deprecatedAPIs.hasOwnProperty(fnName)) {
21792
- defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
21793
- }
21794
- }
21795
- }
21796
-
21797
- function ComponentDummy() {}
21798
-
21799
- ComponentDummy.prototype = Component.prototype;
21800
- /**
21801
- * Convenience component with default shallow equality check for sCU.
21802
- */
21803
-
21804
- function PureComponent(props, context, updater) {
21805
- this.props = props;
21806
- this.context = context; // If a component has string refs, we will assign a different object later.
21807
-
21808
- this.refs = emptyObject;
21809
- this.updater = updater || ReactNoopUpdateQueue;
21810
- }
21811
-
21812
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
21813
- pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.
21814
-
21815
- _assign(pureComponentPrototype, Component.prototype);
21816
-
21817
- pureComponentPrototype.isPureReactComponent = true;
21818
-
21819
- // an immutable object with a single mutable value
21820
- function createRef() {
21821
- var refObject = {
21822
- current: null
21823
- };
21824
-
21825
- {
21826
- Object.seal(refObject);
21827
- }
21828
-
21829
- return refObject;
21830
- }
21831
-
21832
- /**
21833
- * Keeps track of the current dispatcher.
21834
- */
21835
- var ReactCurrentDispatcher = {
21836
- /**
21837
- * @internal
21838
- * @type {ReactComponent}
21839
- */
21840
- current: null
21841
- };
21842
-
21843
- /**
21844
- * Keeps track of the current batch's configuration such as how long an update
21845
- * should suspend for if it needs to.
21846
- */
21847
- var ReactCurrentBatchConfig = {
21848
- suspense: null
21849
- };
21850
-
21851
- /**
21852
- * Keeps track of the current owner.
21853
- *
21854
- * The current owner is the component who should own any components that are
21855
- * currently being constructed.
21856
- */
21857
- var ReactCurrentOwner = {
21858
- /**
21859
- * @internal
21860
- * @type {ReactComponent}
21861
- */
21862
- current: null
21863
- };
21864
-
21865
- var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
21866
- var describeComponentFrame = function (name, source, ownerName) {
21867
- var sourceInfo = '';
21868
-
21869
- if (source) {
21870
- var path = source.fileName;
21871
- var fileName = path.replace(BEFORE_SLASH_RE, '');
21872
-
21873
- {
21874
- // In DEV, include code for a common special case:
21875
- // prefer "folder/index.js" instead of just "index.js".
21876
- if (/^index\./.test(fileName)) {
21877
- var match = path.match(BEFORE_SLASH_RE);
21878
-
21879
- if (match) {
21880
- var pathBeforeSlash = match[1];
21881
-
21882
- if (pathBeforeSlash) {
21883
- var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
21884
- fileName = folderName + '/' + fileName;
21885
- }
21886
- }
21887
- }
21888
- }
21889
-
21890
- sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
21891
- } else if (ownerName) {
21892
- sourceInfo = ' (created by ' + ownerName + ')';
21893
- }
21894
-
21895
- return '\n in ' + (name || 'Unknown') + sourceInfo;
21896
- };
21897
-
21898
- var Resolved = 1;
21899
-
21900
- function refineResolvedLazyComponent(lazyComponent) {
21901
- return lazyComponent._status === Resolved ? lazyComponent._result : null;
21902
- }
21903
-
21904
- function getWrappedName(outerType, innerType, wrapperName) {
21905
- var functionName = innerType.displayName || innerType.name || '';
21906
- return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
21907
- }
21908
-
21909
- function getComponentName(type) {
21910
- if (type == null) {
21911
- // Host root, text node or just invalid type.
21912
- return null;
21913
- }
21914
-
21915
- {
21916
- if (typeof type.tag === 'number') {
21917
- warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
21918
- }
21919
- }
21920
-
21921
- if (typeof type === 'function') {
21922
- return type.displayName || type.name || null;
21923
- }
21924
-
21925
- if (typeof type === 'string') {
21926
- return type;
21927
- }
21928
-
21929
- switch (type) {
21930
- case REACT_FRAGMENT_TYPE:
21931
- return 'Fragment';
21932
-
21933
- case REACT_PORTAL_TYPE:
21934
- return 'Portal';
21935
-
21936
- case REACT_PROFILER_TYPE:
21937
- return "Profiler";
21938
-
21939
- case REACT_STRICT_MODE_TYPE:
21940
- return 'StrictMode';
21941
-
21942
- case REACT_SUSPENSE_TYPE:
21943
- return 'Suspense';
21944
-
21945
- case REACT_SUSPENSE_LIST_TYPE:
21946
- return 'SuspenseList';
21947
- }
21948
-
21949
- if (typeof type === 'object') {
21950
- switch (type.$$typeof) {
21951
- case REACT_CONTEXT_TYPE:
21952
- return 'Context.Consumer';
21953
-
21954
- case REACT_PROVIDER_TYPE:
21955
- return 'Context.Provider';
21956
-
21957
- case REACT_FORWARD_REF_TYPE:
21958
- return getWrappedName(type, type.render, 'ForwardRef');
21959
-
21960
- case REACT_MEMO_TYPE:
21961
- return getComponentName(type.type);
21962
-
21963
- case REACT_LAZY_TYPE:
21964
- {
21965
- var thenable = type;
21966
- var resolvedThenable = refineResolvedLazyComponent(thenable);
21967
-
21968
- if (resolvedThenable) {
21969
- return getComponentName(resolvedThenable);
21970
- }
21971
-
21972
- break;
21973
- }
21974
- }
21975
- }
21976
-
21977
- return null;
21978
- }
21979
-
21980
- var ReactDebugCurrentFrame = {};
21981
- var currentlyValidatingElement = null;
21982
- function setCurrentlyValidatingElement(element) {
21983
- {
21984
- currentlyValidatingElement = element;
21985
- }
21986
- }
21987
-
21988
- {
21989
- // Stack implementation injected by the current renderer.
21990
- ReactDebugCurrentFrame.getCurrentStack = null;
21991
-
21992
- ReactDebugCurrentFrame.getStackAddendum = function () {
21993
- var stack = ''; // Add an extra top frame while an element is being validated
21994
-
21995
- if (currentlyValidatingElement) {
21996
- var name = getComponentName(currentlyValidatingElement.type);
21997
- var owner = currentlyValidatingElement._owner;
21998
- stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
21999
- } // Delegate to the injected renderer-specific implementation
22000
-
22001
-
22002
- var impl = ReactDebugCurrentFrame.getCurrentStack;
22003
-
22004
- if (impl) {
22005
- stack += impl() || '';
22006
- }
22007
-
22008
- return stack;
22009
- };
22010
- }
22011
-
22012
- /**
22013
- * Used by act() to track whether you're inside an act() scope.
22014
- */
22015
- var IsSomeRendererActing = {
22016
- current: false
22017
- };
22018
-
22019
- var ReactSharedInternals = {
22020
- ReactCurrentDispatcher: ReactCurrentDispatcher,
22021
- ReactCurrentBatchConfig: ReactCurrentBatchConfig,
22022
- ReactCurrentOwner: ReactCurrentOwner,
22023
- IsSomeRendererActing: IsSomeRendererActing,
22024
- // Used by renderers to avoid bundling object-assign twice in UMD bundles:
22025
- assign: _assign
22026
- };
22027
-
22028
- {
22029
- _assign(ReactSharedInternals, {
22030
- // These should not be included in production.
22031
- ReactDebugCurrentFrame: ReactDebugCurrentFrame,
22032
- // Shim for React DOM 16.0.0 which still destructured (but not used) this.
22033
- // TODO: remove in React 17.0.
22034
- ReactComponentTreeHook: {}
22035
- });
22036
- }
22037
-
22038
- /**
22039
- * Similar to invariant but only logs a warning if the condition is not met.
22040
- * This can be used to log issues in development environments in critical
22041
- * paths. Removing the logging code for production environments will keep the
22042
- * same logic and follow the same code paths.
22043
- */
22044
-
22045
- var warning = warningWithoutStack$1;
22046
-
22047
- {
22048
- warning = function (condition, format) {
22049
- if (condition) {
22050
- return;
22051
- }
22052
-
22053
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
22054
- var stack = ReactDebugCurrentFrame.getStackAddendum(); // eslint-disable-next-line react-internal/warning-and-invariant-args
22055
-
22056
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
22057
- args[_key - 2] = arguments[_key];
22058
- }
22059
-
22060
- warningWithoutStack$1.apply(void 0, [false, format + '%s'].concat(args, [stack]));
22061
- };
22062
- }
22063
-
22064
- var warning$1 = warning;
22065
-
22066
- var hasOwnProperty = Object.prototype.hasOwnProperty;
22067
- var RESERVED_PROPS = {
22068
- key: true,
22069
- ref: true,
22070
- __self: true,
22071
- __source: true
22072
- };
22073
- var specialPropKeyWarningShown;
22074
- var specialPropRefWarningShown;
22075
-
22076
- function hasValidRef(config) {
22077
- {
22078
- if (hasOwnProperty.call(config, 'ref')) {
22079
- var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
22080
-
22081
- if (getter && getter.isReactWarning) {
22082
- return false;
22083
- }
22084
- }
22085
- }
22086
-
22087
- return config.ref !== undefined;
22088
- }
22089
-
22090
- function hasValidKey(config) {
22091
- {
22092
- if (hasOwnProperty.call(config, 'key')) {
22093
- var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
22094
-
22095
- if (getter && getter.isReactWarning) {
22096
- return false;
22097
- }
22098
- }
22099
- }
22100
-
22101
- return config.key !== undefined;
22102
- }
22103
-
22104
- function defineKeyPropWarningGetter(props, displayName) {
22105
- var warnAboutAccessingKey = function () {
22106
- if (!specialPropKeyWarningShown) {
22107
- specialPropKeyWarningShown = true;
22108
- 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);
22109
- }
22110
- };
22111
-
22112
- warnAboutAccessingKey.isReactWarning = true;
22113
- Object.defineProperty(props, 'key', {
22114
- get: warnAboutAccessingKey,
22115
- configurable: true
22116
- });
22117
- }
22118
-
22119
- function defineRefPropWarningGetter(props, displayName) {
22120
- var warnAboutAccessingRef = function () {
22121
- if (!specialPropRefWarningShown) {
22122
- specialPropRefWarningShown = true;
22123
- 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);
22124
- }
22125
- };
22126
-
22127
- warnAboutAccessingRef.isReactWarning = true;
22128
- Object.defineProperty(props, 'ref', {
22129
- get: warnAboutAccessingRef,
22130
- configurable: true
22131
- });
22132
- }
22133
- /**
22134
- * Factory method to create a new React element. This no longer adheres to
22135
- * the class pattern, so do not use new to call it. Also, instanceof check
22136
- * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
22137
- * if something is a React Element.
22138
- *
22139
- * @param {*} type
22140
- * @param {*} props
22141
- * @param {*} key
22142
- * @param {string|object} ref
22143
- * @param {*} owner
22144
- * @param {*} self A *temporary* helper to detect places where `this` is
22145
- * different from the `owner` when React.createElement is called, so that we
22146
- * can warn. We want to get rid of owner and replace string `ref`s with arrow
22147
- * functions, and as long as `this` and owner are the same, there will be no
22148
- * change in behavior.
22149
- * @param {*} source An annotation object (added by a transpiler or otherwise)
22150
- * indicating filename, line number, and/or other information.
22151
- * @internal
22152
- */
22153
-
22154
-
22155
- var ReactElement = function (type, key, ref, self, source, owner, props) {
22156
- var element = {
22157
- // This tag allows us to uniquely identify this as a React Element
22158
- $$typeof: REACT_ELEMENT_TYPE,
22159
- // Built-in properties that belong on the element
22160
- type: type,
22161
- key: key,
22162
- ref: ref,
22163
- props: props,
22164
- // Record the component responsible for creating this element.
22165
- _owner: owner
22166
- };
22167
-
22168
- {
22169
- // The validation flag is currently mutative. We put it on
22170
- // an external backing store so that we can freeze the whole object.
22171
- // This can be replaced with a WeakMap once they are implemented in
22172
- // commonly used development environments.
22173
- element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
22174
- // the validation flag non-enumerable (where possible, which should
22175
- // include every environment we run tests in), so the test framework
22176
- // ignores it.
22177
-
22178
- Object.defineProperty(element._store, 'validated', {
22179
- configurable: false,
22180
- enumerable: false,
22181
- writable: true,
22182
- value: false
22183
- }); // self and source are DEV only properties.
22184
-
22185
- Object.defineProperty(element, '_self', {
22186
- configurable: false,
22187
- enumerable: false,
22188
- writable: false,
22189
- value: self
22190
- }); // Two elements created in two different places should be considered
22191
- // equal for testing purposes and therefore we hide it from enumeration.
22192
-
22193
- Object.defineProperty(element, '_source', {
22194
- configurable: false,
22195
- enumerable: false,
22196
- writable: false,
22197
- value: source
22198
- });
22199
-
22200
- if (Object.freeze) {
22201
- Object.freeze(element.props);
22202
- Object.freeze(element);
22203
- }
22204
- }
22205
-
22206
- return element;
22207
- };
22208
- /**
22209
- * https://github.com/reactjs/rfcs/pull/107
22210
- * @param {*} type
22211
- * @param {object} props
22212
- * @param {string} key
22213
- */
22214
-
22215
-
22216
-
22217
- /**
22218
- * https://github.com/reactjs/rfcs/pull/107
22219
- * @param {*} type
22220
- * @param {object} props
22221
- * @param {string} key
22222
- */
22223
-
22224
- function jsxDEV(type, config, maybeKey, source, self) {
22225
- var propName; // Reserved names are extracted
22226
-
22227
- var props = {};
22228
- var key = null;
22229
- var ref = null; // Currently, key can be spread in as a prop. This causes a potential
22230
- // issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
22231
- // or <div key="Hi" {...props} /> ). We want to deprecate key spread,
22232
- // but as an intermediary step, we will use jsxDEV for everything except
22233
- // <div {...props} key="Hi" />, because we aren't currently able to tell if
22234
- // key is explicitly declared to be undefined or not.
22235
-
22236
- if (maybeKey !== undefined) {
22237
- key = '' + maybeKey;
22238
- }
22239
-
22240
- if (hasValidKey(config)) {
22241
- key = '' + config.key;
22242
- }
22243
-
22244
- if (hasValidRef(config)) {
22245
- ref = config.ref;
22246
- } // Remaining properties are added to a new props object
22247
-
22248
-
22249
- for (propName in config) {
22250
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
22251
- props[propName] = config[propName];
22252
- }
22253
- } // Resolve default props
22254
-
22255
-
22256
- if (type && type.defaultProps) {
22257
- var defaultProps = type.defaultProps;
22258
-
22259
- for (propName in defaultProps) {
22260
- if (props[propName] === undefined) {
22261
- props[propName] = defaultProps[propName];
22262
- }
22263
- }
22264
- }
22265
-
22266
- if (key || ref) {
22267
- var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
22268
-
22269
- if (key) {
22270
- defineKeyPropWarningGetter(props, displayName);
22271
- }
22272
-
22273
- if (ref) {
22274
- defineRefPropWarningGetter(props, displayName);
22275
- }
22276
- }
22277
-
22278
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
22279
- }
22280
- /**
22281
- * Create and return a new ReactElement of the given type.
22282
- * See https://reactjs.org/docs/react-api.html#createelement
22283
- */
22284
-
22285
- function createElement(type, config, children) {
22286
- var propName; // Reserved names are extracted
22287
-
22288
- var props = {};
22289
- var key = null;
22290
- var ref = null;
22291
- var self = null;
22292
- var source = null;
22293
-
22294
- if (config != null) {
22295
- if (hasValidRef(config)) {
22296
- ref = config.ref;
22297
- }
22298
-
22299
- if (hasValidKey(config)) {
22300
- key = '' + config.key;
22301
- }
22302
-
22303
- self = config.__self === undefined ? null : config.__self;
22304
- source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object
22305
-
22306
- for (propName in config) {
22307
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
22308
- props[propName] = config[propName];
22309
- }
22310
- }
22311
- } // Children can be more than one argument, and those are transferred onto
22312
- // the newly allocated props object.
22313
-
22314
-
22315
- var childrenLength = arguments.length - 2;
22316
-
22317
- if (childrenLength === 1) {
22318
- props.children = children;
22319
- } else if (childrenLength > 1) {
22320
- var childArray = Array(childrenLength);
22321
-
22322
- for (var i = 0; i < childrenLength; i++) {
22323
- childArray[i] = arguments[i + 2];
22324
- }
22325
-
22326
- {
22327
- if (Object.freeze) {
22328
- Object.freeze(childArray);
22329
- }
22330
- }
22331
-
22332
- props.children = childArray;
22333
- } // Resolve default props
22334
-
22335
-
22336
- if (type && type.defaultProps) {
22337
- var defaultProps = type.defaultProps;
22338
-
22339
- for (propName in defaultProps) {
22340
- if (props[propName] === undefined) {
22341
- props[propName] = defaultProps[propName];
22342
- }
22343
- }
22344
- }
22345
-
22346
- {
22347
- if (key || ref) {
22348
- var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
22349
-
22350
- if (key) {
22351
- defineKeyPropWarningGetter(props, displayName);
22352
- }
22353
-
22354
- if (ref) {
22355
- defineRefPropWarningGetter(props, displayName);
22356
- }
22357
- }
22358
- }
22359
-
22360
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
22361
- }
22362
- /**
22363
- * Return a function that produces ReactElements of a given type.
22364
- * See https://reactjs.org/docs/react-api.html#createfactory
22365
- */
22366
-
22367
-
22368
- function cloneAndReplaceKey(oldElement, newKey) {
22369
- var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
22370
- return newElement;
22371
- }
22372
- /**
22373
- * Clone and return a new ReactElement using element as the starting point.
22374
- * See https://reactjs.org/docs/react-api.html#cloneelement
22375
- */
22376
-
22377
- function cloneElement(element, config, children) {
22378
- if (!!(element === null || element === undefined)) {
22379
- {
22380
- throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
22381
- }
22382
- }
22383
-
22384
- var propName; // Original props are copied
22385
-
22386
- var props = _assign({}, element.props); // Reserved names are extracted
22387
-
22388
-
22389
- var key = element.key;
22390
- var ref = element.ref; // Self is preserved since the owner is preserved.
22391
-
22392
- var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a
22393
- // transpiler, and the original source is probably a better indicator of the
22394
- // true owner.
22395
-
22396
- var source = element._source; // Owner will be preserved, unless ref is overridden
22397
-
22398
- var owner = element._owner;
22399
-
22400
- if (config != null) {
22401
- if (hasValidRef(config)) {
22402
- // Silently steal the ref from the parent.
22403
- ref = config.ref;
22404
- owner = ReactCurrentOwner.current;
22405
- }
22406
-
22407
- if (hasValidKey(config)) {
22408
- key = '' + config.key;
22409
- } // Remaining properties override existing props
22410
-
22411
-
22412
- var defaultProps;
22413
-
22414
- if (element.type && element.type.defaultProps) {
22415
- defaultProps = element.type.defaultProps;
22416
- }
22417
-
22418
- for (propName in config) {
22419
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
22420
- if (config[propName] === undefined && defaultProps !== undefined) {
22421
- // Resolve default props
22422
- props[propName] = defaultProps[propName];
22423
- } else {
22424
- props[propName] = config[propName];
22425
- }
22426
- }
22427
- }
22428
- } // Children can be more than one argument, and those are transferred onto
22429
- // the newly allocated props object.
22430
-
22431
-
22432
- var childrenLength = arguments.length - 2;
22433
-
22434
- if (childrenLength === 1) {
22435
- props.children = children;
22436
- } else if (childrenLength > 1) {
22437
- var childArray = Array(childrenLength);
22438
-
22439
- for (var i = 0; i < childrenLength; i++) {
22440
- childArray[i] = arguments[i + 2];
22441
- }
22442
-
22443
- props.children = childArray;
22444
- }
22445
-
22446
- return ReactElement(element.type, key, ref, self, source, owner, props);
22447
- }
22448
- /**
22449
- * Verifies the object is a ReactElement.
22450
- * See https://reactjs.org/docs/react-api.html#isvalidelement
22451
- * @param {?object} object
22452
- * @return {boolean} True if `object` is a ReactElement.
22453
- * @final
22454
- */
22455
-
22456
- function isValidElement(object) {
22457
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
22458
- }
22459
-
22460
- var SEPARATOR = '.';
22461
- var SUBSEPARATOR = ':';
22462
- /**
22463
- * Escape and wrap key so it is safe to use as a reactid
22464
- *
22465
- * @param {string} key to be escaped.
22466
- * @return {string} the escaped key.
22467
- */
22468
-
22469
- function escape(key) {
22470
- var escapeRegex = /[=:]/g;
22471
- var escaperLookup = {
22472
- '=': '=0',
22473
- ':': '=2'
22474
- };
22475
- var escapedString = ('' + key).replace(escapeRegex, function (match) {
22476
- return escaperLookup[match];
22477
- });
22478
- return '$' + escapedString;
22479
- }
22480
- /**
22481
- * TODO: Test that a single child and an array with one item have the same key
22482
- * pattern.
22483
- */
22484
-
22485
-
22486
- var didWarnAboutMaps = false;
22487
- var userProvidedKeyEscapeRegex = /\/+/g;
22488
-
22489
- function escapeUserProvidedKey(text) {
22490
- return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
22491
- }
22492
-
22493
- var POOL_SIZE = 10;
22494
- var traverseContextPool = [];
22495
-
22496
- function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) {
22497
- if (traverseContextPool.length) {
22498
- var traverseContext = traverseContextPool.pop();
22499
- traverseContext.result = mapResult;
22500
- traverseContext.keyPrefix = keyPrefix;
22501
- traverseContext.func = mapFunction;
22502
- traverseContext.context = mapContext;
22503
- traverseContext.count = 0;
22504
- return traverseContext;
22505
- } else {
22506
- return {
22507
- result: mapResult,
22508
- keyPrefix: keyPrefix,
22509
- func: mapFunction,
22510
- context: mapContext,
22511
- count: 0
22512
- };
22513
- }
22514
- }
22515
-
22516
- function releaseTraverseContext(traverseContext) {
22517
- traverseContext.result = null;
22518
- traverseContext.keyPrefix = null;
22519
- traverseContext.func = null;
22520
- traverseContext.context = null;
22521
- traverseContext.count = 0;
22522
-
22523
- if (traverseContextPool.length < POOL_SIZE) {
22524
- traverseContextPool.push(traverseContext);
22525
- }
22526
- }
22527
- /**
22528
- * @param {?*} children Children tree container.
22529
- * @param {!string} nameSoFar Name of the key path so far.
22530
- * @param {!function} callback Callback to invoke with each child found.
22531
- * @param {?*} traverseContext Used to pass information throughout the traversal
22532
- * process.
22533
- * @return {!number} The number of children in this subtree.
22534
- */
22535
-
22536
-
22537
- function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {
22538
- var type = typeof children;
22539
-
22540
- if (type === 'undefined' || type === 'boolean') {
22541
- // All of the above are perceived as null.
22542
- children = null;
22543
- }
22544
-
22545
- var invokeCallback = false;
22546
-
22547
- if (children === null) {
22548
- invokeCallback = true;
22549
- } else {
22550
- switch (type) {
22551
- case 'string':
22552
- case 'number':
22553
- invokeCallback = true;
22554
- break;
22555
-
22556
- case 'object':
22557
- switch (children.$$typeof) {
22558
- case REACT_ELEMENT_TYPE:
22559
- case REACT_PORTAL_TYPE:
22560
- invokeCallback = true;
22561
- }
22562
-
22563
- }
22564
- }
22565
-
22566
- if (invokeCallback) {
22567
- callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array
22568
- // so that it's consistent if the number of children grows.
22569
- nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);
22570
- return 1;
22571
- }
22572
-
22573
- var child;
22574
- var nextName;
22575
- var subtreeCount = 0; // Count of children found in the current subtree.
22576
-
22577
- var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
22578
-
22579
- if (Array.isArray(children)) {
22580
- for (var i = 0; i < children.length; i++) {
22581
- child = children[i];
22582
- nextName = nextNamePrefix + getComponentKey(child, i);
22583
- subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
22584
- }
22585
- } else {
22586
- var iteratorFn = getIteratorFn(children);
22587
-
22588
- if (typeof iteratorFn === 'function') {
22589
- {
22590
- // Warn about using Maps as children
22591
- if (iteratorFn === children.entries) {
22592
- !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;
22593
- didWarnAboutMaps = true;
22594
- }
22595
- }
22596
-
22597
- var iterator = iteratorFn.call(children);
22598
- var step;
22599
- var ii = 0;
22600
-
22601
- while (!(step = iterator.next()).done) {
22602
- child = step.value;
22603
- nextName = nextNamePrefix + getComponentKey(child, ii++);
22604
- subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
22605
- }
22606
- } else if (type === 'object') {
22607
- var addendum = '';
22608
-
22609
- {
22610
- addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum();
22611
- }
22612
-
22613
- var childrenString = '' + children;
22614
-
22615
- {
22616
- {
22617
- throw Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum);
22618
- }
22619
- }
22620
- }
22621
- }
22622
-
22623
- return subtreeCount;
22624
- }
22625
- /**
22626
- * Traverses children that are typically specified as `props.children`, but
22627
- * might also be specified through attributes:
22628
- *
22629
- * - `traverseAllChildren(this.props.children, ...)`
22630
- * - `traverseAllChildren(this.props.leftPanelChildren, ...)`
22631
- *
22632
- * The `traverseContext` is an optional argument that is passed through the
22633
- * entire traversal. It can be used to store accumulations or anything else that
22634
- * the callback might find relevant.
22635
- *
22636
- * @param {?*} children Children tree object.
22637
- * @param {!function} callback To invoke upon traversing each child.
22638
- * @param {?*} traverseContext Context for traversal.
22639
- * @return {!number} The number of children in this subtree.
22640
- */
22641
-
22642
-
22643
- function traverseAllChildren(children, callback, traverseContext) {
22644
- if (children == null) {
22645
- return 0;
22646
- }
22647
-
22648
- return traverseAllChildrenImpl(children, '', callback, traverseContext);
22649
- }
22650
- /**
22651
- * Generate a key string that identifies a component within a set.
22652
- *
22653
- * @param {*} component A component that could contain a manual key.
22654
- * @param {number} index Index that is used if a manual key is not provided.
22655
- * @return {string}
22656
- */
22657
-
22658
-
22659
- function getComponentKey(component, index) {
22660
- // Do some typechecking here since we call this blindly. We want to ensure
22661
- // that we don't block potential future ES APIs.
22662
- if (typeof component === 'object' && component !== null && component.key != null) {
22663
- // Explicit key
22664
- return escape(component.key);
22665
- } // Implicit key determined by the index in the set
22666
-
22667
-
22668
- return index.toString(36);
22669
- }
22670
-
22671
- function forEachSingleChild(bookKeeping, child, name) {
22672
- var func = bookKeeping.func,
22673
- context = bookKeeping.context;
22674
- func.call(context, child, bookKeeping.count++);
22675
- }
22676
- /**
22677
- * Iterates through children that are typically specified as `props.children`.
22678
- *
22679
- * See https://reactjs.org/docs/react-api.html#reactchildrenforeach
22680
- *
22681
- * The provided forEachFunc(child, index) will be called for each
22682
- * leaf child.
22683
- *
22684
- * @param {?*} children Children tree container.
22685
- * @param {function(*, int)} forEachFunc
22686
- * @param {*} forEachContext Context for forEachContext.
22687
- */
22688
-
22689
-
22690
- function forEachChildren(children, forEachFunc, forEachContext) {
22691
- if (children == null) {
22692
- return children;
22693
- }
22694
-
22695
- var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext);
22696
- traverseAllChildren(children, forEachSingleChild, traverseContext);
22697
- releaseTraverseContext(traverseContext);
22698
- }
22699
-
22700
- function mapSingleChildIntoContext(bookKeeping, child, childKey) {
22701
- var result = bookKeeping.result,
22702
- keyPrefix = bookKeeping.keyPrefix,
22703
- func = bookKeeping.func,
22704
- context = bookKeeping.context;
22705
- var mappedChild = func.call(context, child, bookKeeping.count++);
22706
-
22707
- if (Array.isArray(mappedChild)) {
22708
- mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) {
22709
- return c;
22710
- });
22711
- } else if (mappedChild != null) {
22712
- if (isValidElement(mappedChild)) {
22713
- mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
22714
- // traverseAllChildren used to do for objects as children
22715
- keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);
22716
- }
22717
-
22718
- result.push(mappedChild);
22719
- }
22720
- }
22721
-
22722
- function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {
22723
- var escapedPrefix = '';
22724
-
22725
- if (prefix != null) {
22726
- escapedPrefix = escapeUserProvidedKey(prefix) + '/';
22727
- }
22728
-
22729
- var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context);
22730
- traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);
22731
- releaseTraverseContext(traverseContext);
22732
- }
22733
- /**
22734
- * Maps children that are typically specified as `props.children`.
22735
- *
22736
- * See https://reactjs.org/docs/react-api.html#reactchildrenmap
22737
- *
22738
- * The provided mapFunction(child, key, index) will be called for each
22739
- * leaf child.
22740
- *
22741
- * @param {?*} children Children tree container.
22742
- * @param {function(*, int)} func The map function.
22743
- * @param {*} context Context for mapFunction.
22744
- * @return {object} Object containing the ordered map of results.
22745
- */
22746
-
22747
-
22748
- function mapChildren(children, func, context) {
22749
- if (children == null) {
22750
- return children;
22751
- }
22752
-
22753
- var result = [];
22754
- mapIntoWithKeyPrefixInternal(children, result, null, func, context);
22755
- return result;
22756
- }
22757
- /**
22758
- * Count the number of children that are typically specified as
22759
- * `props.children`.
22760
- *
22761
- * See https://reactjs.org/docs/react-api.html#reactchildrencount
22762
- *
22763
- * @param {?*} children Children tree container.
22764
- * @return {number} The number of children.
22765
- */
22766
-
22767
-
22768
- function countChildren(children) {
22769
- return traverseAllChildren(children, function () {
22770
- return null;
22771
- }, null);
22772
- }
22773
- /**
22774
- * Flatten a children object (typically specified as `props.children`) and
22775
- * return an array with appropriately re-keyed children.
22776
- *
22777
- * See https://reactjs.org/docs/react-api.html#reactchildrentoarray
22778
- */
22779
-
22780
-
22781
- function toArray(children) {
22782
- var result = [];
22783
- mapIntoWithKeyPrefixInternal(children, result, null, function (child) {
22784
- return child;
22785
- });
22786
- return result;
22787
- }
22788
- /**
22789
- * Returns the first child in a collection of children and verifies that there
22790
- * is only one child in the collection.
22791
- *
22792
- * See https://reactjs.org/docs/react-api.html#reactchildrenonly
22793
- *
22794
- * The current implementation of this function assumes that a single child gets
22795
- * passed without a wrapper, but the purpose of this helper function is to
22796
- * abstract away the particular structure of children.
22797
- *
22798
- * @param {?object} children Child collection structure.
22799
- * @return {ReactElement} The first and only `ReactElement` contained in the
22800
- * structure.
22801
- */
22802
-
22803
-
22804
- function onlyChild(children) {
22805
- if (!isValidElement(children)) {
22806
- {
22807
- throw Error("React.Children.only expected to receive a single React element child.");
22808
- }
22809
- }
22810
-
22811
- return children;
22812
- }
22813
-
22814
- function createContext(defaultValue, calculateChangedBits) {
22815
- if (calculateChangedBits === undefined) {
22816
- calculateChangedBits = null;
22817
- } else {
22818
- {
22819
- !(calculateChangedBits === null || typeof calculateChangedBits === 'function') ? warningWithoutStack$1(false, 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits) : void 0;
22820
- }
22821
- }
22822
-
22823
- var context = {
22824
- $$typeof: REACT_CONTEXT_TYPE,
22825
- _calculateChangedBits: calculateChangedBits,
22826
- // As a workaround to support multiple concurrent renderers, we categorize
22827
- // some renderers as primary and others as secondary. We only expect
22828
- // there to be two concurrent renderers at most: React Native (primary) and
22829
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
22830
- // Secondary renderers store their context values on separate fields.
22831
- _currentValue: defaultValue,
22832
- _currentValue2: defaultValue,
22833
- // Used to track how many concurrent renderers this context currently
22834
- // supports within in a single renderer. Such as parallel server rendering.
22835
- _threadCount: 0,
22836
- // These are circular
22837
- Provider: null,
22838
- Consumer: null
22839
- };
22840
- context.Provider = {
22841
- $$typeof: REACT_PROVIDER_TYPE,
22842
- _context: context
22843
- };
22844
- var hasWarnedAboutUsingNestedContextConsumers = false;
22845
- var hasWarnedAboutUsingConsumerProvider = false;
22846
-
22847
- {
22848
- // A separate object, but proxies back to the original context object for
22849
- // backwards compatibility. It has a different $$typeof, so we can properly
22850
- // warn for the incorrect usage of Context as a Consumer.
22851
- var Consumer = {
22852
- $$typeof: REACT_CONTEXT_TYPE,
22853
- _context: context,
22854
- _calculateChangedBits: context._calculateChangedBits
22855
- }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
22856
-
22857
- Object.defineProperties(Consumer, {
22858
- Provider: {
22859
- get: function () {
22860
- if (!hasWarnedAboutUsingConsumerProvider) {
22861
- hasWarnedAboutUsingConsumerProvider = true;
22862
- 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?');
22863
- }
22864
-
22865
- return context.Provider;
22866
- },
22867
- set: function (_Provider) {
22868
- context.Provider = _Provider;
22869
- }
22870
- },
22871
- _currentValue: {
22872
- get: function () {
22873
- return context._currentValue;
22874
- },
22875
- set: function (_currentValue) {
22876
- context._currentValue = _currentValue;
22877
- }
22878
- },
22879
- _currentValue2: {
22880
- get: function () {
22881
- return context._currentValue2;
22882
- },
22883
- set: function (_currentValue2) {
22884
- context._currentValue2 = _currentValue2;
22885
- }
22886
- },
22887
- _threadCount: {
22888
- get: function () {
22889
- return context._threadCount;
22890
- },
22891
- set: function (_threadCount) {
22892
- context._threadCount = _threadCount;
22893
- }
22894
- },
22895
- Consumer: {
22896
- get: function () {
22897
- if (!hasWarnedAboutUsingNestedContextConsumers) {
22898
- hasWarnedAboutUsingNestedContextConsumers = true;
22899
- 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?');
22900
- }
22901
-
22902
- return context.Consumer;
22903
- }
22904
- }
22905
- }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
22906
-
22907
- context.Consumer = Consumer;
22908
- }
22909
-
22910
- {
22911
- context._currentRenderer = null;
22912
- context._currentRenderer2 = null;
22913
- }
22914
-
22915
- return context;
22916
- }
22917
-
22918
- function lazy(ctor) {
22919
- var lazyType = {
22920
- $$typeof: REACT_LAZY_TYPE,
22921
- _ctor: ctor,
22922
- // React uses these fields to store the result.
22923
- _status: -1,
22924
- _result: null
22925
- };
22926
-
22927
- {
22928
- // In production, this would just set it on the object.
22929
- var defaultProps;
22930
- var propTypes;
22931
- Object.defineProperties(lazyType, {
22932
- defaultProps: {
22933
- configurable: true,
22934
- get: function () {
22935
- return defaultProps;
22936
- },
22937
- set: function (newDefaultProps) {
22938
- 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.');
22939
- defaultProps = newDefaultProps; // Match production behavior more closely:
22940
-
22941
- Object.defineProperty(lazyType, 'defaultProps', {
22942
- enumerable: true
22943
- });
22944
- }
22945
- },
22946
- propTypes: {
22947
- configurable: true,
22948
- get: function () {
22949
- return propTypes;
22950
- },
22951
- set: function (newPropTypes) {
22952
- 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.');
22953
- propTypes = newPropTypes; // Match production behavior more closely:
22954
-
22955
- Object.defineProperty(lazyType, 'propTypes', {
22956
- enumerable: true
22957
- });
22958
- }
22959
- }
22960
- });
22961
- }
22962
-
22963
- return lazyType;
22964
- }
22965
-
22966
- function forwardRef(render) {
22967
- {
22968
- if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
22969
- warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
22970
- } else if (typeof render !== 'function') {
22971
- warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
22972
- } else {
22973
- !( // Do not warn for 0 arguments because it could be due to usage of the 'arguments' object
22974
- 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;
22975
- }
22976
-
22977
- if (render != null) {
22978
- !(render.defaultProps == null && render.propTypes == null) ? warningWithoutStack$1(false, 'forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?') : void 0;
22979
- }
22980
- }
22981
-
22982
- return {
22983
- $$typeof: REACT_FORWARD_REF_TYPE,
22984
- render: render
22985
- };
22986
- }
22987
-
22988
- function isValidElementType(type) {
22989
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
22990
- 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);
22991
- }
22992
-
22993
- function memo(type, compare) {
22994
- {
22995
- if (!isValidElementType(type)) {
22996
- warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
22997
- }
22998
- }
22999
-
23000
- return {
23001
- $$typeof: REACT_MEMO_TYPE,
23002
- type: type,
23003
- compare: compare === undefined ? null : compare
23004
- };
23005
- }
23006
-
23007
- function resolveDispatcher() {
23008
- var dispatcher = ReactCurrentDispatcher.current;
23009
-
23010
- if (!(dispatcher !== null)) {
23011
- {
23012
- 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.");
23013
- }
23014
- }
23015
-
23016
- return dispatcher;
23017
- }
23018
-
23019
- function useContext(Context, unstable_observedBits) {
23020
- var dispatcher = resolveDispatcher();
23021
-
23022
- {
23023
- !(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.
23024
-
23025
- if (Context._context !== undefined) {
23026
- var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
23027
- // and nobody should be using this in existing code.
23028
-
23029
- if (realContext.Consumer === Context) {
23030
- warning$1(false, '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?');
23031
- } else if (realContext.Provider === Context) {
23032
- warning$1(false, 'Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
23033
- }
23034
- }
23035
- }
23036
-
23037
- return dispatcher.useContext(Context, unstable_observedBits);
23038
- }
23039
- function useState(initialState) {
23040
- var dispatcher = resolveDispatcher();
23041
- return dispatcher.useState(initialState);
23042
- }
23043
- function useReducer(reducer, initialArg, init) {
23044
- var dispatcher = resolveDispatcher();
23045
- return dispatcher.useReducer(reducer, initialArg, init);
23046
- }
23047
- function useRef(initialValue) {
23048
- var dispatcher = resolveDispatcher();
23049
- return dispatcher.useRef(initialValue);
23050
- }
23051
- function useEffect(create, inputs) {
23052
- var dispatcher = resolveDispatcher();
23053
- return dispatcher.useEffect(create, inputs);
23054
- }
23055
- function useLayoutEffect(create, inputs) {
23056
- var dispatcher = resolveDispatcher();
23057
- return dispatcher.useLayoutEffect(create, inputs);
23058
- }
23059
- function useCallback(callback, inputs) {
23060
- var dispatcher = resolveDispatcher();
23061
- return dispatcher.useCallback(callback, inputs);
23062
- }
23063
- function useMemo(create, inputs) {
23064
- var dispatcher = resolveDispatcher();
23065
- return dispatcher.useMemo(create, inputs);
23066
- }
23067
- function useImperativeHandle(ref, create, inputs) {
23068
- var dispatcher = resolveDispatcher();
23069
- return dispatcher.useImperativeHandle(ref, create, inputs);
23070
- }
23071
- function useDebugValue(value, formatterFn) {
23072
- {
23073
- var dispatcher = resolveDispatcher();
23074
- return dispatcher.useDebugValue(value, formatterFn);
23075
- }
23076
- }
23077
- var emptyObject$1 = {};
23078
- function useResponder(responder, listenerProps) {
23079
- var dispatcher = resolveDispatcher();
23080
-
23081
- {
23082
- if (responder == null || responder.$$typeof !== REACT_RESPONDER_TYPE) {
23083
- warning$1(false, 'useResponder: invalid first argument. Expected an event responder, but instead got %s', responder);
23084
- return;
23085
- }
23086
- }
23087
-
23088
- return dispatcher.useResponder(responder, listenerProps || emptyObject$1);
23089
- }
23090
- function useTransition(config) {
23091
- var dispatcher = resolveDispatcher();
23092
- return dispatcher.useTransition(config);
23093
- }
23094
- function useDeferredValue(value, config) {
23095
- var dispatcher = resolveDispatcher();
23096
- return dispatcher.useDeferredValue(value, config);
23097
- }
23098
-
23099
- function withSuspenseConfig(scope, config) {
23100
- var previousConfig = ReactCurrentBatchConfig.suspense;
23101
- ReactCurrentBatchConfig.suspense = config === undefined ? null : config;
23102
-
23103
- try {
23104
- scope();
23105
- } finally {
23106
- ReactCurrentBatchConfig.suspense = previousConfig;
23107
- }
23108
- }
23109
-
23110
- /**
23111
- * ReactElementValidator provides a wrapper around a element factory
23112
- * which validates the props passed to the element. This is intended to be
23113
- * used only in DEV and could be replaced by a static type checker for languages
23114
- * that support it.
23115
- */
23116
- var propTypesMisspellWarningShown;
23117
-
23118
- {
23119
- propTypesMisspellWarningShown = false;
23120
- }
23121
-
23122
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
23123
-
23124
- function getDeclarationErrorAddendum() {
23125
- if (ReactCurrentOwner.current) {
23126
- var name = getComponentName(ReactCurrentOwner.current.type);
23127
-
23128
- if (name) {
23129
- return '\n\nCheck the render method of `' + name + '`.';
23130
- }
23131
- }
23132
-
23133
- return '';
23134
- }
23135
-
23136
- function getSourceInfoErrorAddendum(source) {
23137
- if (source !== undefined) {
23138
- var fileName = source.fileName.replace(/^.*[\\\/]/, '');
23139
- var lineNumber = source.lineNumber;
23140
- return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
23141
- }
23142
-
23143
- return '';
23144
- }
23145
-
23146
- function getSourceInfoErrorAddendumForProps(elementProps) {
23147
- if (elementProps !== null && elementProps !== undefined) {
23148
- return getSourceInfoErrorAddendum(elementProps.__source);
23149
- }
23150
-
23151
- return '';
23152
- }
23153
- /**
23154
- * Warn if there's no key explicitly set on dynamic arrays of children or
23155
- * object keys are not valid. This allows us to keep track of children between
23156
- * updates.
23157
- */
23158
-
23159
-
23160
- var ownerHasKeyUseWarning = {};
23161
-
23162
- function getCurrentComponentErrorInfo(parentType) {
23163
- var info = getDeclarationErrorAddendum();
23164
-
23165
- if (!info) {
23166
- var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
23167
-
23168
- if (parentName) {
23169
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
23170
- }
23171
- }
23172
-
23173
- return info;
23174
- }
23175
- /**
23176
- * Warn if the element doesn't have an explicit key assigned to it.
23177
- * This element is in an array. The array could grow and shrink or be
23178
- * reordered. All children that haven't already been validated are required to
23179
- * have a "key" property assigned to it. Error statuses are cached so a warning
23180
- * will only be shown once.
23181
- *
23182
- * @internal
23183
- * @param {ReactElement} element Element that requires a key.
23184
- * @param {*} parentType element's parent's type.
23185
- */
23186
-
23187
-
23188
- function validateExplicitKey(element, parentType) {
23189
- if (!element._store || element._store.validated || element.key != null) {
23190
- return;
23191
- }
23192
-
23193
- element._store.validated = true;
23194
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
23195
-
23196
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
23197
- return;
23198
- }
23199
-
23200
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
23201
- // property, it may be the creator of the child that's responsible for
23202
- // assigning it a key.
23203
-
23204
- var childOwner = '';
23205
-
23206
- if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
23207
- // Give the component that originally created this child.
23208
- childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
23209
- }
23210
-
23211
- setCurrentlyValidatingElement(element);
23212
-
23213
- {
23214
- 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);
23215
- }
23216
-
23217
- setCurrentlyValidatingElement(null);
23218
- }
23219
- /**
23220
- * Ensure that every element either is passed in a static location, in an
23221
- * array with an explicit keys property defined, or in an object literal
23222
- * with valid key property.
23223
- *
23224
- * @internal
23225
- * @param {ReactNode} node Statically passed child of any type.
23226
- * @param {*} parentType node's parent's type.
23227
- */
23228
-
23229
-
23230
- function validateChildKeys(node, parentType) {
23231
- if (typeof node !== 'object') {
23232
- return;
23233
- }
23234
-
23235
- if (Array.isArray(node)) {
23236
- for (var i = 0; i < node.length; i++) {
23237
- var child = node[i];
23238
-
23239
- if (isValidElement(child)) {
23240
- validateExplicitKey(child, parentType);
23241
- }
23242
- }
23243
- } else if (isValidElement(node)) {
23244
- // This element was passed in a valid location.
23245
- if (node._store) {
23246
- node._store.validated = true;
23247
- }
23248
- } else if (node) {
23249
- var iteratorFn = getIteratorFn(node);
23250
-
23251
- if (typeof iteratorFn === 'function') {
23252
- // Entry iterators used to provide implicit keys,
23253
- // but now we print a separate warning for them later.
23254
- if (iteratorFn !== node.entries) {
23255
- var iterator = iteratorFn.call(node);
23256
- var step;
23257
-
23258
- while (!(step = iterator.next()).done) {
23259
- if (isValidElement(step.value)) {
23260
- validateExplicitKey(step.value, parentType);
23261
- }
23262
- }
23263
- }
23264
- }
23265
- }
23266
- }
23267
- /**
23268
- * Given an element, validate that its props follow the propTypes definition,
23269
- * provided by the type.
23270
- *
23271
- * @param {ReactElement} element
23272
- */
23273
-
23274
-
23275
- function validatePropTypes(element) {
23276
- var type = element.type;
23277
-
23278
- if (type === null || type === undefined || typeof type === 'string') {
23279
- return;
23280
- }
23281
-
23282
- var name = getComponentName(type);
23283
- var propTypes;
23284
-
23285
- if (typeof type === 'function') {
23286
- propTypes = type.propTypes;
23287
- } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
23288
- // Inner props are checked in the reconciler.
23289
- type.$$typeof === REACT_MEMO_TYPE)) {
23290
- propTypes = type.propTypes;
23291
- } else {
23292
- return;
23293
- }
23294
-
23295
- if (propTypes) {
23296
- setCurrentlyValidatingElement(element);
23297
- checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum);
23298
- setCurrentlyValidatingElement(null);
23299
- } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
23300
- propTypesMisspellWarningShown = true;
23301
- warningWithoutStack$1(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
23302
- }
23303
-
23304
- if (typeof type.getDefaultProps === 'function') {
23305
- !type.getDefaultProps.isReactClassApproved ? warningWithoutStack$1(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
23306
- }
23307
- }
23308
- /**
23309
- * Given a fragment, validate that it can only be provided with fragment props
23310
- * @param {ReactElement} fragment
23311
- */
23312
-
23313
-
23314
- function validateFragmentProps(fragment) {
23315
- setCurrentlyValidatingElement(fragment);
23316
- var keys = Object.keys(fragment.props);
23317
-
23318
- for (var i = 0; i < keys.length; i++) {
23319
- var key = keys[i];
23320
-
23321
- if (key !== 'children' && key !== 'key') {
23322
- warning$1(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
23323
- break;
23324
- }
23325
- }
23326
-
23327
- if (fragment.ref !== null) {
23328
- warning$1(false, 'Invalid attribute `ref` supplied to `React.Fragment`.');
23329
- }
23330
-
23331
- setCurrentlyValidatingElement(null);
23332
- }
23333
-
23334
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
23335
- var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
23336
- // succeed and there will likely be errors in render.
23337
-
23338
- if (!validType) {
23339
- var info = '';
23340
-
23341
- if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
23342
- info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
23343
- }
23344
-
23345
- var sourceInfo = getSourceInfoErrorAddendum(source);
23346
-
23347
- if (sourceInfo) {
23348
- info += sourceInfo;
23349
- } else {
23350
- info += getDeclarationErrorAddendum();
23351
- }
23352
-
23353
- var typeString;
23354
-
23355
- if (type === null) {
23356
- typeString = 'null';
23357
- } else if (Array.isArray(type)) {
23358
- typeString = 'array';
23359
- } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
23360
- typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
23361
- info = ' Did you accidentally export a JSX literal instead of a component?';
23362
- } else {
23363
- typeString = typeof type;
23364
- }
23365
-
23366
- 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);
23367
- }
23368
-
23369
- var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
23370
- // TODO: Drop this when these are no longer allowed as the type argument.
23371
-
23372
- if (element == null) {
23373
- return element;
23374
- } // Skip key warning if the type isn't valid since our key validation logic
23375
- // doesn't expect a non-string/function type and can throw confusing errors.
23376
- // We don't want exception behavior to differ between dev and prod.
23377
- // (Rendering will throw with a helpful message and as soon as the type is
23378
- // fixed, the key warnings will appear.)
23379
-
23380
-
23381
- if (validType) {
23382
- var children = props.children;
23383
-
23384
- if (children !== undefined) {
23385
- if (isStaticChildren) {
23386
- if (Array.isArray(children)) {
23387
- for (var i = 0; i < children.length; i++) {
23388
- validateChildKeys(children[i], type);
23389
- }
23390
-
23391
- if (Object.freeze) {
23392
- Object.freeze(children);
23393
- }
23394
- } else {
23395
- 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.');
23396
- }
23397
- } else {
23398
- validateChildKeys(children, type);
23399
- }
23400
- }
23401
- }
23402
-
23403
- if (hasOwnProperty$1.call(props, 'key')) {
23404
- warning$1(false, 'React.jsx: Spreading a key to JSX is a deprecated pattern. ' + 'Explicitly pass a key after spreading props in your JSX call. ' + 'E.g. <ComponentName {...props} key={key} />');
23405
- }
23406
-
23407
- if (type === REACT_FRAGMENT_TYPE) {
23408
- validateFragmentProps(element);
23409
- } else {
23410
- validatePropTypes(element);
23411
- }
23412
-
23413
- return element;
23414
- } // These two functions exist to still get child warnings in dev
23415
- // even with the prod transform. This means that jsxDEV is purely
23416
- // opt-in behavior for better messages but that we won't stop
23417
- // giving you warnings if you use production apis.
23418
-
23419
- function jsxWithValidationStatic(type, props, key) {
23420
- return jsxWithValidation(type, props, key, true);
23421
- }
23422
- function jsxWithValidationDynamic(type, props, key) {
23423
- return jsxWithValidation(type, props, key, false);
23424
- }
23425
- function createElementWithValidation(type, props, children) {
23426
- var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
23427
- // succeed and there will likely be errors in render.
23428
-
23429
- if (!validType) {
23430
- var info = '';
23431
-
23432
- if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
23433
- info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
23434
- }
23435
-
23436
- var sourceInfo = getSourceInfoErrorAddendumForProps(props);
23437
-
23438
- if (sourceInfo) {
23439
- info += sourceInfo;
23440
- } else {
23441
- info += getDeclarationErrorAddendum();
23442
- }
23443
-
23444
- var typeString;
23445
-
23446
- if (type === null) {
23447
- typeString = 'null';
23448
- } else if (Array.isArray(type)) {
23449
- typeString = 'array';
23450
- } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
23451
- typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
23452
- info = ' Did you accidentally export a JSX literal instead of a component?';
23453
- } else {
23454
- typeString = typeof type;
23455
- }
23456
-
23457
- 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);
23458
- }
23459
-
23460
- var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
23461
- // TODO: Drop this when these are no longer allowed as the type argument.
23462
-
23463
- if (element == null) {
23464
- return element;
23465
- } // Skip key warning if the type isn't valid since our key validation logic
23466
- // doesn't expect a non-string/function type and can throw confusing errors.
23467
- // We don't want exception behavior to differ between dev and prod.
23468
- // (Rendering will throw with a helpful message and as soon as the type is
23469
- // fixed, the key warnings will appear.)
23470
-
23471
-
23472
- if (validType) {
23473
- for (var i = 2; i < arguments.length; i++) {
23474
- validateChildKeys(arguments[i], type);
23475
- }
23476
- }
23477
-
23478
- if (type === REACT_FRAGMENT_TYPE) {
23479
- validateFragmentProps(element);
23480
- } else {
23481
- validatePropTypes(element);
23482
- }
23483
-
23484
- return element;
23485
- }
23486
- function createFactoryWithValidation(type) {
23487
- var validatedFactory = createElementWithValidation.bind(null, type);
23488
- validatedFactory.type = type; // Legacy hook: remove it
23489
-
23490
- {
23491
- Object.defineProperty(validatedFactory, 'type', {
23492
- enumerable: false,
23493
- get: function () {
23494
- lowPriorityWarningWithoutStack$1(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
23495
- Object.defineProperty(this, 'type', {
23496
- value: type
23497
- });
23498
- return type;
23499
- }
23500
- });
23501
- }
23502
-
23503
- return validatedFactory;
23504
- }
23505
- function cloneElementWithValidation(element, props, children) {
23506
- var newElement = cloneElement.apply(this, arguments);
23507
-
23508
- for (var i = 2; i < arguments.length; i++) {
23509
- validateChildKeys(arguments[i], newElement.type);
23510
- }
23511
-
23512
- validatePropTypes(newElement);
23513
- return newElement;
23514
- }
23515
-
23516
- var hasBadMapPolyfill;
23517
-
23518
- {
23519
- hasBadMapPolyfill = false;
23520
-
23521
- try {
23522
- var frozenObject = Object.freeze({});
23523
- var testMap = new Map([[frozenObject, null]]);
23524
- var testSet = new Set([frozenObject]); // This is necessary for Rollup to not consider these unused.
23525
- // https://github.com/rollup/rollup/issues/1771
23526
- // TODO: we can remove these if Rollup fixes the bug.
23527
-
23528
- testMap.set(0, 0);
23529
- testSet.add(0);
23530
- } catch (e) {
23531
- // TODO: Consider warning about bad polyfills
23532
- hasBadMapPolyfill = true;
23533
- }
23534
- }
23535
-
23536
- function createFundamentalComponent(impl) {
23537
- // We use responder as a Map key later on. When we have a bad
23538
- // polyfill, then we can't use it as a key as the polyfill tries
23539
- // to add a property to the object.
23540
- if (true && !hasBadMapPolyfill) {
23541
- Object.freeze(impl);
23542
- }
23543
-
23544
- var fundamantalComponent = {
23545
- $$typeof: REACT_FUNDAMENTAL_TYPE,
23546
- impl: impl
23547
- };
23548
-
23549
- {
23550
- Object.freeze(fundamantalComponent);
23551
- }
23552
-
23553
- return fundamantalComponent;
23554
- }
23555
-
23556
- function createEventResponder(displayName, responderConfig) {
23557
- var getInitialState = responderConfig.getInitialState,
23558
- onEvent = responderConfig.onEvent,
23559
- onMount = responderConfig.onMount,
23560
- onUnmount = responderConfig.onUnmount,
23561
- onRootEvent = responderConfig.onRootEvent,
23562
- rootEventTypes = responderConfig.rootEventTypes,
23563
- targetEventTypes = responderConfig.targetEventTypes,
23564
- targetPortalPropagation = responderConfig.targetPortalPropagation;
23565
- var eventResponder = {
23566
- $$typeof: REACT_RESPONDER_TYPE,
23567
- displayName: displayName,
23568
- getInitialState: getInitialState || null,
23569
- onEvent: onEvent || null,
23570
- onMount: onMount || null,
23571
- onRootEvent: onRootEvent || null,
23572
- onUnmount: onUnmount || null,
23573
- rootEventTypes: rootEventTypes || null,
23574
- targetEventTypes: targetEventTypes || null,
23575
- targetPortalPropagation: targetPortalPropagation || false
23576
- }; // We use responder as a Map key later on. When we have a bad
23577
- // polyfill, then we can't use it as a key as the polyfill tries
23578
- // to add a property to the object.
23579
-
23580
- if (true && !hasBadMapPolyfill) {
23581
- Object.freeze(eventResponder);
23582
- }
23583
-
23584
- return eventResponder;
23585
- }
23586
-
23587
- function createScope() {
23588
- var scopeComponent = {
23589
- $$typeof: REACT_SCOPE_TYPE
23590
- };
23591
-
23592
- {
23593
- Object.freeze(scopeComponent);
23594
- }
23595
-
23596
- return scopeComponent;
23597
- }
23598
-
23599
- // Helps identify side effects in render-phase lifecycle hooks and setState
23600
- // reducers by double invoking them in Strict Mode.
23601
-
23602
- // To preserve the "Pause on caught exceptions" behavior of the debugger, we
23603
- // replay the begin phase of a failed component inside invokeGuardedCallback.
23604
-
23605
- // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
23606
-
23607
- // Gather advanced timing metrics for Profiler subtrees.
23608
-
23609
- // Trace which interactions trigger each commit.
23610
-
23611
- // SSR experiments
23612
-
23613
-
23614
- // Only used in www builds.
23615
-
23616
- // Only used in www builds.
23617
-
23618
- // Disable javascript: URL strings in href for XSS protection.
23619
-
23620
- // React Fire: prevent the value and checked attributes from syncing
23621
- // with their related DOM properties
23622
-
23623
- // These APIs will no longer be "unstable" in the upcoming 16.7 release,
23624
- // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
23625
-
23626
- var exposeConcurrentModeAPIs = false;
23627
- // Experimental React Flare event system and event components support.
23628
-
23629
- var enableFlareAPI = false; // Experimental Host Component support.
23630
-
23631
- var enableFundamentalAPI = false; // Experimental Scope support.
23632
-
23633
- var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
23634
-
23635
- var enableJSXTransformAPI = false; // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
23636
- // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
23637
-
23638
- // For tests, we flush suspense fallbacks in an act scope;
23639
- // *except* in some of our own tests, where we test incremental loading states.
23640
-
23641
- // Add a callback property to suspense to notify which promises are currently
23642
- // in the update queue. This allows reporting and tracing of what is causing
23643
- // the user to see a loading state.
23644
- // Also allows hydration callbacks to fire when a dehydrated boundary gets
23645
- // hydrated or deleted.
23646
-
23647
- // Part of the simplification of React.createElement so we can eventually move
23648
- // from React.createElement to React.jsx
23649
- // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
23650
-
23651
-
23652
-
23653
-
23654
-
23655
- // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
23656
-
23657
- var React = {
23658
- Children: {
23659
- map: mapChildren,
23660
- forEach: forEachChildren,
23661
- count: countChildren,
23662
- toArray: toArray,
23663
- only: onlyChild
23664
- },
23665
- createRef: createRef,
23666
- Component: Component,
23667
- PureComponent: PureComponent,
23668
- createContext: createContext,
23669
- forwardRef: forwardRef,
23670
- lazy: lazy,
23671
- memo: memo,
23672
- useCallback: useCallback,
23673
- useContext: useContext,
23674
- useEffect: useEffect,
23675
- useImperativeHandle: useImperativeHandle,
23676
- useDebugValue: useDebugValue,
23677
- useLayoutEffect: useLayoutEffect,
23678
- useMemo: useMemo,
23679
- useReducer: useReducer,
23680
- useRef: useRef,
23681
- useState: useState,
23682
- Fragment: REACT_FRAGMENT_TYPE,
23683
- Profiler: REACT_PROFILER_TYPE,
23684
- StrictMode: REACT_STRICT_MODE_TYPE,
23685
- Suspense: REACT_SUSPENSE_TYPE,
23686
- createElement: createElementWithValidation,
23687
- cloneElement: cloneElementWithValidation,
23688
- createFactory: createFactoryWithValidation,
23689
- isValidElement: isValidElement,
23690
- version: ReactVersion,
23691
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
23692
- };
23693
-
23694
- if (exposeConcurrentModeAPIs) {
23695
- React.useTransition = useTransition;
23696
- React.useDeferredValue = useDeferredValue;
23697
- React.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
23698
- React.unstable_withSuspenseConfig = withSuspenseConfig;
23699
- }
23700
-
23701
- if (enableFlareAPI) {
23702
- React.unstable_useResponder = useResponder;
23703
- React.unstable_createResponder = createEventResponder;
23704
- }
23705
-
23706
- if (enableFundamentalAPI) {
23707
- React.unstable_createFundamental = createFundamentalComponent;
23708
- }
23709
-
23710
- if (enableScopeAPI) {
23711
- React.unstable_createScope = createScope;
23712
- } // Note: some APIs are added with feature flags.
23713
- // Make sure that stable builds for open source
23714
- // don't modify the React object to avoid deopts.
23715
- // Also let's not expose their names in stable builds.
23716
-
23717
-
23718
- if (enableJSXTransformAPI) {
23719
- {
23720
- React.jsxDEV = jsxWithValidation;
23721
- React.jsx = jsxWithValidationDynamic;
23722
- React.jsxs = jsxWithValidationStatic;
23723
- }
23724
- }
23725
-
23726
-
23727
-
23728
- var React$2 = Object.freeze({
23729
- default: React
23730
- });
23731
-
23732
- var React$3 = ( React$2 && React ) || React$2;
23733
-
23734
- // TODO: decide on the top-level export form.
23735
- // This is hacky but makes it work with both Rollup and Jest.
23736
-
23737
-
23738
- var react = React$3.default || React$3;
23739
-
23740
- module.exports = react;
23741
- })();
23742
- }
23743
 
23744
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
23745
 
23746
- /***/ }),
23747
- /* 301 */
23748
- /***/ (function(module, exports, __webpack_require__) {
23749
 
23750
- "use strict";
23751
- /** @license React v16.12.0
23752
- * react-dom.production.min.js
23753
- *
23754
- * Copyright (c) Facebook, Inc. and its affiliates.
23755
- *
23756
- * This source code is licensed under the MIT license found in the
23757
- * LICENSE file in the root directory of this source tree.
23758
- */
23759
-
23760
- /*
23761
- Modernizr 3.0.0pre (Custom Build) | MIT
23762
- */
23763
- var aa=__webpack_require__(0),n=__webpack_require__(43),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={};
23764
- 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));}}}}
23765
- 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)}
23766
- 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]}
23767
- 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;}}
23768
- 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()}};
23769
- 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));
23770
- 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});
23771
- 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"):
23772
- 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}
23773
- 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)})}}
23774
- 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+")":
23775
- "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}
23776
- 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(){}
23777
- 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={};
23778
- 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}}
23779
- 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={};
23780
- "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)});
23781
- ["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)});
23782
- ["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()}
23783
- "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,
23784
- 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)});
23785
- 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""}}
23786
- 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))))}
23787
- function wb(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
23788
- 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=
23789
- 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})}
23790
- 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)}
23791
- 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)}
23792
- 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)}
23793
- 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}
23794
- 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)}}
23795
- 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)}}
23796
- 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"};
23797
- 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}
23798
- 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)}});
23799
- 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={};
23800
- 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(" ");
23801
- 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));}
23802
- 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===
23803
- 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}
23804
- 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(" ");
23805
- 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)}}
23806
- 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}
23807
- 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}
23808
- 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)))}
23809
- 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()}
23810
- 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)}
23811
- 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)}
23812
- 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}
23813
- 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,
23814
- 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};
23815
- 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)}
23816
- 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});
23817
- 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}
23818
- 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",
23819
- 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}
23820
- 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"===
23821
- 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-
23822
- 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,
23823
- 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",
23824
- 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",
23825
- 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",
23826
- 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",
23827
- "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}
23828
- 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=
23829
- 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,
23830
- Gd=q.unstable_runWithPriority,Hd=Ed.getEventPriority,Id=10,Jd=[];
23831
- 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)}}
23832
- 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))}
23833
- 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)}}
23834
- 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}
23835
- 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}
23836
- 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)}}
23837
- 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,
23838
- 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"}
23839
- 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});
23840
- 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,""));}}
23841
- 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(){}
23842
- 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)}}
23843
- 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}
23844
- 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}
23845
- 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}
23846
- 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;
23847
- 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;
23848
- 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);
23849
- 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",
23850
- 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;
23851
- 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}}
23852
- 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}}
23853
- 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,
23854
- 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}
23855
- 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));
23856
- 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)}
23857
- 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",
23858
- 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;
23859
- 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=
23860
- 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=
23861
- 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}
23862
- 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;
23863
- 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)}
23864
- 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;
23865
- 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--)}
23866
- 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}
23867
- 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}
23868
- 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)}
23869
- 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};
23870
- 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()}
23871
- 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}
23872
- 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}}
23873
- 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;
23874
- 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}}
23875
- 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)}
23876
- 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)}
23877
- 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}
23878
- 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}
23879
- 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!==
23880
- 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}
23881
- 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}}
23882
- 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)}
23883
- 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;
23884
- 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}
23885
- 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}
23886
- 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)}
23887
- 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"!==
23888
- 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;
23889
- 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}
23890
- 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,""));}
23891
- 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=
23892
- 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!==
23893
- 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)||
23894
- 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=
23895
- 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&&
23896
- 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);
23897
- 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!==
23898
- 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,
23899
- 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"===
23900
- 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}
23901
- 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};
23902
- 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}}
23903
- 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}
23904
- 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}
23905
- 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}
23906
- function Ph(a,b){return"function"===typeof b?b(a):b}
23907
- 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!==
23908
- 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]}
23909
- 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}
23910
- 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)}
23911
- 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}
23912
- 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&&
23913
- (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)}}
23914
- 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=
23915
- [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=
23916
- 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?
23917
- 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=
23918
- 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}
23919
- 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}}
23920
- 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}
23921
- 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}
23922
- 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}
23923
- 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}
23924
- 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}
23925
- 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&&
23926
- "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&&
23927
- 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=
23928
- "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||
23929
- ("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=
23930
- 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)}
23931
- 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)}
23932
- var xi={dehydrated:null,retryTime:0};
23933
- 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=
23934
- 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=
23935
- 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)}
23936
- 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)}
23937
- 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=
23938
- 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}
23939
- 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;
23940
- 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(){};
23941
- 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"===
23942
- 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={}),
23943
- 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)};
23944
- 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}}
23945
- 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)}}
23946
- 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}
23947
- 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));}}
23948
- 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)}}
23949
- 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)}}
23950
- 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}
23951
- 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;
23952
- 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!==
23953
- 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}}
23954
- 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=
23955
- 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}}
23956
- 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,
23957
- 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());
23958
- 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=
23959
- 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;
23960
- 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}
23961
- 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}
23962
- 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)}
23963
- 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}
23964
- 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)))}}
23965
- 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}
23966
- 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}
23967
- 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=
23968
- 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}}}
23969
- 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;
23970
- 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=
23971
- 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=
23972
- 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}
23973
- 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}
23974
- 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()}}
23975
- 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}
23976
- 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;
23977
- 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)||
23978
- "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&&
23979
- (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)}
23980
- function fk(a){var b=gk(a.alternate,a,W);a.memoizedProps=a.pendingProps;null===b&&(b=ek(a));mj.current=null;return b}
23981
- 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=
23982
- 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=
23983
- {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&&
23984
- (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",
23985
- 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,
23986
- 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);
23987
- 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"!==
23988
- 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,
23989
- 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===
23990
- 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,
23991
- 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|=
23992
- 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;
23993
- 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=
23994
- 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}
23995
- 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=
23996
- 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,
23997
- 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=
23998
- 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,
23999
- 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(),
24000
- 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});
24001
- "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,
24002
- 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=
24003
- 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&&
24004
- (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)}}
24005
- 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)}
24006
- 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}}
24007
- 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;
24008
- 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&
24009
- 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"===
24010
- 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;
24011
- 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:
24012
- 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=
24013
- 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;
24014
- 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=
24015
- 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;
24016
- 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;
24017
- 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}
24018
- 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)}
24019
- 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}
24020
- 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,
24021
- firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
24022
- 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=
24023
- 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}
24024
- 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}
24025
- 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}
24026
- 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)}
24027
- 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}
24028
- 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===
24029
- 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)}
24030
- 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()})};
24031
- 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)}
24032
- 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}}
24033
- 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)}};
24034
- 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;
24035
- 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)}
24036
- 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));
24037
- 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,
24038
- xe,ye,Ca.injectEventPluginsByName,fa,Sc,function(a){ya(a,Rc)},cb,db,Pd,Ba,Sj,{current:!1}]}};
24039
- (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",
24040
- rendererPackageName:"react-dom"});var Dk={default:Ck},Ek=Dk&&Ck||Dk;module.exports=Ek.default||Ek;
24041
 
24042
 
24043
- /***/ }),
24044
- /* 302 */
24045
- /***/ (function(module, exports, __webpack_require__) {
24046
 
24047
- "use strict";
24048
- /** @license React v0.18.0
24049
- * scheduler.production.min.js
24050
- *
24051
- * Copyright (c) Facebook, Inc. and its affiliates.
24052
- *
24053
- * This source code is licensed under the MIT license found in the
24054
- * LICENSE file in the root directory of this source tree.
24055
- */
24056
-
24057
- Object.defineProperty(exports,"__esModule",{value:!0});var f,g,h,k,l;
24058
- if("undefined"===typeof window||"function"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0))};g=function(a,b){q=setTimeout(a,b)};h=function(){clearTimeout(q)};k=function(){return!1};l=exports.unstable_forceFrameRate=function(){}}else{var w=window.performance,x=window.Date,
24059
- y=window.setTimeout,z=window.clearTimeout;if("undefined"!==typeof console){var A=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");"function"!==typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===
24060
- typeof w&&"function"===typeof w.now)exports.unstable_now=function(){return w.now()};else{var B=x.now();exports.unstable_now=function(){return x.now()-B}}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):F=0<a?Math.floor(1E3/a):5};var H=new MessageChannel,I=H.port2;H.port1.onmessage=
24061
- function(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null)}catch(b){throw I.postMessage(null),b;}}else C=!1};f=function(a){D=a;C||(C=!0,I.postMessage(null))};g=function(a,b){E=y(function(){a(exports.unstable_now())},b)};h=function(){z(E);E=-1}}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=Math.floor((c-1)/2),e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}
24062
- function M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;
24063
- function V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O)}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else{var b=L(O);null!==b&&g(W,b.startTime-a)}}
24064
- 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}}
24065
- 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}};
24066
- 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}};
24067
- 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};
24068
- 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))};
24069
- exports.unstable_pauseExecution=function(){};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_Profiling=null;
24070
 
 
24071
 
24072
- /***/ }),
24073
- /* 303 */
24074
- /***/ (function(module, exports, __webpack_require__) {
24075
 
24076
- "use strict";
24077
- /* WEBPACK VAR INJECTION */(function(process) {/** @license React v0.18.0
24078
- * scheduler.development.js
24079
- *
24080
- * Copyright (c) Facebook, Inc. and its affiliates.
24081
- *
24082
- * This source code is licensed under the MIT license found in the
24083
- * LICENSE file in the root directory of this source tree.
24084
- */
24085
-
24086
-
24087
-
24088
-
24089
-
24090
- if (process.env.NODE_ENV !== "production") {
24091
- (function() {
24092
- 'use strict';
24093
-
24094
- Object.defineProperty(exports, '__esModule', { value: true });
24095
-
24096
- var enableSchedulerDebugging = false;
24097
- var enableIsInputPending = false;
24098
- var enableProfiling = true;
24099
-
24100
- var requestHostCallback;
24101
-
24102
- var requestHostTimeout;
24103
- var cancelHostTimeout;
24104
- var shouldYieldToHost;
24105
- var requestPaint;
24106
-
24107
-
24108
-
24109
- if ( // If Scheduler runs in a non-DOM environment, it falls back to a naive
24110
- // implementation using setTimeout.
24111
- typeof window === 'undefined' || // Check if MessageChannel is supported, too.
24112
- typeof MessageChannel !== 'function') {
24113
- // If this accidentally gets imported in a non-browser environment, e.g. JavaScriptCore,
24114
- // fallback to a naive implementation.
24115
- var _callback = null;
24116
- var _timeoutID = null;
24117
-
24118
- var _flushCallback = function () {
24119
- if (_callback !== null) {
24120
- try {
24121
- var currentTime = exports.unstable_now();
24122
- var hasRemainingTime = true;
24123
-
24124
- _callback(hasRemainingTime, currentTime);
24125
-
24126
- _callback = null;
24127
- } catch (e) {
24128
- setTimeout(_flushCallback, 0);
24129
- throw e;
24130
- }
24131
- }
24132
- };
24133
-
24134
- var initialTime = Date.now();
24135
-
24136
- exports.unstable_now = function () {
24137
- return Date.now() - initialTime;
24138
- };
24139
-
24140
- requestHostCallback = function (cb) {
24141
- if (_callback !== null) {
24142
- // Protect against re-entrancy.
24143
- setTimeout(requestHostCallback, 0, cb);
24144
- } else {
24145
- _callback = cb;
24146
- setTimeout(_flushCallback, 0);
24147
- }
24148
- };
24149
-
24150
- requestHostTimeout = function (cb, ms) {
24151
- _timeoutID = setTimeout(cb, ms);
24152
- };
24153
-
24154
- cancelHostTimeout = function () {
24155
- clearTimeout(_timeoutID);
24156
- };
24157
-
24158
- shouldYieldToHost = function () {
24159
- return false;
24160
- };
24161
-
24162
- requestPaint = exports.unstable_forceFrameRate = function () {};
24163
- } else {
24164
- // Capture local references to native APIs, in case a polyfill overrides them.
24165
- var performance = window.performance;
24166
- var _Date = window.Date;
24167
- var _setTimeout = window.setTimeout;
24168
- var _clearTimeout = window.clearTimeout;
24169
-
24170
- if (typeof console !== 'undefined') {
24171
- // TODO: Scheduler no longer requires these methods to be polyfilled. But
24172
- // maybe we want to continue warning if they don't exist, to preserve the
24173
- // option to rely on it in the future?
24174
- var requestAnimationFrame = window.requestAnimationFrame;
24175
- var cancelAnimationFrame = window.cancelAnimationFrame; // TODO: Remove fb.me link
24176
-
24177
- if (typeof requestAnimationFrame !== 'function') {
24178
- console.error("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
24179
- }
24180
-
24181
- if (typeof cancelAnimationFrame !== 'function') {
24182
- console.error("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
24183
- }
24184
- }
24185
-
24186
- if (typeof performance === 'object' && typeof performance.now === 'function') {
24187
- exports.unstable_now = function () {
24188
- return performance.now();
24189
- };
24190
- } else {
24191
- var _initialTime = _Date.now();
24192
-
24193
- exports.unstable_now = function () {
24194
- return _Date.now() - _initialTime;
24195
- };
24196
- }
24197
-
24198
- var isMessageLoopRunning = false;
24199
- var scheduledHostCallback = null;
24200
- var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
24201
- // thread, like user events. By default, it yields multiple times per frame.
24202
- // It does not attempt to align with frame boundaries, since most tasks don't
24203
- // need to be frame aligned; for those that do, use requestAnimationFrame.
24204
-
24205
- var yieldInterval = 5;
24206
- var deadline = 0; // TODO: Make this configurable
24207
- // TODO: Adjust this based on priority?
24208
-
24209
- var maxYieldInterval = 300;
24210
- var needsPaint = false;
24211
-
24212
- if (enableIsInputPending && navigator !== undefined && navigator.scheduling !== undefined && navigator.scheduling.isInputPending !== undefined) {
24213
- var scheduling = navigator.scheduling;
24214
-
24215
- shouldYieldToHost = function () {
24216
- var currentTime = exports.unstable_now();
24217
-
24218
- if (currentTime >= deadline) {
24219
- // There's no time left. We may want to yield control of the main
24220
- // thread, so the browser can perform high priority tasks. The main ones
24221
- // are painting and user input. If there's a pending paint or a pending
24222
- // input, then we should yield. But if there's neither, then we can
24223
- // yield less often while remaining responsive. We'll eventually yield
24224
- // regardless, since there could be a pending paint that wasn't
24225
- // accompanied by a call to `requestPaint`, or other main thread tasks
24226
- // like network events.
24227
- if (needsPaint || scheduling.isInputPending()) {
24228
- // There is either a pending paint or a pending input.
24229
- return true;
24230
- } // There's no pending input. Only yield if we've reached the max
24231
- // yield interval.
24232
-
24233
-
24234
- return currentTime >= maxYieldInterval;
24235
- } else {
24236
- // There's still time left in the frame.
24237
- return false;
24238
- }
24239
- };
24240
-
24241
- requestPaint = function () {
24242
- needsPaint = true;
24243
- };
24244
- } else {
24245
- // `isInputPending` is not available. Since we have no way of knowing if
24246
- // there's pending input, always yield at the end of the frame.
24247
- shouldYieldToHost = function () {
24248
- return exports.unstable_now() >= deadline;
24249
- }; // Since we yield every frame regardless, `requestPaint` has no effect.
24250
-
24251
-
24252
- requestPaint = function () {};
24253
- }
24254
-
24255
- exports.unstable_forceFrameRate = function (fps) {
24256
- if (fps < 0 || fps > 125) {
24257
- console.error('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
24258
- return;
24259
- }
24260
-
24261
- if (fps > 0) {
24262
- yieldInterval = Math.floor(1000 / fps);
24263
- } else {
24264
- // reset the framerate
24265
- yieldInterval = 5;
24266
- }
24267
- };
24268
-
24269
- var performWorkUntilDeadline = function () {
24270
- if (scheduledHostCallback !== null) {
24271
- var currentTime = exports.unstable_now(); // Yield after `yieldInterval` ms, regardless of where we are in the vsync
24272
- // cycle. This means there's always time remaining at the beginning of
24273
- // the message event.
24274
-
24275
- deadline = currentTime + yieldInterval;
24276
- var hasTimeRemaining = true;
24277
-
24278
- try {
24279
- var hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
24280
-
24281
- if (!hasMoreWork) {
24282
- isMessageLoopRunning = false;
24283
- scheduledHostCallback = null;
24284
- } else {
24285
- // If there's more work, schedule the next message event at the end
24286
- // of the preceding one.
24287
- port.postMessage(null);
24288
- }
24289
- } catch (error) {
24290
- // If a scheduler task throws, exit the current browser task so the
24291
- // error can be observed.
24292
- port.postMessage(null);
24293
- throw error;
24294
- }
24295
- } else {
24296
- isMessageLoopRunning = false;
24297
- } // Yielding to the browser will give it a chance to paint, so we can
24298
- // reset this.
24299
-
24300
-
24301
- needsPaint = false;
24302
- };
24303
-
24304
- var channel = new MessageChannel();
24305
- var port = channel.port2;
24306
- channel.port1.onmessage = performWorkUntilDeadline;
24307
-
24308
- requestHostCallback = function (callback) {
24309
- scheduledHostCallback = callback;
24310
-
24311
- if (!isMessageLoopRunning) {
24312
- isMessageLoopRunning = true;
24313
- port.postMessage(null);
24314
- }
24315
- };
24316
-
24317
- requestHostTimeout = function (callback, ms) {
24318
- taskTimeoutID = _setTimeout(function () {
24319
- callback(exports.unstable_now());
24320
- }, ms);
24321
- };
24322
-
24323
- cancelHostTimeout = function () {
24324
- _clearTimeout(taskTimeoutID);
24325
-
24326
- taskTimeoutID = -1;
24327
- };
24328
- }
24329
-
24330
- function push(heap, node) {
24331
- var index = heap.length;
24332
- heap.push(node);
24333
- siftUp(heap, node, index);
24334
- }
24335
- function peek(heap) {
24336
- var first = heap[0];
24337
- return first === undefined ? null : first;
24338
- }
24339
- function pop(heap) {
24340
- var first = heap[0];
24341
-
24342
- if (first !== undefined) {
24343
- var last = heap.pop();
24344
-
24345
- if (last !== first) {
24346
- heap[0] = last;
24347
- siftDown(heap, last, 0);
24348
- }
24349
-
24350
- return first;
24351
- } else {
24352
- return null;
24353
- }
24354
- }
24355
-
24356
- function siftUp(heap, node, i) {
24357
- var index = i;
24358
-
24359
- while (true) {
24360
- var parentIndex = Math.floor((index - 1) / 2);
24361
- var parent = heap[parentIndex];
24362
-
24363
- if (parent !== undefined && compare(parent, node) > 0) {
24364
- // The parent is larger. Swap positions.
24365
- heap[parentIndex] = node;
24366
- heap[index] = parent;
24367
- index = parentIndex;
24368
- } else {
24369
- // The parent is smaller. Exit.
24370
- return;
24371
- }
24372
- }
24373
- }
24374
-
24375
- function siftDown(heap, node, i) {
24376
- var index = i;
24377
- var length = heap.length;
24378
-
24379
- while (index < length) {
24380
- var leftIndex = (index + 1) * 2 - 1;
24381
- var left = heap[leftIndex];
24382
- var rightIndex = leftIndex + 1;
24383
- var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
24384
-
24385
- if (left !== undefined && compare(left, node) < 0) {
24386
- if (right !== undefined && compare(right, left) < 0) {
24387
- heap[index] = right;
24388
- heap[rightIndex] = node;
24389
- index = rightIndex;
24390
- } else {
24391
- heap[index] = left;
24392
- heap[leftIndex] = node;
24393
- index = leftIndex;
24394
- }
24395
- } else if (right !== undefined && compare(right, node) < 0) {
24396
- heap[index] = right;
24397
- heap[rightIndex] = node;
24398
- index = rightIndex;
24399
- } else {
24400
- // Neither child is smaller. Exit.
24401
- return;
24402
- }
24403
- }
24404
- }
24405
-
24406
- function compare(a, b) {
24407
- // Compare sort index first, then task id.
24408
- var diff = a.sortIndex - b.sortIndex;
24409
- return diff !== 0 ? diff : a.id - b.id;
24410
- }
24411
-
24412
- // TODO: Use symbols?
24413
- var NoPriority = 0;
24414
- var ImmediatePriority = 1;
24415
- var UserBlockingPriority = 2;
24416
- var NormalPriority = 3;
24417
- var LowPriority = 4;
24418
- var IdlePriority = 5;
24419
-
24420
- var runIdCounter = 0;
24421
- var mainThreadIdCounter = 0;
24422
- var profilingStateSize = 4;
24423
- var sharedProfilingBuffer = enableProfiling ? // $FlowFixMe Flow doesn't know about SharedArrayBuffer
24424
- typeof SharedArrayBuffer === 'function' ? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : // $FlowFixMe Flow doesn't know about ArrayBuffer
24425
- typeof ArrayBuffer === 'function' ? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : null // Don't crash the init path on IE9
24426
- : null;
24427
- var profilingState = enableProfiling && sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : []; // We can't read this but it helps save bytes for null checks
24428
-
24429
- var PRIORITY = 0;
24430
- var CURRENT_TASK_ID = 1;
24431
- var CURRENT_RUN_ID = 2;
24432
- var QUEUE_SIZE = 3;
24433
-
24434
- if (enableProfiling) {
24435
- profilingState[PRIORITY] = NoPriority; // This is maintained with a counter, because the size of the priority queue
24436
- // array might include canceled tasks.
24437
-
24438
- profilingState[QUEUE_SIZE] = 0;
24439
- profilingState[CURRENT_TASK_ID] = 0;
24440
- } // Bytes per element is 4
24441
-
24442
-
24443
- var INITIAL_EVENT_LOG_SIZE = 131072;
24444
- var MAX_EVENT_LOG_SIZE = 524288; // Equivalent to 2 megabytes
24445
-
24446
- var eventLogSize = 0;
24447
- var eventLogBuffer = null;
24448
- var eventLog = null;
24449
- var eventLogIndex = 0;
24450
- var TaskStartEvent = 1;
24451
- var TaskCompleteEvent = 2;
24452
- var TaskErrorEvent = 3;
24453
- var TaskCancelEvent = 4;
24454
- var TaskRunEvent = 5;
24455
- var TaskYieldEvent = 6;
24456
- var SchedulerSuspendEvent = 7;
24457
- var SchedulerResumeEvent = 8;
24458
-
24459
- function logEvent(entries) {
24460
- if (eventLog !== null) {
24461
- var offset = eventLogIndex;
24462
- eventLogIndex += entries.length;
24463
-
24464
- if (eventLogIndex + 1 > eventLogSize) {
24465
- eventLogSize *= 2;
24466
-
24467
- if (eventLogSize > MAX_EVENT_LOG_SIZE) {
24468
- console.error("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
24469
- stopLoggingProfilingEvents();
24470
- return;
24471
- }
24472
-
24473
- var newEventLog = new Int32Array(eventLogSize * 4);
24474
- newEventLog.set(eventLog);
24475
- eventLogBuffer = newEventLog.buffer;
24476
- eventLog = newEventLog;
24477
- }
24478
-
24479
- eventLog.set(entries, offset);
24480
- }
24481
- }
24482
-
24483
- function startLoggingProfilingEvents() {
24484
- eventLogSize = INITIAL_EVENT_LOG_SIZE;
24485
- eventLogBuffer = new ArrayBuffer(eventLogSize * 4);
24486
- eventLog = new Int32Array(eventLogBuffer);
24487
- eventLogIndex = 0;
24488
- }
24489
- function stopLoggingProfilingEvents() {
24490
- var buffer = eventLogBuffer;
24491
- eventLogSize = 0;
24492
- eventLogBuffer = null;
24493
- eventLog = null;
24494
- eventLogIndex = 0;
24495
- return buffer;
24496
- }
24497
- function markTaskStart(task, ms) {
24498
- if (enableProfiling) {
24499
- profilingState[QUEUE_SIZE]++;
24500
-
24501
- if (eventLog !== null) {
24502
- // performance.now returns a float, representing milliseconds. When the
24503
- // event is logged, it's coerced to an int. Convert to microseconds to
24504
- // maintain extra degrees of precision.
24505
- logEvent([TaskStartEvent, ms * 1000, task.id, task.priorityLevel]);
24506
- }
24507
- }
24508
- }
24509
- function markTaskCompleted(task, ms) {
24510
- if (enableProfiling) {
24511
- profilingState[PRIORITY] = NoPriority;
24512
- profilingState[CURRENT_TASK_ID] = 0;
24513
- profilingState[QUEUE_SIZE]--;
24514
-
24515
- if (eventLog !== null) {
24516
- logEvent([TaskCompleteEvent, ms * 1000, task.id]);
24517
- }
24518
- }
24519
- }
24520
- function markTaskCanceled(task, ms) {
24521
- if (enableProfiling) {
24522
- profilingState[QUEUE_SIZE]--;
24523
-
24524
- if (eventLog !== null) {
24525
- logEvent([TaskCancelEvent, ms * 1000, task.id]);
24526
- }
24527
- }
24528
- }
24529
- function markTaskErrored(task, ms) {
24530
- if (enableProfiling) {
24531
- profilingState[PRIORITY] = NoPriority;
24532
- profilingState[CURRENT_TASK_ID] = 0;
24533
- profilingState[QUEUE_SIZE]--;
24534
-
24535
- if (eventLog !== null) {
24536
- logEvent([TaskErrorEvent, ms * 1000, task.id]);
24537
- }
24538
- }
24539
- }
24540
- function markTaskRun(task, ms) {
24541
- if (enableProfiling) {
24542
- runIdCounter++;
24543
- profilingState[PRIORITY] = task.priorityLevel;
24544
- profilingState[CURRENT_TASK_ID] = task.id;
24545
- profilingState[CURRENT_RUN_ID] = runIdCounter;
24546
-
24547
- if (eventLog !== null) {
24548
- logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
24549
- }
24550
- }
24551
- }
24552
- function markTaskYield(task, ms) {
24553
- if (enableProfiling) {
24554
- profilingState[PRIORITY] = NoPriority;
24555
- profilingState[CURRENT_TASK_ID] = 0;
24556
- profilingState[CURRENT_RUN_ID] = 0;
24557
-
24558
- if (eventLog !== null) {
24559
- logEvent([TaskYieldEvent, ms * 1000, task.id, runIdCounter]);
24560
- }
24561
- }
24562
- }
24563
- function markSchedulerSuspended(ms) {
24564
- if (enableProfiling) {
24565
- mainThreadIdCounter++;
24566
-
24567
- if (eventLog !== null) {
24568
- logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
24569
- }
24570
- }
24571
- }
24572
- function markSchedulerUnsuspended(ms) {
24573
- if (enableProfiling) {
24574
- if (eventLog !== null) {
24575
- logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
24576
- }
24577
- }
24578
- }
24579
-
24580
- /* eslint-disable no-var */
24581
- // Math.pow(2, 30) - 1
24582
- // 0b111111111111111111111111111111
24583
-
24584
- var maxSigned31BitInt = 1073741823; // Times out immediately
24585
-
24586
- var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
24587
-
24588
- var USER_BLOCKING_PRIORITY = 250;
24589
- var NORMAL_PRIORITY_TIMEOUT = 5000;
24590
- var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
24591
-
24592
- var IDLE_PRIORITY = maxSigned31BitInt; // Tasks are stored on a min heap
24593
-
24594
- var taskQueue = [];
24595
- var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
24596
-
24597
- var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
24598
-
24599
- var isSchedulerPaused = false;
24600
- var currentTask = null;
24601
- var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrancy.
24602
-
24603
- var isPerformingWork = false;
24604
- var isHostCallbackScheduled = false;
24605
- var isHostTimeoutScheduled = false;
24606
-
24607
- function advanceTimers(currentTime) {
24608
- // Check for tasks that are no longer delayed and add them to the queue.
24609
- var timer = peek(timerQueue);
24610
-
24611
- while (timer !== null) {
24612
- if (timer.callback === null) {
24613
- // Timer was cancelled.
24614
- pop(timerQueue);
24615
- } else if (timer.startTime <= currentTime) {
24616
- // Timer fired. Transfer to the task queue.
24617
- pop(timerQueue);
24618
- timer.sortIndex = timer.expirationTime;
24619
- push(taskQueue, timer);
24620
-
24621
- if (enableProfiling) {
24622
- markTaskStart(timer, currentTime);
24623
- timer.isQueued = true;
24624
- }
24625
- } else {
24626
- // Remaining timers are pending.
24627
- return;
24628
- }
24629
-
24630
- timer = peek(timerQueue);
24631
- }
24632
- }
24633
-
24634
- function handleTimeout(currentTime) {
24635
- isHostTimeoutScheduled = false;
24636
- advanceTimers(currentTime);
24637
-
24638
- if (!isHostCallbackScheduled) {
24639
- if (peek(taskQueue) !== null) {
24640
- isHostCallbackScheduled = true;
24641
- requestHostCallback(flushWork);
24642
- } else {
24643
- var firstTimer = peek(timerQueue);
24644
-
24645
- if (firstTimer !== null) {
24646
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
24647
- }
24648
- }
24649
- }
24650
- }
24651
-
24652
- function flushWork(hasTimeRemaining, initialTime) {
24653
- if (enableProfiling) {
24654
- markSchedulerUnsuspended(initialTime);
24655
- } // We'll need a host callback the next time work is scheduled.
24656
-
24657
-
24658
- isHostCallbackScheduled = false;
24659
-
24660
- if (isHostTimeoutScheduled) {
24661
- // We scheduled a timeout but it's no longer needed. Cancel it.
24662
- isHostTimeoutScheduled = false;
24663
- cancelHostTimeout();
24664
- }
24665
-
24666
- isPerformingWork = true;
24667
- var previousPriorityLevel = currentPriorityLevel;
24668
-
24669
- try {
24670
- if (enableProfiling) {
24671
- try {
24672
- return workLoop(hasTimeRemaining, initialTime);
24673
- } catch (error) {
24674
- if (currentTask !== null) {
24675
- var currentTime = exports.unstable_now();
24676
- markTaskErrored(currentTask, currentTime);
24677
- currentTask.isQueued = false;
24678
- }
24679
-
24680
- throw error;
24681
- }
24682
- } else {
24683
- // No catch in prod codepath.
24684
- return workLoop(hasTimeRemaining, initialTime);
24685
- }
24686
- } finally {
24687
- currentTask = null;
24688
- currentPriorityLevel = previousPriorityLevel;
24689
- isPerformingWork = false;
24690
-
24691
- if (enableProfiling) {
24692
- var _currentTime = exports.unstable_now();
24693
-
24694
- markSchedulerSuspended(_currentTime);
24695
- }
24696
- }
24697
- }
24698
-
24699
- function workLoop(hasTimeRemaining, initialTime) {
24700
- var currentTime = initialTime;
24701
- advanceTimers(currentTime);
24702
- currentTask = peek(taskQueue);
24703
-
24704
- while (currentTask !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
24705
- if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
24706
- // This currentTask hasn't expired, and we've reached the deadline.
24707
- break;
24708
- }
24709
-
24710
- var callback = currentTask.callback;
24711
-
24712
- if (callback !== null) {
24713
- currentTask.callback = null;
24714
- currentPriorityLevel = currentTask.priorityLevel;
24715
- var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
24716
- markTaskRun(currentTask, currentTime);
24717
- var continuationCallback = callback(didUserCallbackTimeout);
24718
- currentTime = exports.unstable_now();
24719
-
24720
- if (typeof continuationCallback === 'function') {
24721
- currentTask.callback = continuationCallback;
24722
- markTaskYield(currentTask, currentTime);
24723
- } else {
24724
- if (enableProfiling) {
24725
- markTaskCompleted(currentTask, currentTime);
24726
- currentTask.isQueued = false;
24727
- }
24728
-
24729
- if (currentTask === peek(taskQueue)) {
24730
- pop(taskQueue);
24731
- }
24732
- }
24733
-
24734
- advanceTimers(currentTime);
24735
- } else {
24736
- pop(taskQueue);
24737
- }
24738
-
24739
- currentTask = peek(taskQueue);
24740
- } // Return whether there's additional work
24741
-
24742
-
24743
- if (currentTask !== null) {
24744
- return true;
24745
- } else {
24746
- var firstTimer = peek(timerQueue);
24747
-
24748
- if (firstTimer !== null) {
24749
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
24750
- }
24751
-
24752
- return false;
24753
- }
24754
- }
24755
-
24756
- function unstable_runWithPriority(priorityLevel, eventHandler) {
24757
- switch (priorityLevel) {
24758
- case ImmediatePriority:
24759
- case UserBlockingPriority:
24760
- case NormalPriority:
24761
- case LowPriority:
24762
- case IdlePriority:
24763
- break;
24764
-
24765
- default:
24766
- priorityLevel = NormalPriority;
24767
- }
24768
-
24769
- var previousPriorityLevel = currentPriorityLevel;
24770
- currentPriorityLevel = priorityLevel;
24771
-
24772
- try {
24773
- return eventHandler();
24774
- } finally {
24775
- currentPriorityLevel = previousPriorityLevel;
24776
- }
24777
- }
24778
-
24779
- function unstable_next(eventHandler) {
24780
- var priorityLevel;
24781
-
24782
- switch (currentPriorityLevel) {
24783
- case ImmediatePriority:
24784
- case UserBlockingPriority:
24785
- case NormalPriority:
24786
- // Shift down to normal priority
24787
- priorityLevel = NormalPriority;
24788
- break;
24789
-
24790
- default:
24791
- // Anything lower than normal priority should remain at the current level.
24792
- priorityLevel = currentPriorityLevel;
24793
- break;
24794
- }
24795
-
24796
- var previousPriorityLevel = currentPriorityLevel;
24797
- currentPriorityLevel = priorityLevel;
24798
-
24799
- try {
24800
- return eventHandler();
24801
- } finally {
24802
- currentPriorityLevel = previousPriorityLevel;
24803
- }
24804
- }
24805
-
24806
- function unstable_wrapCallback(callback) {
24807
- var parentPriorityLevel = currentPriorityLevel;
24808
- return function () {
24809
- // This is a fork of runWithPriority, inlined for performance.
24810
- var previousPriorityLevel = currentPriorityLevel;
24811
- currentPriorityLevel = parentPriorityLevel;
24812
-
24813
- try {
24814
- return callback.apply(this, arguments);
24815
- } finally {
24816
- currentPriorityLevel = previousPriorityLevel;
24817
- }
24818
- };
24819
- }
24820
-
24821
- function timeoutForPriorityLevel(priorityLevel) {
24822
- switch (priorityLevel) {
24823
- case ImmediatePriority:
24824
- return IMMEDIATE_PRIORITY_TIMEOUT;
24825
-
24826
- case UserBlockingPriority:
24827
- return USER_BLOCKING_PRIORITY;
24828
-
24829
- case IdlePriority:
24830
- return IDLE_PRIORITY;
24831
-
24832
- case LowPriority:
24833
- return LOW_PRIORITY_TIMEOUT;
24834
-
24835
- case NormalPriority:
24836
- default:
24837
- return NORMAL_PRIORITY_TIMEOUT;
24838
- }
24839
- }
24840
-
24841
- function unstable_scheduleCallback(priorityLevel, callback, options) {
24842
- var currentTime = exports.unstable_now();
24843
- var startTime;
24844
- var timeout;
24845
-
24846
- if (typeof options === 'object' && options !== null) {
24847
- var delay = options.delay;
24848
-
24849
- if (typeof delay === 'number' && delay > 0) {
24850
- startTime = currentTime + delay;
24851
- } else {
24852
- startTime = currentTime;
24853
- }
24854
-
24855
- timeout = typeof options.timeout === 'number' ? options.timeout : timeoutForPriorityLevel(priorityLevel);
24856
- } else {
24857
- timeout = timeoutForPriorityLevel(priorityLevel);
24858
- startTime = currentTime;
24859
- }
24860
-
24861
- var expirationTime = startTime + timeout;
24862
- var newTask = {
24863
- id: taskIdCounter++,
24864
- callback: callback,
24865
- priorityLevel: priorityLevel,
24866
- startTime: startTime,
24867
- expirationTime: expirationTime,
24868
- sortIndex: -1
24869
- };
24870
-
24871
- if (enableProfiling) {
24872
- newTask.isQueued = false;
24873
- }
24874
-
24875
- if (startTime > currentTime) {
24876
- // This is a delayed task.
24877
- newTask.sortIndex = startTime;
24878
- push(timerQueue, newTask);
24879
-
24880
- if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
24881
- // All tasks are delayed, and this is the task with the earliest delay.
24882
- if (isHostTimeoutScheduled) {
24883
- // Cancel an existing timeout.
24884
- cancelHostTimeout();
24885
- } else {
24886
- isHostTimeoutScheduled = true;
24887
- } // Schedule a timeout.
24888
-
24889
-
24890
- requestHostTimeout(handleTimeout, startTime - currentTime);
24891
- }
24892
- } else {
24893
- newTask.sortIndex = expirationTime;
24894
- push(taskQueue, newTask);
24895
-
24896
- if (enableProfiling) {
24897
- markTaskStart(newTask, currentTime);
24898
- newTask.isQueued = true;
24899
- } // Schedule a host callback, if needed. If we're already performing work,
24900
- // wait until the next time we yield.
24901
-
24902
-
24903
- if (!isHostCallbackScheduled && !isPerformingWork) {
24904
- isHostCallbackScheduled = true;
24905
- requestHostCallback(flushWork);
24906
- }
24907
- }
24908
-
24909
- return newTask;
24910
- }
24911
-
24912
- function unstable_pauseExecution() {
24913
- isSchedulerPaused = true;
24914
- }
24915
-
24916
- function unstable_continueExecution() {
24917
- isSchedulerPaused = false;
24918
-
24919
- if (!isHostCallbackScheduled && !isPerformingWork) {
24920
- isHostCallbackScheduled = true;
24921
- requestHostCallback(flushWork);
24922
- }
24923
- }
24924
-
24925
- function unstable_getFirstCallbackNode() {
24926
- return peek(taskQueue);
24927
- }
24928
-
24929
- function unstable_cancelCallback(task) {
24930
- if (enableProfiling) {
24931
- if (task.isQueued) {
24932
- var currentTime = exports.unstable_now();
24933
- markTaskCanceled(task, currentTime);
24934
- task.isQueued = false;
24935
- }
24936
- } // Null out the callback to indicate the task has been canceled. (Can't
24937
- // remove from the queue because you can't remove arbitrary nodes from an
24938
- // array based heap, only the first one.)
24939
-
24940
-
24941
- task.callback = null;
24942
- }
24943
-
24944
- function unstable_getCurrentPriorityLevel() {
24945
- return currentPriorityLevel;
24946
- }
24947
-
24948
- function unstable_shouldYield() {
24949
- var currentTime = exports.unstable_now();
24950
- advanceTimers(currentTime);
24951
- var firstTask = peek(taskQueue);
24952
- return firstTask !== currentTask && currentTask !== null && firstTask !== null && firstTask.callback !== null && firstTask.startTime <= currentTime && firstTask.expirationTime < currentTask.expirationTime || shouldYieldToHost();
24953
- }
24954
-
24955
- var unstable_requestPaint = requestPaint;
24956
- var unstable_Profiling = enableProfiling ? {
24957
- startLoggingProfilingEvents: startLoggingProfilingEvents,
24958
- stopLoggingProfilingEvents: stopLoggingProfilingEvents,
24959
- sharedProfilingBuffer: sharedProfilingBuffer
24960
- } : null;
24961
-
24962
- exports.unstable_ImmediatePriority = ImmediatePriority;
24963
- exports.unstable_UserBlockingPriority = UserBlockingPriority;
24964
- exports.unstable_NormalPriority = NormalPriority;
24965
- exports.unstable_IdlePriority = IdlePriority;
24966
- exports.unstable_LowPriority = LowPriority;
24967
- exports.unstable_runWithPriority = unstable_runWithPriority;
24968
- exports.unstable_next = unstable_next;
24969
- exports.unstable_scheduleCallback = unstable_scheduleCallback;
24970
- exports.unstable_cancelCallback = unstable_cancelCallback;
24971
- exports.unstable_wrapCallback = unstable_wrapCallback;
24972
- exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
24973
- exports.unstable_shouldYield = unstable_shouldYield;
24974
- exports.unstable_requestPaint = unstable_requestPaint;
24975
- exports.unstable_continueExecution = unstable_continueExecution;
24976
- exports.unstable_pauseExecution = unstable_pauseExecution;
24977
- exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
24978
- exports.unstable_Profiling = unstable_Profiling;
24979
- })();
24980
- }
24981
 
24982
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
24983
 
24984
- /***/ }),
24985
- /* 304 */
24986
- /***/ (function(module, exports, __webpack_require__) {
24987
 
24988
- "use strict";
24989
- /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.12.0
24990
- * react-dom.development.js
24991
- *
24992
- * Copyright (c) Facebook, Inc. and its affiliates.
24993
- *
24994
- * This source code is licensed under the MIT license found in the
24995
- * LICENSE file in the root directory of this source tree.
24996
- */
24997
-
24998
-
24999
-
25000
-
25001
-
25002
- if (process.env.NODE_ENV !== "production") {
25003
- (function() {
25004
- 'use strict';
25005
-
25006
- var React = __webpack_require__(0);
25007
- var _assign = __webpack_require__(43);
25008
- var Scheduler = __webpack_require__(134);
25009
- var checkPropTypes = __webpack_require__(87);
25010
- var tracing = __webpack_require__(305);
25011
-
25012
- // Do not require this module directly! Use normal `invariant` calls with
25013
- // template literal strings. The messages will be replaced with error codes
25014
- // during build.
25015
-
25016
- /**
25017
- * Use invariant() to assert state which your program assumes to be true.
25018
- *
25019
- * Provide sprintf-style format (only %s is supported) and arguments
25020
- * to provide information about what broke and what you were
25021
- * expecting.
25022
- *
25023
- * The invariant message will be stripped in production, but the invariant
25024
- * will remain to ensure logic does not differ in production.
25025
- */
25026
-
25027
- if (!React) {
25028
- {
25029
- throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");
25030
- }
25031
- }
25032
-
25033
- /**
25034
- * Injectable ordering of event plugins.
25035
- */
25036
- var eventPluginOrder = null;
25037
- /**
25038
- * Injectable mapping from names to event plugin modules.
25039
- */
25040
-
25041
- var namesToPlugins = {};
25042
- /**
25043
- * Recomputes the plugin list using the injected plugins and plugin ordering.
25044
- *
25045
- * @private
25046
- */
25047
-
25048
- function recomputePluginOrdering() {
25049
- if (!eventPluginOrder) {
25050
- // Wait until an `eventPluginOrder` is injected.
25051
- return;
25052
- }
25053
-
25054
- for (var pluginName in namesToPlugins) {
25055
- var pluginModule = namesToPlugins[pluginName];
25056
- var pluginIndex = eventPluginOrder.indexOf(pluginName);
25057
-
25058
- if (!(pluginIndex > -1)) {
25059
- {
25060
- throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `" + pluginName + "`.");
25061
- }
25062
- }
25063
-
25064
- if (plugins[pluginIndex]) {
25065
- continue;
25066
- }
25067
-
25068
- if (!pluginModule.extractEvents) {
25069
- {
25070
- throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `" + pluginName + "` does not.");
25071
- }
25072
- }
25073
-
25074
- plugins[pluginIndex] = pluginModule;
25075
- var publishedEvents = pluginModule.eventTypes;
25076
-
25077
- for (var eventName in publishedEvents) {
25078
- if (!publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName)) {
25079
- {
25080
- throw Error("EventPluginRegistry: Failed to publish event `" + eventName + "` for plugin `" + pluginName + "`.");
25081
- }
25082
- }
25083
- }
25084
- }
25085
- }
25086
- /**
25087
- * Publishes an event so that it can be dispatched by the supplied plugin.
25088
- *
25089
- * @param {object} dispatchConfig Dispatch configuration for the event.
25090
- * @param {object} PluginModule Plugin publishing the event.
25091
- * @return {boolean} True if the event was successfully published.
25092
- * @private
25093
- */
25094
-
25095
-
25096
- function publishEventForPlugin(dispatchConfig, pluginModule, eventName) {
25097
- if (!!eventNameDispatchConfigs.hasOwnProperty(eventName)) {
25098
- {
25099
- throw Error("EventPluginHub: More than one plugin attempted to publish the same event name, `" + eventName + "`.");
25100
- }
25101
- }
25102
-
25103
- eventNameDispatchConfigs[eventName] = dispatchConfig;
25104
- var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;
25105
-
25106
- if (phasedRegistrationNames) {
25107
- for (var phaseName in phasedRegistrationNames) {
25108
- if (phasedRegistrationNames.hasOwnProperty(phaseName)) {
25109
- var phasedRegistrationName = phasedRegistrationNames[phaseName];
25110
- publishRegistrationName(phasedRegistrationName, pluginModule, eventName);
25111
- }
25112
- }
25113
-
25114
- return true;
25115
- } else if (dispatchConfig.registrationName) {
25116
- publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);
25117
- return true;
25118
- }
25119
-
25120
- return false;
25121
- }
25122
- /**
25123
- * Publishes a registration name that is used to identify dispatched events.
25124
- *
25125
- * @param {string} registrationName Registration name to add.
25126
- * @param {object} PluginModule Plugin publishing the event.
25127
- * @private
25128
- */
25129
-
25130
-
25131
- function publishRegistrationName(registrationName, pluginModule, eventName) {
25132
- if (!!registrationNameModules[registrationName]) {
25133
- {
25134
- throw Error("EventPluginHub: More than one plugin attempted to publish the same registration name, `" + registrationName + "`.");
25135
- }
25136
- }
25137
-
25138
- registrationNameModules[registrationName] = pluginModule;
25139
- registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;
25140
-
25141
- {
25142
- var lowerCasedName = registrationName.toLowerCase();
25143
- possibleRegistrationNames[lowerCasedName] = registrationName;
25144
-
25145
- if (registrationName === 'onDoubleClick') {
25146
- possibleRegistrationNames.ondblclick = registrationName;
25147
- }
25148
- }
25149
- }
25150
- /**
25151
- * Registers plugins so that they can extract and dispatch events.
25152
- *
25153
- * @see {EventPluginHub}
25154
- */
25155
-
25156
- /**
25157
- * Ordered list of injected plugins.
25158
- */
25159
-
25160
-
25161
- var plugins = [];
25162
- /**
25163
- * Mapping from event name to dispatch config
25164
- */
25165
-
25166
- var eventNameDispatchConfigs = {};
25167
- /**
25168
- * Mapping from registration name to plugin module
25169
- */
25170
-
25171
- var registrationNameModules = {};
25172
- /**
25173
- * Mapping from registration name to event name
25174
- */
25175
-
25176
- var registrationNameDependencies = {};
25177
- /**
25178
- * Mapping from lowercase registration names to the properly cased version,
25179
- * used to warn in the case of missing event handlers. Available
25180
- * only in true.
25181
- * @type {Object}
25182
- */
25183
-
25184
- var possibleRegistrationNames = {}; // Trust the developer to only use possibleRegistrationNames in true
25185
-
25186
- /**
25187
- * Injects an ordering of plugins (by plugin name). This allows the ordering
25188
- * to be decoupled from injection of the actual plugins so that ordering is
25189
- * always deterministic regardless of packaging, on-the-fly injection, etc.
25190
- *
25191
- * @param {array} InjectedEventPluginOrder
25192
- * @internal
25193
- * @see {EventPluginHub.injection.injectEventPluginOrder}
25194
- */
25195
-
25196
- function injectEventPluginOrder(injectedEventPluginOrder) {
25197
- if (!!eventPluginOrder) {
25198
- {
25199
- throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");
25200
- }
25201
- } // Clone the ordering so it cannot be dynamically mutated.
25202
-
25203
-
25204
- eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);
25205
- recomputePluginOrdering();
25206
- }
25207
- /**
25208
- * Injects plugins to be used by `EventPluginHub`. The plugin names must be
25209
- * in the ordering injected by `injectEventPluginOrder`.
25210
- *
25211
- * Plugins can be injected as part of page initialization or on-the-fly.
25212
- *
25213
- * @param {object} injectedNamesToPlugins Map from names to plugin modules.
25214
- * @internal
25215
- * @see {EventPluginHub.injection.injectEventPluginsByName}
25216
- */
25217
-
25218
- function injectEventPluginsByName(injectedNamesToPlugins) {
25219
- var isOrderingDirty = false;
25220
-
25221
- for (var pluginName in injectedNamesToPlugins) {
25222
- if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {
25223
- continue;
25224
- }
25225
-
25226
- var pluginModule = injectedNamesToPlugins[pluginName];
25227
-
25228
- if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {
25229
- if (!!namesToPlugins[pluginName]) {
25230
- {
25231
- throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + pluginName + "`.");
25232
- }
25233
- }
25234
-
25235
- namesToPlugins[pluginName] = pluginModule;
25236
- isOrderingDirty = true;
25237
- }
25238
- }
25239
-
25240
- if (isOrderingDirty) {
25241
- recomputePluginOrdering();
25242
- }
25243
- }
25244
-
25245
- var invokeGuardedCallbackImpl = function (name, func, context, a, b, c, d, e, f) {
25246
- var funcArgs = Array.prototype.slice.call(arguments, 3);
25247
-
25248
- try {
25249
- func.apply(context, funcArgs);
25250
- } catch (error) {
25251
- this.onError(error);
25252
- }
25253
- };
25254
-
25255
- {
25256
- // In DEV mode, we swap out invokeGuardedCallback for a special version
25257
- // that plays more nicely with the browser's DevTools. The idea is to preserve
25258
- // "Pause on exceptions" behavior. Because React wraps all user-provided
25259
- // functions in invokeGuardedCallback, and the production version of
25260
- // invokeGuardedCallback uses a try-catch, all user exceptions are treated
25261
- // like caught exceptions, and the DevTools won't pause unless the developer
25262
- // takes the extra step of enabling pause on caught exceptions. This is
25263
- // unintuitive, though, because even though React has caught the error, from
25264
- // the developer's perspective, the error is uncaught.
25265
- //
25266
- // To preserve the expected "Pause on exceptions" behavior, we don't use a
25267
- // try-catch in DEV. Instead, we synchronously dispatch a fake event to a fake
25268
- // DOM node, and call the user-provided callback from inside an event handler
25269
- // for that fake event. If the callback throws, the error is "captured" using
25270
- // a global event handler. But because the error happens in a different
25271
- // event loop context, it does not interrupt the normal program flow.
25272
- // Effectively, this gives us try-catch behavior without actually using
25273
- // try-catch. Neat!
25274
- // Check that the browser supports the APIs we need to implement our special
25275
- // DEV version of invokeGuardedCallback
25276
- if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {
25277
- var fakeNode = document.createElement('react');
25278
-
25279
- var invokeGuardedCallbackDev = function (name, func, context, a, b, c, d, e, f) {
25280
- // If document doesn't exist we know for sure we will crash in this method
25281
- // when we call document.createEvent(). However this can cause confusing
25282
- // errors: https://github.com/facebookincubator/create-react-app/issues/3482
25283
- // So we preemptively throw with a better message instead.
25284
- if (!(typeof document !== 'undefined')) {
25285
- {
25286
- throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
25287
- }
25288
- }
25289
-
25290
- var evt = document.createEvent('Event'); // Keeps track of whether the user-provided callback threw an error. We
25291
- // set this to true at the beginning, then set it to false right after
25292
- // calling the function. If the function errors, `didError` will never be
25293
- // set to false. This strategy works even if the browser is flaky and
25294
- // fails to call our global error handler, because it doesn't rely on
25295
- // the error event at all.
25296
-
25297
- var didError = true; // Keeps track of the value of window.event so that we can reset it
25298
- // during the callback to let user code access window.event in the
25299
- // browsers that support it.
25300
-
25301
- var windowEvent = window.event; // Keeps track of the descriptor of window.event to restore it after event
25302
- // dispatching: https://github.com/facebook/react/issues/13688
25303
-
25304
- var windowEventDescriptor = Object.getOwnPropertyDescriptor(window, 'event'); // Create an event handler for our fake event. We will synchronously
25305
- // dispatch our fake event using `dispatchEvent`. Inside the handler, we
25306
- // call the user-provided callback.
25307
-
25308
- var funcArgs = Array.prototype.slice.call(arguments, 3);
25309
-
25310
- function callCallback() {
25311
- // We immediately remove the callback from event listeners so that
25312
- // nested `invokeGuardedCallback` calls do not clash. Otherwise, a
25313
- // nested call would trigger the fake event handlers of any call higher
25314
- // in the stack.
25315
- fakeNode.removeEventListener(evtType, callCallback, false); // We check for window.hasOwnProperty('event') to prevent the
25316
- // window.event assignment in both IE <= 10 as they throw an error
25317
- // "Member not found" in strict mode, and in Firefox which does not
25318
- // support window.event.
25319
-
25320
- if (typeof window.event !== 'undefined' && window.hasOwnProperty('event')) {
25321
- window.event = windowEvent;
25322
- }
25323
-
25324
- func.apply(context, funcArgs);
25325
- didError = false;
25326
- } // Create a global error event handler. We use this to capture the value
25327
- // that was thrown. It's possible that this error handler will fire more
25328
- // than once; for example, if non-React code also calls `dispatchEvent`
25329
- // and a handler for that event throws. We should be resilient to most of
25330
- // those cases. Even if our error event handler fires more than once, the
25331
- // last error event is always used. If the callback actually does error,
25332
- // we know that the last error event is the correct one, because it's not
25333
- // possible for anything else to have happened in between our callback
25334
- // erroring and the code that follows the `dispatchEvent` call below. If
25335
- // the callback doesn't error, but the error event was fired, we know to
25336
- // ignore it because `didError` will be false, as described above.
25337
-
25338
-
25339
- var error; // Use this to track whether the error event is ever called.
25340
-
25341
- var didSetError = false;
25342
- var isCrossOriginError = false;
25343
-
25344
- function handleWindowError(event) {
25345
- error = event.error;
25346
- didSetError = true;
25347
-
25348
- if (error === null && event.colno === 0 && event.lineno === 0) {
25349
- isCrossOriginError = true;
25350
- }
25351
-
25352
- if (event.defaultPrevented) {
25353
- // Some other error handler has prevented default.
25354
- // Browsers silence the error report if this happens.
25355
- // We'll remember this to later decide whether to log it or not.
25356
- if (error != null && typeof error === 'object') {
25357
- try {
25358
- error._suppressLogging = true;
25359
- } catch (inner) {// Ignore.
25360
- }
25361
- }
25362
- }
25363
- } // Create a fake event type.
25364
-
25365
-
25366
- var evtType = "react-" + (name ? name : 'invokeguardedcallback'); // Attach our event handlers
25367
-
25368
- window.addEventListener('error', handleWindowError);
25369
- fakeNode.addEventListener(evtType, callCallback, false); // Synchronously dispatch our fake event. If the user-provided function
25370
- // errors, it will trigger our global error handler.
25371
-
25372
- evt.initEvent(evtType, false, false);
25373
- fakeNode.dispatchEvent(evt);
25374
-
25375
- if (windowEventDescriptor) {
25376
- Object.defineProperty(window, 'event', windowEventDescriptor);
25377
- }
25378
-
25379
- if (didError) {
25380
- if (!didSetError) {
25381
- // The callback errored, but the error event never fired.
25382
- error = new Error('An error was thrown inside one of your components, but React ' + "doesn't know what it was. This is likely due to browser " + 'flakiness. React does its best to preserve the "Pause on ' + 'exceptions" behavior of the DevTools, which requires some ' + "DEV-mode only tricks. It's possible that these don't work in " + 'your browser. Try triggering the error in production mode, ' + 'or switching to a modern browser. If you suspect that this is ' + 'actually an issue with React, please file an issue.');
25383
- } else if (isCrossOriginError) {
25384
- error = new Error("A cross-origin error was thrown. React doesn't have access to " + 'the actual error object in development. ' + 'See https://fb.me/react-crossorigin-error for more information.');
25385
- }
25386
-
25387
- this.onError(error);
25388
- } // Remove our event listeners
25389
-
25390
-
25391
- window.removeEventListener('error', handleWindowError);
25392
- };
25393
-
25394
- invokeGuardedCallbackImpl = invokeGuardedCallbackDev;
25395
- }
25396
- }
25397
-
25398
- var invokeGuardedCallbackImpl$1 = invokeGuardedCallbackImpl;
25399
-
25400
- var hasError = false;
25401
- var caughtError = null; // Used by event system to capture/rethrow the first error.
25402
-
25403
- var hasRethrowError = false;
25404
- var rethrowError = null;
25405
- var reporter = {
25406
- onError: function (error) {
25407
- hasError = true;
25408
- caughtError = error;
25409
- }
25410
- };
25411
- /**
25412
- * Call a function while guarding against errors that happens within it.
25413
- * Returns an error if it throws, otherwise null.
25414
- *
25415
- * In production, this is implemented using a try-catch. The reason we don't
25416
- * use a try-catch directly is so that we can swap out a different
25417
- * implementation in DEV mode.
25418
- *
25419
- * @param {String} name of the guard to use for logging or debugging
25420
- * @param {Function} func The function to invoke
25421
- * @param {*} context The context to use when calling the function
25422
- * @param {...*} args Arguments for function
25423
- */
25424
-
25425
- function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
25426
- hasError = false;
25427
- caughtError = null;
25428
- invokeGuardedCallbackImpl$1.apply(reporter, arguments);
25429
- }
25430
- /**
25431
- * Same as invokeGuardedCallback, but instead of returning an error, it stores
25432
- * it in a global so it can be rethrown by `rethrowCaughtError` later.
25433
- * TODO: See if caughtError and rethrowError can be unified.
25434
- *
25435
- * @param {String} name of the guard to use for logging or debugging
25436
- * @param {Function} func The function to invoke
25437
- * @param {*} context The context to use when calling the function
25438
- * @param {...*} args Arguments for function
25439
- */
25440
-
25441
- function invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f) {
25442
- invokeGuardedCallback.apply(this, arguments);
25443
-
25444
- if (hasError) {
25445
- var error = clearCaughtError();
25446
-
25447
- if (!hasRethrowError) {
25448
- hasRethrowError = true;
25449
- rethrowError = error;
25450
- }
25451
- }
25452
- }
25453
- /**
25454
- * During execution of guarded functions we will capture the first error which
25455
- * we will rethrow to be handled by the top level error handler.
25456
- */
25457
-
25458
- function rethrowCaughtError() {
25459
- if (hasRethrowError) {
25460
- var error = rethrowError;
25461
- hasRethrowError = false;
25462
- rethrowError = null;
25463
- throw error;
25464
- }
25465
- }
25466
- function hasCaughtError() {
25467
- return hasError;
25468
- }
25469
- function clearCaughtError() {
25470
- if (hasError) {
25471
- var error = caughtError;
25472
- hasError = false;
25473
- caughtError = null;
25474
- return error;
25475
- } else {
25476
- {
25477
- {
25478
- throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
25479
- }
25480
- }
25481
- }
25482
- }
25483
-
25484
- /**
25485
- * Similar to invariant but only logs a warning if the condition is not met.
25486
- * This can be used to log issues in development environments in critical
25487
- * paths. Removing the logging code for production environments will keep the
25488
- * same logic and follow the same code paths.
25489
- */
25490
- var warningWithoutStack = function () {};
25491
-
25492
- {
25493
- warningWithoutStack = function (condition, format) {
25494
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
25495
- args[_key - 2] = arguments[_key];
25496
- }
25497
-
25498
- if (format === undefined) {
25499
- throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
25500
- }
25501
-
25502
- if (args.length > 8) {
25503
- // Check before the condition to catch violations early.
25504
- throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
25505
- }
25506
-
25507
- if (condition) {
25508
- return;
25509
- }
25510
-
25511
- if (typeof console !== 'undefined') {
25512
- var argsWithFormat = args.map(function (item) {
25513
- return '' + item;
25514
- });
25515
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
25516
- // breaks IE9: https://github.com/facebook/react/issues/13610
25517
-
25518
- Function.prototype.apply.call(console.error, console, argsWithFormat);
25519
- }
25520
-
25521
- try {
25522
- // --- Welcome to debugging React ---
25523
- // This error was thrown as a convenience so that you can use this stack
25524
- // to find the callsite that caused this warning to fire.
25525
- var argIndex = 0;
25526
- var message = 'Warning: ' + format.replace(/%s/g, function () {
25527
- return args[argIndex++];
25528
- });
25529
- throw new Error(message);
25530
- } catch (x) {}
25531
- };
25532
- }
25533
-
25534
- var warningWithoutStack$1 = warningWithoutStack;
25535
-
25536
- var getFiberCurrentPropsFromNode = null;
25537
- var getInstanceFromNode = null;
25538
- var getNodeFromInstance = null;
25539
- function setComponentTree(getFiberCurrentPropsFromNodeImpl, getInstanceFromNodeImpl, getNodeFromInstanceImpl) {
25540
- getFiberCurrentPropsFromNode = getFiberCurrentPropsFromNodeImpl;
25541
- getInstanceFromNode = getInstanceFromNodeImpl;
25542
- getNodeFromInstance = getNodeFromInstanceImpl;
25543
-
25544
- {
25545
- !(getNodeFromInstance && getInstanceFromNode) ? warningWithoutStack$1(false, 'EventPluginUtils.setComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;
25546
- }
25547
- }
25548
- var validateEventDispatches;
25549
-
25550
- {
25551
- validateEventDispatches = function (event) {
25552
- var dispatchListeners = event._dispatchListeners;
25553
- var dispatchInstances = event._dispatchInstances;
25554
- var listenersIsArr = Array.isArray(dispatchListeners);
25555
- var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;
25556
- var instancesIsArr = Array.isArray(dispatchInstances);
25557
- var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;
25558
- !(instancesIsArr === listenersIsArr && instancesLen === listenersLen) ? warningWithoutStack$1(false, 'EventPluginUtils: Invalid `event`.') : void 0;
25559
- };
25560
- }
25561
- /**
25562
- * Dispatch the event to the listener.
25563
- * @param {SyntheticEvent} event SyntheticEvent to handle
25564
- * @param {function} listener Application-level callback
25565
- * @param {*} inst Internal component instance
25566
- */
25567
-
25568
-
25569
- function executeDispatch(event, listener, inst) {
25570
- var type = event.type || 'unknown-event';
25571
- event.currentTarget = getNodeFromInstance(inst);
25572
- invokeGuardedCallbackAndCatchFirstError(type, listener, undefined, event);
25573
- event.currentTarget = null;
25574
- }
25575
- /**
25576
- * Standard/simple iteration through an event's collected dispatches.
25577
- */
25578
-
25579
- function executeDispatchesInOrder(event) {
25580
- var dispatchListeners = event._dispatchListeners;
25581
- var dispatchInstances = event._dispatchInstances;
25582
-
25583
- {
25584
- validateEventDispatches(event);
25585
- }
25586
-
25587
- if (Array.isArray(dispatchListeners)) {
25588
- for (var i = 0; i < dispatchListeners.length; i++) {
25589
- if (event.isPropagationStopped()) {
25590
- break;
25591
- } // Listeners and Instances are two parallel arrays that are always in sync.
25592
-
25593
-
25594
- executeDispatch(event, dispatchListeners[i], dispatchInstances[i]);
25595
- }
25596
- } else if (dispatchListeners) {
25597
- executeDispatch(event, dispatchListeners, dispatchInstances);
25598
- }
25599
-
25600
- event._dispatchListeners = null;
25601
- event._dispatchInstances = null;
25602
- }
25603
- /**
25604
- * @see executeDispatchesInOrderStopAtTrueImpl
25605
- */
25606
-
25607
-
25608
-
25609
- /**
25610
- * Execution of a "direct" dispatch - there must be at most one dispatch
25611
- * accumulated on the event or it is considered an error. It doesn't really make
25612
- * sense for an event with multiple dispatches (bubbled) to keep track of the
25613
- * return values at each dispatch execution, but it does tend to make sense when
25614
- * dealing with "direct" dispatches.
25615
- *
25616
- * @return {*} The return value of executing the single dispatch.
25617
- */
25618
-
25619
-
25620
- /**
25621
- * @param {SyntheticEvent} event
25622
- * @return {boolean} True iff number of dispatches accumulated is greater than 0.
25623
- */
25624
-
25625
- /**
25626
- * Accumulates items that must not be null or undefined into the first one. This
25627
- * is used to conserve memory by avoiding array allocations, and thus sacrifices
25628
- * API cleanness. Since `current` can be null before being passed in and not
25629
- * null after this function, make sure to assign it back to `current`:
25630
- *
25631
- * `a = accumulateInto(a, b);`
25632
- *
25633
- * This API should be sparingly used. Try `accumulate` for something cleaner.
25634
- *
25635
- * @return {*|array<*>} An accumulation of items.
25636
- */
25637
-
25638
- function accumulateInto(current, next) {
25639
- if (!(next != null)) {
25640
- {
25641
- throw Error("accumulateInto(...): Accumulated items must not be null or undefined.");
25642
- }
25643
- }
25644
-
25645
- if (current == null) {
25646
- return next;
25647
- } // Both are not empty. Warning: Never call x.concat(y) when you are not
25648
- // certain that x is an Array (x could be a string with concat method).
25649
-
25650
-
25651
- if (Array.isArray(current)) {
25652
- if (Array.isArray(next)) {
25653
- current.push.apply(current, next);
25654
- return current;
25655
- }
25656
-
25657
- current.push(next);
25658
- return current;
25659
- }
25660
-
25661
- if (Array.isArray(next)) {
25662
- // A bit too dangerous to mutate `next`.
25663
- return [current].concat(next);
25664
- }
25665
-
25666
- return [current, next];
25667
- }
25668
-
25669
- /**
25670
- * @param {array} arr an "accumulation" of items which is either an Array or
25671
- * a single item. Useful when paired with the `accumulate` module. This is a
25672
- * simple utility that allows us to reason about a collection of items, but
25673
- * handling the case when there is exactly one item (and we do not need to
25674
- * allocate an array).
25675
- * @param {function} cb Callback invoked with each element or a collection.
25676
- * @param {?} [scope] Scope used as `this` in a callback.
25677
- */
25678
- function forEachAccumulated(arr, cb, scope) {
25679
- if (Array.isArray(arr)) {
25680
- arr.forEach(cb, scope);
25681
- } else if (arr) {
25682
- cb.call(scope, arr);
25683
- }
25684
- }
25685
-
25686
- /**
25687
- * Internal queue of events that have accumulated their dispatches and are
25688
- * waiting to have their dispatches executed.
25689
- */
25690
-
25691
- var eventQueue = null;
25692
- /**
25693
- * Dispatches an event and releases it back into the pool, unless persistent.
25694
- *
25695
- * @param {?object} event Synthetic event to be dispatched.
25696
- * @private
25697
- */
25698
-
25699
- var executeDispatchesAndRelease = function (event) {
25700
- if (event) {
25701
- executeDispatchesInOrder(event);
25702
-
25703
- if (!event.isPersistent()) {
25704
- event.constructor.release(event);
25705
- }
25706
- }
25707
- };
25708
-
25709
- var executeDispatchesAndReleaseTopLevel = function (e) {
25710
- return executeDispatchesAndRelease(e);
25711
- };
25712
-
25713
- function runEventsInBatch(events) {
25714
- if (events !== null) {
25715
- eventQueue = accumulateInto(eventQueue, events);
25716
- } // Set `eventQueue` to null before processing it so that we can tell if more
25717
- // events get enqueued while processing.
25718
-
25719
-
25720
- var processingEventQueue = eventQueue;
25721
- eventQueue = null;
25722
-
25723
- if (!processingEventQueue) {
25724
- return;
25725
- }
25726
-
25727
- forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);
25728
-
25729
- if (!!eventQueue) {
25730
- {
25731
- throw Error("processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.");
25732
- }
25733
- } // This would be a good time to rethrow if any of the event handlers threw.
25734
-
25735
-
25736
- rethrowCaughtError();
25737
- }
25738
-
25739
- function isInteractive(tag) {
25740
- return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';
25741
- }
25742
-
25743
- function shouldPreventMouseEvent(name, type, props) {
25744
- switch (name) {
25745
- case 'onClick':
25746
- case 'onClickCapture':
25747
- case 'onDoubleClick':
25748
- case 'onDoubleClickCapture':
25749
- case 'onMouseDown':
25750
- case 'onMouseDownCapture':
25751
- case 'onMouseMove':
25752
- case 'onMouseMoveCapture':
25753
- case 'onMouseUp':
25754
- case 'onMouseUpCapture':
25755
- return !!(props.disabled && isInteractive(type));
25756
-
25757
- default:
25758
- return false;
25759
- }
25760
- }
25761
- /**
25762
- * This is a unified interface for event plugins to be installed and configured.
25763
- *
25764
- * Event plugins can implement the following properties:
25765
- *
25766
- * `extractEvents` {function(string, DOMEventTarget, string, object): *}
25767
- * Required. When a top-level event is fired, this method is expected to
25768
- * extract synthetic events that will in turn be queued and dispatched.
25769
- *
25770
- * `eventTypes` {object}
25771
- * Optional, plugins that fire events must publish a mapping of registration
25772
- * names that are used to register listeners. Values of this mapping must
25773
- * be objects that contain `registrationName` or `phasedRegistrationNames`.
25774
- *
25775
- * `executeDispatch` {function(object, function, string)}
25776
- * Optional, allows plugins to override how an event gets dispatched. By
25777
- * default, the listener is simply invoked.
25778
- *
25779
- * Each plugin that is injected into `EventsPluginHub` is immediately operable.
25780
- *
25781
- * @public
25782
- */
25783
-
25784
- /**
25785
- * Methods for injecting dependencies.
25786
- */
25787
-
25788
-
25789
- var injection = {
25790
- /**
25791
- * @param {array} InjectedEventPluginOrder
25792
- * @public
25793
- */
25794
- injectEventPluginOrder: injectEventPluginOrder,
25795
-
25796
- /**
25797
- * @param {object} injectedNamesToPlugins Map from names to plugin modules.
25798
- */
25799
- injectEventPluginsByName: injectEventPluginsByName
25800
- };
25801
- /**
25802
- * @param {object} inst The instance, which is the source of events.
25803
- * @param {string} registrationName Name of listener (e.g. `onClick`).
25804
- * @return {?function} The stored callback.
25805
- */
25806
-
25807
- function getListener(inst, registrationName) {
25808
- var listener; // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not
25809
- // live here; needs to be moved to a better place soon
25810
-
25811
- var stateNode = inst.stateNode;
25812
-
25813
- if (!stateNode) {
25814
- // Work in progress (ex: onload events in incremental mode).
25815
- return null;
25816
- }
25817
-
25818
- var props = getFiberCurrentPropsFromNode(stateNode);
25819
-
25820
- if (!props) {
25821
- // Work in progress.
25822
- return null;
25823
- }
25824
-
25825
- listener = props[registrationName];
25826
-
25827
- if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
25828
- return null;
25829
- }
25830
-
25831
- if (!(!listener || typeof listener === 'function')) {
25832
- {
25833
- throw Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof listener + "` type.");
25834
- }
25835
- }
25836
-
25837
- return listener;
25838
- }
25839
- /**
25840
- * Allows registered plugins an opportunity to extract events from top-level
25841
- * native browser events.
25842
- *
25843
- * @return {*} An accumulation of synthetic events.
25844
- * @internal
25845
- */
25846
-
25847
- function extractPluginEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
25848
- var events = null;
25849
-
25850
- for (var i = 0; i < plugins.length; i++) {
25851
- // Not every plugin in the ordering may be loaded at runtime.
25852
- var possiblePlugin = plugins[i];
25853
-
25854
- if (possiblePlugin) {
25855
- var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
25856
-
25857
- if (extractedEvents) {
25858
- events = accumulateInto(events, extractedEvents);
25859
- }
25860
- }
25861
- }
25862
-
25863
- return events;
25864
- }
25865
-
25866
- function runExtractedPluginEventsInBatch(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
25867
- var events = extractPluginEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
25868
- runEventsInBatch(events);
25869
- }
25870
-
25871
- var FunctionComponent = 0;
25872
- var ClassComponent = 1;
25873
- var IndeterminateComponent = 2; // Before we know whether it is function or class
25874
-
25875
- var HostRoot = 3; // Root of a host tree. Could be nested inside another node.
25876
-
25877
- var HostPortal = 4; // A subtree. Could be an entry point to a different renderer.
25878
-
25879
- var HostComponent = 5;
25880
- var HostText = 6;
25881
- var Fragment = 7;
25882
- var Mode = 8;
25883
- var ContextConsumer = 9;
25884
- var ContextProvider = 10;
25885
- var ForwardRef = 11;
25886
- var Profiler = 12;
25887
- var SuspenseComponent = 13;
25888
- var MemoComponent = 14;
25889
- var SimpleMemoComponent = 15;
25890
- var LazyComponent = 16;
25891
- var IncompleteClassComponent = 17;
25892
- var DehydratedFragment = 18;
25893
- var SuspenseListComponent = 19;
25894
- var FundamentalComponent = 20;
25895
- var ScopeComponent = 21;
25896
-
25897
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // Prevent newer renderers from RTE when used with older react package versions.
25898
- // Current owner and dispatcher used to share the same ref,
25899
- // but PR #14548 split them out to better support the react-debug-tools package.
25900
-
25901
- if (!ReactSharedInternals.hasOwnProperty('ReactCurrentDispatcher')) {
25902
- ReactSharedInternals.ReactCurrentDispatcher = {
25903
- current: null
25904
- };
25905
- }
25906
-
25907
- if (!ReactSharedInternals.hasOwnProperty('ReactCurrentBatchConfig')) {
25908
- ReactSharedInternals.ReactCurrentBatchConfig = {
25909
- suspense: null
25910
- };
25911
- }
25912
-
25913
- var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
25914
- var describeComponentFrame = function (name, source, ownerName) {
25915
- var sourceInfo = '';
25916
-
25917
- if (source) {
25918
- var path = source.fileName;
25919
- var fileName = path.replace(BEFORE_SLASH_RE, '');
25920
-
25921
- {
25922
- // In DEV, include code for a common special case:
25923
- // prefer "folder/index.js" instead of just "index.js".
25924
- if (/^index\./.test(fileName)) {
25925
- var match = path.match(BEFORE_SLASH_RE);
25926
-
25927
- if (match) {
25928
- var pathBeforeSlash = match[1];
25929
-
25930
- if (pathBeforeSlash) {
25931
- var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
25932
- fileName = folderName + '/' + fileName;
25933
- }
25934
- }
25935
- }
25936
- }
25937
-
25938
- sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
25939
- } else if (ownerName) {
25940
- sourceInfo = ' (created by ' + ownerName + ')';
25941
- }
25942
-
25943
- return '\n in ' + (name || 'Unknown') + sourceInfo;
25944
- };
25945
-
25946
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
25947
- // nor polyfill, then a plain number is used for performance.
25948
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
25949
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
25950
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
25951
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
25952
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
25953
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
25954
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
25955
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
25956
- // (unstable) APIs that have been removed. Can we remove the symbols?
25957
-
25958
-
25959
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
25960
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
25961
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
25962
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
25963
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
25964
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
25965
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
25966
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
25967
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
25968
- var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
25969
- var FAUX_ITERATOR_SYMBOL = '@@iterator';
25970
- function getIteratorFn(maybeIterable) {
25971
- if (maybeIterable === null || typeof maybeIterable !== 'object') {
25972
- return null;
25973
- }
25974
-
25975
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
25976
-
25977
- if (typeof maybeIterator === 'function') {
25978
- return maybeIterator;
25979
- }
25980
-
25981
- return null;
25982
- }
25983
-
25984
- /**
25985
- * Similar to invariant but only logs a warning if the condition is not met.
25986
- * This can be used to log issues in development environments in critical
25987
- * paths. Removing the logging code for production environments will keep the
25988
- * same logic and follow the same code paths.
25989
- */
25990
-
25991
- var warning = warningWithoutStack$1;
25992
-
25993
- {
25994
- warning = function (condition, format) {
25995
- if (condition) {
25996
- return;
25997
- }
25998
-
25999
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
26000
- var stack = ReactDebugCurrentFrame.getStackAddendum(); // eslint-disable-next-line react-internal/warning-and-invariant-args
26001
-
26002
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
26003
- args[_key - 2] = arguments[_key];
26004
- }
26005
-
26006
- warningWithoutStack$1.apply(void 0, [false, format + '%s'].concat(args, [stack]));
26007
- };
26008
- }
26009
-
26010
- var warning$1 = warning;
26011
-
26012
- var Uninitialized = -1;
26013
- var Pending = 0;
26014
- var Resolved = 1;
26015
- var Rejected = 2;
26016
- function refineResolvedLazyComponent(lazyComponent) {
26017
- return lazyComponent._status === Resolved ? lazyComponent._result : null;
26018
- }
26019
- function initializeLazyComponentType(lazyComponent) {
26020
- if (lazyComponent._status === Uninitialized) {
26021
- lazyComponent._status = Pending;
26022
- var ctor = lazyComponent._ctor;
26023
- var thenable = ctor();
26024
- lazyComponent._result = thenable;
26025
- thenable.then(function (moduleObject) {
26026
- if (lazyComponent._status === Pending) {
26027
- var defaultExport = moduleObject.default;
26028
-
26029
- {
26030
- if (defaultExport === undefined) {
26031
- warning$1(false, 'lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + "const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
26032
- }
26033
- }
26034
-
26035
- lazyComponent._status = Resolved;
26036
- lazyComponent._result = defaultExport;
26037
- }
26038
- }, function (error) {
26039
- if (lazyComponent._status === Pending) {
26040
- lazyComponent._status = Rejected;
26041
- lazyComponent._result = error;
26042
- }
26043
- });
26044
- }
26045
- }
26046
-
26047
- function getWrappedName(outerType, innerType, wrapperName) {
26048
- var functionName = innerType.displayName || innerType.name || '';
26049
- return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
26050
- }
26051
-
26052
- function getComponentName(type) {
26053
- if (type == null) {
26054
- // Host root, text node or just invalid type.
26055
- return null;
26056
- }
26057
-
26058
- {
26059
- if (typeof type.tag === 'number') {
26060
- warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
26061
- }
26062
- }
26063
-
26064
- if (typeof type === 'function') {
26065
- return type.displayName || type.name || null;
26066
- }
26067
-
26068
- if (typeof type === 'string') {
26069
- return type;
26070
- }
26071
-
26072
- switch (type) {
26073
- case REACT_FRAGMENT_TYPE:
26074
- return 'Fragment';
26075
-
26076
- case REACT_PORTAL_TYPE:
26077
- return 'Portal';
26078
-
26079
- case REACT_PROFILER_TYPE:
26080
- return "Profiler";
26081
-
26082
- case REACT_STRICT_MODE_TYPE:
26083
- return 'StrictMode';
26084
-
26085
- case REACT_SUSPENSE_TYPE:
26086
- return 'Suspense';
26087
-
26088
- case REACT_SUSPENSE_LIST_TYPE:
26089
- return 'SuspenseList';
26090
- }
26091
-
26092
- if (typeof type === 'object') {
26093
- switch (type.$$typeof) {
26094
- case REACT_CONTEXT_TYPE:
26095
- return 'Context.Consumer';
26096
-
26097
- case REACT_PROVIDER_TYPE:
26098
- return 'Context.Provider';
26099
-
26100
- case REACT_FORWARD_REF_TYPE:
26101
- return getWrappedName(type, type.render, 'ForwardRef');
26102
-
26103
- case REACT_MEMO_TYPE:
26104
- return getComponentName(type.type);
26105
-
26106
- case REACT_LAZY_TYPE:
26107
- {
26108
- var thenable = type;
26109
- var resolvedThenable = refineResolvedLazyComponent(thenable);
26110
-
26111
- if (resolvedThenable) {
26112
- return getComponentName(resolvedThenable);
26113
- }
26114
-
26115
- break;
26116
- }
26117
- }
26118
- }
26119
-
26120
- return null;
26121
- }
26122
-
26123
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
26124
-
26125
- function describeFiber(fiber) {
26126
- switch (fiber.tag) {
26127
- case HostRoot:
26128
- case HostPortal:
26129
- case HostText:
26130
- case Fragment:
26131
- case ContextProvider:
26132
- case ContextConsumer:
26133
- return '';
26134
-
26135
- default:
26136
- var owner = fiber._debugOwner;
26137
- var source = fiber._debugSource;
26138
- var name = getComponentName(fiber.type);
26139
- var ownerName = null;
26140
-
26141
- if (owner) {
26142
- ownerName = getComponentName(owner.type);
26143
- }
26144
-
26145
- return describeComponentFrame(name, source, ownerName);
26146
- }
26147
- }
26148
-
26149
- function getStackByFiberInDevAndProd(workInProgress) {
26150
- var info = '';
26151
- var node = workInProgress;
26152
-
26153
- do {
26154
- info += describeFiber(node);
26155
- node = node.return;
26156
- } while (node);
26157
-
26158
- return info;
26159
- }
26160
- var current = null;
26161
- var phase = null;
26162
- function getCurrentFiberOwnerNameInDevOrNull() {
26163
- {
26164
- if (current === null) {
26165
- return null;
26166
- }
26167
-
26168
- var owner = current._debugOwner;
26169
-
26170
- if (owner !== null && typeof owner !== 'undefined') {
26171
- return getComponentName(owner.type);
26172
- }
26173
- }
26174
-
26175
- return null;
26176
- }
26177
- function getCurrentFiberStackInDev() {
26178
- {
26179
- if (current === null) {
26180
- return '';
26181
- } // Safe because if current fiber exists, we are reconciling,
26182
- // and it is guaranteed to be the work-in-progress version.
26183
-
26184
-
26185
- return getStackByFiberInDevAndProd(current);
26186
- }
26187
-
26188
- return '';
26189
- }
26190
- function resetCurrentFiber() {
26191
- {
26192
- ReactDebugCurrentFrame.getCurrentStack = null;
26193
- current = null;
26194
- phase = null;
26195
- }
26196
- }
26197
- function setCurrentFiber(fiber) {
26198
- {
26199
- ReactDebugCurrentFrame.getCurrentStack = getCurrentFiberStackInDev;
26200
- current = fiber;
26201
- phase = null;
26202
- }
26203
- }
26204
- function setCurrentPhase(lifeCyclePhase) {
26205
- {
26206
- phase = lifeCyclePhase;
26207
- }
26208
- }
26209
-
26210
- var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
26211
-
26212
- function endsWith(subject, search) {
26213
- var length = subject.length;
26214
- return subject.substring(length - search.length, length) === search;
26215
- }
26216
-
26217
- var PLUGIN_EVENT_SYSTEM = 1;
26218
- var RESPONDER_EVENT_SYSTEM = 1 << 1;
26219
- var IS_PASSIVE = 1 << 2;
26220
- var IS_ACTIVE = 1 << 3;
26221
- var PASSIVE_NOT_SUPPORTED = 1 << 4;
26222
- var IS_REPLAYED = 1 << 5;
26223
-
26224
- var restoreImpl = null;
26225
- var restoreTarget = null;
26226
- var restoreQueue = null;
26227
-
26228
- function restoreStateOfTarget(target) {
26229
- // We perform this translation at the end of the event loop so that we
26230
- // always receive the correct fiber here
26231
- var internalInstance = getInstanceFromNode(target);
26232
-
26233
- if (!internalInstance) {
26234
- // Unmounted
26235
- return;
26236
- }
26237
-
26238
- if (!(typeof restoreImpl === 'function')) {
26239
- {
26240
- throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");
26241
- }
26242
- }
26243
-
26244
- var props = getFiberCurrentPropsFromNode(internalInstance.stateNode);
26245
- restoreImpl(internalInstance.stateNode, internalInstance.type, props);
26246
- }
26247
-
26248
- function setRestoreImplementation(impl) {
26249
- restoreImpl = impl;
26250
- }
26251
- function enqueueStateRestore(target) {
26252
- if (restoreTarget) {
26253
- if (restoreQueue) {
26254
- restoreQueue.push(target);
26255
- } else {
26256
- restoreQueue = [target];
26257
- }
26258
- } else {
26259
- restoreTarget = target;
26260
- }
26261
- }
26262
- function needsStateRestore() {
26263
- return restoreTarget !== null || restoreQueue !== null;
26264
- }
26265
- function restoreStateIfNeeded() {
26266
- if (!restoreTarget) {
26267
- return;
26268
- }
26269
-
26270
- var target = restoreTarget;
26271
- var queuedTargets = restoreQueue;
26272
- restoreTarget = null;
26273
- restoreQueue = null;
26274
- restoreStateOfTarget(target);
26275
-
26276
- if (queuedTargets) {
26277
- for (var i = 0; i < queuedTargets.length; i++) {
26278
- restoreStateOfTarget(queuedTargets[i]);
26279
- }
26280
- }
26281
- }
26282
-
26283
- var enableUserTimingAPI = true; // Helps identify side effects in render-phase lifecycle hooks and setState
26284
- // reducers by double invoking them in Strict Mode.
26285
-
26286
- var debugRenderPhaseSideEffectsForStrictMode = true; // To preserve the "Pause on caught exceptions" behavior of the debugger, we
26287
- // replay the begin phase of a failed component inside invokeGuardedCallback.
26288
-
26289
- var replayFailedUnitOfWorkWithInvokeGuardedCallback = true; // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
26290
-
26291
- var warnAboutDeprecatedLifecycles = true; // Gather advanced timing metrics for Profiler subtrees.
26292
-
26293
- var enableProfilerTimer = true; // Trace which interactions trigger each commit.
26294
-
26295
- var enableSchedulerTracing = true; // SSR experiments
26296
-
26297
- var enableSuspenseServerRenderer = false;
26298
- var enableSelectiveHydration = false; // Only used in www builds.
26299
-
26300
- // Only used in www builds.
26301
-
26302
- // Disable javascript: URL strings in href for XSS protection.
26303
-
26304
- var disableJavaScriptURLs = false; // React Fire: prevent the value and checked attributes from syncing
26305
- // with their related DOM properties
26306
-
26307
- var disableInputAttributeSyncing = false; // These APIs will no longer be "unstable" in the upcoming 16.7 release,
26308
- // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
26309
-
26310
- var exposeConcurrentModeAPIs = false;
26311
- var warnAboutShorthandPropertyCollision = false; // Experimental React Flare event system and event components support.
26312
-
26313
- var enableFlareAPI = false; // Experimental Host Component support.
26314
-
26315
- var enableFundamentalAPI = false; // Experimental Scope support.
26316
-
26317
- var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
26318
-
26319
- // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
26320
- // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
26321
-
26322
- var warnAboutUnmockedScheduler = false; // For tests, we flush suspense fallbacks in an act scope;
26323
- // *except* in some of our own tests, where we test incremental loading states.
26324
-
26325
- var flushSuspenseFallbacksInTests = true; // Add a callback property to suspense to notify which promises are currently
26326
- // in the update queue. This allows reporting and tracing of what is causing
26327
- // the user to see a loading state.
26328
- // Also allows hydration callbacks to fire when a dehydrated boundary gets
26329
- // hydrated or deleted.
26330
-
26331
- var enableSuspenseCallback = false; // Part of the simplification of React.createElement so we can eventually move
26332
- // from React.createElement to React.jsx
26333
- // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
26334
-
26335
- var warnAboutDefaultPropsOnFunctionComponents = false;
26336
- var warnAboutStringRefs = false;
26337
- var disableLegacyContext = false;
26338
- var disableSchedulerTimeoutBasedOnReactExpirationTime = false;
26339
- var enableTrustedTypesIntegration = false; // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
26340
-
26341
- // the renderer. Such as when we're dispatching events or if third party
26342
- // libraries need to call batchedUpdates. Eventually, this API will go away when
26343
- // everything is batched by default. We'll then have a similar API to opt-out of
26344
- // scheduled work and instead do synchronous work.
26345
- // Defaults
26346
-
26347
- var batchedUpdatesImpl = function (fn, bookkeeping) {
26348
- return fn(bookkeeping);
26349
- };
26350
-
26351
- var discreteUpdatesImpl = function (fn, a, b, c) {
26352
- return fn(a, b, c);
26353
- };
26354
-
26355
- var flushDiscreteUpdatesImpl = function () {};
26356
-
26357
- var batchedEventUpdatesImpl = batchedUpdatesImpl;
26358
- var isInsideEventHandler = false;
26359
- var isBatchingEventUpdates = false;
26360
-
26361
- function finishEventHandler() {
26362
- // Here we wait until all updates have propagated, which is important
26363
- // when using controlled components within layers:
26364
- // https://github.com/facebook/react/issues/1698
26365
- // Then we restore state of any controlled component.
26366
- var controlledComponentsHavePendingUpdates = needsStateRestore();
26367
-
26368
- if (controlledComponentsHavePendingUpdates) {
26369
- // If a controlled event was fired, we may need to restore the state of
26370
- // the DOM node back to the controlled value. This is necessary when React
26371
- // bails out of the update without touching the DOM.
26372
- flushDiscreteUpdatesImpl();
26373
- restoreStateIfNeeded();
26374
- }
26375
- }
26376
-
26377
- function batchedUpdates(fn, bookkeeping) {
26378
- if (isInsideEventHandler) {
26379
- // If we are currently inside another batch, we need to wait until it
26380
- // fully completes before restoring state.
26381
- return fn(bookkeeping);
26382
- }
26383
-
26384
- isInsideEventHandler = true;
26385
-
26386
- try {
26387
- return batchedUpdatesImpl(fn, bookkeeping);
26388
- } finally {
26389
- isInsideEventHandler = false;
26390
- finishEventHandler();
26391
- }
26392
- }
26393
- function batchedEventUpdates(fn, a, b) {
26394
- if (isBatchingEventUpdates) {
26395
- // If we are currently inside another batch, we need to wait until it
26396
- // fully completes before restoring state.
26397
- return fn(a, b);
26398
- }
26399
-
26400
- isBatchingEventUpdates = true;
26401
-
26402
- try {
26403
- return batchedEventUpdatesImpl(fn, a, b);
26404
- } finally {
26405
- isBatchingEventUpdates = false;
26406
- finishEventHandler();
26407
- }
26408
- } // This is for the React Flare event system
26409
-
26410
- function executeUserEventHandler(fn, value) {
26411
- var previouslyInEventHandler = isInsideEventHandler;
26412
-
26413
- try {
26414
- isInsideEventHandler = true;
26415
- var type = typeof value === 'object' && value !== null ? value.type : '';
26416
- invokeGuardedCallbackAndCatchFirstError(type, fn, undefined, value);
26417
- } finally {
26418
- isInsideEventHandler = previouslyInEventHandler;
26419
- }
26420
- }
26421
- function discreteUpdates(fn, a, b, c) {
26422
- var prevIsInsideEventHandler = isInsideEventHandler;
26423
- isInsideEventHandler = true;
26424
-
26425
- try {
26426
- return discreteUpdatesImpl(fn, a, b, c);
26427
- } finally {
26428
- isInsideEventHandler = prevIsInsideEventHandler;
26429
-
26430
- if (!isInsideEventHandler) {
26431
- finishEventHandler();
26432
- }
26433
- }
26434
- }
26435
- var lastFlushedEventTimeStamp = 0;
26436
- function flushDiscreteUpdatesIfNeeded(timeStamp) {
26437
- // event.timeStamp isn't overly reliable due to inconsistencies in
26438
- // how different browsers have historically provided the time stamp.
26439
- // Some browsers provide high-resolution time stamps for all events,
26440
- // some provide low-resolution time stamps for all events. FF < 52
26441
- // even mixes both time stamps together. Some browsers even report
26442
- // negative time stamps or time stamps that are 0 (iOS9) in some cases.
26443
- // Given we are only comparing two time stamps with equality (!==),
26444
- // we are safe from the resolution differences. If the time stamp is 0
26445
- // we bail-out of preventing the flush, which can affect semantics,
26446
- // such as if an earlier flush removes or adds event listeners that
26447
- // are fired in the subsequent flush. However, this is the same
26448
- // behaviour as we had before this change, so the risks are low.
26449
- if (!isInsideEventHandler && (!enableFlareAPI || timeStamp === 0 || lastFlushedEventTimeStamp !== timeStamp)) {
26450
- lastFlushedEventTimeStamp = timeStamp;
26451
- flushDiscreteUpdatesImpl();
26452
- }
26453
- }
26454
- function setBatchingImplementation(_batchedUpdatesImpl, _discreteUpdatesImpl, _flushDiscreteUpdatesImpl, _batchedEventUpdatesImpl) {
26455
- batchedUpdatesImpl = _batchedUpdatesImpl;
26456
- discreteUpdatesImpl = _discreteUpdatesImpl;
26457
- flushDiscreteUpdatesImpl = _flushDiscreteUpdatesImpl;
26458
- batchedEventUpdatesImpl = _batchedEventUpdatesImpl;
26459
- }
26460
-
26461
- var DiscreteEvent = 0;
26462
- var UserBlockingEvent = 1;
26463
- var ContinuousEvent = 2;
26464
-
26465
- // CommonJS interop named imports.
26466
-
26467
- var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
26468
- var runWithPriority = Scheduler.unstable_runWithPriority;
26469
- var listenToResponderEventTypesImpl;
26470
- function setListenToResponderEventTypes(_listenToResponderEventTypesImpl) {
26471
- listenToResponderEventTypesImpl = _listenToResponderEventTypesImpl;
26472
- }
26473
- var rootEventTypesToEventResponderInstances = new Map();
26474
- var DoNotPropagateToNextResponder = 0;
26475
- var PropagateToNextResponder = 1;
26476
- var currentTimeStamp = 0;
26477
- var currentInstance = null;
26478
- var currentDocument = null;
26479
- var currentPropagationBehavior = DoNotPropagateToNextResponder;
26480
- var eventResponderContext = {
26481
- dispatchEvent: function (eventValue, eventListener, eventPriority) {
26482
- validateResponderContext();
26483
- validateEventValue(eventValue);
26484
-
26485
- switch (eventPriority) {
26486
- case DiscreteEvent:
26487
- {
26488
- flushDiscreteUpdatesIfNeeded(currentTimeStamp);
26489
- discreteUpdates(function () {
26490
- return executeUserEventHandler(eventListener, eventValue);
26491
- });
26492
- break;
26493
- }
26494
-
26495
- case UserBlockingEvent:
26496
- {
26497
- runWithPriority(UserBlockingPriority, function () {
26498
- return executeUserEventHandler(eventListener, eventValue);
26499
- });
26500
- break;
26501
- }
26502
-
26503
- case ContinuousEvent:
26504
- {
26505
- executeUserEventHandler(eventListener, eventValue);
26506
- break;
26507
- }
26508
- }
26509
- },
26510
- isTargetWithinResponder: function (target) {
26511
- validateResponderContext();
26512
-
26513
- if (target != null) {
26514
- var fiber = getClosestInstanceFromNode(target);
26515
- var responderFiber = currentInstance.fiber;
26516
-
26517
- while (fiber !== null) {
26518
- if (fiber === responderFiber || fiber.alternate === responderFiber) {
26519
- return true;
26520
- }
26521
-
26522
- fiber = fiber.return;
26523
- }
26524
- }
26525
-
26526
- return false;
26527
- },
26528
- isTargetWithinResponderScope: function (target) {
26529
- validateResponderContext();
26530
- var componentInstance = currentInstance;
26531
- var responder = componentInstance.responder;
26532
-
26533
- if (target != null) {
26534
- var fiber = getClosestInstanceFromNode(target);
26535
- var responderFiber = currentInstance.fiber;
26536
-
26537
- while (fiber !== null) {
26538
- if (fiber === responderFiber || fiber.alternate === responderFiber) {
26539
- return true;
26540
- }
26541
-
26542
- if (doesFiberHaveResponder(fiber, responder)) {
26543
- return false;
26544
- }
26545
-
26546
- fiber = fiber.return;
26547
- }
26548
- }
26549
-
26550
- return false;
26551
- },
26552
- isTargetWithinNode: function (childTarget, parentTarget) {
26553
- validateResponderContext();
26554
- var childFiber = getClosestInstanceFromNode(childTarget);
26555
- var parentFiber = getClosestInstanceFromNode(parentTarget);
26556
-
26557
- if (childFiber != null && parentFiber != null) {
26558
- var parentAlternateFiber = parentFiber.alternate;
26559
- var node = childFiber;
26560
-
26561
- while (node !== null) {
26562
- if (node === parentFiber || node === parentAlternateFiber) {
26563
- return true;
26564
- }
26565
-
26566
- node = node.return;
26567
- }
26568
-
26569
- return false;
26570
- } // Fallback to DOM APIs
26571
-
26572
-
26573
- return parentTarget.contains(childTarget);
26574
- },
26575
- addRootEventTypes: function (rootEventTypes) {
26576
- validateResponderContext();
26577
- listenToResponderEventTypesImpl(rootEventTypes, currentDocument);
26578
-
26579
- for (var i = 0; i < rootEventTypes.length; i++) {
26580
- var rootEventType = rootEventTypes[i];
26581
- var eventResponderInstance = currentInstance;
26582
- registerRootEventType(rootEventType, eventResponderInstance);
26583
- }
26584
- },
26585
- removeRootEventTypes: function (rootEventTypes) {
26586
- validateResponderContext();
26587
-
26588
- for (var i = 0; i < rootEventTypes.length; i++) {
26589
- var rootEventType = rootEventTypes[i];
26590
- var rootEventResponders = rootEventTypesToEventResponderInstances.get(rootEventType);
26591
- var rootEventTypesSet = currentInstance.rootEventTypes;
26592
-
26593
- if (rootEventTypesSet !== null) {
26594
- rootEventTypesSet.delete(rootEventType);
26595
- }
26596
-
26597
- if (rootEventResponders !== undefined) {
26598
- rootEventResponders.delete(currentInstance);
26599
- }
26600
- }
26601
- },
26602
- getActiveDocument: getActiveDocument,
26603
- objectAssign: _assign,
26604
- getTimeStamp: function () {
26605
- validateResponderContext();
26606
- return currentTimeStamp;
26607
- },
26608
- isTargetWithinHostComponent: function (target, elementType) {
26609
- validateResponderContext();
26610
- var fiber = getClosestInstanceFromNode(target);
26611
-
26612
- while (fiber !== null) {
26613
- if (fiber.tag === HostComponent && fiber.type === elementType) {
26614
- return true;
26615
- }
26616
-
26617
- fiber = fiber.return;
26618
- }
26619
-
26620
- return false;
26621
- },
26622
- continuePropagation: function () {
26623
- currentPropagationBehavior = PropagateToNextResponder;
26624
- },
26625
- enqueueStateRestore: enqueueStateRestore,
26626
- getResponderNode: function () {
26627
- validateResponderContext();
26628
- var responderFiber = currentInstance.fiber;
26629
-
26630
- if (responderFiber.tag === ScopeComponent) {
26631
- return null;
26632
- }
26633
-
26634
- return responderFiber.stateNode;
26635
- }
26636
- };
26637
-
26638
- function validateEventValue(eventValue) {
26639
- if (typeof eventValue === 'object' && eventValue !== null) {
26640
- var target = eventValue.target,
26641
- type = eventValue.type,
26642
- timeStamp = eventValue.timeStamp;
26643
-
26644
- if (target == null || type == null || timeStamp == null) {
26645
- throw new Error('context.dispatchEvent: "target", "timeStamp", and "type" fields on event object are required.');
26646
- }
26647
-
26648
- var showWarning = function (name) {
26649
- {
26650
- warning$1(false, '%s is not available on event objects created from event responder modules (React Flare). ' + 'Try wrapping in a conditional, i.e. `if (event.type !== "press") { event.%s }`', name, name);
26651
- }
26652
- };
26653
-
26654
- eventValue.isDefaultPrevented = function () {
26655
- {
26656
- showWarning('isDefaultPrevented()');
26657
- }
26658
- };
26659
-
26660
- eventValue.isPropagationStopped = function () {
26661
- {
26662
- showWarning('isPropagationStopped()');
26663
- }
26664
- }; // $FlowFixMe: we don't need value, Flow thinks we do
26665
-
26666
-
26667
- Object.defineProperty(eventValue, 'nativeEvent', {
26668
- get: function () {
26669
- {
26670
- showWarning('nativeEvent');
26671
- }
26672
- }
26673
- });
26674
- }
26675
- }
26676
-
26677
- function doesFiberHaveResponder(fiber, responder) {
26678
- var tag = fiber.tag;
26679
-
26680
- if (tag === HostComponent || tag === ScopeComponent) {
26681
- var dependencies = fiber.dependencies;
26682
-
26683
- if (dependencies !== null) {
26684
- var respondersMap = dependencies.responders;
26685
-
26686
- if (respondersMap !== null && respondersMap.has(responder)) {
26687
- return true;
26688
- }
26689
- }
26690
- }
26691
-
26692
- return false;
26693
- }
26694
-
26695
- function getActiveDocument() {
26696
- return currentDocument;
26697
- }
26698
-
26699
- function createDOMResponderEvent(topLevelType, nativeEvent, nativeEventTarget, passive, passiveSupported) {
26700
- var _ref = nativeEvent,
26701
- buttons = _ref.buttons,
26702
- pointerType = _ref.pointerType;
26703
- var eventPointerType = '';
26704
-
26705
- if (pointerType !== undefined) {
26706
- eventPointerType = pointerType;
26707
- } else if (nativeEvent.key !== undefined) {
26708
- eventPointerType = 'keyboard';
26709
- } else if (buttons !== undefined) {
26710
- eventPointerType = 'mouse';
26711
- } else if (nativeEvent.changedTouches !== undefined) {
26712
- eventPointerType = 'touch';
26713
- }
26714
-
26715
- return {
26716
- nativeEvent: nativeEvent,
26717
- passive: passive,
26718
- passiveSupported: passiveSupported,
26719
- pointerType: eventPointerType,
26720
- target: nativeEventTarget,
26721
- type: topLevelType
26722
- };
26723
- }
26724
-
26725
- function responderEventTypesContainType(eventTypes, type) {
26726
- for (var i = 0, len = eventTypes.length; i < len; i++) {
26727
- if (eventTypes[i] === type) {
26728
- return true;
26729
- }
26730
- }
26731
-
26732
- return false;
26733
- }
26734
-
26735
- function validateResponderTargetEventTypes(eventType, responder) {
26736
- var targetEventTypes = responder.targetEventTypes; // Validate the target event type exists on the responder
26737
-
26738
- if (targetEventTypes !== null) {
26739
- return responderEventTypesContainType(targetEventTypes, eventType);
26740
- }
26741
-
26742
- return false;
26743
- }
26744
-
26745
- function traverseAndHandleEventResponderInstances(topLevelType, targetFiber, nativeEvent, nativeEventTarget, eventSystemFlags) {
26746
- var isPassiveEvent = (eventSystemFlags & IS_PASSIVE) !== 0;
26747
- var isPassiveSupported = (eventSystemFlags & PASSIVE_NOT_SUPPORTED) === 0;
26748
- var isPassive = isPassiveEvent || !isPassiveSupported;
26749
- var eventType = isPassive ? topLevelType : topLevelType + '_active'; // Trigger event responders in this order:
26750
- // - Bubble target responder phase
26751
- // - Root responder phase
26752
-
26753
- var visitedResponders = new Set();
26754
- var responderEvent = createDOMResponderEvent(topLevelType, nativeEvent, nativeEventTarget, isPassiveEvent, isPassiveSupported);
26755
- var node = targetFiber;
26756
- var insidePortal = false;
26757
-
26758
- while (node !== null) {
26759
- var _node = node,
26760
- dependencies = _node.dependencies,
26761
- tag = _node.tag;
26762
-
26763
- if (tag === HostPortal) {
26764
- insidePortal = true;
26765
- } else if ((tag === HostComponent || tag === ScopeComponent) && dependencies !== null) {
26766
- var respondersMap = dependencies.responders;
26767
-
26768
- if (respondersMap !== null) {
26769
- var responderInstances = Array.from(respondersMap.values());
26770
-
26771
- for (var i = 0, length = responderInstances.length; i < length; i++) {
26772
- var responderInstance = responderInstances[i];
26773
- var props = responderInstance.props,
26774
- responder = responderInstance.responder,
26775
- state = responderInstance.state;
26776
-
26777
- if (!visitedResponders.has(responder) && validateResponderTargetEventTypes(eventType, responder) && (!insidePortal || responder.targetPortalPropagation)) {
26778
- visitedResponders.add(responder);
26779
- var onEvent = responder.onEvent;
26780
-
26781
- if (onEvent !== null) {
26782
- currentInstance = responderInstance;
26783
- onEvent(responderEvent, eventResponderContext, props, state);
26784
-
26785
- if (currentPropagationBehavior === PropagateToNextResponder) {
26786
- visitedResponders.delete(responder);
26787
- currentPropagationBehavior = DoNotPropagateToNextResponder;
26788
- }
26789
- }
26790
- }
26791
- }
26792
- }
26793
- }
26794
-
26795
- node = node.return;
26796
- } // Root phase
26797
-
26798
-
26799
- var rootEventResponderInstances = rootEventTypesToEventResponderInstances.get(eventType);
26800
-
26801
- if (rootEventResponderInstances !== undefined) {
26802
- var _responderInstances = Array.from(rootEventResponderInstances);
26803
-
26804
- for (var _i = 0; _i < _responderInstances.length; _i++) {
26805
- var _responderInstance = _responderInstances[_i];
26806
- var props = _responderInstance.props,
26807
- responder = _responderInstance.responder,
26808
- state = _responderInstance.state;
26809
- var onRootEvent = responder.onRootEvent;
26810
-
26811
- if (onRootEvent !== null) {
26812
- currentInstance = _responderInstance;
26813
- onRootEvent(responderEvent, eventResponderContext, props, state);
26814
- }
26815
- }
26816
- }
26817
- }
26818
-
26819
- function mountEventResponder(responder, responderInstance, props, state) {
26820
- var onMount = responder.onMount;
26821
-
26822
- if (onMount !== null) {
26823
- var previousInstance = currentInstance;
26824
- currentInstance = responderInstance;
26825
-
26826
- try {
26827
- batchedEventUpdates(function () {
26828
- onMount(eventResponderContext, props, state);
26829
- });
26830
- } finally {
26831
- currentInstance = previousInstance;
26832
- }
26833
- }
26834
- }
26835
- function unmountEventResponder(responderInstance) {
26836
- var responder = responderInstance.responder;
26837
- var onUnmount = responder.onUnmount;
26838
-
26839
- if (onUnmount !== null) {
26840
- var props = responderInstance.props,
26841
- state = responderInstance.state;
26842
- var previousInstance = currentInstance;
26843
- currentInstance = responderInstance;
26844
-
26845
- try {
26846
- batchedEventUpdates(function () {
26847
- onUnmount(eventResponderContext, props, state);
26848
- });
26849
- } finally {
26850
- currentInstance = previousInstance;
26851
- }
26852
- }
26853
-
26854
- var rootEventTypesSet = responderInstance.rootEventTypes;
26855
-
26856
- if (rootEventTypesSet !== null) {
26857
- var rootEventTypes = Array.from(rootEventTypesSet);
26858
-
26859
- for (var i = 0; i < rootEventTypes.length; i++) {
26860
- var topLevelEventType = rootEventTypes[i];
26861
- var rootEventResponderInstances = rootEventTypesToEventResponderInstances.get(topLevelEventType);
26862
-
26863
- if (rootEventResponderInstances !== undefined) {
26864
- rootEventResponderInstances.delete(responderInstance);
26865
- }
26866
- }
26867
- }
26868
- }
26869
-
26870
- function validateResponderContext() {
26871
- if (!(currentInstance !== null)) {
26872
- {
26873
- throw Error("An event responder context was used outside of an event cycle.");
26874
- }
26875
- }
26876
- }
26877
-
26878
- function dispatchEventForResponderEventSystem(topLevelType, targetFiber, nativeEvent, nativeEventTarget, eventSystemFlags) {
26879
- if (enableFlareAPI) {
26880
- var previousInstance = currentInstance;
26881
- var previousTimeStamp = currentTimeStamp;
26882
- var previousDocument = currentDocument;
26883
- var previousPropagationBehavior = currentPropagationBehavior;
26884
- currentPropagationBehavior = DoNotPropagateToNextResponder; // nodeType 9 is DOCUMENT_NODE
26885
-
26886
- currentDocument = nativeEventTarget.nodeType === 9 ? nativeEventTarget : nativeEventTarget.ownerDocument; // We might want to control timeStamp another way here
26887
-
26888
- currentTimeStamp = nativeEvent.timeStamp;
26889
-
26890
- try {
26891
- batchedEventUpdates(function () {
26892
- traverseAndHandleEventResponderInstances(topLevelType, targetFiber, nativeEvent, nativeEventTarget, eventSystemFlags);
26893
- });
26894
- } finally {
26895
- currentInstance = previousInstance;
26896
- currentTimeStamp = previousTimeStamp;
26897
- currentDocument = previousDocument;
26898
- currentPropagationBehavior = previousPropagationBehavior;
26899
- }
26900
- }
26901
- }
26902
- function addRootEventTypesForResponderInstance(responderInstance, rootEventTypes) {
26903
- for (var i = 0; i < rootEventTypes.length; i++) {
26904
- var rootEventType = rootEventTypes[i];
26905
- registerRootEventType(rootEventType, responderInstance);
26906
- }
26907
- }
26908
-
26909
- function registerRootEventType(rootEventType, eventResponderInstance) {
26910
- var rootEventResponderInstances = rootEventTypesToEventResponderInstances.get(rootEventType);
26911
-
26912
- if (rootEventResponderInstances === undefined) {
26913
- rootEventResponderInstances = new Set();
26914
- rootEventTypesToEventResponderInstances.set(rootEventType, rootEventResponderInstances);
26915
- }
26916
-
26917
- var rootEventTypesSet = eventResponderInstance.rootEventTypes;
26918
-
26919
- if (rootEventTypesSet === null) {
26920
- rootEventTypesSet = eventResponderInstance.rootEventTypes = new Set();
26921
- }
26922
-
26923
- if (!!rootEventTypesSet.has(rootEventType)) {
26924
- {
26925
- throw Error("addRootEventTypes() found a duplicate root event type of \"" + rootEventType + "\". This might be because the event type exists in the event responder \"rootEventTypes\" array or because of a previous addRootEventTypes() using this root event type.");
26926
- }
26927
- }
26928
-
26929
- rootEventTypesSet.add(rootEventType);
26930
- rootEventResponderInstances.add(eventResponderInstance);
26931
- }
26932
-
26933
- // A reserved attribute.
26934
- // It is handled by React separately and shouldn't be written to the DOM.
26935
- var RESERVED = 0; // A simple string attribute.
26936
- // Attributes that aren't in the whitelist are presumed to have this type.
26937
-
26938
- var STRING = 1; // A string attribute that accepts booleans in React. In HTML, these are called
26939
- // "enumerated" attributes with "true" and "false" as possible values.
26940
- // When true, it should be set to a "true" string.
26941
- // When false, it should be set to a "false" string.
26942
-
26943
- var BOOLEANISH_STRING = 2; // A real boolean attribute.
26944
- // When true, it should be present (set either to an empty string or its name).
26945
- // When false, it should be omitted.
26946
-
26947
- var BOOLEAN = 3; // An attribute that can be used as a flag as well as with a value.
26948
- // When true, it should be present (set either to an empty string or its name).
26949
- // When false, it should be omitted.
26950
- // For any other value, should be present with that value.
26951
-
26952
- var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a numeric.
26953
- // When falsy, it should be removed.
26954
-
26955
- var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
26956
- // When falsy, it should be removed.
26957
-
26958
- var POSITIVE_NUMERIC = 6;
26959
-
26960
- /* eslint-disable max-len */
26961
- var ATTRIBUTE_NAME_START_CHAR = ":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";
26962
- /* eslint-enable max-len */
26963
-
26964
- var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
26965
-
26966
- var ROOT_ATTRIBUTE_NAME = 'data-reactroot';
26967
- var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$');
26968
- var hasOwnProperty = Object.prototype.hasOwnProperty;
26969
- var illegalAttributeNameCache = {};
26970
- var validatedAttributeNameCache = {};
26971
- function isAttributeNameSafe(attributeName) {
26972
- if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) {
26973
- return true;
26974
- }
26975
-
26976
- if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) {
26977
- return false;
26978
- }
26979
-
26980
- if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {
26981
- validatedAttributeNameCache[attributeName] = true;
26982
- return true;
26983
- }
26984
-
26985
- illegalAttributeNameCache[attributeName] = true;
26986
-
26987
- {
26988
- warning$1(false, 'Invalid attribute name: `%s`', attributeName);
26989
- }
26990
-
26991
- return false;
26992
- }
26993
- function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) {
26994
- if (propertyInfo !== null) {
26995
- return propertyInfo.type === RESERVED;
26996
- }
26997
-
26998
- if (isCustomComponentTag) {
26999
- return false;
27000
- }
27001
-
27002
- if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) {
27003
- return true;
27004
- }
27005
-
27006
- return false;
27007
- }
27008
- function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) {
27009
- if (propertyInfo !== null && propertyInfo.type === RESERVED) {
27010
- return false;
27011
- }
27012
-
27013
- switch (typeof value) {
27014
- case 'function': // $FlowIssue symbol is perfectly valid here
27015
-
27016
- case 'symbol':
27017
- // eslint-disable-line
27018
- return true;
27019
-
27020
- case 'boolean':
27021
- {
27022
- if (isCustomComponentTag) {
27023
- return false;
27024
- }
27025
-
27026
- if (propertyInfo !== null) {
27027
- return !propertyInfo.acceptsBooleans;
27028
- } else {
27029
- var prefix = name.toLowerCase().slice(0, 5);
27030
- return prefix !== 'data-' && prefix !== 'aria-';
27031
- }
27032
- }
27033
-
27034
- default:
27035
- return false;
27036
- }
27037
- }
27038
- function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) {
27039
- if (value === null || typeof value === 'undefined') {
27040
- return true;
27041
- }
27042
-
27043
- if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {
27044
- return true;
27045
- }
27046
-
27047
- if (isCustomComponentTag) {
27048
- return false;
27049
- }
27050
-
27051
- if (propertyInfo !== null) {
27052
- switch (propertyInfo.type) {
27053
- case BOOLEAN:
27054
- return !value;
27055
-
27056
- case OVERLOADED_BOOLEAN:
27057
- return value === false;
27058
-
27059
- case NUMERIC:
27060
- return isNaN(value);
27061
-
27062
- case POSITIVE_NUMERIC:
27063
- return isNaN(value) || value < 1;
27064
- }
27065
- }
27066
-
27067
- return false;
27068
- }
27069
- function getPropertyInfo(name) {
27070
- return properties.hasOwnProperty(name) ? properties[name] : null;
27071
- }
27072
-
27073
- function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL) {
27074
- this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
27075
- this.attributeName = attributeName;
27076
- this.attributeNamespace = attributeNamespace;
27077
- this.mustUseProperty = mustUseProperty;
27078
- this.propertyName = name;
27079
- this.type = type;
27080
- this.sanitizeURL = sanitizeURL;
27081
- } // When adding attributes to this list, be sure to also add them to
27082
- // the `possibleStandardNames` module to ensure casing and incorrect
27083
- // name warnings.
27084
-
27085
-
27086
- var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.
27087
-
27088
- ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
27089
- // elements (not just inputs). Now that ReactDOMInput assigns to the
27090
- // defaultValue property -- do we need this?
27091
- 'defaultValue', 'defaultChecked', 'innerHTML', 'suppressContentEditableWarning', 'suppressHydrationWarning', 'style'].forEach(function (name) {
27092
- properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
27093
- name, // attributeName
27094
- null, // attributeNamespace
27095
- false);
27096
- }); // A few React string attributes have a different name.
27097
- // This is a mapping from React prop names to the attribute names.
27098
-
27099
- [['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
27100
- var name = _ref[0],
27101
- attributeName = _ref[1];
27102
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
27103
- attributeName, // attributeName
27104
- null, // attributeNamespace
27105
- false);
27106
- }); // These are "enumerated" HTML attributes that accept "true" and "false".
27107
- // In React, we let users pass `true` and `false` even though technically
27108
- // these aren't boolean attributes (they are coerced to strings).
27109
-
27110
- ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
27111
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
27112
- name.toLowerCase(), // attributeName
27113
- null, // attributeNamespace
27114
- false);
27115
- }); // These are "enumerated" SVG attributes that accept "true" and "false".
27116
- // In React, we let users pass `true` and `false` even though technically
27117
- // these aren't boolean attributes (they are coerced to strings).
27118
- // Since these are SVG attributes, their attribute names are case-sensitive.
27119
-
27120
- ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
27121
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
27122
- name, // attributeName
27123
- null, // attributeNamespace
27124
- false);
27125
- }); // These are HTML boolean attributes.
27126
-
27127
- ['allowFullScreen', 'async', // Note: there is a special case that prevents it from being written to the DOM
27128
- // on the client side because the browsers are inconsistent. Instead we call focus().
27129
- 'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
27130
- 'itemScope'].forEach(function (name) {
27131
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
27132
- name.toLowerCase(), // attributeName
27133
- null, // attributeNamespace
27134
- false);
27135
- }); // These are the few React props that we set as DOM properties
27136
- // rather than attributes. These are all booleans.
27137
-
27138
- ['checked', // Note: `option.selected` is not updated if `select.multiple` is
27139
- // disabled with `removeAttribute`. We have special logic for handling this.
27140
- 'multiple', 'muted', 'selected'].forEach(function (name) {
27141
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
27142
- name, // attributeName
27143
- null, // attributeNamespace
27144
- false);
27145
- }); // These are HTML attributes that are "overloaded booleans": they behave like
27146
- // booleans, but can also accept a string value.
27147
-
27148
- ['capture', 'download'].forEach(function (name) {
27149
- properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
27150
- name, // attributeName
27151
- null, // attributeNamespace
27152
- false);
27153
- }); // These are HTML attributes that must be positive numbers.
27154
-
27155
- ['cols', 'rows', 'size', 'span'].forEach(function (name) {
27156
- properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
27157
- name, // attributeName
27158
- null, // attributeNamespace
27159
- false);
27160
- }); // These are HTML attributes that must be numbers.
27161
-
27162
- ['rowSpan', 'start'].forEach(function (name) {
27163
- properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
27164
- name.toLowerCase(), // attributeName
27165
- null, // attributeNamespace
27166
- false);
27167
- });
27168
- var CAMELIZE = /[\-\:]([a-z])/g;
27169
-
27170
- var capitalize = function (token) {
27171
- return token[1].toUpperCase();
27172
- }; // This is a list of all SVG attributes that need special casing, namespacing,
27173
- // or boolean value assignment. Regular attributes that just accept strings
27174
- // and have the same names are omitted, just like in the HTML whitelist.
27175
- // Some of these attributes can be hard to find. This list was created by
27176
- // scrapping the MDN documentation.
27177
-
27178
-
27179
- ['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'].forEach(function (attributeName) {
27180
- var name = attributeName.replace(CAMELIZE, capitalize);
27181
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
27182
- attributeName, null, // attributeNamespace
27183
- false);
27184
- }); // String SVG attributes with the xlink namespace.
27185
-
27186
- ['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type'].forEach(function (attributeName) {
27187
- var name = attributeName.replace(CAMELIZE, capitalize);
27188
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
27189
- attributeName, 'http://www.w3.org/1999/xlink', false);
27190
- }); // String SVG attributes with the xml namespace.
27191
-
27192
- ['xml:base', 'xml:lang', 'xml:space'].forEach(function (attributeName) {
27193
- var name = attributeName.replace(CAMELIZE, capitalize);
27194
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
27195
- attributeName, 'http://www.w3.org/XML/1998/namespace', false);
27196
- }); // These attribute exists both in HTML and SVG.
27197
- // The attribute name is case-sensitive in SVG so we can't just use
27198
- // the React name like we do for attributes that exist only in HTML.
27199
-
27200
- ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
27201
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
27202
- attributeName.toLowerCase(), // attributeName
27203
- null, // attributeNamespace
27204
- false);
27205
- }); // These attributes accept URLs. These must not allow javascript: URLS.
27206
- // These will also need to accept Trusted Types object in the future.
27207
-
27208
- var xlinkHref = 'xlinkHref';
27209
- properties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
27210
- 'xlink:href', 'http://www.w3.org/1999/xlink', true);
27211
- ['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
27212
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
27213
- attributeName.toLowerCase(), // attributeName
27214
- null, // attributeNamespace
27215
- true);
27216
- });
27217
-
27218
- var ReactDebugCurrentFrame$1 = null;
27219
-
27220
- {
27221
- ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
27222
- } // A javascript: URL can contain leading C0 control or \u0020 SPACE,
27223
- // and any newline or tab are filtered out as if they're not part of the URL.
27224
- // https://url.spec.whatwg.org/#url-parsing
27225
- // Tab or newline are defined as \r\n\t:
27226
- // https://infra.spec.whatwg.org/#ascii-tab-or-newline
27227
- // A C0 control is a code point in the range \u0000 NULL to \u001F
27228
- // INFORMATION SEPARATOR ONE, inclusive:
27229
- // https://infra.spec.whatwg.org/#c0-control-or-space
27230
-
27231
- /* eslint-disable max-len */
27232
-
27233
-
27234
- var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i;
27235
- var didWarn = false;
27236
-
27237
- function sanitizeURL(url) {
27238
- if (disableJavaScriptURLs) {
27239
- if (!!isJavaScriptProtocol.test(url)) {
27240
- {
27241
- throw Error("React has blocked a javascript: URL as a security precaution." + (ReactDebugCurrentFrame$1.getStackAddendum()));
27242
- }
27243
- }
27244
- } else if (true && !didWarn && isJavaScriptProtocol.test(url)) {
27245
- didWarn = true;
27246
- warning$1(false, 'A future version of React will block javascript: URLs as a security precaution. ' + 'Use event handlers instead if you can. If you need to generate unsafe HTML try ' + 'using dangerouslySetInnerHTML instead. React was passed %s.', JSON.stringify(url));
27247
- }
27248
- }
27249
-
27250
- // Flow does not allow string concatenation of most non-string types. To work
27251
- // around this limitation, we use an opaque type that can only be obtained by
27252
- // passing the value through getToStringValue first.
27253
- function toString(value) {
27254
- return '' + value;
27255
- }
27256
- function getToStringValue(value) {
27257
- switch (typeof value) {
27258
- case 'boolean':
27259
- case 'number':
27260
- case 'object':
27261
- case 'string':
27262
- case 'undefined':
27263
- return value;
27264
-
27265
- default:
27266
- // function, symbol are assigned as empty strings
27267
- return '';
27268
- }
27269
- }
27270
- /** Trusted value is a wrapper for "safe" values which can be assigned to DOM execution sinks. */
27271
-
27272
- /**
27273
- * We allow passing objects with toString method as element attributes or in dangerouslySetInnerHTML
27274
- * and we do validations that the value is safe. Once we do validation we want to use the validated
27275
- * value instead of the object (because object.toString may return something else on next call).
27276
- *
27277
- * If application uses Trusted Types we don't stringify trusted values, but preserve them as objects.
27278
- */
27279
- var toStringOrTrustedType = toString;
27280
-
27281
- if (enableTrustedTypesIntegration && typeof trustedTypes !== 'undefined') {
27282
- toStringOrTrustedType = function (value) {
27283
- if (typeof value === 'object' && (trustedTypes.isHTML(value) || trustedTypes.isScript(value) || trustedTypes.isScriptURL(value) ||
27284
- /* TrustedURLs are deprecated and will be removed soon: https://github.com/WICG/trusted-types/pull/204 */
27285
- trustedTypes.isURL && trustedTypes.isURL(value))) {
27286
- // Pass Trusted Types through.
27287
- return value;
27288
- }
27289
-
27290
- return toString(value);
27291
- };
27292
- }
27293
-
27294
- /**
27295
- * Set attribute for a node. The attribute value can be either string or
27296
- * Trusted value (if application uses Trusted Types).
27297
- */
27298
- function setAttribute(node, attributeName, attributeValue) {
27299
- node.setAttribute(attributeName, attributeValue);
27300
- }
27301
- /**
27302
- * Set attribute with namespace for a node. The attribute value can be either string or
27303
- * Trusted value (if application uses Trusted Types).
27304
- */
27305
-
27306
- function setAttributeNS(node, attributeNamespace, attributeName, attributeValue) {
27307
- node.setAttributeNS(attributeNamespace, attributeName, attributeValue);
27308
- }
27309
-
27310
- /**
27311
- * Get the value for a property on a node. Only used in DEV for SSR validation.
27312
- * The "expected" argument is used as a hint of what the expected value is.
27313
- * Some properties have multiple equivalent values.
27314
- */
27315
- function getValueForProperty(node, name, expected, propertyInfo) {
27316
- {
27317
- if (propertyInfo.mustUseProperty) {
27318
- var propertyName = propertyInfo.propertyName;
27319
- return node[propertyName];
27320
- } else {
27321
- if (!disableJavaScriptURLs && propertyInfo.sanitizeURL) {
27322
- // If we haven't fully disabled javascript: URLs, and if
27323
- // the hydration is successful of a javascript: URL, we
27324
- // still want to warn on the client.
27325
- sanitizeURL('' + expected);
27326
- }
27327
-
27328
- var attributeName = propertyInfo.attributeName;
27329
- var stringValue = null;
27330
-
27331
- if (propertyInfo.type === OVERLOADED_BOOLEAN) {
27332
- if (node.hasAttribute(attributeName)) {
27333
- var value = node.getAttribute(attributeName);
27334
-
27335
- if (value === '') {
27336
- return true;
27337
- }
27338
-
27339
- if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
27340
- return value;
27341
- }
27342
-
27343
- if (value === '' + expected) {
27344
- return expected;
27345
- }
27346
-
27347
- return value;
27348
- }
27349
- } else if (node.hasAttribute(attributeName)) {
27350
- if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
27351
- // We had an attribute but shouldn't have had one, so read it
27352
- // for the error message.
27353
- return node.getAttribute(attributeName);
27354
- }
27355
-
27356
- if (propertyInfo.type === BOOLEAN) {
27357
- // If this was a boolean, it doesn't matter what the value is
27358
- // the fact that we have it is the same as the expected.
27359
- return expected;
27360
- } // Even if this property uses a namespace we use getAttribute
27361
- // because we assume its namespaced name is the same as our config.
27362
- // To use getAttributeNS we need the local name which we don't have
27363
- // in our config atm.
27364
-
27365
-
27366
- stringValue = node.getAttribute(attributeName);
27367
- }
27368
-
27369
- if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
27370
- return stringValue === null ? expected : stringValue;
27371
- } else if (stringValue === '' + expected) {
27372
- return expected;
27373
- } else {
27374
- return stringValue;
27375
- }
27376
- }
27377
- }
27378
- }
27379
- /**
27380
- * Get the value for a attribute on a node. Only used in DEV for SSR validation.
27381
- * The third argument is used as a hint of what the expected value is. Some
27382
- * attributes have multiple equivalent values.
27383
- */
27384
-
27385
- function getValueForAttribute(node, name, expected) {
27386
- {
27387
- if (!isAttributeNameSafe(name)) {
27388
- return;
27389
- }
27390
-
27391
- if (!node.hasAttribute(name)) {
27392
- return expected === undefined ? undefined : null;
27393
- }
27394
-
27395
- var value = node.getAttribute(name);
27396
-
27397
- if (value === '' + expected) {
27398
- return expected;
27399
- }
27400
-
27401
- return value;
27402
- }
27403
- }
27404
- /**
27405
- * Sets the value for a property on a node.
27406
- *
27407
- * @param {DOMElement} node
27408
- * @param {string} name
27409
- * @param {*} value
27410
- */
27411
-
27412
- function setValueForProperty(node, name, value, isCustomComponentTag) {
27413
- var propertyInfo = getPropertyInfo(name);
27414
-
27415
- if (shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag)) {
27416
- return;
27417
- }
27418
-
27419
- if (shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)) {
27420
- value = null;
27421
- } // If the prop isn't in the special list, treat it as a simple attribute.
27422
-
27423
-
27424
- if (isCustomComponentTag || propertyInfo === null) {
27425
- if (isAttributeNameSafe(name)) {
27426
- var _attributeName = name;
27427
-
27428
- if (value === null) {
27429
- node.removeAttribute(_attributeName);
27430
- } else {
27431
- setAttribute(node, _attributeName, toStringOrTrustedType(value));
27432
- }
27433
- }
27434
-
27435
- return;
27436
- }
27437
-
27438
- var mustUseProperty = propertyInfo.mustUseProperty;
27439
-
27440
- if (mustUseProperty) {
27441
- var propertyName = propertyInfo.propertyName;
27442
-
27443
- if (value === null) {
27444
- var type = propertyInfo.type;
27445
- node[propertyName] = type === BOOLEAN ? false : '';
27446
- } else {
27447
- // Contrary to `setAttribute`, object properties are properly
27448
- // `toString`ed by IE8/9.
27449
- node[propertyName] = value;
27450
- }
27451
-
27452
- return;
27453
- } // The rest are treated as attributes with special cases.
27454
-
27455
-
27456
- var attributeName = propertyInfo.attributeName,
27457
- attributeNamespace = propertyInfo.attributeNamespace;
27458
-
27459
- if (value === null) {
27460
- node.removeAttribute(attributeName);
27461
- } else {
27462
- var _type = propertyInfo.type;
27463
- var attributeValue;
27464
-
27465
- if (_type === BOOLEAN || _type === OVERLOADED_BOOLEAN && value === true) {
27466
- // If attribute type is boolean, we know for sure it won't be an execution sink
27467
- // and we won't require Trusted Type here.
27468
- attributeValue = '';
27469
- } else {
27470
- // `setAttribute` with objects becomes only `[object]` in IE8/9,
27471
- // ('' + value) makes it output the correct toString()-value.
27472
- attributeValue = toStringOrTrustedType(value);
27473
-
27474
- if (propertyInfo.sanitizeURL) {
27475
- sanitizeURL(attributeValue.toString());
27476
- }
27477
- }
27478
-
27479
- if (attributeNamespace) {
27480
- setAttributeNS(node, attributeNamespace, attributeName, attributeValue);
27481
- } else {
27482
- setAttribute(node, attributeName, attributeValue);
27483
- }
27484
- }
27485
- }
27486
-
27487
- var ReactDebugCurrentFrame$2 = null;
27488
- var ReactControlledValuePropTypes = {
27489
- checkPropTypes: null
27490
- };
27491
-
27492
- {
27493
- ReactDebugCurrentFrame$2 = ReactSharedInternals.ReactDebugCurrentFrame;
27494
- var hasReadOnlyValue = {
27495
- button: true,
27496
- checkbox: true,
27497
- image: true,
27498
- hidden: true,
27499
- radio: true,
27500
- reset: true,
27501
- submit: true
27502
- };
27503
- var propTypes = {
27504
- value: function (props, propName, componentName) {
27505
- if (hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled || props[propName] == null || enableFlareAPI && props.listeners) {
27506
- return null;
27507
- }
27508
-
27509
- return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
27510
- },
27511
- checked: function (props, propName, componentName) {
27512
- if (props.onChange || props.readOnly || props.disabled || props[propName] == null || enableFlareAPI && props.listeners) {
27513
- return null;
27514
- }
27515
-
27516
- return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
27517
- }
27518
- };
27519
- /**
27520
- * Provide a linked `value` attribute for controlled forms. You should not use
27521
- * this outside of the ReactDOM controlled form components.
27522
- */
27523
-
27524
- ReactControlledValuePropTypes.checkPropTypes = function (tagName, props) {
27525
- checkPropTypes(propTypes, props, 'prop', tagName, ReactDebugCurrentFrame$2.getStackAddendum);
27526
- };
27527
- }
27528
-
27529
- function isCheckable(elem) {
27530
- var type = elem.type;
27531
- var nodeName = elem.nodeName;
27532
- return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
27533
- }
27534
-
27535
- function getTracker(node) {
27536
- return node._valueTracker;
27537
- }
27538
-
27539
- function detachTracker(node) {
27540
- node._valueTracker = null;
27541
- }
27542
-
27543
- function getValueFromNode(node) {
27544
- var value = '';
27545
-
27546
- if (!node) {
27547
- return value;
27548
- }
27549
-
27550
- if (isCheckable(node)) {
27551
- value = node.checked ? 'true' : 'false';
27552
- } else {
27553
- value = node.value;
27554
- }
27555
-
27556
- return value;
27557
- }
27558
-
27559
- function trackValueOnNode(node) {
27560
- var valueField = isCheckable(node) ? 'checked' : 'value';
27561
- var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);
27562
- var currentValue = '' + node[valueField]; // if someone has already defined a value or Safari, then bail
27563
- // and don't track value will cause over reporting of changes,
27564
- // but it's better then a hard failure
27565
- // (needed for certain tests that spyOn input values and Safari)
27566
-
27567
- if (node.hasOwnProperty(valueField) || typeof descriptor === 'undefined' || typeof descriptor.get !== 'function' || typeof descriptor.set !== 'function') {
27568
- return;
27569
- }
27570
-
27571
- var get = descriptor.get,
27572
- set = descriptor.set;
27573
- Object.defineProperty(node, valueField, {
27574
- configurable: true,
27575
- get: function () {
27576
- return get.call(this);
27577
- },
27578
- set: function (value) {
27579
- currentValue = '' + value;
27580
- set.call(this, value);
27581
- }
27582
- }); // We could've passed this the first time
27583
- // but it triggers a bug in IE11 and Edge 14/15.
27584
- // Calling defineProperty() again should be equivalent.
27585
- // https://github.com/facebook/react/issues/11768
27586
-
27587
- Object.defineProperty(node, valueField, {
27588
- enumerable: descriptor.enumerable
27589
- });
27590
- var tracker = {
27591
- getValue: function () {
27592
- return currentValue;
27593
- },
27594
- setValue: function (value) {
27595
- currentValue = '' + value;
27596
- },
27597
- stopTracking: function () {
27598
- detachTracker(node);
27599
- delete node[valueField];
27600
- }
27601
- };
27602
- return tracker;
27603
- }
27604
-
27605
- function track(node) {
27606
- if (getTracker(node)) {
27607
- return;
27608
- } // TODO: Once it's just Fiber we can move this to node._wrapperState
27609
-
27610
-
27611
- node._valueTracker = trackValueOnNode(node);
27612
- }
27613
- function updateValueIfChanged(node) {
27614
- if (!node) {
27615
- return false;
27616
- }
27617
-
27618
- var tracker = getTracker(node); // if there is no tracker at this point it's unlikely
27619
- // that trying again will succeed
27620
-
27621
- if (!tracker) {
27622
- return true;
27623
- }
27624
-
27625
- var lastValue = tracker.getValue();
27626
- var nextValue = getValueFromNode(node);
27627
-
27628
- if (nextValue !== lastValue) {
27629
- tracker.setValue(nextValue);
27630
- return true;
27631
- }
27632
-
27633
- return false;
27634
- }
27635
-
27636
- // TODO: direct imports like some-package/src/* are bad. Fix me.
27637
- var didWarnValueDefaultValue = false;
27638
- var didWarnCheckedDefaultChecked = false;
27639
- var didWarnControlledToUncontrolled = false;
27640
- var didWarnUncontrolledToControlled = false;
27641
-
27642
- function isControlled(props) {
27643
- var usesChecked = props.type === 'checkbox' || props.type === 'radio';
27644
- return usesChecked ? props.checked != null : props.value != null;
27645
- }
27646
- /**
27647
- * Implements an <input> host component that allows setting these optional
27648
- * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.
27649
- *
27650
- * If `checked` or `value` are not supplied (or null/undefined), user actions
27651
- * that affect the checked state or value will trigger updates to the element.
27652
- *
27653
- * If they are supplied (and not null/undefined), the rendered element will not
27654
- * trigger updates to the element. Instead, the props must change in order for
27655
- * the rendered element to be updated.
27656
- *
27657
- * The rendered element will be initialized as unchecked (or `defaultChecked`)
27658
- * with an empty value (or `defaultValue`).
27659
- *
27660
- * See http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html
27661
- */
27662
-
27663
-
27664
- function getHostProps(element, props) {
27665
- var node = element;
27666
- var checked = props.checked;
27667
-
27668
- var hostProps = _assign({}, props, {
27669
- defaultChecked: undefined,
27670
- defaultValue: undefined,
27671
- value: undefined,
27672
- checked: checked != null ? checked : node._wrapperState.initialChecked
27673
- });
27674
-
27675
- return hostProps;
27676
- }
27677
- function initWrapperState(element, props) {
27678
- {
27679
- ReactControlledValuePropTypes.checkPropTypes('input', props);
27680
-
27681
- if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {
27682
- warning$1(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);
27683
- didWarnCheckedDefaultChecked = true;
27684
- }
27685
-
27686
- if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {
27687
- warning$1(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);
27688
- didWarnValueDefaultValue = true;
27689
- }
27690
- }
27691
-
27692
- var node = element;
27693
- var defaultValue = props.defaultValue == null ? '' : props.defaultValue;
27694
- node._wrapperState = {
27695
- initialChecked: props.checked != null ? props.checked : props.defaultChecked,
27696
- initialValue: getToStringValue(props.value != null ? props.value : defaultValue),
27697
- controlled: isControlled(props)
27698
- };
27699
- }
27700
- function updateChecked(element, props) {
27701
- var node = element;
27702
- var checked = props.checked;
27703
-
27704
- if (checked != null) {
27705
- setValueForProperty(node, 'checked', checked, false);
27706
- }
27707
- }
27708
- function updateWrapper(element, props) {
27709
- var node = element;
27710
-
27711
- {
27712
- var controlled = isControlled(props);
27713
-
27714
- if (!node._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {
27715
- warning$1(false, 'A component is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', props.type);
27716
- didWarnUncontrolledToControlled = true;
27717
- }
27718
-
27719
- if (node._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {
27720
- warning$1(false, 'A component is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', props.type);
27721
- didWarnControlledToUncontrolled = true;
27722
- }
27723
- }
27724
-
27725
- updateChecked(element, props);
27726
- var value = getToStringValue(props.value);
27727
- var type = props.type;
27728
-
27729
- if (value != null) {
27730
- if (type === 'number') {
27731
- if (value === 0 && node.value === '' || // We explicitly want to coerce to number here if possible.
27732
- // eslint-disable-next-line
27733
- node.value != value) {
27734
- node.value = toString(value);
27735
- }
27736
- } else if (node.value !== toString(value)) {
27737
- node.value = toString(value);
27738
- }
27739
- } else if (type === 'submit' || type === 'reset') {
27740
- // Submit/reset inputs need the attribute removed completely to avoid
27741
- // blank-text buttons.
27742
- node.removeAttribute('value');
27743
- return;
27744
- }
27745
-
27746
- if (disableInputAttributeSyncing) {
27747
- // When not syncing the value attribute, React only assigns a new value
27748
- // whenever the defaultValue React prop has changed. When not present,
27749
- // React does nothing
27750
- if (props.hasOwnProperty('defaultValue')) {
27751
- setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
27752
- }
27753
- } else {
27754
- // When syncing the value attribute, the value comes from a cascade of
27755
- // properties:
27756
- // 1. The value React property
27757
- // 2. The defaultValue React property
27758
- // 3. Otherwise there should be no change
27759
- if (props.hasOwnProperty('value')) {
27760
- setDefaultValue(node, props.type, value);
27761
- } else if (props.hasOwnProperty('defaultValue')) {
27762
- setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
27763
- }
27764
- }
27765
-
27766
- if (disableInputAttributeSyncing) {
27767
- // When not syncing the checked attribute, the attribute is directly
27768
- // controllable from the defaultValue React property. It needs to be
27769
- // updated as new props come in.
27770
- if (props.defaultChecked == null) {
27771
- node.removeAttribute('checked');
27772
- } else {
27773
- node.defaultChecked = !!props.defaultChecked;
27774
- }
27775
- } else {
27776
- // When syncing the checked attribute, it only changes when it needs
27777
- // to be removed, such as transitioning from a checkbox into a text input
27778
- if (props.checked == null && props.defaultChecked != null) {
27779
- node.defaultChecked = !!props.defaultChecked;
27780
- }
27781
- }
27782
- }
27783
- function postMountWrapper(element, props, isHydrating) {
27784
- var node = element; // Do not assign value if it is already set. This prevents user text input
27785
- // from being lost during SSR hydration.
27786
-
27787
- if (props.hasOwnProperty('value') || props.hasOwnProperty('defaultValue')) {
27788
- var type = props.type;
27789
- var isButton = type === 'submit' || type === 'reset'; // Avoid setting value attribute on submit/reset inputs as it overrides the
27790
- // default value provided by the browser. See: #12872
27791
-
27792
- if (isButton && (props.value === undefined || props.value === null)) {
27793
- return;
27794
- }
27795
-
27796
- var initialValue = toString(node._wrapperState.initialValue); // Do not assign value if it is already set. This prevents user text input
27797
- // from being lost during SSR hydration.
27798
-
27799
- if (!isHydrating) {
27800
- if (disableInputAttributeSyncing) {
27801
- var value = getToStringValue(props.value); // When not syncing the value attribute, the value property points
27802
- // directly to the React prop. Only assign it if it exists.
27803
-
27804
- if (value != null) {
27805
- // Always assign on buttons so that it is possible to assign an
27806
- // empty string to clear button text.
27807
- //
27808
- // Otherwise, do not re-assign the value property if is empty. This
27809
- // potentially avoids a DOM write and prevents Firefox (~60.0.1) from
27810
- // prematurely marking required inputs as invalid. Equality is compared
27811
- // to the current value in case the browser provided value is not an
27812
- // empty string.
27813
- if (isButton || value !== node.value) {
27814
- node.value = toString(value);
27815
- }
27816
- }
27817
- } else {
27818
- // When syncing the value attribute, the value property should use
27819
- // the wrapperState._initialValue property. This uses:
27820
- //
27821
- // 1. The value React property when present
27822
- // 2. The defaultValue React property when present
27823
- // 3. An empty string
27824
- if (initialValue !== node.value) {
27825
- node.value = initialValue;
27826
- }
27827
- }
27828
- }
27829
-
27830
- if (disableInputAttributeSyncing) {
27831
- // When not syncing the value attribute, assign the value attribute
27832
- // directly from the defaultValue React property (when present)
27833
- var defaultValue = getToStringValue(props.defaultValue);
27834
-
27835
- if (defaultValue != null) {
27836
- node.defaultValue = toString(defaultValue);
27837
- }
27838
- } else {
27839
- // Otherwise, the value attribute is synchronized to the property,
27840
- // so we assign defaultValue to the same thing as the value property
27841
- // assignment step above.
27842
- node.defaultValue = initialValue;
27843
- }
27844
- } // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug
27845
- // this is needed to work around a chrome bug where setting defaultChecked
27846
- // will sometimes influence the value of checked (even after detachment).
27847
- // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416
27848
- // We need to temporarily unset name to avoid disrupting radio button groups.
27849
-
27850
-
27851
- var name = node.name;
27852
-
27853
- if (name !== '') {
27854
- node.name = '';
27855
- }
27856
-
27857
- if (disableInputAttributeSyncing) {
27858
- // When not syncing the checked attribute, the checked property
27859
- // never gets assigned. It must be manually set. We don't want
27860
- // to do this when hydrating so that existing user input isn't
27861
- // modified
27862
- if (!isHydrating) {
27863
- updateChecked(element, props);
27864
- } // Only assign the checked attribute if it is defined. This saves
27865
- // a DOM write when controlling the checked attribute isn't needed
27866
- // (text inputs, submit/reset)
27867
-
27868
-
27869
- if (props.hasOwnProperty('defaultChecked')) {
27870
- node.defaultChecked = !node.defaultChecked;
27871
- node.defaultChecked = !!props.defaultChecked;
27872
- }
27873
- } else {
27874
- // When syncing the checked attribute, both the checked property and
27875
- // attribute are assigned at the same time using defaultChecked. This uses:
27876
- //
27877
- // 1. The checked React property when present
27878
- // 2. The defaultChecked React property when present
27879
- // 3. Otherwise, false
27880
- node.defaultChecked = !node.defaultChecked;
27881
- node.defaultChecked = !!node._wrapperState.initialChecked;
27882
- }
27883
-
27884
- if (name !== '') {
27885
- node.name = name;
27886
- }
27887
- }
27888
- function restoreControlledState$1(element, props) {
27889
- var node = element;
27890
- updateWrapper(node, props);
27891
- updateNamedCousins(node, props);
27892
- }
27893
-
27894
- function updateNamedCousins(rootNode, props) {
27895
- var name = props.name;
27896
-
27897
- if (props.type === 'radio' && name != null) {
27898
- var queryRoot = rootNode;
27899
-
27900
- while (queryRoot.parentNode) {
27901
- queryRoot = queryRoot.parentNode;
27902
- } // If `rootNode.form` was non-null, then we could try `form.elements`,
27903
- // but that sometimes behaves strangely in IE8. We could also try using
27904
- // `form.getElementsByName`, but that will only return direct children
27905
- // and won't include inputs that use the HTML5 `form=` attribute. Since
27906
- // the input might not even be in a form. It might not even be in the
27907
- // document. Let's just use the local `querySelectorAll` to ensure we don't
27908
- // miss anything.
27909
-
27910
-
27911
- var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type="radio"]');
27912
-
27913
- for (var i = 0; i < group.length; i++) {
27914
- var otherNode = group[i];
27915
-
27916
- if (otherNode === rootNode || otherNode.form !== rootNode.form) {
27917
- continue;
27918
- } // This will throw if radio buttons rendered by different copies of React
27919
- // and the same name are rendered into the same form (same as #1939).
27920
- // That's probably okay; we don't support it just as we don't support
27921
- // mixing React radio buttons with non-React ones.
27922
-
27923
-
27924
- var otherProps = getFiberCurrentPropsFromNode$1(otherNode);
27925
-
27926
- if (!otherProps) {
27927
- {
27928
- throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");
27929
- }
27930
- } // We need update the tracked value on the named cousin since the value
27931
- // was changed but the input saw no event or value set
27932
-
27933
-
27934
- updateValueIfChanged(otherNode); // If this is a controlled radio button group, forcing the input that
27935
- // was previously checked to update will cause it to be come re-checked
27936
- // as appropriate.
27937
-
27938
- updateWrapper(otherNode, otherProps);
27939
- }
27940
- }
27941
- } // In Chrome, assigning defaultValue to certain input types triggers input validation.
27942
- // For number inputs, the display value loses trailing decimal points. For email inputs,
27943
- // Chrome raises "The specified value <x> is not a valid email address".
27944
- //
27945
- // Here we check to see if the defaultValue has actually changed, avoiding these problems
27946
- // when the user is inputting text
27947
- //
27948
- // https://github.com/facebook/react/issues/7253
27949
-
27950
-
27951
- function setDefaultValue(node, type, value) {
27952
- if ( // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
27953
- type !== 'number' || node.ownerDocument.activeElement !== node) {
27954
- if (value == null) {
27955
- node.defaultValue = toString(node._wrapperState.initialValue);
27956
- } else if (node.defaultValue !== toString(value)) {
27957
- node.defaultValue = toString(value);
27958
- }
27959
- }
27960
- }
27961
-
27962
- var didWarnSelectedSetOnOption = false;
27963
- var didWarnInvalidChild = false;
27964
-
27965
- function flattenChildren(children) {
27966
- var content = ''; // Flatten children. We'll warn if they are invalid
27967
- // during validateProps() which runs for hydration too.
27968
- // Note that this would throw on non-element objects.
27969
- // Elements are stringified (which is normally irrelevant
27970
- // but matters for <fbt>).
27971
-
27972
- React.Children.forEach(children, function (child) {
27973
- if (child == null) {
27974
- return;
27975
- }
27976
-
27977
- content += child; // Note: we don't warn about invalid children here.
27978
- // Instead, this is done separately below so that
27979
- // it happens during the hydration codepath too.
27980
- });
27981
- return content;
27982
- }
27983
- /**
27984
- * Implements an <option> host component that warns when `selected` is set.
27985
- */
27986
-
27987
-
27988
- function validateProps(element, props) {
27989
- {
27990
- // This mirrors the codepath above, but runs for hydration too.
27991
- // Warn about invalid children here so that client and hydration are consistent.
27992
- // TODO: this seems like it could cause a DEV-only throw for hydration
27993
- // if children contains a non-element object. We should try to avoid that.
27994
- if (typeof props.children === 'object' && props.children !== null) {
27995
- React.Children.forEach(props.children, function (child) {
27996
- if (child == null) {
27997
- return;
27998
- }
27999
-
28000
- if (typeof child === 'string' || typeof child === 'number') {
28001
- return;
28002
- }
28003
-
28004
- if (typeof child.type !== 'string') {
28005
- return;
28006
- }
28007
-
28008
- if (!didWarnInvalidChild) {
28009
- didWarnInvalidChild = true;
28010
- warning$1(false, 'Only strings and numbers are supported as <option> children.');
28011
- }
28012
- });
28013
- } // TODO: Remove support for `selected` in <option>.
28014
-
28015
-
28016
- if (props.selected != null && !didWarnSelectedSetOnOption) {
28017
- warning$1(false, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.');
28018
- didWarnSelectedSetOnOption = true;
28019
- }
28020
- }
28021
- }
28022
- function postMountWrapper$1(element, props) {
28023
- // value="" should make a value attribute (#6219)
28024
- if (props.value != null) {
28025
- element.setAttribute('value', toString(getToStringValue(props.value)));
28026
- }
28027
- }
28028
- function getHostProps$1(element, props) {
28029
- var hostProps = _assign({
28030
- children: undefined
28031
- }, props);
28032
-
28033
- var content = flattenChildren(props.children);
28034
-
28035
- if (content) {
28036
- hostProps.children = content;
28037
- }
28038
-
28039
- return hostProps;
28040
- }
28041
-
28042
- // TODO: direct imports like some-package/src/* are bad. Fix me.
28043
- var didWarnValueDefaultValue$1;
28044
-
28045
- {
28046
- didWarnValueDefaultValue$1 = false;
28047
- }
28048
-
28049
- function getDeclarationErrorAddendum() {
28050
- var ownerName = getCurrentFiberOwnerNameInDevOrNull();
28051
-
28052
- if (ownerName) {
28053
- return '\n\nCheck the render method of `' + ownerName + '`.';
28054
- }
28055
-
28056
- return '';
28057
- }
28058
-
28059
- var valuePropNames = ['value', 'defaultValue'];
28060
- /**
28061
- * Validation function for `value` and `defaultValue`.
28062
- */
28063
-
28064
- function checkSelectPropTypes(props) {
28065
- ReactControlledValuePropTypes.checkPropTypes('select', props);
28066
-
28067
- for (var i = 0; i < valuePropNames.length; i++) {
28068
- var propName = valuePropNames[i];
28069
-
28070
- if (props[propName] == null) {
28071
- continue;
28072
- }
28073
-
28074
- var isArray = Array.isArray(props[propName]);
28075
-
28076
- if (props.multiple && !isArray) {
28077
- warning$1(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum());
28078
- } else if (!props.multiple && isArray) {
28079
- warning$1(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum());
28080
- }
28081
- }
28082
- }
28083
-
28084
- function updateOptions(node, multiple, propValue, setDefaultSelected) {
28085
- var options = node.options;
28086
-
28087
- if (multiple) {
28088
- var selectedValues = propValue;
28089
- var selectedValue = {};
28090
-
28091
- for (var i = 0; i < selectedValues.length; i++) {
28092
- // Prefix to avoid chaos with special keys.
28093
- selectedValue['$' + selectedValues[i]] = true;
28094
- }
28095
-
28096
- for (var _i = 0; _i < options.length; _i++) {
28097
- var selected = selectedValue.hasOwnProperty('$' + options[_i].value);
28098
-
28099
- if (options[_i].selected !== selected) {
28100
- options[_i].selected = selected;
28101
- }
28102
-
28103
- if (selected && setDefaultSelected) {
28104
- options[_i].defaultSelected = true;
28105
- }
28106
- }
28107
- } else {
28108
- // Do not set `select.value` as exact behavior isn't consistent across all
28109
- // browsers for all cases.
28110
- var _selectedValue = toString(getToStringValue(propValue));
28111
-
28112
- var defaultSelected = null;
28113
-
28114
- for (var _i2 = 0; _i2 < options.length; _i2++) {
28115
- if (options[_i2].value === _selectedValue) {
28116
- options[_i2].selected = true;
28117
-
28118
- if (setDefaultSelected) {
28119
- options[_i2].defaultSelected = true;
28120
- }
28121
-
28122
- return;
28123
- }
28124
-
28125
- if (defaultSelected === null && !options[_i2].disabled) {
28126
- defaultSelected = options[_i2];
28127
- }
28128
- }
28129
-
28130
- if (defaultSelected !== null) {
28131
- defaultSelected.selected = true;
28132
- }
28133
- }
28134
- }
28135
- /**
28136
- * Implements a <select> host component that allows optionally setting the
28137
- * props `value` and `defaultValue`. If `multiple` is false, the prop must be a
28138
- * stringable. If `multiple` is true, the prop must be an array of stringables.
28139
- *
28140
- * If `value` is not supplied (or null/undefined), user actions that change the
28141
- * selected option will trigger updates to the rendered options.
28142
- *
28143
- * If it is supplied (and not null/undefined), the rendered options will not
28144
- * update in response to user actions. Instead, the `value` prop must change in
28145
- * order for the rendered options to update.
28146
- *
28147
- * If `defaultValue` is provided, any options with the supplied values will be
28148
- * selected.
28149
- */
28150
-
28151
-
28152
- function getHostProps$2(element, props) {
28153
- return _assign({}, props, {
28154
- value: undefined
28155
- });
28156
- }
28157
- function initWrapperState$1(element, props) {
28158
- var node = element;
28159
-
28160
- {
28161
- checkSelectPropTypes(props);
28162
- }
28163
-
28164
- node._wrapperState = {
28165
- wasMultiple: !!props.multiple
28166
- };
28167
-
28168
- {
28169
- if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue$1) {
28170
- warning$1(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components');
28171
- didWarnValueDefaultValue$1 = true;
28172
- }
28173
- }
28174
- }
28175
- function postMountWrapper$2(element, props) {
28176
- var node = element;
28177
- node.multiple = !!props.multiple;
28178
- var value = props.value;
28179
-
28180
- if (value != null) {
28181
- updateOptions(node, !!props.multiple, value, false);
28182
- } else if (props.defaultValue != null) {
28183
- updateOptions(node, !!props.multiple, props.defaultValue, true);
28184
- }
28185
- }
28186
- function postUpdateWrapper(element, props) {
28187
- var node = element;
28188
- var wasMultiple = node._wrapperState.wasMultiple;
28189
- node._wrapperState.wasMultiple = !!props.multiple;
28190
- var value = props.value;
28191
-
28192
- if (value != null) {
28193
- updateOptions(node, !!props.multiple, value, false);
28194
- } else if (wasMultiple !== !!props.multiple) {
28195
- // For simplicity, reapply `defaultValue` if `multiple` is toggled.
28196
- if (props.defaultValue != null) {
28197
- updateOptions(node, !!props.multiple, props.defaultValue, true);
28198
- } else {
28199
- // Revert the select back to its default unselected state.
28200
- updateOptions(node, !!props.multiple, props.multiple ? [] : '', false);
28201
- }
28202
- }
28203
- }
28204
- function restoreControlledState$2(element, props) {
28205
- var node = element;
28206
- var value = props.value;
28207
-
28208
- if (value != null) {
28209
- updateOptions(node, !!props.multiple, value, false);
28210
- }
28211
- }
28212
-
28213
- var didWarnValDefaultVal = false;
28214
-
28215
- /**
28216
- * Implements a <textarea> host component that allows setting `value`, and
28217
- * `defaultValue`. This differs from the traditional DOM API because value is
28218
- * usually set as PCDATA children.
28219
- *
28220
- * If `value` is not supplied (or null/undefined), user actions that affect the
28221
- * value will trigger updates to the element.
28222
- *
28223
- * If `value` is supplied (and not null/undefined), the rendered element will
28224
- * not trigger updates to the element. Instead, the `value` prop must change in
28225
- * order for the rendered element to be updated.
28226
- *
28227
- * The rendered element will be initialized with an empty value, the prop
28228
- * `defaultValue` if specified, or the children content (deprecated).
28229
- */
28230
- function getHostProps$3(element, props) {
28231
- var node = element;
28232
-
28233
- if (!(props.dangerouslySetInnerHTML == null)) {
28234
- {
28235
- throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
28236
- }
28237
- } // Always set children to the same thing. In IE9, the selection range will
28238
- // get reset if `textContent` is mutated. We could add a check in setTextContent
28239
- // to only set the value if/when the value differs from the node value (which would
28240
- // completely solve this IE9 bug), but Sebastian+Sophie seemed to like this
28241
- // solution. The value can be a boolean or object so that's why it's forced
28242
- // to be a string.
28243
-
28244
-
28245
- var hostProps = _assign({}, props, {
28246
- value: undefined,
28247
- defaultValue: undefined,
28248
- children: toString(node._wrapperState.initialValue)
28249
- });
28250
-
28251
- return hostProps;
28252
- }
28253
- function initWrapperState$2(element, props) {
28254
- var node = element;
28255
-
28256
- {
28257
- ReactControlledValuePropTypes.checkPropTypes('textarea', props);
28258
-
28259
- if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) {
28260
- warning$1(false, '%s contains a textarea with both value and defaultValue props. ' + 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component');
28261
- didWarnValDefaultVal = true;
28262
- }
28263
- }
28264
-
28265
- var initialValue = props.value; // Only bother fetching default value if we're going to use it
28266
-
28267
- if (initialValue == null) {
28268
- var defaultValue = props.defaultValue; // TODO (yungsters): Remove support for children content in <textarea>.
28269
-
28270
- var children = props.children;
28271
-
28272
- if (children != null) {
28273
- {
28274
- warning$1(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.');
28275
- }
28276
-
28277
- if (!(defaultValue == null)) {
28278
- {
28279
- throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");
28280
- }
28281
- }
28282
-
28283
- if (Array.isArray(children)) {
28284
- if (!(children.length <= 1)) {
28285
- {
28286
- throw Error("<textarea> can only have at most one child.");
28287
- }
28288
- }
28289
-
28290
- children = children[0];
28291
- }
28292
-
28293
- defaultValue = children;
28294
- }
28295
-
28296
- if (defaultValue == null) {
28297
- defaultValue = '';
28298
- }
28299
-
28300
- initialValue = defaultValue;
28301
- }
28302
-
28303
- node._wrapperState = {
28304
- initialValue: getToStringValue(initialValue)
28305
- };
28306
- }
28307
- function updateWrapper$1(element, props) {
28308
- var node = element;
28309
- var value = getToStringValue(props.value);
28310
- var defaultValue = getToStringValue(props.defaultValue);
28311
-
28312
- if (value != null) {
28313
- // Cast `value` to a string to ensure the value is set correctly. While
28314
- // browsers typically do this as necessary, jsdom doesn't.
28315
- var newValue = toString(value); // To avoid side effects (such as losing text selection), only set value if changed
28316
-
28317
- if (newValue !== node.value) {
28318
- node.value = newValue;
28319
- }
28320
-
28321
- if (props.defaultValue == null && node.defaultValue !== newValue) {
28322
- node.defaultValue = newValue;
28323
- }
28324
- }
28325
-
28326
- if (defaultValue != null) {
28327
- node.defaultValue = toString(defaultValue);
28328
- }
28329
- }
28330
- function postMountWrapper$3(element, props) {
28331
- var node = element; // This is in postMount because we need access to the DOM node, which is not
28332
- // available until after the component has mounted.
28333
-
28334
- var textContent = node.textContent; // Only set node.value if textContent is equal to the expected
28335
- // initial value. In IE10/IE11 there is a bug where the placeholder attribute
28336
- // will populate textContent as well.
28337
- // https://developer.microsoft.com/microsoft-edge/platform/issues/101525/
28338
-
28339
- if (textContent === node._wrapperState.initialValue) {
28340
- if (textContent !== '' && textContent !== null) {
28341
- node.value = textContent;
28342
- }
28343
- }
28344
- }
28345
- function restoreControlledState$3(element, props) {
28346
- // DOM component is still mounted; update
28347
- updateWrapper$1(element, props);
28348
- }
28349
-
28350
- var HTML_NAMESPACE$1 = 'http://www.w3.org/1999/xhtml';
28351
- var MATH_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
28352
- var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
28353
- var Namespaces = {
28354
- html: HTML_NAMESPACE$1,
28355
- mathml: MATH_NAMESPACE,
28356
- svg: SVG_NAMESPACE
28357
- }; // Assumes there is no parent namespace.
28358
-
28359
- function getIntrinsicNamespace(type) {
28360
- switch (type) {
28361
- case 'svg':
28362
- return SVG_NAMESPACE;
28363
-
28364
- case 'math':
28365
- return MATH_NAMESPACE;
28366
-
28367
- default:
28368
- return HTML_NAMESPACE$1;
28369
- }
28370
- }
28371
- function getChildNamespace(parentNamespace, type) {
28372
- if (parentNamespace == null || parentNamespace === HTML_NAMESPACE$1) {
28373
- // No (or default) parent namespace: potential entry point.
28374
- return getIntrinsicNamespace(type);
28375
- }
28376
-
28377
- if (parentNamespace === SVG_NAMESPACE && type === 'foreignObject') {
28378
- // We're leaving SVG.
28379
- return HTML_NAMESPACE$1;
28380
- } // By default, pass namespace below.
28381
-
28382
-
28383
- return parentNamespace;
28384
- }
28385
-
28386
- /* globals MSApp */
28387
-
28388
- /**
28389
- * Create a function which has 'unsafe' privileges (required by windows8 apps)
28390
- */
28391
- var createMicrosoftUnsafeLocalFunction = function (func) {
28392
- if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {
28393
- return function (arg0, arg1, arg2, arg3) {
28394
- MSApp.execUnsafeLocalFunction(function () {
28395
- return func(arg0, arg1, arg2, arg3);
28396
- });
28397
- };
28398
- } else {
28399
- return func;
28400
- }
28401
- };
28402
-
28403
- var reusableSVGContainer;
28404
- /**
28405
- * Set the innerHTML property of a node
28406
- *
28407
- * @param {DOMElement} node
28408
- * @param {string} html
28409
- * @internal
28410
- */
28411
-
28412
- var setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {
28413
- if (node.namespaceURI === Namespaces.svg) {
28414
- {
28415
- if (enableTrustedTypesIntegration) {
28416
- // TODO: reconsider the text of this warning and when it should show
28417
- // before enabling the feature flag.
28418
- !(typeof trustedTypes === 'undefined') ? warning$1(false, "Using 'dangerouslySetInnerHTML' in an svg element with " + 'Trusted Types enabled in an Internet Explorer will cause ' + 'the trusted value to be converted to string. Assigning string ' + "to 'innerHTML' will throw an error if Trusted Types are enforced. " + "You can try to wrap your svg element inside a div and use 'dangerouslySetInnerHTML' " + 'on the enclosing div instead.') : void 0;
28419
- }
28420
- }
28421
-
28422
- if (!('innerHTML' in node)) {
28423
- // IE does not have innerHTML for SVG nodes, so instead we inject the
28424
- // new markup in a temp node and then move the child nodes across into
28425
- // the target node
28426
- reusableSVGContainer = reusableSVGContainer || document.createElement('div');
28427
- reusableSVGContainer.innerHTML = '<svg>' + html.valueOf().toString() + '</svg>';
28428
- var svgNode = reusableSVGContainer.firstChild;
28429
-
28430
- while (node.firstChild) {
28431
- node.removeChild(node.firstChild);
28432
- }
28433
-
28434
- while (svgNode.firstChild) {
28435
- node.appendChild(svgNode.firstChild);
28436
- }
28437
-
28438
- return;
28439
- }
28440
- }
28441
-
28442
- node.innerHTML = html;
28443
- });
28444
-
28445
- /**
28446
- * HTML nodeType values that represent the type of the node
28447
- */
28448
- var ELEMENT_NODE = 1;
28449
- var TEXT_NODE = 3;
28450
- var COMMENT_NODE = 8;
28451
- var DOCUMENT_NODE = 9;
28452
- var DOCUMENT_FRAGMENT_NODE = 11;
28453
-
28454
- /**
28455
- * Set the textContent property of a node. For text updates, it's faster
28456
- * to set the `nodeValue` of the Text node directly instead of using
28457
- * `.textContent` which will remove the existing node and create a new one.
28458
- *
28459
- * @param {DOMElement} node
28460
- * @param {string} text
28461
- * @internal
28462
- */
28463
-
28464
- var setTextContent = function (node, text) {
28465
- if (text) {
28466
- var firstChild = node.firstChild;
28467
-
28468
- if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) {
28469
- firstChild.nodeValue = text;
28470
- return;
28471
- }
28472
- }
28473
-
28474
- node.textContent = text;
28475
- };
28476
-
28477
- // Do not use the below two methods directly!
28478
- // Instead use constants exported from DOMTopLevelEventTypes in ReactDOM.
28479
- // (It is the only module that is allowed to access these methods.)
28480
- function unsafeCastStringToDOMTopLevelType(topLevelType) {
28481
- return topLevelType;
28482
- }
28483
- function unsafeCastDOMTopLevelTypeToString(topLevelType) {
28484
- return topLevelType;
28485
- }
28486
-
28487
- /**
28488
- * Generate a mapping of standard vendor prefixes using the defined style property and event name.
28489
- *
28490
- * @param {string} styleProp
28491
- * @param {string} eventName
28492
- * @returns {object}
28493
- */
28494
-
28495
- function makePrefixMap(styleProp, eventName) {
28496
- var prefixes = {};
28497
- prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
28498
- prefixes['Webkit' + styleProp] = 'webkit' + eventName;
28499
- prefixes['Moz' + styleProp] = 'moz' + eventName;
28500
- return prefixes;
28501
- }
28502
- /**
28503
- * A list of event names to a configurable list of vendor prefixes.
28504
- */
28505
-
28506
-
28507
- var vendorPrefixes = {
28508
- animationend: makePrefixMap('Animation', 'AnimationEnd'),
28509
- animationiteration: makePrefixMap('Animation', 'AnimationIteration'),
28510
- animationstart: makePrefixMap('Animation', 'AnimationStart'),
28511
- transitionend: makePrefixMap('Transition', 'TransitionEnd')
28512
- };
28513
- /**
28514
- * Event names that have already been detected and prefixed (if applicable).
28515
- */
28516
-
28517
- var prefixedEventNames = {};
28518
- /**
28519
- * Element to check for prefixes on.
28520
- */
28521
-
28522
- var style = {};
28523
- /**
28524
- * Bootstrap if a DOM exists.
28525
- */
28526
-
28527
- if (canUseDOM) {
28528
- style = document.createElement('div').style; // On some platforms, in particular some releases of Android 4.x,
28529
- // the un-prefixed "animation" and "transition" properties are defined on the
28530
- // style object but the events that fire will still be prefixed, so we need
28531
- // to check if the un-prefixed events are usable, and if not remove them from the map.
28532
-
28533
- if (!('AnimationEvent' in window)) {
28534
- delete vendorPrefixes.animationend.animation;
28535
- delete vendorPrefixes.animationiteration.animation;
28536
- delete vendorPrefixes.animationstart.animation;
28537
- } // Same as above
28538
-
28539
-
28540
- if (!('TransitionEvent' in window)) {
28541
- delete vendorPrefixes.transitionend.transition;
28542
- }
28543
- }
28544
- /**
28545
- * Attempts to determine the correct vendor prefixed event name.
28546
- *
28547
- * @param {string} eventName
28548
- * @returns {string}
28549
- */
28550
-
28551
-
28552
- function getVendorPrefixedEventName(eventName) {
28553
- if (prefixedEventNames[eventName]) {
28554
- return prefixedEventNames[eventName];
28555
- } else if (!vendorPrefixes[eventName]) {
28556
- return eventName;
28557
- }
28558
-
28559
- var prefixMap = vendorPrefixes[eventName];
28560
-
28561
- for (var styleProp in prefixMap) {
28562
- if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {
28563
- return prefixedEventNames[eventName] = prefixMap[styleProp];
28564
- }
28565
- }
28566
-
28567
- return eventName;
28568
- }
28569
-
28570
- /**
28571
- * To identify top level events in ReactDOM, we use constants defined by this
28572
- * module. This is the only module that uses the unsafe* methods to express
28573
- * that the constants actually correspond to the browser event names. This lets
28574
- * us save some bundle size by avoiding a top level type -> event name map.
28575
- * The rest of ReactDOM code should import top level types from this file.
28576
- */
28577
-
28578
- var TOP_ABORT = unsafeCastStringToDOMTopLevelType('abort');
28579
- var TOP_ANIMATION_END = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('animationend'));
28580
- var TOP_ANIMATION_ITERATION = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('animationiteration'));
28581
- var TOP_ANIMATION_START = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('animationstart'));
28582
- var TOP_BLUR = unsafeCastStringToDOMTopLevelType('blur');
28583
- var TOP_CAN_PLAY = unsafeCastStringToDOMTopLevelType('canplay');
28584
- var TOP_CAN_PLAY_THROUGH = unsafeCastStringToDOMTopLevelType('canplaythrough');
28585
- var TOP_CANCEL = unsafeCastStringToDOMTopLevelType('cancel');
28586
- var TOP_CHANGE = unsafeCastStringToDOMTopLevelType('change');
28587
- var TOP_CLICK = unsafeCastStringToDOMTopLevelType('click');
28588
- var TOP_CLOSE = unsafeCastStringToDOMTopLevelType('close');
28589
- var TOP_COMPOSITION_END = unsafeCastStringToDOMTopLevelType('compositionend');
28590
- var TOP_COMPOSITION_START = unsafeCastStringToDOMTopLevelType('compositionstart');
28591
- var TOP_COMPOSITION_UPDATE = unsafeCastStringToDOMTopLevelType('compositionupdate');
28592
- var TOP_CONTEXT_MENU = unsafeCastStringToDOMTopLevelType('contextmenu');
28593
- var TOP_COPY = unsafeCastStringToDOMTopLevelType('copy');
28594
- var TOP_CUT = unsafeCastStringToDOMTopLevelType('cut');
28595
- var TOP_DOUBLE_CLICK = unsafeCastStringToDOMTopLevelType('dblclick');
28596
- var TOP_AUX_CLICK = unsafeCastStringToDOMTopLevelType('auxclick');
28597
- var TOP_DRAG = unsafeCastStringToDOMTopLevelType('drag');
28598
- var TOP_DRAG_END = unsafeCastStringToDOMTopLevelType('dragend');
28599
- var TOP_DRAG_ENTER = unsafeCastStringToDOMTopLevelType('dragenter');
28600
- var TOP_DRAG_EXIT = unsafeCastStringToDOMTopLevelType('dragexit');
28601
- var TOP_DRAG_LEAVE = unsafeCastStringToDOMTopLevelType('dragleave');
28602
- var TOP_DRAG_OVER = unsafeCastStringToDOMTopLevelType('dragover');
28603
- var TOP_DRAG_START = unsafeCastStringToDOMTopLevelType('dragstart');
28604
- var TOP_DROP = unsafeCastStringToDOMTopLevelType('drop');
28605
- var TOP_DURATION_CHANGE = unsafeCastStringToDOMTopLevelType('durationchange');
28606
- var TOP_EMPTIED = unsafeCastStringToDOMTopLevelType('emptied');
28607
- var TOP_ENCRYPTED = unsafeCastStringToDOMTopLevelType('encrypted');
28608
- var TOP_ENDED = unsafeCastStringToDOMTopLevelType('ended');
28609
- var TOP_ERROR = unsafeCastStringToDOMTopLevelType('error');
28610
- var TOP_FOCUS = unsafeCastStringToDOMTopLevelType('focus');
28611
- var TOP_GOT_POINTER_CAPTURE = unsafeCastStringToDOMTopLevelType('gotpointercapture');
28612
- var TOP_INPUT = unsafeCastStringToDOMTopLevelType('input');
28613
- var TOP_INVALID = unsafeCastStringToDOMTopLevelType('invalid');
28614
- var TOP_KEY_DOWN = unsafeCastStringToDOMTopLevelType('keydown');
28615
- var TOP_KEY_PRESS = unsafeCastStringToDOMTopLevelType('keypress');
28616
- var TOP_KEY_UP = unsafeCastStringToDOMTopLevelType('keyup');
28617
- var TOP_LOAD = unsafeCastStringToDOMTopLevelType('load');
28618
- var TOP_LOAD_START = unsafeCastStringToDOMTopLevelType('loadstart');
28619
- var TOP_LOADED_DATA = unsafeCastStringToDOMTopLevelType('loadeddata');
28620
- var TOP_LOADED_METADATA = unsafeCastStringToDOMTopLevelType('loadedmetadata');
28621
- var TOP_LOST_POINTER_CAPTURE = unsafeCastStringToDOMTopLevelType('lostpointercapture');
28622
- var TOP_MOUSE_DOWN = unsafeCastStringToDOMTopLevelType('mousedown');
28623
- var TOP_MOUSE_MOVE = unsafeCastStringToDOMTopLevelType('mousemove');
28624
- var TOP_MOUSE_OUT = unsafeCastStringToDOMTopLevelType('mouseout');
28625
- var TOP_MOUSE_OVER = unsafeCastStringToDOMTopLevelType('mouseover');
28626
- var TOP_MOUSE_UP = unsafeCastStringToDOMTopLevelType('mouseup');
28627
- var TOP_PASTE = unsafeCastStringToDOMTopLevelType('paste');
28628
- var TOP_PAUSE = unsafeCastStringToDOMTopLevelType('pause');
28629
- var TOP_PLAY = unsafeCastStringToDOMTopLevelType('play');
28630
- var TOP_PLAYING = unsafeCastStringToDOMTopLevelType('playing');
28631
- var TOP_POINTER_CANCEL = unsafeCastStringToDOMTopLevelType('pointercancel');
28632
- var TOP_POINTER_DOWN = unsafeCastStringToDOMTopLevelType('pointerdown');
28633
-
28634
-
28635
- var TOP_POINTER_MOVE = unsafeCastStringToDOMTopLevelType('pointermove');
28636
- var TOP_POINTER_OUT = unsafeCastStringToDOMTopLevelType('pointerout');
28637
- var TOP_POINTER_OVER = unsafeCastStringToDOMTopLevelType('pointerover');
28638
- var TOP_POINTER_UP = unsafeCastStringToDOMTopLevelType('pointerup');
28639
- var TOP_PROGRESS = unsafeCastStringToDOMTopLevelType('progress');
28640
- var TOP_RATE_CHANGE = unsafeCastStringToDOMTopLevelType('ratechange');
28641
- var TOP_RESET = unsafeCastStringToDOMTopLevelType('reset');
28642
- var TOP_SCROLL = unsafeCastStringToDOMTopLevelType('scroll');
28643
- var TOP_SEEKED = unsafeCastStringToDOMTopLevelType('seeked');
28644
- var TOP_SEEKING = unsafeCastStringToDOMTopLevelType('seeking');
28645
- var TOP_SELECTION_CHANGE = unsafeCastStringToDOMTopLevelType('selectionchange');
28646
- var TOP_STALLED = unsafeCastStringToDOMTopLevelType('stalled');
28647
- var TOP_SUBMIT = unsafeCastStringToDOMTopLevelType('submit');
28648
- var TOP_SUSPEND = unsafeCastStringToDOMTopLevelType('suspend');
28649
- var TOP_TEXT_INPUT = unsafeCastStringToDOMTopLevelType('textInput');
28650
- var TOP_TIME_UPDATE = unsafeCastStringToDOMTopLevelType('timeupdate');
28651
- var TOP_TOGGLE = unsafeCastStringToDOMTopLevelType('toggle');
28652
- var TOP_TOUCH_CANCEL = unsafeCastStringToDOMTopLevelType('touchcancel');
28653
- var TOP_TOUCH_END = unsafeCastStringToDOMTopLevelType('touchend');
28654
- var TOP_TOUCH_MOVE = unsafeCastStringToDOMTopLevelType('touchmove');
28655
- var TOP_TOUCH_START = unsafeCastStringToDOMTopLevelType('touchstart');
28656
- var TOP_TRANSITION_END = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('transitionend'));
28657
- var TOP_VOLUME_CHANGE = unsafeCastStringToDOMTopLevelType('volumechange');
28658
- var TOP_WAITING = unsafeCastStringToDOMTopLevelType('waiting');
28659
- var TOP_WHEEL = unsafeCastStringToDOMTopLevelType('wheel'); // List of events that need to be individually attached to media elements.
28660
- // Note that events in this list will *not* be listened to at the top level
28661
- // unless they're explicitly whitelisted in `ReactBrowserEventEmitter.listenTo`.
28662
-
28663
- var mediaEventTypes = [TOP_ABORT, TOP_CAN_PLAY, TOP_CAN_PLAY_THROUGH, TOP_DURATION_CHANGE, TOP_EMPTIED, TOP_ENCRYPTED, TOP_ENDED, TOP_ERROR, TOP_LOADED_DATA, TOP_LOADED_METADATA, TOP_LOAD_START, TOP_PAUSE, TOP_PLAY, TOP_PLAYING, TOP_PROGRESS, TOP_RATE_CHANGE, TOP_SEEKED, TOP_SEEKING, TOP_STALLED, TOP_SUSPEND, TOP_TIME_UPDATE, TOP_VOLUME_CHANGE, TOP_WAITING];
28664
- function getRawEventName(topLevelType) {
28665
- return unsafeCastDOMTopLevelTypeToString(topLevelType);
28666
- }
28667
-
28668
- /**
28669
- * `ReactInstanceMap` maintains a mapping from a public facing stateful
28670
- * instance (key) and the internal representation (value). This allows public
28671
- * methods to accept the user facing instance as an argument and map them back
28672
- * to internal methods.
28673
- *
28674
- * Note that this module is currently shared and assumed to be stateless.
28675
- * If this becomes an actual Map, that will break.
28676
- */
28677
-
28678
- /**
28679
- * This API should be called `delete` but we'd have to make sure to always
28680
- * transform these to strings for IE support. When this transform is fully
28681
- * supported we can rename it.
28682
- */
28683
-
28684
- function get(key) {
28685
- return key._reactInternalFiber;
28686
- }
28687
- function has(key) {
28688
- return key._reactInternalFiber !== undefined;
28689
- }
28690
- function set(key, value) {
28691
- key._reactInternalFiber = value;
28692
- }
28693
-
28694
- // Don't change these two values. They're used by React Dev Tools.
28695
- var NoEffect =
28696
- /* */
28697
- 0;
28698
- var PerformedWork =
28699
- /* */
28700
- 1; // You can change the rest (and add more).
28701
-
28702
- var Placement =
28703
- /* */
28704
- 2;
28705
- var Update =
28706
- /* */
28707
- 4;
28708
- var PlacementAndUpdate =
28709
- /* */
28710
- 6;
28711
- var Deletion =
28712
- /* */
28713
- 8;
28714
- var ContentReset =
28715
- /* */
28716
- 16;
28717
- var Callback =
28718
- /* */
28719
- 32;
28720
- var DidCapture =
28721
- /* */
28722
- 64;
28723
- var Ref =
28724
- /* */
28725
- 128;
28726
- var Snapshot =
28727
- /* */
28728
- 256;
28729
- var Passive =
28730
- /* */
28731
- 512;
28732
- var Hydrating =
28733
- /* */
28734
- 1024;
28735
- var HydratingAndUpdate =
28736
- /* */
28737
- 1028; // Passive & Update & Callback & Ref & Snapshot
28738
-
28739
- var LifecycleEffectMask =
28740
- /* */
28741
- 932; // Union of all host effects
28742
-
28743
- var HostEffectMask =
28744
- /* */
28745
- 2047;
28746
- var Incomplete =
28747
- /* */
28748
- 2048;
28749
- var ShouldCapture =
28750
- /* */
28751
- 4096;
28752
-
28753
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
28754
- function getNearestMountedFiber(fiber) {
28755
- var node = fiber;
28756
- var nearestMounted = fiber;
28757
-
28758
- if (!fiber.alternate) {
28759
- // If there is no alternate, this might be a new tree that isn't inserted
28760
- // yet. If it is, then it will have a pending insertion effect on it.
28761
- var nextNode = node;
28762
-
28763
- do {
28764
- node = nextNode;
28765
-
28766
- if ((node.effectTag & (Placement | Hydrating)) !== NoEffect) {
28767
- // This is an insertion or in-progress hydration. The nearest possible
28768
- // mounted fiber is the parent but we need to continue to figure out
28769
- // if that one is still mounted.
28770
- nearestMounted = node.return;
28771
- }
28772
-
28773
- nextNode = node.return;
28774
- } while (nextNode);
28775
- } else {
28776
- while (node.return) {
28777
- node = node.return;
28778
- }
28779
- }
28780
-
28781
- if (node.tag === HostRoot) {
28782
- // TODO: Check if this was a nested HostRoot when used with
28783
- // renderContainerIntoSubtree.
28784
- return nearestMounted;
28785
- } // If we didn't hit the root, that means that we're in an disconnected tree
28786
- // that has been unmounted.
28787
-
28788
-
28789
- return null;
28790
- }
28791
- function getSuspenseInstanceFromFiber(fiber) {
28792
- if (fiber.tag === SuspenseComponent) {
28793
- var suspenseState = fiber.memoizedState;
28794
-
28795
- if (suspenseState === null) {
28796
- var current = fiber.alternate;
28797
-
28798
- if (current !== null) {
28799
- suspenseState = current.memoizedState;
28800
- }
28801
- }
28802
-
28803
- if (suspenseState !== null) {
28804
- return suspenseState.dehydrated;
28805
- }
28806
- }
28807
-
28808
- return null;
28809
- }
28810
- function getContainerFromFiber(fiber) {
28811
- return fiber.tag === HostRoot ? fiber.stateNode.containerInfo : null;
28812
- }
28813
- function isFiberMounted(fiber) {
28814
- return getNearestMountedFiber(fiber) === fiber;
28815
- }
28816
- function isMounted(component) {
28817
- {
28818
- var owner = ReactCurrentOwner.current;
28819
-
28820
- if (owner !== null && owner.tag === ClassComponent) {
28821
- var ownerFiber = owner;
28822
- var instance = ownerFiber.stateNode;
28823
- !instance._warnedAboutRefsInRender ? warningWithoutStack$1(false, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', getComponentName(ownerFiber.type) || 'A component') : void 0;
28824
- instance._warnedAboutRefsInRender = true;
28825
- }
28826
- }
28827
-
28828
- var fiber = get(component);
28829
-
28830
- if (!fiber) {
28831
- return false;
28832
- }
28833
-
28834
- return getNearestMountedFiber(fiber) === fiber;
28835
- }
28836
-
28837
- function assertIsMounted(fiber) {
28838
- if (!(getNearestMountedFiber(fiber) === fiber)) {
28839
- {
28840
- throw Error("Unable to find node on an unmounted component.");
28841
- }
28842
- }
28843
- }
28844
-
28845
- function findCurrentFiberUsingSlowPath(fiber) {
28846
- var alternate = fiber.alternate;
28847
-
28848
- if (!alternate) {
28849
- // If there is no alternate, then we only need to check if it is mounted.
28850
- var nearestMounted = getNearestMountedFiber(fiber);
28851
-
28852
- if (!(nearestMounted !== null)) {
28853
- {
28854
- throw Error("Unable to find node on an unmounted component.");
28855
- }
28856
- }
28857
-
28858
- if (nearestMounted !== fiber) {
28859
- return null;
28860
- }
28861
-
28862
- return fiber;
28863
- } // If we have two possible branches, we'll walk backwards up to the root
28864
- // to see what path the root points to. On the way we may hit one of the
28865
- // special cases and we'll deal with them.
28866
-
28867
-
28868
- var a = fiber;
28869
- var b = alternate;
28870
-
28871
- while (true) {
28872
- var parentA = a.return;
28873
-
28874
- if (parentA === null) {
28875
- // We're at the root.
28876
- break;
28877
- }
28878
-
28879
- var parentB = parentA.alternate;
28880
-
28881
- if (parentB === null) {
28882
- // There is no alternate. This is an unusual case. Currently, it only
28883
- // happens when a Suspense component is hidden. An extra fragment fiber
28884
- // is inserted in between the Suspense fiber and its children. Skip
28885
- // over this extra fragment fiber and proceed to the next parent.
28886
- var nextParent = parentA.return;
28887
-
28888
- if (nextParent !== null) {
28889
- a = b = nextParent;
28890
- continue;
28891
- } // If there's no parent, we're at the root.
28892
-
28893
-
28894
- break;
28895
- } // If both copies of the parent fiber point to the same child, we can
28896
- // assume that the child is current. This happens when we bailout on low
28897
- // priority: the bailed out fiber's child reuses the current child.
28898
-
28899
-
28900
- if (parentA.child === parentB.child) {
28901
- var child = parentA.child;
28902
-
28903
- while (child) {
28904
- if (child === a) {
28905
- // We've determined that A is the current branch.
28906
- assertIsMounted(parentA);
28907
- return fiber;
28908
- }
28909
-
28910
- if (child === b) {
28911
- // We've determined that B is the current branch.
28912
- assertIsMounted(parentA);
28913
- return alternate;
28914
- }
28915
-
28916
- child = child.sibling;
28917
- } // We should never have an alternate for any mounting node. So the only
28918
- // way this could possibly happen is if this was unmounted, if at all.
28919
-
28920
-
28921
- {
28922
- {
28923
- throw Error("Unable to find node on an unmounted component.");
28924
- }
28925
- }
28926
- }
28927
-
28928
- if (a.return !== b.return) {
28929
- // The return pointer of A and the return pointer of B point to different
28930
- // fibers. We assume that return pointers never criss-cross, so A must
28931
- // belong to the child set of A.return, and B must belong to the child
28932
- // set of B.return.
28933
- a = parentA;
28934
- b = parentB;
28935
- } else {
28936
- // The return pointers point to the same fiber. We'll have to use the
28937
- // default, slow path: scan the child sets of each parent alternate to see
28938
- // which child belongs to which set.
28939
- //
28940
- // Search parent A's child set
28941
- var didFindChild = false;
28942
- var _child = parentA.child;
28943
-
28944
- while (_child) {
28945
- if (_child === a) {
28946
- didFindChild = true;
28947
- a = parentA;
28948
- b = parentB;
28949
- break;
28950
- }
28951
-
28952
- if (_child === b) {
28953
- didFindChild = true;
28954
- b = parentA;
28955
- a = parentB;
28956
- break;
28957
- }
28958
-
28959
- _child = _child.sibling;
28960
- }
28961
-
28962
- if (!didFindChild) {
28963
- // Search parent B's child set
28964
- _child = parentB.child;
28965
-
28966
- while (_child) {
28967
- if (_child === a) {
28968
- didFindChild = true;
28969
- a = parentB;
28970
- b = parentA;
28971
- break;
28972
- }
28973
-
28974
- if (_child === b) {
28975
- didFindChild = true;
28976
- b = parentB;
28977
- a = parentA;
28978
- break;
28979
- }
28980
-
28981
- _child = _child.sibling;
28982
- }
28983
-
28984
- if (!didFindChild) {
28985
- {
28986
- throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
28987
- }
28988
- }
28989
- }
28990
- }
28991
-
28992
- if (!(a.alternate === b)) {
28993
- {
28994
- throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
28995
- }
28996
- }
28997
- } // If the root is not a host container, we're in a disconnected tree. I.e.
28998
- // unmounted.
28999
-
29000
-
29001
- if (!(a.tag === HostRoot)) {
29002
- {
29003
- throw Error("Unable to find node on an unmounted component.");
29004
- }
29005
- }
29006
-
29007
- if (a.stateNode.current === a) {
29008
- // We've determined that A is the current branch.
29009
- return fiber;
29010
- } // Otherwise B has to be current branch.
29011
-
29012
-
29013
- return alternate;
29014
- }
29015
- function findCurrentHostFiber(parent) {
29016
- var currentParent = findCurrentFiberUsingSlowPath(parent);
29017
-
29018
- if (!currentParent) {
29019
- return null;
29020
- } // Next we'll drill down this component to find the first HostComponent/Text.
29021
-
29022
-
29023
- var node = currentParent;
29024
-
29025
- while (true) {
29026
- if (node.tag === HostComponent || node.tag === HostText) {
29027
- return node;
29028
- } else if (node.child) {
29029
- node.child.return = node;
29030
- node = node.child;
29031
- continue;
29032
- }
29033
-
29034
- if (node === currentParent) {
29035
- return null;
29036
- }
29037
-
29038
- while (!node.sibling) {
29039
- if (!node.return || node.return === currentParent) {
29040
- return null;
29041
- }
29042
-
29043
- node = node.return;
29044
- }
29045
-
29046
- node.sibling.return = node.return;
29047
- node = node.sibling;
29048
- } // Flow needs the return null here, but ESLint complains about it.
29049
- // eslint-disable-next-line no-unreachable
29050
-
29051
-
29052
- return null;
29053
- }
29054
- function findCurrentHostFiberWithNoPortals(parent) {
29055
- var currentParent = findCurrentFiberUsingSlowPath(parent);
29056
-
29057
- if (!currentParent) {
29058
- return null;
29059
- } // Next we'll drill down this component to find the first HostComponent/Text.
29060
-
29061
-
29062
- var node = currentParent;
29063
-
29064
- while (true) {
29065
- if (node.tag === HostComponent || node.tag === HostText || enableFundamentalAPI && node.tag === FundamentalComponent) {
29066
- return node;
29067
- } else if (node.child && node.tag !== HostPortal) {
29068
- node.child.return = node;
29069
- node = node.child;
29070
- continue;
29071
- }
29072
-
29073
- if (node === currentParent) {
29074
- return null;
29075
- }
29076
-
29077
- while (!node.sibling) {
29078
- if (!node.return || node.return === currentParent) {
29079
- return null;
29080
- }
29081
-
29082
- node = node.return;
29083
- }
29084
-
29085
- node.sibling.return = node.return;
29086
- node = node.sibling;
29087
- } // Flow needs the return null here, but ESLint complains about it.
29088
- // eslint-disable-next-line no-unreachable
29089
-
29090
-
29091
- return null;
29092
- }
29093
-
29094
- var attemptSynchronousHydration;
29095
- function setAttemptSynchronousHydration(fn) {
29096
- attemptSynchronousHydration = fn;
29097
- }
29098
- var attemptUserBlockingHydration;
29099
- function setAttemptUserBlockingHydration(fn) {
29100
- attemptUserBlockingHydration = fn;
29101
- }
29102
- var attemptContinuousHydration;
29103
- function setAttemptContinuousHydration(fn) {
29104
- attemptContinuousHydration = fn;
29105
- }
29106
- var attemptHydrationAtCurrentPriority;
29107
- function setAttemptHydrationAtCurrentPriority(fn) {
29108
- attemptHydrationAtCurrentPriority = fn;
29109
- } // TODO: Upgrade this definition once we're on a newer version of Flow that
29110
- // has this definition built-in.
29111
-
29112
- var hasScheduledReplayAttempt = false; // The queue of discrete events to be replayed.
29113
-
29114
- var queuedDiscreteEvents = []; // Indicates if any continuous event targets are non-null for early bailout.
29115
-
29116
- // if the last target was dehydrated.
29117
-
29118
- var queuedFocus = null;
29119
- var queuedDrag = null;
29120
- var queuedMouse = null; // For pointer events there can be one latest event per pointerId.
29121
-
29122
- var queuedPointers = new Map();
29123
- var queuedPointerCaptures = new Map(); // We could consider replaying selectionchange and touchmoves too.
29124
-
29125
- var queuedExplicitHydrationTargets = [];
29126
- function hasQueuedDiscreteEvents() {
29127
- return queuedDiscreteEvents.length > 0;
29128
- }
29129
-
29130
- var discreteReplayableEvents = [TOP_MOUSE_DOWN, TOP_MOUSE_UP, TOP_TOUCH_CANCEL, TOP_TOUCH_END, TOP_TOUCH_START, TOP_AUX_CLICK, TOP_DOUBLE_CLICK, TOP_POINTER_CANCEL, TOP_POINTER_DOWN, TOP_POINTER_UP, TOP_DRAG_END, TOP_DRAG_START, TOP_DROP, TOP_COMPOSITION_END, TOP_COMPOSITION_START, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_INPUT, TOP_TEXT_INPUT, TOP_CLOSE, TOP_CANCEL, TOP_COPY, TOP_CUT, TOP_PASTE, TOP_CLICK, TOP_CHANGE, TOP_CONTEXT_MENU, TOP_RESET, TOP_SUBMIT];
29131
- var continuousReplayableEvents = [TOP_FOCUS, TOP_BLUR, TOP_DRAG_ENTER, TOP_DRAG_LEAVE, TOP_MOUSE_OVER, TOP_MOUSE_OUT, TOP_POINTER_OVER, TOP_POINTER_OUT, TOP_GOT_POINTER_CAPTURE, TOP_LOST_POINTER_CAPTURE];
29132
- function isReplayableDiscreteEvent(eventType) {
29133
- return discreteReplayableEvents.indexOf(eventType) > -1;
29134
- }
29135
-
29136
- function trapReplayableEvent(topLevelType, document, listeningSet) {
29137
- listenToTopLevel(topLevelType, document, listeningSet);
29138
-
29139
- if (enableFlareAPI) {
29140
- // Trap events for the responder system.
29141
- var passiveEventKey = unsafeCastDOMTopLevelTypeToString(topLevelType) + '_passive';
29142
-
29143
- if (!listeningSet.has(passiveEventKey)) {
29144
- trapEventForResponderEventSystem(document, topLevelType, true);
29145
- listeningSet.add(passiveEventKey);
29146
- } // TODO: This listens to all events as active which might have
29147
- // undesirable effects. It's also unnecessary to have both
29148
- // passive and active listeners. Instead, we could start with
29149
- // a passive and upgrade it to an active one if needed.
29150
- // For replaying purposes the active is never needed since we
29151
- // currently don't preventDefault.
29152
-
29153
-
29154
- var activeEventKey = unsafeCastDOMTopLevelTypeToString(topLevelType) + '_active';
29155
-
29156
- if (!listeningSet.has(activeEventKey)) {
29157
- trapEventForResponderEventSystem(document, topLevelType, false);
29158
- listeningSet.add(activeEventKey);
29159
- }
29160
- }
29161
- }
29162
-
29163
- function eagerlyTrapReplayableEvents(document) {
29164
- var listeningSet = getListeningSetForElement(document); // Discrete
29165
-
29166
- discreteReplayableEvents.forEach(function (topLevelType) {
29167
- trapReplayableEvent(topLevelType, document, listeningSet);
29168
- }); // Continuous
29169
-
29170
- continuousReplayableEvents.forEach(function (topLevelType) {
29171
- trapReplayableEvent(topLevelType, document, listeningSet);
29172
- });
29173
- }
29174
-
29175
- function createQueuedReplayableEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent) {
29176
- return {
29177
- blockedOn: blockedOn,
29178
- topLevelType: topLevelType,
29179
- eventSystemFlags: eventSystemFlags | IS_REPLAYED,
29180
- nativeEvent: nativeEvent
29181
- };
29182
- }
29183
-
29184
- function queueDiscreteEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent) {
29185
- var queuedEvent = createQueuedReplayableEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent);
29186
- queuedDiscreteEvents.push(queuedEvent);
29187
-
29188
- if (enableSelectiveHydration) {
29189
- if (queuedDiscreteEvents.length === 1) {
29190
- // If this was the first discrete event, we might be able to
29191
- // synchronously unblock it so that preventDefault still works.
29192
- while (queuedEvent.blockedOn !== null) {
29193
- var _fiber = getInstanceFromNode$1(queuedEvent.blockedOn);
29194
-
29195
- if (_fiber === null) {
29196
- break;
29197
- }
29198
-
29199
- attemptSynchronousHydration(_fiber);
29200
-
29201
- if (queuedEvent.blockedOn === null) {
29202
- // We got unblocked by hydration. Let's try again.
29203
- replayUnblockedEvents(); // If we're reblocked, on an inner boundary, we might need
29204
- // to attempt hydrating that one.
29205
-
29206
- continue;
29207
- } else {
29208
- // We're still blocked from hydation, we have to give up
29209
- // and replay later.
29210
- break;
29211
- }
29212
- }
29213
- }
29214
- }
29215
- } // Resets the replaying for this type of continuous event to no event.
29216
-
29217
- function clearIfContinuousEvent(topLevelType, nativeEvent) {
29218
- switch (topLevelType) {
29219
- case TOP_FOCUS:
29220
- case TOP_BLUR:
29221
- queuedFocus = null;
29222
- break;
29223
-
29224
- case TOP_DRAG_ENTER:
29225
- case TOP_DRAG_LEAVE:
29226
- queuedDrag = null;
29227
- break;
29228
-
29229
- case TOP_MOUSE_OVER:
29230
- case TOP_MOUSE_OUT:
29231
- queuedMouse = null;
29232
- break;
29233
-
29234
- case TOP_POINTER_OVER:
29235
- case TOP_POINTER_OUT:
29236
- {
29237
- var pointerId = nativeEvent.pointerId;
29238
- queuedPointers.delete(pointerId);
29239
- break;
29240
- }
29241
-
29242
- case TOP_GOT_POINTER_CAPTURE:
29243
- case TOP_LOST_POINTER_CAPTURE:
29244
- {
29245
- var _pointerId = nativeEvent.pointerId;
29246
- queuedPointerCaptures.delete(_pointerId);
29247
- break;
29248
- }
29249
- }
29250
- }
29251
-
29252
- function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, topLevelType, eventSystemFlags, nativeEvent) {
29253
- if (existingQueuedEvent === null || existingQueuedEvent.nativeEvent !== nativeEvent) {
29254
- var queuedEvent = createQueuedReplayableEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent);
29255
-
29256
- if (blockedOn !== null) {
29257
- var _fiber2 = getInstanceFromNode$1(blockedOn);
29258
-
29259
- if (_fiber2 !== null) {
29260
- // Attempt to increase the priority of this target.
29261
- attemptContinuousHydration(_fiber2);
29262
- }
29263
- }
29264
-
29265
- return queuedEvent;
29266
- } // If we have already queued this exact event, then it's because
29267
- // the different event systems have different DOM event listeners.
29268
- // We can accumulate the flags and store a single event to be
29269
- // replayed.
29270
-
29271
-
29272
- existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
29273
- return existingQueuedEvent;
29274
- }
29275
-
29276
- function queueIfContinuousEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent) {
29277
- // These set relatedTarget to null because the replayed event will be treated as if we
29278
- // moved from outside the window (no target) onto the target once it hydrates.
29279
- // Instead of mutating we could clone the event.
29280
- switch (topLevelType) {
29281
- case TOP_FOCUS:
29282
- {
29283
- var focusEvent = nativeEvent;
29284
- queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, topLevelType, eventSystemFlags, focusEvent);
29285
- return true;
29286
- }
29287
-
29288
- case TOP_DRAG_ENTER:
29289
- {
29290
- var dragEvent = nativeEvent;
29291
- queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, topLevelType, eventSystemFlags, dragEvent);
29292
- return true;
29293
- }
29294
-
29295
- case TOP_MOUSE_OVER:
29296
- {
29297
- var mouseEvent = nativeEvent;
29298
- queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, topLevelType, eventSystemFlags, mouseEvent);
29299
- return true;
29300
- }
29301
-
29302
- case TOP_POINTER_OVER:
29303
- {
29304
- var pointerEvent = nativeEvent;
29305
- var pointerId = pointerEvent.pointerId;
29306
- queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, topLevelType, eventSystemFlags, pointerEvent));
29307
- return true;
29308
- }
29309
-
29310
- case TOP_GOT_POINTER_CAPTURE:
29311
- {
29312
- var _pointerEvent = nativeEvent;
29313
- var _pointerId2 = _pointerEvent.pointerId;
29314
- queuedPointerCaptures.set(_pointerId2, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(_pointerId2) || null, blockedOn, topLevelType, eventSystemFlags, _pointerEvent));
29315
- return true;
29316
- }
29317
- }
29318
-
29319
- return false;
29320
- } // Check if this target is unblocked. Returns true if it's unblocked.
29321
-
29322
- function attemptExplicitHydrationTarget(queuedTarget) {
29323
- // TODO: This function shares a lot of logic with attemptToDispatchEvent.
29324
- // Try to unify them. It's a bit tricky since it would require two return
29325
- // values.
29326
- var targetInst = getClosestInstanceFromNode(queuedTarget.target);
29327
-
29328
- if (targetInst !== null) {
29329
- var nearestMounted = getNearestMountedFiber(targetInst);
29330
-
29331
- if (nearestMounted !== null) {
29332
- var tag = nearestMounted.tag;
29333
-
29334
- if (tag === SuspenseComponent) {
29335
- var instance = getSuspenseInstanceFromFiber(nearestMounted);
29336
-
29337
- if (instance !== null) {
29338
- // We're blocked on hydrating this boundary.
29339
- // Increase its priority.
29340
- queuedTarget.blockedOn = instance;
29341
- Scheduler.unstable_runWithPriority(queuedTarget.priority, function () {
29342
- attemptHydrationAtCurrentPriority(nearestMounted);
29343
- });
29344
- return;
29345
- }
29346
- } else if (tag === HostRoot) {
29347
- var root = nearestMounted.stateNode;
29348
-
29349
- if (root.hydrate) {
29350
- queuedTarget.blockedOn = getContainerFromFiber(nearestMounted); // We don't currently have a way to increase the priority of
29351
- // a root other than sync.
29352
-
29353
- return;
29354
- }
29355
- }
29356
- }
29357
- }
29358
-
29359
- queuedTarget.blockedOn = null;
29360
- }
29361
-
29362
- function queueExplicitHydrationTarget(target) {
29363
- if (enableSelectiveHydration) {
29364
- var priority = Scheduler.unstable_getCurrentPriorityLevel();
29365
- var queuedTarget = {
29366
- blockedOn: null,
29367
- target: target,
29368
- priority: priority
29369
- };
29370
- var i = 0;
29371
-
29372
- for (; i < queuedExplicitHydrationTargets.length; i++) {
29373
- if (priority <= queuedExplicitHydrationTargets[i].priority) {
29374
- break;
29375
- }
29376
- }
29377
-
29378
- queuedExplicitHydrationTargets.splice(i, 0, queuedTarget);
29379
-
29380
- if (i === 0) {
29381
- attemptExplicitHydrationTarget(queuedTarget);
29382
- }
29383
- }
29384
- }
29385
-
29386
- function attemptReplayContinuousQueuedEvent(queuedEvent) {
29387
- if (queuedEvent.blockedOn !== null) {
29388
- return false;
29389
- }
29390
-
29391
- var nextBlockedOn = attemptToDispatchEvent(queuedEvent.topLevelType, queuedEvent.eventSystemFlags, queuedEvent.nativeEvent);
29392
-
29393
- if (nextBlockedOn !== null) {
29394
- // We're still blocked. Try again later.
29395
- var _fiber3 = getInstanceFromNode$1(nextBlockedOn);
29396
-
29397
- if (_fiber3 !== null) {
29398
- attemptContinuousHydration(_fiber3);
29399
- }
29400
-
29401
- queuedEvent.blockedOn = nextBlockedOn;
29402
- return false;
29403
- }
29404
-
29405
- return true;
29406
- }
29407
-
29408
- function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
29409
- if (attemptReplayContinuousQueuedEvent(queuedEvent)) {
29410
- map.delete(key);
29411
- }
29412
- }
29413
-
29414
- function replayUnblockedEvents() {
29415
- hasScheduledReplayAttempt = false; // First replay discrete events.
29416
-
29417
- while (queuedDiscreteEvents.length > 0) {
29418
- var nextDiscreteEvent = queuedDiscreteEvents[0];
29419
-
29420
- if (nextDiscreteEvent.blockedOn !== null) {
29421
- // We're still blocked.
29422
- // Increase the priority of this boundary to unblock
29423
- // the next discrete event.
29424
- var _fiber4 = getInstanceFromNode$1(nextDiscreteEvent.blockedOn);
29425
-
29426
- if (_fiber4 !== null) {
29427
- attemptUserBlockingHydration(_fiber4);
29428
- }
29429
-
29430
- break;
29431
- }
29432
-
29433
- var nextBlockedOn = attemptToDispatchEvent(nextDiscreteEvent.topLevelType, nextDiscreteEvent.eventSystemFlags, nextDiscreteEvent.nativeEvent);
29434
-
29435
- if (nextBlockedOn !== null) {
29436
- // We're still blocked. Try again later.
29437
- nextDiscreteEvent.blockedOn = nextBlockedOn;
29438
- } else {
29439
- // We've successfully replayed the first event. Let's try the next one.
29440
- queuedDiscreteEvents.shift();
29441
- }
29442
- } // Next replay any continuous events.
29443
-
29444
-
29445
- if (queuedFocus !== null && attemptReplayContinuousQueuedEvent(queuedFocus)) {
29446
- queuedFocus = null;
29447
- }
29448
-
29449
- if (queuedDrag !== null && attemptReplayContinuousQueuedEvent(queuedDrag)) {
29450
- queuedDrag = null;
29451
- }
29452
-
29453
- if (queuedMouse !== null && attemptReplayContinuousQueuedEvent(queuedMouse)) {
29454
- queuedMouse = null;
29455
- }
29456
-
29457
- queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
29458
- queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
29459
- }
29460
-
29461
- function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
29462
- if (queuedEvent.blockedOn === unblocked) {
29463
- queuedEvent.blockedOn = null;
29464
-
29465
- if (!hasScheduledReplayAttempt) {
29466
- hasScheduledReplayAttempt = true; // Schedule a callback to attempt replaying as many events as are
29467
- // now unblocked. This first might not actually be unblocked yet.
29468
- // We could check it early to avoid scheduling an unnecessary callback.
29469
-
29470
- Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents);
29471
- }
29472
- }
29473
- }
29474
-
29475
- function retryIfBlockedOn(unblocked) {
29476
- // Mark anything that was blocked on this as no longer blocked
29477
- // and eligible for a replay.
29478
- if (queuedDiscreteEvents.length > 0) {
29479
- scheduleCallbackIfUnblocked(queuedDiscreteEvents[0], unblocked); // This is a exponential search for each boundary that commits. I think it's
29480
- // worth it because we expect very few discrete events to queue up and once
29481
- // we are actually fully unblocked it will be fast to replay them.
29482
-
29483
- for (var i = 1; i < queuedDiscreteEvents.length; i++) {
29484
- var queuedEvent = queuedDiscreteEvents[i];
29485
-
29486
- if (queuedEvent.blockedOn === unblocked) {
29487
- queuedEvent.blockedOn = null;
29488
- }
29489
- }
29490
- }
29491
-
29492
- if (queuedFocus !== null) {
29493
- scheduleCallbackIfUnblocked(queuedFocus, unblocked);
29494
- }
29495
-
29496
- if (queuedDrag !== null) {
29497
- scheduleCallbackIfUnblocked(queuedDrag, unblocked);
29498
- }
29499
-
29500
- if (queuedMouse !== null) {
29501
- scheduleCallbackIfUnblocked(queuedMouse, unblocked);
29502
- }
29503
-
29504
- var unblock = function (queuedEvent) {
29505
- return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
29506
- };
29507
-
29508
- queuedPointers.forEach(unblock);
29509
- queuedPointerCaptures.forEach(unblock);
29510
-
29511
- for (var _i = 0; _i < queuedExplicitHydrationTargets.length; _i++) {
29512
- var queuedTarget = queuedExplicitHydrationTargets[_i];
29513
-
29514
- if (queuedTarget.blockedOn === unblocked) {
29515
- queuedTarget.blockedOn = null;
29516
- }
29517
- }
29518
-
29519
- while (queuedExplicitHydrationTargets.length > 0) {
29520
- var nextExplicitTarget = queuedExplicitHydrationTargets[0];
29521
-
29522
- if (nextExplicitTarget.blockedOn !== null) {
29523
- // We're still blocked.
29524
- break;
29525
- } else {
29526
- attemptExplicitHydrationTarget(nextExplicitTarget);
29527
-
29528
- if (nextExplicitTarget.blockedOn === null) {
29529
- // We're unblocked.
29530
- queuedExplicitHydrationTargets.shift();
29531
- }
29532
- }
29533
- }
29534
- }
29535
-
29536
- function addEventBubbleListener(element, eventType, listener) {
29537
- element.addEventListener(eventType, listener, false);
29538
- }
29539
- function addEventCaptureListener(element, eventType, listener) {
29540
- element.addEventListener(eventType, listener, true);
29541
- }
29542
- function addEventCaptureListenerWithPassiveFlag(element, eventType, listener, passive) {
29543
- element.addEventListener(eventType, listener, {
29544
- capture: true,
29545
- passive: passive
29546
- });
29547
- }
29548
-
29549
- /**
29550
- * Gets the target node from a native browser event by accounting for
29551
- * inconsistencies in browser DOM APIs.
29552
- *
29553
- * @param {object} nativeEvent Native browser event.
29554
- * @return {DOMEventTarget} Target node.
29555
- */
29556
-
29557
- function getEventTarget(nativeEvent) {
29558
- // Fallback to nativeEvent.srcElement for IE9
29559
- // https://github.com/facebook/react/issues/12506
29560
- var target = nativeEvent.target || nativeEvent.srcElement || window; // Normalize SVG <use> element events #4963
29561
-
29562
- if (target.correspondingUseElement) {
29563
- target = target.correspondingUseElement;
29564
- } // Safari may fire events on text nodes (Node.TEXT_NODE is 3).
29565
- // @see http://www.quirksmode.org/js/events_properties.html
29566
-
29567
-
29568
- return target.nodeType === TEXT_NODE ? target.parentNode : target;
29569
- }
29570
-
29571
- function getParent(inst) {
29572
- do {
29573
- inst = inst.return; // TODO: If this is a HostRoot we might want to bail out.
29574
- // That is depending on if we want nested subtrees (layers) to bubble
29575
- // events to their parent. We could also go through parentNode on the
29576
- // host node but that wouldn't work for React Native and doesn't let us
29577
- // do the portal feature.
29578
- } while (inst && inst.tag !== HostComponent);
29579
-
29580
- if (inst) {
29581
- return inst;
29582
- }
29583
-
29584
- return null;
29585
- }
29586
- /**
29587
- * Return the lowest common ancestor of A and B, or null if they are in
29588
- * different trees.
29589
- */
29590
-
29591
-
29592
- function getLowestCommonAncestor(instA, instB) {
29593
- var depthA = 0;
29594
-
29595
- for (var tempA = instA; tempA; tempA = getParent(tempA)) {
29596
- depthA++;
29597
- }
29598
-
29599
- var depthB = 0;
29600
-
29601
- for (var tempB = instB; tempB; tempB = getParent(tempB)) {
29602
- depthB++;
29603
- } // If A is deeper, crawl up.
29604
-
29605
-
29606
- while (depthA - depthB > 0) {
29607
- instA = getParent(instA);
29608
- depthA--;
29609
- } // If B is deeper, crawl up.
29610
-
29611
-
29612
- while (depthB - depthA > 0) {
29613
- instB = getParent(instB);
29614
- depthB--;
29615
- } // Walk in lockstep until we find a match.
29616
-
29617
-
29618
- var depth = depthA;
29619
-
29620
- while (depth--) {
29621
- if (instA === instB || instA === instB.alternate) {
29622
- return instA;
29623
- }
29624
-
29625
- instA = getParent(instA);
29626
- instB = getParent(instB);
29627
- }
29628
-
29629
- return null;
29630
- }
29631
- /**
29632
- * Return if A is an ancestor of B.
29633
- */
29634
-
29635
-
29636
- /**
29637
- * Return the parent instance of the passed-in instance.
29638
- */
29639
-
29640
-
29641
- /**
29642
- * Simulates the traversal of a two-phase, capture/bubble event dispatch.
29643
- */
29644
-
29645
- function traverseTwoPhase(inst, fn, arg) {
29646
- var path = [];
29647
-
29648
- while (inst) {
29649
- path.push(inst);
29650
- inst = getParent(inst);
29651
- }
29652
-
29653
- var i;
29654
-
29655
- for (i = path.length; i-- > 0;) {
29656
- fn(path[i], 'captured', arg);
29657
- }
29658
-
29659
- for (i = 0; i < path.length; i++) {
29660
- fn(path[i], 'bubbled', arg);
29661
- }
29662
- }
29663
- /**
29664
- * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that
29665
- * should would receive a `mouseEnter` or `mouseLeave` event.
29666
- *
29667
- * Does not invoke the callback on the nearest common ancestor because nothing
29668
- * "entered" or "left" that element.
29669
- */
29670
-
29671
- function traverseEnterLeave(from, to, fn, argFrom, argTo) {
29672
- var common = from && to ? getLowestCommonAncestor(from, to) : null;
29673
- var pathFrom = [];
29674
-
29675
- while (true) {
29676
- if (!from) {
29677
- break;
29678
- }
29679
-
29680
- if (from === common) {
29681
- break;
29682
- }
29683
-
29684
- var alternate = from.alternate;
29685
-
29686
- if (alternate !== null && alternate === common) {
29687
- break;
29688
- }
29689
-
29690
- pathFrom.push(from);
29691
- from = getParent(from);
29692
- }
29693
-
29694
- var pathTo = [];
29695
-
29696
- while (true) {
29697
- if (!to) {
29698
- break;
29699
- }
29700
-
29701
- if (to === common) {
29702
- break;
29703
- }
29704
-
29705
- var _alternate = to.alternate;
29706
-
29707
- if (_alternate !== null && _alternate === common) {
29708
- break;
29709
- }
29710
-
29711
- pathTo.push(to);
29712
- to = getParent(to);
29713
- }
29714
-
29715
- for (var i = 0; i < pathFrom.length; i++) {
29716
- fn(pathFrom[i], 'bubbled', argFrom);
29717
- }
29718
-
29719
- for (var _i = pathTo.length; _i-- > 0;) {
29720
- fn(pathTo[_i], 'captured', argTo);
29721
- }
29722
- }
29723
-
29724
- /**
29725
- * Some event types have a notion of different registration names for different
29726
- * "phases" of propagation. This finds listeners by a given phase.
29727
- */
29728
- function listenerAtPhase(inst, event, propagationPhase) {
29729
- var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];
29730
- return getListener(inst, registrationName);
29731
- }
29732
- /**
29733
- * A small set of propagation patterns, each of which will accept a small amount
29734
- * of information, and generate a set of "dispatch ready event objects" - which
29735
- * are sets of events that have already been annotated with a set of dispatched
29736
- * listener functions/ids. The API is designed this way to discourage these
29737
- * propagation strategies from actually executing the dispatches, since we
29738
- * always want to collect the entire set of dispatches before executing even a
29739
- * single one.
29740
- */
29741
-
29742
- /**
29743
- * Tags a `SyntheticEvent` with dispatched listeners. Creating this function
29744
- * here, allows us to not have to bind or create functions for each event.
29745
- * Mutating the event's members allows us to not have to create a wrapping
29746
- * "dispatch" object that pairs the event with the listener.
29747
- */
29748
-
29749
-
29750
- function accumulateDirectionalDispatches(inst, phase, event) {
29751
- {
29752
- !inst ? warningWithoutStack$1(false, 'Dispatching inst must not be null') : void 0;
29753
- }
29754
-
29755
- var listener = listenerAtPhase(inst, event, phase);
29756
-
29757
- if (listener) {
29758
- event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);
29759
- event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);
29760
- }
29761
- }
29762
- /**
29763
- * Collect dispatches (must be entirely collected before dispatching - see unit
29764
- * tests). Lazily allocate the array to conserve memory. We must loop through
29765
- * each event and perform the traversal for each one. We cannot perform a
29766
- * single traversal for the entire collection of events because each event may
29767
- * have a different target.
29768
- */
29769
-
29770
-
29771
- function accumulateTwoPhaseDispatchesSingle(event) {
29772
- if (event && event.dispatchConfig.phasedRegistrationNames) {
29773
- traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);
29774
- }
29775
- }
29776
- /**
29777
- * Accumulates without regard to direction, does not look for phased
29778
- * registration names. Same as `accumulateDirectDispatchesSingle` but without
29779
- * requiring that the `dispatchMarker` be the same as the dispatched ID.
29780
- */
29781
-
29782
-
29783
- function accumulateDispatches(inst, ignoredDirection, event) {
29784
- if (inst && event && event.dispatchConfig.registrationName) {
29785
- var registrationName = event.dispatchConfig.registrationName;
29786
- var listener = getListener(inst, registrationName);
29787
-
29788
- if (listener) {
29789
- event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);
29790
- event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);
29791
- }
29792
- }
29793
- }
29794
- /**
29795
- * Accumulates dispatches on an `SyntheticEvent`, but only for the
29796
- * `dispatchMarker`.
29797
- * @param {SyntheticEvent} event
29798
- */
29799
-
29800
-
29801
- function accumulateDirectDispatchesSingle(event) {
29802
- if (event && event.dispatchConfig.registrationName) {
29803
- accumulateDispatches(event._targetInst, null, event);
29804
- }
29805
- }
29806
-
29807
- function accumulateTwoPhaseDispatches(events) {
29808
- forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);
29809
- }
29810
-
29811
- function accumulateEnterLeaveDispatches(leave, enter, from, to) {
29812
- traverseEnterLeave(from, to, accumulateDispatches, leave, enter);
29813
- }
29814
- function accumulateDirectDispatches(events) {
29815
- forEachAccumulated(events, accumulateDirectDispatchesSingle);
29816
- }
29817
-
29818
- /* eslint valid-typeof: 0 */
29819
- var EVENT_POOL_SIZE = 10;
29820
- /**
29821
- * @interface Event
29822
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
29823
- */
29824
-
29825
- var EventInterface = {
29826
- type: null,
29827
- target: null,
29828
- // currentTarget is set when dispatching; no use in copying it here
29829
- currentTarget: function () {
29830
- return null;
29831
- },
29832
- eventPhase: null,
29833
- bubbles: null,
29834
- cancelable: null,
29835
- timeStamp: function (event) {
29836
- return event.timeStamp || Date.now();
29837
- },
29838
- defaultPrevented: null,
29839
- isTrusted: null
29840
- };
29841
-
29842
- function functionThatReturnsTrue() {
29843
- return true;
29844
- }
29845
-
29846
- function functionThatReturnsFalse() {
29847
- return false;
29848
- }
29849
- /**
29850
- * Synthetic events are dispatched by event plugins, typically in response to a
29851
- * top-level event delegation handler.
29852
- *
29853
- * These systems should generally use pooling to reduce the frequency of garbage
29854
- * collection. The system should check `isPersistent` to determine whether the
29855
- * event should be released into the pool after being dispatched. Users that
29856
- * need a persisted event should invoke `persist`.
29857
- *
29858
- * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
29859
- * normalizing browser quirks. Subclasses do not necessarily have to implement a
29860
- * DOM interface; custom application-specific events can also subclass this.
29861
- *
29862
- * @param {object} dispatchConfig Configuration used to dispatch this event.
29863
- * @param {*} targetInst Marker identifying the event target.
29864
- * @param {object} nativeEvent Native browser event.
29865
- * @param {DOMEventTarget} nativeEventTarget Target node.
29866
- */
29867
-
29868
-
29869
- function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) {
29870
- {
29871
- // these have a getter/setter for warnings
29872
- delete this.nativeEvent;
29873
- delete this.preventDefault;
29874
- delete this.stopPropagation;
29875
- delete this.isDefaultPrevented;
29876
- delete this.isPropagationStopped;
29877
- }
29878
-
29879
- this.dispatchConfig = dispatchConfig;
29880
- this._targetInst = targetInst;
29881
- this.nativeEvent = nativeEvent;
29882
- var Interface = this.constructor.Interface;
29883
-
29884
- for (var propName in Interface) {
29885
- if (!Interface.hasOwnProperty(propName)) {
29886
- continue;
29887
- }
29888
-
29889
- {
29890
- delete this[propName]; // this has a getter/setter for warnings
29891
- }
29892
-
29893
- var normalize = Interface[propName];
29894
-
29895
- if (normalize) {
29896
- this[propName] = normalize(nativeEvent);
29897
- } else {
29898
- if (propName === 'target') {
29899
- this.target = nativeEventTarget;
29900
- } else {
29901
- this[propName] = nativeEvent[propName];
29902
- }
29903
- }
29904
- }
29905
-
29906
- var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
29907
-
29908
- if (defaultPrevented) {
29909
- this.isDefaultPrevented = functionThatReturnsTrue;
29910
- } else {
29911
- this.isDefaultPrevented = functionThatReturnsFalse;
29912
- }
29913
-
29914
- this.isPropagationStopped = functionThatReturnsFalse;
29915
- return this;
29916
- }
29917
-
29918
- _assign(SyntheticEvent.prototype, {
29919
- preventDefault: function () {
29920
- this.defaultPrevented = true;
29921
- var event = this.nativeEvent;
29922
-
29923
- if (!event) {
29924
- return;
29925
- }
29926
-
29927
- if (event.preventDefault) {
29928
- event.preventDefault();
29929
- } else if (typeof event.returnValue !== 'unknown') {
29930
- event.returnValue = false;
29931
- }
29932
-
29933
- this.isDefaultPrevented = functionThatReturnsTrue;
29934
- },
29935
- stopPropagation: function () {
29936
- var event = this.nativeEvent;
29937
-
29938
- if (!event) {
29939
- return;
29940
- }
29941
-
29942
- if (event.stopPropagation) {
29943
- event.stopPropagation();
29944
- } else if (typeof event.cancelBubble !== 'unknown') {
29945
- // The ChangeEventPlugin registers a "propertychange" event for
29946
- // IE. This event does not support bubbling or cancelling, and
29947
- // any references to cancelBubble throw "Member not found". A
29948
- // typeof check of "unknown" circumvents this issue (and is also
29949
- // IE specific).
29950
- event.cancelBubble = true;
29951
- }
29952
-
29953
- this.isPropagationStopped = functionThatReturnsTrue;
29954
- },
29955
-
29956
- /**
29957
- * We release all dispatched `SyntheticEvent`s after each event loop, adding
29958
- * them back into the pool. This allows a way to hold onto a reference that
29959
- * won't be added back into the pool.
29960
- */
29961
- persist: function () {
29962
- this.isPersistent = functionThatReturnsTrue;
29963
- },
29964
-
29965
- /**
29966
- * Checks if this event should be released back into the pool.
29967
- *
29968
- * @return {boolean} True if this should not be released, false otherwise.
29969
- */
29970
- isPersistent: functionThatReturnsFalse,
29971
-
29972
- /**
29973
- * `PooledClass` looks for `destructor` on each instance it releases.
29974
- */
29975
- destructor: function () {
29976
- var Interface = this.constructor.Interface;
29977
-
29978
- for (var propName in Interface) {
29979
- {
29980
- Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName]));
29981
- }
29982
- }
29983
-
29984
- this.dispatchConfig = null;
29985
- this._targetInst = null;
29986
- this.nativeEvent = null;
29987
- this.isDefaultPrevented = functionThatReturnsFalse;
29988
- this.isPropagationStopped = functionThatReturnsFalse;
29989
- this._dispatchListeners = null;
29990
- this._dispatchInstances = null;
29991
-
29992
- {
29993
- Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));
29994
- Object.defineProperty(this, 'isDefaultPrevented', getPooledWarningPropertyDefinition('isDefaultPrevented', functionThatReturnsFalse));
29995
- Object.defineProperty(this, 'isPropagationStopped', getPooledWarningPropertyDefinition('isPropagationStopped', functionThatReturnsFalse));
29996
- Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', function () {}));
29997
- Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', function () {}));
29998
- }
29999
- }
30000
- });
30001
-
30002
- SyntheticEvent.Interface = EventInterface;
30003
- /**
30004
- * Helper to reduce boilerplate when creating subclasses.
30005
- */
30006
-
30007
- SyntheticEvent.extend = function (Interface) {
30008
- var Super = this;
30009
-
30010
- var E = function () {};
30011
-
30012
- E.prototype = Super.prototype;
30013
- var prototype = new E();
30014
-
30015
- function Class() {
30016
- return Super.apply(this, arguments);
30017
- }
30018
-
30019
- _assign(prototype, Class.prototype);
30020
-
30021
- Class.prototype = prototype;
30022
- Class.prototype.constructor = Class;
30023
- Class.Interface = _assign({}, Super.Interface, Interface);
30024
- Class.extend = Super.extend;
30025
- addEventPoolingTo(Class);
30026
- return Class;
30027
- };
30028
-
30029
- addEventPoolingTo(SyntheticEvent);
30030
- /**
30031
- * Helper to nullify syntheticEvent instance properties when destructing
30032
- *
30033
- * @param {String} propName
30034
- * @param {?object} getVal
30035
- * @return {object} defineProperty object
30036
- */
30037
-
30038
- function getPooledWarningPropertyDefinition(propName, getVal) {
30039
- var isFunction = typeof getVal === 'function';
30040
- return {
30041
- configurable: true,
30042
- set: set,
30043
- get: get
30044
- };
30045
-
30046
- function set(val) {
30047
- var action = isFunction ? 'setting the method' : 'setting the property';
30048
- warn(action, 'This is effectively a no-op');
30049
- return val;
30050
- }
30051
-
30052
- function get() {
30053
- var action = isFunction ? 'accessing the method' : 'accessing the property';
30054
- var result = isFunction ? 'This is a no-op function' : 'This is set to null';
30055
- warn(action, result);
30056
- return getVal;
30057
- }
30058
-
30059
- function warn(action, result) {
30060
- var warningCondition = false;
30061
- !warningCondition ? warningWithoutStack$1(false, "This synthetic event is reused for performance reasons. If you're seeing this, " + "you're %s `%s` on a released/nullified synthetic event. %s. " + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;
30062
- }
30063
- }
30064
-
30065
- function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {
30066
- var EventConstructor = this;
30067
-
30068
- if (EventConstructor.eventPool.length) {
30069
- var instance = EventConstructor.eventPool.pop();
30070
- EventConstructor.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);
30071
- return instance;
30072
- }
30073
-
30074
- return new EventConstructor(dispatchConfig, targetInst, nativeEvent, nativeInst);
30075
- }
30076
-
30077
- function releasePooledEvent(event) {
30078
- var EventConstructor = this;
30079
-
30080
- if (!(event instanceof EventConstructor)) {
30081
- {
30082
- throw Error("Trying to release an event instance into a pool of a different type.");
30083
- }
30084
- }
30085
-
30086
- event.destructor();
30087
-
30088
- if (EventConstructor.eventPool.length < EVENT_POOL_SIZE) {
30089
- EventConstructor.eventPool.push(event);
30090
- }
30091
- }
30092
-
30093
- function addEventPoolingTo(EventConstructor) {
30094
- EventConstructor.eventPool = [];
30095
- EventConstructor.getPooled = getPooledEvent;
30096
- EventConstructor.release = releasePooledEvent;
30097
- }
30098
-
30099
- /**
30100
- * @interface Event
30101
- * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface
30102
- * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent
30103
- */
30104
-
30105
- var SyntheticAnimationEvent = SyntheticEvent.extend({
30106
- animationName: null,
30107
- elapsedTime: null,
30108
- pseudoElement: null
30109
- });
30110
-
30111
- /**
30112
- * @interface Event
30113
- * @see http://www.w3.org/TR/clipboard-apis/
30114
- */
30115
-
30116
- var SyntheticClipboardEvent = SyntheticEvent.extend({
30117
- clipboardData: function (event) {
30118
- return 'clipboardData' in event ? event.clipboardData : window.clipboardData;
30119
- }
30120
- });
30121
-
30122
- var SyntheticUIEvent = SyntheticEvent.extend({
30123
- view: null,
30124
- detail: null
30125
- });
30126
-
30127
- /**
30128
- * @interface FocusEvent
30129
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
30130
- */
30131
-
30132
- var SyntheticFocusEvent = SyntheticUIEvent.extend({
30133
- relatedTarget: null
30134
- });
30135
-
30136
- /**
30137
- * `charCode` represents the actual "character code" and is safe to use with
30138
- * `String.fromCharCode`. As such, only keys that correspond to printable
30139
- * characters produce a valid `charCode`, the only exception to this is Enter.
30140
- * The Tab-key is considered non-printable and does not have a `charCode`,
30141
- * presumably because it does not produce a tab-character in browsers.
30142
- *
30143
- * @param {object} nativeEvent Native browser event.
30144
- * @return {number} Normalized `charCode` property.
30145
- */
30146
- function getEventCharCode(nativeEvent) {
30147
- var charCode;
30148
- var keyCode = nativeEvent.keyCode;
30149
-
30150
- if ('charCode' in nativeEvent) {
30151
- charCode = nativeEvent.charCode; // FF does not set `charCode` for the Enter-key, check against `keyCode`.
30152
-
30153
- if (charCode === 0 && keyCode === 13) {
30154
- charCode = 13;
30155
- }
30156
- } else {
30157
- // IE8 does not implement `charCode`, but `keyCode` has the correct value.
30158
- charCode = keyCode;
30159
- } // IE and Edge (on Windows) and Chrome / Safari (on Windows and Linux)
30160
- // report Enter as charCode 10 when ctrl is pressed.
30161
-
30162
-
30163
- if (charCode === 10) {
30164
- charCode = 13;
30165
- } // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
30166
- // Must not discard the (non-)printable Enter-key.
30167
-
30168
-
30169
- if (charCode >= 32 || charCode === 13) {
30170
- return charCode;
30171
- }
30172
-
30173
- return 0;
30174
- }
30175
-
30176
- /**
30177
- * Normalization of deprecated HTML5 `key` values
30178
- * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
30179
- */
30180
-
30181
- var normalizeKey = {
30182
- Esc: 'Escape',
30183
- Spacebar: ' ',
30184
- Left: 'ArrowLeft',
30185
- Up: 'ArrowUp',
30186
- Right: 'ArrowRight',
30187
- Down: 'ArrowDown',
30188
- Del: 'Delete',
30189
- Win: 'OS',
30190
- Menu: 'ContextMenu',
30191
- Apps: 'ContextMenu',
30192
- Scroll: 'ScrollLock',
30193
- MozPrintableKey: 'Unidentified'
30194
- };
30195
- /**
30196
- * Translation from legacy `keyCode` to HTML5 `key`
30197
- * Only special keys supported, all others depend on keyboard layout or browser
30198
- * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
30199
- */
30200
-
30201
- var translateToKey = {
30202
- '8': 'Backspace',
30203
- '9': 'Tab',
30204
- '12': 'Clear',
30205
- '13': 'Enter',
30206
- '16': 'Shift',
30207
- '17': 'Control',
30208
- '18': 'Alt',
30209
- '19': 'Pause',
30210
- '20': 'CapsLock',
30211
- '27': 'Escape',
30212
- '32': ' ',
30213
- '33': 'PageUp',
30214
- '34': 'PageDown',
30215
- '35': 'End',
30216
- '36': 'Home',
30217
- '37': 'ArrowLeft',
30218
- '38': 'ArrowUp',
30219
- '39': 'ArrowRight',
30220
- '40': 'ArrowDown',
30221
- '45': 'Insert',
30222
- '46': 'Delete',
30223
- '112': 'F1',
30224
- '113': 'F2',
30225
- '114': 'F3',
30226
- '115': 'F4',
30227
- '116': 'F5',
30228
- '117': 'F6',
30229
- '118': 'F7',
30230
- '119': 'F8',
30231
- '120': 'F9',
30232
- '121': 'F10',
30233
- '122': 'F11',
30234
- '123': 'F12',
30235
- '144': 'NumLock',
30236
- '145': 'ScrollLock',
30237
- '224': 'Meta'
30238
- };
30239
- /**
30240
- * @param {object} nativeEvent Native browser event.
30241
- * @return {string} Normalized `key` property.
30242
- */
30243
-
30244
- function getEventKey(nativeEvent) {
30245
- if (nativeEvent.key) {
30246
- // Normalize inconsistent values reported by browsers due to
30247
- // implementations of a working draft specification.
30248
- // FireFox implements `key` but returns `MozPrintableKey` for all
30249
- // printable characters (normalized to `Unidentified`), ignore it.
30250
- var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
30251
-
30252
- if (key !== 'Unidentified') {
30253
- return key;
30254
- }
30255
- } // Browser does not implement `key`, polyfill as much of it as we can.
30256
-
30257
-
30258
- if (nativeEvent.type === 'keypress') {
30259
- var charCode = getEventCharCode(nativeEvent); // The enter-key is technically both printable and non-printable and can
30260
- // thus be captured by `keypress`, no other non-printable key should.
30261
-
30262
- return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);
30263
- }
30264
-
30265
- if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {
30266
- // While user keyboard layout determines the actual meaning of each
30267
- // `keyCode` value, almost all function keys have a universal value.
30268
- return translateToKey[nativeEvent.keyCode] || 'Unidentified';
30269
- }
30270
-
30271
- return '';
30272
- }
30273
-
30274
- /**
30275
- * Translation from modifier key to the associated property in the event.
30276
- * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
30277
- */
30278
- var modifierKeyToProp = {
30279
- Alt: 'altKey',
30280
- Control: 'ctrlKey',
30281
- Meta: 'metaKey',
30282
- Shift: 'shiftKey'
30283
- }; // Older browsers (Safari <= 10, iOS Safari <= 10.2) do not support
30284
- // getModifierState. If getModifierState is not supported, we map it to a set of
30285
- // modifier keys exposed by the event. In this case, Lock-keys are not supported.
30286
-
30287
- function modifierStateGetter(keyArg) {
30288
- var syntheticEvent = this;
30289
- var nativeEvent = syntheticEvent.nativeEvent;
30290
-
30291
- if (nativeEvent.getModifierState) {
30292
- return nativeEvent.getModifierState(keyArg);
30293
- }
30294
-
30295
- var keyProp = modifierKeyToProp[keyArg];
30296
- return keyProp ? !!nativeEvent[keyProp] : false;
30297
- }
30298
-
30299
- function getEventModifierState(nativeEvent) {
30300
- return modifierStateGetter;
30301
- }
30302
-
30303
- /**
30304
- * @interface KeyboardEvent
30305
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
30306
- */
30307
-
30308
- var SyntheticKeyboardEvent = SyntheticUIEvent.extend({
30309
- key: getEventKey,
30310
- location: null,
30311
- ctrlKey: null,
30312
- shiftKey: null,
30313
- altKey: null,
30314
- metaKey: null,
30315
- repeat: null,
30316
- locale: null,
30317
- getModifierState: getEventModifierState,
30318
- // Legacy Interface
30319
- charCode: function (event) {
30320
- // `charCode` is the result of a KeyPress event and represents the value of
30321
- // the actual printable character.
30322
- // KeyPress is deprecated, but its replacement is not yet final and not
30323
- // implemented in any major browser. Only KeyPress has charCode.
30324
- if (event.type === 'keypress') {
30325
- return getEventCharCode(event);
30326
- }
30327
-
30328
- return 0;
30329
- },
30330
- keyCode: function (event) {
30331
- // `keyCode` is the result of a KeyDown/Up event and represents the value of
30332
- // physical keyboard key.
30333
- // The actual meaning of the value depends on the users' keyboard layout
30334
- // which cannot be detected. Assuming that it is a US keyboard layout
30335
- // provides a surprisingly accurate mapping for US and European users.
30336
- // Due to this, it is left to the user to implement at this time.
30337
- if (event.type === 'keydown' || event.type === 'keyup') {
30338
- return event.keyCode;
30339
- }
30340
-
30341
- return 0;
30342
- },
30343
- which: function (event) {
30344
- // `which` is an alias for either `keyCode` or `charCode` depending on the
30345
- // type of the event.
30346
- if (event.type === 'keypress') {
30347
- return getEventCharCode(event);
30348
- }
30349
-
30350
- if (event.type === 'keydown' || event.type === 'keyup') {
30351
- return event.keyCode;
30352
- }
30353
-
30354
- return 0;
30355
- }
30356
- });
30357
-
30358
- var previousScreenX = 0;
30359
- var previousScreenY = 0; // Use flags to signal movementX/Y has already been set
30360
-
30361
- var isMovementXSet = false;
30362
- var isMovementYSet = false;
30363
- /**
30364
- * @interface MouseEvent
30365
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
30366
- */
30367
-
30368
- var SyntheticMouseEvent = SyntheticUIEvent.extend({
30369
- screenX: null,
30370
- screenY: null,
30371
- clientX: null,
30372
- clientY: null,
30373
- pageX: null,
30374
- pageY: null,
30375
- ctrlKey: null,
30376
- shiftKey: null,
30377
- altKey: null,
30378
- metaKey: null,
30379
- getModifierState: getEventModifierState,
30380
- button: null,
30381
- buttons: null,
30382
- relatedTarget: function (event) {
30383
- return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);
30384
- },
30385
- movementX: function (event) {
30386
- if ('movementX' in event) {
30387
- return event.movementX;
30388
- }
30389
-
30390
- var screenX = previousScreenX;
30391
- previousScreenX = event.screenX;
30392
-
30393
- if (!isMovementXSet) {
30394
- isMovementXSet = true;
30395
- return 0;
30396
- }
30397
-
30398
- return event.type === 'mousemove' ? event.screenX - screenX : 0;
30399
- },
30400
- movementY: function (event) {
30401
- if ('movementY' in event) {
30402
- return event.movementY;
30403
- }
30404
-
30405
- var screenY = previousScreenY;
30406
- previousScreenY = event.screenY;
30407
-
30408
- if (!isMovementYSet) {
30409
- isMovementYSet = true;
30410
- return 0;
30411
- }
30412
-
30413
- return event.type === 'mousemove' ? event.screenY - screenY : 0;
30414
- }
30415
- });
30416
-
30417
- /**
30418
- * @interface PointerEvent
30419
- * @see http://www.w3.org/TR/pointerevents/
30420
- */
30421
-
30422
- var SyntheticPointerEvent = SyntheticMouseEvent.extend({
30423
- pointerId: null,
30424
- width: null,
30425
- height: null,
30426
- pressure: null,
30427
- tangentialPressure: null,
30428
- tiltX: null,
30429
- tiltY: null,
30430
- twist: null,
30431
- pointerType: null,
30432
- isPrimary: null
30433
- });
30434
-
30435
- /**
30436
- * @interface DragEvent
30437
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
30438
- */
30439
-
30440
- var SyntheticDragEvent = SyntheticMouseEvent.extend({
30441
- dataTransfer: null
30442
- });
30443
-
30444
- /**
30445
- * @interface TouchEvent
30446
- * @see http://www.w3.org/TR/touch-events/
30447
- */
30448
-
30449
- var SyntheticTouchEvent = SyntheticUIEvent.extend({
30450
- touches: null,
30451
- targetTouches: null,
30452
- changedTouches: null,
30453
- altKey: null,
30454
- metaKey: null,
30455
- ctrlKey: null,
30456
- shiftKey: null,
30457
- getModifierState: getEventModifierState
30458
- });
30459
-
30460
- /**
30461
- * @interface Event
30462
- * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
30463
- * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent
30464
- */
30465
-
30466
- var SyntheticTransitionEvent = SyntheticEvent.extend({
30467
- propertyName: null,
30468
- elapsedTime: null,
30469
- pseudoElement: null
30470
- });
30471
-
30472
- /**
30473
- * @interface WheelEvent
30474
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
30475
- */
30476
-
30477
- var SyntheticWheelEvent = SyntheticMouseEvent.extend({
30478
- deltaX: function (event) {
30479
- return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
30480
- 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;
30481
- },
30482
- deltaY: function (event) {
30483
- return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
30484
- 'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
30485
- 'wheelDelta' in event ? -event.wheelDelta : 0;
30486
- },
30487
- deltaZ: null,
30488
- // Browsers without "deltaMode" is reporting in raw wheel delta where one
30489
- // notch on the scroll is always +/- 120, roughly equivalent to pixels.
30490
- // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
30491
- // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
30492
- deltaMode: null
30493
- });
30494
-
30495
- /**
30496
- * Turns
30497
- * ['abort', ...]
30498
- * into
30499
- * eventTypes = {
30500
- * 'abort': {
30501
- * phasedRegistrationNames: {
30502
- * bubbled: 'onAbort',
30503
- * captured: 'onAbortCapture',
30504
- * },
30505
- * dependencies: [TOP_ABORT],
30506
- * },
30507
- * ...
30508
- * };
30509
- * topLevelEventsToDispatchConfig = new Map([
30510
- * [TOP_ABORT, { sameConfig }],
30511
- * ]);
30512
- */
30513
-
30514
- var eventTuples = [// Discrete events
30515
- [TOP_BLUR, 'blur', DiscreteEvent], [TOP_CANCEL, 'cancel', DiscreteEvent], [TOP_CLICK, 'click', DiscreteEvent], [TOP_CLOSE, 'close', DiscreteEvent], [TOP_CONTEXT_MENU, 'contextMenu', DiscreteEvent], [TOP_COPY, 'copy', DiscreteEvent], [TOP_CUT, 'cut', DiscreteEvent], [TOP_AUX_CLICK, 'auxClick', DiscreteEvent], [TOP_DOUBLE_CLICK, 'doubleClick', DiscreteEvent], [TOP_DRAG_END, 'dragEnd', DiscreteEvent], [TOP_DRAG_START, 'dragStart', DiscreteEvent], [TOP_DROP, 'drop', DiscreteEvent], [TOP_FOCUS, 'focus', DiscreteEvent], [TOP_INPUT, 'input', DiscreteEvent], [TOP_INVALID, 'invalid', DiscreteEvent], [TOP_KEY_DOWN, 'keyDown', DiscreteEvent], [TOP_KEY_PRESS, 'keyPress', DiscreteEvent], [TOP_KEY_UP, 'keyUp', DiscreteEvent], [TOP_MOUSE_DOWN, 'mouseDown', DiscreteEvent], [TOP_MOUSE_UP, 'mouseUp', DiscreteEvent], [TOP_PASTE, 'paste', DiscreteEvent], [TOP_PAUSE, 'pause', DiscreteEvent], [TOP_PLAY, 'play', DiscreteEvent], [TOP_POINTER_CANCEL, 'pointerCancel', DiscreteEvent], [TOP_POINTER_DOWN, 'pointerDown', DiscreteEvent], [TOP_POINTER_UP, 'pointerUp', DiscreteEvent], [TOP_RATE_CHANGE, 'rateChange', DiscreteEvent], [TOP_RESET, 'reset', DiscreteEvent], [TOP_SEEKED, 'seeked', DiscreteEvent], [TOP_SUBMIT, 'submit', DiscreteEvent], [TOP_TOUCH_CANCEL, 'touchCancel', DiscreteEvent], [TOP_TOUCH_END, 'touchEnd', DiscreteEvent], [TOP_TOUCH_START, 'touchStart', DiscreteEvent], [TOP_VOLUME_CHANGE, 'volumeChange', DiscreteEvent], // User-blocking events
30516
- [TOP_DRAG, 'drag', UserBlockingEvent], [TOP_DRAG_ENTER, 'dragEnter', UserBlockingEvent], [TOP_DRAG_EXIT, 'dragExit', UserBlockingEvent], [TOP_DRAG_LEAVE, 'dragLeave', UserBlockingEvent], [TOP_DRAG_OVER, 'dragOver', UserBlockingEvent], [TOP_MOUSE_MOVE, 'mouseMove', UserBlockingEvent], [TOP_MOUSE_OUT, 'mouseOut', UserBlockingEvent], [TOP_MOUSE_OVER, 'mouseOver', UserBlockingEvent], [TOP_POINTER_MOVE, 'pointerMove', UserBlockingEvent], [TOP_POINTER_OUT, 'pointerOut', UserBlockingEvent], [TOP_POINTER_OVER, 'pointerOver', UserBlockingEvent], [TOP_SCROLL, 'scroll', UserBlockingEvent], [TOP_TOGGLE, 'toggle', UserBlockingEvent], [TOP_TOUCH_MOVE, 'touchMove', UserBlockingEvent], [TOP_WHEEL, 'wheel', UserBlockingEvent], // Continuous events
30517
- [TOP_ABORT, 'abort', ContinuousEvent], [TOP_ANIMATION_END, 'animationEnd', ContinuousEvent], [TOP_ANIMATION_ITERATION, 'animationIteration', ContinuousEvent], [TOP_ANIMATION_START, 'animationStart', ContinuousEvent], [TOP_CAN_PLAY, 'canPlay', ContinuousEvent], [TOP_CAN_PLAY_THROUGH, 'canPlayThrough', ContinuousEvent], [TOP_DURATION_CHANGE, 'durationChange', ContinuousEvent], [TOP_EMPTIED, 'emptied', ContinuousEvent], [TOP_ENCRYPTED, 'encrypted', ContinuousEvent], [TOP_ENDED, 'ended', ContinuousEvent], [TOP_ERROR, 'error', ContinuousEvent], [TOP_GOT_POINTER_CAPTURE, 'gotPointerCapture', ContinuousEvent], [TOP_LOAD, 'load', ContinuousEvent], [TOP_LOADED_DATA, 'loadedData', ContinuousEvent], [TOP_LOADED_METADATA, 'loadedMetadata', ContinuousEvent], [TOP_LOAD_START, 'loadStart', ContinuousEvent], [TOP_LOST_POINTER_CAPTURE, 'lostPointerCapture', ContinuousEvent], [TOP_PLAYING, 'playing', ContinuousEvent], [TOP_PROGRESS, 'progress', ContinuousEvent], [TOP_SEEKING, 'seeking', ContinuousEvent], [TOP_STALLED, 'stalled', ContinuousEvent], [TOP_SUSPEND, 'suspend', ContinuousEvent], [TOP_TIME_UPDATE, 'timeUpdate', ContinuousEvent], [TOP_TRANSITION_END, 'transitionEnd', ContinuousEvent], [TOP_WAITING, 'waiting', ContinuousEvent]];
30518
- var eventTypes = {};
30519
- var topLevelEventsToDispatchConfig = {};
30520
-
30521
- for (var i = 0; i < eventTuples.length; i++) {
30522
- var eventTuple = eventTuples[i];
30523
- var topEvent = eventTuple[0];
30524
- var event = eventTuple[1];
30525
- var eventPriority = eventTuple[2];
30526
- var capitalizedEvent = event[0].toUpperCase() + event.slice(1);
30527
- var onEvent = 'on' + capitalizedEvent;
30528
- var config = {
30529
- phasedRegistrationNames: {
30530
- bubbled: onEvent,
30531
- captured: onEvent + 'Capture'
30532
- },
30533
- dependencies: [topEvent],
30534
- eventPriority: eventPriority
30535
- };
30536
- eventTypes[event] = config;
30537
- topLevelEventsToDispatchConfig[topEvent] = config;
30538
- } // Only used in DEV for exhaustiveness validation.
30539
-
30540
-
30541
- var knownHTMLTopLevelTypes = [TOP_ABORT, TOP_CANCEL, TOP_CAN_PLAY, TOP_CAN_PLAY_THROUGH, TOP_CLOSE, TOP_DURATION_CHANGE, TOP_EMPTIED, TOP_ENCRYPTED, TOP_ENDED, TOP_ERROR, TOP_INPUT, TOP_INVALID, TOP_LOAD, TOP_LOADED_DATA, TOP_LOADED_METADATA, TOP_LOAD_START, TOP_PAUSE, TOP_PLAY, TOP_PLAYING, TOP_PROGRESS, TOP_RATE_CHANGE, TOP_RESET, TOP_SEEKED, TOP_SEEKING, TOP_STALLED, TOP_SUBMIT, TOP_SUSPEND, TOP_TIME_UPDATE, TOP_TOGGLE, TOP_VOLUME_CHANGE, TOP_WAITING];
30542
- var SimpleEventPlugin = {
30543
- eventTypes: eventTypes,
30544
- getEventPriority: function (topLevelType) {
30545
- var config = topLevelEventsToDispatchConfig[topLevelType];
30546
- return config !== undefined ? config.eventPriority : ContinuousEvent;
30547
- },
30548
- extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
30549
- var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];
30550
-
30551
- if (!dispatchConfig) {
30552
- return null;
30553
- }
30554
-
30555
- var EventConstructor;
30556
-
30557
- switch (topLevelType) {
30558
- case TOP_KEY_PRESS:
30559
- // Firefox creates a keypress event for function keys too. This removes
30560
- // the unwanted keypress events. Enter is however both printable and
30561
- // non-printable. One would expect Tab to be as well (but it isn't).
30562
- if (getEventCharCode(nativeEvent) === 0) {
30563
- return null;
30564
- }
30565
-
30566
- /* falls through */
30567
-
30568
- case TOP_KEY_DOWN:
30569
- case TOP_KEY_UP:
30570
- EventConstructor = SyntheticKeyboardEvent;
30571
- break;
30572
-
30573
- case TOP_BLUR:
30574
- case TOP_FOCUS:
30575
- EventConstructor = SyntheticFocusEvent;
30576
- break;
30577
-
30578
- case TOP_CLICK:
30579
- // Firefox creates a click event on right mouse clicks. This removes the
30580
- // unwanted click events.
30581
- if (nativeEvent.button === 2) {
30582
- return null;
30583
- }
30584
-
30585
- /* falls through */
30586
-
30587
- case TOP_AUX_CLICK:
30588
- case TOP_DOUBLE_CLICK:
30589
- case TOP_MOUSE_DOWN:
30590
- case TOP_MOUSE_MOVE:
30591
- case TOP_MOUSE_UP: // TODO: Disabled elements should not respond to mouse events
30592
-
30593
- /* falls through */
30594
-
30595
- case TOP_MOUSE_OUT:
30596
- case TOP_MOUSE_OVER:
30597
- case TOP_CONTEXT_MENU:
30598
- EventConstructor = SyntheticMouseEvent;
30599
- break;
30600
-
30601
- case TOP_DRAG:
30602
- case TOP_DRAG_END:
30603
- case TOP_DRAG_ENTER:
30604
- case TOP_DRAG_EXIT:
30605
- case TOP_DRAG_LEAVE:
30606
- case TOP_DRAG_OVER:
30607
- case TOP_DRAG_START:
30608
- case TOP_DROP:
30609
- EventConstructor = SyntheticDragEvent;
30610
- break;
30611
-
30612
- case TOP_TOUCH_CANCEL:
30613
- case TOP_TOUCH_END:
30614
- case TOP_TOUCH_MOVE:
30615
- case TOP_TOUCH_START:
30616
- EventConstructor = SyntheticTouchEvent;
30617
- break;
30618
-
30619
- case TOP_ANIMATION_END:
30620
- case TOP_ANIMATION_ITERATION:
30621
- case TOP_ANIMATION_START:
30622
- EventConstructor = SyntheticAnimationEvent;
30623
- break;
30624
-
30625
- case TOP_TRANSITION_END:
30626
- EventConstructor = SyntheticTransitionEvent;
30627
- break;
30628
-
30629
- case TOP_SCROLL:
30630
- EventConstructor = SyntheticUIEvent;
30631
- break;
30632
-
30633
- case TOP_WHEEL:
30634
- EventConstructor = SyntheticWheelEvent;
30635
- break;
30636
-
30637
- case TOP_COPY:
30638
- case TOP_CUT:
30639
- case TOP_PASTE:
30640
- EventConstructor = SyntheticClipboardEvent;
30641
- break;
30642
-
30643
- case TOP_GOT_POINTER_CAPTURE:
30644
- case TOP_LOST_POINTER_CAPTURE:
30645
- case TOP_POINTER_CANCEL:
30646
- case TOP_POINTER_DOWN:
30647
- case TOP_POINTER_MOVE:
30648
- case TOP_POINTER_OUT:
30649
- case TOP_POINTER_OVER:
30650
- case TOP_POINTER_UP:
30651
- EventConstructor = SyntheticPointerEvent;
30652
- break;
30653
-
30654
- default:
30655
- {
30656
- if (knownHTMLTopLevelTypes.indexOf(topLevelType) === -1) {
30657
- warningWithoutStack$1(false, 'SimpleEventPlugin: Unhandled event type, `%s`. This warning ' + 'is likely caused by a bug in React. Please file an issue.', topLevelType);
30658
- }
30659
- } // HTML Events
30660
- // @see http://www.w3.org/TR/html5/index.html#events-0
30661
-
30662
-
30663
- EventConstructor = SyntheticEvent;
30664
- break;
30665
- }
30666
-
30667
- var event = EventConstructor.getPooled(dispatchConfig, targetInst, nativeEvent, nativeEventTarget);
30668
- accumulateTwoPhaseDispatches(event);
30669
- return event;
30670
- }
30671
- };
30672
-
30673
- var passiveBrowserEventsSupported = false; // Check if browser support events with passive listeners
30674
- // https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support
30675
-
30676
- if (enableFlareAPI && canUseDOM) {
30677
- try {
30678
- var options = {}; // $FlowFixMe: Ignore Flow complaining about needing a value
30679
-
30680
- Object.defineProperty(options, 'passive', {
30681
- get: function () {
30682
- passiveBrowserEventsSupported = true;
30683
- }
30684
- });
30685
- window.addEventListener('test', options, options);
30686
- window.removeEventListener('test', options, options);
30687
- } catch (e) {
30688
- passiveBrowserEventsSupported = false;
30689
- }
30690
- }
30691
-
30692
- // Intentionally not named imports because Rollup would use dynamic dispatch for
30693
- // CommonJS interop named imports.
30694
- var UserBlockingPriority$1 = Scheduler.unstable_UserBlockingPriority;
30695
- var runWithPriority$1 = Scheduler.unstable_runWithPriority;
30696
- var getEventPriority = SimpleEventPlugin.getEventPriority;
30697
- var CALLBACK_BOOKKEEPING_POOL_SIZE = 10;
30698
- var callbackBookkeepingPool = [];
30699
-
30700
- /**
30701
- * Find the deepest React component completely containing the root of the
30702
- * passed-in instance (for use when entire React trees are nested within each
30703
- * other). If React trees are not nested, returns null.
30704
- */
30705
- function findRootContainerNode(inst) {
30706
- if (inst.tag === HostRoot) {
30707
- return inst.stateNode.containerInfo;
30708
- } // TODO: It may be a good idea to cache this to prevent unnecessary DOM
30709
- // traversal, but caching is difficult to do correctly without using a
30710
- // mutation observer to listen for all DOM changes.
30711
-
30712
-
30713
- while (inst.return) {
30714
- inst = inst.return;
30715
- }
30716
-
30717
- if (inst.tag !== HostRoot) {
30718
- // This can happen if we're in a detached tree.
30719
- return null;
30720
- }
30721
-
30722
- return inst.stateNode.containerInfo;
30723
- } // Used to store ancestor hierarchy in top level callback
30724
-
30725
-
30726
- function getTopLevelCallbackBookKeeping(topLevelType, nativeEvent, targetInst, eventSystemFlags) {
30727
- if (callbackBookkeepingPool.length) {
30728
- var instance = callbackBookkeepingPool.pop();
30729
- instance.topLevelType = topLevelType;
30730
- instance.eventSystemFlags = eventSystemFlags;
30731
- instance.nativeEvent = nativeEvent;
30732
- instance.targetInst = targetInst;
30733
- return instance;
30734
- }
30735
-
30736
- return {
30737
- topLevelType: topLevelType,
30738
- eventSystemFlags: eventSystemFlags,
30739
- nativeEvent: nativeEvent,
30740
- targetInst: targetInst,
30741
- ancestors: []
30742
- };
30743
- }
30744
-
30745
- function releaseTopLevelCallbackBookKeeping(instance) {
30746
- instance.topLevelType = null;
30747
- instance.nativeEvent = null;
30748
- instance.targetInst = null;
30749
- instance.ancestors.length = 0;
30750
-
30751
- if (callbackBookkeepingPool.length < CALLBACK_BOOKKEEPING_POOL_SIZE) {
30752
- callbackBookkeepingPool.push(instance);
30753
- }
30754
- }
30755
-
30756
- function handleTopLevel(bookKeeping) {
30757
- var targetInst = bookKeeping.targetInst; // Loop through the hierarchy, in case there's any nested components.
30758
- // It's important that we build the array of ancestors before calling any
30759
- // event handlers, because event handlers can modify the DOM, leading to
30760
- // inconsistencies with ReactMount's node cache. See #1105.
30761
-
30762
- var ancestor = targetInst;
30763
-
30764
- do {
30765
- if (!ancestor) {
30766
- var ancestors = bookKeeping.ancestors;
30767
- ancestors.push(ancestor);
30768
- break;
30769
- }
30770
-
30771
- var root = findRootContainerNode(ancestor);
30772
-
30773
- if (!root) {
30774
- break;
30775
- }
30776
-
30777
- var tag = ancestor.tag;
30778
-
30779
- if (tag === HostComponent || tag === HostText) {
30780
- bookKeeping.ancestors.push(ancestor);
30781
- }
30782
-
30783
- ancestor = getClosestInstanceFromNode(root);
30784
- } while (ancestor);
30785
-
30786
- for (var i = 0; i < bookKeeping.ancestors.length; i++) {
30787
- targetInst = bookKeeping.ancestors[i];
30788
- var eventTarget = getEventTarget(bookKeeping.nativeEvent);
30789
- var topLevelType = bookKeeping.topLevelType;
30790
- var nativeEvent = bookKeeping.nativeEvent;
30791
- runExtractedPluginEventsInBatch(topLevelType, targetInst, nativeEvent, eventTarget, bookKeeping.eventSystemFlags);
30792
- }
30793
- } // TODO: can we stop exporting these?
30794
-
30795
-
30796
- var _enabled = true;
30797
- function setEnabled(enabled) {
30798
- _enabled = !!enabled;
30799
- }
30800
- function isEnabled() {
30801
- return _enabled;
30802
- }
30803
- function trapBubbledEvent(topLevelType, element) {
30804
- trapEventForPluginEventSystem(element, topLevelType, false);
30805
- }
30806
- function trapCapturedEvent(topLevelType, element) {
30807
- trapEventForPluginEventSystem(element, topLevelType, true);
30808
- }
30809
- function trapEventForResponderEventSystem(element, topLevelType, passive) {
30810
- if (enableFlareAPI) {
30811
- var rawEventName = getRawEventName(topLevelType);
30812
- var eventFlags = RESPONDER_EVENT_SYSTEM; // If passive option is not supported, then the event will be
30813
- // active and not passive, but we flag it as using not being
30814
- // supported too. This way the responder event plugins know,
30815
- // and can provide polyfills if needed.
30816
-
30817
- if (passive) {
30818
- if (passiveBrowserEventsSupported) {
30819
- eventFlags |= IS_PASSIVE;
30820
- } else {
30821
- eventFlags |= IS_ACTIVE;
30822
- eventFlags |= PASSIVE_NOT_SUPPORTED;
30823
- passive = false;
30824
- }
30825
- } else {
30826
- eventFlags |= IS_ACTIVE;
30827
- } // Check if interactive and wrap in discreteUpdates
30828
-
30829
-
30830
- var listener = dispatchEvent.bind(null, topLevelType, eventFlags);
30831
-
30832
- if (passiveBrowserEventsSupported) {
30833
- addEventCaptureListenerWithPassiveFlag(element, rawEventName, listener, passive);
30834
- } else {
30835
- addEventCaptureListener(element, rawEventName, listener);
30836
- }
30837
- }
30838
- }
30839
-
30840
- function trapEventForPluginEventSystem(element, topLevelType, capture) {
30841
- var listener;
30842
-
30843
- switch (getEventPriority(topLevelType)) {
30844
- case DiscreteEvent:
30845
- listener = dispatchDiscreteEvent.bind(null, topLevelType, PLUGIN_EVENT_SYSTEM);
30846
- break;
30847
-
30848
- case UserBlockingEvent:
30849
- listener = dispatchUserBlockingUpdate.bind(null, topLevelType, PLUGIN_EVENT_SYSTEM);
30850
- break;
30851
-
30852
- case ContinuousEvent:
30853
- default:
30854
- listener = dispatchEvent.bind(null, topLevelType, PLUGIN_EVENT_SYSTEM);
30855
- break;
30856
- }
30857
-
30858
- var rawEventName = getRawEventName(topLevelType);
30859
-
30860
- if (capture) {
30861
- addEventCaptureListener(element, rawEventName, listener);
30862
- } else {
30863
- addEventBubbleListener(element, rawEventName, listener);
30864
- }
30865
- }
30866
-
30867
- function dispatchDiscreteEvent(topLevelType, eventSystemFlags, nativeEvent) {
30868
- flushDiscreteUpdatesIfNeeded(nativeEvent.timeStamp);
30869
- discreteUpdates(dispatchEvent, topLevelType, eventSystemFlags, nativeEvent);
30870
- }
30871
-
30872
- function dispatchUserBlockingUpdate(topLevelType, eventSystemFlags, nativeEvent) {
30873
- runWithPriority$1(UserBlockingPriority$1, dispatchEvent.bind(null, topLevelType, eventSystemFlags, nativeEvent));
30874
- }
30875
-
30876
- function dispatchEventForPluginEventSystem(topLevelType, eventSystemFlags, nativeEvent, targetInst) {
30877
- var bookKeeping = getTopLevelCallbackBookKeeping(topLevelType, nativeEvent, targetInst, eventSystemFlags);
30878
-
30879
- try {
30880
- // Event queue being processed in the same cycle allows
30881
- // `preventDefault`.
30882
- batchedEventUpdates(handleTopLevel, bookKeeping);
30883
- } finally {
30884
- releaseTopLevelCallbackBookKeeping(bookKeeping);
30885
- }
30886
- }
30887
-
30888
- function dispatchEvent(topLevelType, eventSystemFlags, nativeEvent) {
30889
- if (!_enabled) {
30890
- return;
30891
- }
30892
-
30893
- if (hasQueuedDiscreteEvents() && isReplayableDiscreteEvent(topLevelType)) {
30894
- // If we already have a queue of discrete events, and this is another discrete
30895
- // event, then we can't dispatch it regardless of its target, since they
30896
- // need to dispatch in order.
30897
- queueDiscreteEvent(null, // Flags that we're not actually blocked on anything as far as we know.
30898
- topLevelType, eventSystemFlags, nativeEvent);
30899
- return;
30900
- }
30901
-
30902
- var blockedOn = attemptToDispatchEvent(topLevelType, eventSystemFlags, nativeEvent);
30903
-
30904
- if (blockedOn === null) {
30905
- // We successfully dispatched this event.
30906
- clearIfContinuousEvent(topLevelType, nativeEvent);
30907
- return;
30908
- }
30909
-
30910
- if (isReplayableDiscreteEvent(topLevelType)) {
30911
- // This this to be replayed later once the target is available.
30912
- queueDiscreteEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent);
30913
- return;
30914
- }
30915
-
30916
- if (queueIfContinuousEvent(blockedOn, topLevelType, eventSystemFlags, nativeEvent)) {
30917
- return;
30918
- } // We need to clear only if we didn't queue because
30919
- // queueing is accummulative.
30920
-
30921
-
30922
- clearIfContinuousEvent(topLevelType, nativeEvent); // This is not replayable so we'll invoke it but without a target,
30923
- // in case the event system needs to trace it.
30924
-
30925
- if (enableFlareAPI) {
30926
- if (eventSystemFlags & PLUGIN_EVENT_SYSTEM) {
30927
- dispatchEventForPluginEventSystem(topLevelType, eventSystemFlags, nativeEvent, null);
30928
- }
30929
-
30930
- if (eventSystemFlags & RESPONDER_EVENT_SYSTEM) {
30931
- // React Flare event system
30932
- dispatchEventForResponderEventSystem(topLevelType, null, nativeEvent, getEventTarget(nativeEvent), eventSystemFlags);
30933
- }
30934
- } else {
30935
- dispatchEventForPluginEventSystem(topLevelType, eventSystemFlags, nativeEvent, null);
30936
- }
30937
- } // Attempt dispatching an event. Returns a SuspenseInstance or Container if it's blocked.
30938
-
30939
- function attemptToDispatchEvent(topLevelType, eventSystemFlags, nativeEvent) {
30940
- // TODO: Warn if _enabled is false.
30941
- var nativeEventTarget = getEventTarget(nativeEvent);
30942
- var targetInst = getClosestInstanceFromNode(nativeEventTarget);
30943
-
30944
- if (targetInst !== null) {
30945
- var nearestMounted = getNearestMountedFiber(targetInst);
30946
-
30947
- if (nearestMounted === null) {
30948
- // This tree has been unmounted already. Dispatch without a target.
30949
- targetInst = null;
30950
- } else {
30951
- var tag = nearestMounted.tag;
30952
-
30953
- if (tag === SuspenseComponent) {
30954
- var instance = getSuspenseInstanceFromFiber(nearestMounted);
30955
-
30956
- if (instance !== null) {
30957
- // Queue the event to be replayed later. Abort dispatching since we
30958
- // don't want this event dispatched twice through the event system.
30959
- // TODO: If this is the first discrete event in the queue. Schedule an increased
30960
- // priority for this boundary.
30961
- return instance;
30962
- } // This shouldn't happen, something went wrong but to avoid blocking
30963
- // the whole system, dispatch the event without a target.
30964
- // TODO: Warn.
30965
-
30966
-
30967
- targetInst = null;
30968
- } else if (tag === HostRoot) {
30969
- var root = nearestMounted.stateNode;
30970
-
30971
- if (root.hydrate) {
30972
- // If this happens during a replay something went wrong and it might block
30973
- // the whole system.
30974
- return getContainerFromFiber(nearestMounted);
30975
- }
30976
-
30977
- targetInst = null;
30978
- } else if (nearestMounted !== targetInst) {
30979
- // If we get an event (ex: img onload) before committing that
30980
- // component's mount, ignore it for now (that is, treat it as if it was an
30981
- // event on a non-React tree). We might also consider queueing events and
30982
- // dispatching them after the mount.
30983
- targetInst = null;
30984
- }
30985
- }
30986
- }
30987
-
30988
- if (enableFlareAPI) {
30989
- if (eventSystemFlags & PLUGIN_EVENT_SYSTEM) {
30990
- dispatchEventForPluginEventSystem(topLevelType, eventSystemFlags, nativeEvent, targetInst);
30991
- }
30992
-
30993
- if (eventSystemFlags & RESPONDER_EVENT_SYSTEM) {
30994
- // React Flare event system
30995
- dispatchEventForResponderEventSystem(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
30996
- }
30997
- } else {
30998
- dispatchEventForPluginEventSystem(topLevelType, eventSystemFlags, nativeEvent, targetInst);
30999
- } // We're not blocked on anything.
31000
-
31001
-
31002
- return null;
31003
- }
31004
-
31005
- /**
31006
- * Checks if an event is supported in the current execution environment.
31007
- *
31008
- * NOTE: This will not work correctly for non-generic events such as `change`,
31009
- * `reset`, `load`, `error`, and `select`.
31010
- *
31011
- * Borrows from Modernizr.
31012
- *
31013
- * @param {string} eventNameSuffix Event name, e.g. "click".
31014
- * @return {boolean} True if the event is supported.
31015
- * @internal
31016
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
31017
- */
31018
-
31019
- function isEventSupported(eventNameSuffix) {
31020
- if (!canUseDOM) {
31021
- return false;
31022
- }
31023
-
31024
- var eventName = 'on' + eventNameSuffix;
31025
- var isSupported = eventName in document;
31026
-
31027
- if (!isSupported) {
31028
- var element = document.createElement('div');
31029
- element.setAttribute(eventName, 'return;');
31030
- isSupported = typeof element[eventName] === 'function';
31031
- }
31032
-
31033
- return isSupported;
31034
- }
31035
-
31036
- /**
31037
- * Summary of `ReactBrowserEventEmitter` event handling:
31038
- *
31039
- * - Top-level delegation is used to trap most native browser events. This
31040
- * may only occur in the main thread and is the responsibility of
31041
- * ReactDOMEventListener, which is injected and can therefore support
31042
- * pluggable event sources. This is the only work that occurs in the main
31043
- * thread.
31044
- *
31045
- * - We normalize and de-duplicate events to account for browser quirks. This
31046
- * may be done in the worker thread.
31047
- *
31048
- * - Forward these native events (with the associated top-level type used to
31049
- * trap it) to `EventPluginHub`, which in turn will ask plugins if they want
31050
- * to extract any synthetic events.
31051
- *
31052
- * - The `EventPluginHub` will then process each event by annotating them with
31053
- * "dispatches", a sequence of listeners and IDs that care about that event.
31054
- *
31055
- * - The `EventPluginHub` then dispatches the events.
31056
- *
31057
- * Overview of React and the event system:
31058
- *
31059
- * +------------+ .
31060
- * | DOM | .
31061
- * +------------+ .
31062
- * | .
31063
- * v .
31064
- * +------------+ .
31065
- * | ReactEvent | .
31066
- * | Listener | .
31067
- * +------------+ . +-----------+
31068
- * | . +--------+|SimpleEvent|
31069
- * | . | |Plugin |
31070
- * +-----|------+ . v +-----------+
31071
- * | | | . +--------------+ +------------+
31072
- * | +-----------.--->|EventPluginHub| | Event |
31073
- * | | . | | +-----------+ | Propagators|
31074
- * | ReactEvent | . | | |TapEvent | |------------|
31075
- * | Emitter | . | |<---+|Plugin | |other plugin|
31076
- * | | . | | +-----------+ | utilities |
31077
- * | +-----------.--->| | +------------+
31078
- * | | | . +--------------+
31079
- * +-----|------+ . ^ +-----------+
31080
- * | . | |Enter/Leave|
31081
- * + . +-------+|Plugin |
31082
- * +-------------+ . +-----------+
31083
- * | application | .
31084
- * |-------------| .
31085
- * | | .
31086
- * | | .
31087
- * +-------------+ .
31088
- * .
31089
- * React Core . General Purpose Event Plugin System
31090
- */
31091
-
31092
- var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
31093
- var elementListeningSets = new PossiblyWeakMap();
31094
- function getListeningSetForElement(element) {
31095
- var listeningSet = elementListeningSets.get(element);
31096
-
31097
- if (listeningSet === undefined) {
31098
- listeningSet = new Set();
31099
- elementListeningSets.set(element, listeningSet);
31100
- }
31101
-
31102
- return listeningSet;
31103
- }
31104
- /**
31105
- * We listen for bubbled touch events on the document object.
31106
- *
31107
- * Firefox v8.01 (and possibly others) exhibited strange behavior when
31108
- * mounting `onmousemove` events at some node that was not the document
31109
- * element. The symptoms were that if your mouse is not moving over something
31110
- * contained within that mount point (for example on the background) the
31111
- * top-level listeners for `onmousemove` won't be called. However, if you
31112
- * register the `mousemove` on the document object, then it will of course
31113
- * catch all `mousemove`s. This along with iOS quirks, justifies restricting
31114
- * top-level listeners to the document object only, at least for these
31115
- * movement types of events and possibly all events.
31116
- *
31117
- * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
31118
- *
31119
- * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but
31120
- * they bubble to document.
31121
- *
31122
- * @param {string} registrationName Name of listener (e.g. `onClick`).
31123
- * @param {object} mountAt Container where to mount the listener
31124
- */
31125
-
31126
- function listenTo(registrationName, mountAt) {
31127
- var listeningSet = getListeningSetForElement(mountAt);
31128
- var dependencies = registrationNameDependencies[registrationName];
31129
-
31130
- for (var i = 0; i < dependencies.length; i++) {
31131
- var dependency = dependencies[i];
31132
- listenToTopLevel(dependency, mountAt, listeningSet);
31133
- }
31134
- }
31135
- function listenToTopLevel(topLevelType, mountAt, listeningSet) {
31136
- if (!listeningSet.has(topLevelType)) {
31137
- switch (topLevelType) {
31138
- case TOP_SCROLL:
31139
- trapCapturedEvent(TOP_SCROLL, mountAt);
31140
- break;
31141
-
31142
- case TOP_FOCUS:
31143
- case TOP_BLUR:
31144
- trapCapturedEvent(TOP_FOCUS, mountAt);
31145
- trapCapturedEvent(TOP_BLUR, mountAt); // We set the flag for a single dependency later in this function,
31146
- // but this ensures we mark both as attached rather than just one.
31147
-
31148
- listeningSet.add(TOP_BLUR);
31149
- listeningSet.add(TOP_FOCUS);
31150
- break;
31151
-
31152
- case TOP_CANCEL:
31153
- case TOP_CLOSE:
31154
- if (isEventSupported(getRawEventName(topLevelType))) {
31155
- trapCapturedEvent(topLevelType, mountAt);
31156
- }
31157
-
31158
- break;
31159
-
31160
- case TOP_INVALID:
31161
- case TOP_SUBMIT:
31162
- case TOP_RESET:
31163
- // We listen to them on the target DOM elements.
31164
- // Some of them bubble so we don't want them to fire twice.
31165
- break;
31166
-
31167
- default:
31168
- // By default, listen on the top level to all non-media events.
31169
- // Media events don't bubble so adding the listener wouldn't do anything.
31170
- var isMediaEvent = mediaEventTypes.indexOf(topLevelType) !== -1;
31171
-
31172
- if (!isMediaEvent) {
31173
- trapBubbledEvent(topLevelType, mountAt);
31174
- }
31175
-
31176
- break;
31177
- }
31178
-
31179
- listeningSet.add(topLevelType);
31180
- }
31181
- }
31182
- function isListeningToAllDependencies(registrationName, mountAt) {
31183
- var listeningSet = getListeningSetForElement(mountAt);
31184
- var dependencies = registrationNameDependencies[registrationName];
31185
-
31186
- for (var i = 0; i < dependencies.length; i++) {
31187
- var dependency = dependencies[i];
31188
-
31189
- if (!listeningSet.has(dependency)) {
31190
- return false;
31191
- }
31192
- }
31193
-
31194
- return true;
31195
- }
31196
-
31197
- // List derived from Gecko source code:
31198
- // https://github.com/mozilla/gecko-dev/blob/4e638efc71/layout/style/test/property_database.js
31199
- var shorthandToLonghand = {
31200
- animation: ['animationDelay', 'animationDirection', 'animationDuration', 'animationFillMode', 'animationIterationCount', 'animationName', 'animationPlayState', 'animationTimingFunction'],
31201
- background: ['backgroundAttachment', 'backgroundClip', 'backgroundColor', 'backgroundImage', 'backgroundOrigin', 'backgroundPositionX', 'backgroundPositionY', 'backgroundRepeat', 'backgroundSize'],
31202
- backgroundPosition: ['backgroundPositionX', 'backgroundPositionY'],
31203
- border: ['borderBottomColor', 'borderBottomStyle', 'borderBottomWidth', 'borderImageOutset', 'borderImageRepeat', 'borderImageSlice', 'borderImageSource', 'borderImageWidth', 'borderLeftColor', 'borderLeftStyle', 'borderLeftWidth', 'borderRightColor', 'borderRightStyle', 'borderRightWidth', 'borderTopColor', 'borderTopStyle', 'borderTopWidth'],
31204
- borderBlockEnd: ['borderBlockEndColor', 'borderBlockEndStyle', 'borderBlockEndWidth'],
31205
- borderBlockStart: ['borderBlockStartColor', 'borderBlockStartStyle', 'borderBlockStartWidth'],
31206
- borderBottom: ['borderBottomColor', 'borderBottomStyle', 'borderBottomWidth'],
31207
- borderColor: ['borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor'],
31208
- borderImage: ['borderImageOutset', 'borderImageRepeat', 'borderImageSlice', 'borderImageSource', 'borderImageWidth'],
31209
- borderInlineEnd: ['borderInlineEndColor', 'borderInlineEndStyle', 'borderInlineEndWidth'],
31210
- borderInlineStart: ['borderInlineStartColor', 'borderInlineStartStyle', 'borderInlineStartWidth'],
31211
- borderLeft: ['borderLeftColor', 'borderLeftStyle', 'borderLeftWidth'],
31212
- borderRadius: ['borderBottomLeftRadius', 'borderBottomRightRadius', 'borderTopLeftRadius', 'borderTopRightRadius'],
31213
- borderRight: ['borderRightColor', 'borderRightStyle', 'borderRightWidth'],
31214
- borderStyle: ['borderBottomStyle', 'borderLeftStyle', 'borderRightStyle', 'borderTopStyle'],
31215
- borderTop: ['borderTopColor', 'borderTopStyle', 'borderTopWidth'],
31216
- borderWidth: ['borderBottomWidth', 'borderLeftWidth', 'borderRightWidth', 'borderTopWidth'],
31217
- columnRule: ['columnRuleColor', 'columnRuleStyle', 'columnRuleWidth'],
31218
- columns: ['columnCount', 'columnWidth'],
31219
- flex: ['flexBasis', 'flexGrow', 'flexShrink'],
31220
- flexFlow: ['flexDirection', 'flexWrap'],
31221
- font: ['fontFamily', 'fontFeatureSettings', 'fontKerning', 'fontLanguageOverride', 'fontSize', 'fontSizeAdjust', 'fontStretch', 'fontStyle', 'fontVariant', 'fontVariantAlternates', 'fontVariantCaps', 'fontVariantEastAsian', 'fontVariantLigatures', 'fontVariantNumeric', 'fontVariantPosition', 'fontWeight', 'lineHeight'],
31222
- fontVariant: ['fontVariantAlternates', 'fontVariantCaps', 'fontVariantEastAsian', 'fontVariantLigatures', 'fontVariantNumeric', 'fontVariantPosition'],
31223
- gap: ['columnGap', 'rowGap'],
31224
- grid: ['gridAutoColumns', 'gridAutoFlow', 'gridAutoRows', 'gridTemplateAreas', 'gridTemplateColumns', 'gridTemplateRows'],
31225
- gridArea: ['gridColumnEnd', 'gridColumnStart', 'gridRowEnd', 'gridRowStart'],
31226
- gridColumn: ['gridColumnEnd', 'gridColumnStart'],
31227
- gridColumnGap: ['columnGap'],
31228
- gridGap: ['columnGap', 'rowGap'],
31229
- gridRow: ['gridRowEnd', 'gridRowStart'],
31230
- gridRowGap: ['rowGap'],
31231
- gridTemplate: ['gridTemplateAreas', 'gridTemplateColumns', 'gridTemplateRows'],
31232
- listStyle: ['listStyleImage', 'listStylePosition', 'listStyleType'],
31233
- margin: ['marginBottom', 'marginLeft', 'marginRight', 'marginTop'],
31234
- marker: ['markerEnd', 'markerMid', 'markerStart'],
31235
- mask: ['maskClip', 'maskComposite', 'maskImage', 'maskMode', 'maskOrigin', 'maskPositionX', 'maskPositionY', 'maskRepeat', 'maskSize'],
31236
- maskPosition: ['maskPositionX', 'maskPositionY'],
31237
- outline: ['outlineColor', 'outlineStyle', 'outlineWidth'],
31238
- overflow: ['overflowX', 'overflowY'],
31239
- padding: ['paddingBottom', 'paddingLeft', 'paddingRight', 'paddingTop'],
31240
- placeContent: ['alignContent', 'justifyContent'],
31241
- placeItems: ['alignItems', 'justifyItems'],
31242
- placeSelf: ['alignSelf', 'justifySelf'],
31243
- textDecoration: ['textDecorationColor', 'textDecorationLine', 'textDecorationStyle'],
31244
- textEmphasis: ['textEmphasisColor', 'textEmphasisStyle'],
31245
- transition: ['transitionDelay', 'transitionDuration', 'transitionProperty', 'transitionTimingFunction'],
31246
- wordWrap: ['overflowWrap']
31247
- };
31248
-
31249
- /**
31250
- * CSS properties which accept numbers but are not in units of "px".
31251
- */
31252
- var isUnitlessNumber = {
31253
- animationIterationCount: true,
31254
- borderImageOutset: true,
31255
- borderImageSlice: true,
31256
- borderImageWidth: true,
31257
- boxFlex: true,
31258
- boxFlexGroup: true,
31259
- boxOrdinalGroup: true,
31260
- columnCount: true,
31261
- columns: true,
31262
- flex: true,
31263
- flexGrow: true,
31264
- flexPositive: true,
31265
- flexShrink: true,
31266
- flexNegative: true,
31267
- flexOrder: true,
31268
- gridArea: true,
31269
- gridRow: true,
31270
- gridRowEnd: true,
31271
- gridRowSpan: true,
31272
- gridRowStart: true,
31273
- gridColumn: true,
31274
- gridColumnEnd: true,
31275
- gridColumnSpan: true,
31276
- gridColumnStart: true,
31277
- fontWeight: true,
31278
- lineClamp: true,
31279
- lineHeight: true,
31280
- opacity: true,
31281
- order: true,
31282
- orphans: true,
31283
- tabSize: true,
31284
- widows: true,
31285
- zIndex: true,
31286
- zoom: true,
31287
- // SVG-related properties
31288
- fillOpacity: true,
31289
- floodOpacity: true,
31290
- stopOpacity: true,
31291
- strokeDasharray: true,
31292
- strokeDashoffset: true,
31293
- strokeMiterlimit: true,
31294
- strokeOpacity: true,
31295
- strokeWidth: true
31296
- };
31297
- /**
31298
- * @param {string} prefix vendor-specific prefix, eg: Webkit
31299
- * @param {string} key style name, eg: transitionDuration
31300
- * @return {string} style name prefixed with `prefix`, properly camelCased, eg:
31301
- * WebkitTransitionDuration
31302
- */
31303
-
31304
- function prefixKey(prefix, key) {
31305
- return prefix + key.charAt(0).toUpperCase() + key.substring(1);
31306
- }
31307
- /**
31308
- * Support style names that may come passed in prefixed by adding permutations
31309
- * of vendor prefixes.
31310
- */
31311
-
31312
-
31313
- var prefixes = ['Webkit', 'ms', 'Moz', 'O']; // Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
31314
- // infinite loop, because it iterates over the newly added props too.
31315
-
31316
- Object.keys(isUnitlessNumber).forEach(function (prop) {
31317
- prefixes.forEach(function (prefix) {
31318
- isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];
31319
- });
31320
- });
31321
-
31322
- /**
31323
- * Convert a value into the proper css writable value. The style name `name`
31324
- * should be logical (no hyphens), as specified
31325
- * in `CSSProperty.isUnitlessNumber`.
31326
- *
31327
- * @param {string} name CSS property name such as `topMargin`.
31328
- * @param {*} value CSS property value such as `10px`.
31329
- * @return {string} Normalized style value with dimensions applied.
31330
- */
31331
-
31332
- function dangerousStyleValue(name, value, isCustomProperty) {
31333
- // Note that we've removed escapeTextForBrowser() calls here since the
31334
- // whole string will be escaped when the attribute is injected into
31335
- // the markup. If you provide unsafe user data here they can inject
31336
- // arbitrary CSS which may be problematic (I couldn't repro this):
31337
- // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
31338
- // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/
31339
- // This is not an XSS hole but instead a potential CSS injection issue
31340
- // which has lead to a greater discussion about how we're going to
31341
- // trust URLs moving forward. See #2115901
31342
- var isEmpty = value == null || typeof value === 'boolean' || value === '';
31343
-
31344
- if (isEmpty) {
31345
- return '';
31346
- }
31347
-
31348
- if (!isCustomProperty && typeof value === 'number' && value !== 0 && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) {
31349
- return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers
31350
- }
31351
-
31352
- return ('' + value).trim();
31353
- }
31354
-
31355
- var uppercasePattern = /([A-Z])/g;
31356
- var msPattern = /^ms-/;
31357
- /**
31358
- * Hyphenates a camelcased CSS property name, for example:
31359
- *
31360
- * > hyphenateStyleName('backgroundColor')
31361
- * < "background-color"
31362
- * > hyphenateStyleName('MozTransition')
31363
- * < "-moz-transition"
31364
- * > hyphenateStyleName('msTransition')
31365
- * < "-ms-transition"
31366
- *
31367
- * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
31368
- * is converted to `-ms-`.
31369
- */
31370
-
31371
- function hyphenateStyleName(name) {
31372
- return name.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-');
31373
- }
31374
-
31375
- var warnValidStyle = function () {};
31376
-
31377
- {
31378
- // 'msTransform' is correct, but the other prefixes should be capitalized
31379
- var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;
31380
- var msPattern$1 = /^-ms-/;
31381
- var hyphenPattern = /-(.)/g; // style values shouldn't contain a semicolon
31382
-
31383
- var badStyleValueWithSemicolonPattern = /;\s*$/;
31384
- var warnedStyleNames = {};
31385
- var warnedStyleValues = {};
31386
- var warnedForNaNValue = false;
31387
- var warnedForInfinityValue = false;
31388
-
31389
- var camelize = function (string) {
31390
- return string.replace(hyphenPattern, function (_, character) {
31391
- return character.toUpperCase();
31392
- });
31393
- };
31394
-
31395
- var warnHyphenatedStyleName = function (name) {
31396
- if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
31397
- return;
31398
- }
31399
-
31400
- warnedStyleNames[name] = true;
31401
- warning$1(false, 'Unsupported style property %s. Did you mean %s?', name, // As Andi Smith suggests
31402
- // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
31403
- // is converted to lowercase `ms`.
31404
- camelize(name.replace(msPattern$1, 'ms-')));
31405
- };
31406
-
31407
- var warnBadVendoredStyleName = function (name) {
31408
- if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
31409
- return;
31410
- }
31411
-
31412
- warnedStyleNames[name] = true;
31413
- warning$1(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1));
31414
- };
31415
-
31416
- var warnStyleValueWithSemicolon = function (name, value) {
31417
- if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {
31418
- return;
31419
- }
31420
-
31421
- warnedStyleValues[value] = true;
31422
- warning$1(false, "Style property values shouldn't contain a semicolon. " + 'Try "%s: %s" instead.', name, value.replace(badStyleValueWithSemicolonPattern, ''));
31423
- };
31424
-
31425
- var warnStyleValueIsNaN = function (name, value) {
31426
- if (warnedForNaNValue) {
31427
- return;
31428
- }
31429
-
31430
- warnedForNaNValue = true;
31431
- warning$1(false, '`NaN` is an invalid value for the `%s` css style property.', name);
31432
- };
31433
-
31434
- var warnStyleValueIsInfinity = function (name, value) {
31435
- if (warnedForInfinityValue) {
31436
- return;
31437
- }
31438
-
31439
- warnedForInfinityValue = true;
31440
- warning$1(false, '`Infinity` is an invalid value for the `%s` css style property.', name);
31441
- };
31442
-
31443
- warnValidStyle = function (name, value) {
31444
- if (name.indexOf('-') > -1) {
31445
- warnHyphenatedStyleName(name);
31446
- } else if (badVendoredStyleNamePattern.test(name)) {
31447
- warnBadVendoredStyleName(name);
31448
- } else if (badStyleValueWithSemicolonPattern.test(value)) {
31449
- warnStyleValueWithSemicolon(name, value);
31450
- }
31451
-
31452
- if (typeof value === 'number') {
31453
- if (isNaN(value)) {
31454
- warnStyleValueIsNaN(name, value);
31455
- } else if (!isFinite(value)) {
31456
- warnStyleValueIsInfinity(name, value);
31457
- }
31458
- }
31459
- };
31460
- }
31461
-
31462
- var warnValidStyle$1 = warnValidStyle;
31463
-
31464
- /**
31465
- * Operations for dealing with CSS properties.
31466
- */
31467
-
31468
- /**
31469
- * This creates a string that is expected to be equivalent to the style
31470
- * attribute generated by server-side rendering. It by-passes warnings and
31471
- * security checks so it's not safe to use this value for anything other than
31472
- * comparison. It is only used in DEV for SSR validation.
31473
- */
31474
-
31475
- function createDangerousStringForStyles(styles) {
31476
- {
31477
- var serialized = '';
31478
- var delimiter = '';
31479
-
31480
- for (var styleName in styles) {
31481
- if (!styles.hasOwnProperty(styleName)) {
31482
- continue;
31483
- }
31484
-
31485
- var styleValue = styles[styleName];
31486
-
31487
- if (styleValue != null) {
31488
- var isCustomProperty = styleName.indexOf('--') === 0;
31489
- serialized += delimiter + (isCustomProperty ? styleName : hyphenateStyleName(styleName)) + ':';
31490
- serialized += dangerousStyleValue(styleName, styleValue, isCustomProperty);
31491
- delimiter = ';';
31492
- }
31493
- }
31494
-
31495
- return serialized || null;
31496
- }
31497
- }
31498
- /**
31499
- * Sets the value for multiple styles on a node. If a value is specified as
31500
- * '' (empty string), the corresponding style property will be unset.
31501
- *
31502
- * @param {DOMElement} node
31503
- * @param {object} styles
31504
- */
31505
-
31506
- function setValueForStyles(node, styles) {
31507
- var style = node.style;
31508
-
31509
- for (var styleName in styles) {
31510
- if (!styles.hasOwnProperty(styleName)) {
31511
- continue;
31512
- }
31513
-
31514
- var isCustomProperty = styleName.indexOf('--') === 0;
31515
-
31516
- {
31517
- if (!isCustomProperty) {
31518
- warnValidStyle$1(styleName, styles[styleName]);
31519
- }
31520
- }
31521
-
31522
- var styleValue = dangerousStyleValue(styleName, styles[styleName], isCustomProperty);
31523
-
31524
- if (styleName === 'float') {
31525
- styleName = 'cssFloat';
31526
- }
31527
-
31528
- if (isCustomProperty) {
31529
- style.setProperty(styleName, styleValue);
31530
- } else {
31531
- style[styleName] = styleValue;
31532
- }
31533
- }
31534
- }
31535
-
31536
- function isValueEmpty(value) {
31537
- return value == null || typeof value === 'boolean' || value === '';
31538
- }
31539
- /**
31540
- * Given {color: 'red', overflow: 'hidden'} returns {
31541
- * color: 'color',
31542
- * overflowX: 'overflow',
31543
- * overflowY: 'overflow',
31544
- * }. This can be read as "the overflowY property was set by the overflow
31545
- * shorthand". That is, the values are the property that each was derived from.
31546
- */
31547
-
31548
-
31549
- function expandShorthandMap(styles) {
31550
- var expanded = {};
31551
-
31552
- for (var key in styles) {
31553
- var longhands = shorthandToLonghand[key] || [key];
31554
-
31555
- for (var i = 0; i < longhands.length; i++) {
31556
- expanded[longhands[i]] = key;
31557
- }
31558
- }
31559
-
31560
- return expanded;
31561
- }
31562
- /**
31563
- * When mixing shorthand and longhand property names, we warn during updates if
31564
- * we expect an incorrect result to occur. In particular, we warn for:
31565
- *
31566
- * Updating a shorthand property (longhand gets overwritten):
31567
- * {font: 'foo', fontVariant: 'bar'} -> {font: 'baz', fontVariant: 'bar'}
31568
- * becomes .style.font = 'baz'
31569
- * Removing a shorthand property (longhand gets lost too):
31570
- * {font: 'foo', fontVariant: 'bar'} -> {fontVariant: 'bar'}
31571
- * becomes .style.font = ''
31572
- * Removing a longhand property (should revert to shorthand; doesn't):
31573
- * {font: 'foo', fontVariant: 'bar'} -> {font: 'foo'}
31574
- * becomes .style.fontVariant = ''
31575
- */
31576
-
31577
-
31578
- function validateShorthandPropertyCollisionInDev(styleUpdates, nextStyles) {
31579
- if (!warnAboutShorthandPropertyCollision) {
31580
- return;
31581
- }
31582
-
31583
- if (!nextStyles) {
31584
- return;
31585
- }
31586
-
31587
- var expandedUpdates = expandShorthandMap(styleUpdates);
31588
- var expandedStyles = expandShorthandMap(nextStyles);
31589
- var warnedAbout = {};
31590
-
31591
- for (var key in expandedUpdates) {
31592
- var originalKey = expandedUpdates[key];
31593
- var correctOriginalKey = expandedStyles[key];
31594
-
31595
- if (correctOriginalKey && originalKey !== correctOriginalKey) {
31596
- var warningKey = originalKey + ',' + correctOriginalKey;
31597
-
31598
- if (warnedAbout[warningKey]) {
31599
- continue;
31600
- }
31601
-
31602
- warnedAbout[warningKey] = true;
31603
- warning$1(false, '%s a style property during rerender (%s) when a ' + 'conflicting property is set (%s) can lead to styling bugs. To ' + "avoid this, don't mix shorthand and non-shorthand properties " + 'for the same value; instead, replace the shorthand with ' + 'separate values.', isValueEmpty(styleUpdates[originalKey]) ? 'Removing' : 'Updating', originalKey, correctOriginalKey);
31604
- }
31605
- }
31606
- }
31607
-
31608
- // For HTML, certain tags should omit their close tag. We keep a whitelist for
31609
- // those special-case tags.
31610
- var omittedCloseTags = {
31611
- area: true,
31612
- base: true,
31613
- br: true,
31614
- col: true,
31615
- embed: true,
31616
- hr: true,
31617
- img: true,
31618
- input: true,
31619
- keygen: true,
31620
- link: true,
31621
- meta: true,
31622
- param: true,
31623
- source: true,
31624
- track: true,
31625
- wbr: true // NOTE: menuitem's close tag should be omitted, but that causes problems.
31626
-
31627
- };
31628
-
31629
- // `omittedCloseTags` except that `menuitem` should still have its closing tag.
31630
-
31631
- var voidElementTags = _assign({
31632
- menuitem: true
31633
- }, omittedCloseTags);
31634
-
31635
- // or add stack by default to invariants where possible.
31636
-
31637
- var HTML$1 = '__html';
31638
- var ReactDebugCurrentFrame$3 = null;
31639
-
31640
- {
31641
- ReactDebugCurrentFrame$3 = ReactSharedInternals.ReactDebugCurrentFrame;
31642
- }
31643
-
31644
- function assertValidProps(tag, props) {
31645
- if (!props) {
31646
- return;
31647
- } // Note the use of `==` which checks for null or undefined.
31648
-
31649
-
31650
- if (voidElementTags[tag]) {
31651
- if (!(props.children == null && props.dangerouslySetInnerHTML == null)) {
31652
- {
31653
- throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + (ReactDebugCurrentFrame$3.getStackAddendum()));
31654
- }
31655
- }
31656
- }
31657
-
31658
- if (props.dangerouslySetInnerHTML != null) {
31659
- if (!(props.children == null)) {
31660
- {
31661
- throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
31662
- }
31663
- }
31664
-
31665
- if (!(typeof props.dangerouslySetInnerHTML === 'object' && HTML$1 in props.dangerouslySetInnerHTML)) {
31666
- {
31667
- throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.");
31668
- }
31669
- }
31670
- }
31671
-
31672
- {
31673
- !(props.suppressContentEditableWarning || !props.contentEditable || props.children == null) ? warning$1(false, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : void 0;
31674
- }
31675
-
31676
- if (!(props.style == null || typeof props.style === 'object')) {
31677
- {
31678
- throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." + (ReactDebugCurrentFrame$3.getStackAddendum()));
31679
- }
31680
- }
31681
- }
31682
-
31683
- function isCustomComponent(tagName, props) {
31684
- if (tagName.indexOf('-') === -1) {
31685
- return typeof props.is === 'string';
31686
- }
31687
-
31688
- switch (tagName) {
31689
- // These are reserved SVG and MathML elements.
31690
- // We don't mind this whitelist too much because we expect it to never grow.
31691
- // The alternative is to track the namespace in a few places which is convoluted.
31692
- // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
31693
- case 'annotation-xml':
31694
- case 'color-profile':
31695
- case 'font-face':
31696
- case 'font-face-src':
31697
- case 'font-face-uri':
31698
- case 'font-face-format':
31699
- case 'font-face-name':
31700
- case 'missing-glyph':
31701
- return false;
31702
-
31703
- default:
31704
- return true;
31705
- }
31706
- }
31707
-
31708
- // When adding attributes to the HTML or SVG whitelist, be sure to
31709
- // also add them to this module to ensure casing and incorrect name
31710
- // warnings.
31711
- var possibleStandardNames = {
31712
- // HTML
31713
- accept: 'accept',
31714
- acceptcharset: 'acceptCharset',
31715
- 'accept-charset': 'acceptCharset',
31716
- accesskey: 'accessKey',
31717
- action: 'action',
31718
- allowfullscreen: 'allowFullScreen',
31719
- alt: 'alt',
31720
- as: 'as',
31721
- async: 'async',
31722
- autocapitalize: 'autoCapitalize',
31723
- autocomplete: 'autoComplete',
31724
- autocorrect: 'autoCorrect',
31725
- autofocus: 'autoFocus',
31726
- autoplay: 'autoPlay',
31727
- autosave: 'autoSave',
31728
- capture: 'capture',
31729
- cellpadding: 'cellPadding',
31730
- cellspacing: 'cellSpacing',
31731
- challenge: 'challenge',
31732
- charset: 'charSet',
31733
- checked: 'checked',
31734
- children: 'children',
31735
- cite: 'cite',
31736
- class: 'className',
31737
- classid: 'classID',
31738
- classname: 'className',
31739
- cols: 'cols',
31740
- colspan: 'colSpan',
31741
- content: 'content',
31742
- contenteditable: 'contentEditable',
31743
- contextmenu: 'contextMenu',
31744
- controls: 'controls',
31745
- controlslist: 'controlsList',
31746
- coords: 'coords',
31747
- crossorigin: 'crossOrigin',
31748
- dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
31749
- data: 'data',
31750
- datetime: 'dateTime',
31751
- default: 'default',
31752
- defaultchecked: 'defaultChecked',
31753
- defaultvalue: 'defaultValue',
31754
- defer: 'defer',
31755
- dir: 'dir',
31756
- disabled: 'disabled',
31757
- disablepictureinpicture: 'disablePictureInPicture',
31758
- download: 'download',
31759
- draggable: 'draggable',
31760
- enctype: 'encType',
31761
- for: 'htmlFor',
31762
- form: 'form',
31763
- formmethod: 'formMethod',
31764
- formaction: 'formAction',
31765
- formenctype: 'formEncType',
31766
- formnovalidate: 'formNoValidate',
31767
- formtarget: 'formTarget',
31768
- frameborder: 'frameBorder',
31769
- headers: 'headers',
31770
- height: 'height',
31771
- hidden: 'hidden',
31772
- high: 'high',
31773
- href: 'href',
31774
- hreflang: 'hrefLang',
31775
- htmlfor: 'htmlFor',
31776
- httpequiv: 'httpEquiv',
31777
- 'http-equiv': 'httpEquiv',
31778
- icon: 'icon',
31779
- id: 'id',
31780
- innerhtml: 'innerHTML',
31781
- inputmode: 'inputMode',
31782
- integrity: 'integrity',
31783
- is: 'is',
31784
- itemid: 'itemID',
31785
- itemprop: 'itemProp',
31786
- itemref: 'itemRef',
31787
- itemscope: 'itemScope',
31788
- itemtype: 'itemType',
31789
- keyparams: 'keyParams',
31790
- keytype: 'keyType',
31791
- kind: 'kind',
31792
- label: 'label',
31793
- lang: 'lang',
31794
- list: 'list',
31795
- loop: 'loop',
31796
- low: 'low',
31797
- manifest: 'manifest',
31798
- marginwidth: 'marginWidth',
31799
- marginheight: 'marginHeight',
31800
- max: 'max',
31801
- maxlength: 'maxLength',
31802
- media: 'media',
31803
- mediagroup: 'mediaGroup',
31804
- method: 'method',
31805
- min: 'min',
31806
- minlength: 'minLength',
31807
- multiple: 'multiple',
31808
- muted: 'muted',
31809
- name: 'name',
31810
- nomodule: 'noModule',
31811
- nonce: 'nonce',
31812
- novalidate: 'noValidate',
31813
- open: 'open',
31814
- optimum: 'optimum',
31815
- pattern: 'pattern',
31816
- placeholder: 'placeholder',
31817
- playsinline: 'playsInline',
31818
- poster: 'poster',
31819
- preload: 'preload',
31820
- profile: 'profile',
31821
- radiogroup: 'radioGroup',
31822
- readonly: 'readOnly',
31823
- referrerpolicy: 'referrerPolicy',
31824
- rel: 'rel',
31825
- required: 'required',
31826
- reversed: 'reversed',
31827
- role: 'role',
31828
- rows: 'rows',
31829
- rowspan: 'rowSpan',
31830
- sandbox: 'sandbox',
31831
- scope: 'scope',
31832
- scoped: 'scoped',
31833
- scrolling: 'scrolling',
31834
- seamless: 'seamless',
31835
- selected: 'selected',
31836
- shape: 'shape',
31837
- size: 'size',
31838
- sizes: 'sizes',
31839
- span: 'span',
31840
- spellcheck: 'spellCheck',
31841
- src: 'src',
31842
- srcdoc: 'srcDoc',
31843
- srclang: 'srcLang',
31844
- srcset: 'srcSet',
31845
- start: 'start',
31846
- step: 'step',
31847
- style: 'style',
31848
- summary: 'summary',
31849
- tabindex: 'tabIndex',
31850
- target: 'target',
31851
- title: 'title',
31852
- type: 'type',
31853
- usemap: 'useMap',
31854
- value: 'value',
31855
- width: 'width',
31856
- wmode: 'wmode',
31857
- wrap: 'wrap',
31858
- // SVG
31859
- about: 'about',
31860
- accentheight: 'accentHeight',
31861
- 'accent-height': 'accentHeight',
31862
- accumulate: 'accumulate',
31863
- additive: 'additive',
31864
- alignmentbaseline: 'alignmentBaseline',
31865
- 'alignment-baseline': 'alignmentBaseline',
31866
- allowreorder: 'allowReorder',
31867
- alphabetic: 'alphabetic',
31868
- amplitude: 'amplitude',
31869
- arabicform: 'arabicForm',
31870
- 'arabic-form': 'arabicForm',
31871
- ascent: 'ascent',
31872
- attributename: 'attributeName',
31873
- attributetype: 'attributeType',
31874
- autoreverse: 'autoReverse',
31875
- azimuth: 'azimuth',
31876
- basefrequency: 'baseFrequency',
31877
- baselineshift: 'baselineShift',
31878
- 'baseline-shift': 'baselineShift',
31879
- baseprofile: 'baseProfile',
31880
- bbox: 'bbox',
31881
- begin: 'begin',
31882
- bias: 'bias',
31883
- by: 'by',
31884
- calcmode: 'calcMode',
31885
- capheight: 'capHeight',
31886
- 'cap-height': 'capHeight',
31887
- clip: 'clip',
31888
- clippath: 'clipPath',
31889
- 'clip-path': 'clipPath',
31890
- clippathunits: 'clipPathUnits',
31891
- cliprule: 'clipRule',
31892
- 'clip-rule': 'clipRule',
31893
- color: 'color',
31894
- colorinterpolation: 'colorInterpolation',
31895
- 'color-interpolation': 'colorInterpolation',
31896
- colorinterpolationfilters: 'colorInterpolationFilters',
31897
- 'color-interpolation-filters': 'colorInterpolationFilters',
31898
- colorprofile: 'colorProfile',
31899
- 'color-profile': 'colorProfile',
31900
- colorrendering: 'colorRendering',
31901
- 'color-rendering': 'colorRendering',
31902
- contentscripttype: 'contentScriptType',
31903
- contentstyletype: 'contentStyleType',
31904
- cursor: 'cursor',
31905
- cx: 'cx',
31906
- cy: 'cy',
31907
- d: 'd',
31908
- datatype: 'datatype',
31909
- decelerate: 'decelerate',
31910
- descent: 'descent',
31911
- diffuseconstant: 'diffuseConstant',
31912
- direction: 'direction',
31913
- display: 'display',
31914
- divisor: 'divisor',
31915
- dominantbaseline: 'dominantBaseline',
31916
- 'dominant-baseline': 'dominantBaseline',
31917
- dur: 'dur',
31918
- dx: 'dx',
31919
- dy: 'dy',
31920
- edgemode: 'edgeMode',
31921
- elevation: 'elevation',
31922
- enablebackground: 'enableBackground',
31923
- 'enable-background': 'enableBackground',
31924
- end: 'end',
31925
- exponent: 'exponent',
31926
- externalresourcesrequired: 'externalResourcesRequired',
31927
- fill: 'fill',
31928
- fillopacity: 'fillOpacity',
31929
- 'fill-opacity': 'fillOpacity',
31930
- fillrule: 'fillRule',
31931
- 'fill-rule': 'fillRule',
31932
- filter: 'filter',
31933
- filterres: 'filterRes',
31934
- filterunits: 'filterUnits',
31935
- floodopacity: 'floodOpacity',
31936
- 'flood-opacity': 'floodOpacity',
31937
- floodcolor: 'floodColor',
31938
- 'flood-color': 'floodColor',
31939
- focusable: 'focusable',
31940
- fontfamily: 'fontFamily',
31941
- 'font-family': 'fontFamily',
31942
- fontsize: 'fontSize',
31943
- 'font-size': 'fontSize',
31944
- fontsizeadjust: 'fontSizeAdjust',
31945
- 'font-size-adjust': 'fontSizeAdjust',
31946
- fontstretch: 'fontStretch',
31947
- 'font-stretch': 'fontStretch',
31948
- fontstyle: 'fontStyle',
31949
- 'font-style': 'fontStyle',
31950
- fontvariant: 'fontVariant',
31951
- 'font-variant': 'fontVariant',
31952
- fontweight: 'fontWeight',
31953
- 'font-weight': 'fontWeight',
31954
- format: 'format',
31955
- from: 'from',
31956
- fx: 'fx',
31957
- fy: 'fy',
31958
- g1: 'g1',
31959
- g2: 'g2',
31960
- glyphname: 'glyphName',
31961
- 'glyph-name': 'glyphName',
31962
- glyphorientationhorizontal: 'glyphOrientationHorizontal',
31963
- 'glyph-orientation-horizontal': 'glyphOrientationHorizontal',
31964
- glyphorientationvertical: 'glyphOrientationVertical',
31965
- 'glyph-orientation-vertical': 'glyphOrientationVertical',
31966
- glyphref: 'glyphRef',
31967
- gradienttransform: 'gradientTransform',
31968
- gradientunits: 'gradientUnits',
31969
- hanging: 'hanging',
31970
- horizadvx: 'horizAdvX',
31971
- 'horiz-adv-x': 'horizAdvX',
31972
- horizoriginx: 'horizOriginX',
31973
- 'horiz-origin-x': 'horizOriginX',
31974
- ideographic: 'ideographic',
31975
- imagerendering: 'imageRendering',
31976
- 'image-rendering': 'imageRendering',
31977
- in2: 'in2',
31978
- in: 'in',
31979
- inlist: 'inlist',
31980
- intercept: 'intercept',
31981
- k1: 'k1',
31982
- k2: 'k2',
31983
- k3: 'k3',
31984
- k4: 'k4',
31985
- k: 'k',
31986
- kernelmatrix: 'kernelMatrix',
31987
- kernelunitlength: 'kernelUnitLength',
31988
- kerning: 'kerning',
31989
- keypoints: 'keyPoints',
31990
- keysplines: 'keySplines',
31991
- keytimes: 'keyTimes',
31992
- lengthadjust: 'lengthAdjust',
31993
- letterspacing: 'letterSpacing',
31994
- 'letter-spacing': 'letterSpacing',
31995
- lightingcolor: 'lightingColor',
31996
- 'lighting-color': 'lightingColor',
31997
- limitingconeangle: 'limitingConeAngle',
31998
- local: 'local',
31999
- markerend: 'markerEnd',
32000
- 'marker-end': 'markerEnd',
32001
- markerheight: 'markerHeight',
32002
- markermid: 'markerMid',
32003
- 'marker-mid': 'markerMid',
32004
- markerstart: 'markerStart',
32005
- 'marker-start': 'markerStart',
32006
- markerunits: 'markerUnits',
32007
- markerwidth: 'markerWidth',
32008
- mask: 'mask',
32009
- maskcontentunits: 'maskContentUnits',
32010
- maskunits: 'maskUnits',
32011
- mathematical: 'mathematical',
32012
- mode: 'mode',
32013
- numoctaves: 'numOctaves',
32014
- offset: 'offset',
32015
- opacity: 'opacity',
32016
- operator: 'operator',
32017
- order: 'order',
32018
- orient: 'orient',
32019
- orientation: 'orientation',
32020
- origin: 'origin',
32021
- overflow: 'overflow',
32022
- overlineposition: 'overlinePosition',
32023
- 'overline-position': 'overlinePosition',
32024
- overlinethickness: 'overlineThickness',
32025
- 'overline-thickness': 'overlineThickness',
32026
- paintorder: 'paintOrder',
32027
- 'paint-order': 'paintOrder',
32028
- panose1: 'panose1',
32029
- 'panose-1': 'panose1',
32030
- pathlength: 'pathLength',
32031
- patterncontentunits: 'patternContentUnits',
32032
- patterntransform: 'patternTransform',
32033
- patternunits: 'patternUnits',
32034
- pointerevents: 'pointerEvents',
32035
- 'pointer-events': 'pointerEvents',
32036
- points: 'points',
32037
- pointsatx: 'pointsAtX',
32038
- pointsaty: 'pointsAtY',
32039
- pointsatz: 'pointsAtZ',
32040
- prefix: 'prefix',
32041
- preservealpha: 'preserveAlpha',
32042
- preserveaspectratio: 'preserveAspectRatio',
32043
- primitiveunits: 'primitiveUnits',
32044
- property: 'property',
32045
- r: 'r',
32046
- radius: 'radius',
32047
- refx: 'refX',
32048
- refy: 'refY',
32049
- renderingintent: 'renderingIntent',
32050
- 'rendering-intent': 'renderingIntent',
32051
- repeatcount: 'repeatCount',
32052
- repeatdur: 'repeatDur',
32053
- requiredextensions: 'requiredExtensions',
32054
- requiredfeatures: 'requiredFeatures',
32055
- resource: 'resource',
32056
- restart: 'restart',
32057
- result: 'result',
32058
- results: 'results',
32059
- rotate: 'rotate',
32060
- rx: 'rx',
32061
- ry: 'ry',
32062
- scale: 'scale',
32063
- security: 'security',
32064
- seed: 'seed',
32065
- shaperendering: 'shapeRendering',
32066
- 'shape-rendering': 'shapeRendering',
32067
- slope: 'slope',
32068
- spacing: 'spacing',
32069
- specularconstant: 'specularConstant',
32070
- specularexponent: 'specularExponent',
32071
- speed: 'speed',
32072
- spreadmethod: 'spreadMethod',
32073
- startoffset: 'startOffset',
32074
- stddeviation: 'stdDeviation',
32075
- stemh: 'stemh',
32076
- stemv: 'stemv',
32077
- stitchtiles: 'stitchTiles',
32078
- stopcolor: 'stopColor',
32079
- 'stop-color': 'stopColor',
32080
- stopopacity: 'stopOpacity',
32081
- 'stop-opacity': 'stopOpacity',
32082
- strikethroughposition: 'strikethroughPosition',
32083
- 'strikethrough-position': 'strikethroughPosition',
32084
- strikethroughthickness: 'strikethroughThickness',
32085
- 'strikethrough-thickness': 'strikethroughThickness',
32086
- string: 'string',
32087
- stroke: 'stroke',
32088
- strokedasharray: 'strokeDasharray',
32089
- 'stroke-dasharray': 'strokeDasharray',
32090
- strokedashoffset: 'strokeDashoffset',
32091
- 'stroke-dashoffset': 'strokeDashoffset',
32092
- strokelinecap: 'strokeLinecap',
32093
- 'stroke-linecap': 'strokeLinecap',
32094
- strokelinejoin: 'strokeLinejoin',
32095
- 'stroke-linejoin': 'strokeLinejoin',
32096
- strokemiterlimit: 'strokeMiterlimit',
32097
- 'stroke-miterlimit': 'strokeMiterlimit',
32098
- strokewidth: 'strokeWidth',
32099
- 'stroke-width': 'strokeWidth',
32100
- strokeopacity: 'strokeOpacity',
32101
- 'stroke-opacity': 'strokeOpacity',
32102
- suppresscontenteditablewarning: 'suppressContentEditableWarning',
32103
- suppresshydrationwarning: 'suppressHydrationWarning',
32104
- surfacescale: 'surfaceScale',
32105
- systemlanguage: 'systemLanguage',
32106
- tablevalues: 'tableValues',
32107
- targetx: 'targetX',
32108
- targety: 'targetY',
32109
- textanchor: 'textAnchor',
32110
- 'text-anchor': 'textAnchor',
32111
- textdecoration: 'textDecoration',
32112
- 'text-decoration': 'textDecoration',
32113
- textlength: 'textLength',
32114
- textrendering: 'textRendering',
32115
- 'text-rendering': 'textRendering',
32116
- to: 'to',
32117
- transform: 'transform',
32118
- typeof: 'typeof',
32119
- u1: 'u1',
32120
- u2: 'u2',
32121
- underlineposition: 'underlinePosition',
32122
- 'underline-position': 'underlinePosition',
32123
- underlinethickness: 'underlineThickness',
32124
- 'underline-thickness': 'underlineThickness',
32125
- unicode: 'unicode',
32126
- unicodebidi: 'unicodeBidi',
32127
- 'unicode-bidi': 'unicodeBidi',
32128
- unicoderange: 'unicodeRange',
32129
- 'unicode-range': 'unicodeRange',
32130
- unitsperem: 'unitsPerEm',
32131
- 'units-per-em': 'unitsPerEm',
32132
- unselectable: 'unselectable',
32133
- valphabetic: 'vAlphabetic',
32134
- 'v-alphabetic': 'vAlphabetic',
32135
- values: 'values',
32136
- vectoreffect: 'vectorEffect',
32137
- 'vector-effect': 'vectorEffect',
32138
- version: 'version',
32139
- vertadvy: 'vertAdvY',
32140
- 'vert-adv-y': 'vertAdvY',
32141
- vertoriginx: 'vertOriginX',
32142
- 'vert-origin-x': 'vertOriginX',
32143
- vertoriginy: 'vertOriginY',
32144
- 'vert-origin-y': 'vertOriginY',
32145
- vhanging: 'vHanging',
32146
- 'v-hanging': 'vHanging',
32147
- videographic: 'vIdeographic',
32148
- 'v-ideographic': 'vIdeographic',
32149
- viewbox: 'viewBox',
32150
- viewtarget: 'viewTarget',
32151
- visibility: 'visibility',
32152
- vmathematical: 'vMathematical',
32153
- 'v-mathematical': 'vMathematical',
32154
- vocab: 'vocab',
32155
- widths: 'widths',
32156
- wordspacing: 'wordSpacing',
32157
- 'word-spacing': 'wordSpacing',
32158
- writingmode: 'writingMode',
32159
- 'writing-mode': 'writingMode',
32160
- x1: 'x1',
32161
- x2: 'x2',
32162
- x: 'x',
32163
- xchannelselector: 'xChannelSelector',
32164
- xheight: 'xHeight',
32165
- 'x-height': 'xHeight',
32166
- xlinkactuate: 'xlinkActuate',
32167
- 'xlink:actuate': 'xlinkActuate',
32168
- xlinkarcrole: 'xlinkArcrole',
32169
- 'xlink:arcrole': 'xlinkArcrole',
32170
- xlinkhref: 'xlinkHref',
32171
- 'xlink:href': 'xlinkHref',
32172
- xlinkrole: 'xlinkRole',
32173
- 'xlink:role': 'xlinkRole',
32174
- xlinkshow: 'xlinkShow',
32175
- 'xlink:show': 'xlinkShow',
32176
- xlinktitle: 'xlinkTitle',
32177
- 'xlink:title': 'xlinkTitle',
32178
- xlinktype: 'xlinkType',
32179
- 'xlink:type': 'xlinkType',
32180
- xmlbase: 'xmlBase',
32181
- 'xml:base': 'xmlBase',
32182
- xmllang: 'xmlLang',
32183
- 'xml:lang': 'xmlLang',
32184
- xmlns: 'xmlns',
32185
- 'xml:space': 'xmlSpace',
32186
- xmlnsxlink: 'xmlnsXlink',
32187
- 'xmlns:xlink': 'xmlnsXlink',
32188
- xmlspace: 'xmlSpace',
32189
- y1: 'y1',
32190
- y2: 'y2',
32191
- y: 'y',
32192
- ychannelselector: 'yChannelSelector',
32193
- z: 'z',
32194
- zoomandpan: 'zoomAndPan'
32195
- };
32196
-
32197
- var ariaProperties = {
32198
- 'aria-current': 0,
32199
- // state
32200
- 'aria-details': 0,
32201
- 'aria-disabled': 0,
32202
- // state
32203
- 'aria-hidden': 0,
32204
- // state
32205
- 'aria-invalid': 0,
32206
- // state
32207
- 'aria-keyshortcuts': 0,
32208
- 'aria-label': 0,
32209
- 'aria-roledescription': 0,
32210
- // Widget Attributes
32211
- 'aria-autocomplete': 0,
32212
- 'aria-checked': 0,
32213
- 'aria-expanded': 0,
32214
- 'aria-haspopup': 0,
32215
- 'aria-level': 0,
32216
- 'aria-modal': 0,
32217
- 'aria-multiline': 0,
32218
- 'aria-multiselectable': 0,
32219
- 'aria-orientation': 0,
32220
- 'aria-placeholder': 0,
32221
- 'aria-pressed': 0,
32222
- 'aria-readonly': 0,
32223
- 'aria-required': 0,
32224
- 'aria-selected': 0,
32225
- 'aria-sort': 0,
32226
- 'aria-valuemax': 0,
32227
- 'aria-valuemin': 0,
32228
- 'aria-valuenow': 0,
32229
- 'aria-valuetext': 0,
32230
- // Live Region Attributes
32231
- 'aria-atomic': 0,
32232
- 'aria-busy': 0,
32233
- 'aria-live': 0,
32234
- 'aria-relevant': 0,
32235
- // Drag-and-Drop Attributes
32236
- 'aria-dropeffect': 0,
32237
- 'aria-grabbed': 0,
32238
- // Relationship Attributes
32239
- 'aria-activedescendant': 0,
32240
- 'aria-colcount': 0,
32241
- 'aria-colindex': 0,
32242
- 'aria-colspan': 0,
32243
- 'aria-controls': 0,
32244
- 'aria-describedby': 0,
32245
- 'aria-errormessage': 0,
32246
- 'aria-flowto': 0,
32247
- 'aria-labelledby': 0,
32248
- 'aria-owns': 0,
32249
- 'aria-posinset': 0,
32250
- 'aria-rowcount': 0,
32251
- 'aria-rowindex': 0,
32252
- 'aria-rowspan': 0,
32253
- 'aria-setsize': 0
32254
- };
32255
-
32256
- var warnedProperties = {};
32257
- var rARIA = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
32258
- var rARIACamel = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');
32259
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
32260
-
32261
- function validateProperty(tagName, name) {
32262
- if (hasOwnProperty$1.call(warnedProperties, name) && warnedProperties[name]) {
32263
- return true;
32264
- }
32265
-
32266
- if (rARIACamel.test(name)) {
32267
- var ariaName = 'aria-' + name.slice(4).toLowerCase();
32268
- var correctName = ariaProperties.hasOwnProperty(ariaName) ? ariaName : null; // If this is an aria-* attribute, but is not listed in the known DOM
32269
- // DOM properties, then it is an invalid aria-* attribute.
32270
-
32271
- if (correctName == null) {
32272
- warning$1(false, 'Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.', name);
32273
- warnedProperties[name] = true;
32274
- return true;
32275
- } // aria-* attributes should be lowercase; suggest the lowercase version.
32276
-
32277
-
32278
- if (name !== correctName) {
32279
- warning$1(false, 'Invalid ARIA attribute `%s`. Did you mean `%s`?', name, correctName);
32280
- warnedProperties[name] = true;
32281
- return true;
32282
- }
32283
- }
32284
-
32285
- if (rARIA.test(name)) {
32286
- var lowerCasedName = name.toLowerCase();
32287
- var standardName = ariaProperties.hasOwnProperty(lowerCasedName) ? lowerCasedName : null; // If this is an aria-* attribute, but is not listed in the known DOM
32288
- // DOM properties, then it is an invalid aria-* attribute.
32289
-
32290
- if (standardName == null) {
32291
- warnedProperties[name] = true;
32292
- return false;
32293
- } // aria-* attributes should be lowercase; suggest the lowercase version.
32294
-
32295
-
32296
- if (name !== standardName) {
32297
- warning$1(false, 'Unknown ARIA attribute `%s`. Did you mean `%s`?', name, standardName);
32298
- warnedProperties[name] = true;
32299
- return true;
32300
- }
32301
- }
32302
-
32303
- return true;
32304
- }
32305
-
32306
- function warnInvalidARIAProps(type, props) {
32307
- var invalidProps = [];
32308
-
32309
- for (var key in props) {
32310
- var isValid = validateProperty(type, key);
32311
-
32312
- if (!isValid) {
32313
- invalidProps.push(key);
32314
- }
32315
- }
32316
-
32317
- var unknownPropString = invalidProps.map(function (prop) {
32318
- return '`' + prop + '`';
32319
- }).join(', ');
32320
-
32321
- if (invalidProps.length === 1) {
32322
- warning$1(false, 'Invalid aria prop %s on <%s> tag. ' + 'For details, see https://fb.me/invalid-aria-prop', unknownPropString, type);
32323
- } else if (invalidProps.length > 1) {
32324
- warning$1(false, 'Invalid aria props %s on <%s> tag. ' + 'For details, see https://fb.me/invalid-aria-prop', unknownPropString, type);
32325
- }
32326
- }
32327
-
32328
- function validateProperties(type, props) {
32329
- if (isCustomComponent(type, props)) {
32330
- return;
32331
- }
32332
-
32333
- warnInvalidARIAProps(type, props);
32334
- }
32335
-
32336
- var didWarnValueNull = false;
32337
- function validateProperties$1(type, props) {
32338
- if (type !== 'input' && type !== 'textarea' && type !== 'select') {
32339
- return;
32340
- }
32341
-
32342
- if (props != null && props.value === null && !didWarnValueNull) {
32343
- didWarnValueNull = true;
32344
-
32345
- if (type === 'select' && props.multiple) {
32346
- warning$1(false, '`value` prop on `%s` should not be null. ' + 'Consider using an empty array when `multiple` is set to `true` ' + 'to clear the component or `undefined` for uncontrolled components.', type);
32347
- } else {
32348
- warning$1(false, '`value` prop on `%s` should not be null. ' + 'Consider using an empty string to clear the component or `undefined` ' + 'for uncontrolled components.', type);
32349
- }
32350
- }
32351
- }
32352
-
32353
- var validateProperty$1 = function () {};
32354
-
32355
- {
32356
- var warnedProperties$1 = {};
32357
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
32358
- var EVENT_NAME_REGEX = /^on./;
32359
- var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/;
32360
- var rARIA$1 = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
32361
- var rARIACamel$1 = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');
32362
-
32363
- validateProperty$1 = function (tagName, name, value, canUseEventSystem) {
32364
- if (_hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) {
32365
- return true;
32366
- }
32367
-
32368
- var lowerCasedName = name.toLowerCase();
32369
-
32370
- if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
32371
- warning$1(false, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');
32372
- warnedProperties$1[name] = true;
32373
- return true;
32374
- } // We can't rely on the event system being injected on the server.
32375
-
32376
-
32377
- if (canUseEventSystem) {
32378
- if (registrationNameModules.hasOwnProperty(name)) {
32379
- return true;
32380
- }
32381
-
32382
- var registrationName = possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames[lowerCasedName] : null;
32383
-
32384
- if (registrationName != null) {
32385
- warning$1(false, 'Invalid event handler property `%s`. Did you mean `%s`?', name, registrationName);
32386
- warnedProperties$1[name] = true;
32387
- return true;
32388
- }
32389
-
32390
- if (EVENT_NAME_REGEX.test(name)) {
32391
- warning$1(false, 'Unknown event handler property `%s`. It will be ignored.', name);
32392
- warnedProperties$1[name] = true;
32393
- return true;
32394
- }
32395
- } else if (EVENT_NAME_REGEX.test(name)) {
32396
- // If no event plugins have been injected, we are in a server environment.
32397
- // So we can't tell if the event name is correct for sure, but we can filter
32398
- // out known bad ones like `onclick`. We can't suggest a specific replacement though.
32399
- if (INVALID_EVENT_NAME_REGEX.test(name)) {
32400
- warning$1(false, 'Invalid event handler property `%s`. ' + 'React events use the camelCase naming convention, for example `onClick`.', name);
32401
- }
32402
-
32403
- warnedProperties$1[name] = true;
32404
- return true;
32405
- } // Let the ARIA attribute hook validate ARIA attributes
32406
-
32407
-
32408
- if (rARIA$1.test(name) || rARIACamel$1.test(name)) {
32409
- return true;
32410
- }
32411
-
32412
- if (lowerCasedName === 'innerhtml') {
32413
- warning$1(false, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.');
32414
- warnedProperties$1[name] = true;
32415
- return true;
32416
- }
32417
-
32418
- if (lowerCasedName === 'aria') {
32419
- warning$1(false, 'The `aria` attribute is reserved for future use in React. ' + 'Pass individual `aria-` attributes instead.');
32420
- warnedProperties$1[name] = true;
32421
- return true;
32422
- }
32423
-
32424
- if (lowerCasedName === 'is' && value !== null && value !== undefined && typeof value !== 'string') {
32425
- warning$1(false, 'Received a `%s` for a string attribute `is`. If this is expected, cast ' + 'the value to a string.', typeof value);
32426
- warnedProperties$1[name] = true;
32427
- return true;
32428
- }
32429
-
32430
- if (typeof value === 'number' && isNaN(value)) {
32431
- warning$1(false, 'Received NaN for the `%s` attribute. If this is expected, cast ' + 'the value to a string.', name);
32432
- warnedProperties$1[name] = true;
32433
- return true;
32434
- }
32435
-
32436
- var propertyInfo = getPropertyInfo(name);
32437
- var isReserved = propertyInfo !== null && propertyInfo.type === RESERVED; // Known attributes should match the casing specified in the property config.
32438
-
32439
- if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {
32440
- var standardName = possibleStandardNames[lowerCasedName];
32441
-
32442
- if (standardName !== name) {
32443
- warning$1(false, 'Invalid DOM property `%s`. Did you mean `%s`?', name, standardName);
32444
- warnedProperties$1[name] = true;
32445
- return true;
32446
- }
32447
- } else if (!isReserved && name !== lowerCasedName) {
32448
- // Unknown attributes should have lowercase casing since that's how they
32449
- // will be cased anyway with server rendering.
32450
- warning$1(false, 'React does not recognize the `%s` prop on a DOM element. If you ' + 'intentionally want it to appear in the DOM as a custom ' + 'attribute, spell it as lowercase `%s` instead. ' + 'If you accidentally passed it from a parent component, remove ' + 'it from the DOM element.', name, lowerCasedName);
32451
- warnedProperties$1[name] = true;
32452
- return true;
32453
- }
32454
-
32455
- if (typeof value === 'boolean' && shouldRemoveAttributeWithWarning(name, value, propertyInfo, false)) {
32456
- if (value) {
32457
- warning$1(false, 'Received `%s` for a non-boolean attribute `%s`.\n\n' + 'If you want to write it to the DOM, pass a string instead: ' + '%s="%s" or %s={value.toString()}.', value, name, name, value, name);
32458
- } else {
32459
- warning$1(false, 'Received `%s` for a non-boolean attribute `%s`.\n\n' + 'If you want to write it to the DOM, pass a string instead: ' + '%s="%s" or %s={value.toString()}.\n\n' + 'If you used to conditionally omit it with %s={condition && value}, ' + 'pass %s={condition ? value : undefined} instead.', value, name, name, value, name, name, name);
32460
- }
32461
-
32462
- warnedProperties$1[name] = true;
32463
- return true;
32464
- } // Now that we've validated casing, do not validate
32465
- // data types for reserved props
32466
-
32467
-
32468
- if (isReserved) {
32469
- return true;
32470
- } // Warn when a known attribute is a bad type
32471
-
32472
-
32473
- if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, false)) {
32474
- warnedProperties$1[name] = true;
32475
- return false;
32476
- } // Warn when passing the strings 'false' or 'true' into a boolean prop
32477
-
32478
-
32479
- if ((value === 'false' || value === 'true') && propertyInfo !== null && propertyInfo.type === BOOLEAN) {
32480
- warning$1(false, 'Received the string `%s` for the boolean attribute `%s`. ' + '%s ' + 'Did you mean %s={%s}?', value, name, value === 'false' ? 'The browser will interpret it as a truthy value.' : 'Although this works, it will not work as expected if you pass the string "false".', name, value);
32481
- warnedProperties$1[name] = true;
32482
- return true;
32483
- }
32484
-
32485
- return true;
32486
- };
32487
- }
32488
-
32489
- var warnUnknownProperties = function (type, props, canUseEventSystem) {
32490
- var unknownProps = [];
32491
-
32492
- for (var key in props) {
32493
- var isValid = validateProperty$1(type, key, props[key], canUseEventSystem);
32494
-
32495
- if (!isValid) {
32496
- unknownProps.push(key);
32497
- }
32498
- }
32499
-
32500
- var unknownPropString = unknownProps.map(function (prop) {
32501
- return '`' + prop + '`';
32502
- }).join(', ');
32503
-
32504
- if (unknownProps.length === 1) {
32505
- warning$1(false, 'Invalid value for prop %s on <%s> tag. Either remove it from the element, ' + 'or pass a string or number value to keep it in the DOM. ' + 'For details, see https://fb.me/react-attribute-behavior', unknownPropString, type);
32506
- } else if (unknownProps.length > 1) {
32507
- warning$1(false, 'Invalid values for props %s on <%s> tag. Either remove them from the element, ' + 'or pass a string or number value to keep them in the DOM. ' + 'For details, see https://fb.me/react-attribute-behavior', unknownPropString, type);
32508
- }
32509
- };
32510
-
32511
- function validateProperties$2(type, props, canUseEventSystem) {
32512
- if (isCustomComponent(type, props)) {
32513
- return;
32514
- }
32515
-
32516
- warnUnknownProperties(type, props, canUseEventSystem);
32517
- }
32518
-
32519
- // TODO: direct imports like some-package/src/* are bad. Fix me.
32520
- var didWarnInvalidHydration = false;
32521
- var didWarnShadyDOM = false;
32522
- var didWarnScriptTags = false;
32523
- var DANGEROUSLY_SET_INNER_HTML = 'dangerouslySetInnerHTML';
32524
- var SUPPRESS_CONTENT_EDITABLE_WARNING = 'suppressContentEditableWarning';
32525
- var SUPPRESS_HYDRATION_WARNING$1 = 'suppressHydrationWarning';
32526
- var AUTOFOCUS = 'autoFocus';
32527
- var CHILDREN = 'children';
32528
- var STYLE$1 = 'style';
32529
- var HTML = '__html';
32530
- var LISTENERS = 'listeners';
32531
- var HTML_NAMESPACE = Namespaces.html;
32532
- var warnedUnknownTags;
32533
- var suppressHydrationWarning;
32534
- var validatePropertiesInDevelopment;
32535
- var warnForTextDifference;
32536
- var warnForPropDifference;
32537
- var warnForExtraAttributes;
32538
- var warnForInvalidEventListener;
32539
- var canDiffStyleForHydrationWarning;
32540
- var normalizeMarkupForTextOrAttribute;
32541
- var normalizeHTML;
32542
-
32543
- {
32544
- warnedUnknownTags = {
32545
- // Chrome is the only major browser not shipping <time>. But as of July
32546
- // 2017 it intends to ship it due to widespread usage. We intentionally
32547
- // *don't* warn for <time> even if it's unrecognized by Chrome because
32548
- // it soon will be, and many apps have been using it anyway.
32549
- time: true,
32550
- // There are working polyfills for <dialog>. Let people use it.
32551
- dialog: true,
32552
- // Electron ships a custom <webview> tag to display external web content in
32553
- // an isolated frame and process.
32554
- // This tag is not present in non Electron environments such as JSDom which
32555
- // is often used for testing purposes.
32556
- // @see https://electronjs.org/docs/api/webview-tag
32557
- webview: true
32558
- };
32559
-
32560
- validatePropertiesInDevelopment = function (type, props) {
32561
- validateProperties(type, props);
32562
- validateProperties$1(type, props);
32563
- validateProperties$2(type, props,
32564
- /* canUseEventSystem */
32565
- true);
32566
- }; // IE 11 parses & normalizes the style attribute as opposed to other
32567
- // browsers. It adds spaces and sorts the properties in some
32568
- // non-alphabetical order. Handling that would require sorting CSS
32569
- // properties in the client & server versions or applying
32570
- // `expectedStyle` to a temporary DOM node to read its `style` attribute
32571
- // normalized. Since it only affects IE, we're skipping style warnings
32572
- // in that browser completely in favor of doing all that work.
32573
- // See https://github.com/facebook/react/issues/11807
32574
-
32575
-
32576
- canDiffStyleForHydrationWarning = canUseDOM && !document.documentMode; // HTML parsing normalizes CR and CRLF to LF.
32577
- // It also can turn \u0000 into \uFFFD inside attributes.
32578
- // https://www.w3.org/TR/html5/single-page.html#preprocessing-the-input-stream
32579
- // If we have a mismatch, it might be caused by that.
32580
- // We will still patch up in this case but not fire the warning.
32581
-
32582
- var NORMALIZE_NEWLINES_REGEX = /\r\n?/g;
32583
- var NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;
32584
-
32585
- normalizeMarkupForTextOrAttribute = function (markup) {
32586
- var markupString = typeof markup === 'string' ? markup : '' + markup;
32587
- return markupString.replace(NORMALIZE_NEWLINES_REGEX, '\n').replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, '');
32588
- };
32589
-
32590
- warnForTextDifference = function (serverText, clientText) {
32591
- if (didWarnInvalidHydration) {
32592
- return;
32593
- }
32594
-
32595
- var normalizedClientText = normalizeMarkupForTextOrAttribute(clientText);
32596
- var normalizedServerText = normalizeMarkupForTextOrAttribute(serverText);
32597
-
32598
- if (normalizedServerText === normalizedClientText) {
32599
- return;
32600
- }
32601
-
32602
- didWarnInvalidHydration = true;
32603
- warningWithoutStack$1(false, 'Text content did not match. Server: "%s" Client: "%s"', normalizedServerText, normalizedClientText);
32604
- };
32605
-
32606
- warnForPropDifference = function (propName, serverValue, clientValue) {
32607
- if (didWarnInvalidHydration) {
32608
- return;
32609
- }
32610
-
32611
- var normalizedClientValue = normalizeMarkupForTextOrAttribute(clientValue);
32612
- var normalizedServerValue = normalizeMarkupForTextOrAttribute(serverValue);
32613
-
32614
- if (normalizedServerValue === normalizedClientValue) {
32615
- return;
32616
- }
32617
-
32618
- didWarnInvalidHydration = true;
32619
- warningWithoutStack$1(false, 'Prop `%s` did not match. Server: %s Client: %s', propName, JSON.stringify(normalizedServerValue), JSON.stringify(normalizedClientValue));
32620
- };
32621
-
32622
- warnForExtraAttributes = function (attributeNames) {
32623
- if (didWarnInvalidHydration) {
32624
- return;
32625
- }
32626
-
32627
- didWarnInvalidHydration = true;
32628
- var names = [];
32629
- attributeNames.forEach(function (name) {
32630
- names.push(name);
32631
- });
32632
- warningWithoutStack$1(false, 'Extra attributes from the server: %s', names);
32633
- };
32634
-
32635
- warnForInvalidEventListener = function (registrationName, listener) {
32636
- if (listener === false) {
32637
- warning$1(false, 'Expected `%s` listener to be a function, instead got `false`.\n\n' + 'If you used to conditionally omit it with %s={condition && value}, ' + 'pass %s={condition ? value : undefined} instead.', registrationName, registrationName, registrationName);
32638
- } else {
32639
- warning$1(false, 'Expected `%s` listener to be a function, instead got a value of `%s` type.', registrationName, typeof listener);
32640
- }
32641
- }; // Parse the HTML and read it back to normalize the HTML string so that it
32642
- // can be used for comparison.
32643
-
32644
-
32645
- normalizeHTML = function (parent, html) {
32646
- // We could have created a separate document here to avoid
32647
- // re-initializing custom elements if they exist. But this breaks
32648
- // how <noscript> is being handled. So we use the same document.
32649
- // See the discussion in https://github.com/facebook/react/pull/11157.
32650
- var testElement = parent.namespaceURI === HTML_NAMESPACE ? parent.ownerDocument.createElement(parent.tagName) : parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName);
32651
- testElement.innerHTML = html;
32652
- return testElement.innerHTML;
32653
- };
32654
- }
32655
-
32656
- function ensureListeningTo(rootContainerElement, registrationName) {
32657
- var isDocumentOrFragment = rootContainerElement.nodeType === DOCUMENT_NODE || rootContainerElement.nodeType === DOCUMENT_FRAGMENT_NODE;
32658
- var doc = isDocumentOrFragment ? rootContainerElement : rootContainerElement.ownerDocument;
32659
- listenTo(registrationName, doc);
32660
- }
32661
-
32662
- function getOwnerDocumentFromRootContainer(rootContainerElement) {
32663
- return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
32664
- }
32665
-
32666
- function noop() {}
32667
-
32668
- function trapClickOnNonInteractiveElement(node) {
32669
- // Mobile Safari does not fire properly bubble click events on
32670
- // non-interactive elements, which means delegated click listeners do not
32671
- // fire. The workaround for this bug involves attaching an empty click
32672
- // listener on the target node.
32673
- // http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
32674
- // Just set it using the onclick property so that we don't have to manage any
32675
- // bookkeeping for it. Not sure if we need to clear it when the listener is
32676
- // removed.
32677
- // TODO: Only do this for the relevant Safaris maybe?
32678
- node.onclick = noop;
32679
- }
32680
-
32681
- function setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag) {
32682
- for (var propKey in nextProps) {
32683
- if (!nextProps.hasOwnProperty(propKey)) {
32684
- continue;
32685
- }
32686
-
32687
- var nextProp = nextProps[propKey];
32688
-
32689
- if (propKey === STYLE$1) {
32690
- {
32691
- if (nextProp) {
32692
- // Freeze the next style object so that we can assume it won't be
32693
- // mutated. We have already warned for this in the past.
32694
- Object.freeze(nextProp);
32695
- }
32696
- } // Relies on `updateStylesByID` not mutating `styleUpdates`.
32697
-
32698
-
32699
- setValueForStyles(domElement, nextProp);
32700
- } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
32701
- var nextHtml = nextProp ? nextProp[HTML] : undefined;
32702
-
32703
- if (nextHtml != null) {
32704
- setInnerHTML(domElement, nextHtml);
32705
- }
32706
- } else if (propKey === CHILDREN) {
32707
- if (typeof nextProp === 'string') {
32708
- // Avoid setting initial textContent when the text is empty. In IE11 setting
32709
- // textContent on a <textarea> will cause the placeholder to not
32710
- // show within the <textarea> until it has been focused and blurred again.
32711
- // https://github.com/facebook/react/issues/6731#issuecomment-254874553
32712
- var canSetTextContent = tag !== 'textarea' || nextProp !== '';
32713
-
32714
- if (canSetTextContent) {
32715
- setTextContent(domElement, nextProp);
32716
- }
32717
- } else if (typeof nextProp === 'number') {
32718
- setTextContent(domElement, '' + nextProp);
32719
- }
32720
- } else if (enableFlareAPI && propKey === LISTENERS || propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {// Noop
32721
- } else if (propKey === AUTOFOCUS) {// We polyfill it separately on the client during commit.
32722
- // We could have excluded it in the property list instead of
32723
- // adding a special case here, but then it wouldn't be emitted
32724
- // on server rendering (but we *do* want to emit it in SSR).
32725
- } else if (registrationNameModules.hasOwnProperty(propKey)) {
32726
- if (nextProp != null) {
32727
- if (true && typeof nextProp !== 'function') {
32728
- warnForInvalidEventListener(propKey, nextProp);
32729
- }
32730
-
32731
- ensureListeningTo(rootContainerElement, propKey);
32732
- }
32733
- } else if (nextProp != null) {
32734
- setValueForProperty(domElement, propKey, nextProp, isCustomComponentTag);
32735
- }
32736
- }
32737
- }
32738
-
32739
- function updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag) {
32740
- // TODO: Handle wasCustomComponentTag
32741
- for (var i = 0; i < updatePayload.length; i += 2) {
32742
- var propKey = updatePayload[i];
32743
- var propValue = updatePayload[i + 1];
32744
-
32745
- if (propKey === STYLE$1) {
32746
- setValueForStyles(domElement, propValue);
32747
- } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
32748
- setInnerHTML(domElement, propValue);
32749
- } else if (propKey === CHILDREN) {
32750
- setTextContent(domElement, propValue);
32751
- } else {
32752
- setValueForProperty(domElement, propKey, propValue, isCustomComponentTag);
32753
- }
32754
- }
32755
- }
32756
-
32757
- function createElement(type, props, rootContainerElement, parentNamespace) {
32758
- var isCustomComponentTag; // We create tags in the namespace of their parent container, except HTML
32759
- // tags get no namespace.
32760
-
32761
- var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
32762
- var domElement;
32763
- var namespaceURI = parentNamespace;
32764
-
32765
- if (namespaceURI === HTML_NAMESPACE) {
32766
- namespaceURI = getIntrinsicNamespace(type);
32767
- }
32768
-
32769
- if (namespaceURI === HTML_NAMESPACE) {
32770
- {
32771
- isCustomComponentTag = isCustomComponent(type, props); // Should this check be gated by parent namespace? Not sure we want to
32772
- // allow <SVG> or <mATH>.
32773
-
32774
- !(isCustomComponentTag || type === type.toLowerCase()) ? warning$1(false, '<%s /> is using incorrect casing. ' + 'Use PascalCase for React components, ' + 'or lowercase for HTML elements.', type) : void 0;
32775
- }
32776
-
32777
- if (type === 'script') {
32778
- // Create the script via .innerHTML so its "parser-inserted" flag is
32779
- // set to true and it does not execute
32780
- var div = ownerDocument.createElement('div');
32781
-
32782
- {
32783
- if (enableTrustedTypesIntegration && !didWarnScriptTags) {
32784
- warning$1(false, 'Encountered a script tag while rendering React component. ' + 'Scripts inside React components are never executed when rendering ' + 'on the client. Consider using template tag instead ' + '(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template).');
32785
- didWarnScriptTags = true;
32786
- }
32787
- }
32788
-
32789
- div.innerHTML = '<script><' + '/script>'; // eslint-disable-line
32790
- // This is guaranteed to yield a script element.
32791
-
32792
- var firstChild = div.firstChild;
32793
- domElement = div.removeChild(firstChild);
32794
- } else if (typeof props.is === 'string') {
32795
- // $FlowIssue `createElement` should be updated for Web Components
32796
- domElement = ownerDocument.createElement(type, {
32797
- is: props.is
32798
- });
32799
- } else {
32800
- // Separate else branch instead of using `props.is || undefined` above because of a Firefox bug.
32801
- // See discussion in https://github.com/facebook/react/pull/6896
32802
- // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240
32803
- domElement = ownerDocument.createElement(type); // Normally attributes are assigned in `setInitialDOMProperties`, however the `multiple` and `size`
32804
- // attributes on `select`s needs to be added before `option`s are inserted.
32805
- // This prevents:
32806
- // - a bug where the `select` does not scroll to the correct option because singular
32807
- // `select` elements automatically pick the first item #13222
32808
- // - a bug where the `select` set the first item as selected despite the `size` attribute #14239
32809
- // See https://github.com/facebook/react/issues/13222
32810
- // and https://github.com/facebook/react/issues/14239
32811
-
32812
- if (type === 'select') {
32813
- var node = domElement;
32814
-
32815
- if (props.multiple) {
32816
- node.multiple = true;
32817
- } else if (props.size) {
32818
- // Setting a size greater than 1 causes a select to behave like `multiple=true`, where
32819
- // it is possible that no option is selected.
32820
- //
32821
- // This is only necessary when a select in "single selection mode".
32822
- node.size = props.size;
32823
- }
32824
- }
32825
- }
32826
- } else {
32827
- domElement = ownerDocument.createElementNS(namespaceURI, type);
32828
- }
32829
-
32830
- {
32831
- if (namespaceURI === HTML_NAMESPACE) {
32832
- if (!isCustomComponentTag && Object.prototype.toString.call(domElement) === '[object HTMLUnknownElement]' && !Object.prototype.hasOwnProperty.call(warnedUnknownTags, type)) {
32833
- warnedUnknownTags[type] = true;
32834
- warning$1(false, 'The tag <%s> is unrecognized in this browser. ' + 'If you meant to render a React component, start its name with ' + 'an uppercase letter.', type);
32835
- }
32836
- }
32837
- }
32838
-
32839
- return domElement;
32840
- }
32841
- function createTextNode(text, rootContainerElement) {
32842
- return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text);
32843
- }
32844
- function setInitialProperties(domElement, tag, rawProps, rootContainerElement) {
32845
- var isCustomComponentTag = isCustomComponent(tag, rawProps);
32846
-
32847
- {
32848
- validatePropertiesInDevelopment(tag, rawProps);
32849
-
32850
- if (isCustomComponentTag && !didWarnShadyDOM && domElement.shadyRoot) {
32851
- warning$1(false, '%s is using shady DOM. Using shady DOM with React can ' + 'cause things to break subtly.', getCurrentFiberOwnerNameInDevOrNull() || 'A component');
32852
- didWarnShadyDOM = true;
32853
- }
32854
- } // TODO: Make sure that we check isMounted before firing any of these events.
32855
-
32856
-
32857
- var props;
32858
-
32859
- switch (tag) {
32860
- case 'iframe':
32861
- case 'object':
32862
- case 'embed':
32863
- trapBubbledEvent(TOP_LOAD, domElement);
32864
- props = rawProps;
32865
- break;
32866
-
32867
- case 'video':
32868
- case 'audio':
32869
- // Create listener for each media event
32870
- for (var i = 0; i < mediaEventTypes.length; i++) {
32871
- trapBubbledEvent(mediaEventTypes[i], domElement);
32872
- }
32873
-
32874
- props = rawProps;
32875
- break;
32876
-
32877
- case 'source':
32878
- trapBubbledEvent(TOP_ERROR, domElement);
32879
- props = rawProps;
32880
- break;
32881
-
32882
- case 'img':
32883
- case 'image':
32884
- case 'link':
32885
- trapBubbledEvent(TOP_ERROR, domElement);
32886
- trapBubbledEvent(TOP_LOAD, domElement);
32887
- props = rawProps;
32888
- break;
32889
-
32890
- case 'form':
32891
- trapBubbledEvent(TOP_RESET, domElement);
32892
- trapBubbledEvent(TOP_SUBMIT, domElement);
32893
- props = rawProps;
32894
- break;
32895
-
32896
- case 'details':
32897
- trapBubbledEvent(TOP_TOGGLE, domElement);
32898
- props = rawProps;
32899
- break;
32900
-
32901
- case 'input':
32902
- initWrapperState(domElement, rawProps);
32903
- props = getHostProps(domElement, rawProps);
32904
- trapBubbledEvent(TOP_INVALID, domElement); // For controlled components we always need to ensure we're listening
32905
- // to onChange. Even if there is no listener.
32906
-
32907
- ensureListeningTo(rootContainerElement, 'onChange');
32908
- break;
32909
-
32910
- case 'option':
32911
- validateProps(domElement, rawProps);
32912
- props = getHostProps$1(domElement, rawProps);
32913
- break;
32914
-
32915
- case 'select':
32916
- initWrapperState$1(domElement, rawProps);
32917
- props = getHostProps$2(domElement, rawProps);
32918
- trapBubbledEvent(TOP_INVALID, domElement); // For controlled components we always need to ensure we're listening
32919
- // to onChange. Even if there is no listener.
32920
-
32921
- ensureListeningTo(rootContainerElement, 'onChange');
32922
- break;
32923
-
32924
- case 'textarea':
32925
- initWrapperState$2(domElement, rawProps);
32926
- props = getHostProps$3(domElement, rawProps);
32927
- trapBubbledEvent(TOP_INVALID, domElement); // For controlled components we always need to ensure we're listening
32928
- // to onChange. Even if there is no listener.
32929
-
32930
- ensureListeningTo(rootContainerElement, 'onChange');
32931
- break;
32932
-
32933
- default:
32934
- props = rawProps;
32935
- }
32936
-
32937
- assertValidProps(tag, props);
32938
- setInitialDOMProperties(tag, domElement, rootContainerElement, props, isCustomComponentTag);
32939
-
32940
- switch (tag) {
32941
- case 'input':
32942
- // TODO: Make sure we check if this is still unmounted or do any clean
32943
- // up necessary since we never stop tracking anymore.
32944
- track(domElement);
32945
- postMountWrapper(domElement, rawProps, false);
32946
- break;
32947
-
32948
- case 'textarea':
32949
- // TODO: Make sure we check if this is still unmounted or do any clean
32950
- // up necessary since we never stop tracking anymore.
32951
- track(domElement);
32952
- postMountWrapper$3(domElement, rawProps);
32953
- break;
32954
-
32955
- case 'option':
32956
- postMountWrapper$1(domElement, rawProps);
32957
- break;
32958
-
32959
- case 'select':
32960
- postMountWrapper$2(domElement, rawProps);
32961
- break;
32962
-
32963
- default:
32964
- if (typeof props.onClick === 'function') {
32965
- // TODO: This cast may not be sound for SVG, MathML or custom elements.
32966
- trapClickOnNonInteractiveElement(domElement);
32967
- }
32968
-
32969
- break;
32970
- }
32971
- } // Calculate the diff between the two objects.
32972
-
32973
- function diffProperties(domElement, tag, lastRawProps, nextRawProps, rootContainerElement) {
32974
- {
32975
- validatePropertiesInDevelopment(tag, nextRawProps);
32976
- }
32977
-
32978
- var updatePayload = null;
32979
- var lastProps;
32980
- var nextProps;
32981
-
32982
- switch (tag) {
32983
- case 'input':
32984
- lastProps = getHostProps(domElement, lastRawProps);
32985
- nextProps = getHostProps(domElement, nextRawProps);
32986
- updatePayload = [];
32987
- break;
32988
-
32989
- case 'option':
32990
- lastProps = getHostProps$1(domElement, lastRawProps);
32991
- nextProps = getHostProps$1(domElement, nextRawProps);
32992
- updatePayload = [];
32993
- break;
32994
-
32995
- case 'select':
32996
- lastProps = getHostProps$2(domElement, lastRawProps);
32997
- nextProps = getHostProps$2(domElement, nextRawProps);
32998
- updatePayload = [];
32999
- break;
33000
-
33001
- case 'textarea':
33002
- lastProps = getHostProps$3(domElement, lastRawProps);
33003
- nextProps = getHostProps$3(domElement, nextRawProps);
33004
- updatePayload = [];
33005
- break;
33006
-
33007
- default:
33008
- lastProps = lastRawProps;
33009
- nextProps = nextRawProps;
33010
-
33011
- if (typeof lastProps.onClick !== 'function' && typeof nextProps.onClick === 'function') {
33012
- // TODO: This cast may not be sound for SVG, MathML or custom elements.
33013
- trapClickOnNonInteractiveElement(domElement);
33014
- }
33015
-
33016
- break;
33017
- }
33018
-
33019
- assertValidProps(tag, nextProps);
33020
- var propKey;
33021
- var styleName;
33022
- var styleUpdates = null;
33023
-
33024
- for (propKey in lastProps) {
33025
- if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {
33026
- continue;
33027
- }
33028
-
33029
- if (propKey === STYLE$1) {
33030
- var lastStyle = lastProps[propKey];
33031
-
33032
- for (styleName in lastStyle) {
33033
- if (lastStyle.hasOwnProperty(styleName)) {
33034
- if (!styleUpdates) {
33035
- styleUpdates = {};
33036
- }
33037
-
33038
- styleUpdates[styleName] = '';
33039
- }
33040
- }
33041
- } else if (propKey === DANGEROUSLY_SET_INNER_HTML || propKey === CHILDREN) {// Noop. This is handled by the clear text mechanism.
33042
- } else if (enableFlareAPI && propKey === LISTENERS || propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {// Noop
33043
- } else if (propKey === AUTOFOCUS) {// Noop. It doesn't work on updates anyway.
33044
- } else if (registrationNameModules.hasOwnProperty(propKey)) {
33045
- // This is a special case. If any listener updates we need to ensure
33046
- // that the "current" fiber pointer gets updated so we need a commit
33047
- // to update this element.
33048
- if (!updatePayload) {
33049
- updatePayload = [];
33050
- }
33051
- } else {
33052
- // For all other deleted properties we add it to the queue. We use
33053
- // the whitelist in the commit phase instead.
33054
- (updatePayload = updatePayload || []).push(propKey, null);
33055
- }
33056
- }
33057
-
33058
- for (propKey in nextProps) {
33059
- var nextProp = nextProps[propKey];
33060
- var lastProp = lastProps != null ? lastProps[propKey] : undefined;
33061
-
33062
- if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {
33063
- continue;
33064
- }
33065
-
33066
- if (propKey === STYLE$1) {
33067
- {
33068
- if (nextProp) {
33069
- // Freeze the next style object so that we can assume it won't be
33070
- // mutated. We have already warned for this in the past.
33071
- Object.freeze(nextProp);
33072
- }
33073
- }
33074
-
33075
- if (lastProp) {
33076
- // Unset styles on `lastProp` but not on `nextProp`.
33077
- for (styleName in lastProp) {
33078
- if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {
33079
- if (!styleUpdates) {
33080
- styleUpdates = {};
33081
- }
33082
-
33083
- styleUpdates[styleName] = '';
33084
- }
33085
- } // Update styles that changed since `lastProp`.
33086
-
33087
-
33088
- for (styleName in nextProp) {
33089
- if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {
33090
- if (!styleUpdates) {
33091
- styleUpdates = {};
33092
- }
33093
-
33094
- styleUpdates[styleName] = nextProp[styleName];
33095
- }
33096
- }
33097
- } else {
33098
- // Relies on `updateStylesByID` not mutating `styleUpdates`.
33099
- if (!styleUpdates) {
33100
- if (!updatePayload) {
33101
- updatePayload = [];
33102
- }
33103
-
33104
- updatePayload.push(propKey, styleUpdates);
33105
- }
33106
-
33107
- styleUpdates = nextProp;
33108
- }
33109
- } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
33110
- var nextHtml = nextProp ? nextProp[HTML] : undefined;
33111
- var lastHtml = lastProp ? lastProp[HTML] : undefined;
33112
-
33113
- if (nextHtml != null) {
33114
- if (lastHtml !== nextHtml) {
33115
- (updatePayload = updatePayload || []).push(propKey, toStringOrTrustedType(nextHtml));
33116
- }
33117
- } else {// TODO: It might be too late to clear this if we have children
33118
- // inserted already.
33119
- }
33120
- } else if (propKey === CHILDREN) {
33121
- if (lastProp !== nextProp && (typeof nextProp === 'string' || typeof nextProp === 'number')) {
33122
- (updatePayload = updatePayload || []).push(propKey, '' + nextProp);
33123
- }
33124
- } else if (enableFlareAPI && propKey === LISTENERS || propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {// Noop
33125
- } else if (registrationNameModules.hasOwnProperty(propKey)) {
33126
- if (nextProp != null) {
33127
- // We eagerly listen to this even though we haven't committed yet.
33128
- if (true && typeof nextProp !== 'function') {
33129
- warnForInvalidEventListener(propKey, nextProp);
33130
- }
33131
-
33132
- ensureListeningTo(rootContainerElement, propKey);
33133
- }
33134
-
33135
- if (!updatePayload && lastProp !== nextProp) {
33136
- // This is a special case. If any listener updates we need to ensure
33137
- // that the "current" props pointer gets updated so we need a commit
33138
- // to update this element.
33139
- updatePayload = [];
33140
- }
33141
- } else {
33142
- // For any other property we always add it to the queue and then we
33143
- // filter it out using the whitelist during the commit.
33144
- (updatePayload = updatePayload || []).push(propKey, nextProp);
33145
- }
33146
- }
33147
-
33148
- if (styleUpdates) {
33149
- {
33150
- validateShorthandPropertyCollisionInDev(styleUpdates, nextProps[STYLE$1]);
33151
- }
33152
-
33153
- (updatePayload = updatePayload || []).push(STYLE$1, styleUpdates);
33154
- }
33155
-
33156
- return updatePayload;
33157
- } // Apply the diff.
33158
-
33159
- function updateProperties(domElement, updatePayload, tag, lastRawProps, nextRawProps) {
33160
- // Update checked *before* name.
33161
- // In the middle of an update, it is possible to have multiple checked.
33162
- // When a checked radio tries to change name, browser makes another radio's checked false.
33163
- if (tag === 'input' && nextRawProps.type === 'radio' && nextRawProps.name != null) {
33164
- updateChecked(domElement, nextRawProps);
33165
- }
33166
-
33167
- var wasCustomComponentTag = isCustomComponent(tag, lastRawProps);
33168
- var isCustomComponentTag = isCustomComponent(tag, nextRawProps); // Apply the diff.
33169
-
33170
- updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag); // TODO: Ensure that an update gets scheduled if any of the special props
33171
- // changed.
33172
-
33173
- switch (tag) {
33174
- case 'input':
33175
- // Update the wrapper around inputs *after* updating props. This has to
33176
- // happen after `updateDOMProperties`. Otherwise HTML5 input validations
33177
- // raise warnings and prevent the new value from being assigned.
33178
- updateWrapper(domElement, nextRawProps);
33179
- break;
33180
-
33181
- case 'textarea':
33182
- updateWrapper$1(domElement, nextRawProps);
33183
- break;
33184
-
33185
- case 'select':
33186
- // <select> value update needs to occur after <option> children
33187
- // reconciliation
33188
- postUpdateWrapper(domElement, nextRawProps);
33189
- break;
33190
- }
33191
- }
33192
-
33193
- function getPossibleStandardName(propName) {
33194
- {
33195
- var lowerCasedName = propName.toLowerCase();
33196
-
33197
- if (!possibleStandardNames.hasOwnProperty(lowerCasedName)) {
33198
- return null;
33199
- }
33200
-
33201
- return possibleStandardNames[lowerCasedName] || null;
33202
- }
33203
-
33204
- return null;
33205
- }
33206
-
33207
- function diffHydratedProperties(domElement, tag, rawProps, parentNamespace, rootContainerElement) {
33208
- var isCustomComponentTag;
33209
- var extraAttributeNames;
33210
-
33211
- {
33212
- suppressHydrationWarning = rawProps[SUPPRESS_HYDRATION_WARNING$1] === true;
33213
- isCustomComponentTag = isCustomComponent(tag, rawProps);
33214
- validatePropertiesInDevelopment(tag, rawProps);
33215
-
33216
- if (isCustomComponentTag && !didWarnShadyDOM && domElement.shadyRoot) {
33217
- warning$1(false, '%s is using shady DOM. Using shady DOM with React can ' + 'cause things to break subtly.', getCurrentFiberOwnerNameInDevOrNull() || 'A component');
33218
- didWarnShadyDOM = true;
33219
- }
33220
- } // TODO: Make sure that we check isMounted before firing any of these events.
33221
-
33222
-
33223
- switch (tag) {
33224
- case 'iframe':
33225
- case 'object':
33226
- case 'embed':
33227
- trapBubbledEvent(TOP_LOAD, domElement);
33228
- break;
33229
-
33230
- case 'video':
33231
- case 'audio':
33232
- // Create listener for each media event
33233
- for (var i = 0; i < mediaEventTypes.length; i++) {
33234
- trapBubbledEvent(mediaEventTypes[i], domElement);
33235
- }
33236
-
33237
- break;
33238
-
33239
- case 'source':
33240
- trapBubbledEvent(TOP_ERROR, domElement);
33241
- break;
33242
-
33243
- case 'img':
33244
- case 'image':
33245
- case 'link':
33246
- trapBubbledEvent(TOP_ERROR, domElement);
33247
- trapBubbledEvent(TOP_LOAD, domElement);
33248
- break;
33249
-
33250
- case 'form':
33251
- trapBubbledEvent(TOP_RESET, domElement);
33252
- trapBubbledEvent(TOP_SUBMIT, domElement);
33253
- break;
33254
-
33255
- case 'details':
33256
- trapBubbledEvent(TOP_TOGGLE, domElement);
33257
- break;
33258
-
33259
- case 'input':
33260
- initWrapperState(domElement, rawProps);
33261
- trapBubbledEvent(TOP_INVALID, domElement); // For controlled components we always need to ensure we're listening
33262
- // to onChange. Even if there is no listener.
33263
-
33264
- ensureListeningTo(rootContainerElement, 'onChange');
33265
- break;
33266
-
33267
- case 'option':
33268
- validateProps(domElement, rawProps);
33269
- break;
33270
-
33271
- case 'select':
33272
- initWrapperState$1(domElement, rawProps);
33273
- trapBubbledEvent(TOP_INVALID, domElement); // For controlled components we always need to ensure we're listening
33274
- // to onChange. Even if there is no listener.
33275
-
33276
- ensureListeningTo(rootContainerElement, 'onChange');
33277
- break;
33278
-
33279
- case 'textarea':
33280
- initWrapperState$2(domElement, rawProps);
33281
- trapBubbledEvent(TOP_INVALID, domElement); // For controlled components we always need to ensure we're listening
33282
- // to onChange. Even if there is no listener.
33283
-
33284
- ensureListeningTo(rootContainerElement, 'onChange');
33285
- break;
33286
- }
33287
-
33288
- assertValidProps(tag, rawProps);
33289
-
33290
- {
33291
- extraAttributeNames = new Set();
33292
- var attributes = domElement.attributes;
33293
-
33294
- for (var _i = 0; _i < attributes.length; _i++) {
33295
- var name = attributes[_i].name.toLowerCase();
33296
-
33297
- switch (name) {
33298
- // Built-in SSR attribute is whitelisted
33299
- case 'data-reactroot':
33300
- break;
33301
- // Controlled attributes are not validated
33302
- // TODO: Only ignore them on controlled tags.
33303
-
33304
- case 'value':
33305
- break;
33306
-
33307
- case 'checked':
33308
- break;
33309
-
33310
- case 'selected':
33311
- break;
33312
-
33313
- default:
33314
- // Intentionally use the original name.
33315
- // See discussion in https://github.com/facebook/react/pull/10676.
33316
- extraAttributeNames.add(attributes[_i].name);
33317
- }
33318
- }
33319
- }
33320
-
33321
- var updatePayload = null;
33322
-
33323
- for (var propKey in rawProps) {
33324
- if (!rawProps.hasOwnProperty(propKey)) {
33325
- continue;
33326
- }
33327
-
33328
- var nextProp = rawProps[propKey];
33329
-
33330
- if (propKey === CHILDREN) {
33331
- // For text content children we compare against textContent. This
33332
- // might match additional HTML that is hidden when we read it using
33333
- // textContent. E.g. "foo" will match "f<span>oo</span>" but that still
33334
- // satisfies our requirement. Our requirement is not to produce perfect
33335
- // HTML and attributes. Ideally we should preserve structure but it's
33336
- // ok not to if the visible content is still enough to indicate what
33337
- // even listeners these nodes might be wired up to.
33338
- // TODO: Warn if there is more than a single textNode as a child.
33339
- // TODO: Should we use domElement.firstChild.nodeValue to compare?
33340
- if (typeof nextProp === 'string') {
33341
- if (domElement.textContent !== nextProp) {
33342
- if (true && !suppressHydrationWarning) {
33343
- warnForTextDifference(domElement.textContent, nextProp);
33344
- }
33345
-
33346
- updatePayload = [CHILDREN, nextProp];
33347
- }
33348
- } else if (typeof nextProp === 'number') {
33349
- if (domElement.textContent !== '' + nextProp) {
33350
- if (true && !suppressHydrationWarning) {
33351
- warnForTextDifference(domElement.textContent, nextProp);
33352
- }
33353
-
33354
- updatePayload = [CHILDREN, '' + nextProp];
33355
- }
33356
- }
33357
- } else if (registrationNameModules.hasOwnProperty(propKey)) {
33358
- if (nextProp != null) {
33359
- if (true && typeof nextProp !== 'function') {
33360
- warnForInvalidEventListener(propKey, nextProp);
33361
- }
33362
-
33363
- ensureListeningTo(rootContainerElement, propKey);
33364
- }
33365
- } else if (true && // Convince Flow we've calculated it (it's DEV-only in this method.)
33366
- typeof isCustomComponentTag === 'boolean') {
33367
- // Validate that the properties correspond to their expected values.
33368
- var serverValue = void 0;
33369
- var propertyInfo = getPropertyInfo(propKey);
33370
-
33371
- if (suppressHydrationWarning) {// Don't bother comparing. We're ignoring all these warnings.
33372
- } else if (enableFlareAPI && propKey === LISTENERS || propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1 || // Controlled attributes are not validated
33373
- // TODO: Only ignore them on controlled tags.
33374
- propKey === 'value' || propKey === 'checked' || propKey === 'selected') {// Noop
33375
- } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
33376
- var serverHTML = domElement.innerHTML;
33377
- var nextHtml = nextProp ? nextProp[HTML] : undefined;
33378
- var expectedHTML = normalizeHTML(domElement, nextHtml != null ? nextHtml : '');
33379
-
33380
- if (expectedHTML !== serverHTML) {
33381
- warnForPropDifference(propKey, serverHTML, expectedHTML);
33382
- }
33383
- } else if (propKey === STYLE$1) {
33384
- // $FlowFixMe - Should be inferred as not undefined.
33385
- extraAttributeNames.delete(propKey);
33386
-
33387
- if (canDiffStyleForHydrationWarning) {
33388
- var expectedStyle = createDangerousStringForStyles(nextProp);
33389
- serverValue = domElement.getAttribute('style');
33390
-
33391
- if (expectedStyle !== serverValue) {
33392
- warnForPropDifference(propKey, serverValue, expectedStyle);
33393
- }
33394
- }
33395
- } else if (isCustomComponentTag) {
33396
- // $FlowFixMe - Should be inferred as not undefined.
33397
- extraAttributeNames.delete(propKey.toLowerCase());
33398
- serverValue = getValueForAttribute(domElement, propKey, nextProp);
33399
-
33400
- if (nextProp !== serverValue) {
33401
- warnForPropDifference(propKey, serverValue, nextProp);
33402
- }
33403
- } else if (!shouldIgnoreAttribute(propKey, propertyInfo, isCustomComponentTag) && !shouldRemoveAttribute(propKey, nextProp, propertyInfo, isCustomComponentTag)) {
33404
- var isMismatchDueToBadCasing = false;
33405
-
33406
- if (propertyInfo !== null) {
33407
- // $FlowFixMe - Should be inferred as not undefined.
33408
- extraAttributeNames.delete(propertyInfo.attributeName);
33409
- serverValue = getValueForProperty(domElement, propKey, nextProp, propertyInfo);
33410
- } else {
33411
- var ownNamespace = parentNamespace;
33412
-
33413
- if (ownNamespace === HTML_NAMESPACE) {
33414
- ownNamespace = getIntrinsicNamespace(tag);
33415
- }
33416
-
33417
- if (ownNamespace === HTML_NAMESPACE) {
33418
- // $FlowFixMe - Should be inferred as not undefined.
33419
- extraAttributeNames.delete(propKey.toLowerCase());
33420
- } else {
33421
- var standardName = getPossibleStandardName(propKey);
33422
-
33423
- if (standardName !== null && standardName !== propKey) {
33424
- // If an SVG prop is supplied with bad casing, it will
33425
- // be successfully parsed from HTML, but will produce a mismatch
33426
- // (and would be incorrectly rendered on the client).
33427
- // However, we already warn about bad casing elsewhere.
33428
- // So we'll skip the misleading extra mismatch warning in this case.
33429
- isMismatchDueToBadCasing = true; // $FlowFixMe - Should be inferred as not undefined.
33430
-
33431
- extraAttributeNames.delete(standardName);
33432
- } // $FlowFixMe - Should be inferred as not undefined.
33433
-
33434
-
33435
- extraAttributeNames.delete(propKey);
33436
- }
33437
-
33438
- serverValue = getValueForAttribute(domElement, propKey, nextProp);
33439
- }
33440
-
33441
- if (nextProp !== serverValue && !isMismatchDueToBadCasing) {
33442
- warnForPropDifference(propKey, serverValue, nextProp);
33443
- }
33444
- }
33445
- }
33446
- }
33447
-
33448
- {
33449
- // $FlowFixMe - Should be inferred as not undefined.
33450
- if (extraAttributeNames.size > 0 && !suppressHydrationWarning) {
33451
- // $FlowFixMe - Should be inferred as not undefined.
33452
- warnForExtraAttributes(extraAttributeNames);
33453
- }
33454
- }
33455
-
33456
- switch (tag) {
33457
- case 'input':
33458
- // TODO: Make sure we check if this is still unmounted or do any clean
33459
- // up necessary since we never stop tracking anymore.
33460
- track(domElement);
33461
- postMountWrapper(domElement, rawProps, true);
33462
- break;
33463
-
33464
- case 'textarea':
33465
- // TODO: Make sure we check if this is still unmounted or do any clean
33466
- // up necessary since we never stop tracking anymore.
33467
- track(domElement);
33468
- postMountWrapper$3(domElement, rawProps);
33469
- break;
33470
-
33471
- case 'select':
33472
- case 'option':
33473
- // For input and textarea we current always set the value property at
33474
- // post mount to force it to diverge from attributes. However, for
33475
- // option and select we don't quite do the same thing and select
33476
- // is not resilient to the DOM state changing so we don't do that here.
33477
- // TODO: Consider not doing this for input and textarea.
33478
- break;
33479
-
33480
- default:
33481
- if (typeof rawProps.onClick === 'function') {
33482
- // TODO: This cast may not be sound for SVG, MathML or custom elements.
33483
- trapClickOnNonInteractiveElement(domElement);
33484
- }
33485
-
33486
- break;
33487
- }
33488
-
33489
- return updatePayload;
33490
- }
33491
- function diffHydratedText(textNode, text) {
33492
- var isDifferent = textNode.nodeValue !== text;
33493
- return isDifferent;
33494
- }
33495
- function warnForUnmatchedText(textNode, text) {
33496
- {
33497
- warnForTextDifference(textNode.nodeValue, text);
33498
- }
33499
- }
33500
- function warnForDeletedHydratableElement(parentNode, child) {
33501
- {
33502
- if (didWarnInvalidHydration) {
33503
- return;
33504
- }
33505
-
33506
- didWarnInvalidHydration = true;
33507
- warningWithoutStack$1(false, 'Did not expect server HTML to contain a <%s> in <%s>.', child.nodeName.toLowerCase(), parentNode.nodeName.toLowerCase());
33508
- }
33509
- }
33510
- function warnForDeletedHydratableText(parentNode, child) {
33511
- {
33512
- if (didWarnInvalidHydration) {
33513
- return;
33514
- }
33515
-
33516
- didWarnInvalidHydration = true;
33517
- warningWithoutStack$1(false, 'Did not expect server HTML to contain the text node "%s" in <%s>.', child.nodeValue, parentNode.nodeName.toLowerCase());
33518
- }
33519
- }
33520
- function warnForInsertedHydratedElement(parentNode, tag, props) {
33521
- {
33522
- if (didWarnInvalidHydration) {
33523
- return;
33524
- }
33525
-
33526
- didWarnInvalidHydration = true;
33527
- warningWithoutStack$1(false, 'Expected server HTML to contain a matching <%s> in <%s>.', tag, parentNode.nodeName.toLowerCase());
33528
- }
33529
- }
33530
- function warnForInsertedHydratedText(parentNode, text) {
33531
- {
33532
- if (text === '') {
33533
- // We expect to insert empty text nodes since they're not represented in
33534
- // the HTML.
33535
- // TODO: Remove this special case if we can just avoid inserting empty
33536
- // text nodes.
33537
- return;
33538
- }
33539
-
33540
- if (didWarnInvalidHydration) {
33541
- return;
33542
- }
33543
-
33544
- didWarnInvalidHydration = true;
33545
- warningWithoutStack$1(false, 'Expected server HTML to contain a matching text node for "%s" in <%s>.', text, parentNode.nodeName.toLowerCase());
33546
- }
33547
- }
33548
- function restoreControlledState$$1(domElement, tag, props) {
33549
- switch (tag) {
33550
- case 'input':
33551
- restoreControlledState$1(domElement, props);
33552
- return;
33553
-
33554
- case 'textarea':
33555
- restoreControlledState$3(domElement, props);
33556
- return;
33557
-
33558
- case 'select':
33559
- restoreControlledState$2(domElement, props);
33560
- return;
33561
- }
33562
- }
33563
- function listenToEventResponderEventTypes(eventTypes, element) {
33564
- if (enableFlareAPI) {
33565
- // Get the listening Set for this element. We use this to track
33566
- // what events we're listening to.
33567
- var listeningSet = getListeningSetForElement(element); // Go through each target event type of the event responder
33568
-
33569
- for (var i = 0, length = eventTypes.length; i < length; ++i) {
33570
- var eventType = eventTypes[i];
33571
- var isPassive = !endsWith(eventType, '_active');
33572
- var eventKey = isPassive ? eventType + '_passive' : eventType;
33573
- var targetEventType = isPassive ? eventType : eventType.substring(0, eventType.length - 7);
33574
-
33575
- if (!listeningSet.has(eventKey)) {
33576
- trapEventForResponderEventSystem(element, targetEventType, isPassive);
33577
- listeningSet.add(eventKey);
33578
- }
33579
- }
33580
- }
33581
- } // We can remove this once the event API is stable and out of a flag
33582
-
33583
- if (enableFlareAPI) {
33584
- setListenToResponderEventTypes(listenToEventResponderEventTypes);
33585
- }
33586
-
33587
- function getActiveElement(doc) {
33588
- doc = doc || (typeof document !== 'undefined' ? document : undefined);
33589
-
33590
- if (typeof doc === 'undefined') {
33591
- return null;
33592
- }
33593
-
33594
- try {
33595
- return doc.activeElement || doc.body;
33596
- } catch (e) {
33597
- return doc.body;
33598
- }
33599
- }
33600
-
33601
- /**
33602
- * Given any node return the first leaf node without children.
33603
- *
33604
- * @param {DOMElement|DOMTextNode} node
33605
- * @return {DOMElement|DOMTextNode}
33606
- */
33607
-
33608
- function getLeafNode(node) {
33609
- while (node && node.firstChild) {
33610
- node = node.firstChild;
33611
- }
33612
-
33613
- return node;
33614
- }
33615
- /**
33616
- * Get the next sibling within a container. This will walk up the
33617
- * DOM if a node's siblings have been exhausted.
33618
- *
33619
- * @param {DOMElement|DOMTextNode} node
33620
- * @return {?DOMElement|DOMTextNode}
33621
- */
33622
-
33623
-
33624
- function getSiblingNode(node) {
33625
- while (node) {
33626
- if (node.nextSibling) {
33627
- return node.nextSibling;
33628
- }
33629
-
33630
- node = node.parentNode;
33631
- }
33632
- }
33633
- /**
33634
- * Get object describing the nodes which contain characters at offset.
33635
- *
33636
- * @param {DOMElement|DOMTextNode} root
33637
- * @param {number} offset
33638
- * @return {?object}
33639
- */
33640
-
33641
-
33642
- function getNodeForCharacterOffset(root, offset) {
33643
- var node = getLeafNode(root);
33644
- var nodeStart = 0;
33645
- var nodeEnd = 0;
33646
-
33647
- while (node) {
33648
- if (node.nodeType === TEXT_NODE) {
33649
- nodeEnd = nodeStart + node.textContent.length;
33650
-
33651
- if (nodeStart <= offset && nodeEnd >= offset) {
33652
- return {
33653
- node: node,
33654
- offset: offset - nodeStart
33655
- };
33656
- }
33657
-
33658
- nodeStart = nodeEnd;
33659
- }
33660
-
33661
- node = getLeafNode(getSiblingNode(node));
33662
- }
33663
- }
33664
-
33665
- /**
33666
- * @param {DOMElement} outerNode
33667
- * @return {?object}
33668
- */
33669
-
33670
- function getOffsets(outerNode) {
33671
- var ownerDocument = outerNode.ownerDocument;
33672
- var win = ownerDocument && ownerDocument.defaultView || window;
33673
- var selection = win.getSelection && win.getSelection();
33674
-
33675
- if (!selection || selection.rangeCount === 0) {
33676
- return null;
33677
- }
33678
-
33679
- var anchorNode = selection.anchorNode,
33680
- anchorOffset = selection.anchorOffset,
33681
- focusNode = selection.focusNode,
33682
- focusOffset = selection.focusOffset; // In Firefox, anchorNode and focusNode can be "anonymous divs", e.g. the
33683
- // up/down buttons on an <input type="number">. Anonymous divs do not seem to
33684
- // expose properties, triggering a "Permission denied error" if any of its
33685
- // properties are accessed. The only seemingly possible way to avoid erroring
33686
- // is to access a property that typically works for non-anonymous divs and
33687
- // catch any error that may otherwise arise. See
33688
- // https://bugzilla.mozilla.org/show_bug.cgi?id=208427
33689
-
33690
- try {
33691
- /* eslint-disable no-unused-expressions */
33692
- anchorNode.nodeType;
33693
- focusNode.nodeType;
33694
- /* eslint-enable no-unused-expressions */
33695
- } catch (e) {
33696
- return null;
33697
- }
33698
-
33699
- return getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset);
33700
- }
33701
- /**
33702
- * Returns {start, end} where `start` is the character/codepoint index of
33703
- * (anchorNode, anchorOffset) within the textContent of `outerNode`, and
33704
- * `end` is the index of (focusNode, focusOffset).
33705
- *
33706
- * Returns null if you pass in garbage input but we should probably just crash.
33707
- *
33708
- * Exported only for testing.
33709
- */
33710
-
33711
- function getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset) {
33712
- var length = 0;
33713
- var start = -1;
33714
- var end = -1;
33715
- var indexWithinAnchor = 0;
33716
- var indexWithinFocus = 0;
33717
- var node = outerNode;
33718
- var parentNode = null;
33719
-
33720
- outer: while (true) {
33721
- var next = null;
33722
-
33723
- while (true) {
33724
- if (node === anchorNode && (anchorOffset === 0 || node.nodeType === TEXT_NODE)) {
33725
- start = length + anchorOffset;
33726
- }
33727
-
33728
- if (node === focusNode && (focusOffset === 0 || node.nodeType === TEXT_NODE)) {
33729
- end = length + focusOffset;
33730
- }
33731
-
33732
- if (node.nodeType === TEXT_NODE) {
33733
- length += node.nodeValue.length;
33734
- }
33735
-
33736
- if ((next = node.firstChild) === null) {
33737
- break;
33738
- } // Moving from `node` to its first child `next`.
33739
-
33740
-
33741
- parentNode = node;
33742
- node = next;
33743
- }
33744
-
33745
- while (true) {
33746
- if (node === outerNode) {
33747
- // If `outerNode` has children, this is always the second time visiting
33748
- // it. If it has no children, this is still the first loop, and the only
33749
- // valid selection is anchorNode and focusNode both equal to this node
33750
- // and both offsets 0, in which case we will have handled above.
33751
- break outer;
33752
- }
33753
-
33754
- if (parentNode === anchorNode && ++indexWithinAnchor === anchorOffset) {
33755
- start = length;
33756
- }
33757
-
33758
- if (parentNode === focusNode && ++indexWithinFocus === focusOffset) {
33759
- end = length;
33760
- }
33761
-
33762
- if ((next = node.nextSibling) !== null) {
33763
- break;
33764
- }
33765
-
33766
- node = parentNode;
33767
- parentNode = node.parentNode;
33768
- } // Moving from `node` to its next sibling `next`.
33769
-
33770
-
33771
- node = next;
33772
- }
33773
-
33774
- if (start === -1 || end === -1) {
33775
- // This should never happen. (Would happen if the anchor/focus nodes aren't
33776
- // actually inside the passed-in node.)
33777
- return null;
33778
- }
33779
-
33780
- return {
33781
- start: start,
33782
- end: end
33783
- };
33784
- }
33785
- /**
33786
- * In modern non-IE browsers, we can support both forward and backward
33787
- * selections.
33788
- *
33789
- * Note: IE10+ supports the Selection object, but it does not support
33790
- * the `extend` method, which means that even in modern IE, it's not possible
33791
- * to programmatically create a backward selection. Thus, for all IE
33792
- * versions, we use the old IE API to create our selections.
33793
- *
33794
- * @param {DOMElement|DOMTextNode} node
33795
- * @param {object} offsets
33796
- */
33797
-
33798
- function setOffsets(node, offsets) {
33799
- var doc = node.ownerDocument || document;
33800
- var win = doc && doc.defaultView || window; // Edge fails with "Object expected" in some scenarios.
33801
- // (For instance: TinyMCE editor used in a list component that supports pasting to add more,
33802
- // fails when pasting 100+ items)
33803
-
33804
- if (!win.getSelection) {
33805
- return;
33806
- }
33807
-
33808
- var selection = win.getSelection();
33809
- var length = node.textContent.length;
33810
- var start = Math.min(offsets.start, length);
33811
- var end = offsets.end === undefined ? start : Math.min(offsets.end, length); // IE 11 uses modern selection, but doesn't support the extend method.
33812
- // Flip backward selections, so we can set with a single range.
33813
-
33814
- if (!selection.extend && start > end) {
33815
- var temp = end;
33816
- end = start;
33817
- start = temp;
33818
- }
33819
-
33820
- var startMarker = getNodeForCharacterOffset(node, start);
33821
- var endMarker = getNodeForCharacterOffset(node, end);
33822
-
33823
- if (startMarker && endMarker) {
33824
- if (selection.rangeCount === 1 && selection.anchorNode === startMarker.node && selection.anchorOffset === startMarker.offset && selection.focusNode === endMarker.node && selection.focusOffset === endMarker.offset) {
33825
- return;
33826
- }
33827
-
33828
- var range = doc.createRange();
33829
- range.setStart(startMarker.node, startMarker.offset);
33830
- selection.removeAllRanges();
33831
-
33832
- if (start > end) {
33833
- selection.addRange(range);
33834
- selection.extend(endMarker.node, endMarker.offset);
33835
- } else {
33836
- range.setEnd(endMarker.node, endMarker.offset);
33837
- selection.addRange(range);
33838
- }
33839
- }
33840
- }
33841
-
33842
- function isTextNode(node) {
33843
- return node && node.nodeType === TEXT_NODE;
33844
- }
33845
-
33846
- function containsNode(outerNode, innerNode) {
33847
- if (!outerNode || !innerNode) {
33848
- return false;
33849
- } else if (outerNode === innerNode) {
33850
- return true;
33851
- } else if (isTextNode(outerNode)) {
33852
- return false;
33853
- } else if (isTextNode(innerNode)) {
33854
- return containsNode(outerNode, innerNode.parentNode);
33855
- } else if ('contains' in outerNode) {
33856
- return outerNode.contains(innerNode);
33857
- } else if (outerNode.compareDocumentPosition) {
33858
- return !!(outerNode.compareDocumentPosition(innerNode) & 16);
33859
- } else {
33860
- return false;
33861
- }
33862
- }
33863
-
33864
- function isInDocument(node) {
33865
- return node && node.ownerDocument && containsNode(node.ownerDocument.documentElement, node);
33866
- }
33867
-
33868
- function isSameOriginFrame(iframe) {
33869
- try {
33870
- // Accessing the contentDocument of a HTMLIframeElement can cause the browser
33871
- // to throw, e.g. if it has a cross-origin src attribute.
33872
- // Safari will show an error in the console when the access results in "Blocked a frame with origin". e.g:
33873
- // iframe.contentDocument.defaultView;
33874
- // A safety way is to access one of the cross origin properties: Window or Location
33875
- // Which might result in "SecurityError" DOM Exception and it is compatible to Safari.
33876
- // https://html.spec.whatwg.org/multipage/browsers.html#integration-with-idl
33877
- return typeof iframe.contentWindow.location.href === 'string';
33878
- } catch (err) {
33879
- return false;
33880
- }
33881
- }
33882
-
33883
- function getActiveElementDeep() {
33884
- var win = window;
33885
- var element = getActiveElement();
33886
-
33887
- while (element instanceof win.HTMLIFrameElement) {
33888
- if (isSameOriginFrame(element)) {
33889
- win = element.contentWindow;
33890
- } else {
33891
- return element;
33892
- }
33893
-
33894
- element = getActiveElement(win.document);
33895
- }
33896
-
33897
- return element;
33898
- }
33899
- /**
33900
- * @ReactInputSelection: React input selection module. Based on Selection.js,
33901
- * but modified to be suitable for react and has a couple of bug fixes (doesn't
33902
- * assume buttons have range selections allowed).
33903
- * Input selection module for React.
33904
- */
33905
-
33906
- /**
33907
- * @hasSelectionCapabilities: we get the element types that support selection
33908
- * from https://html.spec.whatwg.org/#do-not-apply, looking at `selectionStart`
33909
- * and `selectionEnd` rows.
33910
- */
33911
-
33912
-
33913
- function hasSelectionCapabilities(elem) {
33914
- var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
33915
- return nodeName && (nodeName === 'input' && (elem.type === 'text' || elem.type === 'search' || elem.type === 'tel' || elem.type === 'url' || elem.type === 'password') || nodeName === 'textarea' || elem.contentEditable === 'true');
33916
- }
33917
- function getSelectionInformation() {
33918
- var focusedElem = getActiveElementDeep();
33919
- return {
33920
- focusedElem: focusedElem,
33921
- selectionRange: hasSelectionCapabilities(focusedElem) ? getSelection(focusedElem) : null
33922
- };
33923
- }
33924
- /**
33925
- * @restoreSelection: If any selection information was potentially lost,
33926
- * restore it. This is useful when performing operations that could remove dom
33927
- * nodes and place them back in, resulting in focus being lost.
33928
- */
33929
-
33930
- function restoreSelection(priorSelectionInformation) {
33931
- var curFocusedElem = getActiveElementDeep();
33932
- var priorFocusedElem = priorSelectionInformation.focusedElem;
33933
- var priorSelectionRange = priorSelectionInformation.selectionRange;
33934
-
33935
- if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {
33936
- if (priorSelectionRange !== null && hasSelectionCapabilities(priorFocusedElem)) {
33937
- setSelection(priorFocusedElem, priorSelectionRange);
33938
- } // Focusing a node can change the scroll position, which is undesirable
33939
-
33940
-
33941
- var ancestors = [];
33942
- var ancestor = priorFocusedElem;
33943
-
33944
- while (ancestor = ancestor.parentNode) {
33945
- if (ancestor.nodeType === ELEMENT_NODE) {
33946
- ancestors.push({
33947
- element: ancestor,
33948
- left: ancestor.scrollLeft,
33949
- top: ancestor.scrollTop
33950
- });
33951
- }
33952
- }
33953
-
33954
- if (typeof priorFocusedElem.focus === 'function') {
33955
- priorFocusedElem.focus();
33956
- }
33957
-
33958
- for (var i = 0; i < ancestors.length; i++) {
33959
- var info = ancestors[i];
33960
- info.element.scrollLeft = info.left;
33961
- info.element.scrollTop = info.top;
33962
- }
33963
- }
33964
- }
33965
- /**
33966
- * @getSelection: Gets the selection bounds of a focused textarea, input or
33967
- * contentEditable node.
33968
- * -@input: Look up selection bounds of this input
33969
- * -@return {start: selectionStart, end: selectionEnd}
33970
- */
33971
-
33972
- function getSelection(input) {
33973
- var selection;
33974
-
33975
- if ('selectionStart' in input) {
33976
- // Modern browser with input or textarea.
33977
- selection = {
33978
- start: input.selectionStart,
33979
- end: input.selectionEnd
33980
- };
33981
- } else {
33982
- // Content editable or old IE textarea.
33983
- selection = getOffsets(input);
33984
- }
33985
-
33986
- return selection || {
33987
- start: 0,
33988
- end: 0
33989
- };
33990
- }
33991
- /**
33992
- * @setSelection: Sets the selection bounds of a textarea or input and focuses
33993
- * the input.
33994
- * -@input Set selection bounds of this input or textarea
33995
- * -@offsets Object of same form that is returned from get*
33996
- */
33997
-
33998
- function setSelection(input, offsets) {
33999
- var start = offsets.start,
34000
- end = offsets.end;
34001
-
34002
- if (end === undefined) {
34003
- end = start;
34004
- }
34005
-
34006
- if ('selectionStart' in input) {
34007
- input.selectionStart = start;
34008
- input.selectionEnd = Math.min(end, input.value.length);
34009
- } else {
34010
- setOffsets(input, offsets);
34011
- }
34012
- }
34013
-
34014
- var validateDOMNesting = function () {};
34015
-
34016
- var updatedAncestorInfo = function () {};
34017
-
34018
- {
34019
- // This validation code was written based on the HTML5 parsing spec:
34020
- // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
34021
- //
34022
- // Note: this does not catch all invalid nesting, nor does it try to (as it's
34023
- // not clear what practical benefit doing so provides); instead, we warn only
34024
- // for cases where the parser will give a parse tree differing from what React
34025
- // intended. For example, <b><div></div></b> is invalid but we don't warn
34026
- // because it still parses correctly; we do warn for other cases like nested
34027
- // <p> tags where the beginning of the second element implicitly closes the
34028
- // first, causing a confusing mess.
34029
- // https://html.spec.whatwg.org/multipage/syntax.html#special
34030
- var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp']; // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
34031
-
34032
- var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template', // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
34033
- // TODO: Distinguish by namespace here -- for <title>, including it here
34034
- // errs on the side of fewer warnings
34035
- 'foreignObject', 'desc', 'title']; // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope
34036
-
34037
- var buttonScopeTags = inScopeTags.concat(['button']); // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags
34038
-
34039
- var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];
34040
- var emptyAncestorInfo = {
34041
- current: null,
34042
- formTag: null,
34043
- aTagInScope: null,
34044
- buttonTagInScope: null,
34045
- nobrTagInScope: null,
34046
- pTagInButtonScope: null,
34047
- listItemTagAutoclosing: null,
34048
- dlItemTagAutoclosing: null
34049
- };
34050
-
34051
- updatedAncestorInfo = function (oldInfo, tag) {
34052
- var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);
34053
-
34054
- var info = {
34055
- tag: tag
34056
- };
34057
-
34058
- if (inScopeTags.indexOf(tag) !== -1) {
34059
- ancestorInfo.aTagInScope = null;
34060
- ancestorInfo.buttonTagInScope = null;
34061
- ancestorInfo.nobrTagInScope = null;
34062
- }
34063
-
34064
- if (buttonScopeTags.indexOf(tag) !== -1) {
34065
- ancestorInfo.pTagInButtonScope = null;
34066
- } // See rules for 'li', 'dd', 'dt' start tags in
34067
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
34068
-
34069
-
34070
- if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {
34071
- ancestorInfo.listItemTagAutoclosing = null;
34072
- ancestorInfo.dlItemTagAutoclosing = null;
34073
- }
34074
-
34075
- ancestorInfo.current = info;
34076
-
34077
- if (tag === 'form') {
34078
- ancestorInfo.formTag = info;
34079
- }
34080
-
34081
- if (tag === 'a') {
34082
- ancestorInfo.aTagInScope = info;
34083
- }
34084
-
34085
- if (tag === 'button') {
34086
- ancestorInfo.buttonTagInScope = info;
34087
- }
34088
-
34089
- if (tag === 'nobr') {
34090
- ancestorInfo.nobrTagInScope = info;
34091
- }
34092
-
34093
- if (tag === 'p') {
34094
- ancestorInfo.pTagInButtonScope = info;
34095
- }
34096
-
34097
- if (tag === 'li') {
34098
- ancestorInfo.listItemTagAutoclosing = info;
34099
- }
34100
-
34101
- if (tag === 'dd' || tag === 'dt') {
34102
- ancestorInfo.dlItemTagAutoclosing = info;
34103
- }
34104
-
34105
- return ancestorInfo;
34106
- };
34107
- /**
34108
- * Returns whether
34109
- */
34110
-
34111
-
34112
- var isTagValidWithParent = function (tag, parentTag) {
34113
- // First, let's check if we're in an unusual parsing mode...
34114
- switch (parentTag) {
34115
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
34116
- case 'select':
34117
- return tag === 'option' || tag === 'optgroup' || tag === '#text';
34118
-
34119
- case 'optgroup':
34120
- return tag === 'option' || tag === '#text';
34121
- // Strictly speaking, seeing an <option> doesn't mean we're in a <select>
34122
- // but
34123
-
34124
- case 'option':
34125
- return tag === '#text';
34126
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
34127
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
34128
- // No special behavior since these rules fall back to "in body" mode for
34129
- // all except special table nodes which cause bad parsing behavior anyway.
34130
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr
34131
-
34132
- case 'tr':
34133
- return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';
34134
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody
34135
-
34136
- case 'tbody':
34137
- case 'thead':
34138
- case 'tfoot':
34139
- return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';
34140
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup
34141
-
34142
- case 'colgroup':
34143
- return tag === 'col' || tag === 'template';
34144
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable
34145
-
34146
- case 'table':
34147
- return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';
34148
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead
34149
-
34150
- case 'head':
34151
- return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';
34152
- // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element
34153
-
34154
- case 'html':
34155
- return tag === 'head' || tag === 'body' || tag === 'frameset';
34156
-
34157
- case 'frameset':
34158
- return tag === 'frame';
34159
-
34160
- case '#document':
34161
- return tag === 'html';
34162
- } // Probably in the "in body" parsing mode, so we outlaw only tag combos
34163
- // where the parsing rules cause implicit opens or closes to be added.
34164
- // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
34165
-
34166
-
34167
- switch (tag) {
34168
- case 'h1':
34169
- case 'h2':
34170
- case 'h3':
34171
- case 'h4':
34172
- case 'h5':
34173
- case 'h6':
34174
- return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';
34175
-
34176
- case 'rp':
34177
- case 'rt':
34178
- return impliedEndTags.indexOf(parentTag) === -1;
34179
-
34180
- case 'body':
34181
- case 'caption':
34182
- case 'col':
34183
- case 'colgroup':
34184
- case 'frameset':
34185
- case 'frame':
34186
- case 'head':
34187
- case 'html':
34188
- case 'tbody':
34189
- case 'td':
34190
- case 'tfoot':
34191
- case 'th':
34192
- case 'thead':
34193
- case 'tr':
34194
- // These tags are only valid with a few parents that have special child
34195
- // parsing rules -- if we're down here, then none of those matched and
34196
- // so we allow it only if we don't know what the parent is, as all other
34197
- // cases are invalid.
34198
- return parentTag == null;
34199
- }
34200
-
34201
- return true;
34202
- };
34203
- /**
34204
- * Returns whether
34205
- */
34206
-
34207
-
34208
- var findInvalidAncestorForTag = function (tag, ancestorInfo) {
34209
- switch (tag) {
34210
- case 'address':
34211
- case 'article':
34212
- case 'aside':
34213
- case 'blockquote':
34214
- case 'center':
34215
- case 'details':
34216
- case 'dialog':
34217
- case 'dir':
34218
- case 'div':
34219
- case 'dl':
34220
- case 'fieldset':
34221
- case 'figcaption':
34222
- case 'figure':
34223
- case 'footer':
34224
- case 'header':
34225
- case 'hgroup':
34226
- case 'main':
34227
- case 'menu':
34228
- case 'nav':
34229
- case 'ol':
34230
- case 'p':
34231
- case 'section':
34232
- case 'summary':
34233
- case 'ul':
34234
- case 'pre':
34235
- case 'listing':
34236
- case 'table':
34237
- case 'hr':
34238
- case 'xmp':
34239
- case 'h1':
34240
- case 'h2':
34241
- case 'h3':
34242
- case 'h4':
34243
- case 'h5':
34244
- case 'h6':
34245
- return ancestorInfo.pTagInButtonScope;
34246
-
34247
- case 'form':
34248
- return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;
34249
-
34250
- case 'li':
34251
- return ancestorInfo.listItemTagAutoclosing;
34252
-
34253
- case 'dd':
34254
- case 'dt':
34255
- return ancestorInfo.dlItemTagAutoclosing;
34256
-
34257
- case 'button':
34258
- return ancestorInfo.buttonTagInScope;
34259
-
34260
- case 'a':
34261
- // Spec says something about storing a list of markers, but it sounds
34262
- // equivalent to this check.
34263
- return ancestorInfo.aTagInScope;
34264
-
34265
- case 'nobr':
34266
- return ancestorInfo.nobrTagInScope;
34267
- }
34268
-
34269
- return null;
34270
- };
34271
-
34272
- var didWarn$1 = {};
34273
-
34274
- validateDOMNesting = function (childTag, childText, ancestorInfo) {
34275
- ancestorInfo = ancestorInfo || emptyAncestorInfo;
34276
- var parentInfo = ancestorInfo.current;
34277
- var parentTag = parentInfo && parentInfo.tag;
34278
-
34279
- if (childText != null) {
34280
- !(childTag == null) ? warningWithoutStack$1(false, 'validateDOMNesting: when childText is passed, childTag should be null') : void 0;
34281
- childTag = '#text';
34282
- }
34283
-
34284
- var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;
34285
- var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);
34286
- var invalidParentOrAncestor = invalidParent || invalidAncestor;
34287
-
34288
- if (!invalidParentOrAncestor) {
34289
- return;
34290
- }
34291
-
34292
- var ancestorTag = invalidParentOrAncestor.tag;
34293
- var addendum = getCurrentFiberStackInDev();
34294
- var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + addendum;
34295
-
34296
- if (didWarn$1[warnKey]) {
34297
- return;
34298
- }
34299
-
34300
- didWarn$1[warnKey] = true;
34301
- var tagDisplayName = childTag;
34302
- var whitespaceInfo = '';
34303
-
34304
- if (childTag === '#text') {
34305
- if (/\S/.test(childText)) {
34306
- tagDisplayName = 'Text nodes';
34307
- } else {
34308
- tagDisplayName = 'Whitespace text nodes';
34309
- whitespaceInfo = " Make sure you don't have any extra whitespace between tags on " + 'each line of your source code.';
34310
- }
34311
- } else {
34312
- tagDisplayName = '<' + childTag + '>';
34313
- }
34314
-
34315
- if (invalidParent) {
34316
- var info = '';
34317
-
34318
- if (ancestorTag === 'table' && childTag === 'tr') {
34319
- info += ' Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by ' + 'the browser.';
34320
- }
34321
-
34322
- warningWithoutStack$1(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s', tagDisplayName, ancestorTag, whitespaceInfo, info, addendum);
34323
- } else {
34324
- warningWithoutStack$1(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>.%s', tagDisplayName, ancestorTag, addendum);
34325
- }
34326
- };
34327
- }
34328
-
34329
- // can re-export everything from this module.
34330
-
34331
- function shim() {
34332
- {
34333
- {
34334
- throw Error("The current renderer does not support persistence. This error is likely caused by a bug in React. Please file an issue.");
34335
- }
34336
- }
34337
- } // Persistence (when unsupported)
34338
-
34339
-
34340
- var supportsPersistence = false;
34341
- var cloneInstance = shim;
34342
- var cloneFundamentalInstance = shim;
34343
- var createContainerChildSet = shim;
34344
- var appendChildToContainerChildSet = shim;
34345
- var finalizeContainerChildren = shim;
34346
- var replaceContainerChildren = shim;
34347
- var cloneHiddenInstance = shim;
34348
- var cloneHiddenTextInstance = shim;
34349
-
34350
- var SUPPRESS_HYDRATION_WARNING;
34351
-
34352
- {
34353
- SUPPRESS_HYDRATION_WARNING = 'suppressHydrationWarning';
34354
- }
34355
-
34356
- var SUSPENSE_START_DATA = '$';
34357
- var SUSPENSE_END_DATA = '/$';
34358
- var SUSPENSE_PENDING_START_DATA = '$?';
34359
- var SUSPENSE_FALLBACK_START_DATA = '$!';
34360
- var STYLE = 'style';
34361
- var eventsEnabled = null;
34362
- var selectionInformation = null;
34363
-
34364
- function shouldAutoFocusHostComponent(type, props) {
34365
- switch (type) {
34366
- case 'button':
34367
- case 'input':
34368
- case 'select':
34369
- case 'textarea':
34370
- return !!props.autoFocus;
34371
- }
34372
-
34373
- return false;
34374
- }
34375
-
34376
- function getRootHostContext(rootContainerInstance) {
34377
- var type;
34378
- var namespace;
34379
- var nodeType = rootContainerInstance.nodeType;
34380
-
34381
- switch (nodeType) {
34382
- case DOCUMENT_NODE:
34383
- case DOCUMENT_FRAGMENT_NODE:
34384
- {
34385
- type = nodeType === DOCUMENT_NODE ? '#document' : '#fragment';
34386
- var root = rootContainerInstance.documentElement;
34387
- namespace = root ? root.namespaceURI : getChildNamespace(null, '');
34388
- break;
34389
- }
34390
-
34391
- default:
34392
- {
34393
- var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
34394
- var ownNamespace = container.namespaceURI || null;
34395
- type = container.tagName;
34396
- namespace = getChildNamespace(ownNamespace, type);
34397
- break;
34398
- }
34399
- }
34400
-
34401
- {
34402
- var validatedTag = type.toLowerCase();
34403
- var ancestorInfo = updatedAncestorInfo(null, validatedTag);
34404
- return {
34405
- namespace: namespace,
34406
- ancestorInfo: ancestorInfo
34407
- };
34408
- }
34409
-
34410
- return namespace;
34411
- }
34412
- function getChildHostContext(parentHostContext, type, rootContainerInstance) {
34413
- {
34414
- var parentHostContextDev = parentHostContext;
34415
- var namespace = getChildNamespace(parentHostContextDev.namespace, type);
34416
- var ancestorInfo = updatedAncestorInfo(parentHostContextDev.ancestorInfo, type);
34417
- return {
34418
- namespace: namespace,
34419
- ancestorInfo: ancestorInfo
34420
- };
34421
- }
34422
-
34423
- var parentNamespace = parentHostContext;
34424
- return getChildNamespace(parentNamespace, type);
34425
- }
34426
- function getPublicInstance(instance) {
34427
- return instance;
34428
- }
34429
- function prepareForCommit(containerInfo) {
34430
- eventsEnabled = isEnabled();
34431
- selectionInformation = getSelectionInformation();
34432
- setEnabled(false);
34433
- }
34434
- function resetAfterCommit(containerInfo) {
34435
- restoreSelection(selectionInformation);
34436
- selectionInformation = null;
34437
- setEnabled(eventsEnabled);
34438
- eventsEnabled = null;
34439
- }
34440
- function createInstance(type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
34441
- var parentNamespace;
34442
-
34443
- {
34444
- // TODO: take namespace into account when validating.
34445
- var hostContextDev = hostContext;
34446
- validateDOMNesting(type, null, hostContextDev.ancestorInfo);
34447
-
34448
- if (typeof props.children === 'string' || typeof props.children === 'number') {
34449
- var string = '' + props.children;
34450
- var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
34451
- validateDOMNesting(null, string, ownAncestorInfo);
34452
- }
34453
-
34454
- parentNamespace = hostContextDev.namespace;
34455
- }
34456
-
34457
- var domElement = createElement(type, props, rootContainerInstance, parentNamespace);
34458
- precacheFiberNode(internalInstanceHandle, domElement);
34459
- updateFiberProps(domElement, props);
34460
- return domElement;
34461
- }
34462
- function appendInitialChild(parentInstance, child) {
34463
- parentInstance.appendChild(child);
34464
- }
34465
- function finalizeInitialChildren(domElement, type, props, rootContainerInstance, hostContext) {
34466
- setInitialProperties(domElement, type, props, rootContainerInstance);
34467
- return shouldAutoFocusHostComponent(type, props);
34468
- }
34469
- function prepareUpdate(domElement, type, oldProps, newProps, rootContainerInstance, hostContext) {
34470
- {
34471
- var hostContextDev = hostContext;
34472
-
34473
- if (typeof newProps.children !== typeof oldProps.children && (typeof newProps.children === 'string' || typeof newProps.children === 'number')) {
34474
- var string = '' + newProps.children;
34475
- var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
34476
- validateDOMNesting(null, string, ownAncestorInfo);
34477
- }
34478
- }
34479
-
34480
- return diffProperties(domElement, type, oldProps, newProps, rootContainerInstance);
34481
- }
34482
- function shouldSetTextContent(type, props) {
34483
- return type === 'textarea' || type === 'option' || type === 'noscript' || typeof props.children === 'string' || typeof props.children === 'number' || typeof props.dangerouslySetInnerHTML === 'object' && props.dangerouslySetInnerHTML !== null && props.dangerouslySetInnerHTML.__html != null;
34484
- }
34485
- function shouldDeprioritizeSubtree(type, props) {
34486
- return !!props.hidden;
34487
- }
34488
- function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) {
34489
- {
34490
- var hostContextDev = hostContext;
34491
- validateDOMNesting(null, text, hostContextDev.ancestorInfo);
34492
- }
34493
-
34494
- var textNode = createTextNode(text, rootContainerInstance);
34495
- precacheFiberNode(internalInstanceHandle, textNode);
34496
- return textNode;
34497
- }
34498
- var isPrimaryRenderer = true;
34499
- var warnsIfNotActing = true; // This initialization code may run even on server environments
34500
- // if a component just imports ReactDOM (e.g. for findDOMNode).
34501
- // Some environments might not have setTimeout or clearTimeout.
34502
-
34503
- var scheduleTimeout = typeof setTimeout === 'function' ? setTimeout : undefined;
34504
- var cancelTimeout = typeof clearTimeout === 'function' ? clearTimeout : undefined;
34505
- var noTimeout = -1; // -------------------
34506
- // Mutation
34507
- // -------------------
34508
-
34509
- var supportsMutation = true;
34510
- function commitMount(domElement, type, newProps, internalInstanceHandle) {
34511
- // Despite the naming that might imply otherwise, this method only
34512
- // fires if there is an `Update` effect scheduled during mounting.
34513
- // This happens if `finalizeInitialChildren` returns `true` (which it
34514
- // does to implement the `autoFocus` attribute on the client). But
34515
- // there are also other cases when this might happen (such as patching
34516
- // up text content during hydration mismatch). So we'll check this again.
34517
- if (shouldAutoFocusHostComponent(type, newProps)) {
34518
- domElement.focus();
34519
- }
34520
- }
34521
- function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
34522
- // Update the props handle so that we know which props are the ones with
34523
- // with current event handlers.
34524
- updateFiberProps(domElement, newProps); // Apply the diff to the DOM node.
34525
-
34526
- updateProperties(domElement, updatePayload, type, oldProps, newProps);
34527
- }
34528
- function resetTextContent(domElement) {
34529
- setTextContent(domElement, '');
34530
- }
34531
- function commitTextUpdate(textInstance, oldText, newText) {
34532
- textInstance.nodeValue = newText;
34533
- }
34534
- function appendChild(parentInstance, child) {
34535
- parentInstance.appendChild(child);
34536
- }
34537
- function appendChildToContainer(container, child) {
34538
- var parentNode;
34539
-
34540
- if (container.nodeType === COMMENT_NODE) {
34541
- parentNode = container.parentNode;
34542
- parentNode.insertBefore(child, container);
34543
- } else {
34544
- parentNode = container;
34545
- parentNode.appendChild(child);
34546
- } // This container might be used for a portal.
34547
- // If something inside a portal is clicked, that click should bubble
34548
- // through the React tree. However, on Mobile Safari the click would
34549
- // never bubble through the *DOM* tree unless an ancestor with onclick
34550
- // event exists. So we wouldn't see it and dispatch it.
34551
- // This is why we ensure that non React root containers have inline onclick
34552
- // defined.
34553
- // https://github.com/facebook/react/issues/11918
34554
-
34555
-
34556
- var reactRootContainer = container._reactRootContainer;
34557
-
34558
- if ((reactRootContainer === null || reactRootContainer === undefined) && parentNode.onclick === null) {
34559
- // TODO: This cast may not be sound for SVG, MathML or custom elements.
34560
- trapClickOnNonInteractiveElement(parentNode);
34561
- }
34562
- }
34563
- function insertBefore(parentInstance, child, beforeChild) {
34564
- parentInstance.insertBefore(child, beforeChild);
34565
- }
34566
- function insertInContainerBefore(container, child, beforeChild) {
34567
- if (container.nodeType === COMMENT_NODE) {
34568
- container.parentNode.insertBefore(child, beforeChild);
34569
- } else {
34570
- container.insertBefore(child, beforeChild);
34571
- }
34572
- } // This is a specific event for the React Flare
34573
- // event system, so event responders can act
34574
- // accordingly to a DOM node being unmounted that
34575
- // previously had active document focus.
34576
-
34577
- function dispatchDetachedVisibleNodeEvent(child) {
34578
- if (enableFlareAPI && selectionInformation && child === selectionInformation.focusedElem) {
34579
- var targetFiber = getClosestInstanceFromNode(child); // Simlulate a blur event to the React Flare responder system.
34580
-
34581
- dispatchEventForResponderEventSystem('detachedvisiblenode', targetFiber, {
34582
- target: child,
34583
- timeStamp: Date.now()
34584
- }, child, RESPONDER_EVENT_SYSTEM | IS_PASSIVE);
34585
- }
34586
- }
34587
-
34588
- function removeChild(parentInstance, child) {
34589
- dispatchDetachedVisibleNodeEvent(child);
34590
- parentInstance.removeChild(child);
34591
- }
34592
- function removeChildFromContainer(container, child) {
34593
- if (container.nodeType === COMMENT_NODE) {
34594
- container.parentNode.removeChild(child);
34595
- } else {
34596
- dispatchDetachedVisibleNodeEvent(child);
34597
- container.removeChild(child);
34598
- }
34599
- }
34600
- function clearSuspenseBoundary(parentInstance, suspenseInstance) {
34601
- var node = suspenseInstance; // Delete all nodes within this suspense boundary.
34602
- // There might be nested nodes so we need to keep track of how
34603
- // deep we are and only break out when we're back on top.
34604
-
34605
- var depth = 0;
34606
-
34607
- do {
34608
- var nextNode = node.nextSibling;
34609
- parentInstance.removeChild(node);
34610
-
34611
- if (nextNode && nextNode.nodeType === COMMENT_NODE) {
34612
- var data = nextNode.data;
34613
-
34614
- if (data === SUSPENSE_END_DATA) {
34615
- if (depth === 0) {
34616
- parentInstance.removeChild(nextNode); // Retry if any event replaying was blocked on this.
34617
-
34618
- retryIfBlockedOn(suspenseInstance);
34619
- return;
34620
- } else {
34621
- depth--;
34622
- }
34623
- } else if (data === SUSPENSE_START_DATA || data === SUSPENSE_PENDING_START_DATA || data === SUSPENSE_FALLBACK_START_DATA) {
34624
- depth++;
34625
- }
34626
- }
34627
-
34628
- node = nextNode;
34629
- } while (node); // TODO: Warn, we didn't find the end comment boundary.
34630
- // Retry if any event replaying was blocked on this.
34631
-
34632
-
34633
- retryIfBlockedOn(suspenseInstance);
34634
- }
34635
- function clearSuspenseBoundaryFromContainer(container, suspenseInstance) {
34636
- if (container.nodeType === COMMENT_NODE) {
34637
- clearSuspenseBoundary(container.parentNode, suspenseInstance);
34638
- } else if (container.nodeType === ELEMENT_NODE) {
34639
- clearSuspenseBoundary(container, suspenseInstance);
34640
- } else {} // Document nodes should never contain suspense boundaries.
34641
- // Retry if any event replaying was blocked on this.
34642
-
34643
-
34644
- retryIfBlockedOn(container);
34645
- }
34646
- function hideInstance(instance) {
34647
- // TODO: Does this work for all element types? What about MathML? Should we
34648
- // pass host context to this method?
34649
- instance = instance;
34650
- var style = instance.style;
34651
-
34652
- if (typeof style.setProperty === 'function') {
34653
- style.setProperty('display', 'none', 'important');
34654
- } else {
34655
- style.display = 'none';
34656
- }
34657
- }
34658
- function hideTextInstance(textInstance) {
34659
- textInstance.nodeValue = '';
34660
- }
34661
- function unhideInstance(instance, props) {
34662
- instance = instance;
34663
- var styleProp = props[STYLE];
34664
- var display = styleProp !== undefined && styleProp !== null && styleProp.hasOwnProperty('display') ? styleProp.display : null;
34665
- instance.style.display = dangerousStyleValue('display', display);
34666
- }
34667
- function unhideTextInstance(textInstance, text) {
34668
- textInstance.nodeValue = text;
34669
- } // -------------------
34670
- // Hydration
34671
- // -------------------
34672
-
34673
- var supportsHydration = true;
34674
- function canHydrateInstance(instance, type, props) {
34675
- if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) {
34676
- return null;
34677
- } // This has now been refined to an element node.
34678
-
34679
-
34680
- return instance;
34681
- }
34682
- function canHydrateTextInstance(instance, text) {
34683
- if (text === '' || instance.nodeType !== TEXT_NODE) {
34684
- // Empty strings are not parsed by HTML so there won't be a correct match here.
34685
- return null;
34686
- } // This has now been refined to a text node.
34687
-
34688
-
34689
- return instance;
34690
- }
34691
- function canHydrateSuspenseInstance(instance) {
34692
- if (instance.nodeType !== COMMENT_NODE) {
34693
- // Empty strings are not parsed by HTML so there won't be a correct match here.
34694
- return null;
34695
- } // This has now been refined to a suspense node.
34696
-
34697
-
34698
- return instance;
34699
- }
34700
- function isSuspenseInstancePending(instance) {
34701
- return instance.data === SUSPENSE_PENDING_START_DATA;
34702
- }
34703
- function isSuspenseInstanceFallback(instance) {
34704
- return instance.data === SUSPENSE_FALLBACK_START_DATA;
34705
- }
34706
- function registerSuspenseInstanceRetry(instance, callback) {
34707
- instance._reactRetry = callback;
34708
- }
34709
-
34710
- function getNextHydratable(node) {
34711
- // Skip non-hydratable nodes.
34712
- for (; node != null; node = node.nextSibling) {
34713
- var nodeType = node.nodeType;
34714
-
34715
- if (nodeType === ELEMENT_NODE || nodeType === TEXT_NODE) {
34716
- break;
34717
- }
34718
-
34719
- if (enableSuspenseServerRenderer) {
34720
- if (nodeType === COMMENT_NODE) {
34721
- var nodeData = node.data;
34722
-
34723
- if (nodeData === SUSPENSE_START_DATA || nodeData === SUSPENSE_FALLBACK_START_DATA || nodeData === SUSPENSE_PENDING_START_DATA) {
34724
- break;
34725
- }
34726
- }
34727
- }
34728
- }
34729
-
34730
- return node;
34731
- }
34732
-
34733
- function getNextHydratableSibling(instance) {
34734
- return getNextHydratable(instance.nextSibling);
34735
- }
34736
- function getFirstHydratableChild(parentInstance) {
34737
- return getNextHydratable(parentInstance.firstChild);
34738
- }
34739
- function hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
34740
- precacheFiberNode(internalInstanceHandle, instance); // TODO: Possibly defer this until the commit phase where all the events
34741
- // get attached.
34742
-
34743
- updateFiberProps(instance, props);
34744
- var parentNamespace;
34745
-
34746
- {
34747
- var hostContextDev = hostContext;
34748
- parentNamespace = hostContextDev.namespace;
34749
- }
34750
-
34751
- return diffHydratedProperties(instance, type, props, parentNamespace, rootContainerInstance);
34752
- }
34753
- function hydrateTextInstance(textInstance, text, internalInstanceHandle) {
34754
- precacheFiberNode(internalInstanceHandle, textInstance);
34755
- return diffHydratedText(textInstance, text);
34756
- }
34757
- function hydrateSuspenseInstance(suspenseInstance, internalInstanceHandle) {
34758
- precacheFiberNode(internalInstanceHandle, suspenseInstance);
34759
- }
34760
- function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) {
34761
- var node = suspenseInstance.nextSibling; // Skip past all nodes within this suspense boundary.
34762
- // There might be nested nodes so we need to keep track of how
34763
- // deep we are and only break out when we're back on top.
34764
-
34765
- var depth = 0;
34766
-
34767
- while (node) {
34768
- if (node.nodeType === COMMENT_NODE) {
34769
- var data = node.data;
34770
-
34771
- if (data === SUSPENSE_END_DATA) {
34772
- if (depth === 0) {
34773
- return getNextHydratableSibling(node);
34774
- } else {
34775
- depth--;
34776
- }
34777
- } else if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) {
34778
- depth++;
34779
- }
34780
- }
34781
-
34782
- node = node.nextSibling;
34783
- } // TODO: Warn, we didn't find the end comment boundary.
34784
-
34785
-
34786
- return null;
34787
- } // Returns the SuspenseInstance if this node is a direct child of a
34788
- // SuspenseInstance. I.e. if its previous sibling is a Comment with
34789
- // SUSPENSE_x_START_DATA. Otherwise, null.
34790
-
34791
- function getParentSuspenseInstance(targetInstance) {
34792
- var node = targetInstance.previousSibling; // Skip past all nodes within this suspense boundary.
34793
- // There might be nested nodes so we need to keep track of how
34794
- // deep we are and only break out when we're back on top.
34795
-
34796
- var depth = 0;
34797
-
34798
- while (node) {
34799
- if (node.nodeType === COMMENT_NODE) {
34800
- var data = node.data;
34801
-
34802
- if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) {
34803
- if (depth === 0) {
34804
- return node;
34805
- } else {
34806
- depth--;
34807
- }
34808
- } else if (data === SUSPENSE_END_DATA) {
34809
- depth++;
34810
- }
34811
- }
34812
-
34813
- node = node.previousSibling;
34814
- }
34815
-
34816
- return null;
34817
- }
34818
- function commitHydratedContainer(container) {
34819
- // Retry if any event replaying was blocked on this.
34820
- retryIfBlockedOn(container);
34821
- }
34822
- function commitHydratedSuspenseInstance(suspenseInstance) {
34823
- // Retry if any event replaying was blocked on this.
34824
- retryIfBlockedOn(suspenseInstance);
34825
- }
34826
- function didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, text) {
34827
- {
34828
- warnForUnmatchedText(textInstance, text);
34829
- }
34830
- }
34831
- function didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, text) {
34832
- if (true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
34833
- warnForUnmatchedText(textInstance, text);
34834
- }
34835
- }
34836
- function didNotHydrateContainerInstance(parentContainer, instance) {
34837
- {
34838
- if (instance.nodeType === ELEMENT_NODE) {
34839
- warnForDeletedHydratableElement(parentContainer, instance);
34840
- } else if (instance.nodeType === COMMENT_NODE) {// TODO: warnForDeletedHydratableSuspenseBoundary
34841
- } else {
34842
- warnForDeletedHydratableText(parentContainer, instance);
34843
- }
34844
- }
34845
- }
34846
- function didNotHydrateInstance(parentType, parentProps, parentInstance, instance) {
34847
- if (true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
34848
- if (instance.nodeType === ELEMENT_NODE) {
34849
- warnForDeletedHydratableElement(parentInstance, instance);
34850
- } else if (instance.nodeType === COMMENT_NODE) {// TODO: warnForDeletedHydratableSuspenseBoundary
34851
- } else {
34852
- warnForDeletedHydratableText(parentInstance, instance);
34853
- }
34854
- }
34855
- }
34856
- function didNotFindHydratableContainerInstance(parentContainer, type, props) {
34857
- {
34858
- warnForInsertedHydratedElement(parentContainer, type, props);
34859
- }
34860
- }
34861
- function didNotFindHydratableContainerTextInstance(parentContainer, text) {
34862
- {
34863
- warnForInsertedHydratedText(parentContainer, text);
34864
- }
34865
- }
34866
-
34867
- function didNotFindHydratableInstance(parentType, parentProps, parentInstance, type, props) {
34868
- if (true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
34869
- warnForInsertedHydratedElement(parentInstance, type, props);
34870
- }
34871
- }
34872
- function didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, text) {
34873
- if (true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
34874
- warnForInsertedHydratedText(parentInstance, text);
34875
- }
34876
- }
34877
- function didNotFindHydratableSuspenseInstance(parentType, parentProps, parentInstance) {
34878
- if (true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {// TODO: warnForInsertedHydratedSuspense(parentInstance);
34879
- }
34880
- }
34881
- function mountResponderInstance(responder, responderInstance, responderProps, responderState, instance) {
34882
- // Listen to events
34883
- var doc = instance.ownerDocument;
34884
- var _ref = responder,
34885
- rootEventTypes = _ref.rootEventTypes,
34886
- targetEventTypes = _ref.targetEventTypes;
34887
-
34888
- if (targetEventTypes !== null) {
34889
- listenToEventResponderEventTypes(targetEventTypes, doc);
34890
- }
34891
-
34892
- if (rootEventTypes !== null) {
34893
- addRootEventTypesForResponderInstance(responderInstance, rootEventTypes);
34894
- listenToEventResponderEventTypes(rootEventTypes, doc);
34895
- }
34896
-
34897
- mountEventResponder(responder, responderInstance, responderProps, responderState);
34898
- return responderInstance;
34899
- }
34900
- function unmountResponderInstance(responderInstance) {
34901
- if (enableFlareAPI) {
34902
- // TODO stop listening to targetEventTypes
34903
- unmountEventResponder(responderInstance);
34904
- }
34905
- }
34906
- function getFundamentalComponentInstance(fundamentalInstance) {
34907
- if (enableFundamentalAPI) {
34908
- var currentFiber = fundamentalInstance.currentFiber,
34909
- impl = fundamentalInstance.impl,
34910
- props = fundamentalInstance.props,
34911
- state = fundamentalInstance.state;
34912
- var instance = impl.getInstance(null, props, state);
34913
- precacheFiberNode(currentFiber, instance);
34914
- return instance;
34915
- } // Because of the flag above, this gets around the Flow error;
34916
-
34917
-
34918
- return null;
34919
- }
34920
- function mountFundamentalComponent(fundamentalInstance) {
34921
- if (enableFundamentalAPI) {
34922
- var impl = fundamentalInstance.impl,
34923
- instance = fundamentalInstance.instance,
34924
- props = fundamentalInstance.props,
34925
- state = fundamentalInstance.state;
34926
- var onMount = impl.onMount;
34927
-
34928
- if (onMount !== undefined) {
34929
- onMount(null, instance, props, state);
34930
- }
34931
- }
34932
- }
34933
- function shouldUpdateFundamentalComponent(fundamentalInstance) {
34934
- if (enableFundamentalAPI) {
34935
- var impl = fundamentalInstance.impl,
34936
- prevProps = fundamentalInstance.prevProps,
34937
- props = fundamentalInstance.props,
34938
- state = fundamentalInstance.state;
34939
- var shouldUpdate = impl.shouldUpdate;
34940
-
34941
- if (shouldUpdate !== undefined) {
34942
- return shouldUpdate(null, prevProps, props, state);
34943
- }
34944
- }
34945
-
34946
- return true;
34947
- }
34948
- function updateFundamentalComponent(fundamentalInstance) {
34949
- if (enableFundamentalAPI) {
34950
- var impl = fundamentalInstance.impl,
34951
- instance = fundamentalInstance.instance,
34952
- prevProps = fundamentalInstance.prevProps,
34953
- props = fundamentalInstance.props,
34954
- state = fundamentalInstance.state;
34955
- var onUpdate = impl.onUpdate;
34956
-
34957
- if (onUpdate !== undefined) {
34958
- onUpdate(null, instance, prevProps, props, state);
34959
- }
34960
- }
34961
- }
34962
- function unmountFundamentalComponent(fundamentalInstance) {
34963
- if (enableFundamentalAPI) {
34964
- var impl = fundamentalInstance.impl,
34965
- instance = fundamentalInstance.instance,
34966
- props = fundamentalInstance.props,
34967
- state = fundamentalInstance.state;
34968
- var onUnmount = impl.onUnmount;
34969
-
34970
- if (onUnmount !== undefined) {
34971
- onUnmount(null, instance, props, state);
34972
- }
34973
- }
34974
- }
34975
- function getInstanceFromNode$2(node) {
34976
- return getClosestInstanceFromNode(node) || null;
34977
- }
34978
-
34979
- var randomKey = Math.random().toString(36).slice(2);
34980
- var internalInstanceKey = '__reactInternalInstance$' + randomKey;
34981
- var internalEventHandlersKey = '__reactEventHandlers$' + randomKey;
34982
- var internalContainerInstanceKey = '__reactContainere$' + randomKey;
34983
- function precacheFiberNode(hostInst, node) {
34984
- node[internalInstanceKey] = hostInst;
34985
- }
34986
- function markContainerAsRoot(hostRoot, node) {
34987
- node[internalContainerInstanceKey] = hostRoot;
34988
- }
34989
- function unmarkContainerAsRoot(node) {
34990
- node[internalContainerInstanceKey] = null;
34991
- }
34992
- function isContainerMarkedAsRoot(node) {
34993
- return !!node[internalContainerInstanceKey];
34994
- } // Given a DOM node, return the closest HostComponent or HostText fiber ancestor.
34995
- // If the target node is part of a hydrated or not yet rendered subtree, then
34996
- // this may also return a SuspenseComponent or HostRoot to indicate that.
34997
- // Conceptually the HostRoot fiber is a child of the Container node. So if you
34998
- // pass the Container node as the targetNode, you will not actually get the
34999
- // HostRoot back. To get to the HostRoot, you need to pass a child of it.
35000
- // The same thing applies to Suspense boundaries.
35001
-
35002
- function getClosestInstanceFromNode(targetNode) {
35003
- var targetInst = targetNode[internalInstanceKey];
35004
-
35005
- if (targetInst) {
35006
- // Don't return HostRoot or SuspenseComponent here.
35007
- return targetInst;
35008
- } // If the direct event target isn't a React owned DOM node, we need to look
35009
- // to see if one of its parents is a React owned DOM node.
35010
-
35011
-
35012
- var parentNode = targetNode.parentNode;
35013
-
35014
- while (parentNode) {
35015
- // We'll check if this is a container root that could include
35016
- // React nodes in the future. We need to check this first because
35017
- // if we're a child of a dehydrated container, we need to first
35018
- // find that inner container before moving on to finding the parent
35019
- // instance. Note that we don't check this field on the targetNode
35020
- // itself because the fibers are conceptually between the container
35021
- // node and the first child. It isn't surrounding the container node.
35022
- // If it's not a container, we check if it's an instance.
35023
- targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey];
35024
-
35025
- if (targetInst) {
35026
- // Since this wasn't the direct target of the event, we might have
35027
- // stepped past dehydrated DOM nodes to get here. However they could
35028
- // also have been non-React nodes. We need to answer which one.
35029
- // If we the instance doesn't have any children, then there can't be
35030
- // a nested suspense boundary within it. So we can use this as a fast
35031
- // bailout. Most of the time, when people add non-React children to
35032
- // the tree, it is using a ref to a child-less DOM node.
35033
- // Normally we'd only need to check one of the fibers because if it
35034
- // has ever gone from having children to deleting them or vice versa
35035
- // it would have deleted the dehydrated boundary nested inside already.
35036
- // However, since the HostRoot starts out with an alternate it might
35037
- // have one on the alternate so we need to check in case this was a
35038
- // root.
35039
- var alternate = targetInst.alternate;
35040
-
35041
- if (targetInst.child !== null || alternate !== null && alternate.child !== null) {
35042
- // Next we need to figure out if the node that skipped past is
35043
- // nested within a dehydrated boundary and if so, which one.
35044
- var suspenseInstance = getParentSuspenseInstance(targetNode);
35045
-
35046
- while (suspenseInstance !== null) {
35047
- // We found a suspense instance. That means that we haven't
35048
- // hydrated it yet. Even though we leave the comments in the
35049
- // DOM after hydrating, and there are boundaries in the DOM
35050
- // that could already be hydrated, we wouldn't have found them
35051
- // through this pass since if the target is hydrated it would
35052
- // have had an internalInstanceKey on it.
35053
- // Let's get the fiber associated with the SuspenseComponent
35054
- // as the deepest instance.
35055
- var targetSuspenseInst = suspenseInstance[internalInstanceKey];
35056
-
35057
- if (targetSuspenseInst) {
35058
- return targetSuspenseInst;
35059
- } // If we don't find a Fiber on the comment, it might be because
35060
- // we haven't gotten to hydrate it yet. There might still be a
35061
- // parent boundary that hasn't above this one so we need to find
35062
- // the outer most that is known.
35063
-
35064
-
35065
- suspenseInstance = getParentSuspenseInstance(suspenseInstance); // If we don't find one, then that should mean that the parent
35066
- // host component also hasn't hydrated yet. We can return it
35067
- // below since it will bail out on the isMounted check later.
35068
- }
35069
- }
35070
-
35071
- return targetInst;
35072
- }
35073
-
35074
- targetNode = parentNode;
35075
- parentNode = targetNode.parentNode;
35076
- }
35077
-
35078
- return null;
35079
- }
35080
- /**
35081
- * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent
35082
- * instance, or null if the node was not rendered by this React.
35083
- */
35084
-
35085
- function getInstanceFromNode$1(node) {
35086
- var inst = node[internalInstanceKey] || node[internalContainerInstanceKey];
35087
-
35088
- if (inst) {
35089
- if (inst.tag === HostComponent || inst.tag === HostText || inst.tag === SuspenseComponent || inst.tag === HostRoot) {
35090
- return inst;
35091
- } else {
35092
- return null;
35093
- }
35094
- }
35095
-
35096
- return null;
35097
- }
35098
- /**
35099
- * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding
35100
- * DOM node.
35101
- */
35102
-
35103
- function getNodeFromInstance$1(inst) {
35104
- if (inst.tag === HostComponent || inst.tag === HostText) {
35105
- // In Fiber this, is just the state node right now. We assume it will be
35106
- // a host component or host text.
35107
- return inst.stateNode;
35108
- } // Without this first invariant, passing a non-DOM-component triggers the next
35109
- // invariant for a missing parent, which is super confusing.
35110
-
35111
-
35112
- {
35113
- {
35114
- throw Error("getNodeFromInstance: Invalid argument.");
35115
- }
35116
- }
35117
- }
35118
- function getFiberCurrentPropsFromNode$1(node) {
35119
- return node[internalEventHandlersKey] || null;
35120
- }
35121
- function updateFiberProps(node, props) {
35122
- node[internalEventHandlersKey] = props;
35123
- }
35124
-
35125
- /**
35126
- * These variables store information about text content of a target node,
35127
- * allowing comparison of content before and after a given event.
35128
- *
35129
- * Identify the node where selection currently begins, then observe
35130
- * both its text content and its current position in the DOM. Since the
35131
- * browser may natively replace the target node during composition, we can
35132
- * use its position to find its replacement.
35133
- *
35134
- *
35135
- */
35136
- var root = null;
35137
- var startText = null;
35138
- var fallbackText = null;
35139
- function initialize(nativeEventTarget) {
35140
- root = nativeEventTarget;
35141
- startText = getText();
35142
- return true;
35143
- }
35144
- function reset() {
35145
- root = null;
35146
- startText = null;
35147
- fallbackText = null;
35148
- }
35149
- function getData() {
35150
- if (fallbackText) {
35151
- return fallbackText;
35152
- }
35153
-
35154
- var start;
35155
- var startValue = startText;
35156
- var startLength = startValue.length;
35157
- var end;
35158
- var endValue = getText();
35159
- var endLength = endValue.length;
35160
-
35161
- for (start = 0; start < startLength; start++) {
35162
- if (startValue[start] !== endValue[start]) {
35163
- break;
35164
- }
35165
- }
35166
-
35167
- var minEnd = startLength - start;
35168
-
35169
- for (end = 1; end <= minEnd; end++) {
35170
- if (startValue[startLength - end] !== endValue[endLength - end]) {
35171
- break;
35172
- }
35173
- }
35174
-
35175
- var sliceTail = end > 1 ? 1 - end : undefined;
35176
- fallbackText = endValue.slice(start, sliceTail);
35177
- return fallbackText;
35178
- }
35179
- function getText() {
35180
- if ('value' in root) {
35181
- return root.value;
35182
- }
35183
-
35184
- return root.textContent;
35185
- }
35186
-
35187
- /**
35188
- * @interface Event
35189
- * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
35190
- */
35191
-
35192
- var SyntheticCompositionEvent = SyntheticEvent.extend({
35193
- data: null
35194
- });
35195
-
35196
- /**
35197
- * @interface Event
35198
- * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105
35199
- * /#events-inputevents
35200
- */
35201
-
35202
- var SyntheticInputEvent = SyntheticEvent.extend({
35203
- data: null
35204
- });
35205
-
35206
- var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space
35207
-
35208
- var START_KEYCODE = 229;
35209
- var canUseCompositionEvent = canUseDOM && 'CompositionEvent' in window;
35210
- var documentMode = null;
35211
-
35212
- if (canUseDOM && 'documentMode' in document) {
35213
- documentMode = document.documentMode;
35214
- } // Webkit offers a very useful `textInput` event that can be used to
35215
- // directly represent `beforeInput`. The IE `textinput` event is not as
35216
- // useful, so we don't use it.
35217
-
35218
-
35219
- var canUseTextInputEvent = canUseDOM && 'TextEvent' in window && !documentMode; // In IE9+, we have access to composition events, but the data supplied
35220
- // by the native compositionend event may be incorrect. Japanese ideographic
35221
- // spaces, for instance (\u3000) are not recorded correctly.
35222
-
35223
- var useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);
35224
- var SPACEBAR_CODE = 32;
35225
- var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE); // Events and their corresponding property names.
35226
-
35227
- var eventTypes$1 = {
35228
- beforeInput: {
35229
- phasedRegistrationNames: {
35230
- bubbled: 'onBeforeInput',
35231
- captured: 'onBeforeInputCapture'
35232
- },
35233
- dependencies: [TOP_COMPOSITION_END, TOP_KEY_PRESS, TOP_TEXT_INPUT, TOP_PASTE]
35234
- },
35235
- compositionEnd: {
35236
- phasedRegistrationNames: {
35237
- bubbled: 'onCompositionEnd',
35238
- captured: 'onCompositionEndCapture'
35239
- },
35240
- dependencies: [TOP_BLUR, TOP_COMPOSITION_END, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_MOUSE_DOWN]
35241
- },
35242
- compositionStart: {
35243
- phasedRegistrationNames: {
35244
- bubbled: 'onCompositionStart',
35245
- captured: 'onCompositionStartCapture'
35246
- },
35247
- dependencies: [TOP_BLUR, TOP_COMPOSITION_START, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_MOUSE_DOWN]
35248
- },
35249
- compositionUpdate: {
35250
- phasedRegistrationNames: {
35251
- bubbled: 'onCompositionUpdate',
35252
- captured: 'onCompositionUpdateCapture'
35253
- },
35254
- dependencies: [TOP_BLUR, TOP_COMPOSITION_UPDATE, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_MOUSE_DOWN]
35255
- }
35256
- }; // Track whether we've ever handled a keypress on the space key.
35257
-
35258
- var hasSpaceKeypress = false;
35259
- /**
35260
- * Return whether a native keypress event is assumed to be a command.
35261
- * This is required because Firefox fires `keypress` events for key commands
35262
- * (cut, copy, select-all, etc.) even though no character is inserted.
35263
- */
35264
-
35265
- function isKeypressCommand(nativeEvent) {
35266
- return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && // ctrlKey && altKey is equivalent to AltGr, and is not a command.
35267
- !(nativeEvent.ctrlKey && nativeEvent.altKey);
35268
- }
35269
- /**
35270
- * Translate native top level events into event types.
35271
- *
35272
- * @param {string} topLevelType
35273
- * @return {object}
35274
- */
35275
-
35276
-
35277
- function getCompositionEventType(topLevelType) {
35278
- switch (topLevelType) {
35279
- case TOP_COMPOSITION_START:
35280
- return eventTypes$1.compositionStart;
35281
-
35282
- case TOP_COMPOSITION_END:
35283
- return eventTypes$1.compositionEnd;
35284
-
35285
- case TOP_COMPOSITION_UPDATE:
35286
- return eventTypes$1.compositionUpdate;
35287
- }
35288
- }
35289
- /**
35290
- * Does our fallback best-guess model think this event signifies that
35291
- * composition has begun?
35292
- *
35293
- * @param {string} topLevelType
35294
- * @param {object} nativeEvent
35295
- * @return {boolean}
35296
- */
35297
-
35298
-
35299
- function isFallbackCompositionStart(topLevelType, nativeEvent) {
35300
- return topLevelType === TOP_KEY_DOWN && nativeEvent.keyCode === START_KEYCODE;
35301
- }
35302
- /**
35303
- * Does our fallback mode think that this event is the end of composition?
35304
- *
35305
- * @param {string} topLevelType
35306
- * @param {object} nativeEvent
35307
- * @return {boolean}
35308
- */
35309
-
35310
-
35311
- function isFallbackCompositionEnd(topLevelType, nativeEvent) {
35312
- switch (topLevelType) {
35313
- case TOP_KEY_UP:
35314
- // Command keys insert or clear IME input.
35315
- return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;
35316
-
35317
- case TOP_KEY_DOWN:
35318
- // Expect IME keyCode on each keydown. If we get any other
35319
- // code we must have exited earlier.
35320
- return nativeEvent.keyCode !== START_KEYCODE;
35321
-
35322
- case TOP_KEY_PRESS:
35323
- case TOP_MOUSE_DOWN:
35324
- case TOP_BLUR:
35325
- // Events are not possible without cancelling IME.
35326
- return true;
35327
-
35328
- default:
35329
- return false;
35330
- }
35331
- }
35332
- /**
35333
- * Google Input Tools provides composition data via a CustomEvent,
35334
- * with the `data` property populated in the `detail` object. If this
35335
- * is available on the event object, use it. If not, this is a plain
35336
- * composition event and we have nothing special to extract.
35337
- *
35338
- * @param {object} nativeEvent
35339
- * @return {?string}
35340
- */
35341
-
35342
-
35343
- function getDataFromCustomEvent(nativeEvent) {
35344
- var detail = nativeEvent.detail;
35345
-
35346
- if (typeof detail === 'object' && 'data' in detail) {
35347
- return detail.data;
35348
- }
35349
-
35350
- return null;
35351
- }
35352
- /**
35353
- * Check if a composition event was triggered by Korean IME.
35354
- * Our fallback mode does not work well with IE's Korean IME,
35355
- * so just use native composition events when Korean IME is used.
35356
- * Although CompositionEvent.locale property is deprecated,
35357
- * it is available in IE, where our fallback mode is enabled.
35358
- *
35359
- * @param {object} nativeEvent
35360
- * @return {boolean}
35361
- */
35362
-
35363
-
35364
- function isUsingKoreanIME(nativeEvent) {
35365
- return nativeEvent.locale === 'ko';
35366
- } // Track the current IME composition status, if any.
35367
-
35368
-
35369
- var isComposing = false;
35370
- /**
35371
- * @return {?object} A SyntheticCompositionEvent.
35372
- */
35373
-
35374
- function extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
35375
- var eventType;
35376
- var fallbackData;
35377
-
35378
- if (canUseCompositionEvent) {
35379
- eventType = getCompositionEventType(topLevelType);
35380
- } else if (!isComposing) {
35381
- if (isFallbackCompositionStart(topLevelType, nativeEvent)) {
35382
- eventType = eventTypes$1.compositionStart;
35383
- }
35384
- } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {
35385
- eventType = eventTypes$1.compositionEnd;
35386
- }
35387
-
35388
- if (!eventType) {
35389
- return null;
35390
- }
35391
-
35392
- if (useFallbackCompositionData && !isUsingKoreanIME(nativeEvent)) {
35393
- // The current composition is stored statically and must not be
35394
- // overwritten while composition continues.
35395
- if (!isComposing && eventType === eventTypes$1.compositionStart) {
35396
- isComposing = initialize(nativeEventTarget);
35397
- } else if (eventType === eventTypes$1.compositionEnd) {
35398
- if (isComposing) {
35399
- fallbackData = getData();
35400
- }
35401
- }
35402
- }
35403
-
35404
- var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);
35405
-
35406
- if (fallbackData) {
35407
- // Inject data generated from fallback path into the synthetic event.
35408
- // This matches the property of native CompositionEventInterface.
35409
- event.data = fallbackData;
35410
- } else {
35411
- var customData = getDataFromCustomEvent(nativeEvent);
35412
-
35413
- if (customData !== null) {
35414
- event.data = customData;
35415
- }
35416
- }
35417
-
35418
- accumulateTwoPhaseDispatches(event);
35419
- return event;
35420
- }
35421
- /**
35422
- * @param {TopLevelType} topLevelType Number from `TopLevelType`.
35423
- * @param {object} nativeEvent Native browser event.
35424
- * @return {?string} The string corresponding to this `beforeInput` event.
35425
- */
35426
-
35427
-
35428
- function getNativeBeforeInputChars(topLevelType, nativeEvent) {
35429
- switch (topLevelType) {
35430
- case TOP_COMPOSITION_END:
35431
- return getDataFromCustomEvent(nativeEvent);
35432
-
35433
- case TOP_KEY_PRESS:
35434
- /**
35435
- * If native `textInput` events are available, our goal is to make
35436
- * use of them. However, there is a special case: the spacebar key.
35437
- * In Webkit, preventing default on a spacebar `textInput` event
35438
- * cancels character insertion, but it *also* causes the browser
35439
- * to fall back to its default spacebar behavior of scrolling the
35440
- * page.
35441
- *
35442
- * Tracking at:
35443
- * https://code.google.com/p/chromium/issues/detail?id=355103
35444
- *
35445
- * To avoid this issue, use the keypress event as if no `textInput`
35446
- * event is available.
35447
- */
35448
- var which = nativeEvent.which;
35449
-
35450
- if (which !== SPACEBAR_CODE) {
35451
- return null;
35452
- }
35453
-
35454
- hasSpaceKeypress = true;
35455
- return SPACEBAR_CHAR;
35456
-
35457
- case TOP_TEXT_INPUT:
35458
- // Record the characters to be added to the DOM.
35459
- var chars = nativeEvent.data; // If it's a spacebar character, assume that we have already handled
35460
- // it at the keypress level and bail immediately. Android Chrome
35461
- // doesn't give us keycodes, so we need to ignore it.
35462
-
35463
- if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {
35464
- return null;
35465
- }
35466
-
35467
- return chars;
35468
-
35469
- default:
35470
- // For other native event types, do nothing.
35471
- return null;
35472
- }
35473
- }
35474
- /**
35475
- * For browsers that do not provide the `textInput` event, extract the
35476
- * appropriate string to use for SyntheticInputEvent.
35477
- *
35478
- * @param {number} topLevelType Number from `TopLevelEventTypes`.
35479
- * @param {object} nativeEvent Native browser event.
35480
- * @return {?string} The fallback string for this `beforeInput` event.
35481
- */
35482
-
35483
-
35484
- function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
35485
- // If we are currently composing (IME) and using a fallback to do so,
35486
- // try to extract the composed characters from the fallback object.
35487
- // If composition event is available, we extract a string only at
35488
- // compositionevent, otherwise extract it at fallback events.
35489
- if (isComposing) {
35490
- if (topLevelType === TOP_COMPOSITION_END || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) {
35491
- var chars = getData();
35492
- reset();
35493
- isComposing = false;
35494
- return chars;
35495
- }
35496
-
35497
- return null;
35498
- }
35499
-
35500
- switch (topLevelType) {
35501
- case TOP_PASTE:
35502
- // If a paste event occurs after a keypress, throw out the input
35503
- // chars. Paste events should not lead to BeforeInput events.
35504
- return null;
35505
-
35506
- case TOP_KEY_PRESS:
35507
- /**
35508
- * As of v27, Firefox may fire keypress events even when no character
35509
- * will be inserted. A few possibilities:
35510
- *
35511
- * - `which` is `0`. Arrow keys, Esc key, etc.
35512
- *
35513
- * - `which` is the pressed key code, but no char is available.
35514
- * Ex: 'AltGr + d` in Polish. There is no modified character for
35515
- * this key combination and no character is inserted into the
35516
- * document, but FF fires the keypress for char code `100` anyway.
35517
- * No `input` event will occur.
35518
- *
35519
- * - `which` is the pressed key code, but a command combination is
35520
- * being used. Ex: `Cmd+C`. No character is inserted, and no
35521
- * `input` event will occur.
35522
- */
35523
- if (!isKeypressCommand(nativeEvent)) {
35524
- // IE fires the `keypress` event when a user types an emoji via
35525
- // Touch keyboard of Windows. In such a case, the `char` property
35526
- // holds an emoji character like `\uD83D\uDE0A`. Because its length
35527
- // is 2, the property `which` does not represent an emoji correctly.
35528
- // In such a case, we directly return the `char` property instead of
35529
- // using `which`.
35530
- if (nativeEvent.char && nativeEvent.char.length > 1) {
35531
- return nativeEvent.char;
35532
- } else if (nativeEvent.which) {
35533
- return String.fromCharCode(nativeEvent.which);
35534
- }
35535
- }
35536
-
35537
- return null;
35538
-
35539
- case TOP_COMPOSITION_END:
35540
- return useFallbackCompositionData && !isUsingKoreanIME(nativeEvent) ? null : nativeEvent.data;
35541
-
35542
- default:
35543
- return null;
35544
- }
35545
- }
35546
- /**
35547
- * Extract a SyntheticInputEvent for `beforeInput`, based on either native
35548
- * `textInput` or fallback behavior.
35549
- *
35550
- * @return {?object} A SyntheticInputEvent.
35551
- */
35552
-
35553
-
35554
- function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
35555
- var chars;
35556
-
35557
- if (canUseTextInputEvent) {
35558
- chars = getNativeBeforeInputChars(topLevelType, nativeEvent);
35559
- } else {
35560
- chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);
35561
- } // If no characters are being inserted, no BeforeInput event should
35562
- // be fired.
35563
-
35564
-
35565
- if (!chars) {
35566
- return null;
35567
- }
35568
-
35569
- var event = SyntheticInputEvent.getPooled(eventTypes$1.beforeInput, targetInst, nativeEvent, nativeEventTarget);
35570
- event.data = chars;
35571
- accumulateTwoPhaseDispatches(event);
35572
- return event;
35573
- }
35574
- /**
35575
- * Create an `onBeforeInput` event to match
35576
- * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.
35577
- *
35578
- * This event plugin is based on the native `textInput` event
35579
- * available in Chrome, Safari, Opera, and IE. This event fires after
35580
- * `onKeyPress` and `onCompositionEnd`, but before `onInput`.
35581
- *
35582
- * `beforeInput` is spec'd but not implemented in any browsers, and
35583
- * the `input` event does not provide any useful information about what has
35584
- * actually been added, contrary to the spec. Thus, `textInput` is the best
35585
- * available event to identify the characters that have actually been inserted
35586
- * into the target node.
35587
- *
35588
- * This plugin is also responsible for emitting `composition` events, thus
35589
- * allowing us to share composition fallback code for both `beforeInput` and
35590
- * `composition` event types.
35591
- */
35592
-
35593
-
35594
- var BeforeInputEventPlugin = {
35595
- eventTypes: eventTypes$1,
35596
- extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
35597
- var composition = extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget);
35598
- var beforeInput = extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget);
35599
-
35600
- if (composition === null) {
35601
- return beforeInput;
35602
- }
35603
-
35604
- if (beforeInput === null) {
35605
- return composition;
35606
- }
35607
-
35608
- return [composition, beforeInput];
35609
- }
35610
- };
35611
-
35612
- /**
35613
- * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
35614
- */
35615
- var supportedInputTypes = {
35616
- color: true,
35617
- date: true,
35618
- datetime: true,
35619
- 'datetime-local': true,
35620
- email: true,
35621
- month: true,
35622
- number: true,
35623
- password: true,
35624
- range: true,
35625
- search: true,
35626
- tel: true,
35627
- text: true,
35628
- time: true,
35629
- url: true,
35630
- week: true
35631
- };
35632
-
35633
- function isTextInputElement(elem) {
35634
- var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
35635
-
35636
- if (nodeName === 'input') {
35637
- return !!supportedInputTypes[elem.type];
35638
- }
35639
-
35640
- if (nodeName === 'textarea') {
35641
- return true;
35642
- }
35643
-
35644
- return false;
35645
- }
35646
-
35647
- var eventTypes$2 = {
35648
- change: {
35649
- phasedRegistrationNames: {
35650
- bubbled: 'onChange',
35651
- captured: 'onChangeCapture'
35652
- },
35653
- dependencies: [TOP_BLUR, TOP_CHANGE, TOP_CLICK, TOP_FOCUS, TOP_INPUT, TOP_KEY_DOWN, TOP_KEY_UP, TOP_SELECTION_CHANGE]
35654
- }
35655
- };
35656
-
35657
- function createAndAccumulateChangeEvent(inst, nativeEvent, target) {
35658
- var event = SyntheticEvent.getPooled(eventTypes$2.change, inst, nativeEvent, target);
35659
- event.type = 'change'; // Flag this event loop as needing state restore.
35660
-
35661
- enqueueStateRestore(target);
35662
- accumulateTwoPhaseDispatches(event);
35663
- return event;
35664
- }
35665
- /**
35666
- * For IE shims
35667
- */
35668
-
35669
-
35670
- var activeElement = null;
35671
- var activeElementInst = null;
35672
- /**
35673
- * SECTION: handle `change` event
35674
- */
35675
-
35676
- function shouldUseChangeEvent(elem) {
35677
- var nodeName = elem.nodeName && elem.nodeName.toLowerCase();
35678
- return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';
35679
- }
35680
-
35681
- function manualDispatchChangeEvent(nativeEvent) {
35682
- var event = createAndAccumulateChangeEvent(activeElementInst, nativeEvent, getEventTarget(nativeEvent)); // If change and propertychange bubbled, we'd just bind to it like all the
35683
- // other events and have it go through ReactBrowserEventEmitter. Since it
35684
- // doesn't, we manually listen for the events and so we have to enqueue and
35685
- // process the abstract event manually.
35686
- //
35687
- // Batching is necessary here in order to ensure that all event handlers run
35688
- // before the next rerender (including event handlers attached to ancestor
35689
- // elements instead of directly on the input). Without this, controlled
35690
- // components don't work properly in conjunction with event bubbling because
35691
- // the component is rerendered and the value reverted before all the event
35692
- // handlers can run. See https://github.com/facebook/react/issues/708.
35693
-
35694
- batchedUpdates(runEventInBatch, event);
35695
- }
35696
-
35697
- function runEventInBatch(event) {
35698
- runEventsInBatch(event);
35699
- }
35700
-
35701
- function getInstIfValueChanged(targetInst) {
35702
- var targetNode = getNodeFromInstance$1(targetInst);
35703
-
35704
- if (updateValueIfChanged(targetNode)) {
35705
- return targetInst;
35706
- }
35707
- }
35708
-
35709
- function getTargetInstForChangeEvent(topLevelType, targetInst) {
35710
- if (topLevelType === TOP_CHANGE) {
35711
- return targetInst;
35712
- }
35713
- }
35714
- /**
35715
- * SECTION: handle `input` event
35716
- */
35717
-
35718
-
35719
- var isInputEventSupported = false;
35720
-
35721
- if (canUseDOM) {
35722
- // IE9 claims to support the input event but fails to trigger it when
35723
- // deleting text, so we ignore its input events.
35724
- isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 9);
35725
- }
35726
- /**
35727
- * (For IE <=9) Starts tracking propertychange events on the passed-in element
35728
- * and override the value property so that we can distinguish user events from
35729
- * value changes in JS.
35730
- */
35731
-
35732
-
35733
- function startWatchingForValueChange(target, targetInst) {
35734
- activeElement = target;
35735
- activeElementInst = targetInst;
35736
- activeElement.attachEvent('onpropertychange', handlePropertyChange);
35737
- }
35738
- /**
35739
- * (For IE <=9) Removes the event listeners from the currently-tracked element,
35740
- * if any exists.
35741
- */
35742
-
35743
-
35744
- function stopWatchingForValueChange() {
35745
- if (!activeElement) {
35746
- return;
35747
- }
35748
-
35749
- activeElement.detachEvent('onpropertychange', handlePropertyChange);
35750
- activeElement = null;
35751
- activeElementInst = null;
35752
- }
35753
- /**
35754
- * (For IE <=9) Handles a propertychange event, sending a `change` event if
35755
- * the value of the active element has changed.
35756
- */
35757
-
35758
-
35759
- function handlePropertyChange(nativeEvent) {
35760
- if (nativeEvent.propertyName !== 'value') {
35761
- return;
35762
- }
35763
-
35764
- if (getInstIfValueChanged(activeElementInst)) {
35765
- manualDispatchChangeEvent(nativeEvent);
35766
- }
35767
- }
35768
-
35769
- function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
35770
- if (topLevelType === TOP_FOCUS) {
35771
- // In IE9, propertychange fires for most input events but is buggy and
35772
- // doesn't fire when text is deleted, but conveniently, selectionchange
35773
- // appears to fire in all of the remaining cases so we catch those and
35774
- // forward the event if the value has changed
35775
- // In either case, we don't want to call the event handler if the value
35776
- // is changed from JS so we redefine a setter for `.value` that updates
35777
- // our activeElementValue variable, allowing us to ignore those changes
35778
- //
35779
- // stopWatching() should be a noop here but we call it just in case we
35780
- // missed a blur event somehow.
35781
- stopWatchingForValueChange();
35782
- startWatchingForValueChange(target, targetInst);
35783
- } else if (topLevelType === TOP_BLUR) {
35784
- stopWatchingForValueChange();
35785
- }
35786
- } // For IE8 and IE9.
35787
-
35788
-
35789
- function getTargetInstForInputEventPolyfill(topLevelType, targetInst) {
35790
- if (topLevelType === TOP_SELECTION_CHANGE || topLevelType === TOP_KEY_UP || topLevelType === TOP_KEY_DOWN) {
35791
- // On the selectionchange event, the target is just document which isn't
35792
- // helpful for us so just check activeElement instead.
35793
- //
35794
- // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire
35795
- // propertychange on the first input event after setting `value` from a
35796
- // script and fires only keydown, keypress, keyup. Catching keyup usually
35797
- // gets it and catching keydown lets us fire an event for the first
35798
- // keystroke if user does a key repeat (it'll be a little delayed: right
35799
- // before the second keystroke). Other input methods (e.g., paste) seem to
35800
- // fire selectionchange normally.
35801
- return getInstIfValueChanged(activeElementInst);
35802
- }
35803
- }
35804
- /**
35805
- * SECTION: handle `click` event
35806
- */
35807
-
35808
-
35809
- function shouldUseClickEvent(elem) {
35810
- // Use the `click` event to detect changes to checkbox and radio inputs.
35811
- // This approach works across all browsers, whereas `change` does not fire
35812
- // until `blur` in IE8.
35813
- var nodeName = elem.nodeName;
35814
- return nodeName && nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');
35815
- }
35816
-
35817
- function getTargetInstForClickEvent(topLevelType, targetInst) {
35818
- if (topLevelType === TOP_CLICK) {
35819
- return getInstIfValueChanged(targetInst);
35820
- }
35821
- }
35822
-
35823
- function getTargetInstForInputOrChangeEvent(topLevelType, targetInst) {
35824
- if (topLevelType === TOP_INPUT || topLevelType === TOP_CHANGE) {
35825
- return getInstIfValueChanged(targetInst);
35826
- }
35827
- }
35828
-
35829
- function handleControlledInputBlur(node) {
35830
- var state = node._wrapperState;
35831
-
35832
- if (!state || !state.controlled || node.type !== 'number') {
35833
- return;
35834
- }
35835
-
35836
- if (!disableInputAttributeSyncing) {
35837
- // If controlled, assign the value attribute to the current value on blur
35838
- setDefaultValue(node, 'number', node.value);
35839
- }
35840
- }
35841
- /**
35842
- * This plugin creates an `onChange` event that normalizes change events
35843
- * across form elements. This event fires at a time when it's possible to
35844
- * change the element's value without seeing a flicker.
35845
- *
35846
- * Supported elements are:
35847
- * - input (see `isTextInputElement`)
35848
- * - textarea
35849
- * - select
35850
- */
35851
-
35852
-
35853
- var ChangeEventPlugin = {
35854
- eventTypes: eventTypes$2,
35855
- _isInputEventSupported: isInputEventSupported,
35856
- extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
35857
- var targetNode = targetInst ? getNodeFromInstance$1(targetInst) : window;
35858
- var getTargetInstFunc, handleEventFunc;
35859
-
35860
- if (shouldUseChangeEvent(targetNode)) {
35861
- getTargetInstFunc = getTargetInstForChangeEvent;
35862
- } else if (isTextInputElement(targetNode)) {
35863
- if (isInputEventSupported) {
35864
- getTargetInstFunc = getTargetInstForInputOrChangeEvent;
35865
- } else {
35866
- getTargetInstFunc = getTargetInstForInputEventPolyfill;
35867
- handleEventFunc = handleEventsForInputEventPolyfill;
35868
- }
35869
- } else if (shouldUseClickEvent(targetNode)) {
35870
- getTargetInstFunc = getTargetInstForClickEvent;
35871
- }
35872
-
35873
- if (getTargetInstFunc) {
35874
- var inst = getTargetInstFunc(topLevelType, targetInst);
35875
-
35876
- if (inst) {
35877
- var event = createAndAccumulateChangeEvent(inst, nativeEvent, nativeEventTarget);
35878
- return event;
35879
- }
35880
- }
35881
-
35882
- if (handleEventFunc) {
35883
- handleEventFunc(topLevelType, targetNode, targetInst);
35884
- } // When blurring, set the value attribute for number inputs
35885
-
35886
-
35887
- if (topLevelType === TOP_BLUR) {
35888
- handleControlledInputBlur(targetNode);
35889
- }
35890
- }
35891
- };
35892
-
35893
- /**
35894
- * Module that is injectable into `EventPluginHub`, that specifies a
35895
- * deterministic ordering of `EventPlugin`s. A convenient way to reason about
35896
- * plugins, without having to package every one of them. This is better than
35897
- * having plugins be ordered in the same order that they are injected because
35898
- * that ordering would be influenced by the packaging order.
35899
- * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that
35900
- * preventing default on events is convenient in `SimpleEventPlugin` handlers.
35901
- */
35902
- var DOMEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin'];
35903
-
35904
- var eventTypes$3 = {
35905
- mouseEnter: {
35906
- registrationName: 'onMouseEnter',
35907
- dependencies: [TOP_MOUSE_OUT, TOP_MOUSE_OVER]
35908
- },
35909
- mouseLeave: {
35910
- registrationName: 'onMouseLeave',
35911
- dependencies: [TOP_MOUSE_OUT, TOP_MOUSE_OVER]
35912
- },
35913
- pointerEnter: {
35914
- registrationName: 'onPointerEnter',
35915
- dependencies: [TOP_POINTER_OUT, TOP_POINTER_OVER]
35916
- },
35917
- pointerLeave: {
35918
- registrationName: 'onPointerLeave',
35919
- dependencies: [TOP_POINTER_OUT, TOP_POINTER_OVER]
35920
- }
35921
- }; // We track the lastNativeEvent to ensure that when we encounter
35922
- // cases where we process the same nativeEvent multiple times,
35923
- // which can happen when have multiple ancestors, that we don't
35924
- // duplicate enter
35925
-
35926
- var lastNativeEvent;
35927
- var EnterLeaveEventPlugin = {
35928
- eventTypes: eventTypes$3,
35929
-
35930
- /**
35931
- * For almost every interaction we care about, there will be both a top-level
35932
- * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that
35933
- * we do not extract duplicate events. However, moving the mouse into the
35934
- * browser from outside will not fire a `mouseout` event. In this case, we use
35935
- * the `mouseover` top-level event.
35936
- */
35937
- extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
35938
- var isOverEvent = topLevelType === TOP_MOUSE_OVER || topLevelType === TOP_POINTER_OVER;
35939
- var isOutEvent = topLevelType === TOP_MOUSE_OUT || topLevelType === TOP_POINTER_OUT;
35940
-
35941
- if (isOverEvent && (eventSystemFlags & IS_REPLAYED) === 0 && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {
35942
- // If this is an over event with a target, then we've already dispatched
35943
- // the event in the out event of the other target. If this is replayed,
35944
- // then it's because we couldn't dispatch against this target previously
35945
- // so we have to do it now instead.
35946
- return null;
35947
- }
35948
-
35949
- if (!isOutEvent && !isOverEvent) {
35950
- // Must not be a mouse or pointer in or out - ignoring.
35951
- return null;
35952
- }
35953
-
35954
- var win;
35955
-
35956
- if (nativeEventTarget.window === nativeEventTarget) {
35957
- // `nativeEventTarget` is probably a window object.
35958
- win = nativeEventTarget;
35959
- } else {
35960
- // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.
35961
- var doc = nativeEventTarget.ownerDocument;
35962
-
35963
- if (doc) {
35964
- win = doc.defaultView || doc.parentWindow;
35965
- } else {
35966
- win = window;
35967
- }
35968
- }
35969
-
35970
- var from;
35971
- var to;
35972
-
35973
- if (isOutEvent) {
35974
- from = targetInst;
35975
- var related = nativeEvent.relatedTarget || nativeEvent.toElement;
35976
- to = related ? getClosestInstanceFromNode(related) : null;
35977
-
35978
- if (to !== null) {
35979
- var nearestMounted = getNearestMountedFiber(to);
35980
-
35981
- if (to !== nearestMounted || to.tag !== HostComponent && to.tag !== HostText) {
35982
- to = null;
35983
- }
35984
- }
35985
- } else {
35986
- // Moving to a node from outside the window.
35987
- from = null;
35988
- to = targetInst;
35989
- }
35990
-
35991
- if (from === to) {
35992
- // Nothing pertains to our managed components.
35993
- return null;
35994
- }
35995
-
35996
- var eventInterface, leaveEventType, enterEventType, eventTypePrefix;
35997
-
35998
- if (topLevelType === TOP_MOUSE_OUT || topLevelType === TOP_MOUSE_OVER) {
35999
- eventInterface = SyntheticMouseEvent;
36000
- leaveEventType = eventTypes$3.mouseLeave;
36001
- enterEventType = eventTypes$3.mouseEnter;
36002
- eventTypePrefix = 'mouse';
36003
- } else if (topLevelType === TOP_POINTER_OUT || topLevelType === TOP_POINTER_OVER) {
36004
- eventInterface = SyntheticPointerEvent;
36005
- leaveEventType = eventTypes$3.pointerLeave;
36006
- enterEventType = eventTypes$3.pointerEnter;
36007
- eventTypePrefix = 'pointer';
36008
- }
36009
-
36010
- var fromNode = from == null ? win : getNodeFromInstance$1(from);
36011
- var toNode = to == null ? win : getNodeFromInstance$1(to);
36012
- var leave = eventInterface.getPooled(leaveEventType, from, nativeEvent, nativeEventTarget);
36013
- leave.type = eventTypePrefix + 'leave';
36014
- leave.target = fromNode;
36015
- leave.relatedTarget = toNode;
36016
- var enter = eventInterface.getPooled(enterEventType, to, nativeEvent, nativeEventTarget);
36017
- enter.type = eventTypePrefix + 'enter';
36018
- enter.target = toNode;
36019
- enter.relatedTarget = fromNode;
36020
- accumulateEnterLeaveDispatches(leave, enter, from, to);
36021
-
36022
- if (nativeEvent === lastNativeEvent) {
36023
- lastNativeEvent = null;
36024
- return [leave];
36025
- }
36026
-
36027
- lastNativeEvent = nativeEvent;
36028
- return [leave, enter];
36029
- }
36030
- };
36031
-
36032
- /**
36033
- * inlined Object.is polyfill to avoid requiring consumers ship their own
36034
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
36035
- */
36036
- function is(x, y) {
36037
- return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
36038
- ;
36039
- }
36040
-
36041
- var is$1 = typeof Object.is === 'function' ? Object.is : is;
36042
-
36043
- var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
36044
- /**
36045
- * Performs equality by iterating through keys on an object and returning false
36046
- * when any key has values which are not strictly equal between the arguments.
36047
- * Returns true when the values of all keys are strictly equal.
36048
- */
36049
-
36050
- function shallowEqual(objA, objB) {
36051
- if (is$1(objA, objB)) {
36052
- return true;
36053
- }
36054
-
36055
- if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
36056
- return false;
36057
- }
36058
-
36059
- var keysA = Object.keys(objA);
36060
- var keysB = Object.keys(objB);
36061
-
36062
- if (keysA.length !== keysB.length) {
36063
- return false;
36064
- } // Test for A's keys different from B.
36065
-
36066
-
36067
- for (var i = 0; i < keysA.length; i++) {
36068
- if (!hasOwnProperty$2.call(objB, keysA[i]) || !is$1(objA[keysA[i]], objB[keysA[i]])) {
36069
- return false;
36070
- }
36071
- }
36072
-
36073
- return true;
36074
- }
36075
-
36076
- var skipSelectionChangeEvent = canUseDOM && 'documentMode' in document && document.documentMode <= 11;
36077
- var eventTypes$4 = {
36078
- select: {
36079
- phasedRegistrationNames: {
36080
- bubbled: 'onSelect',
36081
- captured: 'onSelectCapture'
36082
- },
36083
- dependencies: [TOP_BLUR, TOP_CONTEXT_MENU, TOP_DRAG_END, TOP_FOCUS, TOP_KEY_DOWN, TOP_KEY_UP, TOP_MOUSE_DOWN, TOP_MOUSE_UP, TOP_SELECTION_CHANGE]
36084
- }
36085
- };
36086
- var activeElement$1 = null;
36087
- var activeElementInst$1 = null;
36088
- var lastSelection = null;
36089
- var mouseDown = false;
36090
- /**
36091
- * Get an object which is a unique representation of the current selection.
36092
- *
36093
- * The return value will not be consistent across nodes or browsers, but
36094
- * two identical selections on the same node will return identical objects.
36095
- *
36096
- * @param {DOMElement} node
36097
- * @return {object}
36098
- */
36099
-
36100
- function getSelection$1(node) {
36101
- if ('selectionStart' in node && hasSelectionCapabilities(node)) {
36102
- return {
36103
- start: node.selectionStart,
36104
- end: node.selectionEnd
36105
- };
36106
- } else {
36107
- var win = node.ownerDocument && node.ownerDocument.defaultView || window;
36108
- var selection = win.getSelection();
36109
- return {
36110
- anchorNode: selection.anchorNode,
36111
- anchorOffset: selection.anchorOffset,
36112
- focusNode: selection.focusNode,
36113
- focusOffset: selection.focusOffset
36114
- };
36115
- }
36116
- }
36117
- /**
36118
- * Get document associated with the event target.
36119
- *
36120
- * @param {object} nativeEventTarget
36121
- * @return {Document}
36122
- */
36123
-
36124
-
36125
- function getEventTargetDocument(eventTarget) {
36126
- return eventTarget.window === eventTarget ? eventTarget.document : eventTarget.nodeType === DOCUMENT_NODE ? eventTarget : eventTarget.ownerDocument;
36127
- }
36128
- /**
36129
- * Poll selection to see whether it's changed.
36130
- *
36131
- * @param {object} nativeEvent
36132
- * @param {object} nativeEventTarget
36133
- * @return {?SyntheticEvent}
36134
- */
36135
-
36136
-
36137
- function constructSelectEvent(nativeEvent, nativeEventTarget) {
36138
- // Ensure we have the right element, and that the user is not dragging a
36139
- // selection (this matches native `select` event behavior). In HTML5, select
36140
- // fires only on input and textarea thus if there's no focused element we
36141
- // won't dispatch.
36142
- var doc = getEventTargetDocument(nativeEventTarget);
36143
-
36144
- if (mouseDown || activeElement$1 == null || activeElement$1 !== getActiveElement(doc)) {
36145
- return null;
36146
- } // Only fire when selection has actually changed.
36147
-
36148
-
36149
- var currentSelection = getSelection$1(activeElement$1);
36150
-
36151
- if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {
36152
- lastSelection = currentSelection;
36153
- var syntheticEvent = SyntheticEvent.getPooled(eventTypes$4.select, activeElementInst$1, nativeEvent, nativeEventTarget);
36154
- syntheticEvent.type = 'select';
36155
- syntheticEvent.target = activeElement$1;
36156
- accumulateTwoPhaseDispatches(syntheticEvent);
36157
- return syntheticEvent;
36158
- }
36159
-
36160
- return null;
36161
- }
36162
- /**
36163
- * This plugin creates an `onSelect` event that normalizes select events
36164
- * across form elements.
36165
- *
36166
- * Supported elements are:
36167
- * - input (see `isTextInputElement`)
36168
- * - textarea
36169
- * - contentEditable
36170
- *
36171
- * This differs from native browser implementations in the following ways:
36172
- * - Fires on contentEditable fields as well as inputs.
36173
- * - Fires for collapsed selection.
36174
- * - Fires after user input.
36175
- */
36176
-
36177
-
36178
- var SelectEventPlugin = {
36179
- eventTypes: eventTypes$4,
36180
- extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
36181
- var doc = getEventTargetDocument(nativeEventTarget); // Track whether all listeners exists for this plugin. If none exist, we do
36182
- // not extract events. See #3639.
36183
-
36184
- if (!doc || !isListeningToAllDependencies('onSelect', doc)) {
36185
- return null;
36186
- }
36187
-
36188
- var targetNode = targetInst ? getNodeFromInstance$1(targetInst) : window;
36189
-
36190
- switch (topLevelType) {
36191
- // Track the input node that has focus.
36192
- case TOP_FOCUS:
36193
- if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {
36194
- activeElement$1 = targetNode;
36195
- activeElementInst$1 = targetInst;
36196
- lastSelection = null;
36197
- }
36198
-
36199
- break;
36200
-
36201
- case TOP_BLUR:
36202
- activeElement$1 = null;
36203
- activeElementInst$1 = null;
36204
- lastSelection = null;
36205
- break;
36206
- // Don't fire the event while the user is dragging. This matches the
36207
- // semantics of the native select event.
36208
-
36209
- case TOP_MOUSE_DOWN:
36210
- mouseDown = true;
36211
- break;
36212
-
36213
- case TOP_CONTEXT_MENU:
36214
- case TOP_MOUSE_UP:
36215
- case TOP_DRAG_END:
36216
- mouseDown = false;
36217
- return constructSelectEvent(nativeEvent, nativeEventTarget);
36218
- // Chrome and IE fire non-standard event when selection is changed (and
36219
- // sometimes when it hasn't). IE's event fires out of order with respect
36220
- // to key and input events on deletion, so we discard it.
36221
- //
36222
- // Firefox doesn't support selectionchange, so check selection status
36223
- // after each key entry. The selection changes after keydown and before
36224
- // keyup, but we check on keydown as well in the case of holding down a
36225
- // key, when multiple keydown events are fired but only one keyup is.
36226
- // This is also our approach for IE handling, for the reason above.
36227
-
36228
- case TOP_SELECTION_CHANGE:
36229
- if (skipSelectionChangeEvent) {
36230
- break;
36231
- }
36232
-
36233
- // falls through
36234
-
36235
- case TOP_KEY_DOWN:
36236
- case TOP_KEY_UP:
36237
- return constructSelectEvent(nativeEvent, nativeEventTarget);
36238
- }
36239
-
36240
- return null;
36241
- }
36242
- };
36243
-
36244
- /**
36245
- * Inject modules for resolving DOM hierarchy and plugin ordering.
36246
- */
36247
-
36248
- injection.injectEventPluginOrder(DOMEventPluginOrder);
36249
- setComponentTree(getFiberCurrentPropsFromNode$1, getInstanceFromNode$1, getNodeFromInstance$1);
36250
- /**
36251
- * Some important event plugins included by default (without having to require
36252
- * them).
36253
- */
36254
-
36255
- injection.injectEventPluginsByName({
36256
- SimpleEventPlugin: SimpleEventPlugin,
36257
- EnterLeaveEventPlugin: EnterLeaveEventPlugin,
36258
- ChangeEventPlugin: ChangeEventPlugin,
36259
- SelectEventPlugin: SelectEventPlugin,
36260
- BeforeInputEventPlugin: BeforeInputEventPlugin
36261
- });
36262
-
36263
- // Prefix measurements so that it's possible to filter them.
36264
- // Longer prefixes are hard to read in DevTools.
36265
- var reactEmoji = "\u269B";
36266
- var warningEmoji = "\u26D4";
36267
- var supportsUserTiming = typeof performance !== 'undefined' && typeof performance.mark === 'function' && typeof performance.clearMarks === 'function' && typeof performance.measure === 'function' && typeof performance.clearMeasures === 'function'; // Keep track of current fiber so that we know the path to unwind on pause.
36268
- // TODO: this looks the same as nextUnitOfWork in scheduler. Can we unify them?
36269
-
36270
- var currentFiber = null; // If we're in the middle of user code, which fiber and method is it?
36271
- // Reusing `currentFiber` would be confusing for this because user code fiber
36272
- // can change during commit phase too, but we don't need to unwind it (since
36273
- // lifecycles in the commit phase don't resemble a tree).
36274
-
36275
- var currentPhase = null;
36276
- var currentPhaseFiber = null; // Did lifecycle hook schedule an update? This is often a performance problem,
36277
- // so we will keep track of it, and include it in the report.
36278
- // Track commits caused by cascading updates.
36279
-
36280
- var isCommitting = false;
36281
- var hasScheduledUpdateInCurrentCommit = false;
36282
- var hasScheduledUpdateInCurrentPhase = false;
36283
- var commitCountInCurrentWorkLoop = 0;
36284
- var effectCountInCurrentCommit = 0;
36285
- // to avoid stretch the commit phase with measurement overhead.
36286
-
36287
- var labelsInCurrentCommit = new Set();
36288
-
36289
- var formatMarkName = function (markName) {
36290
- return reactEmoji + " " + markName;
36291
- };
36292
-
36293
- var formatLabel = function (label, warning) {
36294
- var prefix = warning ? warningEmoji + " " : reactEmoji + " ";
36295
- var suffix = warning ? " Warning: " + warning : '';
36296
- return "" + prefix + label + suffix;
36297
- };
36298
-
36299
- var beginMark = function (markName) {
36300
- performance.mark(formatMarkName(markName));
36301
- };
36302
-
36303
- var clearMark = function (markName) {
36304
- performance.clearMarks(formatMarkName(markName));
36305
- };
36306
-
36307
- var endMark = function (label, markName, warning) {
36308
- var formattedMarkName = formatMarkName(markName);
36309
- var formattedLabel = formatLabel(label, warning);
36310
-
36311
- try {
36312
- performance.measure(formattedLabel, formattedMarkName);
36313
- } catch (err) {} // If previous mark was missing for some reason, this will throw.
36314
- // This could only happen if React crashed in an unexpected place earlier.
36315
- // Don't pile on with more errors.
36316
- // Clear marks immediately to avoid growing buffer.
36317
-
36318
-
36319
- performance.clearMarks(formattedMarkName);
36320
- performance.clearMeasures(formattedLabel);
36321
- };
36322
-
36323
- var getFiberMarkName = function (label, debugID) {
36324
- return label + " (#" + debugID + ")";
36325
- };
36326
-
36327
- var getFiberLabel = function (componentName, isMounted, phase) {
36328
- if (phase === null) {
36329
- // These are composite component total time measurements.
36330
- return componentName + " [" + (isMounted ? 'update' : 'mount') + "]";
36331
- } else {
36332
- // Composite component methods.
36333
- return componentName + "." + phase;
36334
- }
36335
- };
36336
-
36337
- var beginFiberMark = function (fiber, phase) {
36338
- var componentName = getComponentName(fiber.type) || 'Unknown';
36339
- var debugID = fiber._debugID;
36340
- var isMounted = fiber.alternate !== null;
36341
- var label = getFiberLabel(componentName, isMounted, phase);
36342
-
36343
- if (isCommitting && labelsInCurrentCommit.has(label)) {
36344
- // During the commit phase, we don't show duplicate labels because
36345
- // there is a fixed overhead for every measurement, and we don't
36346
- // want to stretch the commit phase beyond necessary.
36347
- return false;
36348
- }
36349
-
36350
- labelsInCurrentCommit.add(label);
36351
- var markName = getFiberMarkName(label, debugID);
36352
- beginMark(markName);
36353
- return true;
36354
- };
36355
-
36356
- var clearFiberMark = function (fiber, phase) {
36357
- var componentName = getComponentName(fiber.type) || 'Unknown';
36358
- var debugID = fiber._debugID;
36359
- var isMounted = fiber.alternate !== null;
36360
- var label = getFiberLabel(componentName, isMounted, phase);
36361
- var markName = getFiberMarkName(label, debugID);
36362
- clearMark(markName);
36363
- };
36364
-
36365
- var endFiberMark = function (fiber, phase, warning) {
36366
- var componentName = getComponentName(fiber.type) || 'Unknown';
36367
- var debugID = fiber._debugID;
36368
- var isMounted = fiber.alternate !== null;
36369
- var label = getFiberLabel(componentName, isMounted, phase);
36370
- var markName = getFiberMarkName(label, debugID);
36371
- endMark(label, markName, warning);
36372
- };
36373
-
36374
- var shouldIgnoreFiber = function (fiber) {
36375
- // Host components should be skipped in the timeline.
36376
- // We could check typeof fiber.type, but does this work with RN?
36377
- switch (fiber.tag) {
36378
- case HostRoot:
36379
- case HostComponent:
36380
- case HostText:
36381
- case HostPortal:
36382
- case Fragment:
36383
- case ContextProvider:
36384
- case ContextConsumer:
36385
- case Mode:
36386
- return true;
36387
-
36388
- default:
36389
- return false;
36390
- }
36391
- };
36392
-
36393
- var clearPendingPhaseMeasurement = function () {
36394
- if (currentPhase !== null && currentPhaseFiber !== null) {
36395
- clearFiberMark(currentPhaseFiber, currentPhase);
36396
- }
36397
-
36398
- currentPhaseFiber = null;
36399
- currentPhase = null;
36400
- hasScheduledUpdateInCurrentPhase = false;
36401
- };
36402
-
36403
- var pauseTimers = function () {
36404
- // Stops all currently active measurements so that they can be resumed
36405
- // if we continue in a later deferred loop from the same unit of work.
36406
- var fiber = currentFiber;
36407
-
36408
- while (fiber) {
36409
- if (fiber._debugIsCurrentlyTiming) {
36410
- endFiberMark(fiber, null, null);
36411
- }
36412
-
36413
- fiber = fiber.return;
36414
- }
36415
- };
36416
-
36417
- var resumeTimersRecursively = function (fiber) {
36418
- if (fiber.return !== null) {
36419
- resumeTimersRecursively(fiber.return);
36420
- }
36421
-
36422
- if (fiber._debugIsCurrentlyTiming) {
36423
- beginFiberMark(fiber, null);
36424
- }
36425
- };
36426
-
36427
- var resumeTimers = function () {
36428
- // Resumes all measurements that were active during the last deferred loop.
36429
- if (currentFiber !== null) {
36430
- resumeTimersRecursively(currentFiber);
36431
- }
36432
- };
36433
-
36434
- function recordEffect() {
36435
- if (enableUserTimingAPI) {
36436
- effectCountInCurrentCommit++;
36437
- }
36438
- }
36439
- function recordScheduleUpdate() {
36440
- if (enableUserTimingAPI) {
36441
- if (isCommitting) {
36442
- hasScheduledUpdateInCurrentCommit = true;
36443
- }
36444
-
36445
- if (currentPhase !== null && currentPhase !== 'componentWillMount' && currentPhase !== 'componentWillReceiveProps') {
36446
- hasScheduledUpdateInCurrentPhase = true;
36447
- }
36448
- }
36449
- }
36450
-
36451
-
36452
- function startWorkTimer(fiber) {
36453
- if (enableUserTimingAPI) {
36454
- if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
36455
- return;
36456
- } // If we pause, this is the fiber to unwind from.
36457
-
36458
-
36459
- currentFiber = fiber;
36460
-
36461
- if (!beginFiberMark(fiber, null)) {
36462
- return;
36463
- }
36464
-
36465
- fiber._debugIsCurrentlyTiming = true;
36466
- }
36467
- }
36468
- function cancelWorkTimer(fiber) {
36469
- if (enableUserTimingAPI) {
36470
- if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
36471
- return;
36472
- } // Remember we shouldn't complete measurement for this fiber.
36473
- // Otherwise flamechart will be deep even for small updates.
36474
-
36475
-
36476
- fiber._debugIsCurrentlyTiming = false;
36477
- clearFiberMark(fiber, null);
36478
- }
36479
- }
36480
- function stopWorkTimer(fiber) {
36481
- if (enableUserTimingAPI) {
36482
- if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
36483
- return;
36484
- } // If we pause, its parent is the fiber to unwind from.
36485
-
36486
-
36487
- currentFiber = fiber.return;
36488
-
36489
- if (!fiber._debugIsCurrentlyTiming) {
36490
- return;
36491
- }
36492
-
36493
- fiber._debugIsCurrentlyTiming = false;
36494
- endFiberMark(fiber, null, null);
36495
- }
36496
- }
36497
- function stopFailedWorkTimer(fiber) {
36498
- if (enableUserTimingAPI) {
36499
- if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
36500
- return;
36501
- } // If we pause, its parent is the fiber to unwind from.
36502
-
36503
-
36504
- currentFiber = fiber.return;
36505
-
36506
- if (!fiber._debugIsCurrentlyTiming) {
36507
- return;
36508
- }
36509
-
36510
- fiber._debugIsCurrentlyTiming = false;
36511
- var warning = fiber.tag === SuspenseComponent ? 'Rendering was suspended' : 'An error was thrown inside this error boundary';
36512
- endFiberMark(fiber, null, warning);
36513
- }
36514
- }
36515
- function startPhaseTimer(fiber, phase) {
36516
- if (enableUserTimingAPI) {
36517
- if (!supportsUserTiming) {
36518
- return;
36519
- }
36520
-
36521
- clearPendingPhaseMeasurement();
36522
-
36523
- if (!beginFiberMark(fiber, phase)) {
36524
- return;
36525
- }
36526
-
36527
- currentPhaseFiber = fiber;
36528
- currentPhase = phase;
36529
- }
36530
- }
36531
- function stopPhaseTimer() {
36532
- if (enableUserTimingAPI) {
36533
- if (!supportsUserTiming) {
36534
- return;
36535
- }
36536
-
36537
- if (currentPhase !== null && currentPhaseFiber !== null) {
36538
- var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
36539
- endFiberMark(currentPhaseFiber, currentPhase, warning);
36540
- }
36541
-
36542
- currentPhase = null;
36543
- currentPhaseFiber = null;
36544
- }
36545
- }
36546
- function startWorkLoopTimer(nextUnitOfWork) {
36547
- if (enableUserTimingAPI) {
36548
- currentFiber = nextUnitOfWork;
36549
-
36550
- if (!supportsUserTiming) {
36551
- return;
36552
- }
36553
-
36554
- commitCountInCurrentWorkLoop = 0; // This is top level call.
36555
- // Any other measurements are performed within.
36556
-
36557
- beginMark('(React Tree Reconciliation)'); // Resume any measurements that were in progress during the last loop.
36558
-
36559
- resumeTimers();
36560
- }
36561
- }
36562
- function stopWorkLoopTimer(interruptedBy, didCompleteRoot) {
36563
- if (enableUserTimingAPI) {
36564
- if (!supportsUserTiming) {
36565
- return;
36566
- }
36567
-
36568
- var warning = null;
36569
-
36570
- if (interruptedBy !== null) {
36571
- if (interruptedBy.tag === HostRoot) {
36572
- warning = 'A top-level update interrupted the previous render';
36573
- } else {
36574
- var componentName = getComponentName(interruptedBy.type) || 'Unknown';
36575
- warning = "An update to " + componentName + " interrupted the previous render";
36576
- }
36577
- } else if (commitCountInCurrentWorkLoop > 1) {
36578
- warning = 'There were cascading updates';
36579
- }
36580
-
36581
- commitCountInCurrentWorkLoop = 0;
36582
- var label = didCompleteRoot ? '(React Tree Reconciliation: Completed Root)' : '(React Tree Reconciliation: Yielded)'; // Pause any measurements until the next loop.
36583
-
36584
- pauseTimers();
36585
- endMark(label, '(React Tree Reconciliation)', warning);
36586
- }
36587
- }
36588
- function startCommitTimer() {
36589
- if (enableUserTimingAPI) {
36590
- if (!supportsUserTiming) {
36591
- return;
36592
- }
36593
-
36594
- isCommitting = true;
36595
- hasScheduledUpdateInCurrentCommit = false;
36596
- labelsInCurrentCommit.clear();
36597
- beginMark('(Committing Changes)');
36598
- }
36599
- }
36600
- function stopCommitTimer() {
36601
- if (enableUserTimingAPI) {
36602
- if (!supportsUserTiming) {
36603
- return;
36604
- }
36605
-
36606
- var warning = null;
36607
-
36608
- if (hasScheduledUpdateInCurrentCommit) {
36609
- warning = 'Lifecycle hook scheduled a cascading update';
36610
- } else if (commitCountInCurrentWorkLoop > 0) {
36611
- warning = 'Caused by a cascading update in earlier commit';
36612
- }
36613
-
36614
- hasScheduledUpdateInCurrentCommit = false;
36615
- commitCountInCurrentWorkLoop++;
36616
- isCommitting = false;
36617
- labelsInCurrentCommit.clear();
36618
- endMark('(Committing Changes)', '(Committing Changes)', warning);
36619
- }
36620
- }
36621
- function startCommitSnapshotEffectsTimer() {
36622
- if (enableUserTimingAPI) {
36623
- if (!supportsUserTiming) {
36624
- return;
36625
- }
36626
-
36627
- effectCountInCurrentCommit = 0;
36628
- beginMark('(Committing Snapshot Effects)');
36629
- }
36630
- }
36631
- function stopCommitSnapshotEffectsTimer() {
36632
- if (enableUserTimingAPI) {
36633
- if (!supportsUserTiming) {
36634
- return;
36635
- }
36636
-
36637
- var count = effectCountInCurrentCommit;
36638
- effectCountInCurrentCommit = 0;
36639
- endMark("(Committing Snapshot Effects: " + count + " Total)", '(Committing Snapshot Effects)', null);
36640
- }
36641
- }
36642
- function startCommitHostEffectsTimer() {
36643
- if (enableUserTimingAPI) {
36644
- if (!supportsUserTiming) {
36645
- return;
36646
- }
36647
-
36648
- effectCountInCurrentCommit = 0;
36649
- beginMark('(Committing Host Effects)');
36650
- }
36651
- }
36652
- function stopCommitHostEffectsTimer() {
36653
- if (enableUserTimingAPI) {
36654
- if (!supportsUserTiming) {
36655
- return;
36656
- }
36657
-
36658
- var count = effectCountInCurrentCommit;
36659
- effectCountInCurrentCommit = 0;
36660
- endMark("(Committing Host Effects: " + count + " Total)", '(Committing Host Effects)', null);
36661
- }
36662
- }
36663
- function startCommitLifeCyclesTimer() {
36664
- if (enableUserTimingAPI) {
36665
- if (!supportsUserTiming) {
36666
- return;
36667
- }
36668
-
36669
- effectCountInCurrentCommit = 0;
36670
- beginMark('(Calling Lifecycle Methods)');
36671
- }
36672
- }
36673
- function stopCommitLifeCyclesTimer() {
36674
- if (enableUserTimingAPI) {
36675
- if (!supportsUserTiming) {
36676
- return;
36677
- }
36678
-
36679
- var count = effectCountInCurrentCommit;
36680
- effectCountInCurrentCommit = 0;
36681
- endMark("(Calling Lifecycle Methods: " + count + " Total)", '(Calling Lifecycle Methods)', null);
36682
- }
36683
- }
36684
-
36685
- var valueStack = [];
36686
- var fiberStack;
36687
-
36688
- {
36689
- fiberStack = [];
36690
- }
36691
-
36692
- var index = -1;
36693
-
36694
- function createCursor(defaultValue) {
36695
- return {
36696
- current: defaultValue
36697
- };
36698
- }
36699
-
36700
- function pop(cursor, fiber) {
36701
- if (index < 0) {
36702
- {
36703
- warningWithoutStack$1(false, 'Unexpected pop.');
36704
- }
36705
-
36706
- return;
36707
- }
36708
-
36709
- {
36710
- if (fiber !== fiberStack[index]) {
36711
- warningWithoutStack$1(false, 'Unexpected Fiber popped.');
36712
- }
36713
- }
36714
-
36715
- cursor.current = valueStack[index];
36716
- valueStack[index] = null;
36717
-
36718
- {
36719
- fiberStack[index] = null;
36720
- }
36721
-
36722
- index--;
36723
- }
36724
-
36725
- function push(cursor, value, fiber) {
36726
- index++;
36727
- valueStack[index] = cursor.current;
36728
-
36729
- {
36730
- fiberStack[index] = fiber;
36731
- }
36732
-
36733
- cursor.current = value;
36734
- }
36735
-
36736
- var warnedAboutMissingGetChildContext;
36737
-
36738
- {
36739
- warnedAboutMissingGetChildContext = {};
36740
- }
36741
-
36742
- var emptyContextObject = {};
36743
-
36744
- {
36745
- Object.freeze(emptyContextObject);
36746
- } // A cursor to the current merged context object on the stack.
36747
-
36748
-
36749
- var contextStackCursor = createCursor(emptyContextObject); // A cursor to a boolean indicating whether the context has changed.
36750
-
36751
- var didPerformWorkStackCursor = createCursor(false); // Keep track of the previous context object that was on the stack.
36752
- // We use this to get access to the parent context after we have already
36753
- // pushed the next context provider, and now need to merge their contexts.
36754
-
36755
- var previousContext = emptyContextObject;
36756
-
36757
- function getUnmaskedContext(workInProgress, Component, didPushOwnContextIfProvider) {
36758
- if (disableLegacyContext) {
36759
- return emptyContextObject;
36760
- } else {
36761
- if (didPushOwnContextIfProvider && isContextProvider(Component)) {
36762
- // If the fiber is a context provider itself, when we read its context
36763
- // we may have already pushed its own child context on the stack. A context
36764
- // provider should not "see" its own child context. Therefore we read the
36765
- // previous (parent) context instead for a context provider.
36766
- return previousContext;
36767
- }
36768
-
36769
- return contextStackCursor.current;
36770
- }
36771
- }
36772
-
36773
- function cacheContext(workInProgress, unmaskedContext, maskedContext) {
36774
- if (disableLegacyContext) {
36775
- return;
36776
- } else {
36777
- var instance = workInProgress.stateNode;
36778
- instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
36779
- instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
36780
- }
36781
- }
36782
-
36783
- function getMaskedContext(workInProgress, unmaskedContext) {
36784
- if (disableLegacyContext) {
36785
- return emptyContextObject;
36786
- } else {
36787
- var type = workInProgress.type;
36788
- var contextTypes = type.contextTypes;
36789
-
36790
- if (!contextTypes) {
36791
- return emptyContextObject;
36792
- } // Avoid recreating masked context unless unmasked context has changed.
36793
- // Failing to do this will result in unnecessary calls to componentWillReceiveProps.
36794
- // This may trigger infinite loops if componentWillReceiveProps calls setState.
36795
-
36796
-
36797
- var instance = workInProgress.stateNode;
36798
-
36799
- if (instance && instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext) {
36800
- return instance.__reactInternalMemoizedMaskedChildContext;
36801
- }
36802
-
36803
- var context = {};
36804
-
36805
- for (var key in contextTypes) {
36806
- context[key] = unmaskedContext[key];
36807
- }
36808
-
36809
- {
36810
- var name = getComponentName(type) || 'Unknown';
36811
- checkPropTypes(contextTypes, context, 'context', name, getCurrentFiberStackInDev);
36812
- } // Cache unmasked context so we can avoid recreating masked context unless necessary.
36813
- // Context is created before the class component is instantiated so check for instance.
36814
-
36815
-
36816
- if (instance) {
36817
- cacheContext(workInProgress, unmaskedContext, context);
36818
- }
36819
-
36820
- return context;
36821
- }
36822
- }
36823
-
36824
- function hasContextChanged() {
36825
- if (disableLegacyContext) {
36826
- return false;
36827
- } else {
36828
- return didPerformWorkStackCursor.current;
36829
- }
36830
- }
36831
-
36832
- function isContextProvider(type) {
36833
- if (disableLegacyContext) {
36834
- return false;
36835
- } else {
36836
- var childContextTypes = type.childContextTypes;
36837
- return childContextTypes !== null && childContextTypes !== undefined;
36838
- }
36839
- }
36840
-
36841
- function popContext(fiber) {
36842
- if (disableLegacyContext) {
36843
- return;
36844
- } else {
36845
- pop(didPerformWorkStackCursor, fiber);
36846
- pop(contextStackCursor, fiber);
36847
- }
36848
- }
36849
-
36850
- function popTopLevelContextObject(fiber) {
36851
- if (disableLegacyContext) {
36852
- return;
36853
- } else {
36854
- pop(didPerformWorkStackCursor, fiber);
36855
- pop(contextStackCursor, fiber);
36856
- }
36857
- }
36858
-
36859
- function pushTopLevelContextObject(fiber, context, didChange) {
36860
- if (disableLegacyContext) {
36861
- return;
36862
- } else {
36863
- if (!(contextStackCursor.current === emptyContextObject)) {
36864
- {
36865
- throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");
36866
- }
36867
- }
36868
-
36869
- push(contextStackCursor, context, fiber);
36870
- push(didPerformWorkStackCursor, didChange, fiber);
36871
- }
36872
- }
36873
-
36874
- function processChildContext(fiber, type, parentContext) {
36875
- if (disableLegacyContext) {
36876
- return parentContext;
36877
- } else {
36878
- var instance = fiber.stateNode;
36879
- var childContextTypes = type.childContextTypes; // TODO (bvaughn) Replace this behavior with an invariant() in the future.
36880
- // It has only been added in Fiber to match the (unintentional) behavior in Stack.
36881
-
36882
- if (typeof instance.getChildContext !== 'function') {
36883
- {
36884
- var componentName = getComponentName(type) || 'Unknown';
36885
-
36886
- if (!warnedAboutMissingGetChildContext[componentName]) {
36887
- warnedAboutMissingGetChildContext[componentName] = true;
36888
- warningWithoutStack$1(false, '%s.childContextTypes is specified but there is no getChildContext() method ' + 'on the instance. You can either define getChildContext() on %s or remove ' + 'childContextTypes from it.', componentName, componentName);
36889
- }
36890
- }
36891
-
36892
- return parentContext;
36893
- }
36894
-
36895
- var childContext;
36896
-
36897
- {
36898
- setCurrentPhase('getChildContext');
36899
- }
36900
-
36901
- startPhaseTimer(fiber, 'getChildContext');
36902
- childContext = instance.getChildContext();
36903
- stopPhaseTimer();
36904
-
36905
- {
36906
- setCurrentPhase(null);
36907
- }
36908
-
36909
- for (var contextKey in childContext) {
36910
- if (!(contextKey in childContextTypes)) {
36911
- {
36912
- throw Error((getComponentName(type) || 'Unknown') + ".getChildContext(): key \"" + contextKey + "\" is not defined in childContextTypes.");
36913
- }
36914
- }
36915
- }
36916
-
36917
- {
36918
- var name = getComponentName(type) || 'Unknown';
36919
- checkPropTypes(childContextTypes, childContext, 'child context', name, // In practice, there is one case in which we won't get a stack. It's when
36920
- // somebody calls unstable_renderSubtreeIntoContainer() and we process
36921
- // context from the parent component instance. The stack will be missing
36922
- // because it's outside of the reconciliation, and so the pointer has not
36923
- // been set. This is rare and doesn't matter. We'll also remove that API.
36924
- getCurrentFiberStackInDev);
36925
- }
36926
-
36927
- return _assign({}, parentContext, {}, childContext);
36928
- }
36929
- }
36930
-
36931
- function pushContextProvider(workInProgress) {
36932
- if (disableLegacyContext) {
36933
- return false;
36934
- } else {
36935
- var instance = workInProgress.stateNode; // We push the context as early as possible to ensure stack integrity.
36936
- // If the instance does not exist yet, we will push null at first,
36937
- // and replace it on the stack later when invalidating the context.
36938
-
36939
- var memoizedMergedChildContext = instance && instance.__reactInternalMemoizedMergedChildContext || emptyContextObject; // Remember the parent context so we can merge with it later.
36940
- // Inherit the parent's did-perform-work value to avoid inadvertently blocking updates.
36941
-
36942
- previousContext = contextStackCursor.current;
36943
- push(contextStackCursor, memoizedMergedChildContext, workInProgress);
36944
- push(didPerformWorkStackCursor, didPerformWorkStackCursor.current, workInProgress);
36945
- return true;
36946
- }
36947
- }
36948
-
36949
- function invalidateContextProvider(workInProgress, type, didChange) {
36950
- if (disableLegacyContext) {
36951
- return;
36952
- } else {
36953
- var instance = workInProgress.stateNode;
36954
-
36955
- if (!instance) {
36956
- {
36957
- throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");
36958
- }
36959
- }
36960
-
36961
- if (didChange) {
36962
- // Merge parent and own context.
36963
- // Skip this if we're not updating due to sCU.
36964
- // This avoids unnecessarily recomputing memoized values.
36965
- var mergedContext = processChildContext(workInProgress, type, previousContext);
36966
- instance.__reactInternalMemoizedMergedChildContext = mergedContext; // Replace the old (or empty) context with the new one.
36967
- // It is important to unwind the context in the reverse order.
36968
-
36969
- pop(didPerformWorkStackCursor, workInProgress);
36970
- pop(contextStackCursor, workInProgress); // Now push the new context and mark that it has changed.
36971
-
36972
- push(contextStackCursor, mergedContext, workInProgress);
36973
- push(didPerformWorkStackCursor, didChange, workInProgress);
36974
- } else {
36975
- pop(didPerformWorkStackCursor, workInProgress);
36976
- push(didPerformWorkStackCursor, didChange, workInProgress);
36977
- }
36978
- }
36979
- }
36980
-
36981
- function findCurrentUnmaskedContext(fiber) {
36982
- if (disableLegacyContext) {
36983
- return emptyContextObject;
36984
- } else {
36985
- // Currently this is only used with renderSubtreeIntoContainer; not sure if it
36986
- // makes sense elsewhere
36987
- if (!(isFiberMounted(fiber) && fiber.tag === ClassComponent)) {
36988
- {
36989
- throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");
36990
- }
36991
- }
36992
-
36993
- var node = fiber;
36994
-
36995
- do {
36996
- switch (node.tag) {
36997
- case HostRoot:
36998
- return node.stateNode.context;
36999
-
37000
- case ClassComponent:
37001
- {
37002
- var Component = node.type;
37003
-
37004
- if (isContextProvider(Component)) {
37005
- return node.stateNode.__reactInternalMemoizedMergedChildContext;
37006
- }
37007
-
37008
- break;
37009
- }
37010
- }
37011
-
37012
- node = node.return;
37013
- } while (node !== null);
37014
-
37015
- {
37016
- {
37017
- throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.");
37018
- }
37019
- }
37020
- }
37021
- }
37022
-
37023
- var LegacyRoot = 0;
37024
- var BlockingRoot = 1;
37025
- var ConcurrentRoot = 2;
37026
-
37027
- // Intentionally not named imports because Rollup would use dynamic dispatch for
37028
- // CommonJS interop named imports.
37029
- var Scheduler_runWithPriority = Scheduler.unstable_runWithPriority;
37030
- var Scheduler_scheduleCallback = Scheduler.unstable_scheduleCallback;
37031
- var Scheduler_cancelCallback = Scheduler.unstable_cancelCallback;
37032
- var Scheduler_shouldYield = Scheduler.unstable_shouldYield;
37033
- var Scheduler_requestPaint = Scheduler.unstable_requestPaint;
37034
- var Scheduler_now = Scheduler.unstable_now;
37035
- var Scheduler_getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel;
37036
- var Scheduler_ImmediatePriority = Scheduler.unstable_ImmediatePriority;
37037
- var Scheduler_UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
37038
- var Scheduler_NormalPriority = Scheduler.unstable_NormalPriority;
37039
- var Scheduler_LowPriority = Scheduler.unstable_LowPriority;
37040
- var Scheduler_IdlePriority = Scheduler.unstable_IdlePriority;
37041
-
37042
- if (enableSchedulerTracing) {
37043
- // Provide explicit error message when production+profiling bundle of e.g.
37044
- // react-dom is used with production (non-profiling) bundle of
37045
- // scheduler/tracing
37046
- if (!(tracing.__interactionsRef != null && tracing.__interactionsRef.current != null)) {
37047
- {
37048
- throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");
37049
- }
37050
- }
37051
- }
37052
-
37053
- var fakeCallbackNode = {}; // Except for NoPriority, these correspond to Scheduler priorities. We use
37054
- // ascending numbers so we can compare them like numbers. They start at 90 to
37055
- // avoid clashing with Scheduler's priorities.
37056
-
37057
- var ImmediatePriority = 99;
37058
- var UserBlockingPriority$2 = 98;
37059
- var NormalPriority = 97;
37060
- var LowPriority = 96;
37061
- var IdlePriority = 95; // NoPriority is the absence of priority. Also React-only.
37062
-
37063
- var NoPriority = 90;
37064
- var shouldYield = Scheduler_shouldYield;
37065
- var requestPaint = // Fall back gracefully if we're running an older version of Scheduler.
37066
- Scheduler_requestPaint !== undefined ? Scheduler_requestPaint : function () {};
37067
- var syncQueue = null;
37068
- var immediateQueueCallbackNode = null;
37069
- var isFlushingSyncQueue = false;
37070
- var initialTimeMs = Scheduler_now(); // If the initial timestamp is reasonably small, use Scheduler's `now` directly.
37071
- // This will be the case for modern browsers that support `performance.now`. In
37072
- // older browsers, Scheduler falls back to `Date.now`, which returns a Unix
37073
- // timestamp. In that case, subtract the module initialization time to simulate
37074
- // the behavior of performance.now and keep our times small enough to fit
37075
- // within 32 bits.
37076
- // TODO: Consider lifting this into Scheduler.
37077
-
37078
- var now = initialTimeMs < 10000 ? Scheduler_now : function () {
37079
- return Scheduler_now() - initialTimeMs;
37080
- };
37081
- function getCurrentPriorityLevel() {
37082
- switch (Scheduler_getCurrentPriorityLevel()) {
37083
- case Scheduler_ImmediatePriority:
37084
- return ImmediatePriority;
37085
-
37086
- case Scheduler_UserBlockingPriority:
37087
- return UserBlockingPriority$2;
37088
-
37089
- case Scheduler_NormalPriority:
37090
- return NormalPriority;
37091
-
37092
- case Scheduler_LowPriority:
37093
- return LowPriority;
37094
-
37095
- case Scheduler_IdlePriority:
37096
- return IdlePriority;
37097
-
37098
- default:
37099
- {
37100
- {
37101
- throw Error("Unknown priority level.");
37102
- }
37103
- }
37104
-
37105
- }
37106
- }
37107
-
37108
- function reactPriorityToSchedulerPriority(reactPriorityLevel) {
37109
- switch (reactPriorityLevel) {
37110
- case ImmediatePriority:
37111
- return Scheduler_ImmediatePriority;
37112
-
37113
- case UserBlockingPriority$2:
37114
- return Scheduler_UserBlockingPriority;
37115
-
37116
- case NormalPriority:
37117
- return Scheduler_NormalPriority;
37118
-
37119
- case LowPriority:
37120
- return Scheduler_LowPriority;
37121
-
37122
- case IdlePriority:
37123
- return Scheduler_IdlePriority;
37124
-
37125
- default:
37126
- {
37127
- {
37128
- throw Error("Unknown priority level.");
37129
- }
37130
- }
37131
-
37132
- }
37133
- }
37134
-
37135
- function runWithPriority$2(reactPriorityLevel, fn) {
37136
- var priorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);
37137
- return Scheduler_runWithPriority(priorityLevel, fn);
37138
- }
37139
- function scheduleCallback(reactPriorityLevel, callback, options) {
37140
- var priorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);
37141
- return Scheduler_scheduleCallback(priorityLevel, callback, options);
37142
- }
37143
- function scheduleSyncCallback(callback) {
37144
- // Push this callback into an internal queue. We'll flush these either in
37145
- // the next tick, or earlier if something calls `flushSyncCallbackQueue`.
37146
- if (syncQueue === null) {
37147
- syncQueue = [callback]; // Flush the queue in the next tick, at the earliest.
37148
-
37149
- immediateQueueCallbackNode = Scheduler_scheduleCallback(Scheduler_ImmediatePriority, flushSyncCallbackQueueImpl);
37150
- } else {
37151
- // Push onto existing queue. Don't need to schedule a callback because
37152
- // we already scheduled one when we created the queue.
37153
- syncQueue.push(callback);
37154
- }
37155
-
37156
- return fakeCallbackNode;
37157
- }
37158
- function cancelCallback(callbackNode) {
37159
- if (callbackNode !== fakeCallbackNode) {
37160
- Scheduler_cancelCallback(callbackNode);
37161
- }
37162
- }
37163
- function flushSyncCallbackQueue() {
37164
- if (immediateQueueCallbackNode !== null) {
37165
- var node = immediateQueueCallbackNode;
37166
- immediateQueueCallbackNode = null;
37167
- Scheduler_cancelCallback(node);
37168
- }
37169
-
37170
- flushSyncCallbackQueueImpl();
37171
- }
37172
-
37173
- function flushSyncCallbackQueueImpl() {
37174
- if (!isFlushingSyncQueue && syncQueue !== null) {
37175
- // Prevent re-entrancy.
37176
- isFlushingSyncQueue = true;
37177
- var i = 0;
37178
-
37179
- try {
37180
- var _isSync = true;
37181
- var queue = syncQueue;
37182
- runWithPriority$2(ImmediatePriority, function () {
37183
- for (; i < queue.length; i++) {
37184
- var callback = queue[i];
37185
-
37186
- do {
37187
- callback = callback(_isSync);
37188
- } while (callback !== null);
37189
- }
37190
- });
37191
- syncQueue = null;
37192
- } catch (error) {
37193
- // If something throws, leave the remaining callbacks on the queue.
37194
- if (syncQueue !== null) {
37195
- syncQueue = syncQueue.slice(i + 1);
37196
- } // Resume flushing in the next tick
37197
-
37198
-
37199
- Scheduler_scheduleCallback(Scheduler_ImmediatePriority, flushSyncCallbackQueue);
37200
- throw error;
37201
- } finally {
37202
- isFlushingSyncQueue = false;
37203
- }
37204
- }
37205
- }
37206
-
37207
- var NoMode = 0;
37208
- var StrictMode = 1; // TODO: Remove BlockingMode and ConcurrentMode by reading from the root
37209
- // tag instead
37210
-
37211
- var BlockingMode = 2;
37212
- var ConcurrentMode = 4;
37213
- var ProfileMode = 8;
37214
-
37215
- // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
37216
- // Math.pow(2, 30) - 1
37217
- // 0b111111111111111111111111111111
37218
- var MAX_SIGNED_31_BIT_INT = 1073741823;
37219
-
37220
- var NoWork = 0; // TODO: Think of a better name for Never. The key difference with Idle is that
37221
- // Never work can be committed in an inconsistent state without tearing the UI.
37222
- // The main example is offscreen content, like a hidden subtree. So one possible
37223
- // name is Offscreen. However, it also includes dehydrated Suspense boundaries,
37224
- // which are inconsistent in the sense that they haven't finished yet, but
37225
- // aren't visibly inconsistent because the server rendered HTML matches what the
37226
- // hydrated tree would look like.
37227
-
37228
- var Never = 1; // Idle is slightly higher priority than Never. It must completely finish in
37229
- // order to be consistent.
37230
-
37231
- var Idle = 2; // Continuous Hydration is a moving priority. It is slightly higher than Idle
37232
- // and is used to increase priority of hover targets. It is increasing with
37233
- // each usage so that last always wins.
37234
-
37235
- var ContinuousHydration = 3;
37236
- var Sync = MAX_SIGNED_31_BIT_INT;
37237
- var Batched = Sync - 1;
37238
- var UNIT_SIZE = 10;
37239
- var MAGIC_NUMBER_OFFSET = Batched - 1; // 1 unit of expiration time represents 10ms.
37240
-
37241
- function msToExpirationTime(ms) {
37242
- // Always add an offset so that we don't clash with the magic number for NoWork.
37243
- return MAGIC_NUMBER_OFFSET - (ms / UNIT_SIZE | 0);
37244
- }
37245
- function expirationTimeToMs(expirationTime) {
37246
- return (MAGIC_NUMBER_OFFSET - expirationTime) * UNIT_SIZE;
37247
- }
37248
-
37249
- function ceiling(num, precision) {
37250
- return ((num / precision | 0) + 1) * precision;
37251
- }
37252
-
37253
- function computeExpirationBucket(currentTime, expirationInMs, bucketSizeMs) {
37254
- return MAGIC_NUMBER_OFFSET - ceiling(MAGIC_NUMBER_OFFSET - currentTime + expirationInMs / UNIT_SIZE, bucketSizeMs / UNIT_SIZE);
37255
- } // TODO: This corresponds to Scheduler's NormalPriority, not LowPriority. Update
37256
- // the names to reflect.
37257
-
37258
-
37259
- var LOW_PRIORITY_EXPIRATION = 5000;
37260
- var LOW_PRIORITY_BATCH_SIZE = 250;
37261
- function computeAsyncExpiration(currentTime) {
37262
- return computeExpirationBucket(currentTime, LOW_PRIORITY_EXPIRATION, LOW_PRIORITY_BATCH_SIZE);
37263
- }
37264
- function computeSuspenseExpiration(currentTime, timeoutMs) {
37265
- // TODO: Should we warn if timeoutMs is lower than the normal pri expiration time?
37266
- return computeExpirationBucket(currentTime, timeoutMs, LOW_PRIORITY_BATCH_SIZE);
37267
- } // We intentionally set a higher expiration time for interactive updates in
37268
- // dev than in production.
37269
- //
37270
- // If the main thread is being blocked so long that you hit the expiration,
37271
- // it's a problem that could be solved with better scheduling.
37272
- //
37273
- // People will be more likely to notice this and fix it with the long
37274
- // expiration time in development.
37275
- //
37276
- // In production we opt for better UX at the risk of masking scheduling
37277
- // problems, by expiring fast.
37278
-
37279
- var HIGH_PRIORITY_EXPIRATION = 500;
37280
- var HIGH_PRIORITY_BATCH_SIZE = 100;
37281
- function computeInteractiveExpiration(currentTime) {
37282
- return computeExpirationBucket(currentTime, HIGH_PRIORITY_EXPIRATION, HIGH_PRIORITY_BATCH_SIZE);
37283
- }
37284
- function computeContinuousHydrationExpiration(currentTime) {
37285
- // Each time we ask for a new one of these we increase the priority.
37286
- // This ensures that the last one always wins since we can't deprioritize
37287
- // once we've scheduled work already.
37288
- return ContinuousHydration++;
37289
- }
37290
- function inferPriorityFromExpirationTime(currentTime, expirationTime) {
37291
- if (expirationTime === Sync) {
37292
- return ImmediatePriority;
37293
- }
37294
-
37295
- if (expirationTime === Never || expirationTime === Idle) {
37296
- return IdlePriority;
37297
- }
37298
-
37299
- var msUntil = expirationTimeToMs(expirationTime) - expirationTimeToMs(currentTime);
37300
-
37301
- if (msUntil <= 0) {
37302
- return ImmediatePriority;
37303
- }
37304
-
37305
- if (msUntil <= HIGH_PRIORITY_EXPIRATION + HIGH_PRIORITY_BATCH_SIZE) {
37306
- return UserBlockingPriority$2;
37307
- }
37308
-
37309
- if (msUntil <= LOW_PRIORITY_EXPIRATION + LOW_PRIORITY_BATCH_SIZE) {
37310
- return NormalPriority;
37311
- } // TODO: Handle LowPriority
37312
- // Assume anything lower has idle priority
37313
-
37314
-
37315
- return IdlePriority;
37316
- }
37317
-
37318
- /**
37319
- * Forked from fbjs/warning:
37320
- * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
37321
- *
37322
- * Only change is we use console.warn instead of console.error,
37323
- * and do nothing when 'console' is not supported.
37324
- * This really simplifies the code.
37325
- * ---
37326
- * Similar to invariant but only logs a warning if the condition is not met.
37327
- * This can be used to log issues in development environments in critical
37328
- * paths. Removing the logging code for production environments will keep the
37329
- * same logic and follow the same code paths.
37330
- */
37331
- var lowPriorityWarningWithoutStack = function () {};
37332
-
37333
- {
37334
- var printWarning = function (format) {
37335
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
37336
- args[_key - 1] = arguments[_key];
37337
- }
37338
-
37339
- var argIndex = 0;
37340
- var message = 'Warning: ' + format.replace(/%s/g, function () {
37341
- return args[argIndex++];
37342
- });
37343
-
37344
- if (typeof console !== 'undefined') {
37345
- console.warn(message);
37346
- }
37347
-
37348
- try {
37349
- // --- Welcome to debugging React ---
37350
- // This error was thrown as a convenience so that you can use this stack
37351
- // to find the callsite that caused this warning to fire.
37352
- throw new Error(message);
37353
- } catch (x) {}
37354
- };
37355
-
37356
- lowPriorityWarningWithoutStack = function (condition, format) {
37357
- if (format === undefined) {
37358
- throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
37359
- }
37360
-
37361
- if (!condition) {
37362
- for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 296);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ([
68
  /***/ (function(module, exports, __webpack_require__) {
69
 
70
  "use strict";
71
+ /* WEBPACK VAR INJECTION */(function(process) {
72
+
73
+ if (process.env.NODE_ENV === 'production') {
74
+ module.exports = __webpack_require__(297);
75
+ } else {
76
+ module.exports = __webpack_require__(298);
77
+ }
78
 
79
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
80
 
82
  /* 1 */
83
  /***/ (function(module, exports) {
84
 
85
+ // shim for using process in browser
86
+ var process = module.exports = {};
87
+
88
+ // cached from whatever global is present so that test runners that stub it
89
+ // don't break things. But we need to wrap it in a try catch in case it is
90
+ // wrapped in strict mode code which doesn't define any globals. It's inside a
91
+ // function because try/catches deoptimize in certain engines.
92
+
93
+ var cachedSetTimeout;
94
+ var cachedClearTimeout;
95
+
96
+ function defaultSetTimout() {
97
+ throw new Error('setTimeout has not been defined');
98
+ }
99
+ function defaultClearTimeout () {
100
+ throw new Error('clearTimeout has not been defined');
101
+ }
102
+ (function () {
103
+ try {
104
+ if (typeof setTimeout === 'function') {
105
+ cachedSetTimeout = setTimeout;
106
+ } else {
107
+ cachedSetTimeout = defaultSetTimout;
108
+ }
109
+ } catch (e) {
110
+ cachedSetTimeout = defaultSetTimout;
111
+ }
112
+ try {
113
+ if (typeof clearTimeout === 'function') {
114
+ cachedClearTimeout = clearTimeout;
115
+ } else {
116
+ cachedClearTimeout = defaultClearTimeout;
117
+ }
118
+ } catch (e) {
119
+ cachedClearTimeout = defaultClearTimeout;
120
+ }
121
+ } ())
122
+ function runTimeout(fun) {
123
+ if (cachedSetTimeout === setTimeout) {
124
+ //normal enviroments in sane situations
125
+ return setTimeout(fun, 0);
126
+ }
127
+ // if setTimeout wasn't available but was latter defined
128
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
129
+ cachedSetTimeout = setTimeout;
130
+ return setTimeout(fun, 0);
131
+ }
132
+ try {
133
+ // when when somebody has screwed with setTimeout but no I.E. maddness
134
+ return cachedSetTimeout(fun, 0);
135
+ } catch(e){
136
+ try {
137
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
138
+ return cachedSetTimeout.call(null, fun, 0);
139
+ } catch(e){
140
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
141
+ return cachedSetTimeout.call(this, fun, 0);
142
+ }
143
+ }
144
+
145
+
146
+ }
147
+ function runClearTimeout(marker) {
148
+ if (cachedClearTimeout === clearTimeout) {
149
+ //normal enviroments in sane situations
150
+ return clearTimeout(marker);
151
+ }
152
+ // if clearTimeout wasn't available but was latter defined
153
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
154
+ cachedClearTimeout = clearTimeout;
155
+ return clearTimeout(marker);
156
+ }
157
+ try {
158
+ // when when somebody has screwed with setTimeout but no I.E. maddness
159
+ return cachedClearTimeout(marker);
160
+ } catch (e){
161
+ try {
162
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
163
+ return cachedClearTimeout.call(null, marker);
164
+ } catch (e){
165
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
166
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
167
+ return cachedClearTimeout.call(this, marker);
168
+ }
169
+ }
170
+
171
+
172
+
173
+ }
174
+ var queue = [];
175
+ var draining = false;
176
+ var currentQueue;
177
+ var queueIndex = -1;
178
+
179
+ function cleanUpNextTick() {
180
+ if (!draining || !currentQueue) {
181
+ return;
182
+ }
183
+ draining = false;
184
+ if (currentQueue.length) {
185
+ queue = currentQueue.concat(queue);
186
+ } else {
187
+ queueIndex = -1;
188
+ }
189
+ if (queue.length) {
190
+ drainQueue();
191
+ }
192
+ }
193
+
194
+ function drainQueue() {
195
+ if (draining) {
196
+ return;
197
+ }
198
+ var timeout = runTimeout(cleanUpNextTick);
199
+ draining = true;
200
+
201
+ var len = queue.length;
202
+ while(len) {
203
+ currentQueue = queue;
204
+ queue = [];
205
+ while (++queueIndex < len) {
206
+ if (currentQueue) {
207
+ currentQueue[queueIndex].run();
208
+ }
209
+ }
210
+ queueIndex = -1;
211
+ len = queue.length;
212
+ }
213
+ currentQueue = null;
214
+ draining = false;
215
+ runClearTimeout(timeout);
216
+ }
217
+
218
+ process.nextTick = function (fun) {
219
+ var args = new Array(arguments.length - 1);
220
+ if (arguments.length > 1) {
221
+ for (var i = 1; i < arguments.length; i++) {
222
+ args[i - 1] = arguments[i];
223
+ }
224
+ }
225
+ queue.push(new Item(fun, args));
226
+ if (queue.length === 1 && !draining) {
227
+ runTimeout(drainQueue);
228
+ }
229
+ };
230
+
231
+ // v8 likes predictible objects
232
+ function Item(fun, array) {
233
+ this.fun = fun;
234
+ this.array = array;
235
+ }
236
+ Item.prototype.run = function () {
237
+ this.fun.apply(null, this.array);
238
+ };
239
+ process.title = 'browser';
240
+ process.browser = true;
241
+ process.env = {};
242
+ process.argv = [];
243
+ process.version = ''; // empty string to avoid regexp issues
244
+ process.versions = {};
245
+
246
+ function noop() {}
247
+
248
+ process.on = noop;
249
+ process.addListener = noop;
250
+ process.once = noop;
251
+ process.off = noop;
252
+ process.removeListener = noop;
253
+ process.removeAllListeners = noop;
254
+ process.emit = noop;
255
+ process.prependListener = noop;
256
+ process.prependOnceListener = noop;
257
+
258
+ process.listeners = function (name) { return [] }
259
+
260
+ process.binding = function (name) {
261
+ throw new Error('process.binding is not supported');
262
+ };
263
+
264
+ process.cwd = function () { return '/' };
265
+ process.chdir = function (dir) {
266
+ throw new Error('process.chdir is not supported');
267
+ };
268
+ process.umask = function() { return 0; };
269
 
270
 
271
  /***/ }),
272
  /* 2 */
273
  /***/ (function(module, exports, __webpack_require__) {
274
 
275
+ /* WEBPACK VAR INJECTION */(function(process) {/**
276
+ * Copyright (c) 2013-present, Facebook, Inc.
277
+ *
278
+ * This source code is licensed under the MIT license found in the
279
+ * LICENSE file in the root directory of this source tree.
280
+ */
281
+
282
+ if (process.env.NODE_ENV !== 'production') {
283
+ var ReactIs = __webpack_require__(14);
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__(309)(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__(310)();
293
+ }
294
 
295
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
296
 
300
 
301
  "use strict";
302
  /* harmony export (immutable) */ __webpack_exports__["a"] = _extends;
303
+ function _extends() {
304
+ _extends = Object.assign || function (target) {
305
+ for (var i = 1; i < arguments.length; i++) {
306
+ var source = arguments[i];
307
+
308
+ for (var key in source) {
309
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
310
+ target[key] = source[key];
311
+ }
312
+ }
313
+ }
314
+
315
+ return target;
316
+ };
317
+
318
+ return _extends.apply(this, arguments);
319
  }
320
 
321
  /***/ }),
324
 
325
  "use strict";
326
  /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
327
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__ = __webpack_require__(25);
328
+
329
+ function _objectWithoutProperties(source, excluded) {
330
+ if (source == null) return {};
331
+ var target = Object(__WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__["a" /* default */])(source, excluded);
332
+ var key, i;
333
+
334
+ if (Object.getOwnPropertySymbols) {
335
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
336
+
337
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
338
+ key = sourceSymbolKeys[i];
339
+ if (excluded.indexOf(key) >= 0) continue;
340
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
341
+ target[key] = source[key];
342
+ }
343
+ }
344
+
345
+ return target;
346
  }
347
 
348
  /***/ }),
414
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
415
 
416
  "use strict";
417
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__ = __webpack_require__(93);
418
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__["a"]; });
419
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deepmerge__ = __webpack_require__(341);
420
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__deepmerge__["a"]; });
421
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__ = __webpack_require__(342);
422
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__["a"]; });
423
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__ = __webpack_require__(343);
424
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__["a"]; });
425
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__exactProp__ = __webpack_require__(344);
426
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__exactProp__["a"]; });
427
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__getDisplayName__ = __webpack_require__(345);
428
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__getDisplayName__["a"]; });
429
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ponyfillGlobal__ = __webpack_require__(346);
430
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__ponyfillGlobal__["a"]; });
431
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__refType__ = __webpack_require__(347);
432
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__refType__["a"]; });
433
  /** @license Material-UI v4.9.6
434
  *
472
  "use strict";
473
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__capitalize__ = __webpack_require__(8);
474
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__capitalize__["a"]; });
475
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deprecatedPropType__ = __webpack_require__(192);
476
  /* unused harmony reexport createChainedFunction */
477
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__ = __webpack_require__(19);
478
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__["a"]; });
481
  /* unused harmony reexport deprecatedPropType */
482
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__isMuiElement__ = __webpack_require__(55);
483
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_4__isMuiElement__["a"]; });
484
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ownerDocument__ = __webpack_require__(30);
485
  /* unused harmony reexport ownerDocument */
486
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ownerWindow__ = __webpack_require__(56);
487
  /* unused harmony reexport ownerWindow */
488
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__requirePropFactory__ = __webpack_require__(193);
489
  /* unused harmony reexport requirePropFactory */
490
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__setRef__ = __webpack_require__(39);
491
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_8__setRef__["a"]; });
492
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__unsupportedProp__ = __webpack_require__(74);
493
  /* unused harmony reexport unsupportedProp */
494
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__useControlled__ = __webpack_require__(40);
495
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_10__useControlled__["a"]; });
497
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_11__useEventCallback__["a"]; });
498
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__useForkRef__ = __webpack_require__(11);
499
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_12__useForkRef__["a"]; });
500
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__unstable_useId__ = __webpack_require__(104);
501
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_13__unstable_useId__["a"]; });
502
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__useIsFocusVisible__ = __webpack_require__(57);
503
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_14__useIsFocusVisible__["a"]; });
524
  /***/ (function(module, exports, __webpack_require__) {
525
 
526
  "use strict";
527
+ /* WEBPACK VAR INJECTION */(function(process) {
528
+
529
+ function checkDCE() {
530
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
531
+ if (
532
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
533
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
534
+ ) {
535
+ return;
536
+ }
537
+ if (process.env.NODE_ENV !== 'production') {
538
+ // This branch is unreachable because this function is only called
539
+ // in production, but the condition is true only in development.
540
+ // Therefore if the branch is still here, dead code elimination wasn't
541
+ // properly applied.
542
+ // Don't change the message. React DevTools relies on it. Also make sure
543
+ // this message doesn't occur elsewhere in this function, or it will cause
544
+ // a false positive.
545
+ throw new Error('^_^');
546
+ }
547
+ try {
548
+ // Verify that the code above has been dead code eliminated (DCE'd).
549
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
550
+ } catch (err) {
551
+ // DevTools shouldn't crash React, no matter what.
552
+ // We should still report in case we break this code.
553
+ console.error(err);
554
+ }
555
+ }
556
+
557
+ if (process.env.NODE_ENV === 'production') {
558
+ // DCE check should happen before ReactDOM bundle executes so that
559
+ // DevTools can report bad minification during injection.
560
+ checkDCE();
561
+ module.exports = __webpack_require__(299);
562
+ } else {
563
+ module.exports = __webpack_require__(302);
564
+ }
565
 
566
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
567
 
600
 
601
  "use strict";
602
  /* harmony export (immutable) */ __webpack_exports__["a"] = _defineProperty;
603
+ function _defineProperty(obj, key, value) {
604
+ if (key in obj) {
605
+ Object.defineProperty(obj, key, {
606
+ value: value,
607
+ enumerable: true,
608
+ configurable: true,
609
+ writable: true
610
+ });
611
+ } else {
612
+ obj[key] = value;
613
+ }
614
+
615
+ return obj;
616
  }
617
 
618
  /***/ }),
645
  /***/ (function(module, exports, __webpack_require__) {
646
 
647
  "use strict";
648
+ /* WEBPACK VAR INJECTION */(function(process) {
649
+
650
+ if (process.env.NODE_ENV === 'production') {
651
+ module.exports = __webpack_require__(307);
652
+ } else {
653
+ module.exports = __webpack_require__(308);
654
+ }
655
 
656
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
657
 
956
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
957
 
958
  "use strict";
959
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonBase__ = __webpack_require__(446);
960
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ButtonBase__["a"]; });
961
 
962
 
972
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["e"]; });
973
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createMuiTheme__ = __webpack_require__(98);
974
  /* unused harmony reexport createMuiTheme */
975
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createMuiStrictModeTheme__ = __webpack_require__(414);
976
  /* unused harmony reexport unstable_createMuiStrictModeTheme */
977
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createStyles__ = __webpack_require__(435);
978
  /* unused harmony reexport createStyles */
979
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__makeStyles__ = __webpack_require__(436);
980
  /* unused harmony reexport makeStyles */
981
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__responsiveFontSizes__ = __webpack_require__(437);
982
  /* unused harmony reexport responsiveFontSizes */
983
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styled__ = __webpack_require__(198);
984
  /* unused harmony reexport styled */
985
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions__ = __webpack_require__(29);
986
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_7__transitions__["b"]; });
987
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__useTheme__ = __webpack_require__(13);
988
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_8__useTheme__["a"]; });
989
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__withStyles__ = __webpack_require__(6);
990
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_9__withStyles__["a"]; });
991
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__withTheme__ = __webpack_require__(439);
992
  /* unused harmony reexport withTheme */
993
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_ui_styles__ = __webpack_require__(20);
994
  /* unused harmony reexport createGenerateClassName */
1017
 
1018
  "use strict";
1019
  /* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
1020
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__ = __webpack_require__(360);
1021
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(143);
1022
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__nonIterableSpread__ = __webpack_require__(361);
1023
+
1024
+
1025
+
1026
+ function _toConsumableArray(arr) {
1027
+ return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__nonIterableSpread__["a" /* default */])();
1028
  }
1029
 
1030
  /***/ }),
1036
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
1037
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
1038
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
1039
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SvgIcon__ = __webpack_require__(73);
1040
 
1041
 
1042
 
1069
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createGenerateClassName__ = __webpack_require__(65);
1070
  /* unused harmony reexport createGenerateClassName */
1071
  /* unused harmony namespace reexport */
1072
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(141);
1073
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__createStyles__["a"]; });
1074
  /* unused harmony namespace reexport */
1075
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getThemeProps__ = __webpack_require__(94);
1076
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__getThemeProps__["a"]; });
1077
  /* unused harmony namespace reexport */
1078
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__jssPreset__ = __webpack_require__(95);
1079
  /* unused harmony reexport jssPreset */
1080
  /* unused harmony namespace reexport */
1081
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__makeStyles__ = __webpack_require__(68);
1084
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mergeClasses__ = __webpack_require__(96);
1085
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__mergeClasses__["a"]; });
1086
  /* unused harmony namespace reexport */
1087
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ServerStyleSheets__ = __webpack_require__(147);
1088
  /* unused harmony reexport ServerStyleSheets */
1089
  /* unused harmony namespace reexport */
1090
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styled__ = __webpack_require__(148);
1091
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_8__styled__["a"]; });
1092
  /* unused harmony namespace reexport */
1093
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StylesProvider__ = __webpack_require__(69);
1094
  /* unused harmony reexport StylesProvider */
1095
  /* unused harmony namespace reexport */
1096
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ThemeProvider__ = __webpack_require__(149);
1097
  /* unused harmony reexport ThemeProvider */
1098
  /* unused harmony namespace reexport */
1099
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useTheme__ = __webpack_require__(45);
1100
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useTheme__["a"]; });
1101
  /* unused harmony namespace reexport */
1102
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__withStyles__ = __webpack_require__(150);
1103
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__withStyles__["a"]; });
1104
  /* unused harmony namespace reexport */
1105
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withTheme__ = __webpack_require__(151);
1106
  /* unused harmony reexport withTheme */
1107
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__withTheme__["a"]; });
1108
  /** @license Material-UI v4.9.10
1157
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1158
 
1159
  "use strict";
1160
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Paper__ = __webpack_require__(440);
1161
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Paper__["a"]; });
1162
 
1163
 
1166
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1167
 
1168
  "use strict";
1169
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Typography__ = __webpack_require__(473);
1170
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Typography__["a"]; });
1171
 
1172
 
1175
  /***/ (function(module, exports, __webpack_require__) {
1176
 
1177
  "use strict";
1178
+
1179
+ var strictUriEncode = __webpack_require__(332);
1180
+ var objectAssign = __webpack_require__(43);
1181
+
1182
+ function encoderForArrayFormat(opts) {
1183
+ switch (opts.arrayFormat) {
1184
+ case 'index':
1185
+ return function (key, value, index) {
1186
+ return value === null ? [
1187
+ encode(key, opts),
1188
+ '[',
1189
+ index,
1190
+ ']'
1191
+ ].join('') : [
1192
+ encode(key, opts),
1193
+ '[',
1194
+ encode(index, opts),
1195
+ ']=',
1196
+ encode(value, opts)
1197
+ ].join('');
1198
+ };
1199
+
1200
+ case 'bracket':
1201
+ return function (key, value) {
1202
+ return value === null ? encode(key, opts) : [
1203
+ encode(key, opts),
1204
+ '[]=',
1205
+ encode(value, opts)
1206
+ ].join('');
1207
+ };
1208
+
1209
+ default:
1210
+ return function (key, value) {
1211
+ return value === null ? encode(key, opts) : [
1212
+ encode(key, opts),
1213
+ '=',
1214
+ encode(value, opts)
1215
+ ].join('');
1216
+ };
1217
+ }
1218
+ }
1219
+
1220
+ function parserForArrayFormat(opts) {
1221
+ var result;
1222
+
1223
+ switch (opts.arrayFormat) {
1224
+ case 'index':
1225
+ return function (key, value, accumulator) {
1226
+ result = /\[(\d*)\]$/.exec(key);
1227
+
1228
+ key = key.replace(/\[\d*\]$/, '');
1229
+
1230
+ if (!result) {
1231
+ accumulator[key] = value;
1232
+ return;
1233
+ }
1234
+
1235
+ if (accumulator[key] === undefined) {
1236
+ accumulator[key] = {};
1237
+ }
1238
+
1239
+ accumulator[key][result[1]] = value;
1240
+ };
1241
+
1242
+ case 'bracket':
1243
+ return function (key, value, accumulator) {
1244
+ result = /(\[\])$/.exec(key);
1245
+ key = key.replace(/\[\]$/, '');
1246
+
1247
+ if (!result) {
1248
+ accumulator[key] = value;
1249
+ return;
1250
+ } else if (accumulator[key] === undefined) {
1251
+ accumulator[key] = [value];
1252
+ return;
1253
+ }
1254
+
1255
+ accumulator[key] = [].concat(accumulator[key], value);
1256
+ };
1257
+
1258
+ default:
1259
+ return function (key, value, accumulator) {
1260
+ if (accumulator[key] === undefined) {
1261
+ accumulator[key] = value;
1262
+ return;
1263
+ }
1264
+
1265
+ accumulator[key] = [].concat(accumulator[key], value);
1266
+ };
1267
+ }
1268
+ }
1269
+
1270
+ function encode(value, opts) {
1271
+ if (opts.encode) {
1272
+ return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
1273
+ }
1274
+
1275
+ return value;
1276
+ }
1277
+
1278
+ function keysSorter(input) {
1279
+ if (Array.isArray(input)) {
1280
+ return input.sort();
1281
+ } else if (typeof input === 'object') {
1282
+ return keysSorter(Object.keys(input)).sort(function (a, b) {
1283
+ return Number(a) - Number(b);
1284
+ }).map(function (key) {
1285
+ return input[key];
1286
+ });
1287
+ }
1288
+
1289
+ return input;
1290
+ }
1291
+
1292
+ exports.extract = function (str) {
1293
+ return str.split('?')[1] || '';
1294
+ };
1295
+
1296
+ exports.parse = function (str, opts) {
1297
+ opts = objectAssign({arrayFormat: 'none'}, opts);
1298
+
1299
+ var formatter = parserForArrayFormat(opts);
1300
+
1301
+ // Create an object with no prototype
1302
+ // https://github.com/sindresorhus/query-string/issues/47
1303
+ var ret = Object.create(null);
1304
+
1305
+ if (typeof str !== 'string') {
1306
+ return ret;
1307
+ }
1308
+
1309
+ str = str.trim().replace(/^(\?|#|&)/, '');
1310
+
1311
+ if (!str) {
1312
+ return ret;
1313
+ }
1314
+
1315
+ str.split('&').forEach(function (param) {
1316
+ var parts = param.replace(/\+/g, ' ').split('=');
1317
+ // Firefox (pre 40) decodes `%3D` to `=`
1318
+ // https://github.com/sindresorhus/query-string/pull/37
1319
+ var key = parts.shift();
1320
+ var val = parts.length > 0 ? parts.join('=') : undefined;
1321
+
1322
+ // missing `=` should be `null`:
1323
+ // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
1324
+ val = val === undefined ? null : decodeURIComponent(val);
1325
+
1326
+ formatter(decodeURIComponent(key), val, ret);
1327
+ });
1328
+
1329
+ return Object.keys(ret).sort().reduce(function (result, key) {
1330
+ var val = ret[key];
1331
+ if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
1332
+ // Sort object keys, not values
1333
+ result[key] = keysSorter(val);
1334
+ } else {
1335
+ result[key] = val;
1336
+ }
1337
+
1338
+ return result;
1339
+ }, Object.create(null));
1340
+ };
1341
+
1342
+ exports.stringify = function (obj, opts) {
1343
+ var defaults = {
1344
+ encode: true,
1345
+ strict: true,
1346
+ arrayFormat: 'none'
1347
+ };
1348
+
1349
+ opts = objectAssign(defaults, opts);
1350
+
1351
+ var formatter = encoderForArrayFormat(opts);
1352
+
1353
+ return obj ? Object.keys(obj).sort().map(function (key) {
1354
+ var val = obj[key];
1355
+
1356
+ if (val === undefined) {
1357
+ return '';
1358
+ }
1359
+
1360
+ if (val === null) {
1361
+ return encode(key, opts);
1362
+ }
1363
+
1364
+ if (Array.isArray(val)) {
1365
+ var result = [];
1366
+
1367
+ val.slice().forEach(function (val2) {
1368
+ if (val2 === undefined) {
1369
+ return;
1370
+ }
1371
+
1372
+ result.push(formatter(key, val2, result.length));
1373
+ });
1374
+
1375
+ return result.join('&');
1376
+ }
1377
+
1378
+ return encode(key, opts) + '=' + encode(val, opts);
1379
+ }).filter(function (x) {
1380
+ return x.length > 0;
1381
+ }).join('&') : '';
1382
+ };
1383
 
1384
 
1385
  /***/ }),
1386
  /* 24 */
1387
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1388
 
1389
+ "use strict";
1390
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1391
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Icon__ = __webpack_require__(340);
1392
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Icon__["a"]; });
1393
+
1394
+
1395
+ /***/ }),
1396
+ /* 25 */
1397
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1398
+
1399
  "use strict";
1400
  /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutPropertiesLoose;
1401
+ function _objectWithoutPropertiesLoose(source, excluded) {
1402
+ if (source == null) return {};
1403
+ var target = {};
1404
+ var sourceKeys = Object.keys(source);
1405
+ var key, i;
1406
+
1407
+ for (i = 0; i < sourceKeys.length; i++) {
1408
+ key = sourceKeys[i];
1409
+ if (excluded.indexOf(key) >= 0) continue;
1410
+ target[key] = source[key];
1411
+ }
1412
+
1413
+ return target;
1414
  }
1415
 
1416
  /***/ }),
1417
+ /* 26 */
1418
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1419
 
1420
  "use strict";
1421
  /* harmony export (immutable) */ __webpack_exports__["a"] = _inheritsLoose;
1422
+ function _inheritsLoose(subClass, superClass) {
1423
+ subClass.prototype = Object.create(superClass.prototype);
1424
+ subClass.prototype.constructor = subClass;
1425
+ subClass.__proto__ = superClass;
1426
  }
1427
 
1428
  /***/ }),
1429
+ /* 27 */
1430
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1431
 
1432
  "use strict";
1433
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(12);
1434
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(164);
1435
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(99);
1436
 
1437
 
1497
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1498
 
1499
  /***/ }),
1500
+ /* 28 */
1501
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1502
 
1503
  "use strict";
1504
  /* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
1505
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(171);
1506
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__ = __webpack_require__(383);
1507
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__nonIterableRest__ = __webpack_require__(172);
1508
+
1509
+
1510
+
1511
+ function _slicedToArray(arr, i) {
1512
+ 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 */])();
1513
  }
1514
 
1515
  /***/ }),
1516
+ /* 29 */
1517
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1518
 
1519
  "use strict";
1625
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1626
 
1627
  /***/ }),
1628
+ /* 30 */
1629
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1630
 
1631
  "use strict";
1634
  return node && node.ownerDocument || document;
1635
  }
1636
 
 
 
 
 
 
 
 
 
 
 
1637
  /***/ }),
1638
  /* 31 */
1639
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1720
 
1721
  "use strict";
1722
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1723
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__ = __webpack_require__(306);
1724
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "BrowserRouter", function() { return __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__["a"]; });
1725
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HashRouter__ = __webpack_require__(314);
1726
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HashRouter", function() { return __WEBPACK_IMPORTED_MODULE_1__HashRouter__["a"]; });
1727
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Link__ = __webpack_require__(134);
1728
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Link", function() { return __WEBPACK_IMPORTED_MODULE_2__Link__["a"]; });
1729
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(315);
1730
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryRouter", function() { return __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__["a"]; });
1731
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(317);
1732
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavLink", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
1733
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(319);
1734
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Prompt", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
1735
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(321);
1736
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Redirect", function() { return __WEBPACK_IMPORTED_MODULE_6__Redirect__["a"]; });
1737
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(135);
1738
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Route", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
1739
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(90);
1740
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Router", function() { return __WEBPACK_IMPORTED_MODULE_8__Router__["a"]; });
1741
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(323);
1742
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "StaticRouter", function() { return __WEBPACK_IMPORTED_MODULE_9__StaticRouter__["a"]; });
1743
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(325);
1744
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Switch", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
1745
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(327);
1746
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "generatePath", function() { return __WEBPACK_IMPORTED_MODULE_11__generatePath__["a"]; });
1747
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(328);
1748
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matchPath", function() { return __WEBPACK_IMPORTED_MODULE_12__matchPath__["a"]; });
1749
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withRouter__ = __webpack_require__(329);
1750
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "withRouter", function() { return __WEBPACK_IMPORTED_MODULE_13__withRouter__["a"]; });
1751
+
1752
+
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+
1759
+
1760
+
1761
+
1762
+
1763
+
1764
+
1765
+
1766
+
1767
+
1768
+
1769
+
1770
+
1771
+
1772
+
1773
+
1774
+
1775
+
1776
+
1777
+
1778
 
1779
 
1780
  /***/ }),
1782
  /***/ (function(module, exports, __webpack_require__) {
1783
 
1784
  "use strict";
1785
+ /* WEBPACK VAR INJECTION */(function(process) {/**
1786
+ * Copyright (c) 2014-present, Facebook, Inc.
1787
+ *
1788
+ * This source code is licensed under the MIT license found in the
1789
+ * LICENSE file in the root directory of this source tree.
1790
+ */
1791
+
1792
+
1793
+
1794
+ /**
1795
+ * Similar to invariant but only logs a warning if the condition is not met.
1796
+ * This can be used to log issues in development environments in critical
1797
+ * paths. Removing the logging code for production environments will keep the
1798
+ * same logic and follow the same code paths.
1799
+ */
1800
+
1801
+ var __DEV__ = process.env.NODE_ENV !== 'production';
1802
+
1803
+ var warning = function() {};
1804
+
1805
+ if (__DEV__) {
1806
+ var printWarning = function printWarning(format, args) {
1807
+ var len = arguments.length;
1808
+ args = new Array(len > 1 ? len - 1 : 0);
1809
+ for (var key = 1; key < len; key++) {
1810
+ args[key - 1] = arguments[key];
1811
+ }
1812
+ var argIndex = 0;
1813
+ var message = 'Warning: ' +
1814
+ format.replace(/%s/g, function() {
1815
+ return args[argIndex++];
1816
+ });
1817
+ if (typeof console !== 'undefined') {
1818
+ console.error(message);
1819
+ }
1820
+ try {
1821
+ // --- Welcome to debugging React ---
1822
+ // This error was thrown as a convenience so that you can use this stack
1823
+ // to find the callsite that caused this warning to fire.
1824
+ throw new Error(message);
1825
+ } catch (x) {}
1826
+ }
1827
+
1828
+ warning = function(condition, format, args) {
1829
+ var len = arguments.length;
1830
+ args = new Array(len > 2 ? len - 2 : 0);
1831
+ for (var key = 2; key < len; key++) {
1832
+ args[key - 2] = arguments[key];
1833
+ }
1834
+ if (format === undefined) {
1835
+ throw new Error(
1836
+ '`warning(condition, format, ...args)` requires a warning ' +
1837
+ 'message argument'
1838
+ );
1839
+ }
1840
+ if (!condition) {
1841
+ printWarning.apply(null, [format].concat(args));
1842
+ }
1843
+ };
1844
+ }
1845
+
1846
+ module.exports = warning;
1847
 
1848
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
1849
 
1852
  /***/ (function(module, exports, __webpack_require__) {
1853
 
1854
  "use strict";
1855
+ /* WEBPACK VAR INJECTION */(function(process) {/**
1856
+ * Copyright (c) 2013-present, Facebook, Inc.
1857
+ *
1858
+ * This source code is licensed under the MIT license found in the
1859
+ * LICENSE file in the root directory of this source tree.
1860
+ */
1861
+
1862
+
1863
+
1864
+ /**
1865
+ * Use invariant() to assert state which your program assumes to be true.
1866
+ *
1867
+ * Provide sprintf-style format (only %s is supported) and arguments
1868
+ * to provide information about what broke and what you were
1869
+ * expecting.
1870
+ *
1871
+ * The invariant message will be stripped in production, but the invariant
1872
+ * will remain to ensure logic does not differ in production.
1873
+ */
1874
+
1875
+ var invariant = function(condition, format, a, b, c, d, e, f) {
1876
+ if (process.env.NODE_ENV !== 'production') {
1877
+ if (format === undefined) {
1878
+ throw new Error('invariant requires an error message argument');
1879
+ }
1880
+ }
1881
+
1882
+ if (!condition) {
1883
+ var error;
1884
+ if (format === undefined) {
1885
+ error = new Error(
1886
+ 'Minified exception occurred; use the non-minified dev environment ' +
1887
+ 'for the full error message and additional helpful warnings.'
1888
+ );
1889
+ } else {
1890
+ var args = [a, b, c, d, e, f];
1891
+ var argIndex = 0;
1892
+ error = new Error(
1893
+ format.replace(/%s/g, function() { return args[argIndex++]; })
1894
+ );
1895
+ error.name = 'Invariant Violation';
1896
+ }
1897
+
1898
+ error.framesToPop = 1; // we don't care about invariant's own frame
1899
+ throw error;
1900
+ }
1901
+ };
1902
+
1903
+ module.exports = invariant;
1904
 
1905
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
1906
 
1910
 
1911
  "use strict";
1912
  /* harmony export (immutable) */ __webpack_exports__["a"] = _typeof;
1913
+ function _typeof(obj) {
1914
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1915
+ _typeof = function _typeof(obj) {
1916
+ return typeof obj;
1917
+ };
1918
+ } else {
1919
+ _typeof = function _typeof(obj) {
1920
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1921
+ };
1922
+ }
1923
+
1924
+ return _typeof(obj);
1925
  }
1926
 
1927
  /***/ }),
1940
  /* unused harmony export sheets */
1941
  /* unused harmony export createGenerateId */
1942
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
1943
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_is_in_browser__ = __webpack_require__(142);
1944
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_tiny_warning__ = __webpack_require__(64);
1945
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__ = __webpack_require__(66);
1946
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(26);
1947
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(67);
1948
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(25);
1949
 
1950
 
1951
 
4277
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4278
 
4279
  "use strict";
4280
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__IconButton__ = __webpack_require__(445);
4281
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__IconButton__["a"]; });
4282
 
4283
 
4289
  /* harmony export (immutable) */ __webpack_exports__["a"] = useFormControl;
4290
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
4291
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
4292
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__FormControlContext__ = __webpack_require__(78);
4293
 
4294
 
4295
  function useFormControl() {
4301
  /***/ (function(module, exports, __webpack_require__) {
4302
 
4303
  "use strict";
4304
+ /*
4305
+ object-assign
4306
+ (c) Sindre Sorhus
4307
+ @license MIT
4308
+ */
4309
+
4310
+
4311
+ /* eslint-disable no-unused-vars */
4312
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4313
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
4314
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
4315
+
4316
+ function toObject(val) {
4317
+ if (val === null || val === undefined) {
4318
+ throw new TypeError('Object.assign cannot be called with null or undefined');
4319
+ }
4320
+
4321
+ return Object(val);
4322
+ }
4323
+
4324
+ function shouldUseNative() {
4325
+ try {
4326
+ if (!Object.assign) {
4327
+ return false;
4328
+ }
4329
+
4330
+ // Detect buggy property enumeration order in older V8 versions.
4331
+
4332
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
4333
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
4334
+ test1[5] = 'de';
4335
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
4336
+ return false;
4337
+ }
4338
+
4339
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4340
+ var test2 = {};
4341
+ for (var i = 0; i < 10; i++) {
4342
+ test2['_' + String.fromCharCode(i)] = i;
4343
+ }
4344
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
4345
+ return test2[n];
4346
+ });
4347
+ if (order2.join('') !== '0123456789') {
4348
+ return false;
4349
+ }
4350
+
4351
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4352
+ var test3 = {};
4353
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
4354
+ test3[letter] = letter;
4355
+ });
4356
+ if (Object.keys(Object.assign({}, test3)).join('') !==
4357
+ 'abcdefghijklmnopqrst') {
4358
+ return false;
4359
+ }
4360
+
4361
+ return true;
4362
+ } catch (err) {
4363
+ // We don't expect any of the above to throw, but better to be safe.
4364
+ return false;
4365
+ }
4366
+ }
4367
+
4368
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
4369
+ var from;
4370
+ var to = toObject(target);
4371
+ var symbols;
4372
+
4373
+ for (var s = 1; s < arguments.length; s++) {
4374
+ from = Object(arguments[s]);
4375
+
4376
+ for (var key in from) {
4377
+ if (hasOwnProperty.call(from, key)) {
4378
+ to[key] = from[key];
4379
+ }
4380
+ }
4381
+
4382
+ if (getOwnPropertySymbols) {
4383
+ symbols = getOwnPropertySymbols(from);
4384
+ for (var i = 0; i < symbols.length; i++) {
4385
+ if (propIsEnumerable.call(from, symbols[i])) {
4386
+ to[symbols[i]] = from[symbols[i]];
4387
+ }
4388
+ }
4389
+ }
4390
+ }
4391
+
4392
+ return to;
4393
+ };
4394
 
4395
 
4396
  /***/ }),
4406
  /* unused harmony export parsePath */
4407
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
4408
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
4409
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_resolve_pathname__ = __webpack_require__(311);
4410
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_value_equal__ = __webpack_require__(312);
4411
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_tiny_warning__ = __webpack_require__(64);
4412
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_tiny_invariant__ = __webpack_require__(313);
4413
+
4414
+
4415
+
4416
+
4417
+
4418
+
4419
+ function addLeadingSlash(path) {
4420
+ return path.charAt(0) === '/' ? path : '/' + path;
4421
+ }
4422
+ function stripLeadingSlash(path) {
4423
+ return path.charAt(0) === '/' ? path.substr(1) : path;
4424
+ }
4425
+ function hasBasename(path, prefix) {
4426
+ return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;
4427
+ }
4428
+ function stripBasename(path, prefix) {
4429
+ return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
4430
+ }
4431
+ function stripTrailingSlash(path) {
4432
+ return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
4433
+ }
4434
+ function parsePath(path) {
4435
+ var pathname = path || '/';
4436
+ var search = '';
4437
+ var hash = '';
4438
+ var hashIndex = pathname.indexOf('#');
4439
+
4440
+ if (hashIndex !== -1) {
4441
+ hash = pathname.substr(hashIndex);
4442
+ pathname = pathname.substr(0, hashIndex);
4443
+ }
4444
+
4445
+ var searchIndex = pathname.indexOf('?');
4446
+
4447
+ if (searchIndex !== -1) {
4448
+ search = pathname.substr(searchIndex);
4449
+ pathname = pathname.substr(0, searchIndex);
4450
+ }
4451
+
4452
+ return {
4453
+ pathname: pathname,
4454
+ search: search === '?' ? '' : search,
4455
+ hash: hash === '#' ? '' : hash
4456
+ };
4457
+ }
4458
+ function createPath(location) {
4459
+ var pathname = location.pathname,
4460
+ search = location.search,
4461
+ hash = location.hash;
4462
+ var path = pathname || '/';
4463
+ if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search;
4464
+ if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash;
4465
+ return path;
4466
+ }
4467
+
4468
+ function createLocation(path, state, key, currentLocation) {
4469
+ var location;
4470
+
4471
+ if (typeof path === 'string') {
4472
+ // Two-arg form: push(path, state)
4473
+ location = parsePath(path);
4474
+ location.state = state;
4475
+ } else {
4476
+ // One-arg form: push(location)
4477
+ location = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, path);
4478
+ if (location.pathname === undefined) location.pathname = '';
4479
+
4480
+ if (location.search) {
4481
+ if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
4482
+ } else {
4483
+ location.search = '';
4484
+ }
4485
+
4486
+ if (location.hash) {
4487
+ if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
4488
+ } else {
4489
+ location.hash = '';
4490
+ }
4491
+
4492
+ if (state !== undefined && location.state === undefined) location.state = state;
4493
+ }
4494
+
4495
+ try {
4496
+ location.pathname = decodeURI(location.pathname);
4497
+ } catch (e) {
4498
+ if (e instanceof URIError) {
4499
+ throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
4500
+ } else {
4501
+ throw e;
4502
+ }
4503
+ }
4504
+
4505
+ if (key) location.key = key;
4506
+
4507
+ if (currentLocation) {
4508
+ // Resolve incomplete/relative pathname relative to current location.
4509
+ if (!location.pathname) {
4510
+ location.pathname = currentLocation.pathname;
4511
+ } else if (location.pathname.charAt(0) !== '/') {
4512
+ location.pathname = Object(__WEBPACK_IMPORTED_MODULE_1_resolve_pathname__["a" /* default */])(location.pathname, currentLocation.pathname);
4513
+ }
4514
+ } else {
4515
+ // When there is no prior location and pathname is empty, set it to /
4516
+ if (!location.pathname) {
4517
+ location.pathname = '/';
4518
+ }
4519
+ }
4520
+
4521
+ return location;
4522
+ }
4523
+ function locationsAreEqual(a, b) {
4524
+ return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && Object(__WEBPACK_IMPORTED_MODULE_2_value_equal__["a" /* default */])(a.state, b.state);
4525
+ }
4526
+
4527
+ function createTransitionManager() {
4528
+ var prompt = null;
4529
+
4530
+ function setPrompt(nextPrompt) {
4531
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(prompt == null, 'A history supports only one prompt at a time') : void 0;
4532
+ prompt = nextPrompt;
4533
+ return function () {
4534
+ if (prompt === nextPrompt) prompt = null;
4535
+ };
4536
+ }
4537
+
4538
+ function confirmTransitionTo(location, action, getUserConfirmation, callback) {
4539
+ // TODO: If another transition starts while we're still confirming
4540
+ // the previous one, we may end up in a weird state. Figure out the
4541
+ // best way to handle this.
4542
+ if (prompt != null) {
4543
+ var result = typeof prompt === 'function' ? prompt(location, action) : prompt;
4544
+
4545
+ if (typeof result === 'string') {
4546
+ if (typeof getUserConfirmation === 'function') {
4547
+ getUserConfirmation(result, callback);
4548
+ } else {
4549
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;
4550
+ callback(true);
4551
+ }
4552
+ } else {
4553
+ // Return false from a transition hook to cancel the transition.
4554
+ callback(result !== false);
4555
+ }
4556
+ } else {
4557
+ callback(true);
4558
+ }
4559
+ }
4560
+
4561
+ var listeners = [];
4562
+
4563
+ function appendListener(fn) {
4564
+ var isActive = true;
4565
+
4566
+ function listener() {
4567
+ if (isActive) fn.apply(void 0, arguments);
4568
+ }
4569
+
4570
+ listeners.push(listener);
4571
+ return function () {
4572
+ isActive = false;
4573
+ listeners = listeners.filter(function (item) {
4574
+ return item !== listener;
4575
+ });
4576
+ };
4577
+ }
4578
+
4579
+ function notifyListeners() {
4580
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4581
+ args[_key] = arguments[_key];
4582
+ }
4583
+
4584
+ listeners.forEach(function (listener) {
4585
+ return listener.apply(void 0, args);
4586
+ });
4587
+ }
4588
+
4589
+ return {
4590
+ setPrompt: setPrompt,
4591
+ confirmTransitionTo: confirmTransitionTo,
4592
+ appendListener: appendListener,
4593
+ notifyListeners: notifyListeners
4594
+ };
4595
+ }
4596
+
4597
+ var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
4598
+ function getConfirmation(message, callback) {
4599
+ callback(window.confirm(message)); // eslint-disable-line no-alert
4600
+ }
4601
+ /**
4602
+ * Returns true if the HTML5 history API is supported. Taken from Modernizr.
4603
+ *
4604
+ * https://github.com/Modernizr/Modernizr/blob/master/LICENSE
4605
+ * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
4606
+ * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
4607
+ */
4608
+
4609
+ function supportsHistory() {
4610
+ var ua = window.navigator.userAgent;
4611
+ if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;
4612
+ return window.history && 'pushState' in window.history;
4613
+ }
4614
+ /**
4615
+ * Returns true if browser fires popstate on hash change.
4616
+ * IE10 and IE11 do not.
4617
+ */
4618
+
4619
+ function supportsPopStateOnHashChange() {
4620
+ return window.navigator.userAgent.indexOf('Trident') === -1;
4621
+ }
4622
+ /**
4623
+ * Returns false if using go(n) with hash history causes a full page reload.
4624
+ */
4625
+
4626
+ function supportsGoWithoutReloadUsingHash() {
4627
+ return window.navigator.userAgent.indexOf('Firefox') === -1;
4628
+ }
4629
+ /**
4630
+ * Returns true if a given popstate event is an extraneous WebKit event.
4631
+ * Accounts for the fact that Chrome on iOS fires real popstate events
4632
+ * containing undefined state when pressing the back button.
4633
+ */
4634
+
4635
+ function isExtraneousPopstateEvent(event) {
4636
+ return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;
4637
+ }
4638
+
4639
+ var PopStateEvent = 'popstate';
4640
+ var HashChangeEvent = 'hashchange';
4641
+
4642
+ function getHistoryState() {
4643
+ try {
4644
+ return window.history.state || {};
4645
+ } catch (e) {
4646
+ // IE 11 sometimes throws when accessing window.history.state
4647
+ // See https://github.com/ReactTraining/history/pull/289
4648
+ return {};
4649
+ }
4650
+ }
4651
+ /**
4652
+ * Creates a history object that uses the HTML5 history API including
4653
+ * pushState, replaceState, and the popstate event.
4654
+ */
4655
+
4656
+
4657
+ function createBrowserHistory(props) {
4658
+ if (props === void 0) {
4659
+ props = {};
4660
+ }
4661
+
4662
+ !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Browser history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
4663
+ var globalHistory = window.history;
4664
+ var canUseHistory = supportsHistory();
4665
+ var needsHashChangeListener = !supportsPopStateOnHashChange();
4666
+ var _props = props,
4667
+ _props$forceRefresh = _props.forceRefresh,
4668
+ forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,
4669
+ _props$getUserConfirm = _props.getUserConfirmation,
4670
+ getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
4671
+ _props$keyLength = _props.keyLength,
4672
+ keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
4673
+ var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
4674
+
4675
+ function getDOMLocation(historyState) {
4676
+ var _ref = historyState || {},
4677
+ key = _ref.key,
4678
+ state = _ref.state;
4679
+
4680
+ var _window$location = window.location,
4681
+ pathname = _window$location.pathname,
4682
+ search = _window$location.search,
4683
+ hash = _window$location.hash;
4684
+ var path = pathname + search + hash;
4685
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
4686
+ if (basename) path = stripBasename(path, basename);
4687
+ return createLocation(path, state, key);
4688
+ }
4689
+
4690
+ function createKey() {
4691
+ return Math.random().toString(36).substr(2, keyLength);
4692
+ }
4693
+
4694
+ var transitionManager = createTransitionManager();
4695
+
4696
+ function setState(nextState) {
4697
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
4698
+
4699
+ history.length = globalHistory.length;
4700
+ transitionManager.notifyListeners(history.location, history.action);
4701
+ }
4702
+
4703
+ function handlePopState(event) {
4704
+ // Ignore extraneous popstate events in WebKit.
4705
+ if (isExtraneousPopstateEvent(event)) return;
4706
+ handlePop(getDOMLocation(event.state));
4707
+ }
4708
+
4709
+ function handleHashChange() {
4710
+ handlePop(getDOMLocation(getHistoryState()));
4711
+ }
4712
+
4713
+ var forceNextPop = false;
4714
+
4715
+ function handlePop(location) {
4716
+ if (forceNextPop) {
4717
+ forceNextPop = false;
4718
+ setState();
4719
+ } else {
4720
+ var action = 'POP';
4721
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
4722
+ if (ok) {
4723
+ setState({
4724
+ action: action,
4725
+ location: location
4726
+ });
4727
+ } else {
4728
+ revertPop(location);
4729
+ }
4730
+ });
4731
+ }
4732
+ }
4733
+
4734
+ function revertPop(fromLocation) {
4735
+ var toLocation = history.location; // TODO: We could probably make this more reliable by
4736
+ // keeping a list of keys we've seen in sessionStorage.
4737
+ // Instead, we just default to 0 for keys we don't know.
4738
+
4739
+ var toIndex = allKeys.indexOf(toLocation.key);
4740
+ if (toIndex === -1) toIndex = 0;
4741
+ var fromIndex = allKeys.indexOf(fromLocation.key);
4742
+ if (fromIndex === -1) fromIndex = 0;
4743
+ var delta = toIndex - fromIndex;
4744
+
4745
+ if (delta) {
4746
+ forceNextPop = true;
4747
+ go(delta);
4748
+ }
4749
+ }
4750
+
4751
+ var initialLocation = getDOMLocation(getHistoryState());
4752
+ var allKeys = [initialLocation.key]; // Public interface
4753
+
4754
+ function createHref(location) {
4755
+ return basename + createPath(location);
4756
+ }
4757
+
4758
+ function push(path, state) {
4759
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
4760
+ var action = 'PUSH';
4761
+ var location = createLocation(path, state, createKey(), history.location);
4762
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
4763
+ if (!ok) return;
4764
+ var href = createHref(location);
4765
+ var key = location.key,
4766
+ state = location.state;
4767
+
4768
+ if (canUseHistory) {
4769
+ globalHistory.pushState({
4770
+ key: key,
4771
+ state: state
4772
+ }, null, href);
4773
+
4774
+ if (forceRefresh) {
4775
+ window.location.href = href;
4776
+ } else {
4777
+ var prevIndex = allKeys.indexOf(history.location.key);
4778
+ var nextKeys = allKeys.slice(0, prevIndex + 1);
4779
+ nextKeys.push(location.key);
4780
+ allKeys = nextKeys;
4781
+ setState({
4782
+ action: action,
4783
+ location: location
4784
+ });
4785
+ }
4786
+ } else {
4787
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;
4788
+ window.location.href = href;
4789
+ }
4790
+ });
4791
+ }
4792
+
4793
+ function replace(path, state) {
4794
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
4795
+ var action = 'REPLACE';
4796
+ var location = createLocation(path, state, createKey(), history.location);
4797
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
4798
+ if (!ok) return;
4799
+ var href = createHref(location);
4800
+ var key = location.key,
4801
+ state = location.state;
4802
+
4803
+ if (canUseHistory) {
4804
+ globalHistory.replaceState({
4805
+ key: key,
4806
+ state: state
4807
+ }, null, href);
4808
+
4809
+ if (forceRefresh) {
4810
+ window.location.replace(href);
4811
+ } else {
4812
+ var prevIndex = allKeys.indexOf(history.location.key);
4813
+ if (prevIndex !== -1) allKeys[prevIndex] = location.key;
4814
+ setState({
4815
+ action: action,
4816
+ location: location
4817
+ });
4818
+ }
4819
+ } else {
4820
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;
4821
+ window.location.replace(href);
4822
+ }
4823
+ });
4824
+ }
4825
+
4826
+ function go(n) {
4827
+ globalHistory.go(n);
4828
+ }
4829
+
4830
+ function goBack() {
4831
+ go(-1);
4832
+ }
4833
+
4834
+ function goForward() {
4835
+ go(1);
4836
+ }
4837
+
4838
+ var listenerCount = 0;
4839
+
4840
+ function checkDOMListeners(delta) {
4841
+ listenerCount += delta;
4842
+
4843
+ if (listenerCount === 1 && delta === 1) {
4844
+ window.addEventListener(PopStateEvent, handlePopState);
4845
+ if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);
4846
+ } else if (listenerCount === 0) {
4847
+ window.removeEventListener(PopStateEvent, handlePopState);
4848
+ if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);
4849
+ }
4850
+ }
4851
+
4852
+ var isBlocked = false;
4853
+
4854
+ function block(prompt) {
4855
+ if (prompt === void 0) {
4856
+ prompt = false;
4857
+ }
4858
+
4859
+ var unblock = transitionManager.setPrompt(prompt);
4860
+
4861
+ if (!isBlocked) {
4862
+ checkDOMListeners(1);
4863
+ isBlocked = true;
4864
+ }
4865
+
4866
+ return function () {
4867
+ if (isBlocked) {
4868
+ isBlocked = false;
4869
+ checkDOMListeners(-1);
4870
+ }
4871
+
4872
+ return unblock();
4873
+ };
4874
+ }
4875
+
4876
+ function listen(listener) {
4877
+ var unlisten = transitionManager.appendListener(listener);
4878
+ checkDOMListeners(1);
4879
+ return function () {
4880
+ checkDOMListeners(-1);
4881
+ unlisten();
4882
+ };
4883
+ }
4884
+
4885
+ var history = {
4886
+ length: globalHistory.length,
4887
+ action: 'POP',
4888
+ location: initialLocation,
4889
+ createHref: createHref,
4890
+ push: push,
4891
+ replace: replace,
4892
+ go: go,
4893
+ goBack: goBack,
4894
+ goForward: goForward,
4895
+ block: block,
4896
+ listen: listen
4897
+ };
4898
+ return history;
4899
+ }
4900
+
4901
+ var HashChangeEvent$1 = 'hashchange';
4902
+ var HashPathCoders = {
4903
+ hashbang: {
4904
+ encodePath: function encodePath(path) {
4905
+ return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);
4906
+ },
4907
+ decodePath: function decodePath(path) {
4908
+ return path.charAt(0) === '!' ? path.substr(1) : path;
4909
+ }
4910
+ },
4911
+ noslash: {
4912
+ encodePath: stripLeadingSlash,
4913
+ decodePath: addLeadingSlash
4914
+ },
4915
+ slash: {
4916
+ encodePath: addLeadingSlash,
4917
+ decodePath: addLeadingSlash
4918
+ }
4919
+ };
4920
+
4921
+ function stripHash(url) {
4922
+ var hashIndex = url.indexOf('#');
4923
+ return hashIndex === -1 ? url : url.slice(0, hashIndex);
4924
+ }
4925
+
4926
+ function getHashPath() {
4927
+ // We can't use window.location.hash here because it's not
4928
+ // consistent across browsers - Firefox will pre-decode it!
4929
+ var href = window.location.href;
4930
+ var hashIndex = href.indexOf('#');
4931
+ return hashIndex === -1 ? '' : href.substring(hashIndex + 1);
4932
+ }
4933
+
4934
+ function pushHashPath(path) {
4935
+ window.location.hash = path;
4936
+ }
4937
+
4938
+ function replaceHashPath(path) {
4939
+ window.location.replace(stripHash(window.location.href) + '#' + path);
4940
+ }
4941
+
4942
+ function createHashHistory(props) {
4943
+ if (props === void 0) {
4944
+ props = {};
4945
+ }
4946
+
4947
+ !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Hash history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
4948
+ var globalHistory = window.history;
4949
+ var canGoWithoutReload = supportsGoWithoutReloadUsingHash();
4950
+ var _props = props,
4951
+ _props$getUserConfirm = _props.getUserConfirmation,
4952
+ getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
4953
+ _props$hashType = _props.hashType,
4954
+ hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;
4955
+ var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
4956
+ var _HashPathCoders$hashT = HashPathCoders[hashType],
4957
+ encodePath = _HashPathCoders$hashT.encodePath,
4958
+ decodePath = _HashPathCoders$hashT.decodePath;
4959
+
4960
+ function getDOMLocation() {
4961
+ var path = decodePath(getHashPath());
4962
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
4963
+ if (basename) path = stripBasename(path, basename);
4964
+ return createLocation(path);
4965
+ }
4966
+
4967
+ var transitionManager = createTransitionManager();
4968
+
4969
+ function setState(nextState) {
4970
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
4971
+
4972
+ history.length = globalHistory.length;
4973
+ transitionManager.notifyListeners(history.location, history.action);
4974
+ }
4975
+
4976
+ var forceNextPop = false;
4977
+ var ignorePath = null;
4978
+
4979
+ function locationsAreEqual$$1(a, b) {
4980
+ return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;
4981
+ }
4982
+
4983
+ function handleHashChange() {
4984
+ var path = getHashPath();
4985
+ var encodedPath = encodePath(path);
4986
+
4987
+ if (path !== encodedPath) {
4988
+ // Ensure we always have a properly-encoded hash.
4989
+ replaceHashPath(encodedPath);
4990
+ } else {
4991
+ var location = getDOMLocation();
4992
+ var prevLocation = history.location;
4993
+ if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.
4994
+
4995
+ if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.
4996
+
4997
+ ignorePath = null;
4998
+ handlePop(location);
4999
+ }
5000
+ }
5001
+
5002
+ function handlePop(location) {
5003
+ if (forceNextPop) {
5004
+ forceNextPop = false;
5005
+ setState();
5006
+ } else {
5007
+ var action = 'POP';
5008
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5009
+ if (ok) {
5010
+ setState({
5011
+ action: action,
5012
+ location: location
5013
+ });
5014
+ } else {
5015
+ revertPop(location);
5016
+ }
5017
+ });
5018
+ }
5019
+ }
5020
+
5021
+ function revertPop(fromLocation) {
5022
+ var toLocation = history.location; // TODO: We could probably make this more reliable by
5023
+ // keeping a list of paths we've seen in sessionStorage.
5024
+ // Instead, we just default to 0 for paths we don't know.
5025
+
5026
+ var toIndex = allPaths.lastIndexOf(createPath(toLocation));
5027
+ if (toIndex === -1) toIndex = 0;
5028
+ var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));
5029
+ if (fromIndex === -1) fromIndex = 0;
5030
+ var delta = toIndex - fromIndex;
5031
+
5032
+ if (delta) {
5033
+ forceNextPop = true;
5034
+ go(delta);
5035
+ }
5036
+ } // Ensure the hash is encoded properly before doing anything else.
5037
+
5038
+
5039
+ var path = getHashPath();
5040
+ var encodedPath = encodePath(path);
5041
+ if (path !== encodedPath) replaceHashPath(encodedPath);
5042
+ var initialLocation = getDOMLocation();
5043
+ var allPaths = [createPath(initialLocation)]; // Public interface
5044
+
5045
+ function createHref(location) {
5046
+ var baseTag = document.querySelector('base');
5047
+ var href = '';
5048
+
5049
+ if (baseTag && baseTag.getAttribute('href')) {
5050
+ href = stripHash(window.location.href);
5051
+ }
5052
+
5053
+ return href + '#' + encodePath(basename + createPath(location));
5054
+ }
5055
+
5056
+ function push(path, state) {
5057
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;
5058
+ var action = 'PUSH';
5059
+ var location = createLocation(path, undefined, undefined, history.location);
5060
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5061
+ if (!ok) return;
5062
+ var path = createPath(location);
5063
+ var encodedPath = encodePath(basename + path);
5064
+ var hashChanged = getHashPath() !== encodedPath;
5065
+
5066
+ if (hashChanged) {
5067
+ // We cannot tell if a hashchange was caused by a PUSH, so we'd
5068
+ // rather setState here and ignore the hashchange. The caveat here
5069
+ // is that other hash histories in the page will consider it a POP.
5070
+ ignorePath = path;
5071
+ pushHashPath(encodedPath);
5072
+ var prevIndex = allPaths.lastIndexOf(createPath(history.location));
5073
+ var nextPaths = allPaths.slice(0, prevIndex + 1);
5074
+ nextPaths.push(path);
5075
+ allPaths = nextPaths;
5076
+ setState({
5077
+ action: action,
5078
+ location: location
5079
+ });
5080
+ } else {
5081
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;
5082
+ setState();
5083
+ }
5084
+ });
5085
+ }
5086
+
5087
+ function replace(path, state) {
5088
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;
5089
+ var action = 'REPLACE';
5090
+ var location = createLocation(path, undefined, undefined, history.location);
5091
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5092
+ if (!ok) return;
5093
+ var path = createPath(location);
5094
+ var encodedPath = encodePath(basename + path);
5095
+ var hashChanged = getHashPath() !== encodedPath;
5096
+
5097
+ if (hashChanged) {
5098
+ // We cannot tell if a hashchange was caused by a REPLACE, so we'd
5099
+ // rather setState here and ignore the hashchange. The caveat here
5100
+ // is that other hash histories in the page will consider it a POP.
5101
+ ignorePath = path;
5102
+ replaceHashPath(encodedPath);
5103
+ }
5104
+
5105
+ var prevIndex = allPaths.indexOf(createPath(history.location));
5106
+ if (prevIndex !== -1) allPaths[prevIndex] = path;
5107
+ setState({
5108
+ action: action,
5109
+ location: location
5110
+ });
5111
+ });
5112
+ }
5113
+
5114
+ function go(n) {
5115
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;
5116
+ globalHistory.go(n);
5117
+ }
5118
+
5119
+ function goBack() {
5120
+ go(-1);
5121
+ }
5122
+
5123
+ function goForward() {
5124
+ go(1);
5125
+ }
5126
+
5127
+ var listenerCount = 0;
5128
+
5129
+ function checkDOMListeners(delta) {
5130
+ listenerCount += delta;
5131
+
5132
+ if (listenerCount === 1 && delta === 1) {
5133
+ window.addEventListener(HashChangeEvent$1, handleHashChange);
5134
+ } else if (listenerCount === 0) {
5135
+ window.removeEventListener(HashChangeEvent$1, handleHashChange);
5136
+ }
5137
+ }
5138
+
5139
+ var isBlocked = false;
5140
+
5141
+ function block(prompt) {
5142
+ if (prompt === void 0) {
5143
+ prompt = false;
5144
+ }
5145
+
5146
+ var unblock = transitionManager.setPrompt(prompt);
5147
+
5148
+ if (!isBlocked) {
5149
+ checkDOMListeners(1);
5150
+ isBlocked = true;
5151
+ }
5152
+
5153
+ return function () {
5154
+ if (isBlocked) {
5155
+ isBlocked = false;
5156
+ checkDOMListeners(-1);
5157
+ }
5158
+
5159
+ return unblock();
5160
+ };
5161
+ }
5162
+
5163
+ function listen(listener) {
5164
+ var unlisten = transitionManager.appendListener(listener);
5165
+ checkDOMListeners(1);
5166
+ return function () {
5167
+ checkDOMListeners(-1);
5168
+ unlisten();
5169
+ };
5170
+ }
5171
+
5172
+ var history = {
5173
+ length: globalHistory.length,
5174
+ action: 'POP',
5175
+ location: initialLocation,
5176
+ createHref: createHref,
5177
+ push: push,
5178
+ replace: replace,
5179
+ go: go,
5180
+ goBack: goBack,
5181
+ goForward: goForward,
5182
+ block: block,
5183
+ listen: listen
5184
+ };
5185
+ return history;
5186
+ }
5187
+
5188
+ function clamp(n, lowerBound, upperBound) {
5189
+ return Math.min(Math.max(n, lowerBound), upperBound);
5190
+ }
5191
+ /**
5192
+ * Creates a history object that stores locations in memory.
5193
+ */
5194
+
5195
+
5196
+ function createMemoryHistory(props) {
5197
+ if (props === void 0) {
5198
+ props = {};
5199
+ }
5200
+
5201
+ var _props = props,
5202
+ getUserConfirmation = _props.getUserConfirmation,
5203
+ _props$initialEntries = _props.initialEntries,
5204
+ initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,
5205
+ _props$initialIndex = _props.initialIndex,
5206
+ initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,
5207
+ _props$keyLength = _props.keyLength,
5208
+ keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
5209
+ var transitionManager = createTransitionManager();
5210
+
5211
+ function setState(nextState) {
5212
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5213
+
5214
+ history.length = history.entries.length;
5215
+ transitionManager.notifyListeners(history.location, history.action);
5216
+ }
5217
+
5218
+ function createKey() {
5219
+ return Math.random().toString(36).substr(2, keyLength);
5220
+ }
5221
+
5222
+ var index = clamp(initialIndex, 0, initialEntries.length - 1);
5223
+ var entries = initialEntries.map(function (entry) {
5224
+ return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());
5225
+ }); // Public interface
5226
+
5227
+ var createHref = createPath;
5228
+
5229
+ function push(path, state) {
5230
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5231
+ var action = 'PUSH';
5232
+ var location = createLocation(path, state, createKey(), history.location);
5233
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5234
+ if (!ok) return;
5235
+ var prevIndex = history.index;
5236
+ var nextIndex = prevIndex + 1;
5237
+ var nextEntries = history.entries.slice(0);
5238
+
5239
+ if (nextEntries.length > nextIndex) {
5240
+ nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);
5241
+ } else {
5242
+ nextEntries.push(location);
5243
+ }
5244
+
5245
+ setState({
5246
+ action: action,
5247
+ location: location,
5248
+ index: nextIndex,
5249
+ entries: nextEntries
5250
+ });
5251
+ });
5252
+ }
5253
+
5254
+ function replace(path, state) {
5255
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5256
+ var action = 'REPLACE';
5257
+ var location = createLocation(path, state, createKey(), history.location);
5258
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5259
+ if (!ok) return;
5260
+ history.entries[history.index] = location;
5261
+ setState({
5262
+ action: action,
5263
+ location: location
5264
+ });
5265
+ });
5266
+ }
5267
+
5268
+ function go(n) {
5269
+ var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);
5270
+ var action = 'POP';
5271
+ var location = history.entries[nextIndex];
5272
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5273
+ if (ok) {
5274
+ setState({
5275
+ action: action,
5276
+ location: location,
5277
+ index: nextIndex
5278
+ });
5279
+ } else {
5280
+ // Mimic the behavior of DOM histories by
5281
+ // causing a render after a cancelled POP.
5282
+ setState();
5283
+ }
5284
+ });
5285
+ }
5286
+
5287
+ function goBack() {
5288
+ go(-1);
5289
+ }
5290
+
5291
+ function goForward() {
5292
+ go(1);
5293
+ }
5294
+
5295
+ function canGo(n) {
5296
+ var nextIndex = history.index + n;
5297
+ return nextIndex >= 0 && nextIndex < history.entries.length;
5298
+ }
5299
+
5300
+ function block(prompt) {
5301
+ if (prompt === void 0) {
5302
+ prompt = false;
5303
+ }
5304
+
5305
+ return transitionManager.setPrompt(prompt);
5306
+ }
5307
+
5308
+ function listen(listener) {
5309
+ return transitionManager.appendListener(listener);
5310
+ }
5311
+
5312
+ var history = {
5313
+ length: entries.length,
5314
+ action: 'POP',
5315
+ location: entries[index],
5316
+ index: index,
5317
+ entries: entries,
5318
+ createHref: createHref,
5319
+ push: push,
5320
+ replace: replace,
5321
+ go: go,
5322
+ goBack: goBack,
5323
+ goForward: goForward,
5324
+ canGo: canGo,
5325
+ block: block,
5326
+ listen: listen
5327
+ };
5328
+ return history;
5329
+ }
5330
+
5331
+
5332
 
5333
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5334
 
5337
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5338
 
5339
  "use strict";
5340
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useTheme__ = __webpack_require__(366);
5341
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useTheme__["a"]; });
5342
 
5343
 
5346
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5347
 
5348
  "use strict";
5349
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Collapse__ = __webpack_require__(183);
5350
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Collapse__["a"]; });
5351
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeCollapse__ = __webpack_require__(422);
5352
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeCollapse__["a"]; });
5353
  // eslint-disable-next-line camelcase
5354
 
5359
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5360
 
5361
  "use strict";
5362
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(415);
5363
  /* unused harmony reexport CSSTransition */
5364
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(419);
5365
  /* unused harmony reexport ReplaceTransition */
5366
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(421);
5367
  /* unused harmony reexport SwitchTransition */
5368
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(186);
5369
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
5370
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(102);
5371
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
5372
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(184);
5373
  /* unused harmony reexport config */
5374
 
5375
 
5403
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5404
 
5405
  "use strict";
5406
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grow__ = __webpack_require__(195);
5407
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Grow__["a"]; });
5408
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeGrow__ = __webpack_require__(432);
5409
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeGrow__["a"]; });
5410
  // eslint-disable-next-line camelcase
5411
 
5416
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5417
 
5418
  "use strict";
5419
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputBase__ = __webpack_require__(511);
5420
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputBase__["a"]; });
5421
 
5422
 
5458
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5459
 
5460
  "use strict";
5461
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(178);
5462
 
5463
 
5464
  function css() {
5477
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5478
 
5479
  "use strict";
5480
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(423);
5481
  /* unused harmony reexport CSSTransition */
5482
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(428);
5483
  /* unused harmony reexport ReplaceTransition */
5484
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__TransitionGroup__ = __webpack_require__(191);
5485
  /* unused harmony reexport TransitionGroup */
5486
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Transition__ = __webpack_require__(187);
5487
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_3__Transition__["a"]; });
5488
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__config__ = __webpack_require__(188);
5489
  /* unused harmony reexport config */
5490
 
5491
 
5512
 
5513
  "use strict";
5514
  /* harmony export (immutable) */ __webpack_exports__["a"] = ownerWindow;
5515
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ownerDocument__ = __webpack_require__(30);
5516
 
5517
  function ownerWindow(node) {
5518
  var doc = Object(__WEBPACK_IMPORTED_MODULE_0__ownerDocument__["a" /* default */])(node);
5693
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5694
 
5695
  "use strict";
5696
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fade__ = __webpack_require__(194);
5697
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fade__["a"]; });
5698
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeFade__ = __webpack_require__(431);
5699
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeFade__["a"]; });
5700
  // eslint-disable-next-line camelcase
5701
 
5706
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5707
 
5708
  "use strict";
5709
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Modal__ = __webpack_require__(495);
5710
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Modal__["a"]; });
5711
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ModalManager__ = __webpack_require__(219);
5712
  /* unused harmony reexport ModalManager */
5713
 
5714
 
5761
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5762
 
5763
  "use strict";
5764
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Input__ = __webpack_require__(526);
5765
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Input__["a"]; });
5766
 
5767
 
5812
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5813
 
5814
  "use strict";
5815
+ /* WEBPACK VAR INJECTION */(function(process) {var isProduction = process.env.NODE_ENV === 'production';
5816
+ function warning(condition, message) {
5817
+ if (!isProduction) {
5818
+ if (condition) {
5819
+ return;
5820
+ }
5821
+
5822
+ var text = "Warning: " + message;
5823
+
5824
+ if (typeof console !== 'undefined') {
5825
+ console.warn(text);
5826
+ }
5827
+
5828
+ try {
5829
+ throw Error(text);
5830
+ } catch (x) {}
5831
+ }
5832
+ }
5833
+
5834
+ /* harmony default export */ __webpack_exports__["a"] = (warning);
5835
 
5836
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5837
 
5840
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5841
 
5842
  "use strict";
5843
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__ = __webpack_require__(348);
5844
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__["a"]; });
5845
 
5846
 
5850
 
5851
  "use strict";
5852
  /* harmony export (immutable) */ __webpack_exports__["a"] = _createClass;
5853
+ function _defineProperties(target, props) {
5854
+ for (var i = 0; i < props.length; i++) {
5855
+ var descriptor = props[i];
5856
+ descriptor.enumerable = descriptor.enumerable || false;
5857
+ descriptor.configurable = true;
5858
+ if ("value" in descriptor) descriptor.writable = true;
5859
+ Object.defineProperty(target, descriptor.key, descriptor);
5860
+ }
5861
+ }
5862
+
5863
+ function _createClass(Constructor, protoProps, staticProps) {
5864
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
5865
+ if (staticProps) _defineProperties(Constructor, staticProps);
5866
+ return Constructor;
5867
  }
5868
 
5869
  /***/ }),
5872
 
5873
  "use strict";
5874
  /* harmony export (immutable) */ __webpack_exports__["a"] = _assertThisInitialized;
5875
+ function _assertThisInitialized(self) {
5876
+ if (self === void 0) {
5877
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5878
+ }
5879
+
5880
+ return self;
5881
  }
5882
 
5883
  /***/ }),
5885
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5886
 
5887
  "use strict";
5888
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__makeStyles__ = __webpack_require__(363);
5889
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__makeStyles__["a"]; });
5890
 
5891
 
5894
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5895
 
5896
  "use strict";
5897
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StylesProvider__ = __webpack_require__(145);
5898
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["b"]; });
5899
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["a"]; });
5900
 
5905
  /***/ (function(module, exports, __webpack_require__) {
5906
 
5907
  "use strict";
5908
+
5909
+
5910
+ var reactIs = __webpack_require__(14);
5911
+
5912
+ /**
5913
+ * Copyright 2015, Yahoo! Inc.
5914
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
5915
+ */
5916
+ var REACT_STATICS = {
5917
+ childContextTypes: true,
5918
+ contextType: true,
5919
+ contextTypes: true,
5920
+ defaultProps: true,
5921
+ displayName: true,
5922
+ getDefaultProps: true,
5923
+ getDerivedStateFromError: true,
5924
+ getDerivedStateFromProps: true,
5925
+ mixins: true,
5926
+ propTypes: true,
5927
+ type: true
5928
+ };
5929
+ var KNOWN_STATICS = {
5930
+ name: true,
5931
+ length: true,
5932
+ prototype: true,
5933
+ caller: true,
5934
+ callee: true,
5935
+ arguments: true,
5936
+ arity: true
5937
+ };
5938
+ var FORWARD_REF_STATICS = {
5939
+ '$$typeof': true,
5940
+ render: true,
5941
+ defaultProps: true,
5942
+ displayName: true,
5943
+ propTypes: true
5944
+ };
5945
+ var MEMO_STATICS = {
5946
+ '$$typeof': true,
5947
+ compare: true,
5948
+ defaultProps: true,
5949
+ displayName: true,
5950
+ propTypes: true,
5951
+ type: true
5952
+ };
5953
+ var TYPE_STATICS = {};
5954
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
5955
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
5956
+
5957
+ function getStatics(component) {
5958
+ // React v16.11 and below
5959
+ if (reactIs.isMemo(component)) {
5960
+ return MEMO_STATICS;
5961
+ } // React v16.12 and above
5962
+
5963
+
5964
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
5965
+ }
5966
+
5967
+ var defineProperty = Object.defineProperty;
5968
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
5969
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
5970
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5971
+ var getPrototypeOf = Object.getPrototypeOf;
5972
+ var objectPrototype = Object.prototype;
5973
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
5974
+ if (typeof sourceComponent !== 'string') {
5975
+ // don't hoist over string (html) components
5976
+ if (objectPrototype) {
5977
+ var inheritedComponent = getPrototypeOf(sourceComponent);
5978
+
5979
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
5980
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
5981
+ }
5982
+ }
5983
+
5984
+ var keys = getOwnPropertyNames(sourceComponent);
5985
+
5986
+ if (getOwnPropertySymbols) {
5987
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
5988
+ }
5989
+
5990
+ var targetStatics = getStatics(targetComponent);
5991
+ var sourceStatics = getStatics(sourceComponent);
5992
+
5993
+ for (var i = 0; i < keys.length; ++i) {
5994
+ var key = keys[i];
5995
+
5996
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
5997
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
5998
+
5999
+ try {
6000
+ // Avoid failures from read-only properties
6001
+ defineProperty(targetComponent, key, descriptor);
6002
+ } catch (e) {}
6003
+ }
6004
+ }
6005
+ }
6006
+
6007
+ return targetComponent;
6008
+ }
6009
+
6010
+ module.exports = hoistNonReactStatics;
6011
 
6012
 
6013
  /***/ }),
6036
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6037
 
6038
  "use strict";
6039
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6040
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonceProvider", function() { return NonceProvider; });
6041
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6042
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6043
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(175);
6044
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(100);
6045
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(10);
6046
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
6047
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
6048
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
6049
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(101);
6050
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__ = __webpack_require__(179);
6051
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__["z"]; });
6052
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__ = __webpack_require__(181);
6053
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createFilter", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["c"]; });
6054
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTheme", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["b"]; });
6055
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "mergeStyles", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["d"]; });
6056
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__emotion_css__ = __webpack_require__(53);
6057
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize__ = __webpack_require__(180);
6058
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_input_autosize__);
6059
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__ = __webpack_require__(392);
6060
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_cache__ = __webpack_require__(176);
6061
+
6062
+
6063
+
6064
+
6065
+
6066
+
6067
+
6068
+
6069
+
6070
+
6071
+
6072
+
6073
+
6074
+
6075
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
6076
+
6077
+ var NonceProvider =
6078
+ /*#__PURE__*/
6079
+ function (_Component) {
6080
+ _inheritsLoose(NonceProvider, _Component);
6081
+
6082
+ function NonceProvider(props) {
6083
+ var _this;
6084
+
6085
+ _this = _Component.call(this, props) || this;
6086
+
6087
+ _this.createEmotionCache = function (nonce) {
6088
+ return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_cache__["a" /* default */])({
6089
+ nonce: nonce
6090
+ });
6091
+ };
6092
+
6093
+ _this.createEmotionCache = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.createEmotionCache);
6094
+ return _this;
6095
+ }
6096
+
6097
+ var _proto = NonceProvider.prototype;
6098
+
6099
+ _proto.render = function render() {
6100
+ var emotionCache = this.createEmotionCache(this.props.nonce);
6101
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["a" /* CacheProvider */], {
6102
+ value: emotionCache
6103
+ }, this.props.children);
6104
+ };
6105
+
6106
+ return NonceProvider;
6107
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
6108
+
6109
+ 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 */]);
6110
+
6111
+ /* harmony default export */ __webpack_exports__["default"] = (index);
6112
+
6113
 
6114
 
6115
  /***/ }),
6116
  /* 73 */
6117
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6118
 
6119
+ "use strict";
6120
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SvgIcon__ = __webpack_require__(430);
6121
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SvgIcon__["a"]; });
6122
+
6123
+
6124
+ /***/ }),
6125
+ /* 74 */
6126
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6127
+
6128
  "use strict";
6129
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = unsupportedProp;
6130
  function unsupportedProp(props, propName, componentName, location, propFullName) {
6143
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6144
 
6145
  /***/ }),
6146
+ /* 75 */
6147
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6148
 
6149
  "use strict";
6150
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slide__ = __webpack_require__(196);
6151
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Slide__["a"]; });
6152
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeSlide__ = __webpack_require__(433);
6153
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeSlide__["a"]; });
6154
  // eslint-disable-next-line camelcase
6155
 
6156
 
6157
 
6158
  /***/ }),
6159
+ /* 76 */
6160
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6161
 
6162
  "use strict";
6163
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Zoom__ = __webpack_require__(197);
6164
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Zoom__["a"]; });
6165
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StrictModeZoom__ = __webpack_require__(434);
6166
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__StrictModeZoom__["a"]; });
6167
  // eslint-disable-next-line camelcase
6168
 
6169
 
6170
 
6171
  /***/ }),
6172
+ /* 77 */
6173
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6174
 
6175
  "use strict";
6176
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Backdrop__ = __webpack_require__(467);
6177
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Backdrop__["a"]; });
6178
 
6179
 
6180
  /***/ }),
6181
+ /* 78 */
6182
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6183
 
6184
  "use strict";
6203
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6204
 
6205
  /***/ }),
6206
+ /* 79 */
6207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6208
 
6209
  "use strict";
6210
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Portal__ = __webpack_require__(496);
6211
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Portal__["a"]; });
6212
 
6213
 
6214
  /***/ }),
6215
+ /* 80 */
6216
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6217
 
6218
  "use strict";
6219
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fab__ = __webpack_require__(509);
6220
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fab__["a"]; });
6221
 
6222
 
6223
  /***/ }),
6224
+ /* 81 */
6225
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6226
 
6227
  "use strict";
6228
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FilledInput__ = __webpack_require__(510);
6229
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FilledInput__["a"]; });
6230
 
6231
 
6232
  /***/ }),
6233
+ /* 82 */
6234
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6235
 
6236
  "use strict";
6237
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControl__ = __webpack_require__(513);
6238
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormControl__["a"]; });
6239
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useFormControl__ = __webpack_require__(42);
6240
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__useFormControl__["a"]; });
6242
 
6243
 
6244
  /***/ }),
6245
+ /* 83 */
6246
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6247
 
6248
  "use strict";
6249
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withWidth__ = __webpack_require__(238);
6250
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["a"]; });
6251
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["b"]; });
6252
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["c"]; });
6254
 
6255
 
6256
  /***/ }),
6257
+ /* 84 */
6258
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6259
 
6260
  "use strict";
6261
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__ = __webpack_require__(543);
6262
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__["a"]; });
6263
 
6264
 
6265
  /***/ }),
6266
+ /* 85 */
6267
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6268
 
6269
  "use strict";
6270
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popper__ = __webpack_require__(545);
6271
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popper__["a"]; });
6272
 
6273
 
6274
  /***/ }),
6275
+ /* 86 */
6276
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6277
 
6278
  "use strict";
6279
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Select__ = __webpack_require__(558);
6280
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Select__["a"]; });
6281
 
6282
 
6283
  /***/ }),
6284
+ /* 87 */
6285
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6286
 
6287
  "use strict";
6288
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6289
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tooltip__ = __webpack_require__(596);
6290
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Tooltip__["a"]; });
6291
 
6292
 
6293
  /***/ }),
6294
+ /* 88 */
6295
  /***/ (function(module, exports, __webpack_require__) {
6296
 
6297
  "use strict";
6298
+ /* WEBPACK VAR INJECTION */(function(process) {/**
6299
+ * Copyright (c) 2013-present, Facebook, Inc.
6300
+ *
6301
+ * This source code is licensed under the MIT license found in the
6302
+ * LICENSE file in the root directory of this source tree.
6303
+ */
6304
+
6305
+
6306
+
6307
+ var printWarning = function() {};
6308
+
6309
+ if (process.env.NODE_ENV !== 'production') {
6310
+ var ReactPropTypesSecret = __webpack_require__(89);
6311
+ var loggedTypeFailures = {};
6312
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
6313
+
6314
+ printWarning = function(text) {
6315
+ var message = 'Warning: ' + text;
6316
+ if (typeof console !== 'undefined') {
6317
+ console.error(message);
6318
+ }
6319
+ try {
6320
+ // --- Welcome to debugging React ---
6321
+ // This error was thrown as a convenience so that you can use this stack
6322
+ // to find the callsite that caused this warning to fire.
6323
+ throw new Error(message);
6324
+ } catch (x) {}
6325
+ };
6326
+ }
6327
+
6328
+ /**
6329
+ * Assert that the values match with the type specs.
6330
+ * Error messages are memorized and will only be shown once.
6331
+ *
6332
+ * @param {object} typeSpecs Map of name to a ReactPropType
6333
+ * @param {object} values Runtime values that need to be type-checked
6334
+ * @param {string} location e.g. "prop", "context", "child context"
6335
+ * @param {string} componentName Name of the component for error messages.
6336
+ * @param {?Function} getStack Returns the component stack.
6337
+ * @private
6338
+ */
6339
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
6340
+ if (process.env.NODE_ENV !== 'production') {
6341
+ for (var typeSpecName in typeSpecs) {
6342
+ if (has(typeSpecs, typeSpecName)) {
6343
+ var error;
6344
+ // Prop type validation may throw. In case they do, we don't want to
6345
+ // fail the render phase where it didn't fail before. So we log it.
6346
+ // After these have been cleaned up, we'll let them throw.
6347
+ try {
6348
+ // This is intentionally an invariant that gets caught. It's the same
6349
+ // behavior as without this statement except with a better message.
6350
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
6351
+ var err = Error(
6352
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
6353
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
6354
+ );
6355
+ err.name = 'Invariant Violation';
6356
+ throw err;
6357
+ }
6358
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
6359
+ } catch (ex) {
6360
+ error = ex;
6361
+ }
6362
+ if (error && !(error instanceof Error)) {
6363
+ printWarning(
6364
+ (componentName || 'React class') + ': type specification of ' +
6365
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
6366
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
6367
+ 'You may have forgotten to pass an argument to the type checker ' +
6368
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
6369
+ 'shape all require an argument).'
6370
+ );
6371
+ }
6372
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
6373
+ // Only monitor this failure once because there tends to be a lot of the
6374
+ // same error.
6375
+ loggedTypeFailures[error.message] = true;
6376
+
6377
+ var stack = getStack ? getStack() : '';
6378
+
6379
+ printWarning(
6380
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
6381
+ );
6382
+ }
6383
+ }
6384
+ }
6385
+ }
6386
+ }
6387
+
6388
+ /**
6389
+ * Resets warning cache when testing.
6390
+ *
6391
+ * @private
6392
+ */
6393
+ checkPropTypes.resetWarningCache = function() {
6394
+ if (process.env.NODE_ENV !== 'production') {
6395
+ loggedTypeFailures = {};
6396
+ }
6397
+ }
6398
+
6399
+ module.exports = checkPropTypes;
6400
 
6401
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
6402
 
6403
  /***/ }),
6404
+ /* 89 */
6405
  /***/ (function(module, exports, __webpack_require__) {
6406
 
6407
  "use strict";
6408
+ /**
6409
+ * Copyright (c) 2013-present, Facebook, Inc.
6410
+ *
6411
+ * This source code is licensed under the MIT license found in the
6412
+ * LICENSE file in the root directory of this source tree.
6413
+ */
6414
+
6415
+
6416
+
6417
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
6418
+
6419
+ module.exports = ReactPropTypesSecret;
6420
 
6421
 
6422
  /***/ }),
6423
+ /* 90 */
6424
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6425
 
6426
  "use strict";
6427
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__ = __webpack_require__(91);
6428
+ // Written in this round about way for babel-transform-imports
6429
+
6430
+
6431
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__["a" /* default */]);
6432
 
6433
  /***/ }),
6434
+ /* 91 */
6435
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6436
 
6437
  "use strict";
6443
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
6444
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
6445
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
6446
+ 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; };
6447
+
6448
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6449
+
6450
+ 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; }
6451
+
6452
+ 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; }
6453
+
6454
+
6455
+
6456
+
6457
+
6458
+
6459
+ /**
6460
+ * The public API for putting history on context.
6461
+ */
6462
+
6463
+ var Router = function (_React$Component) {
6464
+ _inherits(Router, _React$Component);
6465
+
6466
+ function Router() {
6467
+ var _temp, _this, _ret;
6468
+
6469
+ _classCallCheck(this, Router);
6470
+
6471
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
6472
+ args[_key] = arguments[_key];
6473
+ }
6474
+
6475
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
6476
+ match: _this.computeMatch(_this.props.history.location.pathname)
6477
+ }, _temp), _possibleConstructorReturn(_this, _ret);
6478
+ }
6479
+
6480
+ Router.prototype.getChildContext = function getChildContext() {
6481
+ return {
6482
+ router: _extends({}, this.context.router, {
6483
+ history: this.props.history,
6484
+ route: {
6485
+ location: this.props.history.location,
6486
+ match: this.state.match
6487
+ }
6488
+ })
6489
+ };
6490
+ };
6491
+
6492
+ Router.prototype.computeMatch = function computeMatch(pathname) {
6493
+ return {
6494
+ path: "/",
6495
+ url: "/",
6496
+ params: {},
6497
+ isExact: pathname === "/"
6498
+ };
6499
+ };
6500
+
6501
+ Router.prototype.componentWillMount = function componentWillMount() {
6502
+ var _this2 = this;
6503
+
6504
+ var _props = this.props,
6505
+ children = _props.children,
6506
+ history = _props.history;
6507
+
6508
+
6509
+ __WEBPACK_IMPORTED_MODULE_1_invariant___default()(children == null || __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 1, "A <Router> may have only one child element");
6510
+
6511
+ // Do this here so we can setState when a <Redirect> changes the
6512
+ // location in componentWillMount. This happens e.g. when doing
6513
+ // server rendering using a <StaticRouter>.
6514
+ this.unlisten = history.listen(function () {
6515
+ _this2.setState({
6516
+ match: _this2.computeMatch(history.location.pathname)
6517
+ });
6518
+ });
6519
+ };
6520
+
6521
+ Router.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
6522
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(this.props.history === nextProps.history, "You cannot change <Router history>");
6523
+ };
6524
+
6525
+ Router.prototype.componentWillUnmount = function componentWillUnmount() {
6526
+ this.unlisten();
6527
+ };
6528
+
6529
+ Router.prototype.render = function render() {
6530
+ var children = this.props.children;
6531
+
6532
+ return children ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children) : null;
6533
+ };
6534
+
6535
+ return Router;
6536
+ }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
6537
+
6538
+ Router.propTypes = {
6539
+ history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
6540
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node
6541
+ };
6542
+ Router.contextTypes = {
6543
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
6544
+ };
6545
+ Router.childContextTypes = {
6546
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
6547
+ };
6548
+
6549
+
6550
  /* harmony default export */ __webpack_exports__["a"] = (Router);
6551
 
6552
  /***/ }),
6553
+ /* 92 */
6554
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6555
 
6556
  "use strict";
6557
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(137);
6558
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
6559
+
6560
+
6561
+ var patternCache = {};
6562
+ var cacheLimit = 10000;
6563
+ var cacheCount = 0;
6564
+
6565
+ var compilePath = function compilePath(pattern, options) {
6566
+ var cacheKey = "" + options.end + options.strict + options.sensitive;
6567
+ var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
6568
+
6569
+ if (cache[pattern]) return cache[pattern];
6570
+
6571
+ var keys = [];
6572
+ var re = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default()(pattern, keys, options);
6573
+ var compiledPattern = { re: re, keys: keys };
6574
+
6575
+ if (cacheCount < cacheLimit) {
6576
+ cache[pattern] = compiledPattern;
6577
+ cacheCount++;
6578
+ }
6579
+
6580
+ return compiledPattern;
6581
+ };
6582
+
6583
+ /**
6584
+ * Public API for matching a URL pathname to a path pattern.
6585
+ */
6586
+ var matchPath = function matchPath(pathname) {
6587
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
6588
+ var parent = arguments[2];
6589
+
6590
+ if (typeof options === "string") options = { path: options };
6591
+
6592
+ var _options = options,
6593
+ path = _options.path,
6594
+ _options$exact = _options.exact,
6595
+ exact = _options$exact === undefined ? false : _options$exact,
6596
+ _options$strict = _options.strict,
6597
+ strict = _options$strict === undefined ? false : _options$strict,
6598
+ _options$sensitive = _options.sensitive,
6599
+ sensitive = _options$sensitive === undefined ? false : _options$sensitive;
6600
+
6601
+
6602
+ if (path == null) return parent;
6603
+
6604
+ var _compilePath = compilePath(path, { end: exact, strict: strict, sensitive: sensitive }),
6605
+ re = _compilePath.re,
6606
+ keys = _compilePath.keys;
6607
+
6608
+ var match = re.exec(pathname);
6609
+
6610
+ if (!match) return null;
6611
+
6612
+ var url = match[0],
6613
+ values = match.slice(1);
6614
+
6615
+ var isExact = pathname === url;
6616
+
6617
+ if (exact && !isExact) return null;
6618
+
6619
+ return {
6620
+ path: path, // the path pattern used to match
6621
+ url: path === "/" && url === "" ? "/" : url, // the matched portion of the URL
6622
+ isExact: isExact, // whether or not we matched exactly
6623
+ params: keys.reduce(function (memo, key, index) {
6624
+ memo[key.name] = values[index];
6625
+ return memo;
6626
+ }, {})
6627
+ };
6628
+ };
6629
+
6630
  /* harmony default export */ __webpack_exports__["a"] = (matchPath);
6631
 
6632
  /***/ }),
6633
+ /* 93 */
6634
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6635
 
6636
  "use strict";
6649
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6650
 
6651
  /***/ }),
6652
+ /* 94 */
6653
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6654
 
6655
  "use strict";
6656
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getThemeProps__ = __webpack_require__(350);
6657
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__getThemeProps__["a"]; });
6658
 
6659
 
6660
  /***/ }),
6661
+ /* 95 */
6662
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6663
 
6664
  "use strict";
6665
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jssPreset__ = __webpack_require__(351);
6666
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__jssPreset__["a"]; });
6667
 
6668
 
6669
  /***/ }),
 
6670
  /* 96 */
6671
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6672
 
6673
  "use strict";
6674
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mergeClasses__ = __webpack_require__(364);
6675
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__mergeClasses__["a"]; });
6676
 
6677
 
6681
 
6682
  "use strict";
6683
  /* harmony export (immutable) */ __webpack_exports__["a"] = _classCallCheck;
6684
+ function _classCallCheck(instance, Constructor) {
6685
+ if (!(instance instanceof Constructor)) {
6686
+ throw new TypeError("Cannot call a class as a function");
6687
+ }
6688
  }
6689
 
6690
  /***/ }),
6695
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(12);
6696
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
6697
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_utils__ = __webpack_require__(7);
6698
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createBreakpoints__ = __webpack_require__(153);
6699
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__createMixins__ = __webpack_require__(374);
6700
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createPalette__ = __webpack_require__(375);
6701
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__createTypography__ = __webpack_require__(376);
6702
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shadows__ = __webpack_require__(377);
6703
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shape__ = __webpack_require__(378);
6704
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__createSpacing__ = __webpack_require__(379);
6705
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__transitions__ = __webpack_require__(29);
6706
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__zIndex__ = __webpack_require__(174);
6707
 
6708
 
6709
 
6892
  /* 100 */
6893
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6894
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6895
  "use strict";
6896
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
6897
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
6900
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
6901
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
6902
  /* unused harmony export withEmotionCache */
6903
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(385);
6904
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
6905
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
6906
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
6907
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(176);
6908
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(388);
6909
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(178);
6910
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(177);
6911
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(53);
6912
  /* unused harmony reexport css */
6913
 
7291
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7292
 
7293
  /***/ }),
7294
+ /* 101 */
7295
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7296
 
7297
  "use strict";
7514
 
7515
 
7516
  /***/ }),
7517
+ /* 102 */
7518
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7519
 
7520
  "use strict";
7523
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ENTERING; });
7524
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ENTERED; });
7525
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return EXITING; });
7526
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(25);
7527
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(26);
7528
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
7529
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
7530
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
7531
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
7532
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(10);
7533
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
7534
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(184);
7535
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(185);
7536
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(103);
7537
 
7538
 
7539
 
8122
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8123
 
8124
  /***/ }),
8125
+ /* 103 */
8126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8127
 
8128
  "use strict";
8132
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
8133
 
8134
  /***/ }),
8135
+ /* 104 */
8136
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8137
 
8138
  "use strict";
8162
  }
8163
 
8164
  /***/ }),
8165
+ /* 105 */
8166
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8167
 
8168
  "use strict";
8169
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Avatar__ = __webpack_require__(465);
8170
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Avatar__["a"]; });
8171
 
8172
 
8173
  /***/ }),
8174
+ /* 106 */
8175
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8176
 
8177
  "use strict";
8178
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Button__ = __webpack_require__(476);
8179
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Button__["a"]; });
8180
 
8181
 
8182
  /***/ }),
8183
+ /* 107 */
8184
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8185
 
8186
  "use strict";
8187
  /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
8188
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
8189
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(28);
8190
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
8191
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
8192
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
8446
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8447
 
8448
  /***/ }),
8449
+ /* 108 */
8450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8451
 
8452
  "use strict";
8453
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Chip__ = __webpack_require__(488);
8454
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Chip__["a"]; });
8455
 
8456
 
8457
  /***/ }),
8458
+ /* 109 */
8459
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8460
 
8461
  "use strict";
8462
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__ = __webpack_require__(491);
8463
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__["a"]; });
8464
 
8465
 
8466
  /***/ }),
8467
+ /* 110 */
8468
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8469
 
8470
  "use strict";
8479
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
8480
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
8481
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Modal__ = __webpack_require__(59);
8482
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Backdrop__ = __webpack_require__(77);
8483
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
8484
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Slide__ = __webpack_require__(75);
8485
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Paper__ = __webpack_require__(21);
8486
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_capitalize__ = __webpack_require__(8);
8487
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__styles_transitions__ = __webpack_require__(29);
8488
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(13);
8489
 
8490
 
8768
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8769
 
8770
  /***/ }),
8771
+ /* 111 */
8772
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8773
 
8774
  "use strict";
8775
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__ = __webpack_require__(512);
8776
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__["a"]; });
8777
 
8778
 
8779
  /***/ }),
8780
+ /* 112 */
8781
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8782
 
8783
  "use strict";
8815
  }
8816
 
8817
  /***/ }),
8818
+ /* 113 */
8819
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8820
 
8821
  "use strict";
8822
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormGroup__ = __webpack_require__(515);
8823
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormGroup__["a"]; });
8824
 
8825
 
8826
  /***/ }),
8827
+ /* 114 */
8828
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8829
 
8830
  "use strict";
8831
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormHelperText__ = __webpack_require__(516);
8832
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormHelperText__["a"]; });
8833
 
8834
 
8835
  /***/ }),
8836
+ /* 115 */
8837
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8838
 
8839
  "use strict";
8840
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormLabel__ = __webpack_require__(517);
8841
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormLabel__["a"]; });
8842
 
8843
 
8844
  /***/ }),
8845
+ /* 116 */
8846
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8847
 
8848
  "use strict";
8849
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__ = __webpack_require__(524);
8850
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__["a"]; });
8851
 
8852
 
8853
  /***/ }),
8854
+ /* 117 */
8855
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8856
 
8857
  "use strict";
8858
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputLabel__ = __webpack_require__(528);
8859
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputLabel__["a"]; });
8860
 
8861
 
8862
  /***/ }),
8863
+ /* 118 */
8864
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8865
 
8866
  "use strict";
8867
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__LinearProgress__ = __webpack_require__(529);
8868
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__LinearProgress__["a"]; });
8869
 
8870
 
8871
  /***/ }),
8872
+ /* 119 */
8873
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8874
 
8875
  "use strict";
8876
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__List__ = __webpack_require__(531);
8877
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__List__["a"]; });
8878
 
8879
 
8880
  /***/ }),
8881
+ /* 120 */
8882
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8883
 
8884
  "use strict";
8885
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItem__ = __webpack_require__(532);
8886
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListItem__["a"]; });
8887
 
8888
 
8889
  /***/ }),
8890
+ /* 121 */
8891
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8892
 
8893
  "use strict";
8894
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListSubheader__ = __webpack_require__(537);
8895
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListSubheader__["a"]; });
8896
 
8897
 
8898
  /***/ }),
8899
+ /* 122 */
8900
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8901
 
8902
  "use strict";
8903
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popover__ = __webpack_require__(538);
8904
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popover__["a"]; });
8905
 
8906
 
8907
  /***/ }),
8908
+ /* 123 */
8909
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8910
 
8911
  "use strict";
8912
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuList__ = __webpack_require__(539);
8913
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuList__["a"]; });
8914
 
8915
 
8916
  /***/ }),
8917
+ /* 124 */
8918
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8919
 
8920
  "use strict";
8921
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuItem__ = __webpack_require__(540);
8922
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuItem__["a"]; });
8923
 
8924
 
8925
  /***/ }),
8926
+ /* 125 */
8927
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8928
 
8929
  "use strict";
8930
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NoSsr__ = __webpack_require__(542);
8931
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__NoSsr__["a"]; });
8932
 
8933
 
8934
  /***/ }),
8935
+ /* 126 */
8936
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8937
 
8938
  "use strict";
8939
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__ = __webpack_require__(563);
8940
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__["a"]; });
8941
 
8942
 
8943
  /***/ }),
8944
+ /* 127 */
8945
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8946
 
8947
  "use strict";
8948
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepLabel__ = __webpack_require__(566);
8949
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepLabel__["a"]; });
8950
 
8951
 
8952
  /***/ }),
8953
+ /* 128 */
8954
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8955
 
8956
  "use strict";
8957
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepIcon__ = __webpack_require__(567);
8958
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepIcon__["a"]; });
8959
 
8960
 
8961
  /***/ }),
8962
+ /* 129 */
8963
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8964
 
8965
  "use strict";
8966
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepConnector__ = __webpack_require__(570);
8967
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepConnector__["a"]; });
8968
 
8969
 
8970
  /***/ }),
8971
+ /* 130 */
8972
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8973
 
8974
  "use strict";
8975
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableCell__ = __webpack_require__(579);
8976
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TableCell__["a"]; });
8977
 
8978
 
8979
  /***/ }),
8980
+ /* 131 */
8981
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8982
 
8983
  "use strict";
8984
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Toolbar__ = __webpack_require__(584);
8985
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Toolbar__["a"]; });
8986
 
8987
 
8988
  /***/ }),
8989
+ /* 132 */
8990
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8991
 
8992
  "use strict";
8993
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__PaginationItem__ = __webpack_require__(604);
8994
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__PaginationItem__["a"]; });
8995
 
8996
 
8997
  /***/ }),
8998
+ /* 133 */
8999
  /***/ (function(module, exports, __webpack_require__) {
9000
 
9001
  "use strict";
9002
+ /* WEBPACK VAR INJECTION */(function(process) {
9003
+
9004
+ if (process.env.NODE_ENV === 'production') {
9005
+ module.exports = __webpack_require__(300);
9006
+ } else {
9007
+ module.exports = __webpack_require__(301);
9008
+ }
9009
 
9010
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
9011
 
9012
  /***/ }),
9013
+ /* 134 */
9014
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9015
 
9016
  "use strict";
9021
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant__ = __webpack_require__(35);
9022
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_invariant__);
9023
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_history__ = __webpack_require__(44);
9024
+ 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; };
9025
+
9026
+ 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; }
9027
+
9028
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9029
+
9030
+ 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; }
9031
+
9032
+ 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; }
9033
+
9034
+
9035
+
9036
+
9037
+
9038
+
9039
+ var isModifiedEvent = function isModifiedEvent(event) {
9040
+ return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
9041
+ };
9042
+
9043
+ /**
9044
+ * The public API for rendering a history-aware <a>.
9045
+ */
9046
+
9047
+ var Link = function (_React$Component) {
9048
+ _inherits(Link, _React$Component);
9049
+
9050
+ function Link() {
9051
+ var _temp, _this, _ret;
9052
+
9053
+ _classCallCheck(this, Link);
9054
+
9055
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
9056
+ args[_key] = arguments[_key];
9057
+ }
9058
+
9059
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
9060
+ if (_this.props.onClick) _this.props.onClick(event);
9061
+
9062
+ if (!event.defaultPrevented && // onClick prevented default
9063
+ event.button === 0 && // ignore everything but left clicks
9064
+ !_this.props.target && // let browser handle "target=_blank" etc.
9065
+ !isModifiedEvent(event) // ignore clicks with modifier keys
9066
+ ) {
9067
+ event.preventDefault();
9068
+
9069
+ var history = _this.context.router.history;
9070
+ var _this$props = _this.props,
9071
+ replace = _this$props.replace,
9072
+ to = _this$props.to;
9073
+
9074
+
9075
+ if (replace) {
9076
+ history.replace(to);
9077
+ } else {
9078
+ history.push(to);
9079
+ }
9080
+ }
9081
+ }, _temp), _possibleConstructorReturn(_this, _ret);
9082
+ }
9083
+
9084
+ Link.prototype.render = function render() {
9085
+ var _props = this.props,
9086
+ replace = _props.replace,
9087
+ to = _props.to,
9088
+ innerRef = _props.innerRef,
9089
+ props = _objectWithoutProperties(_props, ["replace", "to", "innerRef"]); // eslint-disable-line no-unused-vars
9090
+
9091
+ __WEBPACK_IMPORTED_MODULE_2_invariant___default()(this.context.router, "You should not use <Link> outside a <Router>");
9092
+
9093
+ __WEBPACK_IMPORTED_MODULE_2_invariant___default()(to !== undefined, 'You must specify the "to" property');
9094
+
9095
+ var history = this.context.router.history;
9096
+
9097
+ var location = typeof to === "string" ? Object(__WEBPACK_IMPORTED_MODULE_3_history__["c" /* createLocation */])(to, null, null, history.location) : to;
9098
+
9099
+ var href = history.createHref(location);
9100
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a", _extends({}, props, { onClick: this.handleClick, href: href, ref: innerRef }));
9101
+ };
9102
+
9103
+ return Link;
9104
+ }(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Component);
9105
+
9106
+ Link.propTypes = {
9107
+ onClick: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func,
9108
+ target: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
9109
+ replace: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool,
9110
+ to: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.object]).isRequired,
9111
+ innerRef: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func])
9112
+ };
9113
+ Link.defaultProps = {
9114
+ replace: false
9115
+ };
9116
+ Link.contextTypes = {
9117
+ router: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.shape({
9118
+ history: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.shape({
9119
+ push: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
9120
+ replace: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
9121
+ createHref: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired
9122
+ }).isRequired
9123
+ }).isRequired
9124
+ };
9125
+
9126
+
9127
  /* harmony default export */ __webpack_exports__["a"] = (Link);
9128
 
9129
  /***/ }),
9130
+ /* 135 */
9131
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9132
 
9133
  "use strict";
9134
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__ = __webpack_require__(136);
9135
+ // Written in this round about way for babel-transform-imports
9136
+
9137
+
9138
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__["a" /* default */]);
9139
 
9140
  /***/ }),
9141
+ /* 136 */
9142
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9143
 
9144
  "use strict";
9150
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
9151
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
9152
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
9153
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__matchPath__ = __webpack_require__(92);
9154
+ 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; };
9155
+
9156
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9157
+
9158
+ 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; }
9159
+
9160
+ 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; }
9161
+
9162
+
9163
+
9164
+
9165
+
9166
+
9167
+
9168
+ var isEmptyChildren = function isEmptyChildren(children) {
9169
+ return __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 0;
9170
+ };
9171
+
9172
+ /**
9173
+ * The public API for matching a single path and rendering.
9174
+ */
9175
+
9176
+ var Route = function (_React$Component) {
9177
+ _inherits(Route, _React$Component);
9178
+
9179
+ function Route() {
9180
+ var _temp, _this, _ret;
9181
+
9182
+ _classCallCheck(this, Route);
9183
+
9184
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
9185
+ args[_key] = arguments[_key];
9186
+ }
9187
+
9188
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
9189
+ match: _this.computeMatch(_this.props, _this.context.router)
9190
+ }, _temp), _possibleConstructorReturn(_this, _ret);
9191
+ }
9192
+
9193
+ Route.prototype.getChildContext = function getChildContext() {
9194
+ return {
9195
+ router: _extends({}, this.context.router, {
9196
+ route: {
9197
+ location: this.props.location || this.context.router.route.location,
9198
+ match: this.state.match
9199
+ }
9200
+ })
9201
+ };
9202
+ };
9203
+
9204
+ Route.prototype.computeMatch = function computeMatch(_ref, router) {
9205
+ var computedMatch = _ref.computedMatch,
9206
+ location = _ref.location,
9207
+ path = _ref.path,
9208
+ strict = _ref.strict,
9209
+ exact = _ref.exact,
9210
+ sensitive = _ref.sensitive;
9211
+
9212
+ if (computedMatch) return computedMatch; // <Switch> already computed the match for us
9213
+
9214
+ __WEBPACK_IMPORTED_MODULE_1_invariant___default()(router, "You should not use <Route> or withRouter() outside a <Router>");
9215
+
9216
+ var route = router.route;
9217
+
9218
+ var pathname = (location || route.location).pathname;
9219
+
9220
+ return Object(__WEBPACK_IMPORTED_MODULE_4__matchPath__["a" /* default */])(pathname, { path: path, strict: strict, exact: exact, sensitive: sensitive }, route.match);
9221
+ };
9222
+
9223
+ Route.prototype.componentWillMount = function componentWillMount() {
9224
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.component && this.props.render), "You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored");
9225
+
9226
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.component && this.props.children && !isEmptyChildren(this.props.children)), "You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored");
9227
+
9228
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.render && this.props.children && !isEmptyChildren(this.props.children)), "You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored");
9229
+ };
9230
+
9231
+ Route.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps, nextContext) {
9232
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(nextProps.location && !this.props.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.');
9233
+
9234
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(!nextProps.location && this.props.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
9235
+
9236
+ this.setState({
9237
+ match: this.computeMatch(nextProps, nextContext.router)
9238
+ });
9239
+ };
9240
+
9241
+ Route.prototype.render = function render() {
9242
+ var match = this.state.match;
9243
+ var _props = this.props,
9244
+ children = _props.children,
9245
+ component = _props.component,
9246
+ render = _props.render;
9247
+ var _context$router = this.context.router,
9248
+ history = _context$router.history,
9249
+ route = _context$router.route,
9250
+ staticContext = _context$router.staticContext;
9251
+
9252
+ var location = this.props.location || route.location;
9253
+ var props = { match: match, location: location, history: history, staticContext: staticContext };
9254
+
9255
+ if (component) return match ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(component, props) : null;
9256
+
9257
+ if (render) return match ? render(props) : null;
9258
+
9259
+ if (typeof children === "function") return children(props);
9260
+
9261
+ if (children && !isEmptyChildren(children)) return __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children);
9262
+
9263
+ return null;
9264
+ };
9265
+
9266
+ return Route;
9267
+ }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
9268
+
9269
+ Route.propTypes = {
9270
+ computedMatch: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object, // private, from <Switch>
9271
+ path: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string,
9272
+ exact: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9273
+ strict: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9274
+ sensitive: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9275
+ component: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
9276
+ render: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
9277
+ children: __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.node]),
9278
+ location: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
9279
+ };
9280
+ Route.contextTypes = {
9281
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.shape({
9282
+ history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
9283
+ route: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
9284
+ staticContext: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
9285
+ })
9286
+ };
9287
+ Route.childContextTypes = {
9288
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
9289
+ };
9290
+
9291
+
9292
  /* harmony default export */ __webpack_exports__["a"] = (Route);
9293
 
9294
  /***/ }),
9295
+ /* 137 */
9296
  /***/ (function(module, exports, __webpack_require__) {
9297
 
9298
+ var isarray = __webpack_require__(318)
9299
+
9300
+ /**
9301
+ * Expose `pathToRegexp`.
9302
+ */
9303
+ module.exports = pathToRegexp
9304
+ module.exports.parse = parse
9305
+ module.exports.compile = compile
9306
+ module.exports.tokensToFunction = tokensToFunction
9307
+ module.exports.tokensToRegExp = tokensToRegExp
9308
+
9309
+ /**
9310
+ * The main path matching regexp utility.
9311
+ *
9312
+ * @type {RegExp}
9313
+ */
9314
+ var PATH_REGEXP = new RegExp([
9315
+ // Match escaped characters that would otherwise appear in future matches.
9316
+ // This allows the user to escape special characters that won't transform.
9317
+ '(\\\\.)',
9318
+ // Match Express-style parameters and un-named parameters with a prefix
9319
+ // and optional suffixes. Matches appear as:
9320
+ //
9321
+ // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
9322
+ // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
9323
+ // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
9324
+ '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'
9325
+ ].join('|'), 'g')
9326
+
9327
+ /**
9328
+ * Parse a string for the raw tokens.
9329
+ *
9330
+ * @param {string} str
9331
+ * @param {Object=} options
9332
+ * @return {!Array}
9333
+ */
9334
+ function parse (str, options) {
9335
+ var tokens = []
9336
+ var key = 0
9337
+ var index = 0
9338
+ var path = ''
9339
+ var defaultDelimiter = options && options.delimiter || '/'
9340
+ var res
9341
+
9342
+ while ((res = PATH_REGEXP.exec(str)) != null) {
9343
+ var m = res[0]
9344
+ var escaped = res[1]
9345
+ var offset = res.index
9346
+ path += str.slice(index, offset)
9347
+ index = offset + m.length
9348
+
9349
+ // Ignore already escaped sequences.
9350
+ if (escaped) {
9351
+ path += escaped[1]
9352
+ continue
9353
+ }
9354
+
9355
+ var next = str[index]
9356
+ var prefix = res[2]
9357
+ var name = res[3]
9358
+ var capture = res[4]
9359
+ var group = res[5]
9360
+ var modifier = res[6]
9361
+ var asterisk = res[7]
9362
+
9363
+ // Push the current path onto the tokens.
9364
+ if (path) {
9365
+ tokens.push(path)
9366
+ path = ''
9367
+ }
9368
+
9369
+ var partial = prefix != null && next != null && next !== prefix
9370
+ var repeat = modifier === '+' || modifier === '*'
9371
+ var optional = modifier === '?' || modifier === '*'
9372
+ var delimiter = res[2] || defaultDelimiter
9373
+ var pattern = capture || group
9374
+
9375
+ tokens.push({
9376
+ name: name || key++,
9377
+ prefix: prefix || '',
9378
+ delimiter: delimiter,
9379
+ optional: optional,
9380
+ repeat: repeat,
9381
+ partial: partial,
9382
+ asterisk: !!asterisk,
9383
+ pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')
9384
+ })
9385
+ }
9386
+
9387
+ // Match any characters still remaining.
9388
+ if (index < str.length) {
9389
+ path += str.substr(index)
9390
+ }
9391
+
9392
+ // If the path exists, push it onto the end.
9393
+ if (path) {
9394
+ tokens.push(path)
9395
+ }
9396
+
9397
+ return tokens
9398
+ }
9399
+
9400
+ /**
9401
+ * Compile a string to a template function for the path.
9402
+ *
9403
+ * @param {string} str
9404
+ * @param {Object=} options
9405
+ * @return {!function(Object=, Object=)}
9406
+ */
9407
+ function compile (str, options) {
9408
+ return tokensToFunction(parse(str, options), options)
9409
+ }
9410
+
9411
+ /**
9412
+ * Prettier encoding of URI path segments.
9413
+ *
9414
+ * @param {string}
9415
+ * @return {string}
9416
+ */
9417
+ function encodeURIComponentPretty (str) {
9418
+ return encodeURI(str).replace(/[\/?#]/g, function (c) {
9419
+ return '%' + c.charCodeAt(0).toString(16).toUpperCase()
9420
+ })
9421
+ }
9422
+
9423
+ /**
9424
+ * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.
9425
+ *
9426
+ * @param {string}
9427
+ * @return {string}
9428
+ */
9429
+ function encodeAsterisk (str) {
9430
+ return encodeURI(str).replace(/[?#]/g, function (c) {
9431
+ return '%' + c.charCodeAt(0).toString(16).toUpperCase()
9432
+ })
9433
+ }
9434
+
9435
+ /**
9436
+ * Expose a method for transforming tokens into the path function.
9437
+ */
9438
+ function tokensToFunction (tokens, options) {
9439
+ // Compile all the tokens into regexps.
9440
+ var matches = new Array(tokens.length)
9441
+
9442
+ // Compile all the patterns before compilation.
9443
+ for (var i = 0; i < tokens.length; i++) {
9444
+ if (typeof tokens[i] === 'object') {
9445
+ matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))
9446
+ }
9447
+ }
9448
+
9449
+ return function (obj, opts) {
9450
+ var path = ''
9451
+ var data = obj || {}
9452
+ var options = opts || {}
9453
+ var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent
9454
+
9455
+ for (var i = 0; i < tokens.length; i++) {
9456
+ var token = tokens[i]
9457
+
9458
+ if (typeof token === 'string') {
9459
+ path += token
9460
+
9461
+ continue
9462
+ }
9463
+
9464
+ var value = data[token.name]
9465
+ var segment
9466
+
9467
+ if (value == null) {
9468
+ if (token.optional) {
9469
+ // Prepend partial segment prefixes.
9470
+ if (token.partial) {
9471
+ path += token.prefix
9472
+ }
9473
+
9474
+ continue
9475
+ } else {
9476
+ throw new TypeError('Expected "' + token.name + '" to be defined')
9477
+ }
9478
+ }
9479
+
9480
+ if (isarray(value)) {
9481
+ if (!token.repeat) {
9482
+ throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`')
9483
+ }
9484
+
9485
+ if (value.length === 0) {
9486
+ if (token.optional) {
9487
+ continue
9488
+ } else {
9489
+ throw new TypeError('Expected "' + token.name + '" to not be empty')
9490
+ }
9491
+ }
9492
+
9493
+ for (var j = 0; j < value.length; j++) {
9494
+ segment = encode(value[j])
9495
+
9496
+ if (!matches[i].test(segment)) {
9497
+ throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`')
9498
+ }
9499
+
9500
+ path += (j === 0 ? token.prefix : token.delimiter) + segment
9501
+ }
9502
+
9503
+ continue
9504
+ }
9505
+
9506
+ segment = token.asterisk ? encodeAsterisk(value) : encode(value)
9507
+
9508
+ if (!matches[i].test(segment)) {
9509
+ throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"')
9510
+ }
9511
+
9512
+ path += token.prefix + segment
9513
+ }
9514
+
9515
+ return path
9516
+ }
9517
+ }
9518
+
9519
+ /**
9520
+ * Escape a regular expression string.
9521
+ *
9522
+ * @param {string} str
9523
+ * @return {string}
9524
+ */
9525
+ function escapeString (str) {
9526
+ return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1')
9527
+ }
9528
+
9529
+ /**
9530
+ * Escape the capturing group by escaping special characters and meaning.
9531
+ *
9532
+ * @param {string} group
9533
+ * @return {string}
9534
+ */
9535
+ function escapeGroup (group) {
9536
+ return group.replace(/([=!:$\/()])/g, '\\$1')
9537
+ }
9538
+
9539
+ /**
9540
+ * Attach the keys as a property of the regexp.
9541
+ *
9542
+ * @param {!RegExp} re
9543
+ * @param {Array} keys
9544
+ * @return {!RegExp}
9545
+ */
9546
+ function attachKeys (re, keys) {
9547
+ re.keys = keys
9548
+ return re
9549
+ }
9550
+
9551
+ /**
9552
+ * Get the flags for a regexp from the options.
9553
+ *
9554
+ * @param {Object} options
9555
+ * @return {string}
9556
+ */
9557
+ function flags (options) {
9558
+ return options && options.sensitive ? '' : 'i'
9559
+ }
9560
+
9561
+ /**
9562
+ * Pull out keys from a regexp.
9563
+ *
9564
+ * @param {!RegExp} path
9565
+ * @param {!Array} keys
9566
+ * @return {!RegExp}
9567
+ */
9568
+ function regexpToRegexp (path, keys) {
9569
+ // Use a negative lookahead to match only capturing groups.
9570
+ var groups = path.source.match(/\((?!\?)/g)
9571
+
9572
+ if (groups) {
9573
+ for (var i = 0; i < groups.length; i++) {
9574
+ keys.push({
9575
+ name: i,
9576
+ prefix: null,
9577
+ delimiter: null,
9578
+ optional: false,
9579
+ repeat: false,
9580
+ partial: false,
9581
+ asterisk: false,
9582
+ pattern: null
9583
+ })
9584
+ }
9585
+ }
9586
+
9587
+ return attachKeys(path, keys)
9588
+ }
9589
+
9590
+ /**
9591
+ * Transform an array into a regexp.
9592
+ *
9593
+ * @param {!Array} path
9594
+ * @param {Array} keys
9595
+ * @param {!Object} options
9596
+ * @return {!RegExp}
9597
+ */
9598
+ function arrayToRegexp (path, keys, options) {
9599
+ var parts = []
9600
+
9601
+ for (var i = 0; i < path.length; i++) {
9602
+ parts.push(pathToRegexp(path[i], keys, options).source)
9603
+ }
9604
+
9605
+ var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options))
9606
+
9607
+ return attachKeys(regexp, keys)
9608
+ }
9609
+
9610
+ /**
9611
+ * Create a path regexp from string input.
9612
+ *
9613
+ * @param {string} path
9614
+ * @param {!Array} keys
9615
+ * @param {!Object} options
9616
+ * @return {!RegExp}
9617
+ */
9618
+ function stringToRegexp (path, keys, options) {
9619
+ return tokensToRegExp(parse(path, options), keys, options)
9620
+ }
9621
+
9622
+ /**
9623
+ * Expose a function for taking tokens and returning a RegExp.
9624
+ *
9625
+ * @param {!Array} tokens
9626
+ * @param {(Array|Object)=} keys
9627
+ * @param {Object=} options
9628
+ * @return {!RegExp}
9629
+ */
9630
+ function tokensToRegExp (tokens, keys, options) {
9631
+ if (!isarray(keys)) {
9632
+ options = /** @type {!Object} */ (keys || options)
9633
+ keys = []
9634
+ }
9635
+
9636
+ options = options || {}
9637
+
9638
+ var strict = options.strict
9639
+ var end = options.end !== false
9640
+ var route = ''
9641
+
9642
+ // Iterate over the tokens and create our regexp string.
9643
+ for (var i = 0; i < tokens.length; i++) {
9644
+ var token = tokens[i]
9645
+
9646
+ if (typeof token === 'string') {
9647
+ route += escapeString(token)
9648
+ } else {
9649
+ var prefix = escapeString(token.prefix)
9650
+ var capture = '(?:' + token.pattern + ')'
9651
+
9652
+ keys.push(token)
9653
+
9654
+ if (token.repeat) {
9655
+ capture += '(?:' + prefix + capture + ')*'
9656
+ }
9657
+
9658
+ if (token.optional) {
9659
+ if (!token.partial) {
9660
+ capture = '(?:' + prefix + '(' + capture + '))?'
9661
+ } else {
9662
+ capture = prefix + '(' + capture + ')?'
9663
+ }
9664
+ } else {
9665
+ capture = prefix + '(' + capture + ')'
9666
+ }
9667
+
9668
+ route += capture
9669
+ }
9670
+ }
9671
+
9672
+ var delimiter = escapeString(options.delimiter || '/')
9673
+ var endsWithDelimiter = route.slice(-delimiter.length) === delimiter
9674
+
9675
+ // In non-strict mode we allow a slash at the end of match. If the path to
9676
+ // match already ends with a slash, we remove it for consistency. The slash
9677
+ // is valid at the end of a path match, not in the middle. This is important
9678
+ // in non-ending mode, where "/test/" shouldn't match "/test//route".
9679
+ if (!strict) {
9680
+ route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?'
9681
+ }
9682
+
9683
+ if (end) {
9684
+ route += '$'
9685
+ } else {
9686
+ // In non-ending mode, we need the capturing groups to match as much as
9687
+ // possible by using a positive lookahead to the end or next path segment.
9688
+ route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)'
9689
+ }
9690
+
9691
+ return attachKeys(new RegExp('^' + route, flags(options)), keys)
9692
+ }
9693
+
9694
+ /**
9695
+ * Normalize the given path string, returning a regular expression.
9696
+ *
9697
+ * An empty array can be passed in for the keys, which will hold the
9698
+ * placeholder key descriptions. For example, using `/user/:id`, `keys` will
9699
+ * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.
9700
+ *
9701
+ * @param {(string|RegExp|Array)} path
9702
+ * @param {(Array|Object)=} keys
9703
+ * @param {Object=} options
9704
+ * @return {!RegExp}
9705
+ */
9706
+ function pathToRegexp (path, keys, options) {
9707
+ if (!isarray(keys)) {
9708
+ options = /** @type {!Object} */ (keys || options)
9709
+ keys = []
9710
+ }
9711
+
9712
+ options = options || {}
9713
+
9714
+ if (path instanceof RegExp) {
9715
+ return regexpToRegexp(path, /** @type {!Array} */ (keys))
9716
+ }
9717
+
9718
+ if (isarray(path)) {
9719
+ return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)
9720
+ }
9721
+
9722
+ return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)
9723
+ }
9724
 
9725
 
9726
  /***/ }),
9727
+ /* 138 */
9728
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9729
 
9730
  "use strict";
9731
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(137);
9732
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
9733
+
9734
+
9735
+ var patternCache = {};
9736
+ var cacheLimit = 10000;
9737
+ var cacheCount = 0;
9738
+
9739
+ var compileGenerator = function compileGenerator(pattern) {
9740
+ var cacheKey = pattern;
9741
+ var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
9742
+
9743
+ if (cache[pattern]) return cache[pattern];
9744
+
9745
+ var compiledGenerator = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default.a.compile(pattern);
9746
+
9747
+ if (cacheCount < cacheLimit) {
9748
+ cache[pattern] = compiledGenerator;
9749
+ cacheCount++;
9750
+ }
9751
+
9752
+ return compiledGenerator;
9753
+ };
9754
+
9755
+ /**
9756
+ * Public API for generating a URL pathname from a pattern and parameters.
9757
+ */
9758
+ var generatePath = function generatePath() {
9759
+ var pattern = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "/";
9760
+ var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
9761
+
9762
+ if (pattern === "/") {
9763
+ return pattern;
9764
+ }
9765
+ var generator = compileGenerator(pattern);
9766
+ return generator(params, { pretty: true });
9767
+ };
9768
+
9769
  /* harmony default export */ __webpack_exports__["a"] = (generatePath);
9770
 
9771
  /***/ }),
9772
+ /* 139 */
9773
  /***/ (function(module, exports, __webpack_require__) {
9774
 
9775
  "use strict";
9786
 
9787
  var _reactDom = _interopRequireDefault(__webpack_require__(10));
9788
 
9789
+ __webpack_require__(333);
9790
 
9791
+ var _QuadsAdConfig = _interopRequireDefault(__webpack_require__(334));
9792
 
9793
+ var _QuadsAdTargeting = _interopRequireDefault(__webpack_require__(399));
9794
 
9795
+ var _QuadsAdPublish = _interopRequireDefault(__webpack_require__(407));
9796
 
9797
  var _queryString = _interopRequireDefault(__webpack_require__(23));
9798
 
9799
+ var _Icon = _interopRequireDefault(__webpack_require__(24));
9800
 
9801
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9802
 
9880
  _this.excludedVisibilityVal = exclude;
9881
  });
9882
 
9883
+ _defineProperty(_assertThisInitialized(_this), "updateRandomAds", function (random_ads_list) {
9884
+ _this.random_ads_list = random_ads_list;
9885
+ });
9886
+
9887
  _defineProperty(_assertThisInitialized(_this), "getAdDataById", function (ad_id) {
9888
  var url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id?ad-id=' + ad_id;
9889
  fetch(url, {
10138
  body_json.quads_post_meta.targeting_exclude = _this.excludedVal;
10139
  body_json.quads_post_meta.visibility_include = _this.includedVisibilityVal;
10140
  body_json.quads_post_meta.visibility_exclude = _this.excludedVisibilityVal;
10141
+ body_json.quads_post_meta.random_ads_list = _this.random_ads_list;
10142
  var url = quads_localize_data.rest_url + 'quads-route/update-ad';
10143
  fetch(url, {
10144
  method: "post",
10248
 
10249
  break;
10250
 
10251
+ case 'random_ads':
10252
+ if (quads_post_meta.random_ads_list.length > 0 && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
10253
+ _this.saveAdFormData('publish');
10254
+ } else {
10255
+ _this.setState({
10256
+ show_form_error: true
10257
+ });
10258
+ }
10259
+
10260
+ break;
10261
+
10262
  default:
10263
  break;
10264
  }
10332
 
10333
  break;
10334
 
10335
+ case 'random_ads':
10336
+ if (quads_post_meta.random_ads_list.length > 0) {
10337
+ _this.props.history.push(new_url);
10338
+ } else {
10339
+ _this.setState({
10340
+ show_form_error: true
10341
+ });
10342
+ }
10343
+
10344
+ break;
10345
+
10346
  default:
10347
  break;
10348
  }
10429
  enable_on_end_of_post: false,
10430
  image_caption: false,
10431
  include_dropdown: false,
10432
+ exclude_dropdown: false,
10433
+ random_ads_list: []
10434
  },
10435
  quads_form_errors: {
10436
  g_data_ad_slot: '',
10438
  code: '',
10439
  label: '',
10440
  position: '',
10441
+ visibility_include: [],
10442
+ random_ads_list: []
10443
  }
10444
  };
10445
  _this.include_timer = null;
10505
  }).then(function (res) {
10506
  return res.json();
10507
  }).then(function (result) {
10508
+ var titleName = result.name;
10509
+
10510
+ if (page.ad_type == 'random_ads') {
10511
+ titleName = result.name + " (Random)";
10512
+ }
10513
+
10514
  _this2.setState(Object.assign(_this2.state.quads_post_meta, {
10515
+ label: titleName
10516
  }));
10517
  }, function (error) {});
10518
  }
10564
  modalValue: _this2.modalValue,
10565
  getAdsenseCode: _this2.getAdsenseCode,
10566
  openModal: _this2.openModal,
10567
+ closeModal: _this2.closeModal,
10568
+ updateRandomAds: _this2.updateRandomAds
10569
  }));
10570
 
10571
  case "wizard_target":
10601
  exports["default"] = _default;
10602
 
10603
  /***/ }),
10604
+ /* 140 */
10605
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10606
 
10607
  "use strict";
10609
  /* harmony default export */ __webpack_exports__["a"] = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');
10610
 
10611
  /***/ }),
10612
+ /* 141 */
10613
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10614
 
10615
  "use strict";
10616
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStyles__ = __webpack_require__(349);
10617
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createStyles__["a"]; });
10618
 
10619
 
10620
  /***/ }),
10621
+ /* 142 */
10622
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10623
 
10624
  "use strict";
10631
 
10632
 
10633
  /***/ }),
10634
+ /* 143 */
 
10635
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10636
 
10637
  "use strict";
10638
  /* harmony export (immutable) */ __webpack_exports__["a"] = _iterableToArray;
10639
+ function _iterableToArray(iter) {
10640
+ if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
10641
  }
10642
 
10643
  /***/ }),
10644
+ /* 144 */
10645
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10646
 
10647
  "use strict";
10658
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10659
 
10660
  /***/ }),
10661
+ /* 145 */
10662
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10663
 
10664
  "use strict";
10674
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
10675
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createGenerateClassName__ = __webpack_require__(65);
10676
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_jss__ = __webpack_require__(37);
10677
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__jssPreset__ = __webpack_require__(95);
10678
 
10679
 
10680
 
10825
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10826
 
10827
  /***/ }),
10828
+ /* 146 */
10829
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10830
 
10831
  "use strict";
10834
  /* harmony default export */ __webpack_exports__["a"] = (noopTheme);
10835
 
10836
  /***/ }),
10837
+ /* 147 */
10838
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10839
 
10840
  "use strict";
10841
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ServerStyleSheets__ = __webpack_require__(370);
10842
  /* unused harmony reexport default */
10843
 
10844
 
10845
  /***/ }),
10846
+ /* 148 */
10847
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10848
 
10849
  "use strict";
10850
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__styled__ = __webpack_require__(371);
10851
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__styled__["a"]; });
10852
 
10853
 
10854
  /***/ }),
10855
+ /* 149 */
10856
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10857
 
10858
  "use strict";
10859
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ThemeProvider__ = __webpack_require__(372);
10860
  /* unused harmony reexport default */
10861
 
10862
 
10863
  /***/ }),
10864
+ /* 150 */
10865
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10866
 
10867
  "use strict";
10868
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withStyles__ = __webpack_require__(373);
10869
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withStyles__["a"]; });
10870
 
10871
 
10872
  /***/ }),
10873
+ /* 151 */
10874
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10875
 
10876
  "use strict";
10877
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withTheme__ = __webpack_require__(152);
10878
  /* unused harmony reexport default */
10879
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withTheme__["a"]; });
10880
 
10881
 
10882
 
10883
  /***/ }),
10884
+ /* 152 */
10885
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10886
 
10887
  "use strict";
10962
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10963
 
10964
  /***/ }),
10965
+ /* 153 */
10966
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10967
 
10968
  "use strict";
11039
  }
11040
 
11041
  /***/ }),
11042
+ /* 154 */
11043
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11044
 
11045
  "use strict";
11050
  /* harmony default export */ __webpack_exports__["a"] = (common);
11051
 
11052
  /***/ }),
11053
+ /* 155 */
11054
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11055
 
11056
  "use strict";
11073
  /* harmony default export */ __webpack_exports__["a"] = (grey);
11074
 
11075
  /***/ }),
11076
+ /* 156 */
11077
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11078
 
11079
  "use strict";
11096
  /* harmony default export */ __webpack_exports__["a"] = (indigo);
11097
 
11098
  /***/ }),
11099
+ /* 157 */
11100
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11101
 
11102
  "use strict";
11119
  /* harmony default export */ __webpack_exports__["a"] = (pink);
11120
 
11121
  /***/ }),
11122
+ /* 158 */
11123
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11124
 
11125
  "use strict";
11142
  /* harmony default export */ __webpack_exports__["a"] = (red);
11143
 
11144
  /***/ }),
11145
+ /* 159 */
11146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11147
 
11148
  "use strict";
11165
  /* harmony default export */ __webpack_exports__["a"] = (orange);
11166
 
11167
  /***/ }),
11168
+ /* 160 */
11169
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11170
 
11171
  "use strict";
11188
  /* harmony default export */ __webpack_exports__["a"] = (blue);
11189
 
11190
  /***/ }),
11191
+ /* 161 */
11192
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11193
 
11194
  "use strict";
11211
  /* harmony default export */ __webpack_exports__["a"] = (green);
11212
 
11213
  /***/ }),
11214
+ /* 162 */
11215
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11216
 
11217
  "use strict";
11218
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__borders__ = __webpack_require__(163);
11219
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__borders__["a"]; });
11220
  /* unused harmony namespace reexport */
11221
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__breakpoints__ = __webpack_require__(99);
11222
  /* unused harmony reexport breakpoints */
11223
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__compose__ = __webpack_require__(31);
11224
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__compose__["a"]; });
11225
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__css__ = __webpack_require__(380);
11226
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__css__["a"]; });
11227
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__display__ = __webpack_require__(381);
11228
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__display__["a"]; });
11229
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__flexbox__ = __webpack_require__(165);
11230
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__flexbox__["a"]; });
11231
  /* unused harmony namespace reexport */
11232
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__grid__ = __webpack_require__(166);
11233
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__grid__["a"]; });
11234
  /* unused harmony namespace reexport */
11235
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__palette__ = __webpack_require__(167);
11236
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__palette__["a"]; });
11237
  /* unused harmony namespace reexport */
11238
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__positions__ = __webpack_require__(168);
11239
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__positions__["a"]; });
11240
  /* unused harmony namespace reexport */
11241
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__shadows__ = __webpack_require__(382);
11242
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__shadows__["a"]; });
11243
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__sizing__ = __webpack_require__(169);
11244
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_10__sizing__["a"]; });
11245
  /* unused harmony namespace reexport */
11246
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__spacing__ = __webpack_require__(170);
11247
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["b"]; });
11248
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["a"]; });
11249
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__style__ = __webpack_require__(27);
11250
  /* unused harmony reexport style */
11251
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__typography__ = __webpack_require__(173);
11252
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_13__typography__["a"]; });
11253
  /* unused harmony namespace reexport */
11254
  /** @license Material-UI v4.9.10
11280
 
11281
 
11282
  /***/ }),
11283
+ /* 163 */
11284
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11285
 
11286
  "use strict";
11291
  /* unused harmony export borderLeft */
11292
  /* unused harmony export borderColor */
11293
  /* unused harmony export borderRadius */
11294
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11295
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11296
 
11297
 
11341
  /* harmony default export */ __webpack_exports__["a"] = (borders);
11342
 
11343
  /***/ }),
11344
+ /* 164 */
11345
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11346
 
11347
  "use strict";
11353
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
11354
 
11355
  /***/ }),
11356
+ /* 165 */
11357
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11358
 
11359
  "use strict";
11370
  /* unused harmony export alignSelf */
11371
  /* unused harmony export justifyItems */
11372
  /* unused harmony export justifySelf */
11373
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11374
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11375
 
11376
 
11417
  /* harmony default export */ __webpack_exports__["a"] = (flexbox);
11418
 
11419
  /***/ }),
11420
+ /* 166 */
11421
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11422
 
11423
  "use strict";
11433
  /* unused harmony export gridTemplateRows */
11434
  /* unused harmony export gridTemplateAreas */
11435
  /* unused harmony export gridArea */
11436
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11437
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11438
 
11439
 
11477
  /* harmony default export */ __webpack_exports__["a"] = (grid);
11478
 
11479
  /***/ }),
11480
+ /* 167 */
11481
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11482
 
11483
  "use strict";
11484
  /* unused harmony export color */
11485
  /* unused harmony export bgcolor */
11486
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11487
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11488
 
11489
 
11500
  /* harmony default export */ __webpack_exports__["a"] = (palette);
11501
 
11502
  /***/ }),
11503
+ /* 168 */
11504
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11505
 
11506
  "use strict";
11510
  /* unused harmony export right */
11511
  /* unused harmony export bottom */
11512
  /* unused harmony export left */
11513
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11514
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11515
 
11516
 
11536
  /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(position, zIndex, top, right, bottom, left));
11537
 
11538
  /***/ }),
11539
+ /* 169 */
11540
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11541
 
11542
  "use strict";
11549
  /* unused harmony export sizeWidth */
11550
  /* unused harmony export sizeHeight */
11551
  /* unused harmony export boxSizing */
11552
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11553
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11554
 
11555
 
11599
  /* harmony default export */ __webpack_exports__["a"] = (sizing);
11600
 
11601
  /***/ }),
11602
+ /* 170 */
11603
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11604
 
11605
  "use strict";
11606
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createUnarySpacing;
11607
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(28);
11608
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(164);
11609
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(99);
11610
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__merge__ = __webpack_require__(71);
11611
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__memoize__ = __webpack_require__(384);
11612
 
11613
 
11614
 
11751
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
11752
 
11753
  /***/ }),
11754
+ /* 171 */
11755
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11756
 
11757
  "use strict";
11758
  /* harmony export (immutable) */ __webpack_exports__["a"] = _arrayWithHoles;
11759
+ function _arrayWithHoles(arr) {
11760
+ if (Array.isArray(arr)) return arr;
11761
  }
11762
 
11763
  /***/ }),
11764
+ /* 172 */
11765
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11766
 
11767
  "use strict";
11768
  /* harmony export (immutable) */ __webpack_exports__["a"] = _nonIterableRest;
11769
+ function _nonIterableRest() {
11770
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
11771
  }
11772
 
11773
  /***/ }),
11774
+ /* 173 */
11775
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11776
 
11777
  "use strict";
11782
  /* unused harmony export letterSpacing */
11783
  /* unused harmony export lineHeight */
11784
  /* unused harmony export textAlign */
11785
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(27);
11786
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(31);
11787
 
11788
 
11815
  /* harmony default export */ __webpack_exports__["a"] = (typography);
11816
 
11817
  /***/ }),
11818
+ /* 174 */
11819
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11820
 
11821
  "use strict";
11833
  /* harmony default export */ __webpack_exports__["a"] = (zIndex);
11834
 
11835
  /***/ }),
11836
+ /* 175 */
11837
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11838
 
11839
  "use strict";
11876
 
11877
 
11878
  /***/ }),
11879
+ /* 176 */
11880
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11881
 
11882
  "use strict";
11883
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(177);
11884
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(386);
11885
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(387);
11886
 
11887
 
11888
 
12097
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12098
 
12099
  /***/ }),
12100
+ /* 177 */
12101
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12102
 
12103
  "use strict";
12241
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12242
 
12243
  /***/ }),
12244
+ /* 178 */
12245
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12246
 
12247
  "use strict";
12248
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
12249
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(389);
12250
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(390);
12251
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(391);
12252
 
12253
 
12254
 
12575
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12576
 
12577
  /***/ }),
12578
+ /* 179 */
12579
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12580
 
12581
  "use strict";
12607
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return components; });
12608
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
12609
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
12610
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_core__ = __webpack_require__(100);
12611
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom__ = __webpack_require__(10);
12612
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_dom__);
12613
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
12614
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
12615
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(101);
12616
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_css__ = __webpack_require__(53);
12617
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize__ = __webpack_require__(180);
12618
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react_input_autosize__);
12619
 
12620
 
13901
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
13902
 
13903
  /***/ }),
13904
+ /* 180 */
13905
  /***/ (function(module, exports, __webpack_require__) {
13906
 
13907
  "use strict";
14175
  exports.default = AutosizeInput;
14176
 
14177
  /***/ }),
14178
+ /* 181 */
14179
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14180
 
14181
  "use strict";
14186
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return mergeStyles; });
14187
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
14188
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
14189
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(175);
14190
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(100);
14191
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(10);
14192
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
14193
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(101);
14194
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__ = __webpack_require__(179);
14195
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(53);
14196
 
14197
 
16931
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
16932
 
16933
  /***/ }),
16934
+ /* 182 */
16935
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
16936
 
16937
  "use strict";
16938
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(413);
16939
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
16940
 
16941
 
16942
  /***/ }),
16943
+ /* 183 */
16944
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
16945
 
16946
  "use strict";
16954
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
16955
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_transition_group__ = __webpack_require__(47);
16956
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_withStyles__ = __webpack_require__(6);
16957
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_transitions__ = __webpack_require__(29);
16958
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__transitions_utils__ = __webpack_require__(48);
16959
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_useTheme__ = __webpack_require__(13);
16960
 
17234
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
17235
 
17236
  /***/ }),
17237
+ /* 184 */
17238
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17239
 
17240
  "use strict";
17243
  });
17244
 
17245
  /***/ }),
17246
+ /* 185 */
17247
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17248
 
17249
  "use strict";
17272
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
17273
 
17274
  /***/ }),
17275
+ /* 186 */
17276
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17277
 
17278
  "use strict";
17279
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(25);
17280
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
17281
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(26);
17282
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(67);
17283
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
17284
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
17285
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
17286
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
17287
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(103);
17288
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(420);
17289
 
17290
 
17291
 
17480
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
17481
 
17482
  /***/ }),
17483
+ /* 187 */
17484
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17485
 
17486
  "use strict";
17489
  /* unused harmony export ENTERING */
17490
  /* unused harmony export ENTERED */
17491
  /* unused harmony export EXITING */
17492
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(25);
17493
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(26);
17494
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
17495
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
17496
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
17497
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
17498
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(10);
17499
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
17500
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(188);
17501
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(189);
17502
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(190);
17503
 
17504
 
17505
 
18093
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18094
 
18095
  /***/ }),
18096
+ /* 188 */
18097
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18098
 
18099
  "use strict";
18102
  });
18103
 
18104
  /***/ }),
18105
+ /* 189 */
18106
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18107
 
18108
  "use strict";
18131
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18132
 
18133
  /***/ }),
18134
+ /* 190 */
18135
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18136
 
18137
  "use strict";
18141
  /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
18142
 
18143
  /***/ }),
18144
+ /* 191 */
18145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18146
 
18147
  "use strict";
18148
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(25);
18149
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
18150
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(26);
18151
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(67);
18152
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
18153
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
18154
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
18155
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
18156
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(190);
18157
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(429);
18158
 
18159
 
18160
 
18349
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18350
 
18351
  /***/ }),
18352
+ /* 192 */
18353
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18354
 
18355
  "use strict";
18375
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18376
 
18377
  /***/ }),
18378
+ /* 193 */
18379
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18380
 
18381
  "use strict";
18404
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18405
 
18406
  /***/ }),
18407
+ /* 194 */
18408
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18409
 
18410
  "use strict";
18415
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
18416
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
18417
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_transition_group__ = __webpack_require__(47);
18418
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_transitions__ = __webpack_require__(29);
18419
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_useTheme__ = __webpack_require__(13);
18420
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions_utils__ = __webpack_require__(48);
18421
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_useForkRef__ = __webpack_require__(11);
18553
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18554
 
18555
  /***/ }),
18556
+ /* 195 */
18557
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18558
 
18559
  "use strict";
18758
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18759
 
18760
  /***/ }),
18761
+ /* 196 */
18762
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
18763
 
18764
  "use strict";
18776
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__material_ui_utils__ = __webpack_require__(7);
18777
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_useForkRef__ = __webpack_require__(11);
18778
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_useTheme__ = __webpack_require__(13);
18779
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__styles_transitions__ = __webpack_require__(29);
18780
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__transitions_utils__ = __webpack_require__(48);
18781
 
18782
 
19045
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19046
 
19047
  /***/ }),
19048
+ /* 197 */
19049
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19050
 
19051
  "use strict";
19056
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
19057
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
19058
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_transition_group__ = __webpack_require__(47);
19059
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_transitions__ = __webpack_require__(29);
19060
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_useTheme__ = __webpack_require__(13);
19061
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions_utils__ = __webpack_require__(48);
19062
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_useForkRef__ = __webpack_require__(11);
19195
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19196
 
19197
  /***/ }),
19198
+ /* 198 */
19199
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19200
 
19201
  "use strict";
19218
  /* harmony default export */ __webpack_exports__["a"] = (styled);
19219
 
19220
  /***/ }),
19221
+ /* 199 */
19222
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19223
 
19224
  "use strict";
19236
  }), 'Close'));
19237
 
19238
  /***/ }),
19239
+ /* 200 */
19240
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19241
 
19242
  "use strict";
19243
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AlertTitle__ = __webpack_require__(449);
19244
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AlertTitle__["a"]; });
19245
 
19246
 
19247
+ /***/ }),
19248
+ /* 201 */
19249
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19250
+
19251
+ "use strict";
19252
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AppBar__ = __webpack_require__(464);
19253
+ /* unused harmony reexport default */
19254
+
19255
+
19256
+ /***/ }),
19257
+ /* 202 */
19258
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19259
+
19260
+ "use strict";
19261
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Badge__ = __webpack_require__(468);
19262
+ /* unused harmony reexport default */
19263
+
19264
+
19265
  /***/ }),
19266
  /* 203 */
19267
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19268
 
19269
  "use strict";
19270
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigation__ = __webpack_require__(469);
19271
  /* unused harmony reexport default */
19272
 
19273
 
19276
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19277
 
19278
  "use strict";
19279
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigationAction__ = __webpack_require__(470);
19280
  /* unused harmony reexport default */
19281
 
19282
 
19285
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19286
 
19287
  "use strict";
19288
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Box__ = __webpack_require__(471);
19289
  /* unused harmony reexport default */
19290
+ /* unused harmony reexport styleFunction */
19291
 
19292
 
19293
  /***/ }),
19295
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19296
 
19297
  "use strict";
19298
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Breadcrumbs__ = __webpack_require__(472);
19299
  /* unused harmony reexport default */
19300
 
19301
 
19304
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19305
 
19306
  "use strict";
19307
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonGroup__ = __webpack_require__(477);
19308
  /* unused harmony reexport default */
 
19309
 
19310
 
19311
  /***/ }),
19313
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19314
 
19315
  "use strict";
19316
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Card__ = __webpack_require__(478);
19317
  /* unused harmony reexport default */
19318
 
19319
 
19322
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19323
 
19324
  "use strict";
19325
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActionArea__ = __webpack_require__(479);
19326
  /* unused harmony reexport default */
19327
 
19328
 
19331
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19332
 
19333
  "use strict";
19334
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActions__ = __webpack_require__(480);
19335
  /* unused harmony reexport default */
19336
 
19337
 
19340
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19341
 
19342
  "use strict";
19343
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardContent__ = __webpack_require__(481);
19344
  /* unused harmony reexport default */
19345
 
19346
 
19349
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19350
 
19351
  "use strict";
19352
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardHeader__ = __webpack_require__(482);
19353
  /* unused harmony reexport default */
19354
 
19355
 
19358
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19359
 
19360
  "use strict";
19361
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardMedia__ = __webpack_require__(483);
19362
  /* unused harmony reexport default */
19363
 
19364
 
19367
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19368
 
19369
  "use strict";
19370
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Checkbox__ = __webpack_require__(484);
19371
  /* unused harmony reexport default */
19372
 
19373
 
19376
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19377
 
19378
  "use strict";
19379
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CircularProgress__ = __webpack_require__(490);
19380
  /* unused harmony reexport default */
19381
 
19382
 
19385
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19386
 
19387
  "use strict";
19388
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Container__ = __webpack_require__(492);
19389
  /* unused harmony reexport default */
19390
 
19391
 
19394
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19395
 
19396
  "use strict";
19397
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CssBaseline__ = __webpack_require__(493);
19398
  /* unused harmony reexport default */
19399
 
19400
 
19403
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19404
 
19405
  "use strict";
19406
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Dialog__ = __webpack_require__(494);
19407
  /* unused harmony reexport default */
19408
 
19409
 
19411
  /* 219 */
19412
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19413
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19414
  "use strict";
19415
  /* harmony export (immutable) */ __webpack_exports__["a"] = ariaHidden;
19416
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ModalManager; });
19417
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(97);
19418
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_createClass__ = __webpack_require__(66);
19419
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(18);
19420
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_getScrollbarSize__ = __webpack_require__(220);
19421
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__ = __webpack_require__(30);
19422
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_ownerWindow__ = __webpack_require__(56);
19423
 
19424
 
19674
 
19675
 
19676
  /***/ }),
19677
+ /* 220 */
19678
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19679
 
19680
  "use strict";
19695
  }
19696
 
19697
  /***/ }),
19698
+ /* 221 */
19699
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19700
 
19701
  "use strict";
19702
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogActions__ = __webpack_require__(499);
19703
  /* unused harmony reexport default */
19704
 
19705
 
19706
  /***/ }),
19707
+ /* 222 */
19708
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19709
 
19710
  "use strict";
19711
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContent__ = __webpack_require__(500);
19712
  /* unused harmony reexport default */
19713
 
19714
 
19715
  /***/ }),
19716
+ /* 223 */
19717
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19718
 
19719
  "use strict";
19720
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContentText__ = __webpack_require__(501);
19721
  /* unused harmony reexport default */
19722
 
19723
 
19724
  /***/ }),
19725
+ /* 224 */
19726
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19727
 
19728
  "use strict";
19729
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogTitle__ = __webpack_require__(502);
19730
  /* unused harmony reexport default */
19731
 
19732
 
19733
  /***/ }),
19734
+ /* 225 */
19735
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19736
 
19737
  "use strict";
19738
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Divider__ = __webpack_require__(503);
19739
  /* unused harmony reexport default */
19740
 
19741
 
19742
  /***/ }),
19743
+ /* 226 */
19744
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19745
 
19746
  "use strict";
19747
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Drawer__ = __webpack_require__(110);
19748
  /* unused harmony reexport default */
19749
 
19750
 
19751
  /***/ }),
19752
+ /* 227 */
19753
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19754
 
19755
  "use strict";
19756
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanel__ = __webpack_require__(504);
19757
  /* unused harmony reexport default */
19758
 
19759
 
19760
  /***/ }),
19761
+ /* 228 */
19762
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19763
 
19764
  "use strict";
19780
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19781
 
19782
  /***/ }),
19783
+ /* 229 */
19784
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19785
 
19786
  "use strict";
19787
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelActions__ = __webpack_require__(506);
19788
  /* unused harmony reexport default */
19789
 
19790
 
19791
  /***/ }),
19792
+ /* 230 */
19793
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19794
 
19795
  "use strict";
19796
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelDetails__ = __webpack_require__(507);
19797
  /* unused harmony reexport default */
19798
 
19799
 
19800
  /***/ }),
19801
+ /* 231 */
19802
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19803
 
19804
  "use strict";
19805
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelSummary__ = __webpack_require__(508);
19806
  /* unused harmony reexport default */
19807
 
19808
 
19809
  /***/ }),
19810
+ /* 232 */
19811
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19812
 
19813
  "use strict";
19814
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControlLabel__ = __webpack_require__(514);
19815
  /* unused harmony reexport default */
19816
 
19817
 
19818
  /***/ }),
19819
+ /* 233 */
19820
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19821
 
19822
  "use strict";
19823
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grid__ = __webpack_require__(518);
19824
  /* unused harmony reexport default */
19825
 
19826
 
19827
  /***/ }),
19828
+ /* 234 */
19829
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19830
 
19831
  "use strict";
19832
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridList__ = __webpack_require__(519);
19833
  /* unused harmony reexport default */
19834
 
19835
 
19836
  /***/ }),
19837
+ /* 235 */
19838
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19839
 
19840
  "use strict";
19841
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTile__ = __webpack_require__(520);
19842
  /* unused harmony reexport default */
19843
 
19844
 
19845
  /***/ }),
19846
+ /* 236 */
19847
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19848
 
19849
  "use strict";
19850
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTileBar__ = __webpack_require__(521);
19851
  /* unused harmony reexport default */
19852
 
19853
 
19854
  /***/ }),
19855
+ /* 237 */
19856
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19857
 
19858
  "use strict";
19859
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Hidden__ = __webpack_require__(522);
19860
  /* unused harmony reexport default */
19861
 
19862
 
19863
  /***/ }),
19864
+ /* 238 */
19865
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19866
 
19867
  "use strict";
19879
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_hoist_non_react_statics__ = __webpack_require__(70);
19880
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_hoist_non_react_statics__);
19881
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styles_useTheme__ = __webpack_require__(13);
19882
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_createBreakpoints__ = __webpack_require__(153);
19883
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__useMediaQuery__ = __webpack_require__(116);
19884
 
19885
 
19886
 
20012
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20013
 
20014
  /***/ }),
20015
+ /* 239 */
20016
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20017
 
20018
  "use strict";
20019
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputAdornment__ = __webpack_require__(527);
20020
  /* unused harmony reexport default */
20021
 
20022
 
20023
  /***/ }),
20024
+ /* 240 */
20025
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20026
 
20027
  "use strict";
20028
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Link__ = __webpack_require__(530);
20029
  /* unused harmony reexport default */
20030
 
20031
 
20032
  /***/ }),
20033
+ /* 241 */
20034
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20035
 
20036
  "use strict";
20037
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemAvatar__ = __webpack_require__(533);
20038
  /* unused harmony reexport default */
20039
 
20040
 
20041
  /***/ }),
20042
+ /* 242 */
20043
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20044
 
20045
  "use strict";
20046
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemIcon__ = __webpack_require__(534);
20047
  /* unused harmony reexport default */
20048
 
20049
 
20050
  /***/ }),
20051
+ /* 243 */
20052
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20053
 
20054
  "use strict";
20055
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemSecondaryAction__ = __webpack_require__(535);
20056
  /* unused harmony reexport default */
20057
 
20058
 
20059
  /***/ }),
20060
+ /* 244 */
20061
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20062
 
20063
  "use strict";
20064
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemText__ = __webpack_require__(536);
20065
  /* unused harmony reexport default */
20066
 
20067
 
20068
  /***/ }),
20069
+ /* 245 */
20070
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20071
 
20072
  "use strict";
20073
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Menu__ = __webpack_require__(246);
20074
  /* unused harmony reexport default */
20075
 
20076
 
20077
  /***/ }),
20078
+ /* 246 */
20079
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20080
 
20081
  "use strict";
20090
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
20091
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
20092
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styles_withStyles__ = __webpack_require__(6);
20093
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Popover__ = __webpack_require__(122);
20094
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__MenuList__ = __webpack_require__(123);
20095
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_dom__ = __webpack_require__(10);
20096
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_dom__);
20097
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_setRef__ = __webpack_require__(39);
20369
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20370
 
20371
  /***/ }),
20372
+ /* 247 */
20373
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20374
 
20375
  "use strict";
20376
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MobileStepper__ = __webpack_require__(541);
20377
  /* unused harmony reexport default */
20378
 
20379
 
20380
  /***/ }),
20381
+ /* 248 */
20382
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20383
 
20384
  "use strict";
20385
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NativeSelect__ = __webpack_require__(249);
20386
  /* unused harmony reexport default */
20387
 
20388
 
20389
  /***/ }),
20390
+ /* 249 */
20391
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20392
 
20393
  "use strict";
20398
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
20399
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
20400
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
20401
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__ = __webpack_require__(250);
20402
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_withStyles__ = __webpack_require__(6);
20403
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__FormControl_formControlState__ = __webpack_require__(51);
20404
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__FormControl_useFormControl__ = __webpack_require__(42);
20405
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__internal_svg_icons_ArrowDropDown__ = __webpack_require__(251);
20406
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Input__ = __webpack_require__(61);
20407
 
20408
 
20610
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20611
 
20612
  /***/ }),
20613
+ /* 250 */
20614
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20615
 
20616
  "use strict";
20719
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20720
 
20721
  /***/ }),
20722
+ /* 251 */
20723
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20724
 
20725
  "use strict";
20737
  }), 'ArrowDropDown'));
20738
 
20739
  /***/ }),
20740
+ /* 252 */
20741
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20742
 
20743
  "use strict";
20744
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Radio__ = __webpack_require__(548);
20745
  /* unused harmony reexport default */
20746
 
20747
 
20748
  /***/ }),
20749
+ /* 253 */
20750
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20751
 
20752
  "use strict";
20753
  /* harmony export (immutable) */ __webpack_exports__["a"] = useRadioGroup;
20754
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
20755
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
20756
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__RadioGroupContext__ = __webpack_require__(254);
20757
 
20758
 
20759
  function useRadioGroup() {
20761
  }
20762
 
20763
  /***/ }),
20764
+ /* 254 */
20765
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20766
 
20767
  "use strict";
20782
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20783
 
20784
  /***/ }),
20785
+ /* 255 */
20786
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20787
 
20788
  "use strict";
20789
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RadioGroup__ = __webpack_require__(552);
20790
  /* unused harmony reexport default */
20791
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useRadioGroup__ = __webpack_require__(253);
20792
  /* unused harmony reexport useRadioGroup */
20793
 
20794
 
20795
 
20796
+ /***/ }),
20797
+ /* 256 */
20798
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20799
+
20800
+ "use strict";
20801
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__RootRef__ = __webpack_require__(553);
20802
+ /* unused harmony reexport default */
20803
+
20804
+
20805
+ /***/ }),
20806
+ /* 257 */
20807
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20808
+
20809
+ "use strict";
20810
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slider__ = __webpack_require__(560);
20811
+ /* unused harmony reexport default */
20812
+
20813
+
20814
  /***/ }),
20815
  /* 258 */
20816
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20817
 
20818
  "use strict";
20819
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Snackbar__ = __webpack_require__(562);
20820
  /* unused harmony reexport default */
20821
 
20822
 
20825
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20826
 
20827
  "use strict";
20828
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Step__ = __webpack_require__(564);
20829
  /* unused harmony reexport default */
20830
 
20831
 
20834
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20835
 
20836
  "use strict";
20837
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepButton__ = __webpack_require__(565);
20838
  /* unused harmony reexport default */
20839
 
20840
 
20843
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20844
 
20845
  "use strict";
20846
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepContent__ = __webpack_require__(571);
20847
  /* unused harmony reexport default */
20848
 
20849
 
20852
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20853
 
20854
  "use strict";
20855
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Stepper__ = __webpack_require__(572);
20856
  /* unused harmony reexport default */
20857
 
20858
 
20861
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20862
 
20863
  "use strict";
20864
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SwipeableDrawer__ = __webpack_require__(573);
20865
  /* unused harmony reexport default */
20866
 
20867
 
20870
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20871
 
20872
  "use strict";
20873
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Switch__ = __webpack_require__(575);
20874
  /* unused harmony reexport default */
20875
 
20876
 
20879
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20880
 
20881
  "use strict";
20882
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tab__ = __webpack_require__(576);
20883
  /* unused harmony reexport default */
20884
 
20885
 
20888
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20889
 
20890
  "use strict";
20891
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Table__ = __webpack_require__(577);
20892
  /* unused harmony reexport default */
20893
 
20894
 
20896
  /* 267 */
20897
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20898
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20899
  "use strict";
20900
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
20901
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
20914
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20915
 
20916
  /***/ }),
20917
+ /* 268 */
20918
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20919
 
20920
  "use strict";
20921
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableBody__ = __webpack_require__(578);
20922
  /* unused harmony reexport default */
20923
 
20924
 
20925
  /***/ }),
20926
+ /* 269 */
20927
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20928
 
20929
  "use strict";
20930
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableContainer__ = __webpack_require__(580);
20931
  /* unused harmony reexport default */
20932
 
20933
 
20934
  /***/ }),
20935
+ /* 270 */
20936
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20937
 
20938
  "use strict";
20939
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableFooter__ = __webpack_require__(581);
20940
  /* unused harmony reexport default */
20941
 
20942
 
20943
  /***/ }),
20944
+ /* 271 */
20945
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20946
 
20947
  "use strict";
20948
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableHead__ = __webpack_require__(582);
20949
  /* unused harmony reexport default */
20950
 
20951
 
20952
  /***/ }),
20953
+ /* 272 */
20954
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20955
 
20956
  "use strict";
20957
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TablePagination__ = __webpack_require__(583);
20958
  /* unused harmony reexport default */
20959
 
20960
 
20961
  /***/ }),
20962
+ /* 273 */
20963
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20964
 
20965
  "use strict";
20977
  }), 'KeyboardArrowLeft'));
20978
 
20979
  /***/ }),
20980
+ /* 274 */
20981
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
20982
 
20983
  "use strict";
20995
  }), 'KeyboardArrowRight'));
20996
 
20997
  /***/ }),
20998
+ /* 275 */
20999
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21000
 
21001
  "use strict";
21002
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableRow__ = __webpack_require__(586);
21003
  /* unused harmony reexport default */
21004
 
21005
 
21006
  /***/ }),
21007
+ /* 276 */
21008
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21009
 
21010
  "use strict";
21011
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableSortLabel__ = __webpack_require__(587);
21012
  /* unused harmony reexport default */
21013
 
21014
 
21015
  /***/ }),
21016
+ /* 277 */
21017
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21018
 
21019
  "use strict";
21020
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tabs__ = __webpack_require__(589);
21021
  /* unused harmony reexport default */
21022
 
21023
 
21024
  /***/ }),
21025
+ /* 278 */
21026
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21027
 
21028
  "use strict";
21029
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextField__ = __webpack_require__(595);
21030
  /* unused harmony reexport default */
21031
 
21032
 
21033
  /***/ }),
21034
+ /* 279 */
21035
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21036
 
21037
  "use strict";
21038
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useScrollTrigger__ = __webpack_require__(597);
21039
  /* unused harmony reexport default */
21040
 
21041
 
21042
  /***/ }),
21043
+ /* 280 */
21044
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21045
 
21046
  "use strict";
21047
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withMobileDialog__ = __webpack_require__(598);
21048
  /* unused harmony reexport default */
21049
 
21050
 
21051
  /***/ }),
21052
+ /* 281 */
21053
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21054
 
21055
  "use strict";
21056
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Autocomplete__ = __webpack_require__(599);
21057
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["b"]; });
21058
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Autocomplete__["a"]; });
21059
 
21060
 
21061
  /***/ }),
21062
+ /* 282 */
21063
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21064
 
21065
  "use strict";
21066
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__ = __webpack_require__(601);
21067
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["b"]; });
21068
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useAutocomplete__["a"]; });
21069
 
21070
 
21071
  /***/ }),
21072
+ /* 283 */
21073
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21074
 
21075
  "use strict";
21076
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__ = __webpack_require__(602);
21077
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AvatarGroup__["a"]; });
21078
 
21079
 
21080
  /***/ }),
21081
+ /* 284 */
21082
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21083
 
21084
  "use strict";
21085
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Pagination__ = __webpack_require__(603);
21086
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Pagination__["a"]; });
21087
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__usePagination__ = __webpack_require__(285);
21088
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__usePagination__["a"]; });
21089
 
21090
 
21091
 
21092
  /***/ }),
21093
+ /* 285 */
21094
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21095
 
21096
  "use strict";
21097
  /* harmony export (immutable) */ __webpack_exports__["a"] = usePagination;
21098
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
21099
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(18);
21100
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(28);
21101
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
21102
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_core_utils__ = __webpack_require__(9);
21103
 
21226
  }
21227
 
21228
  /***/ }),
21229
+ /* 286 */
21230
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21231
 
21232
  "use strict";
21233
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Rating__ = __webpack_require__(609);
21234
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Rating__["a"]; });
21235
 
21236
 
21237
  /***/ }),
21238
+ /* 287 */
21239
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21240
 
21241
  "use strict";
21242
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Skeleton__ = __webpack_require__(611);
21243
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Skeleton__["a"]; });
21244
 
21245
 
21246
  /***/ }),
21247
+ /* 288 */
21248
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21249
 
21250
  "use strict";
21251
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDial__ = __webpack_require__(612);
21252
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDial__["a"]; });
21253
 
21254
 
21255
  /***/ }),
21256
+ /* 289 */
21257
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21258
 
21259
  "use strict";
21260
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__ = __webpack_require__(613);
21261
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialAction__["a"]; });
21262
 
21263
 
21264
  /***/ }),
21265
+ /* 290 */
21266
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21267
 
21268
  "use strict";
21269
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__ = __webpack_require__(614);
21270
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SpeedDialIcon__["a"]; });
21271
 
21272
 
21273
  /***/ }),
21274
+ /* 291 */
21275
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21276
 
21277
  "use strict";
21278
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ToggleButton__ = __webpack_require__(616);
21279
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ToggleButton__["a"]; });
21280
 
21281
 
21282
  /***/ }),
21283
+ /* 292 */
21284
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21285
 
21286
  "use strict";
21287
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ToggleButtonGroup__ = __webpack_require__(617);
21288
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ToggleButtonGroup__["a"]; });
21289
 
21290
 
21291
  /***/ }),
21292
+ /* 293 */
21293
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21294
 
21295
  "use strict";
21296
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TreeItem__ = __webpack_require__(619);
21297
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TreeItem__["a"]; });
21298
 
21299
 
21300
  /***/ }),
21301
+ /* 294 */
21302
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21303
 
21304
  "use strict";
21319
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
21320
 
21321
  /***/ }),
21322
+ /* 295 */
21323
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21324
 
21325
  "use strict";
21326
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TreeView__ = __webpack_require__(620);
21327
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TreeView__["a"]; });
21328
 
21329
 
21330
  /***/ }),
21331
+ /* 296 */
21332
  /***/ (function(module, exports, __webpack_require__) {
21333
 
21334
  "use strict";
21342
 
21343
  var _queryString = _interopRequireDefault(__webpack_require__(23));
21344
 
21345
+ var _QuadsAdCreateRouter = _interopRequireDefault(__webpack_require__(139));
21346
 
21347
+ __webpack_require__(409);
21348
 
21349
+ var _QuadsAdmin = _interopRequireDefault(__webpack_require__(410));
21350
 
21351
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21352
 
21418
  _reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(QuadsAdRootComponent, null), document.getElementById('quads-ad-content'));
21419
 
21420
  /***/ }),
21421
+ /* 297 */
21422
  /***/ (function(module, exports, __webpack_require__) {
21423
 
21424
  "use strict";
21425
+ /** @license React v16.12.0
21426
+ * react.production.min.js
21427
+ *
21428
+ * Copyright (c) Facebook, Inc. and its affiliates.
21429
+ *
21430
+ * This source code is licensed under the MIT license found in the
21431
+ * LICENSE file in the root directory of this source tree.
21432
+ */
21433
+
21434
+ var h=__webpack_require__(43),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;n&&Symbol.for("react.suspense_list");
21435
+ 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;
21436
+ 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={};
21437
+ 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;
21438
+ 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};
21439
+ 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}}
21440
+ 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}}
21441
+ function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
21442
+ 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=
21443
+ 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++)}
21444
+ 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}
21445
+ 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,
21446
+ _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,
21447
+ 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;
21448
+ 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",
21449
+ __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;
21450
 
21451
 
21452
  /***/ }),
21453
+ /* 298 */
21454
  /***/ (function(module, exports, __webpack_require__) {
21455
 
21456
  "use strict";
21457
+ /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.12.0
21458
+ * react.development.js
21459
+ *
21460
+ * Copyright (c) Facebook, Inc. and its affiliates.
21461
+ *
21462
+ * This source code is licensed under the MIT license found in the
21463
+ * LICENSE file in the root directory of this source tree.
21464
+ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21465
 
 
21466
 
 
 
 
21467
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21468
 
21469
 
21470
+ if (process.env.NODE_ENV !== "production") {
21471
+ (function() {
21472
+ 'use strict';
21473
 
21474
+ var _assign = __webpack_require__(43);
21475
+ var checkPropTypes = __webpack_require__(88);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21476
 
21477
+ // TODO: this is special because it gets imported during build.
21478
 
21479
+ var ReactVersion = '16.12.0';
 
 
21480
 
21481
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
21482
+ // nor polyfill, then a plain number is used for performance.
21483
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
21484
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
21485
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
21486
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
21487
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
21488
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
21489
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
21490
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
21491
+ // (unstable) APIs that have been removed. Can we remove the symbols?
21492
+
21493
+
21494
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
21495
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
21496
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
21497
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
21498
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
21499
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
21500
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
21501
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
21502
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
21503
+ var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
21504
+ var FAUX_ITERATOR_SYMBOL = '@@iterator';
21505
+ function getIteratorFn(maybeIterable) {
21506
+ if (maybeIterable === null || typeof maybeIterable !== 'object') {
21507
+ return null;
21508
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21509
 
21510
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
21511
 
21512
+ if (typeof maybeIterator === 'function') {
21513
+ return maybeIterator;
21514
+ }
21515