react-dom 17.0.0-rc.2 → 17.0.2

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/build-info.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "branch": "pull/19881",
3
- "buildNumber": "211274",
4
- "checksum": "32e8990",
5
- "commit": "3834174dd",
2
+ "branch": "pull/21051",
3
+ "buildNumber": "287151",
4
+ "checksum": "94f5c65",
5
+ "commit": "12adaffef",
6
6
  "environment": "ci",
7
- "reactVersion": "17.0.0-alpha.0-3834174dd"
7
+ "reactVersion": "17.0.0-12adaffef"
8
8
  }
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0-rc.2
1
+ /** @license React v17.0.2
2
2
  * react-dom-server.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -30,7 +30,7 @@ function formatProdErrorMessage(code) {
30
30
  }
31
31
 
32
32
  // TODO: this is special because it gets imported during build.
33
- var ReactVersion = '17.0.0-rc.2';
33
+ var ReactVersion = '17.0.2';
34
34
 
35
35
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
36
36
 
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0-rc.2
1
+ /** @license React v17.0.2
2
2
  * react-dom-server.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -48,4 +48,4 @@ d,{selected:g,children:L})}}if(g=d){if(Oa[c]&&(null!=g.children||null!=g.dangero
48
48
  !1;break b;default:C=!0}for(w in g)if(Ya.call(g,w)){var n=g[w];if(null!=n){if("style"===w){var k=void 0,v="",H="";for(k in n)if(n.hasOwnProperty(k)){var x=0===k.indexOf("--"),y=n[k];if(null!=y){if(x)var A=k;else if(A=k,Wa.hasOwnProperty(A))A=Wa[A];else{var cb=A.replace(Qa,"-$1").toLowerCase().replace(Ra,"-ms-");A=Wa[A]=cb}v+=H+A+":";H=k;x=null==y||"boolean"===typeof y||""===y?"":x||"number"!==typeof y||0===y||Y.hasOwnProperty(H)&&Y[H]?(""+y).trim():y+"px";v+=x;H=";"}}n=v||null}k=null;C?Za.hasOwnProperty(w)||
49
49
  (k=w,k=sa(k)&&null!=n?k+'="'+(O(n)+'"'):""):k=ya(w,n);k&&(G+=" "+k)}}e||L&&(G+=' data-reactroot=""');var w=G;g="";Na.hasOwnProperty(c)?w+="/>":(w+=">",g="</"+a.type+">");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,"string"===typeof e||"number"===typeof e){e=O(e);break a}e=null}null!=e?(d=[],Ta.hasOwnProperty(c)&&"\n"===e.charAt(0)&&(w+="\n"),w+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===f?Ma(a):"http://www.w3.org/2000/svg"===
50
50
  f&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:g});this.previousWasTextNode=!1;return w};return a}();exports.renderToNodeStream=function(){throw Error(p(207));};exports.renderToStaticMarkup=function(a,b){a=new bb(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.renderToStaticNodeStream=function(){throw Error(p(208));};exports.renderToString=function(a,b){a=new bb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};
51
- exports.version="17.0.0-rc.2";
51
+ exports.version="17.0.2";
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0-rc.2
1
+ /** @license React v17.0.2
2
2
  * react-dom-server.node.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -18,7 +18,7 @@ var _assign = require('object-assign');
18
18
  var stream = require('stream');
19
19
 
20
20
  // TODO: this is special because it gets imported during build.
21
- var ReactVersion = '17.0.0-rc.2';
21
+ var ReactVersion = '17.0.2';
22
22
 
23
23
  // Do not require this module directly! Use normal `invariant` calls with
24
24
  // template literal strings. The messages will be replaced with error codes
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0-rc.2
1
+ /** @license React v17.0.2
2
2
  * react-dom-server.node.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -49,4 +49,4 @@ d,{selected:g,children:L})}}if(g=d){if(Pa[c]&&(null!=g.children||null!=g.dangero
49
49
  (k=w,k=ta(k)&&null!=m?k+'="'+(O(m)+'"'):""):k=za(w,m);k&&(G+=" "+k)}}e||L&&(G+=' data-reactroot=""');var w=G;g="";Oa.hasOwnProperty(c)?w+="/>":(w+=">",g="</"+a.type+">");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,"string"===typeof e||"number"===typeof e){e=O(e);break a}e=null}null!=e?(d=[],Ua.hasOwnProperty(c)&&"\n"===e.charAt(0)&&(w+="\n"),w+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===f?Na(a):"http://www.w3.org/2000/svg"===
50
50
  f&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:g});this.previousWasTextNode=!1;return w};return a}();function db(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}
51
51
  var fb=function(a){function b(b,c,h){var d=a.call(this,{})||this;d.partialRenderer=new cb(b,c,h);return d}db(b,a);var c=b.prototype;c._destroy=function(a,b){this.partialRenderer.destroy();b(a)};c._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(f){this.destroy(f)}};return b}(aa.Readable);exports.renderToNodeStream=function(a,b){return new fb(a,!1,b)};exports.renderToStaticMarkup=function(a,b){a=new cb(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};
52
- exports.renderToStaticNodeStream=function(a,b){return new fb(a,!0,b)};exports.renderToString=function(a,b){a=new cb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.version="17.0.0-rc.2";
52
+ exports.renderToStaticNodeStream=function(a,b){return new fb(a,!0,b)};exports.renderToString=function(a,b){a=new cb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.version="17.0.2";
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0-rc.2
1
+ /** @license React v17.0.2
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -141,7 +141,7 @@ var HostText = 6;
141
141
 
142
142
  // Don't change these two values. They're used by React Dev Tools.
143
143
  var NoFlags =
144
- /* */
144
+ /* */
145
145
  0;
