/** @license React v16.9.0 * react-dom-server.browser.production.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. */ '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=a.message,d="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;cb}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=wa.exec(a);if(b){var d="",c,f=0;for(c=b.index;cI))throw q(Error(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 ma(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 za(a){if(void 0===a||null===a)return a;var b="";t.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function na(a,b){if(void 0===a)throw q(Error(152),G(b)||"Component");}function Aa(a,b,d){function c(c,f){var e=f.prototype&&f.prototype.isReactComponent,g=sa(f,b,d,e),h=[],m=!1,k={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===h)return null},enqueueReplaceState:function(a,b){m=!0;h=[b]},enqueueSetState:function(a,b){if(null===h)return null;h.push(b)}},n=void 0; if(e)n=new f(c.props,g,k),"function"===typeof f.getDerivedStateFromProps&&(e=f.getDerivedStateFromProps.call(null,c.props,n.state),null!=e&&(n.state=y({},n.state,e)));else if(u={},n=f(c.props,g,k),n=ja(f,c.props,n,g),null==n||null==n.render){a=n;na(a,f);return}n.props=c.props;n.context=g;n.updater=k;k=n.state;void 0===k&&(n.state=k=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(),h.length){k=h;var v=m;h=null;m=!1;if(v&&1===k.length)n.state=k[0];else{e=v?k[0]:n.state;var p=!0;for(v=v?1:0;vB;B++)l[B]=B+1;l[15]=0;var ta=/^[: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]*$/,ea=Object.prototype.hasOwnProperty, ha={},fa={},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 disablePictureInPicture 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 wa=/["'&<>]/,u=null,J=null,m=null,D=!1,O=!1,x=null,I=0,E=0,Da={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();m=N();b=void 0===b?null:b;if(null!==m){var d=m.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f=e))throw q(Error(304));var h=new Uint16Array(e);h.set(f);l=h;l[0]=c+1;for(f=c;f=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===M)this.popProvider(g.type);else if(g.type===L){this.suspenseDepth--;var m=f.pop();if(e){e=!1;var oa=g.fallbackFrame;if(!oa)throw q(Error(303));this.stack.push(oa);f[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}else f[this.suspenseDepth]+=m}f[this.suspenseDepth]+=k}else{var p=g.children[g.childIndex++],r="";try{r+=this.render(p,g.context,g.domNamespace)}catch(n){throw n;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=r}}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=Aa(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===U)throw q(Error(257));throw q(Error(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 W:case Ba:case V:case X: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(Error(294));}if("object"===typeof b&&null!==b)switch(b.$$typeof){case Z:u={};var e=b.render(a.props,a.ref);e=ja(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 h=this.threadID;C(b,h);b=z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return""; case Ca:throw q(Error(338));case ba:throw q(Error(295));}throw q(Error(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&&ma(b);if(!qa.hasOwnProperty(b)){if(!Ja.test(b))throw q(Error(65),b);qa[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 h=e.value; if(null==h){h=e.defaultValue;var g=e.children;if(null!=g){if(null!=h)throw q(Error(92));if(Array.isArray(g)){if(!(1>=g.length))throw q(Error(93));g=g[0]}h=""+g}null==h&&(h="")}e=y({},e,{value:void 0,children:""+h})}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 k=za(e.children);if(null!=g){var m=null!=e.value?e.value+"":k;h=!1;if(Array.isArray(g))for(var l=0;l":(w+=">",h="");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=[],Ia[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?ma(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 w};return a}();k={renderToString:function(a){a=new ra(a,!1);try{return a.read(Infinity)}finally{a.destroy()}}, renderToStaticMarkup:function(a){a=new ra(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw q(Error(207));},renderToStaticNodeStream:function(){throw q(Error(208));},version:"16.9.0"};k=(B={default:k},k)||B;return k.default||k});