react-dom 16.5.2 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-server.browser.development.js +124 -82
- package/cjs/react-dom-server.browser.production.min.js +35 -33
- package/cjs/react-dom-server.node.development.js +126 -84
- package/cjs/react-dom-server.node.production.min.js +38 -36
- package/cjs/react-dom-test-utils.development.js +8 -10
- package/cjs/react-dom-test-utils.production.min.js +4 -4
- package/cjs/react-dom-unstable-native-dependencies.development.js +3 -3
- package/cjs/react-dom-unstable-native-dependencies.production.min.js +2 -2
- package/cjs/react-dom.development.js +1468 -837
- package/cjs/react-dom.production.min.js +236 -221
- package/cjs/react-dom.profiling.min.js +240 -229
- package/package.json +2 -2
- package/umd/react-dom-server.browser.development.js +124 -82
- package/umd/react-dom-server.browser.production.min.js +31 -29
- package/umd/react-dom-test-utils.development.js +8 -10
- package/umd/react-dom-test-utils.production.min.js +8 -8
- package/umd/react-dom-unstable-native-dependencies.development.js +3 -3
- package/umd/react-dom-unstable-native-dependencies.production.min.js +2 -2
- package/umd/react-dom.development.js +1463 -832
- package/umd/react-dom.production.min.js +193 -182
- package/umd/react-dom.profiling.min.js +197 -187
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.6.0
|
|
2
2
|
* react-dom-server.browser.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -66,7 +66,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
|
66
66
|
|
|
67
67
|
// TODO: this is special because it gets imported during build.
|
|
68
68
|
|
|
69
|
-
var ReactVersion = '16.
|
|
69
|
+
var ReactVersion = '16.6.0';
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* Similar to invariant but only logs a warning if the condition is not met.
|
|
@@ -168,17 +168,22 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeac
|
|
|
168
168
|
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
169
169
|
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
170
170
|
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
171
|
-
var
|
|
171
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
172
172
|
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
173
|
-
var
|
|
173
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
174
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
175
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
174
176
|
|
|
175
177
|
var Resolved = 1;
|
|
176
178
|
|
|
177
179
|
|
|
180
|
+
function refineResolvedLazyComponent(lazyComponent) {
|
|
181
|
+
return lazyComponent._status === Resolved ? lazyComponent._result : null;
|
|
182
|
+
}
|
|
178
183
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
return
|
|
184
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
185
|
+
var functionName = innerType.displayName || innerType.name || '';
|
|
186
|
+
return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
|
|
182
187
|
}
|
|
183
188
|
|
|
184
189
|
function getComponentName(type) {
|
|
@@ -198,8 +203,8 @@ function getComponentName(type) {
|
|
|
198
203
|
return type;
|
|
199
204
|
}
|
|
200
205
|
switch (type) {
|
|
201
|
-
case
|
|
202
|
-
return '
|
|
206
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
207
|
+
return 'ConcurrentMode';
|
|
203
208
|
case REACT_FRAGMENT_TYPE:
|
|
204
209
|
return 'Fragment';
|
|
205
210
|
case REACT_PORTAL_TYPE:
|
|
@@ -208,8 +213,8 @@ function getComponentName(type) {
|
|
|
208
213
|
return 'Profiler';
|
|
209
214
|
case REACT_STRICT_MODE_TYPE:
|
|
210
215
|
return 'StrictMode';
|
|
211
|
-
case
|
|
212
|
-
return '
|
|
216
|
+
case REACT_SUSPENSE_TYPE:
|
|
217
|
+
return 'Suspense';
|
|
213
218
|
}
|
|
214
219
|
if (typeof type === 'object') {
|
|
215
220
|
switch (type.$$typeof) {
|
|
@@ -218,16 +223,17 @@ function getComponentName(type) {
|
|
|
218
223
|
case REACT_PROVIDER_TYPE:
|
|
219
224
|
return 'Context.Provider';
|
|
220
225
|
case REACT_FORWARD_REF_TYPE:
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
return type.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
226
|
+
return getWrappedName(type, type.render, 'ForwardRef');
|
|
227
|
+
case REACT_MEMO_TYPE:
|
|
228
|
+
return getComponentName(type.type);
|
|
229
|
+
case REACT_LAZY_TYPE:
|
|
230
|
+
{
|
|
231
|
+
var thenable = type;
|
|
232
|
+
var resolvedThenable = refineResolvedLazyComponent(thenable);
|
|
233
|
+
if (resolvedThenable) {
|
|
234
|
+
return getComponentName(resolvedThenable);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
return null;
|
|
@@ -344,14 +350,6 @@ var describeComponentFrame = function (name, source, ownerName) {
|
|
|
344
350
|
return '\n in ' + (name || 'Unknown') + sourceInfo;
|
|
345
351
|
};
|
|
346
352
|
|
|
347
|
-
// Exports ReactDOM.createRoot
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
// Experimental error-boundary API that can recover from errors within a single
|
|
351
|
-
// render phase
|
|
352
|
-
|
|
353
|
-
// Suspense
|
|
354
|
-
|
|
355
353
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
356
354
|
|
|
357
355
|
|
|
@@ -368,9 +366,6 @@ var describeComponentFrame = function (name, source, ownerName) {
|
|
|
368
366
|
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
369
367
|
var warnAboutDeprecatedLifecycles = false;
|
|
370
368
|
|
|
371
|
-
// Warn about legacy context API
|
|
372
|
-
|
|
373
|
-
|
|
374
369
|
// Gather advanced timing metrics for Profiler subtrees.
|
|
375
370
|
|
|
376
371
|
|
|
@@ -2059,6 +2054,7 @@ var toArray = React.Children.toArray;
|
|
|
2059
2054
|
// Each stack is an array of frames which may contain nested stacks of elements.
|
|
2060
2055
|
var currentDebugStacks = [];
|
|
2061
2056
|
|
|
2057
|
+
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
2062
2058
|
var ReactDebugCurrentFrame = void 0;
|
|
2063
2059
|
var prevGetCurrentStackImpl = null;
|
|
2064
2060
|
var getCurrentServerStackImpl = function () {
|
|
@@ -2073,6 +2069,12 @@ var pushCurrentDebugStack = function (stack) {};
|
|
|
2073
2069
|
var pushElementToDebugStack = function (element) {};
|
|
2074
2070
|
var popCurrentDebugStack = function () {};
|
|
2075
2071
|
|
|
2072
|
+
var Dispatcher = {
|
|
2073
|
+
readContext: function (context, observedBits) {
|
|
2074
|
+
return context._currentValue;
|
|
2075
|
+
}
|
|
2076
|
+
};
|
|
2077
|
+
|
|
2076
2078
|
{
|
|
2077
2079
|
ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
2078
2080
|
|
|
@@ -2158,6 +2160,7 @@ var didWarnAboutBadClass = {};
|
|
|
2158
2160
|
var didWarnAboutDeprecatedWillMount = {};
|
|
2159
2161
|
var didWarnAboutUndefinedDerivedState = {};
|
|
2160
2162
|
var didWarnAboutUninitializedState = {};
|
|
2163
|
+
var didWarnAboutInvalidateContextType = {};
|
|
2161
2164
|
var valuePropNames = ['value', 'defaultValue'];
|
|
2162
2165
|
var newlineEatingTags = {
|
|
2163
2166
|
listing: true,
|
|
@@ -2306,13 +2309,27 @@ function checkContextTypes(typeSpecs, values, location) {
|
|
|
2306
2309
|
}
|
|
2307
2310
|
|
|
2308
2311
|
function processContext(type, context) {
|
|
2309
|
-
var
|
|
2310
|
-
{
|
|
2311
|
-
|
|
2312
|
-
|
|
2312
|
+
var contextType = type.contextType;
|
|
2313
|
+
if (typeof contextType === 'object' && contextType !== null) {
|
|
2314
|
+
{
|
|
2315
|
+
if (contextType.$$typeof !== REACT_CONTEXT_TYPE) {
|
|
2316
|
+
var name = getComponentName(type) || 'Component';
|
|
2317
|
+
if (!didWarnAboutInvalidateContextType[name]) {
|
|
2318
|
+
didWarnAboutInvalidateContextType[type] = true;
|
|
2319
|
+
warningWithoutStack$1(false, '%s defines an invalid contextType. ' + 'contextType should point to the Context object returned by React.createContext(). ' + 'Did you accidentally pass the Context.Provider instead?', name);
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
return contextType._currentValue;
|
|
2324
|
+
} else {
|
|
2325
|
+
var maskedContext = maskContext(type, context);
|
|
2326
|
+
{
|
|
2327
|
+
if (type.contextTypes) {
|
|
2328
|
+
checkContextTypes(type.contextTypes, maskedContext, 'context');
|
|
2329
|
+
}
|
|
2313
2330
|
}
|
|
2331
|
+
return maskedContext;
|
|
2314
2332
|
}
|
|
2315
|
-
return maskedContext;
|
|
2316
2333
|
}
|
|
2317
2334
|
|
|
2318
2335
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -2647,42 +2664,47 @@ var ReactDOMServerRenderer = function () {
|
|
|
2647
2664
|
return null;
|
|
2648
2665
|
}
|
|
2649
2666
|
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
if (frame.childIndex >= frame.children.length) {
|
|
2658
|
-
var _footer = frame.footer;
|
|
2659
|
-
out += _footer;
|
|
2660
|
-
if (_footer !== '') {
|
|
2661
|
-
this.previousWasTextNode = false;
|
|
2667
|
+
ReactCurrentOwner.currentDispatcher = Dispatcher;
|
|
2668
|
+
try {
|
|
2669
|
+
var out = '';
|
|
2670
|
+
while (out.length < bytes) {
|
|
2671
|
+
if (this.stack.length === 0) {
|
|
2672
|
+
this.exhausted = true;
|
|
2673
|
+
break;
|
|
2662
2674
|
}
|
|
2663
|
-
this.stack.
|
|
2664
|
-
if (frame.
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2675
|
+
var frame = this.stack[this.stack.length - 1];
|
|
2676
|
+
if (frame.childIndex >= frame.children.length) {
|
|
2677
|
+
var _footer = frame.footer;
|
|
2678
|
+
out += _footer;
|
|
2679
|
+
if (_footer !== '') {
|
|
2680
|
+
this.previousWasTextNode = false;
|
|
2681
|
+
}
|
|
2682
|
+
this.stack.pop();
|
|
2683
|
+
if (frame.type === 'select') {
|
|
2684
|
+
this.currentSelectValue = null;
|
|
2685
|
+
} else if (frame.type != null && frame.type.type != null && frame.type.type.$$typeof === REACT_PROVIDER_TYPE) {
|
|
2686
|
+
var provider = frame.type;
|
|
2687
|
+
this.popProvider(provider);
|
|
2688
|
+
}
|
|
2689
|
+
continue;
|
|
2669
2690
|
}
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
popCurrentDebugStack();
|
|
2691
|
+
var child = frame.children[frame.childIndex++];
|
|
2692
|
+
{
|
|
2693
|
+
pushCurrentDebugStack(this.stack);
|
|
2694
|
+
// We're starting work on this frame, so reset its inner stack.
|
|
2695
|
+
frame.debugElementStack.length = 0;
|
|
2696
|
+
try {
|
|
2697
|
+
// Be careful! Make sure this matches the PROD path below.
|
|
2698
|
+
out += this.render(child, frame.context, frame.domNamespace);
|
|
2699
|
+
} finally {
|
|
2700
|
+
popCurrentDebugStack();
|
|
2701
|
+
}
|
|
2682
2702
|
}
|
|
2683
2703
|
}
|
|
2704
|
+
return out;
|
|
2705
|
+
} finally {
|
|
2706
|
+
ReactCurrentOwner.currentDispatcher = null;
|
|
2684
2707
|
}
|
|
2685
|
-
return out;
|
|
2686
2708
|
};
|
|
2687
2709
|
|
|
2688
2710
|
ReactDOMServerRenderer.prototype.render = function render(child, context, parentNamespace) {
|
|
@@ -2742,7 +2764,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
2742
2764
|
|
|
2743
2765
|
switch (elementType) {
|
|
2744
2766
|
case REACT_STRICT_MODE_TYPE:
|
|
2745
|
-
case
|
|
2767
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
2746
2768
|
case REACT_PROFILER_TYPE:
|
|
2747
2769
|
case REACT_FRAGMENT_TYPE:
|
|
2748
2770
|
{
|
|
@@ -2761,7 +2783,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
2761
2783
|
this.stack.push(_frame);
|
|
2762
2784
|
return '';
|
|
2763
2785
|
}
|
|
2764
|
-
case
|
|
2786
|
+
case REACT_SUSPENSE_TYPE:
|
|
2765
2787
|
{
|
|
2766
2788
|
if (enableSuspenseServerRenderer) {
|
|
2767
2789
|
var _nextChildren2 = toArray(
|
|
@@ -2780,6 +2802,8 @@ var ReactDOMServerRenderer = function () {
|
|
|
2780
2802
|
}
|
|
2781
2803
|
this.stack.push(_frame2);
|
|
2782
2804
|
return '';
|
|
2805
|
+
} else {
|
|
2806
|
+
invariant(false, 'ReactDOMServer does not yet support Suspense.');
|
|
2783
2807
|
}
|
|
2784
2808
|
}
|
|
2785
2809
|
// eslint-disable-next-line-no-fallthrough
|
|
@@ -2806,26 +2830,44 @@ var ReactDOMServerRenderer = function () {
|
|
|
2806
2830
|
this.stack.push(_frame3);
|
|
2807
2831
|
return '';
|
|
2808
2832
|
}
|
|
2833
|
+
case REACT_MEMO_TYPE:
|
|
2834
|
+
{
|
|
2835
|
+
var _element = nextChild;
|
|
2836
|
+
var _nextChildren4 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
|
|
2837
|
+
var _frame4 = {
|
|
2838
|
+
type: null,
|
|
2839
|
+
domNamespace: parentNamespace,
|
|
2840
|
+
children: _nextChildren4,
|
|
2841
|
+
childIndex: 0,
|
|
2842
|
+
context: context,
|
|
2843
|
+
footer: ''
|
|
2844
|
+
};
|
|
2845
|
+
{
|
|
2846
|
+
_frame4.debugElementStack = [];
|
|
2847
|
+
}
|
|
2848
|
+
this.stack.push(_frame4);
|
|
2849
|
+
return '';
|
|
2850
|
+
}
|
|
2809
2851
|
case REACT_PROVIDER_TYPE:
|
|
2810
2852
|
{
|
|
2811
2853
|
var provider = nextChild;
|
|
2812
2854
|
var nextProps = provider.props;
|
|
2813
|
-
var
|
|
2814
|
-
var
|
|
2855
|
+
var _nextChildren5 = toArray(nextProps.children);
|
|
2856
|
+
var _frame5 = {
|
|
2815
2857
|
type: provider,
|
|
2816
2858
|
domNamespace: parentNamespace,
|
|
2817
|
-
children:
|
|
2859
|
+
children: _nextChildren5,
|
|
2818
2860
|
childIndex: 0,
|
|
2819
2861
|
context: context,
|
|
2820
2862
|
footer: ''
|
|
2821
2863
|
};
|
|
2822
2864
|
{
|
|
2823
|
-
|
|
2865
|
+
_frame5.debugElementStack = [];
|
|
2824
2866
|
}
|
|
2825
2867
|
|
|
2826
2868
|
this.pushProvider(provider);
|
|
2827
2869
|
|
|
2828
|
-
this.stack.push(
|
|
2870
|
+
this.stack.push(_frame5);
|
|
2829
2871
|
return '';
|
|
2830
2872
|
}
|
|
2831
2873
|
case REACT_CONTEXT_TYPE:
|
|
@@ -2834,23 +2876,23 @@ var ReactDOMServerRenderer = function () {
|
|
|
2834
2876
|
var _nextProps = consumer.props;
|
|
2835
2877
|
var nextValue = consumer.type._currentValue;
|
|
2836
2878
|
|
|
2837
|
-
var
|
|
2838
|
-
var
|
|
2879
|
+
var _nextChildren6 = toArray(_nextProps.children(nextValue));
|
|
2880
|
+
var _frame6 = {
|
|
2839
2881
|
type: nextChild,
|
|
2840
2882
|
domNamespace: parentNamespace,
|
|
2841
|
-
children:
|
|
2883
|
+
children: _nextChildren6,
|
|
2842
2884
|
childIndex: 0,
|
|
2843
2885
|
context: context,
|
|
2844
2886
|
footer: ''
|
|
2845
2887
|
};
|
|
2846
2888
|
{
|
|
2847
|
-
|
|
2889
|
+
_frame6.debugElementStack = [];
|
|
2848
2890
|
}
|
|
2849
|
-
this.stack.push(
|
|
2891
|
+
this.stack.push(_frame6);
|
|
2850
2892
|
return '';
|
|
2851
2893
|
}
|
|
2852
|
-
|
|
2853
|
-
|
|
2894
|
+
case REACT_LAZY_TYPE:
|
|
2895
|
+
invariant(false, 'ReactDOMServer does not yet support lazy-loaded components.');
|
|
2854
2896
|
}
|
|
2855
2897
|
}
|
|
2856
2898
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.6.0
|
|
2
2
|
* react-dom-server.browser.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,37 +7,39 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
'use strict';var p=require("object-assign"),q=require("react");function aa(a,b,d,c,
|
|
10
|
+
'use strict';var p=require("object-assign"),q=require("react");function aa(a,b,d,c,m,f,h,k){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var D=[d,c,m,f,h,k],A=0;a=Error(b.replace(/%s/g,function(){return D[A++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
|
|
11
11
|
function r(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
["
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
function ra(a
|
|
28
|
-
|
|
29
|
-
d,g),null
|
|
30
|
-
|
|
12
|
+
var w="function"===typeof Symbol&&Symbol.for,x=w?Symbol.for("react.portal"):60106,z=w?Symbol.for("react.fragment"):60107,B=w?Symbol.for("react.strict_mode"):60108,C=w?Symbol.for("react.profiler"):60114,E=w?Symbol.for("react.provider"):60109,F=w?Symbol.for("react.context"):60110,G=w?Symbol.for("react.concurrent_mode"):60111,H=w?Symbol.for("react.forward_ref"):60112,I=w?Symbol.for("react.suspense"):60113,J=w?Symbol.for("react.memo"):60115,K=w?Symbol.for("react.lazy"):60116;
|
|
13
|
+
function L(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 G:return"ConcurrentMode";case z:return"Fragment";case x:return"Portal";case C:return"Profiler";case B:return"StrictMode";case I:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case F:return"Context.Consumer";case E:return"Context.Provider";case H:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");
|
|
14
|
+
case J:return L(a.type);case K:if(a=1===a._status?a._result:null)return L(a)}return null}
|
|
15
|
+
var ba=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ca=/^[: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]*$/,M=Object.prototype.hasOwnProperty,N={},O={};
|
|
16
|
+
function P(a){if(M.call(O,a))return!0;if(M.call(N,a))return!1;if(ca.test(a))return O[a]=!0;N[a]=!0;return!1}function da(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
|
|
17
|
+
function ea(a,b,d,c){if(null===b||"undefined"===typeof b||da(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.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 Q(a,b,d,c,m){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=m;this.mustUseProperty=d;this.propertyName=a;this.type=b}var R={};
|
|
18
|
+
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){R[a]=new Q(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];R[b]=new Q(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){R[a]=new Q(a,2,!1,a.toLowerCase(),null)});
|
|
19
|
+
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){R[a]=new Q(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){R[a]=new Q(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){R[a]=new Q(a,3,!0,a,null)});
|
|
20
|
+
["capture","download"].forEach(function(a){R[a]=new Q(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){R[a]=new Q(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){R[a]=new Q(a,5,!1,a.toLowerCase(),null)});var S=/[\-:]([a-z])/g;function T(a){return a[1].toUpperCase()}
|
|
21
|
+
"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(S,
|
|
22
|
+
T);R[b]=new Q(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(S,T);R[b]=new Q(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(S,T);R[b]=new Q(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});R.tabIndex=new Q("tabIndex",1,!1,"tabindex",null);var fa=/["'&<>]/;
|
|
23
|
+
function U(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=fa.exec(a);if(b){var d="",c,m=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}m!==c&&(d+=a.substring(m,c));m=c+1;d+=b}a=m!==c?d+a.substring(m,c):d}return a}var V={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
|
|
24
|
+
function W(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"}}
|
|
25
|
+
var ha={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},ia=p({menuitem:!0},ha),X={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,
|
|
26
|
+
gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ja=["Webkit","ms","Moz","O"];Object.keys(X).forEach(function(a){ja.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);X[b]=X[a]})});
|
|
27
|
+
var ka=/([A-Z])/g,la=/^ms-/,Y=q.Children.toArray,ma=ba.ReactCurrentOwner,na={readContext:function(a){return a._currentValue}},oa={listing:!0,pre:!0,textarea:!0},pa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,qa={},Z={};function ra(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var sa={};function ta(a,b){var d=a.contextType;if("object"===typeof d&&null!==d)return d._currentValue;if(a=a.contextTypes){d={};for(var c in a)d[c]=b[c];b=d}else b=sa;return b}
|
|
28
|
+
var ua=Object.prototype.hasOwnProperty,va={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function wa(a,b){void 0===a&&r("152",L(b)||"Component")}
|
|
29
|
+
function xa(a,b){function d(c,d){var m=ta(d,b),f=[],h=!1,g={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===f)return null},enqueueReplaceState:function(a,b){h=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},e=void 0;if(d.prototype&&d.prototype.isReactComponent){if(e=new d(c.props,m,g),"function"===typeof d.getDerivedStateFromProps){var v=d.getDerivedStateFromProps.call(null,c.props,e.state);null!=v&&(e.state=p({},e.state,v))}}else if(e=d(c.props,
|
|
30
|
+
m,g),null==e||null==e.render){a=e;wa(a,d);return}e.props=c.props;e.context=m;e.updater=g;g=e.state;void 0===g&&(e.state=g=null);if("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount)if("function"===typeof e.componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){g=f;var t=h;f=null;h=!1;if(t&&
|
|
31
|
+
1===g.length)e.state=g[0];else{v=t?g[0]:e.state;var l=!0;for(t=t?1:0;t<g.length;t++){var n=g[t];n="function"===typeof n?n.call(e,v,c.props,m):n;null!=n&&(l?(l=!1,v=p({},v,n)):p(v,n))}e.state=v}}else f=null;a=e.render();wa(a,d);c=void 0;if("function"===typeof e.getChildContext&&(m=d.childContextTypes,"object"===typeof m)){c=e.getChildContext();for(var y in c)y in m?void 0:r("108",L(d)||"Unknown",y)}c&&(b=p({},b,c))}for(;q.isValidElement(a);){var c=a,m=c.type;if("function"!==typeof m)break;d(c,m)}return{child:a,
|
|
31
32
|
context:b}}
|
|
32
|
-
var
|
|
33
|
-
++this.contextIndex,c=a.type._context,
|
|
34
|
-
1];if(c.childIndex>=c.children.length){var
|
|
35
|
-
|
|
36
|
-
childIndex:0,context:d,footer:""}),""}if("object"===typeof b&&null!==b)switch(b.$$typeof){case H:return a=
|
|
37
|
-
footer:""}),""}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===
|
|
38
|
-
(1>=
|
|
39
|
-
h.children||null!=h.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?r("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:r("61")),null!=h.style&&"object"!==
|
|
40
|
-
n=e[g];if(null!=n){var
|
|
41
|
-
|
|
42
|
-
">");a:{
|
|
43
|
-
|
|
33
|
+
var ya=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==z?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:Y(b)):b=Y(b);this.stack=[{type:null,domNamespace:V.html,children:b,childIndex:0,context:sa,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.pushProvider=function(a){var b=
|
|
34
|
+
++this.contextIndex,c=a.type._context,m=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=m;c._currentValue=a.props.value};a.prototype.popProvider=function(){var a=this.contextIndex,d=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;d._currentValue=c};a.prototype.read=function(a){if(this.exhausted)return null;ma.currentDispatcher=na;try{for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0;
|
|
35
|
+
break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var m=c.footer;b+=m;""!==m&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===E&&this.popProvider(c.type)}else{var f=c.children[c.childIndex++];b+=this.render(f,c.context,c.domNamespace)}}return b}finally{ma.currentDispatcher=null}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===
|
|
36
|
+
c)return"";if(this.makeStaticMarkup)return U(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+U(c);this.previousWasTextNode=!0;return U(c)}d=xa(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!q.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===x?r("257"):void 0;r("258",b.toString())}a=Y(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case B:case G:case C:case z:return a=
|
|
37
|
+
Y(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case I:r("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case H:return a=Y(b.render(a.props,a.ref)),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case J:return a=[q.createElement(b.type,p({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case E:return b=Y(a.props.children),
|
|
38
|
+
c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case F:return b=Y(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),"";case K:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===V.html&&W(b);qa.hasOwnProperty(b)||(pa.test(b)?void 0:r("65",b),qa[b]=!0);var f=a.props;if("input"===b)f=p({type:void 0},f,{defaultChecked:void 0,
|
|
39
|
+
defaultValue:void 0,value:null!=f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var h=f.value;if(null==h){h=f.defaultValue;var k=f.children;null!=k&&(null!=h?r("92"):void 0,Array.isArray(k)&&(1>=k.length?void 0:r("93"),k=k[0]),h=""+k);null==h&&(h="")}f=p({},f,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=p({},f,{value:void 0});else if("option"===b){k=this.currentSelectValue;
|
|
40
|
+
var D=ra(f.children);if(null!=k){var A=null!=f.value?f.value+"":D;h=!1;if(Array.isArray(k))for(var g=0;g<k.length;g++){if(""+k[g]===A){h=!0;break}}else h=""+k===A;f=p({selected:void 0,children:void 0},f,{selected:h,children:D})}}if(h=f)ia[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?r("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:r("61")),null!=h.style&&"object"!==
|
|
41
|
+
typeof h.style?r("62",""):void 0;h=f;k=this.makeStaticMarkup;D=1===this.stack.length;A="<"+a.type;for(u in h)if(ua.call(h,u)){var e=h[u];if(null!=e){if("style"===u){g=void 0;var v="",t="";for(g in e)if(e.hasOwnProperty(g)){var l=0===g.indexOf("--"),n=e[g];if(null!=n){var y=g;if(Z.hasOwnProperty(y))y=Z[y];else{var Ca=y.replace(ka,"-$1").toLowerCase().replace(la,"-ms-");y=Z[y]=Ca}v+=t+y+":";t=g;l=null==n||"boolean"===typeof n||""===n?"":l||"number"!==typeof n||0===n||X.hasOwnProperty(t)&&X[t]?(""+n).trim():
|
|
42
|
+
n+"px";v+=l;t=";"}}e=v||null}g=null;b:if(l=b,n=h,-1===l.indexOf("-"))l="string"===typeof n.is;else switch(l){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":l=!1;break b;default:l=!0}if(l)va.hasOwnProperty(u)||(g=u,g=P(g)&&null!=e?g+"="+('"'+U(e)+'"'):"");else{l=u;g=e;e=R.hasOwnProperty(l)?R[l]:null;if(n="style"!==l)n=null!==e?0===e.type:!(2<l.length)||"o"!==l[0]&&"O"!==l[0]||"n"!==
|
|
43
|
+
l[1]&&"N"!==l[1]?!1:!0;n||ea(l,g,e,!1)?g="":null!==e?(l=e.attributeName,e=e.type,g=3===e||4===e&&!0===g?l+'=""':l+"="+('"'+U(g)+'"')):g=P(l)?l+"="+('"'+U(g)+'"'):""}g&&(A+=" "+g)}}k||D&&(A+=' data-reactroot=""');var u=A;h="";ha.hasOwnProperty(b)?u+="/>":(u+=">",h="</"+a.type+">");a:{k=f.dangerouslySetInnerHTML;if(null!=k){if(null!=k.__html){k=k.__html;break a}}else if(k=f.children,"string"===typeof k||"number"===typeof k){k=U(k);break a}k=null}null!=k?(f=[],oa[b]&&"\n"===k.charAt(0)&&(u+="\n"),u+=
|
|
44
|
+
k):f=Y(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?W(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:f,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return u};return a}(),za={renderToString:function(a){return(new ya(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new ya(a,!0)).read(Infinity)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},
|
|
45
|
+
version:"16.6.0"},Aa={default:za},Ba=Aa&&za||Aa;module.exports=Ba.default||Ba;
|