@react-ssr/core
Version:
React SSR as a view template engine
1 lines • 75.2 kB
JavaScript
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var t=require("./register-d9711d86.js"),r=e(require("react")),n=e(require("stream")),o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var s=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,s=l(e),u=1;u<arguments.length;u++){for(var c in r=Object(arguments[u]))a.call(r,c)&&(s[c]=r[c]);if(o){n=o(r);for(var p=0;p<n.length;p++)i.call(r,n[p])&&(s[n[p]]=r[n[p]])}}return s};function u(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c="function"==typeof Symbol&&Symbol.for,p=c?Symbol.for("react.portal"):60106,d=c?Symbol.for("react.fragment"):60107,f=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.profiler"):60114,m=c?Symbol.for("react.provider"):60109,y=c?Symbol.for("react.context"):60110,v=c?Symbol.for("react.concurrent_mode"):60111,g=c?Symbol.for("react.forward_ref"):60112,b=c?Symbol.for("react.suspense"):60113,x=c?Symbol.for("react.suspense_list"):60120,k=c?Symbol.for("react.memo"):60115,w=c?Symbol.for("react.lazy"):60116,S=c?Symbol.for("react.block"):60121,C=c?Symbol.for("react.fundamental"):60117,E=c?Symbol.for("react.scope"):60119;function O(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case d:return"Fragment";case p:return"Portal";case h:return"Profiler";case f:return"StrictMode";case b:return"Suspense";case x:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case y:return"Context.Consumer";case m:return"Context.Provider";case g:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case k:return O(e.type);case S:return O(e.render);case w:if(e=1===e._status?e._result:null)return O(e)}return null}var I=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;I.hasOwnProperty("ReactCurrentDispatcher")||(I.ReactCurrentDispatcher={current:null}),I.hasOwnProperty("ReactCurrentBatchConfig")||(I.ReactCurrentBatchConfig={suspense:null});var R={};function D(e,t){for(var r=0|e._threadCount;r<=t;r++)e[r]=e._currentValue2,e._threadCount=r+1}for(var F=new Uint16Array(16),T=0;15>T;T++)F[T]=T+1;F[15]=0;var _=/^[: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]*$/,P=Object.prototype.hasOwnProperty,M={},N={};function z(e){return!!P.call(N,e)||!P.call(M,e)&&(_.test(e)?N[e]=!0:(M[e]=!0,!1))}function A(e,t,r,n,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){j[e]=new A(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];j[t]=new A(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){j[e]=new A(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){j[e]=new A(e,2,!1,e,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(e){j[e]=new A(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){j[e]=new A(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){j[e]=new A(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){j[e]=new A(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){j[e]=new A(e,5,!1,e.toLowerCase(),null,!1)}));var L=/[\-:]([a-z])/g;function V(e){return e[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(e){var t=e.replace(L,V);j[t]=new A(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(L,V);j[t]=new A(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(L,V);j[t]=new A(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){j[e]=new A(e,1,!1,e.toLowerCase(),null,!1)})),j.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){j[e]=new A(e,1,!1,e.toLowerCase(),null,!0)}));var H=/["'&<>]/;function U(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=H.exec(e);if(t){var r,n="",o=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==r&&(n+=e.substring(o,r)),o=r+1,n+=t}e=o!==r?n+e.substring(o,r):n}return e}function W(e,t){var r,n=j.hasOwnProperty(e)?j[e]:null;return(r="style"!==e)&&(r=null!==n?0===n.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),r||function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,n,!1)?"":null!==n?(e=n.attributeName,3===(r=n.type)||4===r&&!0===t?e+'=""':(n.sanitizeURL&&(t=""+t),e+'="'+U(t)+'"')):z(e)?e+'="'+U(t)+'"':""}var q="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},$=null,B=null,Y=null,X=!1,Z=!1,G=null,J=0;function K(){if(null===$)throw Error(u(321));return $}function Q(){if(0<J)throw Error(u(312));return{memoizedState:null,queue:null,next:null}}function ee(){return null===Y?null===B?(X=!1,B=Y=Q()):(X=!0,Y=B):null===Y.next?(X=!1,Y=Y.next=Q()):(X=!0,Y=Y.next),Y}function te(e,t,r,n){for(;Z;)Z=!1,J+=1,Y=null,r=e(t,n);return B=$=null,J=0,Y=G=null,r}function re(e,t){return"function"==typeof t?t(e):t}function ne(e,t,r){if($=K(),Y=ee(),X){var n=Y.queue;if(t=n.dispatch,null!==G&&void 0!==(r=G.get(n))){G.delete(n),n=Y.memoizedState;do{n=e(n,r.action),r=r.next}while(null!==r);return Y.memoizedState=n,[n,t]}return[Y.memoizedState,t]}return e=e===re?"function"==typeof t?t():t:void 0!==r?r(t):t,Y.memoizedState=e,e=(e=Y.queue={last:null,dispatch:null}).dispatch=oe.bind(null,$,e),[Y.memoizedState,e]}function oe(e,t,r){if(!(25>J))throw Error(u(301));if(e===$)if(Z=!0,e={action:r,next:null},null===G&&(G=new Map),void 0===(r=G.get(t)))G.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function ae(){}var ie=0,le={readContext:function(e){var t=ie;return D(e,t),e[t]},useContext:function(e){K();var t=ie;return D(e,t),e[t]},useMemo:function(e,t){if($=K(),t=void 0===t?null:t,null!==(Y=ee())){var r=Y.memoizedState;if(null!==r&&null!==t){e:{var n=r[1];if(null===n)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!q(t[o],n[o])){n=!1;break e}n=!0}}if(n)return r[0]}}return e=e(),Y.memoizedState=[e,t],e},useReducer:ne,useRef:function(e){$=K();var t=(Y=ee()).memoizedState;return null===t?(e={current:e},Y.memoizedState=e):t},useState:function(e){return ne(re,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ae,useEffect:ae,useDebugValue:ae,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return K(),e},useTransition:function(){return K(),[function(e){e()},!1]}},se="http://www.w3.org/1999/xhtml";var ue={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},ce=s({menuitem:!0},ue),pe={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},de=["Webkit","ms","Moz","O"];Object.keys(pe).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var fe=/([A-Z])/g,he=/^ms-/,me=r.Children.toArray,ye=I.ReactCurrentDispatcher,ve={listing:!0,pre:!0,textarea:!0},ge=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},xe={};var ke=Object.prototype.hasOwnProperty,we={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Se(e,t){if(void 0===e)throw Error(u(152,O(t)||"Component"))}function Ce(e,t,n){function o(r,o){var a=o.prototype&&o.prototype.isReactComponent,i=function(e,t,r,n){if(n&&("object"==typeof(n=e.contextType)&&null!==n))return D(n,r),n[r];if(e=e.contextTypes){for(var o in r={},e)r[o]=t[o];t=r}else t=R;return t}(o,t,n,a),l=[],c=!1,p={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===l)return null},enqueueReplaceState:function(e,t){c=!0,l=[t]},enqueueSetState:function(e,t){if(null===l)return null;l.push(t)}};if(a){if(a=new o(r.props,i,p),"function"==typeof o.getDerivedStateFromProps){var d=o.getDerivedStateFromProps.call(null,r.props,a.state);null!=d&&(a.state=s({},a.state,d))}}else if($={},a=o(r.props,i,p),null==(a=te(o,r.props,a,i))||null==a.render)return void Se(e=a,o);if(a.props=r.props,a.context=i,a.updater=p,void 0===(p=a.state)&&(a.state=p=null),"function"==typeof a.UNSAFE_componentWillMount||"function"==typeof a.componentWillMount)if("function"==typeof a.componentWillMount&&"function"!=typeof o.getDerivedStateFromProps&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&"function"!=typeof o.getDerivedStateFromProps&&a.UNSAFE_componentWillMount(),l.length){p=l;var f=c;if(l=null,c=!1,f&&1===p.length)a.state=p[0];else{d=f?p[0]:a.state;var h=!0;for(f=f?1:0;f<p.length;f++){var m=p[f];null!=(m="function"==typeof m?m.call(a,d,r.props,i):m)&&(h?(h=!1,d=s({},d,m)):s(d,m))}a.state=d}}else l=null;if(Se(e=a.render(),o),"function"==typeof a.getChildContext&&"object"==typeof(r=o.childContextTypes)){var y=a.getChildContext();for(var v in y)if(!(v in r))throw Error(u(108,O(o)||"Unknown",v))}y&&(t=s({},t,y))}for(;r.isValidElement(e);){var a=e,i=a.type;if("function"!=typeof i)break;o(a,i)}return{child:e,context:t}}var Ee=function(){function e(e,t){r.isValidElement(e)?e.type!==d?e=[e]:(e=e.props.children,e=r.isValidElement(e)?[e]:me(e)):e=me(e),e={type:null,domNamespace:se,children:e,childIndex:0,context:R,footer:""};var n=F[0];if(0===n){var o=F,a=2*(n=o.length);if(!(65536>=a))throw Error(u(304));var i=new Uint16Array(a);for(i.set(o),(F=i)[0]=n+1,o=n;o<a-1;o++)F[o]=o+1;F[a-1]=0}else F[0]=F[n];this.threadID=n,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;F[e]=F[0],F[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,r=e.type._context,n=this.threadID;D(r,n);var o=r[n];this.contextStack[t]=r,this.contextValueStack[t]=o,r[n]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],r=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=r},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=ie;ie=this.threadID;var r=ye.current;ye.current=le;try{for(var n=[""],o=!1;n[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;F[a]=F[0],F[0]=a;break}var i=this.stack[this.stack.length-1];if(o||i.childIndex>=i.children.length){var l=i.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===i.type)this.currentSelectValue=null;else if(null!=i.type&&null!=i.type.type&&i.type.type.$$typeof===m)this.popProvider(i.type);else if(i.type===b){this.suspenseDepth--;var s=n.pop();if(o){o=!1;var c=i.fallbackFrame;if(!c)throw Error(u(303));this.stack.push(c),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=s}n[this.suspenseDepth]+=l}else{var p=i.children[i.childIndex++],d="";try{d+=this.render(p,i.context,i.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(u(294));throw e}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=d}}return n[0]}finally{ye.current=r,ie=t}},t.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?U(n):this.previousWasTextNode?"\x3c!-- --\x3e"+U(n):(this.previousWasTextNode=!0,U(n));if(e=(t=Ce(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!r.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===p)throw Error(u(257));throw Error(u(258,n.toString()))}return e=me(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var o=e.type;if("string"==typeof o)return this.renderDOM(e,t,n);switch(o){case f:case v:case h:case x:case d:return e=me(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case b:throw Error(u(294))}if("object"==typeof o&&null!==o)switch(o.$$typeof){case g:$={};var a=o.render(e.props,e.ref);return a=te(o.render,e.props,a,e.ref),a=me(a),this.stack.push({type:null,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),"";case k:return e=[r.createElement(o.type,s({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case m:return n={type:e,domNamespace:n,children:o=me(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case y:o=e.type,a=e.props;var i=this.threadID;return D(o,i),o=me(a.children(o[i])),this.stack.push({type:e,domNamespace:n,children:o,childIndex:0,context:t,footer:""}),"";case C:throw Error(u(338));case w:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o=e.type),o._status){case 1:return e=[r.createElement(o._result,s({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw o._result;default:throw Error(u(295))}case E:throw Error(u(343))}throw Error(u(130,null==o?o:typeof o,""))},t.renderDOM=function(e,t,n){var o=e.type.toLowerCase();if(!be.hasOwnProperty(o)){if(!ge.test(o))throw Error(u(65,o));be[o]=!0}var a=e.props;if("input"===o)a=s({type:void 0},a,{defaultChecked:void 0,defaultValue:void 0,value:null!=a.value?a.value:a.defaultValue,checked:null!=a.checked?a.checked:a.defaultChecked});else if("textarea"===o){var i=a.value;if(null==i){i=a.defaultValue;var l=a.children;if(null!=l){if(null!=i)throw Error(u(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(u(93));l=l[0]}i=""+l}null==i&&(i="")}a=s({},a,{value:void 0,children:""+i})}else if("select"===o)this.currentSelectValue=null!=a.value?a.value:a.defaultValue,a=s({},a,{value:void 0});else if("option"===o){l=this.currentSelectValue;var c=function(e){if(null==e)return e;var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(a.children);if(null!=l){var p=null!=a.value?a.value+"":c;if(i=!1,Array.isArray(l)){for(var d=0;d<l.length;d++)if(""+l[d]===p){i=!0;break}}else i=""+l===p;a=s({selected:void 0,children:void 0},a,{selected:i,children:c})}}if(i=a){if(ce[o]&&(null!=i.children||null!=i.dangerouslySetInnerHTML))throw Error(u(137,o,""));if(null!=i.dangerouslySetInnerHTML){if(null!=i.children)throw Error(u(60));if("object"!=typeof i.dangerouslySetInnerHTML||!("__html"in i.dangerouslySetInnerHTML))throw Error(u(61))}if(null!=i.style&&"object"!=typeof i.style)throw Error(u(62,""))}for(x in i=a,l=this.makeStaticMarkup,c=1===this.stack.length,p="<"+e.type,i)if(ke.call(i,x)){var f=i[x];if(null!=f){if("style"===x){d=void 0;var h="",m="";for(d in f)if(f.hasOwnProperty(d)){var y=0===d.indexOf("--"),v=f[d];if(null!=v){if(y)var g=d;else if(g=d,xe.hasOwnProperty(g))g=xe[g];else{var b=g.replace(fe,"-$1").toLowerCase().replace(he,"-ms-");g=xe[g]=b}h+=m+g+":",m=d,h+=y=null==v||"boolean"==typeof v||""===v?"":y||"number"!=typeof v||0===v||pe.hasOwnProperty(m)&&pe[m]?(""+v).trim():v+"px",m=";"}}f=h||null}d=null;e:if(y=o,v=i,-1===y.indexOf("-"))y="string"==typeof v.is;else switch(y){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":y=!1;break e;default:y=!0}y?we.hasOwnProperty(x)||(d=z(d=x)&&null!=f?d+'="'+U(f)+'"':""):d=W(x,f),d&&(p+=" "+d)}}l||c&&(p+=' data-reactroot=""');var x=p;i="",ue.hasOwnProperty(o)?x+="/>":(x+=">",i="</"+e.type+">");e:{if(null!=(l=a.dangerouslySetInnerHTML)){if(null!=l.__html){l=l.__html;break e}}else if("string"==typeof(l=a.children)||"number"==typeof l){l=U(l);break e}l=null}return null!=l?(a=[],ve.hasOwnProperty(o)&&"\n"===l.charAt(0)&&(x+="\n"),x+=l):a=me(a.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?function(e){switch(e){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"}}(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:o,children:a,childIndex:0,context:t,footer:i}),this.previousWasTextNode=!1,x},e}();var Oe=function(e){function t(t,r){var n=e.call(this,{})||this;return n.partialRenderer=new Ee(t,r),n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var r=t.prototype;return r._destroy=function(e,t){this.partialRenderer.destroy(),t(e)},r._read=function(e){try{this.push(this.partialRenderer.read(e))}catch(e){this.destroy(e)}},t}(n.Readable),Ie={renderToString:function(e){e=new Ee(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Ee(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(e){return new Oe(e,!1)},renderToStaticNodeStream:function(e){return new Oe(e,!0)},version:"16.13.1"},Re=Ie.default||Ie,De=function(){};if("production"!==process.env.NODE_ENV){var Fe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Te={},_e=Function.call.bind(Object.prototype.hasOwnProperty);De=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Pe(e,t,r,n,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(_e(e,a)){var i;try{if("function"!=typeof e[a]){var l=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw l.name="Invariant Violation",l}i=e[a](t,a,n,r,null,Fe)}catch(e){i=e}if(!i||i instanceof Error||De((n||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in Te)){Te[i.message]=!0;var s=o?o():"";De("Failed "+r+" type: "+i.message+(null!=s?s:""))}}}Pe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Te={})};var Me=Pe,Ne=t.createCommonjsModule((function(e){"production"!==process.env.NODE_ENV&&function(){var t=r,o=s,a=Me,i=n;var l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function u(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];c("error",e,r)}function c(e,t,r){if(!(r.length>0&&"string"==typeof r[r.length-1]&&0===r[r.length-1].indexOf("\n in"))){var n=l.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]))}var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o);try{var a=0,i="Warning: "+t.replace(/%s/g,(function(){return r[a++]}));throw new Error(i)}catch(e){}}l.hasOwnProperty("ReactCurrentDispatcher")||(l.ReactCurrentDispatcher={current:null}),l.hasOwnProperty("ReactCurrentBatchConfig")||(l.ReactCurrentBatchConfig={suspense:null});var p="function"==typeof Symbol&&Symbol.for,d=p?Symbol.for("react.portal"):60106,f=p?Symbol.for("react.fragment"):60107,h=p?Symbol.for("react.strict_mode"):60108,m=p?Symbol.for("react.profiler"):60114,y=p?Symbol.for("react.provider"):60109,v=p?Symbol.for("react.context"):60110,g=p?Symbol.for("react.concurrent_mode"):60111,b=p?Symbol.for("react.forward_ref"):60112,x=p?Symbol.for("react.suspense"):60113,k=p?Symbol.for("react.suspense_list"):60120,w=p?Symbol.for("react.memo"):60115,S=p?Symbol.for("react.lazy"):60116,C=p?Symbol.for("react.block"):60121,E=p?Symbol.for("react.fundamental"):60117,O=p?Symbol.for("react.scope"):60119;function I(e){if(null==e)return null;if("number"==typeof e.tag&&u("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case f:return"Fragment";case d:return"Portal";case m:return"Profiler";case h:return"StrictMode";case x:return"Suspense";case k:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case v:return"Context.Consumer";case y:return"Context.Provider";case b:return n=e,o=e.render,a="ForwardRef",i=o.displayName||o.name||"",n.displayName||(""!==i?a+"("+i+")":a);case w:return I(e.type);case C:return I(e.render);case S:var t=1===(r=e)._status?r._result:null;if(t)return I(t)}var r,n,o,a,i;return null}var R=/^(.*)[\\\/]/;var D,F;D=l.ReactDebugCurrentFrame,F=new Set;var T={};function _(e,t){var r=e.contextTypes;if(!r)return T;var n={};for(var o in r)n[o]=t[o];return n}function P(e,t,r){a(e,t,r,"Component",D.getCurrentStack)}function M(e,t){for(var r=0|e._threadCount;r<=t;r++)e[r]=e._currentValue2,e._threadCount=r+1}Object.freeze(T);for(var N=new Uint16Array(16),z=0;z<15;z++)N[z]=z+1;function A(){var e=N[0];return 0===e?function(){var e=N,t=e.length,r=2*t;if(!(r<=65536))throw Error("Maximum number of concurrent React renderers exceeded. This can happen if you are not properly destroying the Readable provided by React. Ensure that you call .destroy() on it if you no longer want to read from it, and did not read to the end. If you use .pipe() this should be automatic.");var n=new Uint16Array(r);n.set(e),(N=n)[0]=t+1;for(var o=t;o<r-1;o++)N[o]=o+1;return N[r-1]=0,t}():(N[0]=N[e],e)}function j(e){N[e]=N[0],N[0]=e}N[15]=0;var L=":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",V=L+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",H=new RegExp("^["+L+"]["+V+"]*$"),U=Object.prototype.hasOwnProperty,W={},q={};function $(e){return!!U.call(q,e)||!U.call(W,e)&&(H.test(e)?(q[e]=!0,!0):(W[e]=!0,u("Invalid attribute name: `%s`",e),!1))}function B(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(n)return!1;if(null!==r)return!r.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function Y(e){return Z.hasOwnProperty(e)?Z[e]:null}function X(e,t,r,n,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a}var Z={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){Z[e]=new X(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],r=e[1];Z[t]=new X(t,1,!1,r,null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Z[e]=new X(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Z[e]=new X(e,2,!1,e,null,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){Z[e]=new X(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Z[e]=new X(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Z[e]=new X(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Z[e]=new X(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Z[e]=new X(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-\:]([a-z])/g,J=function(e){return e[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"].forEach((function(e){var t=e.replace(G,J);Z[t]=new X(t,1,!1,e,null,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(G,J);Z[t]=new X(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,J);Z[t]=new X(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Z[e]=new X(e,1,!1,e.toLowerCase(),null,!1)}));Z.xlinkHref=new X("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Z[e]=new X(e,1,!1,e.toLowerCase(),null,!0)}));l.ReactDebugCurrentFrame;var K=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Q=!1;var ee=/["'&<>]/;function te(e){return"boolean"==typeof e||"number"==typeof e?""+e:function(e){var t,r=""+e,n=ee.exec(r);if(!n)return r;var o,a="",i=0;for(o=n.index;o<r.length;o++){switch(r.charCodeAt(o)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==o&&(a+=r.substring(i,o)),i=o+1,a+=t}return i!==o?a+r.substring(i,o):a}(e)}function re(e){return'"'+te(e)+'"'}function ne(e,t){var r,n=Y(e);if("style"!==e&&function(e,t,r){return null!==t?0===t.type:!r&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}(e,n,!1))return"";if(function(e,t,r,n){if(null==t)return!0;if(B(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||t<1}return!1}(e,t,n,!1))return"";if(null!==n){var o=n.attributeName,a=n.type;return 3===a||4===a&&!0===t?o+'=""':(n.sanitizeURL&&(r=t=""+t,!Q&&K.test(r)&&(Q=!0,u("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(r)))),o+"="+re(t))}return $(e)?e+"="+re(t):""}var oe,ae="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ie=null,le=null,se=null,ue=!1,ce=!1,pe=null,de=0,fe=!1;function he(){if(null===ie)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");return fe&&u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://fb.me/rules-of-hooks"),ie}function me(){if(de>0)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function ye(){return null===se?null===le?(ue=!1,le=se=me()):(ue=!0,se=le):null===se.next?(ue=!1,se=se.next=me()):(ue=!0,se=se.next),se}function ve(e){ie=e,fe=!1}function ge(e,t,r,n){for(;ce;)ce=!1,de+=1,se=null,r=e(t,n);return ie=null,le=null,de=0,pe=null,se=null,fe=!1,r}function be(e,t){return"function"==typeof t?t(e):t}function xe(e,t,r){if(e!==be&&(oe="useReducer"),ie=he(),se=ye(),ue){var n=se.queue,o=n.dispatch;if(null!==pe){var a=pe.get(n);if(void 0!==a){pe.delete(n);var i=se.memoizedState,l=a;do{var s=l.action;fe=!0,i=e(i,s),fe=!1,l=l.next}while(null!==l);return se.memoizedState=i,[i,o]}}return[se.memoizedState,o]}var u;fe=!0,u=e===be?"function"==typeof t?t():t:void 0!==r?r(t):t,fe=!1,se.memoizedState=u;var c=se.queue={last:null,dispatch:null},p=c.dispatch=ke.bind(null,ie,c);return[se.memoizedState,p]}function ke(e,t,r){if(!(de<25))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(e===ie){ce=!0;var n={action:r,next:null};null===pe&&(pe=new Map);var o=pe.get(t);if(void 0===o)pe.set(t,n);else{for(var a=o;null!==a.next;)a=a.next;a.next=n}}}function we(){}var Se=0;function Ce(e){Se=e}var Ee={readContext:function(e,t){var r=Se;return M(e,r),fe&&u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),e[r]},useContext:function(e,t){oe="useContext",he();var r=Se;return M(e,r),e[r]},useMemo:function(e,t){ie=he();var r=void 0===t?null:t;if(null!==(se=ye())){var n=se.memoizedState;if(null!==n)if(null!==r)if(function(e,t){if(null===t)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",oe),!1;e.length!==t.length&&u("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",oe,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!ae(e[r],t[r]))return!1;return!0}(r,n[1]))return n[0]}fe=!0;var o=e();return fe=!1,se.memoizedState=[o,r],o},useReducer:xe,useRef:function(e){ie=he();var t=(se=ye()).memoizedState;if(null===t){var r={current:e};return Object.seal(r),se.memoizedState=r,r}return t},useState:function(e){return oe="useState",xe(be,e)},useLayoutEffect:function(e,t){oe="useLayoutEffect",u("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://fb.me/react-uselayouteffect-ssr for common fixes.")},useCallback:function(e,t){return e},useImperativeHandle:we,useEffect:we,useDebugValue:we,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e,t){return he(),e},useTransition:function(e){return he(),[function(e){e()},!1]}},Oe="http://www.w3.org/1999/xhtml",Ie="http://www.w3.org/2000/svg",Re=Oe;function De(e){switch(e){case"svg":return Ie;case"math":return"http://www.w3.org/1998/Math/MathML";default:return Oe}}function Fe(e,t){return null==e||e===Oe?De(t):e===Ie&&"foreignObject"===t?Oe:e}var Te,_e={checkPropTypes:null};Te=l.ReactDebugCurrentFrame;var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Ne={value:function(e,t,r){return Pe[e.type]||e.onChange||e.readOnly||e.disabled||null==e[t]?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,r){return e.onChange||e.readOnly||e.disabled||null==e[t]?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};_e.checkPropTypes=function(e,t){a(Ne,t,"prop",e,Te.getStackAddendum)};var ze={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},Ae=o({menuitem:!0},ze),je=null;je=l.ReactDebugCurrentFrame;var Le={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};var Ve=["Webkit","ms","Moz","O"];function He(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||Le.hasOwnProperty(e)&&Le[e]?(""+t).trim():t+"px"}Object.keys(Le).forEach((function(e){Ve.forEach((function(t){Le[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Le[e]}))}));var Ue=/([A-Z])/g,We=/^ms-/;function qe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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}}var $e=/^(?:webkit|moz|o)[A-Z]/,Be=/^-ms-/,Ye=/-(.)/g,Xe=/;\s*$/,Ze={},Ge={},Je=!1,Ke=!1,Qe=function(e){Ze.hasOwnProperty(e)&&Ze[e]||(Ze[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,e.replace(Be,"ms-").replace(Ye,(function(e,t){return t.toUpperCase()}))))},et=function(e,t){e.indexOf("-")>-1?Qe(e):$e.test(e)?function(e){Ze.hasOwnProperty(e)&&Ze[e]||(Ze[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Xe.test(t)&&function(e,t){Ge.hasOwnProperty(t)&&Ge[t]||(Ge[t]=!0,u('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Xe,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){Je||(Je=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){Ke||(Ke=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))},tt={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},rt={},nt=new RegExp("^(aria)-["+V+"]*$"),ot=new RegExp("^(aria)[A-Z]["+V+"]*$"),at=Object.prototype.hasOwnProperty;function it(e,t){if(at.call(rt,t)&&rt[t])return!0;if(ot.test(t)){var r="aria-"+t.slice(4).toLowerCase(),n=tt.hasOwnProperty(r)?r:null;if(null==n)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),rt[t]=!0,!0;if(t!==n)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,n),rt[t]=!0,!0}if(nt.test(t)){var o=t.toLowerCase(),a=tt.hasOwnProperty(o)?o:null;if(null==a)return rt[t]=!0,!1;if(t!==a)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),rt[t]=!0,!0}return!0}function lt(e,t){qe(e,t)||function(e,t){var r=[];for(var n in t){it(0,n)||r.push(n)}var o=r.map((function(e){return"`"+e+"`"})).join(", ");1===r.length?u("Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e):r.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e)}(e,t)}var st=!1;var ut,ct={},pt={},dt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u