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.
@@ -1,4 +1,4 @@
1
- /** @license React v16.5.2
1
+ /** @license React v16.6.0
2
2
  * react-dom-server.node.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -22,7 +22,7 @@ var stream = require('stream');
22
22
 
23
23
  // TODO: this is special because it gets imported during build.
24
24
 
25
- var ReactVersion = '16.5.2';
25
+ var ReactVersion = '16.6.0';
26
26
 
27
27
  /**
28
28
  * Use invariant() to assert state which your program assumes to be true.
@@ -169,17 +169,22 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeac
169
169
  var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
170
170
  var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
171
171
  var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
172
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
172
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
173
173
  var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
174
- var REACT_PLACEHOLDER_TYPE = hasSymbol ? Symbol.for('react.placeholder') : 0xead1;
174
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
175
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
176
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
175
177
 
176
178
  var Resolved = 1;
177
179
 
178
180
 
181
+ function refineResolvedLazyComponent(lazyComponent) {
182
+ return lazyComponent._status === Resolved ? lazyComponent._result : null;
183
+ }
179
184
 
180
-
181
- function refineResolvedThenable(thenable) {
182
- return thenable._reactStatus === Resolved ? thenable._reactResult : null;
185
+ function getWrappedName(outerType, innerType, wrapperName) {
186
+ var functionName = innerType.displayName || innerType.name || '';
187
+ return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
183
188
  }
184
189
 
185
190
  function getComponentName(type) {
@@ -199,8 +204,8 @@ function getComponentName(type) {
199
204
  return type;
200
205
  }
201
206
  switch (type) {
202
- case REACT_ASYNC_MODE_TYPE:
203
- return 'AsyncMode';
207
+ case REACT_CONCURRENT_MODE_TYPE:
208
+ return 'ConcurrentMode';
204
209
  case REACT_FRAGMENT_TYPE:
205
210
  return 'Fragment';
206
211
  case REACT_PORTAL_TYPE:
@@ -209,8 +214,8 @@ function getComponentName(type) {
209
214
  return 'Profiler';
210
215
  case REACT_STRICT_MODE_TYPE:
211
216
  return 'StrictMode';
212
- case REACT_PLACEHOLDER_TYPE:
213
- return 'Placeholder';
217
+ case REACT_SUSPENSE_TYPE:
218
+ return 'Suspense';
214
219
  }
215
220
  if (typeof type === 'object') {
216
221
  switch (type.$$typeof) {
@@ -219,16 +224,17 @@ function getComponentName(type) {
219
224
  case REACT_PROVIDER_TYPE:
220
225
  return 'Context.Provider';
221
226
  case REACT_FORWARD_REF_TYPE:
222
- var renderFn = type.render;
223
- var functionName = renderFn.displayName || renderFn.name || '';
224
- return type.displayName || (functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef');
225
- }
226
- if (typeof type.then === 'function') {
227
- var thenable = type;
228
- var resolvedThenable = refineResolvedThenable(thenable);
229
- if (resolvedThenable) {
230
- return getComponentName(resolvedThenable);
231
- }
227
+ return getWrappedName(type, type.render, 'ForwardRef');
228
+ case REACT_MEMO_TYPE:
229
+ return getComponentName(type.type);
230
+ case REACT_LAZY_TYPE:
231
+ {
232
+ var thenable = type;
233
+ var resolvedThenable = refineResolvedLazyComponent(thenable);
234
+ if (resolvedThenable) {
235
+ return getComponentName(resolvedThenable);
236
+ }
237
+ }
232
238
  }
233
239
  }
234
240
  return null;
@@ -345,14 +351,6 @@ var describeComponentFrame = function (name, source, ownerName) {
345
351
  return '\n in ' + (name || 'Unknown') + sourceInfo;
346
352
  };
347
353
 
348
- // Exports ReactDOM.createRoot
349
-
350
-
351
- // Experimental error-boundary API that can recover from errors within a single
352
- // render phase
353
-
354
- // Suspense
355
-
356
354
  // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
357
355
 
358
356
 
@@ -369,9 +367,6 @@ var describeComponentFrame = function (name, source, ownerName) {
369
367
  // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
370
368
  var warnAboutDeprecatedLifecycles = false;
371
369
 
372
- // Warn about legacy context API
373
-
374
-
375
370
  // Gather advanced timing metrics for Profiler subtrees.
376
371
 
377
372
 
@@ -2060,6 +2055,7 @@ var toArray = React.Children.toArray;
2060
2055
  // Each stack is an array of frames which may contain nested stacks of elements.
2061
2056
  var currentDebugStacks = [];
2062
2057
 
2058
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
2063
2059
  var ReactDebugCurrentFrame = void 0;
2064
2060
  var prevGetCurrentStackImpl = null;
2065
2061
  var getCurrentServerStackImpl = function () {
@@ -2074,6 +2070,12 @@ var pushCurrentDebugStack = function (stack) {};
2074
2070
  var pushElementToDebugStack = function (element) {};
2075
2071
  var popCurrentDebugStack = function () {};
2076
2072
 
2073
+ var Dispatcher = {
2074
+ readContext: function (context, observedBits) {
2075
+ return context._currentValue;
2076
+ }
2077
+ };
2078
+
2077
2079
  {
2078
2080
  ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
2079
2081
 
@@ -2159,6 +2161,7 @@ var didWarnAboutBadClass = {};
2159
2161
  var didWarnAboutDeprecatedWillMount = {};
2160
2162
  var didWarnAboutUndefinedDerivedState = {};
2161
2163
  var didWarnAboutUninitializedState = {};
2164
+ var didWarnAboutInvalidateContextType = {};
2162
2165
  var valuePropNames = ['value', 'defaultValue'];
2163
2166
  var newlineEatingTags = {
2164
2167
  listing: true,
@@ -2307,13 +2310,27 @@ function checkContextTypes(typeSpecs, values, location) {
2307
2310
  }
2308
2311
 
2309
2312
  function processContext(type, context) {
2310
- var maskedContext = maskContext(type, context);
2311
- {
2312
- if (type.contextTypes) {
2313
- checkContextTypes(type.contextTypes, maskedContext, 'context');
2313
+ var contextType = type.contextType;
2314
+ if (typeof contextType === 'object' && contextType !== null) {
2315
+ {
2316
+ if (contextType.$$typeof !== REACT_CONTEXT_TYPE) {
2317
+ var name = getComponentName(type) || 'Component';
2318
+ if (!didWarnAboutInvalidateContextType[name]) {
2319
+ didWarnAboutInvalidateContextType[type] = true;
2320
+ 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);
2321
+ }
2322
+ }
2323
+ }
2324
+ return contextType._currentValue;
2325
+ } else {
2326
+ var maskedContext = maskContext(type, context);
2327
+ {
2328
+ if (type.contextTypes) {
2329
+ checkContextTypes(type.contextTypes, maskedContext, 'context');
2330
+ }
2314
2331
  }
2332
+ return maskedContext;
2315
2333
  }
2316
- return maskedContext;
2317
2334
  }
2318
2335
 
2319
2336
  var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -2648,42 +2665,47 @@ var ReactDOMServerRenderer = function () {
2648
2665
  return null;
2649
2666
  }
2650
2667
 
2651
- var out = '';
2652
- while (out.length < bytes) {
2653
- if (this.stack.length === 0) {
2654
- this.exhausted = true;
2655
- break;
2656
- }
2657
- var frame = this.stack[this.stack.length - 1];
2658
- if (frame.childIndex >= frame.children.length) {
2659
- var _footer = frame.footer;
2660
- out += _footer;
2661
- if (_footer !== '') {
2662
- this.previousWasTextNode = false;
2668
+ ReactCurrentOwner.currentDispatcher = Dispatcher;
2669
+ try {
2670
+ var out = '';
2671
+ while (out.length < bytes) {
2672
+ if (this.stack.length === 0) {
2673
+ this.exhausted = true;
2674
+ break;
2663
2675
  }
2664
- this.stack.pop();
2665
- if (frame.type === 'select') {
2666
- this.currentSelectValue = null;
2667
- } else if (frame.type != null && frame.type.type != null && frame.type.type.$$typeof === REACT_PROVIDER_TYPE) {
2668
- var provider = frame.type;
2669
- this.popProvider(provider);
2676
+ var frame = this.stack[this.stack.length - 1];
2677
+ if (frame.childIndex >= frame.children.length) {
2678
+ var _footer = frame.footer;
2679
+ out += _footer;
2680
+ if (_footer !== '') {
2681
+ this.previousWasTextNode = false;
2682
+ }
2683
+ this.stack.pop();
2684
+ if (frame.type === 'select') {
2685
+ this.currentSelectValue = null;
2686
+ } else if (frame.type != null && frame.type.type != null && frame.type.type.$$typeof === REACT_PROVIDER_TYPE) {
2687
+ var provider = frame.type;
2688
+ this.popProvider(provider);
2689
+ }
2690
+ continue;
2670
2691
  }
2671
- continue;
2672
- }
2673
- var child = frame.children[frame.childIndex++];
2674
- {
2675
- pushCurrentDebugStack(this.stack);
2676
- // We're starting work on this frame, so reset its inner stack.
2677
- frame.debugElementStack.length = 0;
2678
- try {
2679
- // Be careful! Make sure this matches the PROD path below.
2680
- out += this.render(child, frame.context, frame.domNamespace);
2681
- } finally {
2682
- popCurrentDebugStack();
2692
+ var child = frame.children[frame.childIndex++];
2693
+ {
2694
+ pushCurrentDebugStack(this.stack);
2695
+ // We're starting work on this frame, so reset its inner stack.
2696
+ frame.debugElementStack.length = 0;
2697
+ try {
2698
+ // Be careful! Make sure this matches the PROD path below.
2699
+ out += this.render(child, frame.context, frame.domNamespace);
2700
+ } finally {
2701
+ popCurrentDebugStack();
2702
+ }
2683
2703
  }
2684
2704
  }
2705
+ return out;
2706
+ } finally {
2707
+ ReactCurrentOwner.currentDispatcher = null;
2685
2708
  }
2686
- return out;
2687
2709
  };
2688
2710
 
2689
2711
  ReactDOMServerRenderer.prototype.render = function render(child, context, parentNamespace) {
@@ -2743,7 +2765,7 @@ var ReactDOMServerRenderer = function () {
2743
2765
 
2744
2766
  switch (elementType) {
2745
2767
  case REACT_STRICT_MODE_TYPE:
2746
- case REACT_ASYNC_MODE_TYPE:
2768
+ case REACT_CONCURRENT_MODE_TYPE:
2747
2769
  case REACT_PROFILER_TYPE:
2748
2770
  case REACT_FRAGMENT_TYPE:
2749
2771
  {
@@ -2762,7 +2784,7 @@ var ReactDOMServerRenderer = function () {
2762
2784
  this.stack.push(_frame);
2763
2785
  return '';
2764
2786
  }
2765
- case REACT_PLACEHOLDER_TYPE:
2787
+ case REACT_SUSPENSE_TYPE:
2766
2788
  {
2767
2789
  if (enableSuspenseServerRenderer) {
2768
2790
  var _nextChildren2 = toArray(
@@ -2781,6 +2803,8 @@ var ReactDOMServerRenderer = function () {
2781
2803
  }
2782
2804
  this.stack.push(_frame2);
2783
2805
  return '';
2806
+ } else {
2807
+ invariant(false, 'ReactDOMServer does not yet support Suspense.');
2784
2808
  }
2785
2809
  }
2786
2810
  // eslint-disable-next-line-no-fallthrough
@@ -2807,26 +2831,44 @@ var ReactDOMServerRenderer = function () {
2807
2831
  this.stack.push(_frame3);
2808
2832
  return '';
2809
2833
  }
2834
+ case REACT_MEMO_TYPE:
2835
+ {
2836
+ var _element = nextChild;
2837
+ var _nextChildren4 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
2838
+ var _frame4 = {
2839
+ type: null,
2840
+ domNamespace: parentNamespace,
2841
+ children: _nextChildren4,
2842
+ childIndex: 0,
2843
+ context: context,
2844
+ footer: ''
2845
+ };
2846
+ {
2847
+ _frame4.debugElementStack = [];
2848
+ }
2849
+ this.stack.push(_frame4);
2850
+ return '';
2851
+ }
2810
2852
  case REACT_PROVIDER_TYPE:
2811
2853
  {
2812
2854
  var provider = nextChild;
2813
2855
  var nextProps = provider.props;
2814
- var _nextChildren4 = toArray(nextProps.children);
2815
- var _frame4 = {
2856
+ var _nextChildren5 = toArray(nextProps.children);
2857
+ var _frame5 = {
2816
2858
  type: provider,
2817
2859
  domNamespace: parentNamespace,
2818
- children: _nextChildren4,
2860
+ children: _nextChildren5,
2819
2861
  childIndex: 0,
2820
2862
  context: context,
2821
2863
  footer: ''
2822
2864
  };
2823
2865
  {
2824
- _frame4.debugElementStack = [];
2866
+ _frame5.debugElementStack = [];
2825
2867
  }
2826
2868
 
2827
2869
  this.pushProvider(provider);
2828
2870
 
2829
- this.stack.push(_frame4);
2871
+ this.stack.push(_frame5);
2830
2872
  return '';
2831
2873
  }
2832
2874
  case REACT_CONTEXT_TYPE:
@@ -2835,23 +2877,23 @@ var ReactDOMServerRenderer = function () {
2835
2877
  var _nextProps = consumer.props;
2836
2878
  var nextValue = consumer.type._currentValue;
2837
2879
 
2838
- var _nextChildren5 = toArray(_nextProps.children(nextValue));
2839
- var _frame5 = {
2880
+ var _nextChildren6 = toArray(_nextProps.children(nextValue));
2881
+ var _frame6 = {
2840
2882
  type: nextChild,
2841
2883
  domNamespace: parentNamespace,
2842
- children: _nextChildren5,
2884
+ children: _nextChildren6,
2843
2885
  childIndex: 0,
2844
2886
  context: context,
2845
2887
  footer: ''
2846
2888
  };
2847
2889
  {
2848
- _frame5.debugElementStack = [];
2890
+ _frame6.debugElementStack = [];
2849
2891
  }
2850
- this.stack.push(_frame5);
2892
+ this.stack.push(_frame6);
2851
2893
  return '';
2852
2894
  }
2853
- default:
2854
- break;
2895
+ case REACT_LAZY_TYPE:
2896
+ invariant(false, 'ReactDOMServer does not yet support lazy-loaded components.');
2855
2897
  }
2856
2898
  }
2857
2899
 
@@ -3119,7 +3161,7 @@ var ReactMarkupReadableStream = function (_Readable) {
3119
3161
  /**
3120
3162
  * Render a ReactElement to its initial HTML. This should only be used on the
3121
3163
  * server.
3122
- * See https://reactjs.org/docs/react-dom-stream.html#rendertonodestream
3164
+ * See https://reactjs.org/docs/react-dom-server.html#rendertonodestream
3123
3165
  */