146
146
 
147
147
  var Placement =
@@ -409,136 +409,144 @@ function getEventCharCode(nativeEvent) {
409
409
  return 0;
410
410
  }
411
411
 
412
- /**
413
- * @interface Event
414
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
415
- */
416
- var EventInterface = {
417
- eventPhase: 0,
418
- bubbles: 0,
419
- cancelable: 0,
420
- timeStamp: function (event) {
421
- return event.timeStamp || Date.now();
422
- },
423
- defaultPrevented: 0,
424
- isTrusted: 0
425
- };
426
-
427
412
  function functionThatReturnsTrue() {
428
413
  return true;
429
414
  }
430
415
 
431
416
  function functionThatReturnsFalse() {
432
417
  return false;
433
- }
434
- /**
435
- * Synthetic events are dispatched by event plugins, typically in response to a
436
- * top-level event delegation handler.
437
- *
438
- * These systems should generally use pooling to reduce the frequency of garbage
439
- * collection. The system should check `isPersistent` to determine whether the
440
- * event should be released into the pool after being dispatched. Users that
441
- * need a persisted event should invoke `persist`.
442
- *
443
- * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
444
- * normalizing browser quirks. Subclasses do not necessarily have to implement a
445
- * DOM interface; custom application-specific events can also subclass this.
446
- */
418
+ } // This is intentionally a factory so that we have different returned constructors.
419
+ // If we had a single constructor, it would be megamorphic and engines would deopt.
447
420
 
448
421
 
