UNPKG

react-dom

Version:

React package for working with the DOM.

109 lines • 111 kB
/** @license React v16.8.5 * react-dom.profiling.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';(function(R,tb){"object"===typeof exports&&"undefined"!==typeof module?module.exports=tb(require("react")):"function"===typeof define&&define.amd?define(["react"],tb):R.ReactDOM=tb(R.React)})(this,function(R){function tb(a,b,c,d,e,f,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,d,e,f,g,h],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));a.name= "Invariant Violation"}a.framesToPop=1;throw a;}}function n(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);tb(!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 xh(a,b,c,d,e,f,g,h,k){ub=!1;dc=null;yh.apply(zh,arguments)}function Ah(a,b,c,d,e,f,g,h,k){xh.apply(this,arguments);if(ub){if(ub){var l= dc;ub=!1;dc=null}else n("198"),l=void 0;ec||(ec=!0,cd=l)}}function Ke(){if(fc)for(var a in Ra){var b=Ra[a],c=fc.indexOf(a);-1<c?void 0:n("96",a);if(!gc[c]){b.extractEvents?void 0:n("97",a);gc[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;dd.hasOwnProperty(h)?n("99",h):void 0;dd[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&Le(k[e],g,h);e=!0}else f.registrationName?(Le(f.registrationName,g,h),e=!0):e=!1;e?void 0:n("98",d,a)}}}}function Le(a,b,c){Sa[a]? n("100",a):void 0;Sa[a]=b;ed[a]=b.eventTypes[c].dependencies}function Me(a,b,c){var d=a.type||"unknown-event";a.currentTarget=Ne(c);Ah(d,b,void 0,a);a.currentTarget=null}function Ta(a,b){null==b?n("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 fd(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function Oe(a,b){var c=a.stateNode;if(!c)return null;var d=gd(c);if(!d)return null; c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?n("231",b,typeof c):void 0;return c}function hd(a){null!==a&&(vb=Ta(vb,a));a=vb;vb=null;if(a&&(fd(a,Bh),vb?n("95"): void 0,ec))throw a=cd,ec=!1,cd=null,a;}function hc(a){if(a[ea])return a[ea];for(;!a[ea];)if(a.parentNode)a=a.parentNode;else return null;a=a[ea];return 5===a.tag||6===a.tag?a:null}function Pe(a){a=a[ea];return!a||5!==a.tag&&6!==a.tag?null:a}function Fa(a){if(5===a.tag||6===a.tag)return a.stateNode;n("33")}function id(a){return a[ic]||null}function fa(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function Qe(a,b,c){if(b=Oe(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners= Ta(c._dispatchListeners,b),c._dispatchInstances=Ta(c._dispatchInstances,a)}function Ch(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=fa(b);for(b=c.length;0<b--;)Qe(c[b],"captured",a);for(b=0;b<c.length;b++)Qe(c[b],"bubbled",a)}}function jd(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Oe(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=Ta(c._dispatchListeners,b),c._dispatchInstances=Ta(c._dispatchInstances,a))}function Dh(a){a&&a.dispatchConfig.registrationName&& jd(a._targetInst,null,a)}function Ua(a){fd(a,Ch)}function jc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function kc(a){if(kd[a])return kd[a];if(!Va[a])return a;var b=Va[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Re)return kd[a]=b[c];return a}function Se(){if(lc)return lc;var a,b=ld,c=b.length,d,e="value"in sa?sa.value:sa.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return lc=e.slice(a, 1<d?1-d:void 0)}function mc(){return!0}function nc(){return!1}function H(a,b,c,d){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=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?mc:nc;this.isPropagationStopped=nc;return this}function Eh(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d); return e}return new this(a,b,c,d)}function Fh(a){a instanceof this?void 0:n("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function Te(a){a.eventPool=[];a.getPooled=Eh;a.release=Fh}function Ue(a,b){switch(a){case "keyup":return-1!==Gh.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function Ve(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function Hh(a,b){switch(a){case "compositionend":return Ve(b); case "keypress":if(32!==b.which)return null;We=!0;return Xe;case "textInput":return a=b.data,a===Xe&&We?null:a;default:return null}}function Ih(a,b){if(Wa)return"compositionend"===a||!md&&Ue(a,b)?(a=Se(),lc=ld=sa=null,Wa=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Ye&&"ko"!==b.locale?null:b.data; default:return null}}function Ze(a){if(a=$e(a)){"function"!==typeof nd?n("280"):void 0;var b=gd(a.stateNode);nd(a.stateNode,a.type,b)}}function af(a){Xa?Ya?Ya.push(a):Ya=[a]:Xa=a}function bf(){if(Xa){var a=Xa,b=Ya;Ya=Xa=null;Ze(a);if(b)for(a=0;a<b.length;a++)Ze(b[a])}}function cf(a,b){if(od)return a(b);od=!0;try{return df(a,b)}finally{if(od=!1,null!==Xa||null!==Ya)ef(),bf()}}function ff(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Jh[a.type]:"textarea"===b?!0:!1}function pd(a){a= a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function gf(a){if(!ta)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function hf(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function Kh(a){var b=hf(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d= ""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function oc(a){a._valueTracker||(a._valueTracker=Kh(a))}function jf(a){if(!a)return!1; var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=hf(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function wb(a){if(null===a||"object"!==typeof a)return null;a=kf&&a[kf]||a["@@iterator"];return"function"===typeof a?a:null}function ua(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 qd:return"ConcurrentMode";case va:return"Fragment";case Za:return"Portal";case pc:return"Profiler"; case rd:return"StrictMode";case sd:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case lf:return"Context.Consumer";case mf:return"Context.Provider";case td:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case ud:return ua(a.type);case nf:if(a=1===a._status?a._result:null)return ua(a)}return null}function vd(a){var b="";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c="";break a;default:var d=a._debugOwner,e= a._debugSource,f=ua(a.type);c=null;d&&(c=ua(d.type));d=f;f="";e?f=" (at "+e.fileName.replace(Lh,"")+":"+e.lineNumber+")":c&&(f=" (created by "+c+")");c="\n in "+(d||"Unknown")+f}b+=c;a=a.return}while(a);return b}function Mh(a){if(of.call(pf,a))return!0;if(of.call(qf,a))return!1;if(Nh.test(a))return pf[a]=!0;qf[a]=!0;return!1}function Oh(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans; a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function Ph(a,b,c,d){if(null===b||"undefined"===typeof b||Oh(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.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,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}function wd(a,b,c,d){var e=w.hasOwnProperty(b)? w[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Ph(b,c,e,d)&&(c=null),d||null===e?Mh(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function wa(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a; default:return""}}function xd(a,b){var c=b.checked;return z({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function rf(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=wa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function sf(a,b){b=b.checked;null!=b&&wd(a,"checked",b,!1)}function yd(a, b){sf(a,b);var c=wa(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?zd(a,b.type,c):b.hasOwnProperty("defaultValue")&&zd(a,b.type,wa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function tf(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type; if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function zd(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function uf(a,b,c){a=H.getPooled(vf.change,a,b, c);a.type="change";af(c);Ua(a);return a}function Qh(a){hd(a)}function qc(a){var b=Fa(a);if(jf(b))return a}function Rh(a,b){if("change"===a)return b}function wf(){xb&&(xb.detachEvent("onpropertychange",xf),yb=xb=null)}function xf(a){"value"===a.propertyName&&qc(yb)&&(a=uf(yb,a,pd(a)),cf(Qh,a))}function Sh(a,b,c){"focus"===a?(wf(),xb=b,yb=c,xb.attachEvent("onpropertychange",xf)):"blur"===a&&wf()}function Th(a,b){if("selectionchange"===a||"keyup"===a||"keydown"===a)return qc(yb)}function Uh(a,b){if("click"=== a)return qc(b)}function Vh(a,b){if("input"===a||"change"===a)return qc(b)}function Wh(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Xh[a])?!!b[a]:!1}function Ad(a){return Wh}function Ga(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function zb(a,b){if(Ga(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Yh.call(b,c[d])||!Ga(a[c[d]], b[c[d]]))return!1;return!0}function Ab(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 yf(a){2!==Ab(a)?n("188"):void 0}function Zh(a){var b=a.alternate;if(!b)return b=Ab(a),3===b?n("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c.return,f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return yf(e),a;if(g===d)return yf(e),b;g= g.sibling}n("188")}if(c.return!==d.return)c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?void 0:n("189")}}c.alternate!==d?n("190"):void 0}3!==c.tag?n("188"):void 0;return c.stateNode.current===c?a:b}function zf(a){a=Zh(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break; for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function rc(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Af(a,b){var c=a[0];a=a[1];var d="on"+(a[0].toUpperCase()+a.slice(1));b={phasedRegistrationNames:{bubbled:d,captured:d+"Capture"},dependencies:[c],isInteractive:b};Bf[a]=b;Bd[c]=b}function $h(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c); break}var d;for(d=c;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=hc(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=pd(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=null,h=0;h<gc.length;h++){var k=gc[h];k&&(k=k.extractEvents(d,b,f,e))&&(g=Ta(g,k))}hd(g)}}function t(a,b){if(!b)return null;var c=(Cf(a)?Df:sc).bind(null,a);b.addEventListener(a,c,!1)}function tc(a,b){if(!b)return null;var c=(Cf(a)?Df:sc).bind(null,a); b.addEventListener(a,c,!0)}function Df(a,b){Ef(sc,a,b)}function sc(a,b){if(uc){var c=pd(b);c=hc(c);null===c||"number"!==typeof c.tag||2===Ab(c)||(c=null);if(vc.length){var d=vc.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{cf($h,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>vc.length&&vc.push(a)}}}function Ff(a){Object.prototype.hasOwnProperty.call(a,wc)||(a[wc]=ai++,Gf[a[wc]]= {});return Gf[a[wc]]}function Cd(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function Hf(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function If(a,b){var c=Hf(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Hf(c)}}function Jf(a,b){return a&&b?a=== b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Jf(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function Kf(){for(var a=window,b=Cd();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=Cd(a.document)}return b}function Dd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b|| "true"===a.contentEditable)}function bi(){var a=Kf();if(Dd(a)){if("selectionStart"in a)var b={start:a.selectionStart,end:a.selectionEnd};else a:{b=(b=a.ownerDocument)&&b.defaultView||window;var c=b.getSelection&&b.getSelection();if(c&&0!==c.rangeCount){b=c.anchorNode;var d=c.anchorOffset,e=c.focusNode;c=c.focusOffset;try{b.nodeType,e.nodeType}catch(oj){b=null;break a}var f=0,g=-1,h=-1,k=0,l=0,m=a,n=null;b:for(;;){for(var p;;){m!==b||0!==d&&3!==m.nodeType||(g=f+d);m!==e||0!==c&&3!==m.nodeType||(h= f+c);3===m.nodeType&&(f+=m.nodeValue.length);if(null===(p=m.firstChild))break;n=m;m=p}for(;;){if(m===a)break b;n===b&&++k===d&&(g=f);n===e&&++l===c&&(h=f);if(null!==(p=m.nextSibling))break;m=n;n=m.parentNode}m=p}b=-1===g||-1===h?null:{start:g,end:h}}else b=null}b=b||{start:0,end:0}}else b=null;return{focusedElem:a,selectionRange:b}}function ci(a){var b=Kf(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Jf(c.ownerDocument.documentElement,c)){if(null!==d&&Dd(c))if(b=d.start,a=d.end, void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=If(c,f);var g=If(c,d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset), a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}function Lf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(Ed||null==ab||ab!==Cd(c))return null;c=ab;"selectionStart"in c&&Dd(c)?c={start:c.selectionStart, end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return Bb&&zb(Bb,c)?null:(Bb=c,a=H.getPooled(Mf.select,Fd,a,b),a.type="select",a.target=ab,Ua(a),a)}function di(a){var b="";R.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Gd(a,b){a=z({children:void 0},b);if(b=di(b.children))a.children=b;return a}function bb(a,b,c,d){a=a.options;if(b){b= {};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+wa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Hd(a,b){null!=b.dangerouslySetInnerHTML?n("91"):void 0;return z({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})} function Nf(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?n("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:n("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:wa(c)}}function Of(a,b){var c=wa(b.value),d=wa(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Pf(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 Id(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Pf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function Qf(a,b,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||Cb.hasOwnProperty(a)&&Cb[a]?(""+b).trim():b+"px"}function Rf(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=Qf(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c, e):a[c]=e}}function Jd(a,b){b&&(ei[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?n("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?n("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:n("61")),null!=b.style&&"object"!==typeof b.style?n("62",""):void 0)}function Kd(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){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":return!1; default:return!0}}function ha(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Ff(a);b=ed[b];for(var d=0;d<b.length;d++){var e=b[d];if(!c.hasOwnProperty(e)||!c[e]){switch(e){case "scroll":tc("scroll",a);break;case "focus":case "blur":tc("focus",a);tc("blur",a);c.blur=!0;c.focus=!0;break;case "cancel":case "close":gf(e)&&tc(e,a);break;case "invalid":case "submit":case "reset":break;default:-1===Db.indexOf(e)&&t(e,a)}c[e]=!0}}}function xc(){}function Sf(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1} function Ld(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function fi(a,b,c,d,e,f){a[ic]=e;"input"===c&&"radio"===e.type&&null!=e.name&&sf(a,e);Kd(c,d);d=Kd(c,e);for(f=0;f<b.length;f+=2){var g=b[f],h=b[f+1];"style"===g?Rf(a,h):"dangerouslySetInnerHTML"===g?Tf(a,h):"children"===g?Eb(a,h):wd(a,g,h,d)}switch(c){case "input":yd(a, e);break;case "textarea":Of(a,e);break;case "select":b=a._wrapperState.wasMultiple,a._wrapperState.wasMultiple=!!e.multiple,c=e.value,null!=c?bb(a,!!e.multiple,c,!1):b!==!!e.multiple&&(null!=e.defaultValue?bb(a,!!e.multiple,e.defaultValue,!0):bb(a,!!e.multiple,e.multiple?[]:"",!1))}}function Md(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function Uf(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function B(a,b){0>cb||(a.current= Nd[cb],Nd[cb]=null,cb--)}function J(a,b,c){cb++;Nd[cb]=a.current;a.current=b}function db(a,b){var c=a.type.contextTypes;if(!c)return xa;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function C(a){a=a.childContextTypes;return null!==a&&void 0!==a}function yc(a){B(K,a); B(D,a)}function Od(a){B(K,a);B(D,a)}function Vf(a,b,c){D.current!==xa?n("168"):void 0;J(D,b,a);J(K,c,a)}function Wf(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)e in a?void 0:n("108",ua(b)||"Unknown",e);return z({},c,d)}function zc(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||xa;Ha=D.current;J(D,b,a);J(K,K.current,a);return!0}function Xf(a,b,c){var d=a.stateNode;d?void 0:n("169");c?(b= Wf(a,b,Ha),d.__reactInternalMemoizedMergedChildContext=b,B(K,a),B(D,a),J(D,b,a)):B(K,a);J(K,c,a)}function Yf(a){return function(b){try{return a(b)}catch(c){}}}function gi(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);Pd=Yf(function(a){return b.onCommitFiberRoot(c,a)});Qd=Yf(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function hi(a,b,c,d){this.tag=a;this.key= c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null;this.treeBaseDuration=this.selfBaseDuration=this.actualStartTime=this.actualDuration=Number.NaN;this.actualDuration=0;this.actualStartTime= -1;this.treeBaseDuration=this.selfBaseDuration=0}function Rd(a){a=a.prototype;return!(!a||!a.isReactComponent)}function ii(a){if("function"===typeof a)return Rd(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===td)return 11;if(a===ud)return 14}return 2}function Ia(a,b,c){c=a.alternate;null===c?(c=T(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect= null,c.actualDuration=0,c.actualStartTime=-1);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.contextDependencies=a.contextDependencies;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.selfBaseDuration=a.selfBaseDuration;c.treeBaseDuration=a.treeBaseDuration;return c}function Ac(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)Rd(a)&&(g=1);else if("string"=== typeof a)g=5;else a:switch(a){case va:return ya(c.children,e,f,b);case qd:return Zf(c,e|3,f,b);case rd:return Zf(c,e|2,f,b);case pc:return a=T(12,c,b,e|4),a.elementType=pc,a.type=pc,a.expirationTime=f,a;case sd:return a=T(13,c,b,e),b=sd,a.elementType=b,a.type=b,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case mf:g=10;break a;case lf:g=9;break a;case td:g=11;break a;case ud:g=14;break a;case nf:g=16;d=null;break a}n("130",null==a?a:typeof a,"")}b=T(g,c,b,e);b.elementType= a;b.type=d;b.expirationTime=f;return b}function ya(a,b,c,d){a=T(7,a,d,b);a.expirationTime=c;return a}function Zf(a,b,c,d){a=T(8,a,d,b);b=0===(b&1)?rd:qd;a.elementType=b;a.type=b;a.expirationTime=c;return a}function Sd(a,b,c){a=T(6,a,null,b);a.expirationTime=c;return a}function Td(a,b,c){b=T(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Fb(a,b){a.didError=!1;var c=a.earliestPendingTime; 0===c?a.earliestPendingTime=a.latestPendingTime=b:c<b?a.earliestPendingTime=b:a.latestPendingTime>b&&(a.latestPendingTime=b);Bc(b,a)}function ji(a,b){a.didError=!1;if(0===b)a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0;else{b<a.latestPingedTime&&(a.latestPingedTime=0);var c=a.latestPendingTime;0!==c&&(c>b?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime>b&&(a.earliestPendingTime=a.latestPendingTime));c=a.earliestSuspendedTime; 0===c?Fb(a,b):b<a.latestSuspendedTime?(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,Fb(a,b)):b>c&&Fb(a,b)}Bc(0,a)}function ki(a,b){var c=a.latestPendingTime,d=a.latestSuspendedTime;a=a.latestPingedTime;return 0!==c&&c<b||0!==d&&d<b||0!==a&&a<b}function $f(a,b){a.didError=!1;a.latestPingedTime>=b&&(a.latestPingedTime=0);var c=a.earliestPendingTime,d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime; d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=b:c<b?a.earliestSuspendedTime=b:d>b&&(a.latestSuspendedTime=b);Bc(b,a)}function ag(a,b){var c=a.earliestPendingTime;a=a.earliestSuspendedTime;c>b&&(b=c);a>b&&(b=a);return b}function Bc(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||d<a)&&(e=d);a=e;0!==a&&c>a&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}function O(a,b){if(a&&a.defaultProps){b= z({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function li(a){var b=a._result;switch(a._status){case 1:return b;case 2:throw b;case 0:throw b;default:a._status=0;b=a._ctor;b=b();b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)});switch(a._status){case 1:return a._result;case 2:throw a._result;}a._result=b;throw b;}}function Cc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:z({}, b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}function bg(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!zb(c,d)||!zb(e,f):!0}function cg(a,b,c,d){var e=!1;d=xa;var f=b.contextType;"object"===typeof f&&null!==f?f=U(f):(d=C(b)?Ha:D.current,e=b.contextTypes,f=(e=null!==e&&void 0!==e)?db(a,d):xa);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state? b.state:null;b.updater=Dc;a.stateNode=b;b._reactInternalFiber=a;e&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext=f);return b}function dg(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Dc.enqueueReplaceState(b,b.state,null)}function Ud(a,b,c,d){var e=a.stateNode;e.props=c;e.state= a.memoizedState;e.refs=eg;var f=b.contextType;"object"===typeof f&&null!==f?e.context=U(f):(f=C(b)?Ha:D.current,e.context=db(a,f));f=a.updateQueue;null!==f&&(Gb(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(Cc(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&& e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Dc.enqueueReplaceState(e,e.state,null),f=a.updateQueue,null!==f&&(Gb(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}function Hb(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(1!==c.tag?n("309"):void 0,d=c.stateNode);d?void 0:n("147",a);var e=""+a;if(null!==b&&null!==b.ref&& "function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===eg&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}"string"!==typeof a?n("284"):void 0;c._owner?void 0:n("290",a)}return a}function Ec(a,b){"textarea"!==a.type&&n("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function fg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect= b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=Ia(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a, b,c,d){if(null===b||6!==b.tag)return b=Sd(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props,d),d.ref=Hb(a,b,c),d.return=a,d;d=Ac(c.type,c.key,c.props,null,a.mode,d);d.ref=Hb(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=Td(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a, b,c,d,f){if(null===b||7!==b.tag)return b=ya(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function S(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Sd(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case Fc:return c=Ac(b.type,b.key,b.props,null,a.mode,c),c.ref=Hb(a,null,b),c.return=a,c;case Za:return b=Td(b,a.mode,c),b.return=a,b}if(Gc(b)||wb(b))return b=ya(b,a.mode,c,null),b.return=a,b;Ec(a,b)}return null}function p(a,b,c,d){var e=null!== b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case Fc:return c.key===e?c.type===va?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case Za:return c.key===e?l(a,b,c,d):null}if(Gc(c)||wb(c))return null!==e?null:m(a,b,c,d,null);Ec(a,c)}return null}function t(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case Fc:return a= a.get(null===d.key?c:d.key)||null,d.type===va?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case Za:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Gc(d)||wb(d))return a=a.get(c)||null,m(b,a,d,e,null);Ec(b,d)}return null}function q(e,g,h,k){for(var l=null,m=null,n=g,r=g=0,u=null;null!==n&&r<h.length;r++){n.index>r?(u=n,n=null):u=n.sibling;var P=p(e,n,h[r],k);if(null===P){null===n&&(n=u);break}a&&n&&null===P.alternate&&b(e,n);g=f(P,g,r);null===m?l=P:m.sibling=P;m=P;n=u}if(r===h.length)return c(e, n),l;if(null===n){for(;r<h.length;r++)if(n=S(e,h[r],k))g=f(n,g,r),null===m?l=n:m.sibling=n,m=n;return l}for(n=d(e,n);r<h.length;r++)if(u=t(n,e,r,h[r],k))a&&null!==u.alternate&&n.delete(null===u.key?r:u.key),g=f(u,g,r),null===m?l=u:m.sibling=u,m=u;a&&n.forEach(function(a){return b(e,a)});return l}function v(e,g,h,k){var l=wb(h);"function"!==typeof l?n("150"):void 0;h=l.call(h);null==h?n("151"):void 0;for(var m=l=null,r=g,u=g=0,P=null,q=h.next();null!==r&&!q.done;u++,q=h.next()){r.index>u?(P=r,r=null): P=r.sibling;var $a=p(e,r,q.value,k);if(null===$a){r||(r=P);break}a&&r&&null===$a.alternate&&b(e,r);g=f($a,g,u);null===m?l=$a:m.sibling=$a;m=$a;r=P}if(q.done)return c(e,r),l;if(null===r){for(;!q.done;u++,q=h.next())q=S(e,q.value,k),null!==q&&(g=f(q,g,u),null===m?l=q:m.sibling=q,m=q);return l}for(r=d(e,r);!q.done;u++,q=h.next())q=t(r,e,u,q.value,k),null!==q&&(a&&null!==q.alternate&&r.delete(null===q.key?u:q.key),g=f(q,g,u),null===m?l=q:m.sibling=q,m=q);a&&r.forEach(function(a){return b(e,a)});return l} return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===va&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Fc:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===va:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===va?f.props.children:f.props,h);d.ref=Hb(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k=k.sibling}f.type===va?(d=ya(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ac(f.type,f.key,f.props, null,a.mode,h),h.ref=Hb(a,d,f),h.return=a,a=h)}return g(a);case Za:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=Td(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=Sd(f,a.mode, h),d.return=a,a=d),g(a);if(Gc(f))return q(a,d,f,h);if(wb(f))return v(a,d,f,h);l&&Ec(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,n("152",h.displayName||h.name||"Component")}return c(a,d)}}function Ja(a){a===Ib?n("174"):void 0;return a}function Vd(a,b){J(Jb,b,a);J(Kb,a,a);J(V,Ib,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Id(null,"");break;default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=Id(b,c)}B(V,a);J(V,b,a)}function eb(a){B(V, a);B(Kb,a);B(Jb,a)}function gg(a){Ja(Jb.current);var b=Ja(V.current);var c=Id(b,a.type);b!==c&&(J(Kb,a,a),J(V,c,a))}function Wd(a){Kb.current===a&&(B(V,a),B(Kb,a))}function W(){n("321")}function Xd(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!Ga(a[c],b[c]))return!1;return!0}function Yd(a,b,c,d,e,f){Lb=f;za=b;X=null!==a?a.memoizedState:null;Hc.current=null===X?ni:hg;b=c(d,e);if(Mb){do Mb=!1,Nb+=1,X=null!==a?a.memoizedState:null,fb=gb,Y=E=v=null,Hc.current=hg,b=c(d,e);while(Mb); ia=null;Nb=0}Hc.current=Zd;a=za;a.memoizedState=gb;a.expirationTime=Ob;a.updateQueue=Y;a.effectTag|=Pb;a=null!==v&&null!==v.next;Lb=0;fb=E=gb=X=v=za=null;Ob=0;Y=null;Pb=0;a?n("300"):void 0;return b}function $d(){Hc.current=Zd;Lb=0;fb=E=gb=X=v=za=null;Ob=0;Y=null;Pb=0;Mb=!1;ia=null;Nb=0}function hb(){var a={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};null===E?gb=E=a:E=E.next=a;return E}function Qb(){if(null!==fb)E=fb,fb=E.next,v=X,X=null!==v?v.next:null;else{null===X?n("310"): void 0;v=X;var a={memoizedState:v.memoizedState,baseState:v.baseState,queue:v.queue,baseUpdate:v.baseUpdate,next:null};E=null===E?gb=a:E.next=a;X=v.next}return E}function ig(a,b){return"function"===typeof b?b(a):b}function jg(a,b,c){b=Qb();c=b.queue;null===c?n("311"):void 0;if(0<Nb){var d=c.dispatch;if(null!==ia){var e=ia.get(c);if(void 0!==e){ia.delete(c);var f=b.memoizedState;do f=a(f,e.action),e=e.next;while(null!==e);Ga(f,b.memoizedState)||(ja=!0);b.memoizedState=f;b.baseUpdate===c.last&&(b.baseState= f);c.eagerReducer=a;c.eagerState=f;return[f,d]}}return[b.memoizedState,d]}d=c.last;var g=b.baseUpdate;f=b.baseState;null!==g?(null!==d&&(d.next=null),d=g.next):d=null!==d?d.next:null;if(null!==d){var h=e=null,k=d,l=!1;do{var m=k.expirationTime;m<Lb?(l||(l=!0,h=g,e=f),m>Ob&&(Ob=m)):f=k.eagerReducer===a?k.eagerState:a(f,k.action);g=k;k=k.next}while(null!==k&&k!==d);l||(h=g,e=f);Ga(f,b.memoizedState)||(ja=!0);b.memoizedState=f;b.baseUpdate=h;b.baseState=e;c.eagerReducer=a;c.eagerState=f}return[b.memoizedState, c.dispatch]}function ae(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};null===Y?(Y={lastEffect:null},Y.lastEffect=a.next=a):(b=Y.lastEffect,null===b?Y.lastEffect=a.next=a:(c=b.next,b.next=a,a.next=c,Y.lastEffect=a));return a}function be(a,b,c,d){var e=hb();Pb|=a;e.memoizedState=ae(b,c,void 0,void 0===d?null:d)}function ce(a,b,c,d){var e=Qb();d=void 0===d?null:d;var f=void 0;if(null!==v){var g=v.memoizedState;f=g.destroy;if(null!==d&&Xd(d,g.deps)){ae(ib,c,f,d);return}}Pb|=a;e.memoizedState= ae(b,c,f,d)}function kg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function lg(a,b){}function mg(a,b,c){25>Nb?void 0:n("301");var d=a.alternate;if(a===za||null!==d&&d===za)if(Mb=!0,a={expirationTime:Lb,action:c,eagerReducer:null,eagerState:null,next:null},null===ia&&(ia=new Map),c=ia.get(b),void 0===c)ia.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}else{jb();var e=ka();e=kb(e,a);var f={expirationTime:e, action:c,eagerReducer:null,eagerState:null,next:null},g=b.last;if(null===g)f.next=f;else{var h=g.next;null!==h&&(f.next=h);g.next=f}b.last=f;if(0===a.expirationTime&&(null===d||0===d.expirationTime)&&(d=b.eagerReducer,null!==d))try{var k=b.eagerState,l=d(k,c);f.eagerReducer=d;f.eagerState=l;if(Ga(l,k))return}catch(m){}finally{}Aa(a,e)}}function Ic(a,b){if(0<=Ka){var c=la()-Ka;a.actualDuration+=c;b&&(a.selfBaseDuration=c);Ka=-1}}function ng(a,b){var c=T(5,null,null,0);c.elementType="DELETED";c.type= "DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function og(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function pg(a){if(La){var b=lb;if(b){var c=b;if(!og(a,b)){b=Md(c);if(!b||!og(a, b)){a.effectTag|=2;La=!1;ma=a;return}ng(ma,c)}ma=a;lb=Uf(b)}else a.effectTag|=2,La=!1,ma=a}}function qg(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&18!==a.tag;)a=a.return;ma=a}function de(a){if(a!==ma)return!1;if(!La)return qg(a),La=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!Ld(b,a.memoizedProps))for(b=lb;b;)ng(a,b),b=Md(b);qg(a);lb=ma?Md(a.stateNode):null;return!0}function ee(){lb=ma=null;La=!1}function L(a,b,c,d){b.child=null===a?fe(b,null,c,d):mb(b,a.child,c,d)}function rg(a, b,c,d,e){c=c.render;var f=b.ref;nb(b,e);d=Yd(a,b,c,d,f,e);if(null!==a&&!ja)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),na(a,b,e);b.effectTag|=1;L(a,b,d,e);return b.child}function sg(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!Rd(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,tg(a,b,g,d,e,f);a=Ac(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e< f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:zb,c(e,d)&&a.ref===b.ref))return na(a,b,f);b.effectTag|=1;a=Ia(g,d,f);a.ref=b.ref;a.return=b;return b.child=a}function tg(a,b,c,d,e,f){return null!==a&&zb(a.memoizedProps,d)&&a.ref===b.ref&&(ja=!1,e<f)?na(a,b,f):ge(a,b,c,d,f)}function ug(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function ge(a,b,c,d,e){var f=C(c)?Ha:D.current;f=db(b,f);nb(b,e);c=Yd(a,b,c,d,f,e);if(null!==a&&!ja)return b.updateQueue=a.updateQueue,b.effectTag&= -517,a.expirationTime<=e&&(a.expirationTime=0),na(a,b,e);b.effectTag|=1;L(a,b,c,e);return b.child}function vg(a,b,c,d,e){if(C(c)){var f=!0;zc(b)}else f=!1;nb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),cg(b,c,d,e),Ud(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=U(l):(l=C(c)?Ha:D.current,l=db(b,l));var m=c.getDerivedStateFromProps,n="function"===typeof m||"function"=== typeof g.getSnapshotBeforeUpdate;n||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&dg(b,g,d,l);Ba=!1;var p=b.memoizedState;k=g.state=p;var q=b.updateQueue;null!==q&&(Gb(b,q,d,g,e),k=b.memoizedState);h!==d||p!==k||K.current||Ba?("function"===typeof m&&(Cc(b,c,m,d),k=b.memoizedState),(h=Ba||bg(b,c,h,d,p,k,l))?(n||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&& g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=b.type===b.elementType?h:O(b.type,h),k=g.context,l=c.contextType,"object"===typeof l&&null!==l?l= U(l):(l=C(c)?Ha:D.current,l=db(b,l)),m=c.getDerivedStateFromProps,(n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&dg(b,g,d,l),Ba=!1,k=b.memoizedState,p=g.state=k,q=b.updateQueue,null!==q&&(Gb(b,q,d,g,e),p=b.memoizedState),h!==d||k!==p||K.current||Ba?("function"===typeof m&&(Cc(b,c,m,d),p=b.memoizedState),(m=Ba||bg(b,c,h,d,k,p,l))?(n||"function"!==typeof g.UNSAFE_componentWillUpdate&& "function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k=== a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return he(a,b,c,d,f,e)}function he(a,b,c,d,e,f){ug(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Xf(b,c,!1),na(a,b,f);d=b.stateNode;oi.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h= null;Ka=-1}else h=d.render();b.effectTag|=1;null!==a&&g?(g=h,b.child=mb(b,a.child,null,f),b.child=mb(b,null,g,f)):L(a,b,h,f);b.memoizedState=d.state;e&&Xf(b,c,!0);return b.child}function wg(a){var b=a.stateNode;b.pendingContext?Vf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Vf(a,b.context,!1);Vd(a,b.containerInfo)}function xg(a,b,c){var d=b.mode,e=b.pendingProps,f=b.memoizedState;if(0===(b.effectTag&64)){f=null;var g=!1}else f={timedOutAt:null!==f?f.timedOutAt:0},g=!0,b.effectTag&= -65;if(null===a)if(g){var h=e.fallback;a=ya(null,d,0,null);0===(b.mode&1)&&(a.child=null!==b.memoizedState?b.child.child:b.child);c=ya(h,d,c,null);a.sibling=c;d=a;d.return=c.return=b}else d=c=fe(b,null,e.children,c);else{if(null!==a.memoizedState)if(h=a.child,d=h.sibling,g){e=e.fallback;c=Ia(h,h.pendingProps,0);0===(b.mode&1)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==h.child&&(c.child=g));if(b.mode&4){h=0;for(g=c.child;null!==g;)h+=g.treeBaseDuration,g=g.sibling;c.treeBaseDuration=h}h= c.sibling=Ia(d,e,d.expirationTime);d=c;c.childExpirationTime=0;c=h;d.return=c.return=b}else d=c=mb(b,h.child,e.children,c);else{var k=a.child;if(g){e=e.fallback;h=ya(null,d,0,null);h.child=k;0===(b.mode&1)&&(h.child=null!==b.memoizedState?b.child.child:b.child);if(b.mode&4){g=0;for(k=h.child;null!==k;)g+=k.treeBaseDuration,k=k.sibling;h.treeBaseDuration=g}c=h.sibling=ya(e,d,c,null);c.effectTag|=2;d=h;h.childExpirationTime=0;d.return=c.return=b}else c=d=mb(b,k,e.children,c)}b.stateNode=a.stateNode}b.memoizedState= f;b.child=d;return c}function na(a,b,c){null!==a&&(b.contextDependencies=a.contextDependencies);Ka=-1;if(b.childExpirationTime<c)return null;null!==a&&b.child!==a.child?n("153"):void 0;if(null!==b.child){a=b.child;c=Ia(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Ia(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function pi(a,b,c){var d=b.expirationTime;if(null!==a)if(a.memoizedProps!==b.pendingProps||K.current)ja= !0;else{if(d<c){ja=!1;switch(b.tag){case 3:wg(b);ee();break;case 5:gg(b);break;case 1:C(b.type)&&zc(b);break;case 4:Vd(b,b.stateNode.containerInfo);break;case 10:yg(b,b.memoizedProps.value);break;case 12:b.effectTag|=4;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;if(0!==d&&d>=c)return xg(a,b,c);b=na(a,b,c);return null!==b?b.sibling:null}}return na(a,b,c)}}else ja=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|= 2);a=b.pendingProps;var e=db(b,D.current);nb(b,c);e=Yd(null,b,d,a,e,c);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;$d();if(C(d)){var f=!0;zc(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&Cc(b,d,g,a);e.updater=Dc;b.stateNode=e;e._reactInternalFiber=b;Ud(b,d,a,c);b=he(null,b,d,!0,f,c)}else b.tag=0,L(null,b,e,c),b=b.child;return b;case 16:e=b.elementType; null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=li(e);b.type=a;e=b.tag=ii(a);f=O(a,f);g=void 0;switch(e){case 0:g=ge(null,b,a,f,c);break;case 1:g=vg(null,b,a,f,c);break;case 11:g=rg(null,b,a,f,c);break;case 14:g=sg(null,b,a,O(a.type,f),d,c);break;default:n("306",a,"")}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:O(d,e),ge(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:O(d,e),vg(a,b,d,e,c);case 3:wg(b);d=b.updateQueue; null===d?n("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;Gb(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)ee(),b=na(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)lb=Uf(b.stateNode.containerInfo),ma=b,e=La=!0;e?(b.effectTag|=2,b.child=fe(b,null,d,c)):(L(a,b,d,c),ee());b=b.child}return b;case 5:return gg(b),null===a&&pg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ld(d,e)?g=null:null!==f&&Ld(d,f)&&(b.effectTag|=16),ug(a, b),1!==c&&b.mode&1&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(L(a,b,g,c),b=b.child),b;case 6:return null===a&&pg(b),null;case 13:return xg(a,b,c);case 4:return Vd(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=mb(b,null,d,c):L(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:O(d,e),rg(a,b,d,e,c);case 7:return L(a,b,b.pendingProps,c),b.child;case 8:return L(a,b,b.pendingProps.children,c),b.child;case 12:return b.effectTag|=4,L(a,b,b.pendingProps.children, c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;yg(b,f);if(null!==g){var h=g.value;f=Ga(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!K.current){b=na(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.contextDependencies;if(null!==k){g=h.child;for(var l=k.first;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Ca(c),l.tag=Jc,oa(h,l)); h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirat