/** @license React v16.2.0 * react-dom-test-utils.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';(function(m,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p(require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["react","react-dom"],p):m.ReactTestUtils=p(m.React,m.ReactDOM)})(this,function(m,p){function k(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,f=0;fthis.eventPool.length&&this.eventPool.push(a)}function C(a){a.eventPool=[];a.getPooled=J;a.release=K}function w(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;c["ms"+a]="MS"+b;c["O"+a]="o"+b.toLowerCase();return c}function x(a){if(y[a])return y[a];if(!h[a])return a;var b=h[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in D)return y[a]=b[c]; return""}function E(a){}function L(a,b){if(!a)return[];a=I(a);if(!a)return[];for(var c=a,d=[];;){if(5===c.tag||6===c.tag||2===c.tag||1===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}}}function M(a){return function(b,c){m.isValidElement(b)?k("228"):void 0;e.isCompositeComponent(b)?k("229"):void 0;var d=F.eventNameDispatchConfigs[a], g=new E;g.target=b;g.type=a.toLowerCase();var n=N.getInstanceFromNode(b),h=new t(d,n,g,b);h.persist();u(h,c);d.phasedRegistrationNames?G.accumulateTwoPhaseDispatches(h):G.accumulateDirectDispatches(h);p.unstable_batchedUpdates(function(){O.enqueueStateRestore(b);q.enqueueEvents(h);q.processEventQueue(!0)})}}function z(){e.Simulate={};for(var a in F.eventNameDispatchConfigs)e.Simulate[a]=M(a)}function P(a){return function(b,c){var d=new E(a);u(d,c);e.isDOMComponent(b)?e.simulateNativeEventOnDOMComponent(a, b,d):b.tagName&&e.simulateNativeEventOnNode(a,b,d)}}var u=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,d=function(){};d.thatReturns=v;d.thatReturnsFalse=v(!1);d.thatReturnsTrue=v(!0);d.thatReturnsNull=v(null);d.thatReturnsThis=function(){return this};d.thatReturnsArgument=function(a){return a};var n=d,H="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" ");d={type:null,target:null,currentTarget:n.thatReturnsNull, eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=n.thatReturnsTrue)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble= !0),this.isPropagationStopped=n.thatReturnsTrue)},persist:function(){this.isPersistent=n.thatReturnsTrue},isPersistent:n.thatReturnsFalse,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;for(a=0;a