3124
3166
 
3125
3167
 
@@ -3130,7 +3172,7 @@ function renderToNodeStream(element) {
3130
3172
  /**
3131
3173
  * Similar to renderToNodeStream, except this doesn't create extra DOM attributes
3132
3174
  * such as data-react-id that React uses internally.
3133
- * See https://reactjs.org/docs/react-dom-stream.html#rendertostaticnodestream
3175
+ * See https://reactjs.org/docs/react-dom-server.html#rendertostaticnodestream
3134
3176
  */
3135
3177
  function renderToStaticNodeStream(element) {
3136
3178
  return new ReactMarkupReadableStream(element, true);
@@ -1,4 +1,4 @@
1
- /** @license React v16.5.2
1
+ /** @license React v16.6.0
2
2
  * react-dom-server.node.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -7,39 +7,41 @@
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"),aa=require("stream");function ba(a,b,d,c,g,f,k,l){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,g,f,k,l],z=0;a=Error(b.replace(/%s/g,function(){return D[z++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
11
- function t(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]);ba(!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 x="function"===typeof Symbol&&Symbol.for,y=x?Symbol.for("react.portal"):60106,A=x?Symbol.for("react.fragment"):60107,B=x?Symbol.for("react.strict_mode"):60108,C=x?Symbol.for("react.profiler"):60114,E=x?Symbol.for("react.provider"):60109,F=x?Symbol.for("react.context"):60110,G=x?Symbol.for("react.async_mode"):60111,H=x?Symbol.for("react.forward_ref"):60112,ca=x?Symbol.for("react.placeholder"):60113;
13
- function I(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"AsyncMode";case A:return"Fragment";case y:return"Portal";case C:return"Profiler";case B:return"StrictMode";case ca:return"Placeholder"}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")}if("function"===
14
- typeof a.then&&(a=1===a._reactStatus?a._reactResult:null))return I(a)}return null}var da=/^[: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]*$/,J=Object.prototype.hasOwnProperty,K={},L={};
15
- function M(a){if(J.call(L,a))return!0;if(J.call(K,a))return!1;if(da.test(a))return L[a]=!0;K[a]=!0;return!1}function ea(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}}
16
- function fa(a,b,d,c){if(null===b||"undefined"===typeof b||ea(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 N(a,b,d,c,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=g;this.mustUseProperty=d;this.propertyName=a;this.type=b}var O={};
17
- "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){O[a]=new N(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];O[b]=new N(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){O[a]=new N(a,2,!1,a.toLowerCase(),null)});
18
- ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){O[a]=new N(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){O[a]=new N(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){O[a]=new N(a,3,!0,a,null)});
19
- ["capture","download"].forEach(function(a){O[a]=new N(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){O[a]=new N(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){O[a]=new N(a,5,!1,a.toLowerCase(),null)});var P=/[\-:]([a-z])/g;function Q(a){return a[1].toUpperCase()}
20
- "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(P,
21
- Q);O[b]=new N(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(P,Q);O[b]=new N(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(P,Q);O[b]=new N(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});O.tabIndex=new N("tabIndex",1,!1,"tabindex",null);var ha=/["'&<>]/;
22
- function R(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ha.exec(a);if(b){var d="",c,g=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}g!==c&&(d+=a.substring(g,c));g=c+1;d+=b}a=g!==c?d+a.substring(g,c):d}return a}var S={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
23
- function T(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"}}
24
- var U={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},U),V={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,
25
- 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(V).forEach(function(a){ja.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);V[b]=V[a]})});
26
- var ka=/([A-Z])/g,la=/^ms-/,W=q.Children.toArray,ma={listing:!0,pre:!0,textarea:!0},na=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Y={};function oa(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var pa={};function qa(a,b){if(a=a.contextTypes){var d={},c;for(c in a)d[c]=b[c];b=d}else b=pa;return b}var ra=Object.prototype.hasOwnProperty,sa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};
27
- function ta(a,b){void 0===a&&t("152",I(b)||"Component")}
28
- function ua(a,b){function d(c,g){var d=qa(g,b),f=[],k=!1,h={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===f)return null},enqueueReplaceState:function(a,b){k=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},e=void 0;if(g.prototype&&g.prototype.isReactComponent){if(e=new g(c.props,d,h),"function"===typeof g.getDerivedStateFromProps){var v=g.getDerivedStateFromProps.call(null,c.props,e.state);null!=v&&(e.state=p({},e.state,v))}}else if(e=g(c.props,
29
- d,h),null==e||null==e.render){a=e;ta(a,g);return}e.props=c.props;e.context=d;e.updater=h;h=e.state;void 0===h&&(e.state=h=null);if("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount)if("function"===typeof e.componentWillMount&&"function"!==typeof g.getDerivedStateFromProps&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof g.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){h=f;var r=k;f=null;k=!1;if(r&&
30
- 1===h.length)e.state=h[0];else{v=r?h[0]:e.state;var m=!0;for(r=r?1:0;r<h.length;r++){var n=h[r];n="function"===typeof n?n.call(e,v,c.props,d):n;null!=n&&(m?(m=!1,v=p({},v,n)):p(v,n))}e.state=v}}else f=null;a=e.render();ta(a,g);c=void 0;if("function"===typeof e.getChildContext&&(d=g.childContextTypes,"object"===typeof d)){c=e.getChildContext();for(var w in c)w in d?void 0:t("108",I(g)||"Unknown",w)}c&&(b=p({},b,c))}for(;q.isValidElement(a);){var c=a,g=c.type;if("function"!==typeof g)break;d(c,g)}return{child:a,
10
+ 'use strict';var p=require("object-assign"),q=require("react"),aa=require("stream");function ba(a,b,d,c,k,f,h,l){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,k,f,h,l],A=0;a=Error(b.replace(/%s/g,function(){return D[A++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
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]);ba(!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 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 ca=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,da=/^[: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(da.test(a))return O[a]=!0;N[a]=!0;return!1}function ea(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 fa(a,b,d,c){if(null===b||"undefined"===typeof b||ea(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,k){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=k;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 ha=/["'&<>]/;
23
+ function U(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ha.exec(a);if(b){var d="",c,k=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}k!==c&&(d+=a.substring(k,c));k=c+1;d+=b}a=k!==c?d+a.substring(k,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 ia(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 ja={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},ka=p({menuitem:!0},ja),W={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},la=["Webkit","ms","Moz","O"];Object.keys(W).forEach(function(a){la.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);W[b]=W[a]})});
27
+ var ma=/([A-Z])/g,na=/^ms-/,X=q.Children.toArray,oa=ca.ReactCurrentOwner,pa={readContext:function(a){return a._currentValue}},qa={listing:!0,pre:!0,textarea:!0},ra=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,sa={},Y={};function ta(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var ua={};function va(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=ua;return b}
28
+ var wa=Object.prototype.hasOwnProperty,xa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ya(a,b){void 0===a&&r("152",L(b)||"Component")}
29
+ function za(a,b){function d(c,d){var k=va(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,k,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
+ k,g),null==e||null==e.render){a=e;ya(a,d);return}e.props=c.props;e.context=k;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 m=!0;for(t=t?1:0;t<g.length;t++){var n=g[t];n="function"===typeof n?n.call(e,v,c.props,k):n;null!=n&&(m?(m=!1,v=p({},v,n)):p(v,n))}e.state=v}}else f=null;a=e.render();ya(a,d);c=void 0;if("function"===typeof e.getChildContext&&(k=d.childContextTypes,"object"===typeof k)){c=e.getChildContext();for(var y in c)y in k?void 0:r("108",L(d)||"Unknown",y)}c&&(b=p({},b,c))}for(;q.isValidElement(a);){var c=a,k=c.type;if("function"!==typeof k)break;d(c,k)}return{child:a,
31
32
  context:b}}
32
- var Z=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==A?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:W(b)):b=W(b);this.stack=[{type:null,domNamespace:S.html,children:b,childIndex:0,context:pa,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=
33
- ++this.contextIndex,c=a.type._context,g=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=g;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;for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0;break}var c=this.stack[this.stack.length-
34
- 1];if(c.childIndex>=c.children.length){var g=c.footer;b+=g;""!==g&&(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 g=c.children[c.childIndex++],b+=this.render(g,c.context,c.domNamespace)}return b};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return R(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+
35
- R(c);this.previousWasTextNode=!0;return R(c)}d=ua(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===y?t("257"):void 0;t("258",b.toString())}a=W(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 A:return a=W(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,
36
- childIndex:0,context:d,footer:""}),""}if("object"===typeof b&&null!==b)switch(b.$$typeof){case H:return a=W(b.render(a.props,a.ref)),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case E:return b=W(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case F:return b=W(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,
37
- footer:""}),""}t("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===S.html&&T(b);X.hasOwnProperty(b)||(na.test(b)?void 0:t("65",b),X[b]=!0);var f=a.props;if("input"===b)f=p({type:void 0},f,{defaultChecked:void 0,defaultValue:void 0,value:null!=f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var k=f.value;if(null==k){k=f.defaultValue;var l=f.children;null!=l&&(null!=k?t("92"):void 0,Array.isArray(l)&&
38
- (1>=l.length?void 0:t("93"),l=l[0]),k=""+l);null==k&&(k="")}f=p({},f,{value:void 0,children:""+k})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=p({},f,{value:void 0});else if("option"===b){l=this.currentSelectValue;var D=oa(f.children);if(null!=l){var z=null!=f.value?f.value+"":D;k=!1;if(Array.isArray(l))for(var h=0;h<l.length;h++){if(""+l[h]===z){k=!0;break}}else k=""+l===z;f=p({selected:void 0,children:void 0},f,{selected:k,children:D})}}if(k=f)ia[b]&&(null!=
39
- k.children||null!=k.dangerouslySetInnerHTML?t("137",b,""):void 0),null!=k.dangerouslySetInnerHTML&&(null!=k.children?t("60"):void 0,"object"===typeof k.dangerouslySetInnerHTML&&"__html"in k.dangerouslySetInnerHTML?void 0:t("61")),null!=k.style&&"object"!==typeof k.style?t("62",""):void 0;k=f;l=this.makeStaticMarkup;D=1===this.stack.length;z="<"+a.type;for(u in k)if(ra.call(k,u)){var e=k[u];if(null!=e){if("style"===u){h=void 0;var v="",r="";for(h in e)if(e.hasOwnProperty(h)){var m=0===h.indexOf("--"),
40
- n=e[h];if(null!=n){var w=h;if(Y.hasOwnProperty(w))w=Y[w];else{var za=w.replace(ka,"-$1").toLowerCase().replace(la,"-ms-");w=Y[w]=za}v+=r+w+":";r=h;m=null==n||"boolean"===typeof n||""===n?"":m||"number"!==typeof n||0===n||V.hasOwnProperty(r)&&V[r]?(""+n).trim():n+"px";v+=m;r=";"}}e=v||null}h=null;b:if(m=b,n=k,-1===m.indexOf("-"))m="string"===typeof n.is;else switch(m){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":m=
41
- !1;break b;default:m=!0}if(m)sa.hasOwnProperty(u)||(h=u,h=M(h)&&null!=e?h+"="+('"'+R(e)+'"'):"");else{m=u;h=e;e=O.hasOwnProperty(m)?O[m]:null;if(n="style"!==m)n=null!==e?0===e.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;n||fa(m,h,e,!1)?h="":null!==e?(m=e.attributeName,e=e.type,h=3===e||4===e&&!0===h?m+'=""':m+"="+('"'+R(h)+'"')):h=M(m)?m+"="+('"'+R(h)+'"'):""}h&&(z+=" "+h)}}l||D&&(z+=' data-reactroot=""');var u=z;k="";U.hasOwnProperty(b)?u+="/>":(u+=">",k="</"+a.type+
42
- ">");a:{l=f.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;break a}}else if(l=f.children,"string"===typeof l||"number"===typeof l){l=R(l);break a}l=null}null!=l?(f=[],ma[b]&&"\n"===l.charAt(0)&&(u+="\n"),u+=l):f=W(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?T(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:k});this.previousWasTextNode=
43
- !1;return u};return a}();function va(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}
44
- var wa=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var g=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");g=!g||"object"!==typeof g&&"function"!==typeof g?this:g;g.partialRenderer=new Z(d,c);return g}va(b,a);b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.emit("error",c)}};return b}(aa.Readable),xa={renderToString:function(a){return(new Z(a,
45
- !1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Z(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new wa(a,!1)},renderToStaticNodeStream:function(a){return new wa(a,!0)},version:"16.5.2"},ya={default:xa},Aa=ya&&xa||ya;module.exports=Aa.default||Aa;
33
+ var Z=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]:X(b)):b=X(b);this.stack=[{type:null,domNamespace:V.html,children:b,childIndex:0,context:ua,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,k=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=k;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;oa.currentDispatcher=pa;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 k=c.footer;b+=k;""!==k&&(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{oa.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=za(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=X(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
+ X(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=X(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=X(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=X(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&&ia(b);sa.hasOwnProperty(b)||(ra.test(b)?void 0:r("65",b),sa[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 l=f.children;null!=l&&(null!=h?r("92"):void 0,Array.isArray(l)&&(1>=l.length?void 0:r("93"),l=l[0]),h=""+l);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){l=this.currentSelectValue;
40
+ var D=ta(f.children);if(null!=l){var A=null!=f.value?f.value+"":D;h=!1;if(Array.isArray(l))for(var g=0;g<l.length;g++){if(""+l[g]===A){h=!0;break}}else h=""+l===A;f=p({selected:void 0,children:void 0},f,{selected:h,children:D})}}if(h=f)ka[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;l=this.makeStaticMarkup;D=1===this.stack.length;A="<"+a.type;for(u in h)if(wa.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 m=0===g.indexOf("--"),n=e[g];if(null!=n){var y=g;if(Y.hasOwnProperty(y))y=Y[y];else{var Ea=y.replace(ma,"-$1").toLowerCase().replace(na,"-ms-");y=Y[y]=Ea}v+=t+y+":";t=g;m=null==n||"boolean"===typeof n||""===n?"":m||"number"!==typeof n||0===n||W.hasOwnProperty(t)&&W[t]?(""+n).trim():
42
+ n+"px";v+=m;t=";"}}e=v||null}g=null;b:if(m=b,n=h,-1===m.indexOf("-"))m="string"===typeof n.is;else switch(m){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":m=!1;break b;default:m=!0}if(m)xa.hasOwnProperty(u)||(g=u,g=P(g)&&null!=e?g+"="+('"'+U(e)+'"'):"");else{m=u;g=e;e=R.hasOwnProperty(m)?R[m]:null;if(n="style"!==m)n=null!==e?0===e.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==
43
+ m[1]&&"N"!==m[1]?!1:!0;n||fa(m,g,e,!1)?g="":null!==e?(m=e.attributeName,e=e.type,g=3===e||4===e&&!0===g?m+'=""':m+"="+('"'+U(g)+'"')):g=P(m)?m+"="+('"'+U(g)+'"'):""}g&&(A+=" "+g)}}l||D&&(A+=' data-reactroot=""');var u=A;h="";ja.hasOwnProperty(b)?u+="/>":(u+=">",h="</"+a.type+">");a:{l=f.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;break a}}else if(l=f.children,"string"===typeof l||"number"===typeof l){l=U(l);break a}l=null}null!=l?(f=[],qa[b]&&"\n"===l.charAt(0)&&(u+="\n"),u+=
44
+ l):f=X(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?ia(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}();
45
+ function Aa(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}
46
+ var Ba=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var k=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");k=!k||"object"!==typeof k&&"function"!==typeof k?this:k;k.partialRenderer=new Z(d,c);return k}Aa(b,a);b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.emit("error",c)}};return b}(aa.Readable),Ca={renderToString:function(a){return(new Z(a,
47
+ !1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Z(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new Ba(a,!1)},renderToStaticNodeStream:function(a){return new Ba(a,!0)},version:"16.6.0"},Da={default:Ca},Fa=Da&&Ca||Da;module.exports=Fa.default||Fa;
@@ -1,4 +1,4 @@
1
- /** @license React v16.5.2
1
+ /** @license React v16.6.0
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -179,15 +179,13 @@ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FI
179
179
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
180
180
  // nor polyfill, then a plain number is used for performance.
181
181
 
182
- var FunctionalComponent = 0;
183
- var FunctionalComponentLazy = 1;
184
- var ClassComponent = 2;
185
- var ClassComponentLazy = 3;
186
- // Before we know whether it is functional or class
187
- var HostRoot = 5; // Root of a host tree. Could be nested inside another node.
182
+ var FunctionComponent = 0;
183
+ var ClassComponent = 1;
184
+ // Before we know whether it is function or class
185
+ var HostRoot = 3; // Root of a host tree. Could be nested inside another node.
188
186
  // A subtree. Could be an entry point to a different renderer.
189
- var HostComponent = 7;
190
- var HostText = 8;
187
+ var HostComponent = 5;
188
+ var HostText = 6;
191
189
 
192
190
  // Don't change these two values. They're used by React Dev Tools.
193
191
  var NoEffect = /* */0;
@@ -931,7 +929,7 @@ function findAllInRenderedFiberTreeInternal(fiber, test) {
931
929
  var node = currentParent;
932
930
  var ret = [];
933
931
  while (true) {
934
- if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === ClassComponentLazy || node.tag === FunctionalComponent || node.tag === FunctionalComponentLazy) {
932
+ if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent) {
935
933
  var publicInst = node.stateNode;
936
934
  if (test(publicInst)) {
937
935
  ret.push(publicInst);
@@ -1,4 +1,4 @@
1
- /** @license React v16.5.2
1
+ /** @license React v16.6.0
2
2
  * react-dom-test-utils.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -9,16 +9,16 @@
9
9
 
10
10
  'use strict';var g=require("object-assign"),l=require("react"),m=require("react-dom");function n(a,b,c,e,d,k,f,h){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 L=[c,e,d,k,f,h],M=0;a=Error(b.replace(/%s/g,function(){return L[M++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
11
11
  function p(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,e=0;e<b;e++)c+="&args[]="+encodeURIComponent(arguments[e+1]);n(!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. ",c)}
12
- function q(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(b.effectTag&2))return 1;for(;b.return;)if(b=b.return,0!==(b.effectTag&2))return 1}return 5===b.tag?2:3}function r(a){2!==q(a)?p("188"):void 0}
12
+ function q(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(b.effectTag&2))return 1;for(;b.return;)if(b=b.return,0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function r(a){2!==q(a)?p("188"):void 0}
13
13
  function t(a){var b=a.alternate;if(!b)return b=q(a),3===b?p("188"):void 0,1===b?null:a;for(var c=a,e=b;;){var d=c.return,k=d?d.alternate:null;if(!d||!k)break;if(d.child===k.child){for(var f=d.child;f;){if(f===c)return r(d),a;if(f===e)return r(d),b;f=f.sibling}p("188")}if(c.return!==e.return)c=d,e=k;else{f=!1;for(var h=d.child;h;){if(h===c){f=!0;c=d;e=k;break}if(h===e){f=!0;e=d;c=k;break}h=h.sibling}if(!f){for(h=k.child;h;){if(h===c){f=!0;c=k;e=d;break}if(h===e){f=!0;e=k;c=d;break}h=h.sibling}f?void 0:
14
- p("189")}}c.alternate!==e?p("190"):void 0}5!==c.tag?p("188"):void 0;return c.stateNode.current===c?a:b}function u(){return!0}function v(){return!1}function w(a,b,c,e){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var d in a)a.hasOwnProperty(d)&&((b=a[d])?this[d]=b(c):"target"===d?this.target=e:this[d]=c[d]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?u:v;this.isPropagationStopped=v;return this}
14
+ p("189")}}c.alternate!==e?p("190"):void 0}3!==c.tag?p("188"):void 0;return c.stateNode.current===c?a:b}function u(){return!0}function v(){return!1}function w(a,b,c,e){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var d in a)a.hasOwnProperty(d)&&((b=a[d])?this[d]=b(c):"target"===d?this.target=e:this[d]=c[d]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?u:v;this.isPropagationStopped=v;return this}
15
15
  g(w.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=u)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=u)},persist:function(){this.isPersistent=u},isPersistent:v,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=
16
16
  null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=v;this._dispatchInstances=this._dispatchListeners=null}});w.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};
17
17
  w.extend=function(a){function b(){}function c(){return e.apply(this,arguments)}var e=this;b.prototype=e.prototype;var d=new b;g(d,c.prototype);c.prototype=d;c.prototype.constructor=c;c.Interface=g({},e.Interface,a);c.extend=e.extend;x(c);return c};x(w);function y(a,b,c,e){if(this.eventPool.length){var d=this.eventPool.pop();this.call(d,a,b,c,e);return d}return new this(a,b,c,e)}function z(a){a instanceof this?void 0:p("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}
18
18
  function x(a){a.eventPool=[];a.getPooled=y;a.release=z}var A=!("undefined"===typeof window||!window.document||!window.document.createElement);function B(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var C={animationend:B("Animation","AnimationEnd"),animationiteration:B("Animation","AnimationIteration"),animationstart:B("Animation","AnimationStart"),transitionend:B("Transition","TransitionEnd")},D={},E={};
19
19
  A&&(E=document.createElement("div").style,"AnimationEvent"in window||(delete C.animationend.animation,delete C.animationiteration.animation,delete C.animationstart.animation),"TransitionEvent"in window||delete C.transitionend.transition);function F(a){if(D[a])return D[a];if(!C[a])return a;var b=C[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in E)return D[a]=b[c];return a}
20
20
  var G=F("animationend"),H=F("animationiteration"),I=F("animationstart"),J=F("transitionend"),K=m.findDOMNode,N=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,O=N[0],P=N[4],Q=N[5],R=N[6],S=N[7],aa=N[8],T=N[9],ba=N[10];function U(){}
21
- function ca(a,b){if(!a)return[];a=t(a);if(!a)return[];for(var c=a,e=[];;){if(7===c.tag||8===c.tag||2===c.tag||3===c.tag||0===c.tag||1===c.tag){var d=c.stateNode;b(d)&&e.push(d)}if(c.child)c.child.return=c,c=c.child;else{if(c===a)return e;for(;!c.sibling;){if(!c.return||c.return===a)return e;c=c.return}c.sibling.return=c.return;c=c.sibling}}}
21
+ function ca(a,b){if(!a)return[];a=t(a);if(!a)return[];for(var c=a,e=[];;){if(5===c.tag||6===c.tag||1===c.tag||0===c.tag){var d=c.stateNode;b(d)&&e.push(d)}if(c.child)c.child.return=c,c=c.child;else{if(c===a)return e;for(;!c.sibling;){if(!c.return||c.return===a)return e;c=c.return}c.sibling.return=c.return;c=c.sibling}}}
22
22
  function V(a,b){if(a&&!a._reactInternalFiber){var c=""+a;a=Array.isArray(a)?"an array":a&&1===a.nodeType&&a.tagName?"a DOM node":"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c;p("286",b,a)}}
23
23
  var W={renderIntoDocument:function(a){var b=document.createElement("div");return m.render(a,b)},isElement:function(a){return l.isValidElement(a)},isElementOfType:function(a,b){return l.isValidElement(a)&&a.type===b},isDOMComponent:function(a){return!(!a||1!==a.nodeType||!a.tagName)},isDOMComponentElement:function(a){return!!(a&&l.isValidElement(a)&&a.tagName)},isCompositeComponent:function(a){return W.isDOMComponent(a)?!1:null!=a&&"function"===typeof a.render&&"function"===typeof a.setState},isCompositeComponentWithType:function(a,
24
24
  b){return W.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){V(a,"findAllInRenderedTree");return a?ca(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){V(a,"scryRenderedDOMComponentsWithClass");return W.findAllInRenderedTree(a,function(a){if(W.isDOMComponent(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var d=c.split(/\s+/);Array.isArray(b)||(void 0===b?p("11"):void 0,b=b.split(/\s+/));return b.every(function(a){return-1!==