449
- function SyntheticEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
450
- var Interface = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : EventInterface;
451
- this._reactName = reactName;
452
- this._targetInst = targetInst;
453
- this.type = reactEventType;
454
- this.nativeEvent = nativeEvent;
455
- this.target = nativeEventTarget;
456
- this.currentTarget = null;
422
+ function createSyntheticEvent(Interface) {
423
+ /**
424
+ * Synthetic events are dispatched by event plugins, typically in response to a
425
+ * top-level event delegation handler.
426
+ *
427
+ * These systems should generally use pooling to reduce the frequency of garbage
428
+ * collection. The system should check `isPersistent` to determine whether the
429
+ * event should be released into the pool after being dispatched. Users that
430
+ * need a persisted event should invoke `persist`.
431
+ *
432
+ * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
433
+ * normalizing browser quirks. Subclasses do not necessarily have to implement a
434
+ * DOM interface; custom application-specific events can also subclass this.
435
+ */
436
+ function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
437
+ this._reactName = reactName;
438
+ this._targetInst = targetInst;
439
+ this.type = reactEventType;
440
+ this.nativeEvent = nativeEvent;
441
+ this.target = nativeEventTarget;
442
+ this.currentTarget = null;
443
+
444
+ for (var _propName in Interface) {
445
+ if (!Interface.hasOwnProperty(_propName)) {
446
+ continue;
447
+ }
457
448
 
458
- for (var _propName in Interface) {
459
- if (!Interface.hasOwnProperty(_propName)) {
460
- continue;
449
+ var normalize = Interface[_propName];
450
+
451
+ if (normalize) {
452
+ this[_propName] = normalize(nativeEvent);
453
+ } else {
454
+ this[_propName] = nativeEvent[_propName];
455
+ }
461
456
  }
462
457
 
463
- var normalize = Interface[_propName];
458
+ var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
464
459
 
465
- if (normalize) {
466
- this[_propName] = normalize(nativeEvent);
460
+ if (defaultPrevented) {
461
+ this.isDefaultPrevented = functionThatReturnsTrue;
467
462
  } else {
468
- this[_propName] = nativeEvent[_propName];
463
+ this.isDefaultPrevented = functionThatReturnsFalse;
469
464
  }
470
- }
471
-
472
- var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
473
465
 
474
- if (defaultPrevented) {
475
- this.isDefaultPrevented = functionThatReturnsTrue;
476
- } else {
477
- this.isDefaultPrevented = functionThatReturnsFalse;
466
+ this.isPropagationStopped = functionThatReturnsFalse;
467
+ return this;
478
468
  }
479
469
 
480
- this.isPropagationStopped = functionThatReturnsFalse;
481
- return this;
482
- }
470
+ _assign(SyntheticBaseEvent.prototype, {
471
+ preventDefault: function () {
472
+ this.defaultPrevented = true;
473
+ var event = this.nativeEvent;
483
474
 
484
- _assign(SyntheticEvent.prototype, {
485
- preventDefault: function () {
486
- this.defaultPrevented = true;
487
- var event = this.nativeEvent;
475
+ if (!event) {
476
+ return;
477
+ }
488
478
 
489
- if (!event) {
490
- return;
491
- }
479
+ if (event.preventDefault) {
480
+ event.preventDefault(); // $FlowFixMe - flow is not aware of `unknown` in IE
481
+ } else if (typeof event.returnValue !== 'unknown') {
482
+ event.returnValue = false;
483
+ }
492
484
 
493
- if (event.preventDefault) {
494
- event.preventDefault(); // $FlowFixMe - flow is not aware of `unknown` in IE
495
- } else if (typeof event.returnValue !== 'unknown') {
496
- event.returnValue = false;
497
- }
485
+ this.isDefaultPrevented = functionThatReturnsTrue;
486
+ },
487
+ stopPropagation: function () {
488
+ var event = this.nativeEvent;
498
489
 
499
- this.isDefaultPrevented = functionThatReturnsTrue;
500
- },
501
- stopPropagation: function () {
502
- var event = this.nativeEvent;
490
+ if (!event) {
491
+ return;
492
+ }
503
493
 
504
- if (!event) {
505
- return;
506
- }
494
+ if (event.stopPropagation) {
495
+ event.stopPropagation(); // $FlowFixMe - flow is not aware of `unknown` in IE
496
+ } else if (typeof event.cancelBubble !== 'unknown') {
497
+ // The ChangeEventPlugin registers a "propertychange" event for
498
+ // IE. This event does not support bubbling or cancelling, and
499
+ // any references to cancelBubble throw "Member not found". A
500
+ // typeof check of "unknown" circumvents this issue (and is also
501
+ // IE specific).
502
+ event.cancelBubble = true;
503
+ }
507
504
 
508
- if (event.stopPropagation) {
509
- event.stopPropagation(); // $FlowFixMe - flow is not aware of `unknown` in IE
510
- } else if (typeof event.cancelBubble !== 'unknown') {
511
- // The ChangeEventPlugin registers a "propertychange" event for
512
- // IE. This event does not support bubbling or cancelling, and
513
- // any references to cancelBubble throw "Member not found". A
514
- // typeof check of "unknown" circumvents this issue (and is also
515
- // IE specific).
516
- event.cancelBubble = true;
517
- }
505
+ this.isPropagationStopped = functionThatReturnsTrue;
506
+ },
507
+
508
+ /**
509
+ * We release all dispatched `SyntheticEvent`s after each event loop, adding
510
+ * them back into the pool. This allows a way to hold onto a reference that
511
+ * won't be added back into the pool.
512
+ */
513
+ persist: function () {// Modern event system doesn't use pooling.
514
+ },
515
+
516
+ /**
517
+ * Checks if this event should be released back into the pool.
518
+ *
519
+ * @return {boolean} True if this should not be released, false otherwise.
520
+ */
521
+ isPersistent: functionThatReturnsTrue
522
+ });
518
523
 
519
- this.isPropagationStopped = functionThatReturnsTrue;
520
- },
524
+ return SyntheticBaseEvent;
525
+ }
526
+ /**
527
+ * @interface Event
528
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
529
+ */
521
530
 
522
- /**
523
- * We release all dispatched `SyntheticEvent`s after each event loop, adding
524
- * them back into the pool. This allows a way to hold onto a reference that
525
- * won't be added back into the pool.
526
- */
527
- persist: function () {// Modern event system doesn't use pooling.
528
- },
529
531
 
530
- /**
531
- * Checks if this event should be released back into the pool.
532
- *
533
- * @return {boolean} True if this should not be released, false otherwise.
534
- */
535
- isPersistent: functionThatReturnsTrue
536
- });
532
+ var EventInterface = {
533
+ eventPhase: 0,
534
+ bubbles: 0,
535
+ cancelable: 0,
536
+ timeStamp: function (event) {
537
+ return event.timeStamp || Date.now();
538
+ },
539
+ defaultPrevented: 0,
540
+ isTrusted: 0
541
+ };
542
+ var SyntheticEvent = createSyntheticEvent(EventInterface);
537
543
 
538
544
  var UIEventInterface = _assign({}, EventInterface, {
539
545
  view: 0,
540
546
  detail: 0
541
547
  });
548
+
549
+ var SyntheticUIEvent = createSyntheticEvent(UIEventInterface);
542
550
  var lastMovementX;
543
551
  var lastMovementY;
544
552
  var lastMouseEvent;
@@ -599,6 +607,8 @@ var MouseEventInterface = _assign({}, UIEventInterface, {
599
607
  return lastMovementY;
600
608
  }
601
609
  });
