@hot-loader/react-dom
Advanced tools
Comparing version 16.8.6 to 16.9.0-alpha.0
{ | ||
"branch": "pull/15226", | ||
"buildNumber": "14079", | ||
"checksum": "4a4c239", | ||
"commit": "297165f1e", | ||
"branch": "pull/15307", | ||
"buildNumber": "14231", | ||
"checksum": "0f531f7", | ||
"commit": "c35e37aab", | ||
"environment": "ci", | ||
"reactVersion": "16.8.5-canary-297165f1e" | ||
"reactVersion": "16.8.6-canary-c35e37aab" | ||
} |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-server.browser.production.min.js | ||
@@ -10,43 +10,44 @@ * | ||
'use strict';var p=require("object-assign"),q=require("react");function aa(a,b,d,c,f,e,h,g){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,f,e,h,g],B=0;a=Error(b.replace(/%s/g,function(){return D[B++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function r(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)} | ||
var v="function"===typeof Symbol&&Symbol.for,ba=v?Symbol.for("react.portal"):60106,x=v?Symbol.for("react.fragment"):60107,ca=v?Symbol.for("react.strict_mode"):60108,da=v?Symbol.for("react.profiler"):60114,z=v?Symbol.for("react.provider"):60109,ea=v?Symbol.for("react.context"):60110,fa=v?Symbol.for("react.concurrent_mode"):60111,ha=v?Symbol.for("react.forward_ref"):60112,A=v?Symbol.for("react.suspense"):60113,ia=v?Symbol.for("react.memo"):60115,ja=v?Symbol.for("react.lazy"):60116; | ||
function C(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 fa:return"ConcurrentMode";case x:return"Fragment";case ba:return"Portal";case da:return"Profiler";case ca:return"StrictMode";case A:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case ea:return"Context.Consumer";case z:return"Context.Provider";case ha:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")": | ||
"ForwardRef");case ia:return C(a.type);case ja:if(a=1===a._status?a._result:null)return C(a)}return null}var E=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;E.hasOwnProperty("ReactCurrentDispatcher")||(E.ReactCurrentDispatcher={current:null});var ka={};function F(a,b){for(var d=a._threadCount|0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1} | ||
function la(a,b,d){var c=a.contextType;if("object"===typeof c&&null!==c)return F(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=ka;return b}for(var G=new Uint16Array(16),H=0;15>H;H++)G[H]=H+1;G[15]=0; | ||
var ma=/^[: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]*$/,na=Object.prototype.hasOwnProperty,oa={},pa={}; | ||
function qa(a){if(na.call(pa,a))return!0;if(na.call(oa,a))return!1;if(ma.test(a))return pa[a]=!0;oa[a]=!0;return!1}function ra(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}} | ||
function sa(a,b,d,c){if(null===b||"undefined"===typeof b||ra(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 I(a,b,d,c,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b}var J={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){J[a]=new I(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];J[b]=new I(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){J[a]=new I(a,2,!1,a.toLowerCase(),null)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){J[a]=new I(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){J[a]=new I(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a,null)}); | ||
["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()} | ||
'use strict';var l=require("object-assign"),n=require("react");function r(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return Error("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 t="function"===typeof Symbol&&Symbol.for,aa=t?Symbol.for("react.portal"):60106,v=t?Symbol.for("react.fragment"):60107,ba=t?Symbol.for("react.strict_mode"):60108,ca=t?Symbol.for("react.profiler"):60114,x=t?Symbol.for("react.provider"):60109,da=t?Symbol.for("react.context"):60110,ea=t?Symbol.for("react.concurrent_mode"):60111,fa=t?Symbol.for("react.forward_ref"):60112,A=t?Symbol.for("react.suspense"):60113,ha=t?Symbol.for("react.memo"):60115,ia=t?Symbol.for("react.lazy"):60116,ja=t?Symbol.for("react.event_component"): | ||
60117,ka=t?Symbol.for("react.event_target"):60118,la=t?Symbol.for("react.event_target.touch_hit"):60119; | ||
function B(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 ea:return"ConcurrentMode";case v:return"Fragment";case aa:return"Portal";case ca:return"Profiler";case ba:return"StrictMode";case A:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case da:return"Context.Consumer";case x:return"Context.Provider";case fa:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")": | ||
"ForwardRef");case ha:return B(a.type);case ia:if(a=1===a._status?a._result:null)return B(a);break;case ja:a=a.displayName;if(void 0!==a)return a;break;case ka:if(a.type===la)return"TouchHitTarget";a=a.displayName;if(void 0!==a)return a}return null}var C=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;C.hasOwnProperty("ReactCurrentDispatcher")||(C.ReactCurrentDispatcher={current:null});var ma={};function D(a,b){for(var d=a._threadCount|0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1} | ||
function na(a,b,d){var c=a.contextType;if("object"===typeof c&&null!==c)return D(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=ma;return b}for(var E=new Uint16Array(16),G=0;15>G;G++)E[G]=G+1;E[15]=0; | ||
var oa=/^[: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]*$/,pa=Object.prototype.hasOwnProperty,qa={},ra={}; | ||
function sa(a){if(pa.call(ra,a))return!0;if(pa.call(qa,a))return!1;if(oa.test(a))return ra[a]=!0;qa[a]=!0;return!1}function ta(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}} | ||
function ua(a,b,d,c){if(null===b||"undefined"===typeof b||ta(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 I(a,b,d,c,f,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b;this.sanitizeURL=e}var J={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){J[a]=new I(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];J[b]=new I(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){J[a]=new I(a,2,!1,a.toLowerCase(),null,!1)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){J[a]=new I(a,2,!1,a,null,!1)});"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){J[a]=new I(a,3,!1,a.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a,null,!1)}); | ||
["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null,!1)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()} | ||
"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(K, | ||
L);J[b]=new I(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(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});["tabIndex","crossOrigin"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null)});var ta=/["'&<>]/; | ||
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ta.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}var N=null,O=null,P=null,Q=!1,S=!1,T=null,U=0;function V(){null===N?r("321"):void 0;return N} | ||
function ua(){0<U&&r("312");return{memoizedState:null,queue:null,next:null}}function W(){null===P?null===O?(Q=!1,O=P=ua()):(Q=!0,P=O):null===P.next?(Q=!1,P=P.next=ua()):(Q=!0,P=P.next);return P}function va(a,b,d,c){for(;S;)S=!1,U+=1,P=null,d=a(b,c);O=N=null;U=0;P=T=null;return d}function wa(a,b){return"function"===typeof b?b(a):b} | ||
function xa(a,b,d){N=V();P=W();if(Q){var c=P.queue;b=c.dispatch;if(null!==T&&(d=T.get(c),void 0!==d)){T.delete(c);c=P.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);P.memoizedState=c;return[c,b]}return[P.memoizedState,b]}a=a===wa?"function"===typeof b?b():b:void 0!==d?d(b):b;P.memoizedState=a;a=P.queue={last:null,dispatch:null};a=a.dispatch=ya.bind(null,N,a);return[P.memoizedState,a]} | ||
function ya(a,b,d){25>U?void 0:r("301");if(a===N)if(S=!0,a={action:d,next:null},null===T&&(T=new Map),d=T.get(b),void 0===d)T.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function za(){} | ||
var X=0,Aa={readContext:function(a){var b=X;F(a,b);return a[b]},useContext:function(a){V();var b=X;F(a,b);return a[b]},useMemo:function(a,b){N=V();P=W();b=void 0===b?null:b;if(null!==P){var d=P.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();P.memoizedState=[a,b];return a},useReducer:xa,useRef:function(a){N=V();P=W();var b=P.memoizedState; | ||
return null===b?(a={current:a},P.memoizedState=a):b},useState:function(a){return xa(wa,a)},useLayoutEffect:function(){},useCallback:function(a){return a},useImperativeHandle:za,useEffect:za,useDebugValue:za},Ba={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ca(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"}} | ||
var Da={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},Ea=p({menuitem:!0},Da),Y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0, | ||
gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Fa=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(a){Fa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Y[b]=Y[a]})}); | ||
var Ga=/([A-Z])/g,Ha=/^ms-/,Z=q.Children.toArray,Ia=E.ReactCurrentDispatcher,Ja={listing:!0,pre:!0,textarea:!0},Ka=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,La={},Ma={};function Na(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Oa=Object.prototype.hasOwnProperty,Pa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Qa(a,b){void 0===a&&r("152",C(b)||"Component")} | ||
function Ra(a,b,d){function c(c,f){var e=la(f,b,d),g=[],h=!1,l={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===g)return null},enqueueReplaceState:function(a,b){h=!0;g=[b]},enqueueSetState:function(a,b){if(null===g)return null;g.push(b)}},k=void 0;if(f.prototype&&f.prototype.isReactComponent){if(k=new f(c.props,e,l),"function"===typeof f.getDerivedStateFromProps){var t=f.getDerivedStateFromProps.call(null,c.props,k.state);null!=t&&(k.state=p({},k.state,t))}}else if(N={},k=f(c.props, | ||
e,l),k=va(f,c.props,k,e),null==k||null==k.render){a=k;Qa(a,f);return}k.props=c.props;k.context=e;k.updater=l;l=k.state;void 0===l&&(k.state=l=null);if("function"===typeof k.UNSAFE_componentWillMount||"function"===typeof k.componentWillMount)if("function"===typeof k.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.componentWillMount(),"function"===typeof k.UNSAFE_componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.UNSAFE_componentWillMount(),g.length){l=g;var m= | ||
h;g=null;h=!1;if(m&&1===l.length)k.state=l[0];else{t=m?l[0]:k.state;var u=!0;for(m=m?1:0;m<l.length;m++){var w=l[m];w="function"===typeof w?w.call(k,t,c.props,e):w;null!=w&&(u?(u=!1,t=p({},t,w)):p(t,w))}k.state=t}}else g=null;a=k.render();Qa(a,f);c=void 0;if("function"===typeof k.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=k.getChildContext();for(var R in c)R in e?void 0:r("108",C(f)||"Unknown",R)}c&&(b=p({},b,c))}for(;q.isValidElement(a);){var f=a,e=f.type;if("function"!==typeof e)break; | ||
c(f,e)}return{child:a,context:b}} | ||
var Sa=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==x?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:Z(b)):b=Z(b);b={type:null,domNamespace:Ba.html,children:b,childIndex:0,context:ka,footer:""};var c=G[0];if(0===c){var f=G;c=f.length;var e=2*c;65536>=e?void 0:r("304");var h=new Uint16Array(e);h.set(f);G=h;G[0]=c+1;for(f=c;f<e-1;f++)G[f]=f+1;G[e-1]=0}else G[0]=G[c];this.threadID=c;this.stack=[b];this.exhausted= | ||
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;G[a]=G[0];G[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=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[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=Ia.current;Ia.current=Aa;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted= | ||
!0;var h=this.threadID;G[h]=G[0];G[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var D=g.footer;""!==D&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===z)this.popProvider(g.type);else if(g.type===A){this.suspenseDepth--;var B=f.pop();if(e){e=!1;var n=g.fallbackFrame;n?void 0:r("303");this.stack.push(n);continue}else f[this.suspenseDepth]+=B}f[this.suspenseDepth]+= | ||
D}else{var l=g.children[g.childIndex++],k="";try{k+=this.render(l,g.context,g.domNamespace)}catch(t){throw t;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=k}}return f[0]}finally{Ia.current=c,X=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode=!0;return M(c)}d=Ra(a,d,this.threadID);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===ba?r("257"):void 0;r("258",b.toString())}a=Z(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 ca:case fa:case da:case x:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case A:r("294")}if("object"=== | ||
typeof b&&null!==b)switch(b.$$typeof){case ha:N={};var e=b.render(a.props,a.ref);e=va(b.render,a.props,e,a.ref);e=Z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case ia: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 z:return b=Z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c), | ||
"";case ea:b=a.type;e=a.props;var h=this.threadID;F(b,h);b=Z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ja:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===Ba.html&&Ca(b);La.hasOwnProperty(b)||(Ka.test(b)?void 0:r("65",b),La[b]=!0);var e=a.props;if("input"===b)e=p({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue, | ||
checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;null!=g&&(null!=h?r("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:r("93"),g=g[0]),h=""+g);null==h&&(h="")}e=p({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=p({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var D=Na(e.children);if(null!=g){var B=null!=e.value?e.value+ | ||
"":D;h=!1;if(Array.isArray(g))for(var n=0;n<g.length;n++){if(""+g[n]===B){h=!0;break}}else h=""+g===B;e=p({selected:void 0,children:void 0},e,{selected:h,children:D})}}if(h=e)Ea[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"!==typeof h.style?r("62",""):void 0;h=e;g=this.makeStaticMarkup; | ||
D=1===this.stack.length;B="<"+a.type;for(y in h)if(Oa.call(h,y)){var l=h[y];if(null!=l){if("style"===y){n=void 0;var k="",t="";for(n in l)if(l.hasOwnProperty(n)){var m=0===n.indexOf("--"),u=l[n];if(null!=u){var w=n;if(Ma.hasOwnProperty(w))w=Ma[w];else{var R=w.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");w=Ma[w]=R}k+=t+w+":";t=n;m=null==u||"boolean"===typeof u||""===u?"":m||"number"!==typeof u||0===u||Y.hasOwnProperty(t)&&Y[t]?(""+u).trim():u+"px";k+=m;t=";"}}l=k||null}n=null;b:if(m=b,u=h,-1=== | ||
m.indexOf("-"))m="string"===typeof u.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)Pa.hasOwnProperty(y)||(n=y,n=qa(n)&&null!=l?n+"="+('"'+M(l)+'"'):"");else{m=y;n=l;l=J.hasOwnProperty(m)?J[m]:null;if(u="style"!==m)u=null!==l?0===l.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;u||sa(m,n,l,!1)?n="":null!== | ||
l?(m=l.attributeName,l=l.type,n=3===l||4===l&&!0===n?m+'=""':m+"="+('"'+M(n)+'"')):n=qa(m)?m+"="+('"'+M(n)+'"'):""}n&&(B+=" "+n)}}g||D&&(B+=' data-reactroot=""');var y=B;h="";Da.hasOwnProperty(b)?y+="/>":(y+=">",h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=M(g);break a}g=null}null!=g?(e=[],Ja[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=Z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"=== | ||
c?Ca(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return y};return a}(),Ta={renderToString:function(a){a=new Sa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Sa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")}, | ||
version:"16.8.6"},Ua={default:Ta},Va=Ua&&Ta||Ua;module.exports=Va.default||Va; | ||
L);J[b]=new I(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null,!1)}); | ||
J.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null,!0)});var va=/["'&<>]/; | ||
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=va.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a} | ||
function wa(a,b){var d=J.hasOwnProperty(a)?J[a]:null;var c;if(c="style"!==a)c=null!==d?0===d.type:!(2<a.length)||"o"!==a[0]&&"O"!==a[0]||"n"!==a[1]&&"N"!==a[1]?!1:!0;if(c||ua(a,b,d,!1))return"";if(null!==d){a=d.attributeName;c=d.type;if(3===c||4===c&&!0===b)return a+'=""';d.sanitizeURL&&(b=""+b);return a+"="+('"'+M(b)+'"')}return sa(a)?a+"="+('"'+M(b)+'"'):""}var N=null,O=null,P=null,Q=!1,S=!1,T=null,U=0;function V(){if(null===N)throw r(321);return N} | ||
function xa(){if(0<U)throw r(312);return{memoizedState:null,queue:null,next:null}}function W(){null===P?null===O?(Q=!1,O=P=xa()):(Q=!0,P=O):null===P.next?(Q=!1,P=P.next=xa()):(Q=!0,P=P.next);return P}function ya(a,b,d,c){for(;S;)S=!1,U+=1,P=null,d=a(b,c);O=N=null;U=0;P=T=null;return d}function za(a,b){return"function"===typeof b?b(a):b} | ||
function Aa(a,b,d){N=V();P=W();if(Q){var c=P.queue;b=c.dispatch;if(null!==T&&(d=T.get(c),void 0!==d)){T.delete(c);c=P.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);P.memoizedState=c;return[c,b]}return[P.memoizedState,b]}a=a===za?"function"===typeof b?b():b:void 0!==d?d(b):b;P.memoizedState=a;a=P.queue={last:null,dispatch:null};a=a.dispatch=Ba.bind(null,N,a);return[P.memoizedState,a]} | ||
function Ba(a,b,d){if(!(25>U))throw r(301);if(a===N)if(S=!0,a={action:d,next:null},null===T&&(T=new Map),d=T.get(b),void 0===d)T.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function Ca(){} | ||
var X=0,Da={readContext:function(a){var b=X;D(a,b);return a[b]},useContext:function(a){V();var b=X;D(a,b);return a[b]},useMemo:function(a,b){N=V();P=W();b=void 0===b?null:b;if(null!==P){var d=P.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();P.memoizedState=[a,b];return a},useReducer:Aa,useRef:function(a){N=V();P=W();var b=P.memoizedState; | ||
return null===b?(a={current:a},P.memoizedState=a):b},useState:function(a){return Aa(za,a)},useLayoutEffect:function(){},useCallback:function(a){return a},useImperativeHandle:Ca,useEffect:Ca,useDebugValue:Ca},Ea={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Fa(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"}} | ||
var Ga={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},Ha=l({menuitem:!0},Ga),Y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0, | ||
gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ia=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(a){Ia.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Y[b]=Y[a]})}); | ||
var Ja=/([A-Z])/g,Ka=/^ms-/,Z=n.Children.toArray,La=C.ReactCurrentDispatcher,Ma={listing:!0,pre:!0,textarea:!0},Na=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Oa={},Pa={};function Qa(a){if(void 0===a||null===a)return a;var b="";n.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Ra=Object.prototype.hasOwnProperty,Sa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ta(a,b){if(void 0===a)throw r(152,B(b)||"Component");} | ||
function Ua(a,b,d){function c(c,f){var e=na(f,b,d),g=[],h=!1,m={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===g)return null},enqueueReplaceState:function(a,b){h=!0;g=[b]},enqueueSetState:function(a,b){if(null===g)return null;g.push(b)}},k=void 0;if(f.prototype&&f.prototype.isReactComponent){if(k=new f(c.props,e,m),"function"===typeof f.getDerivedStateFromProps){var u=f.getDerivedStateFromProps.call(null,c.props,k.state);null!=u&&(k.state=l({},k.state,u))}}else if(N={},k=f(c.props, | ||
e,m),k=ya(f,c.props,k,e),null==k||null==k.render){a=k;Ta(a,f);return}k.props=c.props;k.context=e;k.updater=m;m=k.state;void 0===m&&(k.state=m=null);if("function"===typeof k.UNSAFE_componentWillMount||"function"===typeof k.componentWillMount)if("function"===typeof k.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.componentWillMount(),"function"===typeof k.UNSAFE_componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.UNSAFE_componentWillMount(),g.length){m=g;var q= | ||
h;g=null;h=!1;if(q&&1===m.length)k.state=m[0];else{u=q?m[0]:k.state;var y=!0;for(q=q?1:0;q<m.length;q++){var w=m[q];w="function"===typeof w?w.call(k,u,c.props,e):w;null!=w&&(y?(y=!1,u=l({},u,w)):l(u,w))}k.state=u}}else g=null;a=k.render();Ta(a,f);c=void 0;if("function"===typeof k.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=k.getChildContext();for(var R in c)if(!(R in e))throw r(108,B(f)||"Unknown",R);}c&&(b=l({},b,c))}for(;n.isValidElement(a);){var f=a,e=f.type;if("function"!== | ||
typeof e)break;c(f,e)}return{child:a,context:b}} | ||
var Va=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");n.isValidElement(b)?b.type!==v?b=[b]:(b=b.props.children,b=n.isValidElement(b)?[b]:Z(b)):b=Z(b);b={type:null,domNamespace:Ea.html,children:b,childIndex:0,context:ma,footer:""};var c=E[0];if(0===c){var f=E;c=f.length;var e=2*c;if(!(65536>=e))throw r(304);var h=new Uint16Array(e);h.set(f);E=h;E[0]=c+1;for(f=c;f<e-1;f++)E[f]=f+1;E[e-1]=0}else E[0]=E[c];this.threadID=c;this.stack=[b];this.exhausted= | ||
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;E[a]=E[0];E[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;D(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=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[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=La.current;La.current=Da;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted= | ||
!0;var h=this.threadID;E[h]=E[0];E[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var H=g.footer;""!==H&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===x)this.popProvider(g.type);else if(g.type===A){this.suspenseDepth--;var F=f.pop();if(e){e=!1;var p=g.fallbackFrame;if(!p)throw r(303);this.stack.push(p);f[this.suspenseDepth]+="\x3c!--$!--\x3e"; | ||
continue}else f[this.suspenseDepth]+=F}f[this.suspenseDepth]+=H}else{var m=g.children[g.childIndex++],k="";try{k+=this.render(m,g.context,g.domNamespace)}catch(u){throw u;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=k}}return f[0]}finally{La.current=c,X=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode= | ||
!0;return M(c)}d=Ua(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!n.isValidElement(a)){if(null!=a&&null!=a.$$typeof){c=a.$$typeof;if(c===aa)throw r(257);throw r(258,c.toString());}a=Z(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}var b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case ba:case ea:case ca:case v:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0, | ||
context:d,footer:""}),"";case A:throw r(294);}if("object"===typeof b&&null!==b)switch(b.$$typeof){case fa:N={};var e=b.render(a.props,a.ref);e=ya(b.render,a.props,e,a.ref);e=Z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case ha:return a=[n.createElement(b.type,l({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case x:return b=Z(a.props.children),c={type:a,domNamespace:c,children:b, | ||
childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case da:b=a.type;e=a.props;var h=this.threadID;D(b,h);b=Z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ja:case ka:throw r(332);case ia:throw r(295);}throw r(130,null==b?b:typeof b,"");};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===Ea.html&&Fa(b);if(!Oa.hasOwnProperty(b)){if(!Na.test(b))throw r(65,b);Oa[b]=!0}var e=a.props;if("input"=== | ||
b)e=l({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;if(null!=g){if(null!=h)throw r(92);if(Array.isArray(g)){if(!(1>=g.length))throw r(93);g=g[0]}h=""+g}null==h&&(h="")}e=l({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=l({},e,{value:void 0}); | ||
else if("option"===b){g=this.currentSelectValue;var H=Qa(e.children);if(null!=g){var F=null!=e.value?e.value+"":H;h=!1;if(Array.isArray(g))for(var p=0;p<g.length;p++){if(""+g[p]===F){h=!0;break}}else h=""+g===F;e=l({selected:void 0,children:void 0},e,{selected:h,children:H})}}if(h=e){if(Ha[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML))throw r(137,b,"");if(null!=h.dangerouslySetInnerHTML){if(null!=h.children)throw r(60);if(!("object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML))throw r(61); | ||
}if(null!=h.style&&"object"!==typeof h.style)throw r(62,"");}h=e;g=this.makeStaticMarkup;H=1===this.stack.length;F="<"+a.type;for(z in h)if(Ra.call(h,z)){var m=h[z];if(null!=m){if("style"===z){p=void 0;var k="",u="";for(p in m)if(m.hasOwnProperty(p)){var q=0===p.indexOf("--"),y=m[p];if(null!=y){var w=p;if(Pa.hasOwnProperty(w))w=Pa[w];else{var R=w.replace(Ja,"-$1").toLowerCase().replace(Ka,"-ms-");w=Pa[w]=R}k+=u+w+":";u=p;q=null==y||"boolean"===typeof y||""===y?"":q||"number"!==typeof y||0===y||Y.hasOwnProperty(u)&& | ||
Y[u]?(""+y).trim():y+"px";k+=q;u=";"}}m=k||null}p=null;b:if(q=b,y=h,-1===q.indexOf("-"))q="string"===typeof y.is;else switch(q){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":q=!1;break b;default:q=!0}q?Sa.hasOwnProperty(z)||(p=z,p=sa(p)&&null!=m?p+"="+('"'+M(m)+'"'):""):p=wa(z,m);p&&(F+=" "+p)}}g||H&&(F+=' data-reactroot=""');var z=F;h="";Ga.hasOwnProperty(b)?z+="/>":(z+=">", | ||
h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=M(g);break a}g=null}null!=g?(e=[],Ma[b]&&"\n"===g.charAt(0)&&(z+="\n"),z+=g):e=Z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?Fa(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode= | ||
!1;return z};return a}(),Wa={renderToString:function(a){a=new Va(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Va(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw r(207);},renderToStaticNodeStream:function(){throw r(208);},version:"16.9.0-alpha.0"},Xa={default:Wa},Ya=Xa&&Wa||Xa;module.exports=Ya.default||Ya; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-server.node.production.min.js | ||
@@ -10,45 +10,46 @@ * | ||
'use strict';var p=require("object-assign"),q=require("react"),aa=require("stream");function ba(a,b,d,c,f,e,h,g){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,f,e,h,g],B=0;a=Error(b.replace(/%s/g,function(){return D[B++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
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)} | ||
var v="function"===typeof Symbol&&Symbol.for,ca=v?Symbol.for("react.portal"):60106,x=v?Symbol.for("react.fragment"):60107,da=v?Symbol.for("react.strict_mode"):60108,ea=v?Symbol.for("react.profiler"):60114,z=v?Symbol.for("react.provider"):60109,fa=v?Symbol.for("react.context"):60110,ha=v?Symbol.for("react.concurrent_mode"):60111,ia=v?Symbol.for("react.forward_ref"):60112,A=v?Symbol.for("react.suspense"):60113,ja=v?Symbol.for("react.memo"):60115,ka=v?Symbol.for("react.lazy"):60116; | ||
function C(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 ha:return"ConcurrentMode";case x:return"Fragment";case ca:return"Portal";case ea:return"Profiler";case da:return"StrictMode";case A:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case fa:return"Context.Consumer";case z:return"Context.Provider";case ia:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")": | ||
"ForwardRef");case ja:return C(a.type);case ka:if(a=1===a._status?a._result:null)return C(a)}return null}var E=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;E.hasOwnProperty("ReactCurrentDispatcher")||(E.ReactCurrentDispatcher={current:null});var la={};function F(a,b){for(var d=a._threadCount|0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1} | ||
function ma(a,b,d){var c=a.contextType;if("object"===typeof c&&null!==c)return F(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=la;return b}for(var G=new Uint16Array(16),H=0;15>H;H++)G[H]=H+1;G[15]=0; | ||
var na=/^[: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]*$/,oa=Object.prototype.hasOwnProperty,pa={},qa={}; | ||
function ra(a){if(oa.call(qa,a))return!0;if(oa.call(pa,a))return!1;if(na.test(a))return qa[a]=!0;pa[a]=!0;return!1}function sa(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}} | ||
function ta(a,b,d,c){if(null===b||"undefined"===typeof b||sa(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 I(a,b,d,c,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b}var J={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){J[a]=new I(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];J[b]=new I(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){J[a]=new I(a,2,!1,a.toLowerCase(),null)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){J[a]=new I(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){J[a]=new I(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a,null)}); | ||
["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()} | ||
'use strict';var l=require("object-assign"),p=require("react"),aa=require("stream");function r(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return Error("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 t="function"===typeof Symbol&&Symbol.for,ba=t?Symbol.for("react.portal"):60106,v=t?Symbol.for("react.fragment"):60107,ca=t?Symbol.for("react.strict_mode"):60108,da=t?Symbol.for("react.profiler"):60114,x=t?Symbol.for("react.provider"):60109,ea=t?Symbol.for("react.context"):60110,fa=t?Symbol.for("react.concurrent_mode"):60111,ha=t?Symbol.for("react.forward_ref"):60112,A=t?Symbol.for("react.suspense"):60113,ia=t?Symbol.for("react.memo"):60115,ja=t?Symbol.for("react.lazy"):60116,ka=t?Symbol.for("react.event_component"): | ||
60117,la=t?Symbol.for("react.event_target"):60118,ma=t?Symbol.for("react.event_target.touch_hit"):60119; | ||
function B(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 fa:return"ConcurrentMode";case v:return"Fragment";case ba:return"Portal";case da:return"Profiler";case ca:return"StrictMode";case A:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case ea:return"Context.Consumer";case x:return"Context.Provider";case ha:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")": | ||
"ForwardRef");case ia:return B(a.type);case ja:if(a=1===a._status?a._result:null)return B(a);break;case ka:a=a.displayName;if(void 0!==a)return a;break;case la:if(a.type===ma)return"TouchHitTarget";a=a.displayName;if(void 0!==a)return a}return null}var C=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;C.hasOwnProperty("ReactCurrentDispatcher")||(C.ReactCurrentDispatcher={current:null});var na={};function D(a,b){for(var d=a._threadCount|0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1} | ||
function oa(a,b,d){var c=a.contextType;if("object"===typeof c&&null!==c)return D(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=na;return b}for(var E=new Uint16Array(16),G=0;15>G;G++)E[G]=G+1;E[15]=0; | ||
var pa=/^[: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]*$/,qa=Object.prototype.hasOwnProperty,ra={},sa={}; | ||
function ta(a){if(qa.call(sa,a))return!0;if(qa.call(ra,a))return!1;if(pa.test(a))return sa[a]=!0;ra[a]=!0;return!1}function ua(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}} | ||
function va(a,b,d,c){if(null===b||"undefined"===typeof b||ua(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 I(a,b,d,c,f,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b;this.sanitizeURL=e}var J={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){J[a]=new I(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];J[b]=new I(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){J[a]=new I(a,2,!1,a.toLowerCase(),null,!1)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){J[a]=new I(a,2,!1,a,null,!1)});"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){J[a]=new I(a,3,!1,a.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a,null,!1)}); | ||
["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null,!1)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()} | ||
"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(K, | ||
L);J[b]=new I(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(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});["tabIndex","crossOrigin"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null)});var ua=/["'&<>]/; | ||
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ua.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}var N=null,O=null,P=null,Q=!1,S=!1,T=null,U=0;function V(){null===N?r("321"):void 0;return N} | ||
function va(){0<U&&r("312");return{memoizedState:null,queue:null,next:null}}function W(){null===P?null===O?(Q=!1,O=P=va()):(Q=!0,P=O):null===P.next?(Q=!1,P=P.next=va()):(Q=!0,P=P.next);return P}function wa(a,b,d,c){for(;S;)S=!1,U+=1,P=null,d=a(b,c);O=N=null;U=0;P=T=null;return d}function xa(a,b){return"function"===typeof b?b(a):b} | ||
function ya(a,b,d){N=V();P=W();if(Q){var c=P.queue;b=c.dispatch;if(null!==T&&(d=T.get(c),void 0!==d)){T.delete(c);c=P.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);P.memoizedState=c;return[c,b]}return[P.memoizedState,b]}a=a===xa?"function"===typeof b?b():b:void 0!==d?d(b):b;P.memoizedState=a;a=P.queue={last:null,dispatch:null};a=a.dispatch=za.bind(null,N,a);return[P.memoizedState,a]} | ||
function za(a,b,d){25>U?void 0:r("301");if(a===N)if(S=!0,a={action:d,next:null},null===T&&(T=new Map),d=T.get(b),void 0===d)T.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function Aa(){} | ||
var X=0,Ba={readContext:function(a){var b=X;F(a,b);return a[b]},useContext:function(a){V();var b=X;F(a,b);return a[b]},useMemo:function(a,b){N=V();P=W();b=void 0===b?null:b;if(null!==P){var d=P.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();P.memoizedState=[a,b];return a},useReducer:ya,useRef:function(a){N=V();P=W();var b=P.memoizedState; | ||
return null===b?(a={current:a},P.memoizedState=a):b},useState:function(a){return ya(xa,a)},useLayoutEffect:function(){},useCallback:function(a){return a},useImperativeHandle:Aa,useEffect:Aa,useDebugValue:Aa},Ca={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Da(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"}} | ||
var Ea={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},Fa=p({menuitem:!0},Ea),Y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0, | ||
gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ga=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(a){Ga.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Y[b]=Y[a]})}); | ||
var Ha=/([A-Z])/g,Ia=/^ms-/,Z=q.Children.toArray,Ja=E.ReactCurrentDispatcher,Ka={listing:!0,pre:!0,textarea:!0},La=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ma={},Na={};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=Object.prototype.hasOwnProperty,Qa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ra(a,b){void 0===a&&r("152",C(b)||"Component")} | ||
function Sa(a,b,d){function c(c,f){var e=ma(f,b,d),g=[],h=!1,l={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===g)return null},enqueueReplaceState:function(a,b){h=!0;g=[b]},enqueueSetState:function(a,b){if(null===g)return null;g.push(b)}},k=void 0;if(f.prototype&&f.prototype.isReactComponent){if(k=new f(c.props,e,l),"function"===typeof f.getDerivedStateFromProps){var t=f.getDerivedStateFromProps.call(null,c.props,k.state);null!=t&&(k.state=p({},k.state,t))}}else if(N={},k=f(c.props, | ||
e,l),k=wa(f,c.props,k,e),null==k||null==k.render){a=k;Ra(a,f);return}k.props=c.props;k.context=e;k.updater=l;l=k.state;void 0===l&&(k.state=l=null);if("function"===typeof k.UNSAFE_componentWillMount||"function"===typeof k.componentWillMount)if("function"===typeof k.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.componentWillMount(),"function"===typeof k.UNSAFE_componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.UNSAFE_componentWillMount(),g.length){l=g;var m= | ||
h;g=null;h=!1;if(m&&1===l.length)k.state=l[0];else{t=m?l[0]:k.state;var u=!0;for(m=m?1:0;m<l.length;m++){var w=l[m];w="function"===typeof w?w.call(k,t,c.props,e):w;null!=w&&(u?(u=!1,t=p({},t,w)):p(t,w))}k.state=t}}else g=null;a=k.render();Ra(a,f);c=void 0;if("function"===typeof k.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=k.getChildContext();for(var R in c)R in e?void 0:r("108",C(f)||"Unknown",R)}c&&(b=p({},b,c))}for(;q.isValidElement(a);){var f=a,e=f.type;if("function"!==typeof e)break; | ||
c(f,e)}return{child:a,context:b}} | ||
var Ta=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==x?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:Z(b)):b=Z(b);b={type:null,domNamespace:Ca.html,children:b,childIndex:0,context:la,footer:""};var c=G[0];if(0===c){var f=G;c=f.length;var e=2*c;65536>=e?void 0:r("304");var h=new Uint16Array(e);h.set(f);G=h;G[0]=c+1;for(f=c;f<e-1;f++)G[f]=f+1;G[e-1]=0}else G[0]=G[c];this.threadID=c;this.stack=[b];this.exhausted= | ||
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;G[a]=G[0];G[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=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[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=Ja.current;Ja.current=Ba;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted= | ||
!0;var h=this.threadID;G[h]=G[0];G[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var D=g.footer;""!==D&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===z)this.popProvider(g.type);else if(g.type===A){this.suspenseDepth--;var B=f.pop();if(e){e=!1;var n=g.fallbackFrame;n?void 0:r("303");this.stack.push(n);continue}else f[this.suspenseDepth]+=B}f[this.suspenseDepth]+= | ||
D}else{var l=g.children[g.childIndex++],k="";try{k+=this.render(l,g.context,g.domNamespace)}catch(t){throw t;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=k}}return f[0]}finally{Ja.current=c,X=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode=!0;return M(c)}d=Sa(a,d,this.threadID);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===ca?r("257"):void 0;r("258",b.toString())}a=Z(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 da:case ha:case ea:case x:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case A:r("294")}if("object"=== | ||
typeof b&&null!==b)switch(b.$$typeof){case ia:N={};var e=b.render(a.props,a.ref);e=wa(b.render,a.props,e,a.ref);e=Z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case ja: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 z:return b=Z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c), | ||
"";case fa:b=a.type;e=a.props;var h=this.threadID;F(b,h);b=Z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ka:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===Ca.html&&Da(b);Ma.hasOwnProperty(b)||(La.test(b)?void 0:r("65",b),Ma[b]=!0);var e=a.props;if("input"===b)e=p({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue, | ||
checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;null!=g&&(null!=h?r("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:r("93"),g=g[0]),h=""+g);null==h&&(h="")}e=p({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=p({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var D=Oa(e.children);if(null!=g){var B=null!=e.value?e.value+ | ||
"":D;h=!1;if(Array.isArray(g))for(var n=0;n<g.length;n++){if(""+g[n]===B){h=!0;break}}else h=""+g===B;e=p({selected:void 0,children:void 0},e,{selected:h,children:D})}}if(h=e)Fa[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"!==typeof h.style?r("62",""):void 0;h=e;g=this.makeStaticMarkup; | ||
D=1===this.stack.length;B="<"+a.type;for(y in h)if(Pa.call(h,y)){var l=h[y];if(null!=l){if("style"===y){n=void 0;var k="",t="";for(n in l)if(l.hasOwnProperty(n)){var m=0===n.indexOf("--"),u=l[n];if(null!=u){var w=n;if(Na.hasOwnProperty(w))w=Na[w];else{var R=w.replace(Ha,"-$1").toLowerCase().replace(Ia,"-ms-");w=Na[w]=R}k+=t+w+":";t=n;m=null==u||"boolean"===typeof u||""===u?"":m||"number"!==typeof u||0===u||Y.hasOwnProperty(t)&&Y[t]?(""+u).trim():u+"px";k+=m;t=";"}}l=k||null}n=null;b:if(m=b,u=h,-1=== | ||
m.indexOf("-"))m="string"===typeof u.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)Qa.hasOwnProperty(y)||(n=y,n=ra(n)&&null!=l?n+"="+('"'+M(l)+'"'):"");else{m=y;n=l;l=J.hasOwnProperty(m)?J[m]:null;if(u="style"!==m)u=null!==l?0===l.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;u||ta(m,n,l,!1)?n="":null!== | ||
l?(m=l.attributeName,l=l.type,n=3===l||4===l&&!0===n?m+'=""':m+"="+('"'+M(n)+'"')):n=ra(m)?m+"="+('"'+M(n)+'"'):""}n&&(B+=" "+n)}}g||D&&(B+=' data-reactroot=""');var y=B;h="";Ea.hasOwnProperty(b)?y+="/>":(y+=">",h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=M(g);break a}g=null}null!=g?(e=[],Ka[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=Z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"=== | ||
c?Da(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return y};return a}(); | ||
function Ua(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)} | ||
var Va=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var f=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");f=!f||"object"!==typeof f&&"function"!==typeof f?this:f;f.partialRenderer=new Ta(d,c);return f}Ua(b,a);b.prototype._destroy=function(a,b){this.partialRenderer.destroy();b(a)};b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.destroy(c)}}; | ||
return b}(aa.Readable),Wa={renderToString:function(a){a=new Ta(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Ta(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(a){return new Va(a,!1)},renderToStaticNodeStream:function(a){return new Va(a,!0)},version:"16.8.6"},Xa={default:Wa},Ya=Xa&&Wa||Xa;module.exports=Ya.default||Ya; | ||
L);J[b]=new I(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null,!1)}); | ||
J.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null,!0)});var wa=/["'&<>]/; | ||
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=wa.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a} | ||
function xa(a,b){var d=J.hasOwnProperty(a)?J[a]:null;var c;if(c="style"!==a)c=null!==d?0===d.type:!(2<a.length)||"o"!==a[0]&&"O"!==a[0]||"n"!==a[1]&&"N"!==a[1]?!1:!0;if(c||va(a,b,d,!1))return"";if(null!==d){a=d.attributeName;c=d.type;if(3===c||4===c&&!0===b)return a+'=""';d.sanitizeURL&&(b=""+b);return a+"="+('"'+M(b)+'"')}return ta(a)?a+"="+('"'+M(b)+'"'):""}var N=null,O=null,P=null,Q=!1,S=!1,T=null,U=0;function V(){if(null===N)throw r(321);return N} | ||
function ya(){if(0<U)throw r(312);return{memoizedState:null,queue:null,next:null}}function W(){null===P?null===O?(Q=!1,O=P=ya()):(Q=!0,P=O):null===P.next?(Q=!1,P=P.next=ya()):(Q=!0,P=P.next);return P}function za(a,b,d,c){for(;S;)S=!1,U+=1,P=null,d=a(b,c);O=N=null;U=0;P=T=null;return d}function Aa(a,b){return"function"===typeof b?b(a):b} | ||
function Ba(a,b,d){N=V();P=W();if(Q){var c=P.queue;b=c.dispatch;if(null!==T&&(d=T.get(c),void 0!==d)){T.delete(c);c=P.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);P.memoizedState=c;return[c,b]}return[P.memoizedState,b]}a=a===Aa?"function"===typeof b?b():b:void 0!==d?d(b):b;P.memoizedState=a;a=P.queue={last:null,dispatch:null};a=a.dispatch=Ca.bind(null,N,a);return[P.memoizedState,a]} | ||
function Ca(a,b,d){if(!(25>U))throw r(301);if(a===N)if(S=!0,a={action:d,next:null},null===T&&(T=new Map),d=T.get(b),void 0===d)T.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function Da(){} | ||
var X=0,Ea={readContext:function(a){var b=X;D(a,b);return a[b]},useContext:function(a){V();var b=X;D(a,b);return a[b]},useMemo:function(a,b){N=V();P=W();b=void 0===b?null:b;if(null!==P){var d=P.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();P.memoizedState=[a,b];return a},useReducer:Ba,useRef:function(a){N=V();P=W();var b=P.memoizedState; | ||
return null===b?(a={current:a},P.memoizedState=a):b},useState:function(a){return Ba(Aa,a)},useLayoutEffect:function(){},useCallback:function(a){return a},useImperativeHandle:Da,useEffect:Da,useDebugValue:Da},Fa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ga(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"}} | ||
var Ha={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ia=l({menuitem:!0},Ha),Y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0, | ||
gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ja=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(a){Ja.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Y[b]=Y[a]})}); | ||
var Ka=/([A-Z])/g,La=/^ms-/,Z=p.Children.toArray,Ma=C.ReactCurrentDispatcher,Na={listing:!0,pre:!0,textarea:!0},Oa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Pa={},Qa={};function Ra(a){if(void 0===a||null===a)return a;var b="";p.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Sa=Object.prototype.hasOwnProperty,Ta={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ua(a,b){if(void 0===a)throw r(152,B(b)||"Component");} | ||
function Va(a,b,d){function c(c,f){var e=oa(f,b,d),g=[],h=!1,m={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===g)return null},enqueueReplaceState:function(a,b){h=!0;g=[b]},enqueueSetState:function(a,b){if(null===g)return null;g.push(b)}},k=void 0;if(f.prototype&&f.prototype.isReactComponent){if(k=new f(c.props,e,m),"function"===typeof f.getDerivedStateFromProps){var u=f.getDerivedStateFromProps.call(null,c.props,k.state);null!=u&&(k.state=l({},k.state,u))}}else if(N={},k=f(c.props, | ||
e,m),k=za(f,c.props,k,e),null==k||null==k.render){a=k;Ua(a,f);return}k.props=c.props;k.context=e;k.updater=m;m=k.state;void 0===m&&(k.state=m=null);if("function"===typeof k.UNSAFE_componentWillMount||"function"===typeof k.componentWillMount)if("function"===typeof k.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.componentWillMount(),"function"===typeof k.UNSAFE_componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&k.UNSAFE_componentWillMount(),g.length){m=g;var q= | ||
h;g=null;h=!1;if(q&&1===m.length)k.state=m[0];else{u=q?m[0]:k.state;var y=!0;for(q=q?1:0;q<m.length;q++){var w=m[q];w="function"===typeof w?w.call(k,u,c.props,e):w;null!=w&&(y?(y=!1,u=l({},u,w)):l(u,w))}k.state=u}}else g=null;a=k.render();Ua(a,f);c=void 0;if("function"===typeof k.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=k.getChildContext();for(var R in c)if(!(R in e))throw r(108,B(f)||"Unknown",R);}c&&(b=l({},b,c))}for(;p.isValidElement(a);){var f=a,e=f.type;if("function"!== | ||
typeof e)break;c(f,e)}return{child:a,context:b}} | ||
var Wa=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");p.isValidElement(b)?b.type!==v?b=[b]:(b=b.props.children,b=p.isValidElement(b)?[b]:Z(b)):b=Z(b);b={type:null,domNamespace:Fa.html,children:b,childIndex:0,context:na,footer:""};var c=E[0];if(0===c){var f=E;c=f.length;var e=2*c;if(!(65536>=e))throw r(304);var h=new Uint16Array(e);h.set(f);E=h;E[0]=c+1;for(f=c;f<e-1;f++)E[f]=f+1;E[e-1]=0}else E[0]=E[c];this.threadID=c;this.stack=[b];this.exhausted= | ||
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;E[a]=E[0];E[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;D(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=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[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=Ma.current;Ma.current=Ea;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted= | ||
!0;var h=this.threadID;E[h]=E[0];E[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var H=g.footer;""!==H&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===x)this.popProvider(g.type);else if(g.type===A){this.suspenseDepth--;var F=f.pop();if(e){e=!1;var n=g.fallbackFrame;if(!n)throw r(303);this.stack.push(n);f[this.suspenseDepth]+="\x3c!--$!--\x3e"; | ||
continue}else f[this.suspenseDepth]+=F}f[this.suspenseDepth]+=H}else{var m=g.children[g.childIndex++],k="";try{k+=this.render(m,g.context,g.domNamespace)}catch(u){throw u;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=k}}return f[0]}finally{Ma.current=c,X=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode= | ||
!0;return M(c)}d=Va(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!p.isValidElement(a)){if(null!=a&&null!=a.$$typeof){c=a.$$typeof;if(c===ba)throw r(257);throw r(258,c.toString());}a=Z(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}var b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case ca:case fa:case da:case v:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0, | ||
context:d,footer:""}),"";case A:throw r(294);}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ha:N={};var e=b.render(a.props,a.ref);e=za(b.render,a.props,e,a.ref);e=Z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case ia:return a=[p.createElement(b.type,l({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case x:return b=Z(a.props.children),c={type:a,domNamespace:c,children:b, | ||
childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case ea:b=a.type;e=a.props;var h=this.threadID;D(b,h);b=Z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ka:case la:throw r(332);case ja:throw r(295);}throw r(130,null==b?b:typeof b,"");};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===Fa.html&&Ga(b);if(!Pa.hasOwnProperty(b)){if(!Oa.test(b))throw r(65,b);Pa[b]=!0}var e=a.props;if("input"=== | ||
b)e=l({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;if(null!=g){if(null!=h)throw r(92);if(Array.isArray(g)){if(!(1>=g.length))throw r(93);g=g[0]}h=""+g}null==h&&(h="")}e=l({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=l({},e,{value:void 0}); | ||
else if("option"===b){g=this.currentSelectValue;var H=Ra(e.children);if(null!=g){var F=null!=e.value?e.value+"":H;h=!1;if(Array.isArray(g))for(var n=0;n<g.length;n++){if(""+g[n]===F){h=!0;break}}else h=""+g===F;e=l({selected:void 0,children:void 0},e,{selected:h,children:H})}}if(h=e){if(Ia[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML))throw r(137,b,"");if(null!=h.dangerouslySetInnerHTML){if(null!=h.children)throw r(60);if(!("object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML))throw r(61); | ||
}if(null!=h.style&&"object"!==typeof h.style)throw r(62,"");}h=e;g=this.makeStaticMarkup;H=1===this.stack.length;F="<"+a.type;for(z in h)if(Sa.call(h,z)){var m=h[z];if(null!=m){if("style"===z){n=void 0;var k="",u="";for(n in m)if(m.hasOwnProperty(n)){var q=0===n.indexOf("--"),y=m[n];if(null!=y){var w=n;if(Qa.hasOwnProperty(w))w=Qa[w];else{var R=w.replace(Ka,"-$1").toLowerCase().replace(La,"-ms-");w=Qa[w]=R}k+=u+w+":";u=n;q=null==y||"boolean"===typeof y||""===y?"":q||"number"!==typeof y||0===y||Y.hasOwnProperty(u)&& | ||
Y[u]?(""+y).trim():y+"px";k+=q;u=";"}}m=k||null}n=null;b:if(q=b,y=h,-1===q.indexOf("-"))q="string"===typeof y.is;else switch(q){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":q=!1;break b;default:q=!0}q?Ta.hasOwnProperty(z)||(n=z,n=ta(n)&&null!=m?n+"="+('"'+M(m)+'"'):""):n=xa(z,m);n&&(F+=" "+n)}}g||H&&(F+=' data-reactroot=""');var z=F;h="";Ha.hasOwnProperty(b)?z+="/>":(z+=">", | ||
h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=M(g);break a}g=null}null!=g?(e=[],Na[b]&&"\n"===g.charAt(0)&&(z+="\n"),z+=g):e=Z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?Ga(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode= | ||
!1;return z};return a}();function Xa(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)} | ||
var Ya=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var f=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");f=!f||"object"!==typeof f&&"function"!==typeof f?this:f;f.partialRenderer=new Wa(d,c);return f}Xa(b,a);b.prototype._destroy=function(a,b){this.partialRenderer.destroy();b(a)};b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.destroy(c)}}; | ||
return b}(aa.Readable),Za={renderToString:function(a){a=new Wa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Wa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(a){return new Ya(a,!1)},renderToStaticNodeStream:function(a){return new Ya(a,!0)},version:"16.9.0-alpha.0"},$a={default:Za},ab=$a&&Za||$a;module.exports=ab.default||ab; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-test-utils.development.js | ||
@@ -22,2 +22,16 @@ * | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
function ReactError(message) { | ||
var error = new Error(message); | ||
error.name = 'Invariant Violation'; | ||
return error; | ||
} | ||
/** | ||
@@ -34,36 +48,2 @@ * Use invariant() to assert state which your program assumes to be true. | ||
var validateFormat = function () {}; | ||
{ | ||
validateFormat = function (format) { | ||
if (format === undefined) { | ||
throw new Error('invariant requires an error message argument'); | ||
} | ||
}; | ||
} | ||
function invariant(condition, format, a, b, c, d, e, f) { | ||
validateFormat(format); | ||
if (!condition) { | ||
var error = void 0; | ||
if (format === undefined) { | ||
error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); | ||
} else { | ||
var args = [a, b, c, d, e, f]; | ||
var argIndex = 0; | ||
error = new Error(format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
})); | ||
error.name = 'Invariant Violation'; | ||
} | ||
error.framesToPop = 1; // we don't care about invariant's own frame | ||
throw error; | ||
} | ||
} | ||
// Relying on the `invariant()` implementation lets us | ||
// preserve the format and params in the www builds. | ||
/** | ||
@@ -154,2 +134,19 @@ * Similar to invariant but only logs a warning if the condition is not met. | ||
// React event targets | ||
var FunctionComponent = 0; | ||
@@ -224,3 +221,9 @@ var ClassComponent = 1; | ||
function assertIsMounted(fiber) { | ||
!(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0; | ||
(function () { | ||
if (!(isFiberMountedImpl(fiber) === MOUNTED)) { | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
} | ||
@@ -233,3 +236,9 @@ | ||
var state = isFiberMountedImpl(fiber); | ||
!(state !== UNMOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0; | ||
(function () { | ||
if (!(state !== UNMOUNTED)) { | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
if (state === MOUNTING) { | ||
@@ -273,3 +282,9 @@ return null; | ||
// way this could possibly happen is if this was unmounted, if at all. | ||
invariant(false, 'Unable to find node on an unmounted component.'); | ||
(function () { | ||
{ | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
} | ||
@@ -325,11 +340,29 @@ | ||
} | ||
!didFindChild ? invariant(false, 'Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.') : void 0; | ||
(function () { | ||
if (!didFindChild) { | ||
{ | ||
throw ReactError('Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.'); | ||
} | ||
} | ||
})(); | ||
} | ||
} | ||
!(a.alternate === b) ? invariant(false, 'Return fibers should always be each others\' alternates. This error is likely caused by a bug in React. Please file an issue.') : void 0; | ||
(function () { | ||
if (!(a.alternate === b)) { | ||
{ | ||
throw ReactError('Return fibers should always be each others\' alternates. This error is likely caused by a bug in React. Please file an issue.'); | ||
} | ||
} | ||
})(); | ||
} | ||
// If the root is not a host container, we're in a disconnected tree. I.e. | ||
// unmounted. | ||
!(a.tag === HostRoot) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0; | ||
(function () { | ||
if (!(a.tag === HostRoot)) { | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
if (a.stateNode.current === a) { | ||
@@ -591,3 +624,9 @@ // We've determined that A is the current branch. | ||
var EventConstructor = this; | ||
!(event instanceof EventConstructor) ? invariant(false, 'Trying to release an event instance into a pool of a different type.') : void 0; | ||
(function () { | ||
if (!(event instanceof EventConstructor)) { | ||
{ | ||
throw ReactError('Trying to release an event instance into a pool of a different type.'); | ||
} | ||
} | ||
})(); | ||
event.destructor(); | ||
@@ -851,6 +890,164 @@ if (EventConstructor.eventPool.length < EVENT_POOL_SIZE) { | ||
// for .act's return value | ||
var PLUGIN_EVENT_SYSTEM = 1; | ||
var didWarnAboutMessageChannel = false; | ||
var enqueueTask = void 0; | ||
try { | ||
// read require off the module object to get around the bundlers. | ||
// we don't want them to detect a require and bundle a Node polyfill. | ||
var requireString = ('require' + Math.random()).slice(0, 7); | ||
var nodeRequire = module && module[requireString]; | ||
// assuming we're in node, let's try to get node's | ||
// version of setImmediate, bypassing fake timers if any. | ||
enqueueTask = nodeRequire('timers').setImmediate; | ||
} catch (_err) { | ||
// we're in a browser | ||
// we can't use regular timers because they may still be faked | ||
// so we try MessageChannel+postMessage instead | ||
enqueueTask = function (callback) { | ||
{ | ||
if (didWarnAboutMessageChannel === false) { | ||
didWarnAboutMessageChannel = true; | ||
!(typeof MessageChannel !== 'undefined') ? warningWithoutStack$1(false, 'This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.') : void 0; | ||
} | ||
} | ||
var channel = new MessageChannel(); | ||
channel.port1.onmessage = callback; | ||
channel.port2.postMessage(undefined); | ||
}; | ||
} | ||
var enqueueTask$1 = enqueueTask; | ||
// Keep in sync with ReactDOMUnstableNativeDependencies.js | ||
// ReactDOM.js, and ReactTestUtils.js: | ||
var _ReactDOM$__SECRET_IN$1 = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; | ||
var getInstanceFromNode$1 = _ReactDOM$__SECRET_IN$1[0]; | ||
var getNodeFromInstance$1 = _ReactDOM$__SECRET_IN$1[1]; | ||
var getFiberCurrentPropsFromNode$1 = _ReactDOM$__SECRET_IN$1[2]; | ||
var injectEventPluginsByName$1 = _ReactDOM$__SECRET_IN$1[3]; | ||
var eventNameDispatchConfigs$1 = _ReactDOM$__SECRET_IN$1[4]; | ||
var accumulateTwoPhaseDispatches$1 = _ReactDOM$__SECRET_IN$1[5]; | ||
var accumulateDirectDispatches$1 = _ReactDOM$__SECRET_IN$1[6]; | ||
var enqueueStateRestore$1 = _ReactDOM$__SECRET_IN$1[7]; | ||
var restoreStateIfNeeded$1 = _ReactDOM$__SECRET_IN$1[8]; | ||
var dispatchEvent$1 = _ReactDOM$__SECRET_IN$1[9]; | ||
var runEventsInBatch$1 = _ReactDOM$__SECRET_IN$1[10]; | ||
var flushPassiveEffects$1 = _ReactDOM$__SECRET_IN$1[11]; | ||
var batchedUpdates = ReactDOM.unstable_batchedUpdates; | ||
var ReactShouldWarnActingUpdates = ReactSharedInternals.ReactShouldWarnActingUpdates; | ||
// this implementation should be exactly the same in | ||
// ReactTestUtilsAct.js, ReactTestRendererAct.js, createReactNoop.js | ||
// we track the 'depth' of the act() calls with this counter, | ||
// so we can tell if any async act() calls try to run in parallel. | ||
var actingUpdatesScopeDepth = 0; | ||
function flushEffectsAndMicroTasks(onDone) { | ||
try { | ||
flushPassiveEffects$1(); | ||
enqueueTask$1(function () { | ||
if (flushPassiveEffects$1()) { | ||
flushEffectsAndMicroTasks(onDone); | ||
} else { | ||
onDone(); | ||
} | ||
}); | ||
} catch (err) { | ||
onDone(err); | ||
} | ||
} | ||
function act(callback) { | ||
var previousActingUpdatesScopeDepth = void 0; | ||
{ | ||
previousActingUpdatesScopeDepth = actingUpdatesScopeDepth; | ||
actingUpdatesScopeDepth++; | ||
ReactShouldWarnActingUpdates.current = true; | ||
} | ||
function onDone() { | ||
{ | ||
actingUpdatesScopeDepth--; | ||
if (actingUpdatesScopeDepth === 0) { | ||
ReactShouldWarnActingUpdates.current = false; | ||
} | ||
if (actingUpdatesScopeDepth > previousActingUpdatesScopeDepth) { | ||
// if it's _less than_ previousActingUpdatesScopeDepth, then we can assume the 'other' one has warned | ||
warningWithoutStack$1(false, 'You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. '); | ||
} | ||
} | ||
} | ||
var result = batchedUpdates(callback); | ||
if (result !== null && typeof result === 'object' && typeof result.then === 'function') { | ||
// setup a boolean that gets set to true only | ||
// once this act() call is await-ed | ||
var called = false; | ||
{ | ||
if (typeof Promise !== 'undefined') { | ||
//eslint-disable-next-line no-undef | ||
Promise.resolve().then(function () {}).then(function () { | ||
if (called === false) { | ||
warningWithoutStack$1(false, 'You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, interleaving multiple act ' + 'calls and mixing their scopes. You should - await act(async () => ...);'); | ||
} | ||
}); | ||
} | ||
} | ||
// in the async case, the returned thenable runs the callback, flushes | ||
// effects and microtasks in a loop until flushPassiveEffects() === false, | ||
// and cleans up | ||
return { | ||
then: function (resolve, reject) { | ||
called = true; | ||
result.then(function () { | ||
flushEffectsAndMicroTasks(function (err) { | ||
onDone(); | ||
if (err) { | ||
reject(err); | ||
} else { | ||
resolve(); | ||
} | ||
}); | ||
}, function (err) { | ||
onDone(); | ||
reject(err); | ||
}); | ||
} | ||
}; | ||
} else { | ||
{ | ||
!(result === undefined) ? warningWithoutStack$1(false, 'The callback passed to act(...) function ' + 'must return undefined, or a Promise. You returned %s', result) : void 0; | ||
} | ||
// flush effects until none remain, and cleanup | ||
try { | ||
while (flushPassiveEffects$1()) {} | ||
onDone(); | ||
} catch (err) { | ||
onDone(); | ||
throw err; | ||
} | ||
// in the sync case, the returned thenable only warns *if* await-ed | ||
return { | ||
then: function (resolve) { | ||
{ | ||
warningWithoutStack$1(false, 'Do not await the result of calling act(...) with sync logic, it is not a Promise.'); | ||
} | ||
resolve(); | ||
} | ||
}; | ||
} | ||
} | ||
var findDOMNode = ReactDOM.findDOMNode; | ||
// Keep in sync with ReactDOMUnstableNativeDependencies.js | ||
// and ReactDOM.js: | ||
// ReactDOM.js, and ReactTestUtilsAct.js: | ||
@@ -869,2 +1066,3 @@ var _ReactDOM$__SECRET_IN = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; | ||
var runEventsInBatch = _ReactDOM$__SECRET_IN[10]; | ||
var flushPassiveEffects = _ReactDOM$__SECRET_IN[11]; | ||
@@ -889,3 +1087,3 @@ | ||
fakeNativeEvent.target = node; | ||
dispatchEvent(topLevelType, fakeNativeEvent); | ||
dispatchEvent(topLevelType, PLUGIN_EVENT_SYSTEM, fakeNativeEvent); | ||
} | ||
@@ -960,8 +1158,17 @@ | ||
} | ||
invariant(false, '%s(...): the first argument must be a React class instance. Instead received: %s.', methodName, received); | ||
(function () { | ||
{ | ||
{ | ||
throw ReactError(methodName + '(...): the first argument must be a React class instance. Instead received: ' + received + '.'); | ||
} | ||
} | ||
})(); | ||
} | ||
// a stub element, lazily initialized, used by act() when flushing effects | ||
// a plain dom element, lazily initialized, used by act() when flushing effects | ||
var actContainerElement = null; | ||
// a warning for when you try to use TestUtils.act in a non-browser environment | ||
var didWarnAboutActInNodejs = false; | ||
/** | ||
@@ -1047,3 +1254,9 @@ * Utilities for making it easy to test React components. | ||
if (!Array.isArray(classNames)) { | ||
!(classNames !== undefined) ? invariant(false, 'TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.') : void 0; | ||
(function () { | ||
if (!(classNames !== undefined)) { | ||
{ | ||
throw ReactError('TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.'); | ||
} | ||
} | ||
})(); | ||
classNames = classNames.split(/\s+/); | ||
@@ -1166,34 +1379,13 @@ } | ||
if (actContainerElement === null) { | ||
// warn if we can't actually create the stub element | ||
{ | ||
!(typeof document !== 'undefined' && document !== null && typeof document.createElement === 'function') ? warningWithoutStack$1(false, 'It looks like you called TestUtils.act(...) in a non-browser environment. ' + "If you're using TestRenderer for your tests, you should call " + 'TestRenderer.act(...) instead of TestUtils.act(...).') : void 0; | ||
// warn if we're trying to use this in something like node (without jsdom) | ||
if (didWarnAboutActInNodejs === false) { | ||
didWarnAboutActInNodejs = true; | ||
!(typeof document !== 'undefined' && document !== null) ? warningWithoutStack$1(false, 'It looks like you called ReactTestUtils.act(...) in a non-browser environment. ' + "If you're using TestRenderer for your tests, you should call " + 'ReactTestRenderer.act(...) instead of ReactTestUtils.act(...).') : void 0; | ||
} | ||
} | ||
// then make it | ||
// now make the stub element | ||
actContainerElement = document.createElement('div'); | ||
} | ||
var result = ReactDOM.unstable_batchedUpdates(callback); | ||
// note: keep these warning messages in sync with | ||
// createReactNoop.js and ReactTestRenderer.js | ||
{ | ||
if (result !== undefined) { | ||
var addendum = void 0; | ||
if (result !== null && typeof result.then === 'function') { | ||
addendum = '\n\nIt looks like you wrote ReactTestUtils.act(async () => ...), ' + 'or returned a Promise from the callback passed to it. ' + 'Putting asynchronous logic inside ReactTestUtils.act(...) is not supported.\n'; | ||
} else { | ||
addendum = ' You returned: ' + result; | ||
} | ||
warningWithoutStack$1(false, 'The callback passed to ReactTestUtils.act(...) function must not return anything.%s', addendum); | ||
} | ||
} | ||
ReactDOM.render(React.createElement('div', null), actContainerElement); | ||
// we want the user to not expect a return, | ||
// but we want to warn if they use it like they can await on it. | ||
return { | ||
then: function () { | ||
{ | ||
warningWithoutStack$1(false, 'Do not await the result of calling ReactTestUtils.act(...), it is not a Promise.'); | ||
} | ||
} | ||
}; | ||
return act(callback); | ||
} | ||
@@ -1212,4 +1404,16 @@ }; | ||
return function (domNode, eventData) { | ||
!!React.isValidElement(domNode) ? invariant(false, 'TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.') : void 0; | ||
!!ReactTestUtils.isCompositeComponent(domNode) ? invariant(false, 'TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.') : void 0; | ||
(function () { | ||
if (!!React.isValidElement(domNode)) { | ||
{ | ||
throw ReactError('TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.'); | ||
} | ||
} | ||
})(); | ||
(function () { | ||
if (!!ReactTestUtils.isCompositeComponent(domNode)) { | ||
{ | ||
throw ReactError('TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.'); | ||
} | ||
} | ||
})(); | ||
@@ -1216,0 +1420,0 @@ var dispatchConfig = eventNameDispatchConfigs[eventType]; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-test-utils.production.min.js | ||
@@ -10,25 +10,26 @@ * | ||
'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 N=[c,e,d,k,f,h],O=0;a=Error(b.replace(/%s/g,function(){return N[O++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
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)}var q=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;q.hasOwnProperty("ReactCurrentDispatcher")||(q.ReactCurrentDispatcher={current:null}); | ||
function r(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 t(a){2!==r(a)?p("188"):void 0} | ||
function u(a){var b=a.alternate;if(!b)return b=r(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 t(d),a;if(f===e)return t(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: | ||
p("189")}}c.alternate!==e?p("190"):void 0}3!==c.tag?p("188"):void 0;return c.stateNode.current===c?a:b}function v(){return!0}function w(){return!1}function x(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)?v:w;this.isPropagationStopped=w;return this} | ||
g(x.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(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(){this.isPersistent=v},isPersistent:w,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]= | ||
null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=w;this._dispatchInstances=this._dispatchListeners=null}});x.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}; | ||
x.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;y(c);return c};y(x);function z(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 A(a){a instanceof this?void 0:p("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)} | ||
function y(a){a.eventPool=[];a.getPooled=z;a.release=A}var B=!("undefined"===typeof window||!window.document||!window.document.createElement);function C(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var D={animationend:C("Animation","AnimationEnd"),animationiteration:C("Animation","AnimationIteration"),animationstart:C("Animation","AnimationStart"),transitionend:C("Transition","TransitionEnd")},E={},F={}; | ||
B&&(F=document.createElement("div").style,"AnimationEvent"in window||(delete D.animationend.animation,delete D.animationiteration.animation,delete D.animationstart.animation),"TransitionEvent"in window||delete D.transitionend.transition);function G(a){if(E[a])return E[a];if(!D[a])return a;var b=D[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in F)return E[a]=b[c];return a} | ||
var H=G("animationend"),I=G("animationiteration"),J=G("animationstart"),K=G("transitionend"),L=m.findDOMNode,M=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,P=M[0],Q=M[4],R=M[5],aa=M[6],ba=M[7],ca=M[8],S=M[9],da=M[10];function T(){} | ||
function ea(a,b){if(!a)return[];a=u(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}}} | ||
function U(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)}} | ||
'use strict';var f=require("object-assign"),l=require("react"),m=require("react-dom");function n(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 Error("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 p=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
p.hasOwnProperty("ReactCurrentDispatcher")||(p.ReactCurrentDispatcher={current:null});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){var b=a.alternate;if(!b){b=q(a);if(3===b)throw n(188);return 1===b?null:a}for(var c=a,e=b;;){var d=c.return,g=d?d.alternate:null;if(!d||!g)break;if(d.child===g.child){for(g=d.child;g;){if(g===c){if(2!==q(d))break;return a}if(g===e){if(2!==q(d))break;return b}g=g.sibling}throw n(188);}if(c.return!==e.return)c=d,e=g;else{for(var h=!1,k=d.child;k;){if(k===c){h=!0;c=d;e=g;break}if(k===e){h=!0;e=d;c=g;break}k=k.sibling}if(!h){for(k=g.child;k;){if(k===c){h=!0;c=g;e=d;break}if(k===e){h=!0; | ||
e=g;c=d;break}k=k.sibling}if(!h)throw n(189);}}if(c.alternate!==e)throw n(190);}if(3!==c.tag)throw n(188);return c.stateNode.current===c?a:b}function t(){return!0}function u(){return!1} | ||
function v(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)?t:u;this.isPropagationStopped=u;return this} | ||
f(v.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=t)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=t)},persist:function(){this.isPersistent=t},isPersistent:u,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]= | ||
null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=u;this._dispatchInstances=this._dispatchListeners=null}});v.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}; | ||
v.extend=function(a){function b(){}function c(){return e.apply(this,arguments)}var e=this;b.prototype=e.prototype;var d=new b;f(d,c.prototype);c.prototype=d;c.prototype.constructor=c;c.Interface=f({},e.Interface,a);c.extend=e.extend;w(c);return c};w(v);function x(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 y(a){if(!(a instanceof this))throw n(279);a.destructor();10>this.eventPool.length&&this.eventPool.push(a)} | ||
function w(a){a.eventPool=[];a.getPooled=x;a.release=y}var z=!("undefined"===typeof window||!window.document||!window.document.createElement);function A(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var B={animationend:A("Animation","AnimationEnd"),animationiteration:A("Animation","AnimationIteration"),animationstart:A("Animation","AnimationStart"),transitionend:A("Transition","TransitionEnd")},C={},D={}; | ||
z&&(D=document.createElement("div").style,"AnimationEvent"in window||(delete B.animationend.animation,delete B.animationiteration.animation,delete B.animationstart.animation),"TransitionEvent"in window||delete B.transitionend.transition);function E(a){if(C[a])return C[a];if(!B[a])return a;var b=B[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in D)return C[a]=b[c];return a}var F=E("animationend"),G=E("animationiteration"),H=E("animationstart"),I=E("transitionend"),J=void 0; | ||
try{var K=("require"+Math.random()).slice(0,7);J=(module&&module[K])("timers").setImmediate}catch(a){J=function(b){var c=new MessageChannel;c.port1.onmessage=b;c.port2.postMessage(void 0)}}var L=J,M=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events[11],N=m.unstable_batchedUpdates;function O(a){try{M(),L(function(){M()?O(a):a()})}catch(b){a(b)}} | ||
function P(a){var b=N(a);if(null!==b&&"object"===typeof b&&"function"===typeof b.then)return{then:function(a,e){b.then(function(){O(function(b){b?e(b):a()})},function(a){e(a)})}};try{for(;M(););}catch(c){throw c;}return{then:function(a){a()}}}var aa=m.findDOMNode,Q=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,ba=Q[0],R=Q[4],ca=Q[5],da=Q[6],ea=Q[7],fa=Q[8],S=Q[9],ha=Q[10];function T(){} | ||
function ia(a,b){if(!a)return[];a=r(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}}} | ||
function U(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;throw n(286,b,a);}} | ||
var V=null,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,b){return W.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){U(a,"findAllInRenderedTree");return a?ea(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){U(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!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){U(a,"findRenderedDOMComponentWithClass");a=W.scryRenderedDOMComponentsWithClass(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]},scryRenderedDOMComponentsWithTag:function(a,b){U(a,"scryRenderedDOMComponentsWithTag");return W.findAllInRenderedTree(a,function(a){return W.isDOMComponent(a)&&a.tagName.toUpperCase()=== | ||
isCompositeComponentWithType:function(a,b){return W.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){U(a,"findAllInRenderedTree");return a?ia(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){U(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+/);if(!Array.isArray(b)){if(void 0=== | ||
b)throw n(11);b=b.split(/\s+/)}return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){U(a,"findRenderedDOMComponentWithClass");a=W.scryRenderedDOMComponentsWithClass(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]},scryRenderedDOMComponentsWithTag:function(a,b){U(a,"scryRenderedDOMComponentsWithTag");return W.findAllInRenderedTree(a,function(a){return W.isDOMComponent(a)&&a.tagName.toUpperCase()=== | ||
b.toUpperCase()})},findRenderedDOMComponentWithTag:function(a,b){U(a,"findRenderedDOMComponentWithTag");a=W.scryRenderedDOMComponentsWithTag(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for tag:"+b);return a[0]},scryRenderedComponentsWithType:function(a,b){U(a,"scryRenderedComponentsWithType");return W.findAllInRenderedTree(a,function(a){return W.isCompositeComponentWithType(a,b)})},findRenderedComponentWithType:function(a,b){U(a,"findRenderedComponentWithType"); | ||
a=W.scryRenderedComponentsWithType(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]},mockComponent:function(a,b){b=b||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return l.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{},act:function(a){null===V&&(V=document.createElement("div"));m.unstable_batchedUpdates(a); | ||
m.render(l.createElement("div",null),V);return{then:function(){}}}};function fa(a){return function(b,c){l.isValidElement(b)?p("228"):void 0;W.isCompositeComponent(b)?p("229"):void 0;var e=Q[a],d=new T;d.target=b;d.type=a.toLowerCase();var k=P(b),f=new x(e,k,d,b);f.persist();g(f,c);e.phasedRegistrationNames?R(f):aa(f);m.unstable_batchedUpdates(function(){ba(b);da(f)});ca()}}W.Simulate={};var X=void 0;for(X in Q)W.Simulate[X]=fa(X); | ||
function ha(a,b){return function(c,e){var d=new T(a);g(d,e);W.isDOMComponent(c)?(c=L(c),d.target=c,S(b,d)):c.tagName&&(d.target=c,S(b,d))}} | ||
[["abort","abort"],[H,"animationEnd"],[I,"animationIteration"],[J,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay","canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"],["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter","dragEnter"],["dragexit","dragExit"], | ||
a=W.scryRenderedComponentsWithType(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]},mockComponent:function(a,b){b=b||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return l.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{},act:function(a){null===V&&(V=document.createElement("div"));return P(a)}}; | ||
function ja(a){return function(b,c){if(l.isValidElement(b))throw n(228);if(W.isCompositeComponent(b))throw n(229);var e=R[a],d=new T;d.target=b;d.type=a.toLowerCase();var g=ba(b),h=new v(e,g,d,b);h.persist();f(h,c);e.phasedRegistrationNames?ca(h):da(h);m.unstable_batchedUpdates(function(){ea(b);ha(h)});fa()}}W.Simulate={};var X=void 0;for(X in R)W.Simulate[X]=ja(X); | ||
function ka(a,b){return function(c,e){var d=new T(a);f(d,e);W.isDOMComponent(c)?(c=aa(c),d.target=c,S(b,1,d)):c.tagName&&(d.target=c,S(b,1,d))}} | ||
[["abort","abort"],[F,"animationEnd"],[G,"animationIteration"],[H,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay","canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"],["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter","dragEnter"],["dragexit","dragExit"], | ||
["dragleave","dragLeave"],["dragover","dragOver"],["dragstart","dragStart"],["drag","drag"],["drop","drop"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["focus","focus"],["input","input"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["loadstart","loadStart"],["loadstart","loadStart"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["mousedown","mouseDown"],["mousemove","mouseMove"], | ||
["mouseout","mouseOut"],["mouseover","mouseOver"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["playing","playing"],["progress","progress"],["ratechange","rateChange"],["scroll","scroll"],["seeked","seeked"],["seeking","seeking"],["selectionchange","selectionChange"],["stalled","stalled"],["suspend","suspend"],["textInput","textInput"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchmove","touchMove"],["touchstart", | ||
"touchStart"],[K,"transitionEnd"],["volumechange","volumeChange"],["waiting","waiting"],["wheel","wheel"]].forEach(function(a){var b=a[1];W.SimulateNative[b]=ha(b,a[0])});var Y={default:W},Z=Y&&W||Y;module.exports=Z.default||Z; | ||
"touchStart"],[I,"transitionEnd"],["volumechange","volumeChange"],["waiting","waiting"],["wheel","wheel"]].forEach(function(a){var b=a[1];W.SimulateNative[b]=ka(b,a[0])});var Y={default:W},Z=Y&&W||Y;module.exports=Z.default||Z; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-fizz.browser.development.js | ||
@@ -60,2 +60,18 @@ * | ||
// React event targets | ||
function createRequest(children, destination) { | ||
@@ -62,0 +78,0 @@ return { destination: destination, children: children, completedChunks: [], flowing: false }; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-fizz.browser.production.min.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-fizz.node.development.js | ||
@@ -67,2 +67,18 @@ * | ||
// React event targets | ||
function createRequest(children, destination) { | ||
@@ -69,0 +85,0 @@ return { destination: destination, children: children, completedChunks: [], flowing: false }; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-fizz.node.production.min.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-native-dependencies.development.js | ||
@@ -21,2 +21,16 @@ * | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
function ReactError(message) { | ||
var error = new Error(message); | ||
error.name = 'Invariant Violation'; | ||
return error; | ||
} | ||
/** | ||
@@ -33,37 +47,3 @@ * Use invariant() to assert state which your program assumes to be true. | ||
var validateFormat = function () {}; | ||
{ | ||
validateFormat = function (format) { | ||
if (format === undefined) { | ||
throw new Error('invariant requires an error message argument'); | ||
} | ||
}; | ||
} | ||
function invariant(condition, format, a, b, c, d, e, f) { | ||
validateFormat(format); | ||
if (!condition) { | ||
var error = void 0; | ||
if (format === undefined) { | ||
error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); | ||
} else { | ||
var args = [a, b, c, d, e, f]; | ||
var argIndex = 0; | ||
error = new Error(format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
})); | ||
error.name = 'Invariant Violation'; | ||
} | ||
error.framesToPop = 1; // we don't care about invariant's own frame | ||
throw error; | ||
} | ||
} | ||
// Relying on the `invariant()` implementation lets us | ||
// preserve the format and params in the www builds. | ||
{ | ||
// In DEV mode, we swap out invokeGuardedCallback for a special version | ||
@@ -209,2 +189,10 @@ // that plays more nicely with the browser's DevTools. The idea is to preserve | ||
/** | ||
* Dispatch the event to the listener. | ||
* @param {SyntheticEvent} event SyntheticEvent to handle | ||
* @param {function} listener Application-level callback | ||
* @param {*} inst Internal component instance | ||
*/ | ||
/** | ||
* Standard/simple iteration through an event's collected dispatches. | ||
@@ -270,3 +258,9 @@ */ | ||
var dispatchInstance = event._dispatchInstances; | ||
!!Array.isArray(dispatchListener) ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : void 0; | ||
(function () { | ||
if (!!Array.isArray(dispatchListener)) { | ||
{ | ||
throw ReactError('executeDirectDispatch(...): Invalid `event`.'); | ||
} | ||
} | ||
})(); | ||
event.currentTarget = dispatchListener ? getNodeFromInstance$1(dispatchInstance) : null; | ||
@@ -463,3 +457,9 @@ var res = dispatchListener ? dispatchListener(event) : null; | ||
function accumulateInto(current, next) { | ||
!(next != null) ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : void 0; | ||
(function () { | ||
if (!(next != null)) { | ||
{ | ||
throw ReactError('accumulateInto(...): Accumulated items must not be null or undefined.'); | ||
} | ||
} | ||
})(); | ||
@@ -580,3 +580,9 @@ if (current == null) { | ||
} | ||
!(!listener || typeof listener === 'function') ? invariant(false, 'Expected `%s` listener to be a function, instead got a value of `%s` type.', registrationName, typeof listener) : void 0; | ||
(function () { | ||
if (!(!listener || typeof listener === 'function')) { | ||
{ | ||
throw ReactError('Expected `' + registrationName + '` listener to be a function, instead got a value of `' + typeof listener + '` type.'); | ||
} | ||
} | ||
})(); | ||
return listener; | ||
@@ -934,3 +940,9 @@ } | ||
var EventConstructor = this; | ||
!(event instanceof EventConstructor) ? invariant(false, 'Trying to release an event instance into a pool of a different type.') : void 0; | ||
(function () { | ||
if (!(event instanceof EventConstructor)) { | ||
{ | ||
throw ReactError('Trying to release an event instance into a pool of a different type.'); | ||
} | ||
} | ||
})(); | ||
event.destructor(); | ||
@@ -1049,3 +1061,9 @@ if (EventConstructor.eventPool.length < EVENT_POOL_SIZE) { | ||
!(identifier != null) ? invariant(false, 'Touch object is missing identifier.') : void 0; | ||
(function () { | ||
if (!(identifier != null)) { | ||
{ | ||
throw ReactError('Touch object is missing identifier.'); | ||
} | ||
} | ||
})(); | ||
{ | ||
@@ -1158,3 +1176,9 @@ !(identifier <= MAX_TOUCH_BANK) ? warningWithoutStack$1(false, 'Touch identifier %s is greater than maximum supported %s which causes ' + 'performance issues backfilling array locations for all of the indices.', identifier, MAX_TOUCH_BANK) : void 0; | ||
function accumulate(current, next) { | ||
!(next != null) ? invariant(false, 'accumulate(...): Accumulated items must be not be null or undefined.') : void 0; | ||
(function () { | ||
if (!(next != null)) { | ||
{ | ||
throw ReactError('accumulate(...): Accumulated items must be not be null or undefined.'); | ||
} | ||
} | ||
})(); | ||
@@ -1663,3 +1687,3 @@ if (current == null) { | ||
// Inject react-dom's ComponentTree into this module. | ||
// Keep in sync with ReactDOM.js and ReactTestUtils.js: | ||
// Keep in sync with ReactDOM.js, ReactTestUtils.js, and ReactTestUtilsAct.js: | ||
var _ReactDOM$__SECRET_IN = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; | ||
@@ -1666,0 +1690,0 @@ var getInstanceFromNode = _ReactDOM$__SECRET_IN[0]; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-native-dependencies.production.min.js | ||
@@ -10,28 +10,27 @@ * | ||
'use strict';var k=require("react-dom"),l=require("object-assign");function aa(a,b,c,f,e,d,g,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 u=[c,f,e,d,g,h],ba=0;a=Error(b.replace(/%s/g,function(){return u[ba++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function m(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)c+="&args[]="+encodeURIComponent(arguments[f+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}var n=null,p=null,q=null; | ||
function r(a){var b=a._dispatchListeners,c=a._dispatchInstances;Array.isArray(b)?m("103"):void 0;a.currentTarget=b?q(c):null;b=b?b(a):null;a.currentTarget=null;a._dispatchListeners=null;a._dispatchInstances=null;return b}function t(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function v(a,b,c){for(var f=[];a;)f.push(a),a=t(a);for(a=f.length;0<a--;)b(f[a],"captured",c);for(a=0;a<f.length;a++)b(f[a],"bubbled",c)} | ||
function w(a,b){null==b?m("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function x(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)} | ||
function y(a,b){var c=a.stateNode;if(!c)return null;var f=n(c);if(!f)return null;c=f[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(f=!f.disabled)||(a=a.type,f=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!f;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?m("231",b,typeof c):void 0; | ||
return c}function z(a,b,c){if(b=y(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=w(c._dispatchListeners,b),c._dispatchInstances=w(c._dispatchInstances,a)}function ca(a){a&&a.dispatchConfig.phasedRegistrationNames&&v(a._targetInst,z,a)}function da(a){if(a&&a.dispatchConfig.phasedRegistrationNames){var b=a._targetInst;b=b?t(b):null;v(b,z,a)}} | ||
function A(a){if(a&&a.dispatchConfig.registrationName){var b=a._targetInst;if(b&&a&&a.dispatchConfig.registrationName){var c=y(b,a.dispatchConfig.registrationName);c&&(a._dispatchListeners=w(a._dispatchListeners,c),a._dispatchInstances=w(a._dispatchInstances,b))}}}function B(){return!0}function C(){return!1} | ||
'use strict';var k=require("react-dom"),l=require("object-assign");function m(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 Error("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 n=null,p=null,q=null; | ||
function r(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))throw m(103);a.currentTarget=b?q(c):null;b=b?b(a):null;a.currentTarget=null;a._dispatchListeners=null;a._dispatchInstances=null;return b}function t(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function u(a,b,c){for(var f=[];a;)f.push(a),a=t(a);for(a=f.length;0<a--;)b(f[a],"captured",c);for(a=0;a<f.length;a++)b(f[a],"bubbled",c)} | ||
function v(a,b){if(null==b)throw m(30);if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function w(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)} | ||
function x(a,b){var c=a.stateNode;if(!c)return null;var f=n(c);if(!f)return null;c=f[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(f=!f.disabled)||(a=a.type,f=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!f;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw m(231,b,typeof c); | ||
return c}function y(a,b,c){if(b=x(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=v(c._dispatchListeners,b),c._dispatchInstances=v(c._dispatchInstances,a)}function aa(a){a&&a.dispatchConfig.phasedRegistrationNames&&u(a._targetInst,y,a)}function ba(a){if(a&&a.dispatchConfig.phasedRegistrationNames){var b=a._targetInst;b=b?t(b):null;u(b,y,a)}} | ||
function z(a){if(a&&a.dispatchConfig.registrationName){var b=a._targetInst;if(b&&a&&a.dispatchConfig.registrationName){var c=x(b,a.dispatchConfig.registrationName);c&&(a._dispatchListeners=v(a._dispatchListeners,c),a._dispatchInstances=v(a._dispatchInstances,b))}}}function B(){return!0}function C(){return!1} | ||
function D(a,b,c,f){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=f:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?B:C;this.isPropagationStopped=C;return this} | ||
l(D.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=B)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=B)},persist:function(){this.isPersistent=B},isPersistent:C,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]= | ||
null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=C;this._dispatchInstances=this._dispatchListeners=null}});D.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}; | ||
D.extend=function(a){function b(){}function c(){return f.apply(this,arguments)}var f=this;b.prototype=f.prototype;var e=new b;l(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=l({},f.Interface,a);c.extend=f.extend;E(c);return c};E(D);function ea(a,b,c,f){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,f);return e}return new this(a,b,c,f)}function fa(a){a instanceof this?void 0:m("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)} | ||
function E(a){a.eventPool=[];a.getPooled=ea;a.release=fa}var F=D.extend({touchHistory:function(){return null}});function G(a){return"touchstart"===a||"mousedown"===a}function H(a){return"touchmove"===a||"mousemove"===a}function I(a){return"touchend"===a||"touchcancel"===a||"mouseup"===a}var J=["touchstart","mousedown"],K=["touchmove","mousemove"],L=["touchcancel","touchend","mouseup"],M=[],N={touchBank:M,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}; | ||
function O(a){return a.timeStamp||a.timestamp}function P(a){a=a.identifier;null==a?m("138"):void 0;return a} | ||
function ha(a){var b=P(a),c=M[b];c?(c.touchActive=!0,c.startPageX=a.pageX,c.startPageY=a.pageY,c.startTimeStamp=O(a),c.currentPageX=a.pageX,c.currentPageY=a.pageY,c.currentTimeStamp=O(a),c.previousPageX=a.pageX,c.previousPageY=a.pageY,c.previousTimeStamp=O(a)):(c={touchActive:!0,startPageX:a.pageX,startPageY:a.pageY,startTimeStamp:O(a),currentPageX:a.pageX,currentPageY:a.pageY,currentTimeStamp:O(a),previousPageX:a.pageX,previousPageY:a.pageY,previousTimeStamp:O(a)},M[b]=c);N.mostRecentTimeStamp=O(a)} | ||
function ia(a){var b=M[P(a)];b?(b.touchActive=!0,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=O(a),N.mostRecentTimeStamp=O(a)):console.error("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",Q(a),R())} | ||
function ja(a){var b=M[P(a)];b?(b.touchActive=!1,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=O(a),N.mostRecentTimeStamp=O(a)):console.error("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",Q(a),R())}function Q(a){return JSON.stringify({identifier:a.identifier,pageX:a.pageX,pageY:a.pageY,timestamp:O(a)})} | ||
D.extend=function(a){function b(){}function c(){return f.apply(this,arguments)}var f=this;b.prototype=f.prototype;var e=new b;l(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=l({},f.Interface,a);c.extend=f.extend;E(c);return c};E(D);function ca(a,b,c,f){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,f);return e}return new this(a,b,c,f)}function da(a){if(!(a instanceof this))throw m(279);a.destructor();10>this.eventPool.length&&this.eventPool.push(a)} | ||
function E(a){a.eventPool=[];a.getPooled=ca;a.release=da}var F=D.extend({touchHistory:function(){return null}});function G(a){return"touchstart"===a||"mousedown"===a}function H(a){return"touchmove"===a||"mousemove"===a}function I(a){return"touchend"===a||"touchcancel"===a||"mouseup"===a}var J=["touchstart","mousedown"],K=["touchmove","mousemove"],L=["touchcancel","touchend","mouseup"],M=[],N={touchBank:M,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}; | ||
function O(a){return a.timeStamp||a.timestamp}function P(a){a=a.identifier;if(null==a)throw m(138);return a} | ||
function ea(a){var b=P(a),c=M[b];c?(c.touchActive=!0,c.startPageX=a.pageX,c.startPageY=a.pageY,c.startTimeStamp=O(a),c.currentPageX=a.pageX,c.currentPageY=a.pageY,c.currentTimeStamp=O(a),c.previousPageX=a.pageX,c.previousPageY=a.pageY,c.previousTimeStamp=O(a)):(c={touchActive:!0,startPageX:a.pageX,startPageY:a.pageY,startTimeStamp:O(a),currentPageX:a.pageX,currentPageY:a.pageY,currentTimeStamp:O(a),previousPageX:a.pageX,previousPageY:a.pageY,previousTimeStamp:O(a)},M[b]=c);N.mostRecentTimeStamp=O(a)} | ||
function fa(a){var b=M[P(a)];b?(b.touchActive=!0,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=O(a),N.mostRecentTimeStamp=O(a)):console.error("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",Q(a),R())} | ||
function ha(a){var b=M[P(a)];b?(b.touchActive=!1,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=O(a),N.mostRecentTimeStamp=O(a)):console.error("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",Q(a),R())}function Q(a){return JSON.stringify({identifier:a.identifier,pageX:a.pageX,pageY:a.pageY,timestamp:O(a)})} | ||
function R(){var a=JSON.stringify(M.slice(0,20));20<M.length&&(a+=" (original size: "+M.length+")");return a} | ||
var S={recordTouchTrack:function(a,b){if(H(a))b.changedTouches.forEach(ia);else if(G(a))b.changedTouches.forEach(ha),N.numberActiveTouches=b.touches.length,1===N.numberActiveTouches&&(N.indexOfSingleActiveTouch=b.touches[0].identifier);else if(I(a)&&(b.changedTouches.forEach(ja),N.numberActiveTouches=b.touches.length,1===N.numberActiveTouches))for(a=0;a<M.length;a++)if(b=M[a],null!=b&&b.touchActive){N.indexOfSingleActiveTouch=a;break}},touchHistory:N}; | ||
function T(a,b){null==b?m("29"):void 0;return null==a?b:Array.isArray(a)?a.concat(b):Array.isArray(b)?[a].concat(b):[a,b]}var U=null,V=0;function W(a,b){var c=U;U=a;if(null!==X.GlobalResponderHandler)X.GlobalResponderHandler.onChange(c,a,b)} | ||
var S={recordTouchTrack:function(a,b){if(H(a))b.changedTouches.forEach(fa);else if(G(a))b.changedTouches.forEach(ea),N.numberActiveTouches=b.touches.length,1===N.numberActiveTouches&&(N.indexOfSingleActiveTouch=b.touches[0].identifier);else if(I(a)&&(b.changedTouches.forEach(ha),N.numberActiveTouches=b.touches.length,1===N.numberActiveTouches))for(a=0;a<M.length;a++)if(b=M[a],null!=b&&b.touchActive){N.indexOfSingleActiveTouch=a;break}},touchHistory:N}; | ||
function T(a,b){if(null==b)throw m(29);return null==a?b:Array.isArray(a)?a.concat(b):Array.isArray(b)?[a].concat(b):[a,b]}var U=null,V=0;function W(a,b){var c=U;U=a;if(null!==X.GlobalResponderHandler)X.GlobalResponderHandler.onChange(c,a,b)} | ||
var Y={startShouldSetResponder:{phasedRegistrationNames:{bubbled:"onStartShouldSetResponder",captured:"onStartShouldSetResponderCapture"},dependencies:J},scrollShouldSetResponder:{phasedRegistrationNames:{bubbled:"onScrollShouldSetResponder",captured:"onScrollShouldSetResponderCapture"},dependencies:["scroll"]},selectionChangeShouldSetResponder:{phasedRegistrationNames:{bubbled:"onSelectionChangeShouldSetResponder",captured:"onSelectionChangeShouldSetResponderCapture"},dependencies:["selectionchange"]}, | ||
moveShouldSetResponder:{phasedRegistrationNames:{bubbled:"onMoveShouldSetResponder",captured:"onMoveShouldSetResponderCapture"},dependencies:K},responderStart:{registrationName:"onResponderStart",dependencies:J},responderMove:{registrationName:"onResponderMove",dependencies:K},responderEnd:{registrationName:"onResponderEnd",dependencies:L},responderRelease:{registrationName:"onResponderRelease",dependencies:L},responderTerminationRequest:{registrationName:"onResponderTerminationRequest",dependencies:[]}, | ||
responderGrant:{registrationName:"onResponderGrant",dependencies:[]},responderReject:{registrationName:"onResponderReject",dependencies:[]},responderTerminate:{registrationName:"onResponderTerminate",dependencies:[]}},X={_getResponder:function(){return U},eventTypes:Y,extractEvents:function(a,b,c,f){if(G(a))V+=1;else if(I(a))if(0<=V)--V;else return console.error("Ended a touch event which was not counted in `trackedTouchCount`."),null;S.recordTouchTrack(a,c);if(b&&("scroll"===a&&!c.responderIgnoreScroll|| | ||
0<V&&"selectionchange"===a||G(a)||H(a))){var e=G(a)?Y.startShouldSetResponder:H(a)?Y.moveShouldSetResponder:"selectionchange"===a?Y.selectionChangeShouldSetResponder:Y.scrollShouldSetResponder;if(U)b:{var d=U;for(var g=0,h=d;h;h=t(h))g++;h=0;for(var u=b;u;u=t(u))h++;for(;0<g-h;)d=t(d),g--;for(;0<h-g;)b=t(b),h--;for(;g--;){if(d===b||d===b.alternate)break b;d=t(d);b=t(b)}d=null}else d=b;b=d===U;d=F.getPooled(e,d,c,f);d.touchHistory=S.touchHistory;b?x(d,da):x(d,ca);b:{e=d._dispatchListeners;b=d._dispatchInstances; | ||
if(Array.isArray(e))for(g=0;g<e.length&&!d.isPropagationStopped();g++){if(e[g](d,b[g])){e=b[g];break b}}else if(e&&e(d,b)){e=b;break b}e=null}d._dispatchInstances=null;d._dispatchListeners=null;d.isPersistent()||d.constructor.release(d);e&&e!==U?(d=void 0,b=F.getPooled(Y.responderGrant,e,c,f),b.touchHistory=S.touchHistory,x(b,A),g=!0===r(b),U?(h=F.getPooled(Y.responderTerminationRequest,U,c,f),h.touchHistory=S.touchHistory,x(h,A),u=!h._dispatchListeners||r(h),h.isPersistent()||h.constructor.release(h), | ||
u?(h=F.getPooled(Y.responderTerminate,U,c,f),h.touchHistory=S.touchHistory,x(h,A),d=T(d,[b,h]),W(e,g)):(e=F.getPooled(Y.responderReject,e,c,f),e.touchHistory=S.touchHistory,x(e,A),d=T(d,e))):(d=T(d,b),W(e,g)),e=d):e=null}else e=null;d=U&&G(a);b=U&&H(a);g=U&&I(a);if(d=d?Y.responderStart:b?Y.responderMove:g?Y.responderEnd:null)d=F.getPooled(d,U,c,f),d.touchHistory=S.touchHistory,x(d,A),e=T(e,d);d=U&&"touchcancel"===a;if(a=U&&!d&&I(a))a:{if((a=c.touches)&&0!==a.length)for(b=0;b<a.length;b++)if(g=a[b].target, | ||
null!==g&&void 0!==g&&0!==g){h=p(g);b:{for(g=U;h;){if(g===h||g===h.alternate){g=!0;break b}h=t(h)}g=!1}if(g){a=!1;break a}}a=!0}if(a=d?Y.responderTerminate:a?Y.responderRelease:null)c=F.getPooled(a,U,c,f),c.touchHistory=S.touchHistory,x(c,A),e=T(e,c),W(null);return e},GlobalResponderHandler:null,injection:{injectGlobalResponderHandler:function(a){X.GlobalResponderHandler=a}}},Z=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,ka=Z[3],la=Z[0],ma=Z[1];n=Z[2];p=la;q=ma; | ||
module.exports={ResponderEventPlugin:X,ResponderTouchHistoryStore:S,injectEventPluginsByName:ka}; | ||
0<V&&"selectionchange"===a||G(a)||H(a))){var e=G(a)?Y.startShouldSetResponder:H(a)?Y.moveShouldSetResponder:"selectionchange"===a?Y.selectionChangeShouldSetResponder:Y.scrollShouldSetResponder;if(U)b:{var d=U;for(var g=0,h=d;h;h=t(h))g++;h=0;for(var A=b;A;A=t(A))h++;for(;0<g-h;)d=t(d),g--;for(;0<h-g;)b=t(b),h--;for(;g--;){if(d===b||d===b.alternate)break b;d=t(d);b=t(b)}d=null}else d=b;b=d===U;d=F.getPooled(e,d,c,f);d.touchHistory=S.touchHistory;b?w(d,ba):w(d,aa);b:{e=d._dispatchListeners;b=d._dispatchInstances; | ||
if(Array.isArray(e))for(g=0;g<e.length&&!d.isPropagationStopped();g++){if(e[g](d,b[g])){e=b[g];break b}}else if(e&&e(d,b)){e=b;break b}e=null}d._dispatchInstances=null;d._dispatchListeners=null;d.isPersistent()||d.constructor.release(d);e&&e!==U?(d=void 0,b=F.getPooled(Y.responderGrant,e,c,f),b.touchHistory=S.touchHistory,w(b,z),g=!0===r(b),U?(h=F.getPooled(Y.responderTerminationRequest,U,c,f),h.touchHistory=S.touchHistory,w(h,z),A=!h._dispatchListeners||r(h),h.isPersistent()||h.constructor.release(h), | ||
A?(h=F.getPooled(Y.responderTerminate,U,c,f),h.touchHistory=S.touchHistory,w(h,z),d=T(d,[b,h]),W(e,g)):(e=F.getPooled(Y.responderReject,e,c,f),e.touchHistory=S.touchHistory,w(e,z),d=T(d,e))):(d=T(d,b),W(e,g)),e=d):e=null}else e=null;d=U&&G(a);b=U&&H(a);g=U&&I(a);if(d=d?Y.responderStart:b?Y.responderMove:g?Y.responderEnd:null)d=F.getPooled(d,U,c,f),d.touchHistory=S.touchHistory,w(d,z),e=T(e,d);d=U&&"touchcancel"===a;if(a=U&&!d&&I(a))a:{if((a=c.touches)&&0!==a.length)for(b=0;b<a.length;b++)if(g=a[b].target, | ||
null!==g&&void 0!==g&&0!==g){h=p(g);b:{for(g=U;h;){if(g===h||g===h.alternate){g=!0;break b}h=t(h)}g=!1}if(g){a=!1;break a}}a=!0}if(a=d?Y.responderTerminate:a?Y.responderRelease:null)c=F.getPooled(a,U,c,f),c.touchHistory=S.touchHistory,w(c,z),e=T(e,c),W(null);return e},GlobalResponderHandler:null,injection:{injectGlobalResponderHandler:function(a){X.GlobalResponderHandler=a}}},Z=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,ia=Z[3],ja=Z[0],ka=Z[1];n=Z[2];p=ja;q=ka; | ||
module.exports={ResponderEventPlugin:X,ResponderTouchHistoryStore:S,injectEventPluginsByName:ia}; |
{ | ||
"name": "@hot-loader/react-dom", | ||
"version": "16.8.6", | ||
"version": "16.9.0-alpha.0", | ||
"description": "The Hot version of React-DOM", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"prop-types": "^15.6.2", | ||
"scheduler": "^0.13.6" | ||
"scheduler": "^0.14.0-alpha.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "peerDependencies": { |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-server.browser.production.min.js | ||
@@ -9,37 +9,38 @@ * | ||
*/ | ||
'use strict';(function(v,E){"object"===typeof exports&&"undefined"!==typeof module?module.exports=E(require("react")):"function"===typeof define&&define.amd?define(["react"],E):v.ReactDOMServer=E(v.React)})(this,function(v){function E(a,b,d,c,f,e,h,g){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 k=[d,c,f,e,h,g],u=0;a=Error(b.replace(/%s/g,function(){return k[u++]}));a.name= | ||
"Invariant Violation"}a.framesToPop=1;throw a;}}function u(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]);E(!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)}function J(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 X:return"ConcurrentMode";case N:return"Fragment";case Y:return"Portal";case Z:return"Profiler";case aa:return"StrictMode";case O:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case ba:return"Context.Consumer";case P:return"Context.Provider";case ca:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case da:return J(a.type);case ea:if(a=1===a._status?a._result:null)return J(a)}return null}function F(a,b){for(var d=a._threadCount| | ||
0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1}function ua(a,b,d){var c=a.contextType;if("object"===typeof c&&null!==c)return F(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=fa;return b}function ha(a){if(ia.call(ja,a))return!0;if(ia.call(ka,a))return!1;if(va.test(a))return ja[a]=!0;ka[a]=!0;return!1}function wa(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}}function xa(a,b,d,c){if(null===b||"undefined"===typeof b||wa(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 t(a,b,d,c,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b}function C(a){if("boolean"===typeof a||"number"=== | ||
typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}function K(){null===x?u("321"):void 0;return x}function la(){0<L&&u("312");return{memoizedState:null,queue:null,next:null}}function Q(){null===k?null===M?(G=!1,M=k=la()): | ||
(G=!0,k=M):null===k.next?(G=!1,k=k.next=la()):(G=!0,k=k.next);return k}function ma(a,b,d,c){for(;R;)R=!1,L+=1,k=null,d=a(b,c);M=x=null;L=0;k=A=null;return d}function na(a,b){return"function"===typeof b?b(a):b}function oa(a,b,d){x=K();k=Q();if(G){var c=k.queue;b=c.dispatch;if(null!==A&&(d=A.get(c),void 0!==d)){A.delete(c);c=k.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);k.memoizedState=c;return[c,b]}return[k.memoizedState,b]}a=a===na?"function"===typeof b?b():b:void 0!==d?d(b):b;k.memoizedState= | ||
a;a=k.queue={last:null,dispatch:null};a=a.dispatch=za.bind(null,x,a);return[k.memoizedState,a]}function za(a,b,d){25>L?void 0:u("301");if(a===x)if(R=!0,a={action:d,next:null},null===A&&(A=new Map),d=A.get(b),void 0===d)A.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function S(){}function pa(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Aa(a){if(void 0===a||null===a)return a; | ||
var b="";v.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function qa(a,b){void 0===a&&u("152",J(b)||"Component")}function Ba(a,b,d){function c(c,f){var e=ua(f,b,d),g=[],h=!1,m={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===g)return null},enqueueReplaceState:function(a,b){h=!0;g=[b]},enqueueSetState:function(a,b){if(null===g)return null;g.push(b)}},l=void 0;if(f.prototype&&f.prototype.isReactComponent){if(l=new f(c.props,e,m),"function"===typeof f.getDerivedStateFromProps){var k= | ||
f.getDerivedStateFromProps.call(null,c.props,l.state);null!=k&&(l.state=z({},l.state,k))}}else if(x={},l=f(c.props,e,m),l=ma(f,c.props,l,e),null==l||null==l.render){a=l;qa(a,f);return}l.props=c.props;l.context=e;l.updater=m;m=l.state;void 0===m&&(l.state=m=null);if("function"===typeof l.UNSAFE_componentWillMount||"function"===typeof l.componentWillMount)if("function"===typeof l.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&& | ||
"function"!==typeof f.getDerivedStateFromProps&&l.UNSAFE_componentWillMount(),g.length){m=g;var n=h;g=null;h=!1;if(n&&1===m.length)l.state=m[0];else{k=n?m[0]:l.state;var p=!0;for(n=n?1:0;n<m.length;n++){var q=m[n];q="function"===typeof q?q.call(l,k,c.props,e):q;null!=q&&(p?(p=!1,k=z({},k,q)):z(k,q))}l.state=k}}else g=null;a=l.render();qa(a,f);c=void 0;if("function"===typeof l.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=l.getChildContext();for(var w in c)w in e?void 0:u("108",J(f)|| | ||
"Unknown",w)}c&&(b=z({},b,c))}for(;v.isValidElement(a);){var f=a,e=f.type;if("function"!==typeof e)break;c(f,e)}return{child:a,context:b}}var z=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,p="function"===typeof Symbol&&Symbol.for,Y=p?Symbol.for("react.portal"):60106,N=p?Symbol.for("react.fragment"):60107,aa=p?Symbol.for("react.strict_mode"):60108,Z=p?Symbol.for("react.profiler"):60114,P=p?Symbol.for("react.provider"):60109,ba=p?Symbol.for("react.context"):60110,X=p?Symbol.for("react.concurrent_mode"): | ||
60111,ca=p?Symbol.for("react.forward_ref"):60112,O=p?Symbol.for("react.suspense"):60113,da=p?Symbol.for("react.memo"):60115,ea=p?Symbol.for("react.lazy"):60116;p=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;p.hasOwnProperty("ReactCurrentDispatcher")||(p.ReactCurrentDispatcher={current:null});for(var fa={},q=new Uint16Array(16),D=0;15>D;D++)q[D]=D+1;q[15]=0;var va=/^[: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]*$/, | ||
ia=Object.prototype.hasOwnProperty,ka={},ja={},w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){w[a]=new t(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];w[b]=new t(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){w[a]=new t(a,2,!1, | ||
a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){w[a]=new t(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){w[a]=new t(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){w[a]=new t(a,3,!0,a,null)});["capture", | ||
"download"].forEach(function(a){w[a]=new t(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){w[a]=new t(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){w[a]=new t(a,5,!1,a.toLowerCase(),null)});var T=/[\-:]([a-z])/g,U=function(a){return a[1].toUpperCase()};"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(T,U);w[b]=new t(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(T,U);w[b]=new t(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(T,U);w[b]=new t(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});["tabIndex","crossOrigin"].forEach(function(a){w[a]=new t(a,1,!1,a.toLowerCase(),null)});var ya=/["'&<>]/,x=null,M=null,k=null, | ||
G=!1,R=!1,A=null,L=0,H=0,Da={readContext:function(a,b){b=H;F(a,b);return a[b]},useContext:function(a,b){K();b=H;F(a,b);return a[b]},useMemo:function(a,b){x=K();k=Q();b=void 0===b?null:b;if(null!==k){var d=k.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();k.memoizedState=[a,b];return a},useReducer:oa,useRef:function(a){x=K();k= | ||
Q();var b=k.memoizedState;return null===b?(a={current:a},k.memoizedState=a):b},useState:function(a){return oa(na,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:S,useEffect:S,useDebugValue:S},ra={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},Ea=z({menuitem:!0},ra),I={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0, | ||
boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0}, | ||
Fa=["Webkit","ms","Moz","O"];Object.keys(I).forEach(function(a){Fa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);I[b]=I[a]})});var Ga=/([A-Z])/g,Ha=/^ms-/,B=v.Children.toArray,V=p.ReactCurrentDispatcher,Ia={listing:!0,pre:!0,textarea:!0},Ja=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,sa={},W={},Ka=Object.prototype.hasOwnProperty,La={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ta=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function"); | ||
v.isValidElement(b)?b.type!==N?b=[b]:(b=b.props.children,b=v.isValidElement(b)?[b]:B(b)):b=B(b);b={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:fa,footer:""};var c=q[0];if(0===c){var f=q;c=f.length;var e=2*c;65536>=e?void 0:u("304");var h=new Uint16Array(e);h.set(f);q=h;q[0]=c+1;for(f=c;f<e-1;f++)q[f]=f+1;q[e-1]=0}else q[0]=q[c];this.threadID=c;this.stack=[b];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d; | ||
this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;q[a]=q[0];q[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a]; | ||
this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=H;H=this.threadID;var c=V.current;V.current=Da;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;q[h]=q[0];q[0]=h;break}var g=this.stack[this.stack.length- | ||
1];if(e||g.childIndex>=g.children.length){var k=g.footer;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===P)this.popProvider(g.type);else if(g.type===O){this.suspenseDepth--;var p=f.pop();if(e){e=!1;var r=g.fallbackFrame;r?void 0:u("303");this.stack.push(r);continue}else f[this.suspenseDepth]+=p}f[this.suspenseDepth]+=k}else{var m=g.children[g.childIndex++],l="";try{l+=this.render(m, | ||
g.context,g.domNamespace)}catch(Ca){throw Ca;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=l}}return f[0]}finally{V.current=c,H=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return C(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+C(c);this.previousWasTextNode=!0;return C(c)}d=Ba(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!v.isValidElement(a)){if(null!= | ||
a&&null!=a.$$typeof){var b=a.$$typeof;b===Y?u("257"):void 0;u("258",b.toString())}a=B(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 aa:case X:case Z:case N:return a=B(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case O:u("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ca:x={};var e=b.render(a.props, | ||
a.ref);e=ma(b.render,a.props,e,a.ref);e=B(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case da:return a=[v.createElement(b.type,z({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case P:return b=B(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case ba:b=a.type;e=a.props;var h=this.threadID;F(b,h); | ||
b=B(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ea:u("295")}u("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&pa(b);sa.hasOwnProperty(b)||(Ja.test(b)?void 0:u("65",b),sa[b]=!0);var e=a.props;if("input"===b)e=z({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked: | ||
e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;null!=g&&(null!=h?u("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:u("93"),g=g[0]),h=""+g);null==h&&(h="")}e=z({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=z({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var k=Aa(e.children);if(null!=g){var p=null!=e.value?e.value+"":k;h=!1;if(Array.isArray(g))for(var r= | ||
0;r<g.length;r++){if(""+g[r]===p){h=!0;break}}else h=""+g===p;e=z({selected:void 0,children:void 0},e,{selected:h,children:k})}}if(h=e)Ea[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?u("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?u("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:u("61")),null!=h.style&&"object"!==typeof h.style?u("62",""):void 0;h=e;g=this.makeStaticMarkup;k=1===this.stack.length;p="<"+a.type; | ||
for(y in h)if(Ka.call(h,y)){var m=h[y];if(null!=m){if("style"===y){r=void 0;var l="",q="";for(r in m)if(m.hasOwnProperty(r)){var n=0===r.indexOf("--"),t=m[r];if(null!=t){var v=r;if(W.hasOwnProperty(v))v=W[v];else{var x=v.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");v=W[v]=x}l+=q+v+":";q=r;n=null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||I.hasOwnProperty(q)&&I[q]?(""+t).trim():t+"px";l+=n;q=";"}}m=l||null}r=null;b:if(n=b,t=h,-1===n.indexOf("-"))n="string"===typeof t.is; | ||
else switch(n){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":n=!1;break b;default:n=!0}if(n)La.hasOwnProperty(y)||(r=y,r=ha(r)&&null!=m?r+"="+('"'+C(m)+'"'):"");else{n=y;r=m;m=w.hasOwnProperty(n)?w[n]:null;if(t="style"!==n)t=null!==m?0===m.type:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?!1:!0;t||xa(n,r,m,!1)?r="":null!==m?(n=m.attributeName,m=m.type,r=3===m|| | ||
4===m&&!0===r?n+'=""':n+"="+('"'+C(r)+'"')):r=ha(n)?n+"="+('"'+C(r)+'"'):""}r&&(p+=" "+r)}}g||k&&(p+=' data-reactroot=""');var y=p;h="";ra.hasOwnProperty(b)?y+="/>":(y+=">",h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=C(g);break a}g=null}null!=g?(e=[],Ia[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=B(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?pa(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return y};return a}();p={renderToString:function(a){a=new ta(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new ta(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){u("207")},renderToStaticNodeStream:function(){u("208")},version:"16.8.6"}; | ||
p=(D={default:p},p)||D;return p.default||p}); | ||
'use strict';(function(t,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q(require("react")):"function"===typeof define&&define.amd?define(["react"],q):t.ReactDOMServer=q(t.React)})(this,function(t){function q(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return Error("Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ")} | ||
function G(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 U:return"ConcurrentMode";case K:return"Fragment";case V:return"Portal";case W:return"Profiler";case X:return"StrictMode";case L:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case Y:return"Context.Consumer";case M:return"Context.Provider";case Z:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef"); | ||
case aa:return G(a.type);case ba:if(a=1===a._status?a._result:null)return G(a);break;case ca:a=a.displayName;if(void 0!==a)return a;break;case da:if(a.type===ua)return"TouchHitTarget";a=a.displayName;if(void 0!==a)return a}return null}function C(a,b){for(var d=a._threadCount|0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1}function va(a,b,d){var c=a.contextType;if("object"===typeof c&&null!==c)return C(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=ea;return b}function fa(a){if(ha.call(ia, | ||
a))return!0;if(ha.call(ja,a))return!1;if(wa.test(a))return ia[a]=!0;ja[a]=!0;return!1}function xa(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}}function ya(a,b,d,c){if(null===b||"undefined"===typeof b||xa(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 r(a,b,d,c,f,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b;this.sanitizeURL=e}function A(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=za.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">"; | ||
break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}function Aa(a,b){var d=p.hasOwnProperty(a)?p[a]:null;var c;if(c="style"!==a)c=null!==d?0===d.type:!(2<a.length)||"o"!==a[0]&&"O"!==a[0]||"n"!==a[1]&&"N"!==a[1]?!1:!0;if(c||ya(a,b,d,!1))return"";if(null!==d){a=d.attributeName;c=d.type;if(3===c||4===c&&!0===b)return a+'=""';d.sanitizeURL&&(b=""+b);return a+"="+('"'+A(b)+'"')}return fa(a)?a+"="+('"'+A(b)+'"'):""}function H(){if(null===u)throw q(321); | ||
return u}function ka(){if(0<I)throw q(312);return{memoizedState:null,queue:null,next:null}}function N(){null===h?null===J?(D=!1,J=h=ka()):(D=!0,h=J):null===h.next?(D=!1,h=h.next=ka()):(D=!0,h=h.next);return h}function la(a,b,d,c){for(;O;)O=!1,I+=1,h=null,d=a(b,c);J=u=null;I=0;h=x=null;return d}function ma(a,b){return"function"===typeof b?b(a):b}function na(a,b,d){u=H();h=N();if(D){var c=h.queue;b=c.dispatch;if(null!==x&&(d=x.get(c),void 0!==d)){x.delete(c);c=h.memoizedState;do c=a(c,d.action),d=d.next; | ||
while(null!==d);h.memoizedState=c;return[c,b]}return[h.memoizedState,b]}a=a===ma?"function"===typeof b?b():b:void 0!==d?d(b):b;h.memoizedState=a;a=h.queue={last:null,dispatch:null};a=a.dispatch=Ba.bind(null,u,a);return[h.memoizedState,a]}function Ba(a,b,d){if(!(25>I))throw q(301);if(a===u)if(O=!0,a={action:d,next:null},null===x&&(x=new Map),d=x.get(b),void 0===d)x.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function P(){}function oa(a){switch(a){case "svg":return"http://www.w3.org/2000/svg"; | ||
case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ca(a){if(void 0===a||null===a)return a;var b="";t.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function pa(a,b){if(void 0===a)throw q(152,G(b)||"Component");}function Da(a,b,d){function c(c,f){var e=va(f,b,d),g=[],k=!1,h={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===g)return null},enqueueReplaceState:function(a,b){k=!0;g=[b]},enqueueSetState:function(a, | ||
b){if(null===g)return null;g.push(b)}},n=void 0;if(f.prototype&&f.prototype.isReactComponent){if(n=new f(c.props,e,h),"function"===typeof f.getDerivedStateFromProps){var m=f.getDerivedStateFromProps.call(null,c.props,n.state);null!=m&&(n.state=y({},n.state,m))}}else if(u={},n=f(c.props,e,h),n=la(f,c.props,n,e),null==n||null==n.render){a=n;pa(a,f);return}n.props=c.props;n.context=e;n.updater=h;h=n.state;void 0===h&&(n.state=h=null);if("function"===typeof n.UNSAFE_componentWillMount||"function"===typeof n.componentWillMount)if("function"=== | ||
typeof n.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&n.componentWillMount(),"function"===typeof n.UNSAFE_componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&n.UNSAFE_componentWillMount(),g.length){h=g;var v=k;g=null;k=!1;if(v&&1===h.length)n.state=h[0];else{m=v?h[0]:n.state;var p=!0;for(v=v?1:0;v<h.length;v++){var l=h[v];l="function"===typeof l?l.call(n,m,c.props,e):l;null!=l&&(p?(p=!1,m=y({},m,l)):y(m,l))}n.state=m}}else g=null;a=n.render();pa(a,f);c=void 0; | ||
if("function"===typeof n.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=n.getChildContext();for(var r in c)if(!(r in e))throw q(108,G(f)||"Unknown",r);}c&&(b=y({},b,c))}for(;t.isValidElement(a);){var f=a,e=f.type;if("function"!==typeof e)break;c(f,e)}return{child:a,context:b}}var y=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,m="function"===typeof Symbol&&Symbol.for,V=m?Symbol.for("react.portal"):60106,K=m?Symbol.for("react.fragment"):60107,X=m?Symbol.for("react.strict_mode"): | ||
60108,W=m?Symbol.for("react.profiler"):60114,M=m?Symbol.for("react.provider"):60109,Y=m?Symbol.for("react.context"):60110,U=m?Symbol.for("react.concurrent_mode"):60111,Z=m?Symbol.for("react.forward_ref"):60112,L=m?Symbol.for("react.suspense"):60113,aa=m?Symbol.for("react.memo"):60115,ba=m?Symbol.for("react.lazy"):60116,ca=m?Symbol.for("react.event_component"):60117,da=m?Symbol.for("react.event_target"):60118,ua=m?Symbol.for("react.event_target.touch_hit"):60119;m=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
m.hasOwnProperty("ReactCurrentDispatcher")||(m.ReactCurrentDispatcher={current:null});for(var ea={},l=new Uint16Array(16),B=0;15>B;B++)l[B]=B+1;l[15]=0;var wa=/^[: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]*$/, | ||
ha=Object.prototype.hasOwnProperty,ja={},ia={},p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){p[a]=new r(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];p[b]=new r(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){p[a]=new r(a, | ||
2,!1,a.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){p[a]=new r(a,2,!1,a,null,!1)});"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){p[a]=new r(a,3,!1,a.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(a){p[a]=new r(a,3,!0, | ||
a,null,!1)});["capture","download"].forEach(function(a){p[a]=new r(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){p[a]=new r(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){p[a]=new r(a,5,!1,a.toLowerCase(),null,!1)});var Q=/[\-:]([a-z])/g,R=function(a){return a[1].toUpperCase()};"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(Q,R);p[b]=new r(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Q,R);p[b]=new r(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Q,R);p[b]=new r(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){p[a]=new r(a,1,!1,a.toLowerCase(),null,!1)});p.xlinkHref=new r("xlinkHref",1,!1,"xlink:href", | ||
"http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){p[a]=new r(a,1,!1,a.toLowerCase(),null,!0)});var za=/["'&<>]/,u=null,J=null,h=null,D=!1,O=!1,x=null,I=0,E=0,Fa={readContext:function(a,b){b=E;C(a,b);return a[b]},useContext:function(a,b){H();b=E;C(a,b);return a[b]},useMemo:function(a,b){u=H();h=N();b=void 0===b?null:b;if(null!==h){var d=h.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e= | ||
b[f],k=c[f];if((e!==k||0===e&&1/e!==1/k)&&(e===e||k===k)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();h.memoizedState=[a,b];return a},useReducer:na,useRef:function(a){u=H();h=N();var b=h.memoizedState;return null===b?(a={current:a},h.memoizedState=a):b},useState:function(a){return na(ma,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:P,useEffect:P,useDebugValue:P},ra={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},Ga=y({menuitem:!0},ra),F={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0, | ||
tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ha=["Webkit","ms","Moz","O"];Object.keys(F).forEach(function(a){Ha.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);F[b]=F[a]})});var Ia=/([A-Z])/g,Ja=/^ms-/,z=t.Children.toArray,S=m.ReactCurrentDispatcher,Ka={listing:!0,pre:!0,textarea:!0},La=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,sa={},T={},Ma=Object.prototype.hasOwnProperty, | ||
Na={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ta=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");t.isValidElement(b)?b.type!==K?b=[b]:(b=b.props.children,b=t.isValidElement(b)?[b]:z(b)):b=z(b);b={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:ea,footer:""};var c=l[0];if(0===c){var f=l;c=f.length;var e=2*c;if(!(65536>=e))throw q(304); | ||
var k=new Uint16Array(e);k.set(f);l=k;l[0]=c+1;for(f=c;f<e-1;f++)l[f]=f+1;l[e-1]=0}else l[0]=l[c];this.threadID=c;this.stack=[b];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;l[a]=l[0];l[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex, | ||
c=a.type._context,f=this.threadID;C(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null; | ||
var b=E;E=this.threadID;var c=S.current;S.current=Fa;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var k=this.threadID;l[k]=l[0];l[0]=k;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var h=g.footer;""!==h&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===M)this.popProvider(g.type);else if(g.type===L){this.suspenseDepth--; | ||
var m=f.pop();if(e){e=!1;var qa=g.fallbackFrame;if(!qa)throw q(303);this.stack.push(qa);f[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}else f[this.suspenseDepth]+=m}f[this.suspenseDepth]+=h}else{var p=g.children[g.childIndex++],n="";try{n+=this.render(p,g.context,g.domNamespace)}catch(Ea){throw Ea;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=n}}return f[0]}finally{S.current=c,E=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+ | ||
a;if(""===c)return"";if(this.makeStaticMarkup)return A(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+A(c);this.previousWasTextNode=!0;return A(c)}d=Da(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!t.isValidElement(a)){if(null!=a&&null!=a.$$typeof){c=a.$$typeof;if(c===V)throw q(257);throw q(258,c.toString());}a=z(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}var b=a.type;if("string"===typeof b)return this.renderDOM(a, | ||
d,c);switch(b){case X:case U:case W:case K:return a=z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case L:throw q(294);}if("object"===typeof b&&null!==b)switch(b.$$typeof){case Z:u={};var e=b.render(a.props,a.ref);e=la(b.render,a.props,e,a.ref);e=z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case aa:return a=[t.createElement(b.type,y({ref:a.ref},a.props))],this.stack.push({type:null, | ||
domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case M:return b=z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case Y:b=a.type;e=a.props;var k=this.threadID;C(b,k);b=z(e.children(b[k]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ca:case da:throw q(332);case ba:throw q(295);}throw q(130,null==b?b:typeof b,"");};a.prototype.renderDOM=function(a, | ||
d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&oa(b);if(!sa.hasOwnProperty(b)){if(!La.test(b))throw q(65,b);sa[b]=!0}var e=a.props;if("input"===b)e=y({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var k=e.value;if(null==k){k=e.defaultValue;var g=e.children;if(null!=g){if(null!=k)throw q(92);if(Array.isArray(g)){if(!(1>=g.length))throw q(93);g=g[0]}k= | ||
""+g}null==k&&(k="")}e=y({},e,{value:void 0,children:""+k})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=y({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var h=Ca(e.children);if(null!=g){var m=null!=e.value?e.value+"":h;k=!1;if(Array.isArray(g))for(var l=0;l<g.length;l++){if(""+g[l]===m){k=!0;break}}else k=""+g===m;e=y({selected:void 0,children:void 0},e,{selected:k,children:h})}}if(k=e){if(Ga[b]&&(null!=k.children||null!=k.dangerouslySetInnerHTML))throw q(137, | ||
b,"");if(null!=k.dangerouslySetInnerHTML){if(null!=k.children)throw q(60);if(!("object"===typeof k.dangerouslySetInnerHTML&&"__html"in k.dangerouslySetInnerHTML))throw q(61);}if(null!=k.style&&"object"!==typeof k.style)throw q(62,"");}k=e;g=this.makeStaticMarkup;h=1===this.stack.length;m="<"+a.type;for(w in k)if(Ma.call(k,w)){var p=k[w];if(null!=p){if("style"===w){l=void 0;var n="",r="";for(l in p)if(p.hasOwnProperty(l)){var v=0===l.indexOf("--"),t=p[l];if(null!=t){var u=l;if(T.hasOwnProperty(u))u= | ||
T[u];else{var x=u.replace(Ia,"-$1").toLowerCase().replace(Ja,"-ms-");u=T[u]=x}n+=r+u+":";r=l;v=null==t||"boolean"===typeof t||""===t?"":v||"number"!==typeof t||0===t||F.hasOwnProperty(r)&&F[r]?(""+t).trim():t+"px";n+=v;r=";"}}p=n||null}l=null;b:if(v=b,t=k,-1===v.indexOf("-"))v="string"===typeof t.is;else switch(v){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":v=!1;break b;default:v= | ||
!0}v?Na.hasOwnProperty(w)||(l=w,l=fa(l)&&null!=p?l+"="+('"'+A(p)+'"'):""):l=Aa(w,p);l&&(m+=" "+l)}}g||h&&(m+=' data-reactroot=""');var w=m;k="";ra.hasOwnProperty(b)?w+="/>":(w+=">",k="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=A(g);break a}g=null}null!=g?(e=[],Ka[b]&&"\n"===g.charAt(0)&&(w+="\n"),w+=g):e=z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?oa(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:e,childIndex:0,context:d,footer:k});this.previousWasTextNode=!1;return w};return a}();m={renderToString:function(a){a=new ta(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new ta(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw q(207);},renderToStaticNodeStream:function(){throw q(208); | ||
},version:"16.9.0-alpha.0"};m=(B={default:m},m)||B;return m.default||m}); |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-test-utils.development.js | ||
@@ -22,2 +22,16 @@ * | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
function ReactError(message) { | ||
var error = new Error(message); | ||
error.name = 'Invariant Violation'; | ||
return error; | ||
} | ||
/** | ||
@@ -34,36 +48,2 @@ * Use invariant() to assert state which your program assumes to be true. | ||
var validateFormat = function () {}; | ||
{ | ||
validateFormat = function (format) { | ||
if (format === undefined) { | ||
throw new Error('invariant requires an error message argument'); | ||
} | ||
}; | ||
} | ||
function invariant(condition, format, a, b, c, d, e, f) { | ||
validateFormat(format); | ||
if (!condition) { | ||
var error = void 0; | ||
if (format === undefined) { | ||
error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); | ||
} else { | ||
var args = [a, b, c, d, e, f]; | ||
var argIndex = 0; | ||
error = new Error(format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
})); | ||
error.name = 'Invariant Violation'; | ||
} | ||
error.framesToPop = 1; // we don't care about invariant's own frame | ||
throw error; | ||
} | ||
} | ||
// Relying on the `invariant()` implementation lets us | ||
// preserve the format and params in the www builds. | ||
/** | ||
@@ -154,2 +134,19 @@ * Similar to invariant but only logs a warning if the condition is not met. | ||
// React event targets | ||
var FunctionComponent = 0; | ||
@@ -224,3 +221,9 @@ var ClassComponent = 1; | ||
function assertIsMounted(fiber) { | ||
!(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0; | ||
(function () { | ||
if (!(isFiberMountedImpl(fiber) === MOUNTED)) { | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
} | ||
@@ -233,3 +236,9 @@ | ||
var state = isFiberMountedImpl(fiber); | ||
!(state !== UNMOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0; | ||
(function () { | ||
if (!(state !== UNMOUNTED)) { | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
if (state === MOUNTING) { | ||
@@ -273,3 +282,9 @@ return null; | ||
// way this could possibly happen is if this was unmounted, if at all. | ||
invariant(false, 'Unable to find node on an unmounted component.'); | ||
(function () { | ||
{ | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
} | ||
@@ -325,11 +340,29 @@ | ||
} | ||
!didFindChild ? invariant(false, 'Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.') : void 0; | ||
(function () { | ||
if (!didFindChild) { | ||
{ | ||
throw ReactError('Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.'); | ||
} | ||
} | ||
})(); | ||
} | ||
} | ||
!(a.alternate === b) ? invariant(false, 'Return fibers should always be each others\' alternates. This error is likely caused by a bug in React. Please file an issue.') : void 0; | ||
(function () { | ||
if (!(a.alternate === b)) { | ||
{ | ||
throw ReactError('Return fibers should always be each others\' alternates. This error is likely caused by a bug in React. Please file an issue.'); | ||
} | ||
} | ||
})(); | ||
} | ||
// If the root is not a host container, we're in a disconnected tree. I.e. | ||
// unmounted. | ||
!(a.tag === HostRoot) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0; | ||
(function () { | ||
if (!(a.tag === HostRoot)) { | ||
{ | ||
throw ReactError('Unable to find node on an unmounted component.'); | ||
} | ||
} | ||
})(); | ||
if (a.stateNode.current === a) { | ||
@@ -591,3 +624,9 @@ // We've determined that A is the current branch. | ||
var EventConstructor = this; | ||
!(event instanceof EventConstructor) ? invariant(false, 'Trying to release an event instance into a pool of a different type.') : void 0; | ||
(function () { | ||
if (!(event instanceof EventConstructor)) { | ||
{ | ||
throw ReactError('Trying to release an event instance into a pool of a different type.'); | ||
} | ||
} | ||
})(); | ||
event.destructor(); | ||
@@ -851,6 +890,164 @@ if (EventConstructor.eventPool.length < EVENT_POOL_SIZE) { | ||
// for .act's return value | ||
var PLUGIN_EVENT_SYSTEM = 1; | ||
var didWarnAboutMessageChannel = false; | ||
var enqueueTask = void 0; | ||
try { | ||
// read require off the module object to get around the bundlers. | ||
// we don't want them to detect a require and bundle a Node polyfill. | ||
var requireString = ('require' + Math.random()).slice(0, 7); | ||
var nodeRequire = module && module[requireString]; | ||
// assuming we're in node, let's try to get node's | ||
// version of setImmediate, bypassing fake timers if any. | ||
enqueueTask = nodeRequire('timers').setImmediate; | ||
} catch (_err) { | ||
// we're in a browser | ||
// we can't use regular timers because they may still be faked | ||
// so we try MessageChannel+postMessage instead | ||
enqueueTask = function (callback) { | ||
{ | ||
if (didWarnAboutMessageChannel === false) { | ||
didWarnAboutMessageChannel = true; | ||
!(typeof MessageChannel !== 'undefined') ? warningWithoutStack$1(false, 'This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.') : void 0; | ||
} | ||
} | ||
var channel = new MessageChannel(); | ||
channel.port1.onmessage = callback; | ||
channel.port2.postMessage(undefined); | ||
}; | ||
} | ||
var enqueueTask$1 = enqueueTask; | ||
// Keep in sync with ReactDOMUnstableNativeDependencies.js | ||
// ReactDOM.js, and ReactTestUtils.js: | ||
var _ReactDOM$__SECRET_IN$1 = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; | ||
var getInstanceFromNode$1 = _ReactDOM$__SECRET_IN$1[0]; | ||
var getNodeFromInstance$1 = _ReactDOM$__SECRET_IN$1[1]; | ||
var getFiberCurrentPropsFromNode$1 = _ReactDOM$__SECRET_IN$1[2]; | ||
var injectEventPluginsByName$1 = _ReactDOM$__SECRET_IN$1[3]; | ||
var eventNameDispatchConfigs$1 = _ReactDOM$__SECRET_IN$1[4]; | ||
var accumulateTwoPhaseDispatches$1 = _ReactDOM$__SECRET_IN$1[5]; | ||
var accumulateDirectDispatches$1 = _ReactDOM$__SECRET_IN$1[6]; | ||
var enqueueStateRestore$1 = _ReactDOM$__SECRET_IN$1[7]; | ||
var restoreStateIfNeeded$1 = _ReactDOM$__SECRET_IN$1[8]; | ||
var dispatchEvent$1 = _ReactDOM$__SECRET_IN$1[9]; | ||
var runEventsInBatch$1 = _ReactDOM$__SECRET_IN$1[10]; | ||
var flushPassiveEffects$1 = _ReactDOM$__SECRET_IN$1[11]; | ||
var batchedUpdates = ReactDOM.unstable_batchedUpdates; | ||
var ReactShouldWarnActingUpdates = ReactSharedInternals.ReactShouldWarnActingUpdates; | ||
// this implementation should be exactly the same in | ||
// ReactTestUtilsAct.js, ReactTestRendererAct.js, createReactNoop.js | ||
// we track the 'depth' of the act() calls with this counter, | ||
// so we can tell if any async act() calls try to run in parallel. | ||
var actingUpdatesScopeDepth = 0; | ||
function flushEffectsAndMicroTasks(onDone) { | ||
try { | ||
flushPassiveEffects$1(); | ||
enqueueTask$1(function () { | ||
if (flushPassiveEffects$1()) { | ||
flushEffectsAndMicroTasks(onDone); | ||
} else { | ||
onDone(); | ||
} | ||
}); | ||
} catch (err) { | ||
onDone(err); | ||
} | ||
} | ||
function act(callback) { | ||
var previousActingUpdatesScopeDepth = void 0; | ||
{ | ||
previousActingUpdatesScopeDepth = actingUpdatesScopeDepth; | ||
actingUpdatesScopeDepth++; | ||
ReactShouldWarnActingUpdates.current = true; | ||
} | ||
function onDone() { | ||
{ | ||
actingUpdatesScopeDepth--; | ||
if (actingUpdatesScopeDepth === 0) { | ||
ReactShouldWarnActingUpdates.current = false; | ||
} | ||
if (actingUpdatesScopeDepth > previousActingUpdatesScopeDepth) { | ||
// if it's _less than_ previousActingUpdatesScopeDepth, then we can assume the 'other' one has warned | ||
warningWithoutStack$1(false, 'You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. '); | ||
} | ||
} | ||
} | ||
var result = batchedUpdates(callback); | ||
if (result !== null && typeof result === 'object' && typeof result.then === 'function') { | ||
// setup a boolean that gets set to true only | ||
// once this act() call is await-ed | ||
var called = false; | ||
{ | ||
if (typeof Promise !== 'undefined') { | ||
//eslint-disable-next-line no-undef | ||
Promise.resolve().then(function () {}).then(function () { | ||
if (called === false) { | ||
warningWithoutStack$1(false, 'You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, interleaving multiple act ' + 'calls and mixing their scopes. You should - await act(async () => ...);'); | ||
} | ||
}); | ||
} | ||
} | ||
// in the async case, the returned thenable runs the callback, flushes | ||
// effects and microtasks in a loop until flushPassiveEffects() === false, | ||
// and cleans up | ||
return { | ||
then: function (resolve, reject) { | ||
called = true; | ||
result.then(function () { | ||
flushEffectsAndMicroTasks(function (err) { | ||
onDone(); | ||
if (err) { | ||
reject(err); | ||
} else { | ||
resolve(); | ||
} | ||
}); | ||
}, function (err) { | ||
onDone(); | ||
reject(err); | ||
}); | ||
} | ||
}; | ||
} else { | ||
{ | ||
!(result === undefined) ? warningWithoutStack$1(false, 'The callback passed to act(...) function ' + 'must return undefined, or a Promise. You returned %s', result) : void 0; | ||
} | ||
// flush effects until none remain, and cleanup | ||
try { | ||
while (flushPassiveEffects$1()) {} | ||
onDone(); | ||
} catch (err) { | ||
onDone(); | ||
throw err; | ||
} | ||
// in the sync case, the returned thenable only warns *if* await-ed | ||
return { | ||
then: function (resolve) { | ||
{ | ||
warningWithoutStack$1(false, 'Do not await the result of calling act(...) with sync logic, it is not a Promise.'); | ||
} | ||
resolve(); | ||
} | ||
}; | ||
} | ||
} | ||
var findDOMNode = ReactDOM.findDOMNode; | ||
// Keep in sync with ReactDOMUnstableNativeDependencies.js | ||
// and ReactDOM.js: | ||
// ReactDOM.js, and ReactTestUtilsAct.js: | ||
@@ -869,2 +1066,3 @@ var _ReactDOM$__SECRET_IN = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; | ||
var runEventsInBatch = _ReactDOM$__SECRET_IN[10]; | ||
var flushPassiveEffects = _ReactDOM$__SECRET_IN[11]; | ||
@@ -889,3 +1087,3 @@ | ||
fakeNativeEvent.target = node; | ||
dispatchEvent(topLevelType, fakeNativeEvent); | ||
dispatchEvent(topLevelType, PLUGIN_EVENT_SYSTEM, fakeNativeEvent); | ||
} | ||
@@ -960,8 +1158,17 @@ | ||
} | ||
invariant(false, '%s(...): the first argument must be a React class instance. Instead received: %s.', methodName, received); | ||
(function () { | ||
{ | ||
{ | ||
throw ReactError(methodName + '(...): the first argument must be a React class instance. Instead received: ' + received + '.'); | ||
} | ||
} | ||
})(); | ||
} | ||
// a stub element, lazily initialized, used by act() when flushing effects | ||
// a plain dom element, lazily initialized, used by act() when flushing effects | ||
var actContainerElement = null; | ||
// a warning for when you try to use TestUtils.act in a non-browser environment | ||
var didWarnAboutActInNodejs = false; | ||
/** | ||
@@ -1047,3 +1254,9 @@ * Utilities for making it easy to test React components. | ||
if (!Array.isArray(classNames)) { | ||
!(classNames !== undefined) ? invariant(false, 'TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.') : void 0; | ||
(function () { | ||
if (!(classNames !== undefined)) { | ||
{ | ||
throw ReactError('TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.'); | ||
} | ||
} | ||
})(); | ||
classNames = classNames.split(/\s+/); | ||
@@ -1166,34 +1379,13 @@ } | ||
if (actContainerElement === null) { | ||
// warn if we can't actually create the stub element | ||
{ | ||
!(typeof document !== 'undefined' && document !== null && typeof document.createElement === 'function') ? warningWithoutStack$1(false, 'It looks like you called TestUtils.act(...) in a non-browser environment. ' + "If you're using TestRenderer for your tests, you should call " + 'TestRenderer.act(...) instead of TestUtils.act(...).') : void 0; | ||
// warn if we're trying to use this in something like node (without jsdom) | ||
if (didWarnAboutActInNodejs === false) { | ||
didWarnAboutActInNodejs = true; | ||
!(typeof document !== 'undefined' && document !== null) ? warningWithoutStack$1(false, 'It looks like you called ReactTestUtils.act(...) in a non-browser environment. ' + "If you're using TestRenderer for your tests, you should call " + 'ReactTestRenderer.act(...) instead of ReactTestUtils.act(...).') : void 0; | ||
} | ||
} | ||
// then make it | ||
// now make the stub element | ||
actContainerElement = document.createElement('div'); | ||
} | ||
var result = ReactDOM.unstable_batchedUpdates(callback); | ||
// note: keep these warning messages in sync with | ||
// createReactNoop.js and ReactTestRenderer.js | ||
{ | ||
if (result !== undefined) { | ||
var addendum = void 0; | ||
if (result !== null && typeof result.then === 'function') { | ||
addendum = '\n\nIt looks like you wrote ReactTestUtils.act(async () => ...), ' + 'or returned a Promise from the callback passed to it. ' + 'Putting asynchronous logic inside ReactTestUtils.act(...) is not supported.\n'; | ||
} else { | ||
addendum = ' You returned: ' + result; | ||
} | ||
warningWithoutStack$1(false, 'The callback passed to ReactTestUtils.act(...) function must not return anything.%s', addendum); | ||
} | ||
} | ||
ReactDOM.render(React.createElement('div', null), actContainerElement); | ||
// we want the user to not expect a return, | ||
// but we want to warn if they use it like they can await on it. | ||
return { | ||
then: function () { | ||
{ | ||
warningWithoutStack$1(false, 'Do not await the result of calling ReactTestUtils.act(...), it is not a Promise.'); | ||
} | ||
} | ||
}; | ||
return act(callback); | ||
} | ||
@@ -1212,4 +1404,16 @@ }; | ||
return function (domNode, eventData) { | ||
!!React.isValidElement(domNode) ? invariant(false, 'TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.') : void 0; | ||
!!ReactTestUtils.isCompositeComponent(domNode) ? invariant(false, 'TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.') : void 0; | ||
(function () { | ||
if (!!React.isValidElement(domNode)) { | ||
{ | ||
throw ReactError('TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.'); | ||
} | ||
} | ||
})(); | ||
(function () { | ||
if (!!ReactTestUtils.isCompositeComponent(domNode)) { | ||
{ | ||
throw ReactError('TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.'); | ||
} | ||
} | ||
})(); | ||
@@ -1216,0 +1420,0 @@ var dispatchConfig = eventNameDispatchConfigs[eventType]; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-test-utils.production.min.js | ||
@@ -9,22 +9,22 @@ * | ||
*/ | ||
'use strict';(function(g,m){"object"===typeof exports&&"undefined"!==typeof module?module.exports=m(require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["react","react-dom"],m):g.ReactTestUtils=m(g.React,g.ReactDOM)})(this,function(g,m){function H(a,b,c,e,d,f,h,J){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 g=[c,e,d,f,h,J],I=0;a=Error(b.replace(/%s/g, | ||
function(){return g[I++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}function l(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]);H(!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)}function A(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 B(a){2!==A(a)?l("188"):void 0}function K(a){var b=a.alternate;if(!b)return b=A(a),3===b?l("188"):void 0,1===b?null:a;for(var c=a,e=b;;){var d=c.return,f=d?d.alternate:null;if(!d||!f)break;if(d.child===f.child){for(var h=d.child;h;){if(h===c)return B(d),a;if(h===e)return B(d),b;h=h.sibling}l("188")}if(c.return!==e.return)c=d,e=f;else{h=!1;for(var g=d.child;g;){if(g===c){h=!0;c=d;e=f;break}if(g===e){h=!0;e=d;c=f; | ||
break}g=g.sibling}if(!h){for(g=f.child;g;){if(g===c){h=!0;c=f;e=d;break}if(g===e){h=!0;e=f;c=d;break}g=g.sibling}h?void 0:l("189")}}c.alternate!==e?l("190"):void 0}3!==c.tag?l("188"):void 0;return c.stateNode.current===c?a:b}function u(){return!0}function v(){return!1}function r(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}function L(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 M(a){a instanceof this?void 0:l("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function C(a){a.eventPool=[];a.getPooled=L;a.release=M}function w(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+ | ||
b;return c}function x(a){if(y[a])return y[a];if(!q[a])return a;var b=q[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in D)return y[a]=b[c];return a}function E(a){}function N(a,b){if(!a)return[];a=K(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}}}function p(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;l("286",b,a)}}function O(a){return function(b,c){g.isValidElement(b)?l("228"):void 0;f.isCompositeComponent(b)?l("229"):void 0;var e=F[a],d=new E;d.target=b;d.type=a.toLowerCase();var k=P(b),h=new r(e,k,d,b);h.persist();t(h,c);e.phasedRegistrationNames?Q(h):R(h);m.unstable_batchedUpdates(function(){S(b);T(h)});U()}}function V(a, | ||
b){return function(c,e){var d=new E(a);t(d,e);f.isDOMComponent(c)?(c=W(c),d.target=c,G(b,d)):c.tagName&&(d.target=c,G(b,d))}}var t=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,k=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;k.hasOwnProperty("ReactCurrentDispatcher")||(k.ReactCurrentDispatcher={current:null});t(r.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]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=v;this._dispatchInstances=this._dispatchListeners= | ||
null}});r.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};r.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,e=function(){};e.prototype=c.prototype;e=new e;t(e,b.prototype);b.prototype=e;b.prototype.constructor=b;b.Interface=t({},c.Interface,a);b.extend=c.extend;C(b);return b};C(r);k=!("undefined"===typeof window|| | ||
!window.document||!window.document.createElement);var q={animationend:w("Animation","AnimationEnd"),animationiteration:w("Animation","AnimationIteration"),animationstart:w("Animation","AnimationStart"),transitionend:w("Transition","TransitionEnd")},y={},D={};k&&(D=document.createElement("div").style,"AnimationEvent"in window||(delete q.animationend.animation,delete q.animationiteration.animation,delete q.animationstart.animation),"TransitionEvent"in window||delete q.transitionend.transition);k=x("animationend"); | ||
var X=x("animationiteration"),Y=x("animationstart"),Z=x("transitionend"),W=m.findDOMNode,n=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,P=n[0],F=n[4],Q=n[5],R=n[6],S=n[7],U=n[8],G=n[9],T=n[10],z=null,f={renderIntoDocument:function(a){var b=document.createElement("div");return m.render(a,b)},isElement:function(a){return g.isValidElement(a)},isElementOfType:function(a,b){return g.isValidElement(a)&&a.type===b},isDOMComponent:function(a){return!(!a||1!==a.nodeType||!a.tagName)},isDOMComponentElement:function(a){return!!(a&& | ||
g.isValidElement(a)&&a.tagName)},isCompositeComponent:function(a){return f.isDOMComponent(a)?!1:null!=a&&"function"===typeof a.render&&"function"===typeof a.setState},isCompositeComponentWithType:function(a,b){return f.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){p(a,"findAllInRenderedTree");return a?N(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){p(a,"scryRenderedDOMComponentsWithClass");return f.findAllInRenderedTree(a, | ||
function(a){if(f.isDOMComponent(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var d=c.split(/\s+/);Array.isArray(b)||(void 0===b?l("11"):void 0,b=b.split(/\s+/));return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){p(a,"findRenderedDOMComponentWithClass");a=f.scryRenderedDOMComponentsWithClass(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]},scryRenderedDOMComponentsWithTag:function(a, | ||
b){p(a,"scryRenderedDOMComponentsWithTag");return f.findAllInRenderedTree(a,function(a){return f.isDOMComponent(a)&&a.tagName.toUpperCase()===b.toUpperCase()})},findRenderedDOMComponentWithTag:function(a,b){p(a,"findRenderedDOMComponentWithTag");a=f.scryRenderedDOMComponentsWithTag(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for tag:"+b);return a[0]},scryRenderedComponentsWithType:function(a,b){p(a,"scryRenderedComponentsWithType");return f.findAllInRenderedTree(a, | ||
function(a){return f.isCompositeComponentWithType(a,b)})},findRenderedComponentWithType:function(a,b){p(a,"findRenderedComponentWithType");a=f.scryRenderedComponentsWithType(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]},mockComponent:function(a,b){b=b||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return g.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a, | ||
pageY:b}]}},Simulate:null,SimulateNative:{},act:function(a){null===z&&(z=document.createElement("div"));m.unstable_batchedUpdates(a);m.render(g.createElement("div",null),z);return{then:function(){}}}};(function(){f.Simulate={};var a=void 0;for(a in F)f.Simulate[a]=O(a)})();[["abort","abort"],[k,"animationEnd"],[X,"animationIteration"],[Y,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay","canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"], | ||
["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["dragstart","dragStart"],["drag","drag"],["drop","drop"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"], | ||
["focus","focus"],["input","input"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["loadstart","loadStart"],["loadstart","loadStart"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["mousedown","mouseDown"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["playing","playing"],["progress","progress"],["ratechange","rateChange"],["scroll","scroll"], | ||
["seeked","seeked"],["seeking","seeking"],["selectionchange","selectionChange"],["stalled","stalled"],["suspend","suspend"],["textInput","textInput"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchmove","touchMove"],["touchstart","touchStart"],[Z,"transitionEnd"],["volumechange","volumeChange"],["waiting","waiting"],["wheel","wheel"]].forEach(function(a){var b=a[1];f.SimulateNative[b]=V(b,a[0])});k=(k={default:f},f)||k;return k.default|| | ||
k}); | ||
'use strict';(function(h,l){"object"===typeof exports&&"undefined"!==typeof module?module.exports=l(require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["react","react-dom"],l):h.ReactTestUtils=l(h.React,h.ReactDOM)})(this,function(h,l){function m(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 Error("Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ")} | ||
function x(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 I(a){var b=a.alternate;if(!b){b=x(a);if(3===b)throw m(188);return 1===b?null:a}for(var c=a,e=b;;){var d=c.return,f=d?d.alternate:null;if(!d||!f)break;if(d.child===f.child){for(f=d.child;f;){if(f===c){if(2!==x(d))break;return a}if(f===e){if(2!==x(d))break;return b}f=f.sibling}throw m(188);}if(c.return!==e.return)c= | ||
d,e=f;else{for(var g=!1,h=d.child;h;){if(h===c){g=!0;c=d;e=f;break}if(h===e){g=!0;e=d;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;e=d;break}if(h===e){g=!0;e=f;c=d;break}h=h.sibling}if(!g)throw m(189);}}if(c.alternate!==e)throw m(190);}if(3!==c.tag)throw m(188);return c.stateNode.current===c?a:b}function t(){return!0}function u(){return!1}function q(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)?t:u;this.isPropagationStopped=u;return this}function J(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 K(a){if(!(a instanceof this))throw m(279);a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function B(a){a.eventPool=[];a.getPooled=J;a.release=K}function v(a, | ||
b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function w(a){if(y[a])return y[a];if(!n[a])return a;var b=n[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in C)return y[a]=b[c];return a}function D(a){try{z(),L(function(){z()?D(a):a()})}catch(b){a(b)}}function M(a){var b=N(a);if(null!==b&&"object"===typeof b&&"function"===typeof b.then)return{then:function(a,e){b.then(function(){D(function(b){b?e(b):a()})},function(a){e(a)})}};try{for(;z(););}catch(c){throw c; | ||
}return{then:function(a){a()}}}function E(a){}function O(a,b){if(!a)return[];a=I(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}}}function k(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;throw m(286,b,a);}}function P(a){return function(b,c){if(h.isValidElement(b))throw m(228);if(f.isCompositeComponent(b))throw m(229);var e=F[a],d=new E;d.target=b;d.type=a.toLowerCase();var g=Q(b),k=new q(e,g,d,b);k.persist();r(k,c);e.phasedRegistrationNames?R(k):S(k);l.unstable_batchedUpdates(function(){T(b);U(k)});V()}}function W(a,b){return function(c,e){var d=new E(a);r(d,e);f.isDOMComponent(c)?(c=X(c),d.target=c,G(b,1,d)):c.tagName&&(d.target= | ||
c,G(b,1,d))}}var r=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,p=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;p.hasOwnProperty("ReactCurrentDispatcher")||(p.ReactCurrentDispatcher={current:null});r(q.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=t)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation? | ||
a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=t)},persist:function(){this.isPersistent=t},isPersistent:u,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=u;this._dispatchInstances=this._dispatchListeners=null}});q.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};q.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,e=function(){};e.prototype=c.prototype;e=new e;r(e,b.prototype);b.prototype=e;b.prototype.constructor=b;b.Interface=r({},c.Interface,a);b.extend=c.extend;B(b);return b};B(q);p=!("undefined"===typeof window||!window.document||!window.document.createElement);var n={animationend:v("Animation","AnimationEnd"),animationiteration:v("Animation", | ||
"AnimationIteration"),animationstart:v("Animation","AnimationStart"),transitionend:v("Transition","TransitionEnd")},y={},C={};p&&(C=document.createElement("div").style,"AnimationEvent"in window||(delete n.animationend.animation,delete n.animationiteration.animation,delete n.animationstart.animation),"TransitionEvent"in window||delete n.transitionend.transition);p=w("animationend");var Y=w("animationiteration"),Z=w("animationstart"),aa=w("transitionend"),A=void 0;try{var g=("require"+Math.random()).slice(0, | ||
7);A=(module&&module[g])("timers").setImmediate}catch(a){A=function(a){var b=new MessageChannel;b.port1.onmessage=a;b.port2.postMessage(void 0)}}var L=A,z=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events[11],N=l.unstable_batchedUpdates,X=l.findDOMNode;g=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events;var Q=g[0],F=g[4],R=g[5],S=g[6],T=g[7],V=g[8],G=g[9],U=g[10],H=null,f={renderIntoDocument:function(a){var b=document.createElement("div");return l.render(a,b)},isElement:function(a){return h.isValidElement(a)}, | ||
isElementOfType:function(a,b){return h.isValidElement(a)&&a.type===b},isDOMComponent:function(a){return!(!a||1!==a.nodeType||!a.tagName)},isDOMComponentElement:function(a){return!!(a&&h.isValidElement(a)&&a.tagName)},isCompositeComponent:function(a){return f.isDOMComponent(a)?!1:null!=a&&"function"===typeof a.render&&"function"===typeof a.setState},isCompositeComponentWithType:function(a,b){return f.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){k(a, | ||
"findAllInRenderedTree");return a?O(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){k(a,"scryRenderedDOMComponentsWithClass");return f.findAllInRenderedTree(a,function(a){if(f.isDOMComponent(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var d=c.split(/\s+/);if(!Array.isArray(b)){if(void 0===b)throw m(11);b=b.split(/\s+/)}return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){k(a,"findRenderedDOMComponentWithClass"); | ||
a=f.scryRenderedDOMComponentsWithClass(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]},scryRenderedDOMComponentsWithTag:function(a,b){k(a,"scryRenderedDOMComponentsWithTag");return f.findAllInRenderedTree(a,function(a){return f.isDOMComponent(a)&&a.tagName.toUpperCase()===b.toUpperCase()})},findRenderedDOMComponentWithTag:function(a,b){k(a,"findRenderedDOMComponentWithTag");a=f.scryRenderedDOMComponentsWithTag(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+ | ||
a.length+") for tag:"+b);return a[0]},scryRenderedComponentsWithType:function(a,b){k(a,"scryRenderedComponentsWithType");return f.findAllInRenderedTree(a,function(a){return f.isCompositeComponentWithType(a,b)})},findRenderedComponentWithType:function(a,b){k(a,"findRenderedComponentWithType");a=f.scryRenderedComponentsWithType(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]},mockComponent:function(a,b){b=b||a.mockTagName||"div"; | ||
a.prototype.render.mockImplementation(function(){return h.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{},act:function(a){null===H&&(H=document.createElement("div"));return M(a)}};(function(){f.Simulate={};var a=void 0;for(a in F)f.Simulate[a]=P(a)})();[["abort","abort"],[p,"animationEnd"],[Y,"animationIteration"],[Z,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay", | ||
"canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"],["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["dragstart","dragStart"],["drag","drag"],["drop","drop"],["durationchange","durationChange"], | ||
["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["focus","focus"],["input","input"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["loadstart","loadStart"],["loadstart","loadStart"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["mousedown","mouseDown"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["playing", | ||
"playing"],["progress","progress"],["ratechange","rateChange"],["scroll","scroll"],["seeked","seeked"],["seeking","seeking"],["selectionchange","selectionChange"],["stalled","stalled"],["suspend","suspend"],["textInput","textInput"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchmove","touchMove"],["touchstart","touchStart"],[aa,"transitionEnd"],["volumechange","volumeChange"],["waiting","waiting"],["wheel","wheel"]].forEach(function(a){var b= | ||
a[1];f.SimulateNative[b]=W(b,a[0])});g=(g={default:f},f)||g;return g.default||g}); |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-fizz.browser.development.js | ||
@@ -60,2 +60,18 @@ * | ||
// React event targets | ||
function createRequest(children, destination) { | ||
@@ -62,0 +78,0 @@ return { destination: destination, children: children, completedChunks: [], flowing: false }; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-fizz.browser.production.min.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-native-dependencies.development.js | ||
@@ -18,2 +18,16 @@ * | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
// Do not require this module directly! Use a normal error constructor with | ||
// template literal strings. The messages will be converted to ReactError during | ||
// build, and in production they will be minified. | ||
function ReactError(message) { | ||
var error = new Error(message); | ||
error.name = 'Invariant Violation'; | ||
return error; | ||
} | ||
/** | ||
@@ -30,37 +44,3 @@ * Use invariant() to assert state which your program assumes to be true. | ||
var validateFormat = function () {}; | ||
{ | ||
validateFormat = function (format) { | ||
if (format === undefined) { | ||
throw new Error('invariant requires an error message argument'); | ||
} | ||
}; | ||
} | ||
function invariant(condition, format, a, b, c, d, e, f) { | ||
validateFormat(format); | ||
if (!condition) { | ||
var error = void 0; | ||
if (format === undefined) { | ||
error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); | ||
} else { | ||
var args = [a, b, c, d, e, f]; | ||
var argIndex = 0; | ||
error = new Error(format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
})); | ||
error.name = 'Invariant Violation'; | ||
} | ||
error.framesToPop = 1; // we don't care about invariant's own frame | ||
throw error; | ||
} | ||
} | ||
// Relying on the `invariant()` implementation lets us | ||
// preserve the format and params in the www builds. | ||
{ | ||
// In DEV mode, we swap out invokeGuardedCallback for a special version | ||
@@ -206,2 +186,10 @@ // that plays more nicely with the browser's DevTools. The idea is to preserve | ||
/** | ||
* Dispatch the event to the listener. | ||
* @param {SyntheticEvent} event SyntheticEvent to handle | ||
* @param {function} listener Application-level callback | ||
* @param {*} inst Internal component instance | ||
*/ | ||
/** | ||
* Standard/simple iteration through an event's collected dispatches. | ||
@@ -267,3 +255,9 @@ */ | ||
var dispatchInstance = event._dispatchInstances; | ||
!!Array.isArray(dispatchListener) ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : void 0; | ||
(function () { | ||
if (!!Array.isArray(dispatchListener)) { | ||
{ | ||
throw ReactError('executeDirectDispatch(...): Invalid `event`.'); | ||
} | ||
} | ||
})(); | ||
event.currentTarget = dispatchListener ? getNodeFromInstance$1(dispatchInstance) : null; | ||
@@ -460,3 +454,9 @@ var res = dispatchListener ? dispatchListener(event) : null; | ||
function accumulateInto(current, next) { | ||
!(next != null) ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : void 0; | ||
(function () { | ||
if (!(next != null)) { | ||
{ | ||
throw ReactError('accumulateInto(...): Accumulated items must not be null or undefined.'); | ||
} | ||
} | ||
})(); | ||
@@ -577,3 +577,9 @@ if (current == null) { | ||
} | ||
!(!listener || typeof listener === 'function') ? invariant(false, 'Expected `%s` listener to be a function, instead got a value of `%s` type.', registrationName, typeof listener) : void 0; | ||
(function () { | ||
if (!(!listener || typeof listener === 'function')) { | ||
{ | ||
throw ReactError('Expected `' + registrationName + '` listener to be a function, instead got a value of `' + typeof listener + '` type.'); | ||
} | ||
} | ||
})(); | ||
return listener; | ||
@@ -935,3 +941,9 @@ } | ||
var EventConstructor = this; | ||
!(event instanceof EventConstructor) ? invariant(false, 'Trying to release an event instance into a pool of a different type.') : void 0; | ||
(function () { | ||
if (!(event instanceof EventConstructor)) { | ||
{ | ||
throw ReactError('Trying to release an event instance into a pool of a different type.'); | ||
} | ||
} | ||
})(); | ||
event.destructor(); | ||
@@ -1050,3 +1062,9 @@ if (EventConstructor.eventPool.length < EVENT_POOL_SIZE) { | ||
!(identifier != null) ? invariant(false, 'Touch object is missing identifier.') : void 0; | ||
(function () { | ||
if (!(identifier != null)) { | ||
{ | ||
throw ReactError('Touch object is missing identifier.'); | ||
} | ||
} | ||
})(); | ||
{ | ||
@@ -1159,3 +1177,9 @@ !(identifier <= MAX_TOUCH_BANK) ? warningWithoutStack$1(false, 'Touch identifier %s is greater than maximum supported %s which causes ' + 'performance issues backfilling array locations for all of the indices.', identifier, MAX_TOUCH_BANK) : void 0; | ||
function accumulate(current, next) { | ||
!(next != null) ? invariant(false, 'accumulate(...): Accumulated items must be not be null or undefined.') : void 0; | ||
(function () { | ||
if (!(next != null)) { | ||
{ | ||
throw ReactError('accumulate(...): Accumulated items must be not be null or undefined.'); | ||
} | ||
} | ||
})(); | ||
@@ -1664,3 +1688,3 @@ if (current == null) { | ||
// Inject react-dom's ComponentTree into this module. | ||
// Keep in sync with ReactDOM.js and ReactTestUtils.js: | ||
// Keep in sync with ReactDOM.js, ReactTestUtils.js, and ReactTestUtilsAct.js: | ||
var _ReactDOM$__SECRET_IN = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; | ||
@@ -1667,0 +1691,0 @@ var getInstanceFromNode = _ReactDOM$__SECRET_IN[0]; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.8.6 | ||
/** @license React v16.9.0-alpha.0 | ||
* react-dom-unstable-native-dependencies.production.min.js | ||
@@ -9,23 +9,22 @@ * | ||
*/ | ||
'use strict';(function(n,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p(require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["react-dom","react"],p):n.ReactDOMUnstableNativeDependencies=p(n.ReactDOM,n.React)})(this,function(n,p){function Y(a,b,c,f,e,d,g,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 k=[c,f, | ||
e,d,g,h],m=0;a=Error(b.replace(/%s/g,function(){return k[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}function x(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)c+="&args[]="+encodeURIComponent(arguments[f+1]);Y(!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)}function M(a){var b=a._dispatchListeners,c=a._dispatchInstances; | ||
Array.isArray(b)?x("103"):void 0;a.currentTarget=b?N(c):null;b=b?b(a):null;a.currentTarget=null;a._dispatchListeners=null;a._dispatchInstances=null;return b}function t(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function O(a,b,c){for(var f=[];a;)f.push(a),a=t(a);for(a=f.length;0<a--;)b(f[a],"captured",c);for(a=0;a<f.length;a++)b(f[a],"bubbled",c)}function C(a,b){null==b?x("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)? | ||
[a].concat(b):[a,b]}function v(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function P(a,b){var c=a.stateNode;if(!c)return null;var f=Q(c);if(!f)return null;c=f[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(f=!f.disabled)||(a=a.type,f=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!f;break a; | ||
default:a=!1}if(a)return null;c&&"function"!==typeof c?x("231",b,typeof c):void 0;return c}function R(a,b,c){if(b=P(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=C(c._dispatchListeners,b),c._dispatchInstances=C(c._dispatchInstances,a)}function Z(a){a&&a.dispatchConfig.phasedRegistrationNames&&O(a._targetInst,R,a)}function aa(a){if(a&&a.dispatchConfig.phasedRegistrationNames){var b=a._targetInst;b=b?t(b):null;O(b,R,a)}}function y(a){if(a&&a.dispatchConfig.registrationName){var b= | ||
a._targetInst;if(b&&a&&a.dispatchConfig.registrationName){var c=P(b,a.dispatchConfig.registrationName);c&&(a._dispatchListeners=C(a._dispatchListeners,c),a._dispatchInstances=C(a._dispatchInstances,b))}}}function D(){return!0}function E(){return!1}function z(a,b,c,f){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=f:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented? | ||
c.defaultPrevented:!1===c.returnValue)?D:E;this.isPropagationStopped=E;return this}function ba(a,b,c,f){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,f);return e}return new this(a,b,c,f)}function ca(a){a instanceof this?void 0:x("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function S(a){a.eventPool=[];a.getPooled=ba;a.release=ca}function A(a){return"touchstart"===a||"mousedown"===a}function F(a){return"touchmove"===a||"mousemove"===a}function G(a){return"touchend"=== | ||
a||"touchcancel"===a||"mouseup"===a}function l(a){return a.timeStamp||a.timestamp}function J(a){a=a.identifier;null==a?x("138"):void 0;return a}function da(a){var b=J(a),c=q[b];c?(c.touchActive=!0,c.startPageX=a.pageX,c.startPageY=a.pageY,c.startTimeStamp=l(a),c.currentPageX=a.pageX,c.currentPageY=a.pageY,c.currentTimeStamp=l(a),c.previousPageX=a.pageX,c.previousPageY=a.pageY,c.previousTimeStamp=l(a)):(c={touchActive:!0,startPageX:a.pageX,startPageY:a.pageY,startTimeStamp:l(a),currentPageX:a.pageX, | ||
currentPageY:a.pageY,currentTimeStamp:l(a),previousPageX:a.pageX,previousPageY:a.pageY,previousTimeStamp:l(a)},q[b]=c);r.mostRecentTimeStamp=l(a)}function ea(a){var b=q[J(a)];b?(b.touchActive=!0,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=l(a),r.mostRecentTimeStamp=l(a)):console.error("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",T(a),U())} | ||
function fa(a){var b=q[J(a)];b?(b.touchActive=!1,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=l(a),r.mostRecentTimeStamp=l(a)):console.error("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",T(a),U())}function T(a){return JSON.stringify({identifier:a.identifier,pageX:a.pageX,pageY:a.pageY,timestamp:l(a)})}function U(){var a=JSON.stringify(q.slice(0, | ||
20));20<q.length&&(a+=" (original size: "+q.length+")");return a}function B(a,b){null==b?x("29"):void 0;return null==a?b:Array.isArray(a)?a.concat(b):Array.isArray(b)?[a].concat(b):[a,b]}var Q=null,V=null,N=null,K=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;K(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=D)},stopPropagation:function(){var a= | ||
this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=D)},persist:function(){this.isPersistent=D},isPersistent:E,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=E;this._dispatchInstances=this._dispatchListeners=null}});z.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};z.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,f=function(){};f.prototype=c.prototype;f=new f;K(f,b.prototype);b.prototype=f;b.prototype.constructor=b;b.Interface=K({},c.Interface,a);b.extend=c.extend;S(b);return b};S(z);var w=z.extend({touchHistory:function(a){return null}});p=["touchstart","mousedown"];var W=["touchmove","mousemove"], | ||
X=["touchcancel","touchend","mouseup"],q=[],r={touchBank:q,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0},u={recordTouchTrack:function(a,b){if(F(a))b.changedTouches.forEach(ea);else if(A(a))b.changedTouches.forEach(da),r.numberActiveTouches=b.touches.length,1===r.numberActiveTouches&&(r.indexOfSingleActiveTouch=b.touches[0].identifier);else if(G(a)&&(b.changedTouches.forEach(fa),r.numberActiveTouches=b.touches.length,1===r.numberActiveTouches))for(a=0;a<q.length;a++)if(b= | ||
q[a],null!=b&&b.touchActive){r.indexOfSingleActiveTouch=a;break}},touchHistory:r},k=null,H=0,L=function(a,b){var c=k;k=a;if(null!==I.GlobalResponderHandler)I.GlobalResponderHandler.onChange(c,a,b)},m={startShouldSetResponder:{phasedRegistrationNames:{bubbled:"onStartShouldSetResponder",captured:"onStartShouldSetResponderCapture"},dependencies:p},scrollShouldSetResponder:{phasedRegistrationNames:{bubbled:"onScrollShouldSetResponder",captured:"onScrollShouldSetResponderCapture"},dependencies:["scroll"]}, | ||
selectionChangeShouldSetResponder:{phasedRegistrationNames:{bubbled:"onSelectionChangeShouldSetResponder",captured:"onSelectionChangeShouldSetResponderCapture"},dependencies:["selectionchange"]},moveShouldSetResponder:{phasedRegistrationNames:{bubbled:"onMoveShouldSetResponder",captured:"onMoveShouldSetResponderCapture"},dependencies:W},responderStart:{registrationName:"onResponderStart",dependencies:p},responderMove:{registrationName:"onResponderMove",dependencies:W},responderEnd:{registrationName:"onResponderEnd", | ||
dependencies:X},responderRelease:{registrationName:"onResponderRelease",dependencies:X},responderTerminationRequest:{registrationName:"onResponderTerminationRequest",dependencies:[]},responderGrant:{registrationName:"onResponderGrant",dependencies:[]},responderReject:{registrationName:"onResponderReject",dependencies:[]},responderTerminate:{registrationName:"onResponderTerminate",dependencies:[]}},I={_getResponder:function(){return k},eventTypes:m,extractEvents:function(a,b,c,f){if(A(a))H+=1;else if(G(a))if(0<= | ||
H)--H;else return console.error("Ended a touch event which was not counted in `trackedTouchCount`."),null;u.recordTouchTrack(a,c);if(b&&("scroll"===a&&!c.responderIgnoreScroll||0<H&&"selectionchange"===a||A(a)||F(a))){var e=A(a)?m.startShouldSetResponder:F(a)?m.moveShouldSetResponder:"selectionchange"===a?m.selectionChangeShouldSetResponder:m.scrollShouldSetResponder;if(k)b:{var d=k;for(var g=0,h=d;h;h=t(h))g++;h=0;for(var l=b;l;l=t(l))h++;for(;0<g-h;)d=t(d),g--;for(;0<h-g;)b=t(b),h--;for(;g--;){if(d=== | ||
b||d===b.alternate)break b;d=t(d);b=t(b)}d=null}else d=b;b=d===k;d=w.getPooled(e,d,c,f);d.touchHistory=u.touchHistory;b?v(d,aa):v(d,Z);b:{e=d._dispatchListeners;b=d._dispatchInstances;if(Array.isArray(e))for(g=0;g<e.length&&!d.isPropagationStopped();g++){if(e[g](d,b[g])){e=b[g];break b}}else if(e&&e(d,b)){e=b;break b}e=null}d._dispatchInstances=null;d._dispatchListeners=null;d.isPersistent()||d.constructor.release(d);e&&e!==k?(d=void 0,b=w.getPooled(m.responderGrant,e,c,f),b.touchHistory=u.touchHistory, | ||
v(b,y),g=!0===M(b),k?(h=w.getPooled(m.responderTerminationRequest,k,c,f),h.touchHistory=u.touchHistory,v(h,y),l=!h._dispatchListeners||M(h),h.isPersistent()||h.constructor.release(h),l?(h=w.getPooled(m.responderTerminate,k,c,f),h.touchHistory=u.touchHistory,v(h,y),d=B(d,[b,h]),L(e,g)):(e=w.getPooled(m.responderReject,e,c,f),e.touchHistory=u.touchHistory,v(e,y),d=B(d,e))):(d=B(d,b),L(e,g)),e=d):e=null}else e=null;d=k&&A(a);b=k&&F(a);g=k&&G(a);if(d=d?m.responderStart:b?m.responderMove:g?m.responderEnd: | ||
null)d=w.getPooled(d,k,c,f),d.touchHistory=u.touchHistory,v(d,y),e=B(e,d);d=k&&"touchcancel"===a;if(a=k&&!d&&G(a))a:{if((a=c.touches)&&0!==a.length)for(b=0;b<a.length;b++)if(g=a[b].target,null!==g&&void 0!==g&&0!==g){h=V(g);b:{for(g=k;h;){if(g===h||g===h.alternate){g=!0;break b}h=t(h)}g=!1}if(g){a=!1;break a}}a=!0}if(a=d?m.responderTerminate:a?m.responderRelease:null)c=w.getPooled(a,k,c,f),c.touchHistory=u.touchHistory,v(c,y),e=B(e,c),L(null);return e},GlobalResponderHandler:null,injection:{injectGlobalResponderHandler:function(a){I.GlobalResponderHandler= | ||
'use strict';(function(n,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p(require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["react-dom","react"],p):n.ReactDOMUnstableNativeDependencies=p(n.ReactDOM,n.React)})(this,function(n,p){function x(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 Error("Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ")} | ||
function M(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))throw x(103);a.currentTarget=b?N(c):null;b=b?b(a):null;a.currentTarget=null;a._dispatchListeners=null;a._dispatchInstances=null;return b}function t(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function O(a,b,c){for(var f=[];a;)f.push(a),a=t(a);for(a=f.length;0<a--;)b(f[a],"captured",c);for(a=0;a<f.length;a++)b(f[a],"bubbled",c)}function C(a,b){if(null==b)throw x(30);if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a, | ||
b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function v(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function P(a,b){var c=a.stateNode;if(!c)return null;var f=Q(c);if(!f)return null;c=f[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(f=!f.disabled)||(a=a.type,f=!("button"===a||"input"=== | ||
a||"select"===a||"textarea"===a));a=!f;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw x(231,b,typeof c);return c}function R(a,b,c){if(b=P(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=C(c._dispatchListeners,b),c._dispatchInstances=C(c._dispatchInstances,a)}function Y(a){a&&a.dispatchConfig.phasedRegistrationNames&&O(a._targetInst,R,a)}function Z(a){if(a&&a.dispatchConfig.phasedRegistrationNames){var b=a._targetInst;b=b?t(b):null;O(b,R,a)}}function y(a){if(a&& | ||
a.dispatchConfig.registrationName){var b=a._targetInst;if(b&&a&&a.dispatchConfig.registrationName){var c=P(b,a.dispatchConfig.registrationName);c&&(a._dispatchListeners=C(a._dispatchListeners,c),a._dispatchInstances=C(a._dispatchInstances,b))}}}function D(){return!0}function E(){return!1}function z(a,b,c,f){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=f:this[e]=c[e]);this.isDefaultPrevented= | ||
(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?D:E;this.isPropagationStopped=E;return this}function aa(a,b,c,f){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,f);return e}return new this(a,b,c,f)}function ba(a){if(!(a instanceof this))throw x(279);a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function S(a){a.eventPool=[];a.getPooled=aa;a.release=ba}function A(a){return"touchstart"===a||"mousedown"===a}function F(a){return"touchmove"===a|| | ||
"mousemove"===a}function G(a){return"touchend"===a||"touchcancel"===a||"mouseup"===a}function k(a){return a.timeStamp||a.timestamp}function J(a){a=a.identifier;if(null==a)throw x(138);return a}function ca(a){var b=J(a),c=q[b];c?(c.touchActive=!0,c.startPageX=a.pageX,c.startPageY=a.pageY,c.startTimeStamp=k(a),c.currentPageX=a.pageX,c.currentPageY=a.pageY,c.currentTimeStamp=k(a),c.previousPageX=a.pageX,c.previousPageY=a.pageY,c.previousTimeStamp=k(a)):(c={touchActive:!0,startPageX:a.pageX,startPageY:a.pageY, | ||
startTimeStamp:k(a),currentPageX:a.pageX,currentPageY:a.pageY,currentTimeStamp:k(a),previousPageX:a.pageX,previousPageY:a.pageY,previousTimeStamp:k(a)},q[b]=c);r.mostRecentTimeStamp=k(a)}function da(a){var b=q[J(a)];b?(b.touchActive=!0,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=k(a),r.mostRecentTimeStamp=k(a)):console.error("Cannot record touch move without a touch start.\nTouch Move: %s\n", | ||
"Touch Bank: %s",T(a),U())}function ea(a){var b=q[J(a)];b?(b.touchActive=!1,b.previousPageX=b.currentPageX,b.previousPageY=b.currentPageY,b.previousTimeStamp=b.currentTimeStamp,b.currentPageX=a.pageX,b.currentPageY=a.pageY,b.currentTimeStamp=k(a),r.mostRecentTimeStamp=k(a)):console.error("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",T(a),U())}function T(a){return JSON.stringify({identifier:a.identifier,pageX:a.pageX,pageY:a.pageY,timestamp:k(a)})}function U(){var a= | ||
JSON.stringify(q.slice(0,20));20<q.length&&(a+=" (original size: "+q.length+")");return a}function B(a,b){if(null==b)throw x(29);return null==a?b:Array.isArray(a)?a.concat(b):Array.isArray(b)?[a].concat(b):[a,b]}var Q=null,V=null,N=null,K=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;K(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented= | ||
D)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=D)},persist:function(){this.isPersistent=D},isPersistent:E,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=E;this._dispatchInstances=this._dispatchListeners=null}});z.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};z.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,f=function(){};f.prototype=c.prototype;f=new f;K(f,b.prototype);b.prototype=f;b.prototype.constructor=b;b.Interface=K({},c.Interface,a);b.extend=c.extend;S(b);return b};S(z);var w=z.extend({touchHistory:function(a){return null}});p=["touchstart", | ||
"mousedown"];var W=["touchmove","mousemove"],X=["touchcancel","touchend","mouseup"],q=[],r={touchBank:q,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0},u={recordTouchTrack:function(a,b){if(F(a))b.changedTouches.forEach(da);else if(A(a))b.changedTouches.forEach(ca),r.numberActiveTouches=b.touches.length,1===r.numberActiveTouches&&(r.indexOfSingleActiveTouch=b.touches[0].identifier);else if(G(a)&&(b.changedTouches.forEach(ea),r.numberActiveTouches=b.touches.length,1===r.numberActiveTouches))for(a= | ||
0;a<q.length;a++)if(b=q[a],null!=b&&b.touchActive){r.indexOfSingleActiveTouch=a;break}},touchHistory:r},l=null,H=0,L=function(a,b){var c=l;l=a;if(null!==I.GlobalResponderHandler)I.GlobalResponderHandler.onChange(c,a,b)},m={startShouldSetResponder:{phasedRegistrationNames:{bubbled:"onStartShouldSetResponder",captured:"onStartShouldSetResponderCapture"},dependencies:p},scrollShouldSetResponder:{phasedRegistrationNames:{bubbled:"onScrollShouldSetResponder",captured:"onScrollShouldSetResponderCapture"}, | ||
dependencies:["scroll"]},selectionChangeShouldSetResponder:{phasedRegistrationNames:{bubbled:"onSelectionChangeShouldSetResponder",captured:"onSelectionChangeShouldSetResponderCapture"},dependencies:["selectionchange"]},moveShouldSetResponder:{phasedRegistrationNames:{bubbled:"onMoveShouldSetResponder",captured:"onMoveShouldSetResponderCapture"},dependencies:W},responderStart:{registrationName:"onResponderStart",dependencies:p},responderMove:{registrationName:"onResponderMove",dependencies:W},responderEnd:{registrationName:"onResponderEnd", | ||
dependencies:X},responderRelease:{registrationName:"onResponderRelease",dependencies:X},responderTerminationRequest:{registrationName:"onResponderTerminationRequest",dependencies:[]},responderGrant:{registrationName:"onResponderGrant",dependencies:[]},responderReject:{registrationName:"onResponderReject",dependencies:[]},responderTerminate:{registrationName:"onResponderTerminate",dependencies:[]}},I={_getResponder:function(){return l},eventTypes:m,extractEvents:function(a,b,c,f){if(A(a))H+=1;else if(G(a))if(0<= | ||
H)--H;else return console.error("Ended a touch event which was not counted in `trackedTouchCount`."),null;u.recordTouchTrack(a,c);if(b&&("scroll"===a&&!c.responderIgnoreScroll||0<H&&"selectionchange"===a||A(a)||F(a))){var e=A(a)?m.startShouldSetResponder:F(a)?m.moveShouldSetResponder:"selectionchange"===a?m.selectionChangeShouldSetResponder:m.scrollShouldSetResponder;if(l)b:{var d=l;for(var g=0,h=d;h;h=t(h))g++;h=0;for(var k=b;k;k=t(k))h++;for(;0<g-h;)d=t(d),g--;for(;0<h-g;)b=t(b),h--;for(;g--;){if(d=== | ||
b||d===b.alternate)break b;d=t(d);b=t(b)}d=null}else d=b;b=d===l;d=w.getPooled(e,d,c,f);d.touchHistory=u.touchHistory;b?v(d,Z):v(d,Y);b:{e=d._dispatchListeners;b=d._dispatchInstances;if(Array.isArray(e))for(g=0;g<e.length&&!d.isPropagationStopped();g++){if(e[g](d,b[g])){e=b[g];break b}}else if(e&&e(d,b)){e=b;break b}e=null}d._dispatchInstances=null;d._dispatchListeners=null;d.isPersistent()||d.constructor.release(d);e&&e!==l?(d=void 0,b=w.getPooled(m.responderGrant,e,c,f),b.touchHistory=u.touchHistory, | ||
v(b,y),g=!0===M(b),l?(h=w.getPooled(m.responderTerminationRequest,l,c,f),h.touchHistory=u.touchHistory,v(h,y),k=!h._dispatchListeners||M(h),h.isPersistent()||h.constructor.release(h),k?(h=w.getPooled(m.responderTerminate,l,c,f),h.touchHistory=u.touchHistory,v(h,y),d=B(d,[b,h]),L(e,g)):(e=w.getPooled(m.responderReject,e,c,f),e.touchHistory=u.touchHistory,v(e,y),d=B(d,e))):(d=B(d,b),L(e,g)),e=d):e=null}else e=null;d=l&&A(a);b=l&&F(a);g=l&&G(a);if(d=d?m.responderStart:b?m.responderMove:g?m.responderEnd: | ||
null)d=w.getPooled(d,l,c,f),d.touchHistory=u.touchHistory,v(d,y),e=B(e,d);d=l&&"touchcancel"===a;if(a=l&&!d&&G(a))a:{if((a=c.touches)&&0!==a.length)for(b=0;b<a.length;b++)if(g=a[b].target,null!==g&&void 0!==g&&0!==g){h=V(g);b:{for(g=l;h;){if(g===h||g===h.alternate){g=!0;break b}h=t(h)}g=!1}if(g){a=!1;break a}}a=!0}if(a=d?m.responderTerminate:a?m.responderRelease:null)c=w.getPooled(a,l,c,f),c.touchHistory=u.touchHistory,v(c,y),e=B(e,c),L(null);return e},GlobalResponderHandler:null,injection:{injectGlobalResponderHandler:function(a){I.GlobalResponderHandler= | ||
a}}};n=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events;p=n[3];(function(a,b,c){Q=a;V=b;N=c})(n[2],n[0],n[1]);return{ResponderEventPlugin:I,ResponderTouchHistoryStore:u,injectEventPluginsByName:p}}); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6283751
48
134418
17
29
5
+ Addedscheduler@0.14.0(transitive)
- Removedscheduler@0.13.6(transitive)
Updatedscheduler@^0.14.0-alpha.0