610
+
611
+ var SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface);
602
612
  /**
603
613
  * @interface DragEvent
604
614
  * @see http://www.w3.org/TR/DOM-Level-3-Events/
@@ -607,6 +617,8 @@ var MouseEventInterface = _assign({}, UIEventInterface, {
607
617
  var DragEventInterface = _assign({}, MouseEventInterface, {
608
618
  dataTransfer: 0
609
619
  });
620
+
621
+ var SyntheticDragEvent = createSyntheticEvent(DragEventInterface);
610
622
  /**
611
623
  * @interface FocusEvent
612
624
  * @see http://www.w3.org/TR/DOM-Level-3-Events/
@@ -615,6 +627,8 @@ var DragEventInterface = _assign({}, MouseEventInterface, {
615
627
  var FocusEventInterface = _assign({}, UIEventInterface, {
616
628
  relatedTarget: 0
617
629
  });
630
+
631
+ var SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface);
618
632
  /**
619
633
  * @interface Event
620
634
  * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface
@@ -626,6 +640,8 @@ var AnimationEventInterface = _assign({}, EventInterface, {
626
640
  elapsedTime: 0,
627
641
  pseudoElement: 0
628
642
  });
643
+
644
+ var SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface);
629
645
  /**
630
646
  * @interface Event
631
647
  * @see http://www.w3.org/TR/clipboard-apis/
@@ -636,6 +652,8 @@ var ClipboardEventInterface = _assign({}, EventInterface, {
636
652
  return 'clipboardData' in event ? event.clipboardData : window.clipboardData;
637
653
  }
638
654
  });
655
+
656
+ var SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface);
639
657
  /**
640
658
  * @interface Event
641
659
  * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
@@ -644,6 +662,8 @@ var ClipboardEventInterface = _assign({}, EventInterface, {
644
662
  var CompositionEventInterface = _assign({}, EventInterface, {
645
663
  data: 0
646
664
  });
665
+
666
+ var SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface);
647
667
  /**
648
668
  * Normalization of deprecated HTML5 `key` values
649
669
  * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
@@ -827,6 +847,8 @@ var KeyboardEventInterface = _assign({}, UIEventInterface, {
827
847
  return 0;
828
848
  }
829
849
  });
850
+
851
+ var SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface);
830
852
  /**
831
853
  * @interface PointerEvent
832
854
  * @see http://www.w3.org/TR/pointerevents/
@@ -844,6 +866,8 @@ var PointerEventInterface = _assign({}, MouseEventInterface, {
844
866
  pointerType: 0,
845
867
  isPrimary: 0
846
868
  });
869
+
870
+ var SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface);
847
871
  /**
848
872
  * @interface TouchEvent
849
873
  * @see http://www.w3.org/TR/touch-events/
@@ -859,6 +883,8 @@ var TouchEventInterface = _assign({}, UIEventInterface, {
859
883
  shiftKey: 0,
860
884
  getModifierState: getEventModifierState
861
885
  });
886
+
887
+ var SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface);
862
888
  /**
863
889
  * @interface Event
864
890
  * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
@@ -870,6 +896,8 @@ var TransitionEventInterface = _assign({}, EventInterface, {
870
896
  elapsedTime: 0,
871
897
  pseudoElement: 0
872
898
  });
899
+
900
+ var SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface);
873
901
  /**
874
902
  * @interface WheelEvent
875
903
  * @see http://www.w3.org/TR/DOM-Level-3-Events/
@@ -893,6 +921,8 @@ var WheelEventInterface = _assign({}, MouseEventInterface, {
893
921
  deltaMode: 0
894
922
  });
895
923
 
924
+ var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface);
925
+
896
926
  /**
897
927
  * HTML nodeType values that represent the type of the node
898
928
  */
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0-rc.2
1
+ /** @license React v17.0.2
2
2
  * react-dom-test-utils.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -6,38 +6,38 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- 'use strict';var k=require("object-assign"),l=require("react"),m=require("react-dom"),n=require("scheduler");function p(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 q=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
9
+ 'use strict';var h=require("object-assign"),l=require("react"),m=require("react-dom"),n=require("scheduler");function p(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 q=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
10
10
  function r(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function t(a){if(r(a)!==a)throw Error(p(188));}
11
- function aa(a){var b=a.alternate;if(!b){b=r(a);if(null===b)throw Error(p(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var g=e.alternate;if(null===g){d=e.return;if(null!==d){c=d;continue}break}if(e.child===g.child){for(g=e.child;g;){if(g===c)return t(e),a;if(g===d)return t(e),b;g=g.sibling}throw Error(p(188));}if(c.return!==d.return)c=e,d=g;else{for(var f=!1,h=e.child;h;){if(h===c){f=!0;c=e;d=g;break}if(h===d){f=!0;d=e;c=g;break}h=h.sibling}if(!f){for(h=g.child;h;){if(h===
12
- c){f=!0;c=g;d=e;break}if(h===d){f=!0;d=g;c=e;break}h=h.sibling}if(!f)throw Error(p(189));}}if(c.alternate!==d)throw Error(p(190));}if(3!==c.tag)throw Error(p(188));return c.stateNode.current===c?a:b}function u(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}var v={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0};function w(){return!0}function x(){return!1}
13
- function y(a,b,c,d,e){var g=5<arguments.length&&void 0!==arguments[5]?arguments[5]:v;this._reactName=a;this._targetInst=c;this.type=b;this.nativeEvent=d;this.target=e;this.currentTarget=null;for(var f in g)if(g.hasOwnProperty(f)){var h=g[f];this[f]=h?h(d):d[f]}this.isDefaultPrevented=(null!=d.defaultPrevented?d.defaultPrevented:!1===d.returnValue)?w:x;this.isPropagationStopped=x;return this}
14
- k(y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=w)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=w)},persist:function(){},isPersistent:w});
15
- var z=k({},v,{view:0,detail:0}),A,B,C,E=k({},z,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in a)return a.movementX;a!==C&&(C&&"mousemove"===a.type?(A=a.screenX-C.screenX,B=a.screenY-C.screenY):B=A=0,C=a);return A},movementY:function(a){return"movementY"in
16
- a?a.movementY:B}});k({},E,{dataTransfer:0});k({},z,{relatedTarget:0});k({},v,{animationName:0,elapsedTime:0,pseudoElement:0});k({},v,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}});k({},v,{data:0});
17
- var ba={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},da={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",
18
- 116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ea={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fa(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=ea[a])?!!b[a]:!1}function D(){return fa}
19
- k({},z,{key:function(a){if(a.key){var b=ba[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=u(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?da[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D,charCode:function(a){return"keypress"===a.type?u(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?
20
- u(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}});k({},E,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});k({},z,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D});k({},v,{propertyName:0,elapsedTime:0,pseudoElement:0});
21
- k({},E,{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:0,deltaMode:0});var F=null;function G(a){if(null===F)try{var b=("require"+Math.random()).slice(0,7);F=(module&&module[b]).call(module,"timers").setImmediate}catch(c){F=function(a){var b=new MessageChannel;b.port1.onmessage=a;b.port2.postMessage(void 0)}}return F(a)}
22
- var H=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,ha=H[5],I=H[6],ia=m.unstable_batchedUpdates,J=q.IsSomeRendererActing,K="function"===typeof n.unstable_flushAllWithoutAsserting,L=n.unstable_flushAllWithoutAsserting||function(){for(var a=!1;ha();)a=!0;return a};function M(a){try{L(),G(function(){L()?M(a):a()})}catch(b){a(b)}}var N=0,ja=!1,P=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events[6],ka=m.unstable_batchedUpdates,Q=q.IsSomeRendererActing;
23
- function la(a,b){jest.runOnlyPendingTimers();G(function(){try{n.unstable_flushAllWithoutAsserting()?la(a,b):a()}catch(c){b(c)}})}function ma(a,b,c,d,e,g,f,h,ca){var O=Array.prototype.slice.call(arguments,3);try{b.apply(c,O)}catch(va){this.onError(va)}}var R=!1,S=null,T=!1,U=null,na={onError:function(a){R=!0;S=a}};function oa(a,b,c,d,e,g,f,h,ca){R=!1;S=null;ma.apply(na,arguments)}
24
- function pa(a,b,c,d,e,g,f,h,ca){oa.apply(this,arguments);if(R){if(R){var O=S;R=!1;S=null}else throw Error(p(198));T||(T=!0,U=O)}}var V=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,qa=V[0],ra=V[1],sa=V[2],ta=V[3],ua=V[4];function wa(){}
25
- function xa(a,b){if(!a)return[];a=aa(a);if(!a)return[];for(var c=a,d=[];;){if(5===c.tag||6===c.tag||1===c.tag||0===c.tag){var e=c.stateNode;b(e)&&d.push(e)}if(c.child)c.child.return=c,c=c.child;else{if(c===a)return d;for(;!c.sibling;){if(!c.return||c.return===a)return d;c=c.return}c.sibling.return=c.return;c=c.sibling}}}
26
- function W(a,b){if(a&&!a._reactInternals){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;throw Error(p(286,b,a));}}function X(a){return!(!a||1!==a.nodeType||!a.tagName)}function Y(a){return X(a)?!1:null!=a&&"function"===typeof a.render&&"function"===typeof a.setState}function ya(a,b){return Y(a)?a._reactInternals.type===b:!1}
27
- function Z(a,b){W(a,"findAllInRenderedTree");return a?xa(a._reactInternals,b):[]}function za(a,b){W(a,"scryRenderedDOMComponentsWithClass");return Z(a,function(a){if(X(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var e=c.split(/\s+/);if(!Array.isArray(b)){if(void 0===b)throw Error(p(11));b=b.split(/\s+/)}return b.every(function(a){return-1!==e.indexOf(a)})}return!1})}
28
- function Aa(a,b){W(a,"scryRenderedDOMComponentsWithTag");return Z(a,function(a){return X(a)&&a.tagName.toUpperCase()===b.toUpperCase()})}function Ba(a,b){W(a,"scryRenderedComponentsWithType");return Z(a,function(a){return ya(a,b)})}function Ca(a,b,c){var d=a.type||"unknown-event";a.currentTarget=ra(c);pa(d,b,void 0,a);a.currentTarget=null}
29
- function Da(a,b,c){for(var d=[];a;){d.push(a);do a=a.return;while(a&&5!==a.tag);a=a?a:null}for(a=d.length;0<a--;)b(d[a],"captured",c);for(a=0;a<d.length;a++)b(d[a],"bubbled",c)}
30
- function Ea(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":case "onMouseEnter":(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(p(231,
31
- b,typeof c));return c}function Fa(a,b,c){a&&c&&c._reactName&&(b=Ea(a,c._reactName))&&(null==c._dispatchListeners&&(c._dispatchListeners=[]),null==c._dispatchInstances&&(c._dispatchInstances=[]),c._dispatchListeners.push(b),c._dispatchInstances.push(a))}
32
- function Ga(a,b,c){var d=c._reactName;"captured"===b&&(d+="Capture");if(b=Ea(a,d))null==c._dispatchListeners&&(c._dispatchListeners=[]),null==c._dispatchInstances&&(c._dispatchInstances=[]),c._dispatchListeners.push(b),c._dispatchInstances.push(a)}var Ha={},Ia=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);
33
- function Ja(a){return function(b,c){if(l.isValidElement(b))throw Error(p(228));if(Y(b))throw Error(p(229));var d="on"+a[0].toUpperCase()+a.slice(1),e=new wa;e.target=b;e.type=a.toLowerCase();var g=qa(b),f=new y(d,e.type,g,e,b);f.persist();k(f,c);Ia.has(a)?f&&f._reactName&&Fa(f._targetInst,null,f):f&&f._reactName&&Da(f._targetInst,Ga,f);m.unstable_batchedUpdates(function(){ta(b);if(f){var a=f._dispatchListeners,c=f._dispatchInstances;if(Array.isArray(a))for(var d=0;d<a.length&&!f.isPropagationStopped();d++)Ca(f,
34
- a[d],c[d]);else a&&Ca(f,a,c);f._dispatchListeners=null;f._dispatchInstances=null;f.isPersistent()||f.constructor.release(f)}if(T)throw a=U,T=!1,U=null,a;});ua()}}
35
- "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(a){Ha[a]=Ja(a)});
36
- exports.Simulate=Ha;
37
- exports.act=function(a){function b(){N--;J.current=c;I.current=d}!1===ja&&(ja=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected."));N++;var c=J.current,d=I.current;J.current=!0;I.current=!0;try{var e=ia(a)}catch(g){throw b(),g;}if(null!==e&&"object"===typeof e&&"function"===typeof e.then)return{then:function(a,d){e.then(function(){1<N||!0===K&&!0===c?(b(),a()):M(function(c){b();c?d(c):a()})},function(a){b();d(a)})}};try{1!==N||!1!==K&&!1!==
38
- c||L(),b()}catch(g){throw b(),g;}return{then:function(a){a()}}};exports.findAllInRenderedTree=Z;exports.findRenderedComponentWithType=function(a,b){W(a,"findRenderedComponentWithType");a=Ba(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]};
39
- exports.findRenderedDOMComponentWithClass=function(a,b){W(a,"findRenderedDOMComponentWithClass");a=za(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]};exports.findRenderedDOMComponentWithTag=function(a,b){W(a,"findRenderedDOMComponentWithTag");a=Aa(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for tag:"+b);return a[0]};exports.isCompositeComponent=Y;exports.isCompositeComponentWithType=ya;
11
+ function aa(a){var b=a.alternate;if(!b){b=r(a);if(null===b)throw Error(p(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var g=e.alternate;if(null===g){d=e.return;if(null!==d){c=d;continue}break}if(e.child===g.child){for(g=e.child;g;){if(g===c)return t(e),a;if(g===d)return t(e),b;g=g.sibling}throw Error(p(188));}if(c.return!==d.return)c=e,d=g;else{for(var f=!1,k=e.child;k;){if(k===c){f=!0;c=e;d=g;break}if(k===d){f=!0;d=e;c=g;break}k=k.sibling}if(!f){for(k=g.child;k;){if(k===
12
+ c){f=!0;c=g;d=e;break}if(k===d){f=!0;d=g;c=e;break}k=k.sibling}if(!f)throw Error(p(189));}}if(c.alternate!==d)throw Error(p(190));}if(3!==c.tag)throw Error(p(188));return c.stateNode.current===c?a:b}function u(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}function v(){return!0}function w(){return!1}
13
+ function x(a){function b(c,b,e,g,f){this._reactName=c;this._targetInst=e;this.type=b;this.nativeEvent=g;this.target=f;this.currentTarget=null;for(var d in a)a.hasOwnProperty(d)&&(c=a[d],this[d]=c?c(g):g[d]);this.isDefaultPrevented=(null!=g.defaultPrevented?g.defaultPrevented:!1===g.returnValue)?v:w;this.isPropagationStopped=w;return this}h(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&
14
+ (a.returnValue=!1),this.isDefaultPrevented=v)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=v)},persist:function(){},isPersistent:v});return b}var y={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ba=x(y),z=h({},y,{view:0,detail:0});x(z);
15
+ var A,B,C,E=h({},z,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in a)return a.movementX;a!==C&&(C&&"mousemove"===a.type?(A=a.screenX-C.screenX,B=a.screenY-C.screenY):B=A=0,C=a);return A},movementY:function(a){return"movementY"in a?a.movementY:B}});
16
+ x(E);var da=h({},E,{dataTransfer:0});x(da);var ea=h({},z,{relatedTarget:0});x(ea);var fa=h({},y,{animationName:0,elapsedTime:0,pseudoElement:0});x(fa);var ha=h({},y,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}});x(ha);var ia=h({},y,{data:0});x(ia);
17
+ var ja={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ka={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",
18
+ 116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},la={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ma(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=la[a])?!!b[a]:!1}function D(){return ma}
19
+ var na=h({},z,{key:function(a){if(a.key){var b=ja[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=u(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?ka[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D,charCode:function(a){return"keypress"===a.type?u(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===
20
+ a.type?u(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}});x(na);var oa=h({},E,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});x(oa);var pa=h({},z,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D});x(pa);var qa=h({},y,{propertyName:0,elapsedTime:0,pseudoElement:0});x(qa);
21
+ var ra=h({},E,{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:0,deltaMode:0});x(ra);var F=null;function G(a){if(null===F)try{var b=("require"+Math.random()).slice(0,7);F=(module&&module[b]).call(module,"timers").setImmediate}catch(c){F=function(a){var b=new MessageChannel;b.port1.onmessage=a;b.port2.postMessage(void 0)}}return F(a)}
22
+ var H=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,sa=H[5],I=H[6],ta=m.unstable_batchedUpdates,J=q.IsSomeRendererActing,K="function"===typeof n.unstable_flushAllWithoutAsserting,L=n.unstable_flushAllWithoutAsserting||function(){for(var a=!1;sa();)a=!0;return a};function M(a){try{L(),G(function(){L()?M(a):a()})}catch(b){a(b)}}var N=0,ua=!1,O=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events[6],va=m.unstable_batchedUpdates,Q=q.IsSomeRendererActing;
23
+ function wa(a,b){jest.runOnlyPendingTimers();G(function(){try{n.unstable_flushAllWithoutAsserting()?wa(a,b):a()}catch(c){b(c)}})}function xa(a,b,c,d,e,g,f,k,ca){var P=Array.prototype.slice.call(arguments,3);try{b.apply(c,P)}catch(Ga){this.onError(Ga)}}var R=!1,S=null,T=!1,U=null,ya={onError:function(a){R=!0;S=a}};function za(a,b,c,d,e,g,f,k,ca){R=!1;S=null;xa.apply(ya,arguments)}
24
+ function Aa(a,b,c,d,e,g,f,k,ca){za.apply(this,arguments);if(R){if(R){var P=S;R=!1;S=null}else throw Error(p(198));T||(T=!0,U=P)}}var V=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Ba=V[0],Ca=V[1],Da=V[2],Ea=V[3],Fa=V[4];function Ha(){}
25
+ function Ia(a,b){if(!a)return[];a=aa(a);if(!a)return[];for(var c=a,d=[];;){if(5===c.tag||6===c.tag||1===c.tag||0===c.tag){var e=c.stateNode;b(e)&&d.push(e)}if(c.child)c.child.return=c,c=c.child;else{if(c===a)return d;for(;!c.sibling;){if(!c.return||c.return===a)return d;c=c.return}c.sibling.return=c.return;c=c.sibling}}}
26
+ function W(a,b){if(a&&!a._reactInternals){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;throw Error(p(286,b,a));}}function X(a){return!(!a||1!==a.nodeType||!a.tagName)}function Y(a){return X(a)?!1:null!=a&&"function"===typeof a.render&&"function"===typeof a.setState}function Ja(a,b){return Y(a)?a._reactInternals.type===b:!1}
27
+ function Z(a,b){W(a,"findAllInRenderedTree");return a?Ia(a._reactInternals,b):[]}function Ka(a,b){W(a,"scryRenderedDOMComponentsWithClass");return Z(a,function(a){if(X(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var e=c.split(/\s+/);if(!Array.isArray(b)){if(void 0===b)throw Error(p(11));b=b.split(/\s+/)}return b.every(function(a){return-1!==e.indexOf(a)})}return!1})}
28
+ function La(a,b){W(a,"scryRenderedDOMComponentsWithTag");return Z(a,function(a){return X(a)&&a.tagName.toUpperCase()===b.toUpperCase()})}function Ma(a,b){W(a,"scryRenderedComponentsWithType");return Z(a,function(a){return Ja(a,b)})}function Na(a,b,c){var d=a.type||"unknown-event";a.currentTarget=Ca(c);Aa(d,b,void 0,a);a.currentTarget=null}
29
+ function Oa(a,b,c){for(var d=[];a;){d.push(a);do a=a.return;while(a&&5!==a.tag);a=a?a:null}for(a=d.length;0<a--;)b(d[a],"captured",c);for(a=0;a<d.length;a++)b(d[a],"bubbled",c)}
30
+ function Pa(a,b){var c=a.stateNode;if(!c)return null;var d=Da(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":case "onMouseEnter":(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(p(231,
31
+ b,typeof c));return c}function Qa(a,b,c){a&&c&&c._reactName&&(b=Pa(a,c._reactName))&&(null==c._dispatchListeners&&(c._dispatchListeners=[]),null==c._dispatchInstances&&(c._dispatchInstances=[]),c._dispatchListeners.push(b),c._dispatchInstances.push(a))}
32
+ function Ra(a,b,c){var d=c._reactName;"captured"===b&&(d+="Capture");if(b=Pa(a,d))null==c._dispatchListeners&&(c._dispatchListeners=[]),null==c._dispatchInstances&&(c._dispatchInstances=[]),c._dispatchListeners.push(b),c._dispatchInstances.push(a)}var Sa={},Ta=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);
33
+ function Ua(a){return function(b,c){if(l.isValidElement(b))throw Error(p(228));if(Y(b))throw Error(p(229));var d="on"+a[0].toUpperCase()+a.slice(1),e=new Ha;e.target=b;e.type=a.toLowerCase();var g=Ba(b),f=new ba(d,e.type,g,e,b);f.persist();h(f,c);Ta.has(a)?f&&f._reactName&&Qa(f._targetInst,null,f):f&&f._reactName&&Oa(f._targetInst,Ra,f);m.unstable_batchedUpdates(function(){Ea(b);if(f){var a=f._dispatchListeners,c=f._dispatchInstances;if(Array.isArray(a))for(var d=0;d<a.length&&!f.isPropagationStopped();d++)Na(f,
34
+ a[d],c[d]);else a&&Na(f,a,c);f._dispatchListeners=null;f._dispatchInstances=null;f.isPersistent()||f.constructor.release(f)}if(T)throw a=U,T=!1,U=null,a;});Fa()}}
35
+ "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(a){Sa[a]=Ua(a)});
36
+ exports.Simulate=Sa;
37
+ exports.act=function(a){function b(){N--;J.current=c;I.current=d}!1===ua&&(ua=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected."));N++;var c=J.current,d=I.current;J.current=!0;I.current=!0;try{var e=ta(a)}catch(g){throw b(),g;}if(null!==e&&"object"===typeof e&&"function"===typeof e.then)return{then:function(a,d){e.then(function(){1<N||!0===K&&!0===c?(b(),a()):M(function(c){b();c?d(c):a()})},function(a){b();d(a)})}};try{1!==N||!1!==K&&!1!==
38
+ c||L(),b()}catch(g){throw b(),g;}return{then:function(a){a()}}};exports.findAllInRenderedTree=Z;exports.findRenderedComponentWithType=function(a,b){W(a,"findRenderedComponentWithType");a=Ma(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]};
39
+ exports.findRenderedDOMComponentWithClass=function(a,b){W(a,"findRenderedDOMComponentWithClass");a=Ka(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]};exports.findRenderedDOMComponentWithTag=function(a,b){W(a,"findRenderedDOMComponentWithTag");a=La(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for tag:"+b);return a[0]};exports.isCompositeComponent=Y;exports.isCompositeComponentWithType=Ja;
40
40
  exports.isDOMComponent=X;exports.isDOMComponentElement=function(a){return!!(a&&l.isValidElement(a)&&a.tagName)};exports.isElement=function(a){return l.isValidElement(a)};exports.isElementOfType=function(a,b){return l.isValidElement(a)&&a.type===b};exports.mockComponent=function(a,b){b=b||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return l.createElement(b,null,this.props.children)});return this};exports.nativeTouchData=function(a,b){return{touches:[{pageX:a,pageY:b}]}};
41
- exports.renderIntoDocument=function(a){var b=document.createElement("div");return m.render(a,b)};exports.scryRenderedComponentsWithType=Ba;exports.scryRenderedDOMComponentsWithClass=za;exports.scryRenderedDOMComponentsWithTag=Aa;exports.traverseTwoPhase=Da;
42
- exports.unstable_concurrentAct=function(a){function b(){Q.current=c;P.current=d}if(void 0===n.unstable_flushAllWithoutAsserting)throw Error("This version of `act` requires a special mock build of Scheduler.");if(!0!==setTimeout._isMockFunction)throw Error("This version of `act` requires Jest's timer mocks (i.e. jest.useFakeTimers).");var c=Q.current,d=P.current;Q.current=!0;P.current=!0;try{var e=ka(a);if("object"===typeof e&&null!==e&&"function"===typeof e.then)return{then:function(a,c){e.then(function(){la(function(){b();
41
+ exports.renderIntoDocument=function(a){var b=document.createElement("div");return m.render(a,b)};exports.scryRenderedComponentsWithType=Ma;exports.scryRenderedDOMComponentsWithClass=Ka;exports.scryRenderedDOMComponentsWithTag=La;exports.traverseTwoPhase=Oa;
42
+ exports.unstable_concurrentAct=function(a){function b(){Q.current=c;O.current=d}if(void 0===n.unstable_flushAllWithoutAsserting)throw Error("This version of `act` requires a special mock build of Scheduler.");if(!0!==setTimeout._isMockFunction)throw Error("This version of `act` requires Jest's timer mocks (i.e. jest.useFakeTimers).");var c=Q.current,d=O.current;Q.current=!0;O.current=!0;try{var e=va(a);if("object"===typeof e&&null!==e&&"function"===typeof e.then)return{then:function(a,c){e.then(function(){wa(function(){b();
43
43
  a()},function(a){b();c(a)})},function(a){b();c(a)})}};try{do var g=n.unstable_flushAllWithoutAsserting();while(g)}finally{b()}}catch(f){throw b(),f;}};