forked from vercel/next.js
/
react-dom-server-legacy.node.production.min.js
136 lines (136 loc) · 54.2 KB
/
react-dom-server-legacy.node.production.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/**
* @license React
* react-dom-server-legacy.node.production.min.js
*
* Copyright (c) Meta Platforms, Inc. and 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';var aa=require("react"),ba=require("react-dom"),ca=require("stream"),p=Object.prototype.hasOwnProperty,da=/^[: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={},fa={};
function ha(a){if(p.call(fa,a))return!0;if(p.call(ea,a))return!1;if(da.test(a))return fa[a]=!0;ea[a]=!0;return!1}function r(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var u={};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){u[a]=new r(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];u[b]=new r(b,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){u[a]=new r(a,2,!1,a.toLowerCase(),null,!1,!1)});
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){u[a]=new r(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){u[a]=new r(a,3,!1,a.toLowerCase(),null,!1,!1)});
["checked","multiple","muted","selected"].forEach(function(a){u[a]=new r(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){u[a]=new r(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){u[a]=new r(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){u[a]=new r(a,5,!1,a.toLowerCase(),null,!1,!1)});var ia=/[\-:]([a-z])/g;function ja(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(ia,
ja);u[b]=new r(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(ia,ja);u[b]=new r(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(ia,ja);u[b]=new r(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){u[a]=new r(a,1,!1,a.toLowerCase(),null,!1,!1)});
u.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){u[a]=new r(a,1,!1,a.toLowerCase(),null,!0,!0)});
var ka={animationIterationCount:!0,aspectRatio:!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},la=["Webkit","ms","Moz","O"];Object.keys(ka).forEach(function(a){la.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);ka[b]=ka[a]})});var ma=/["'&<>]/;
function v(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ma.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.substring(e,d));e=d+1;c+=b}a=e!==d?c+a.substring(e,d):c}return a}var na=/([A-Z])/g,oa=/^ms-/,pa=Array.isArray,w=Object.assign,x=null,qa=[],ua={preload:sa,preinit:ta};
function sa(a,b){if(x){var c=x;if("string"===typeof a&&a&&"object"===typeof b&&null!==b){var d=b.as,e=c.preloadsMap.get(a);e||(e=y(c,a,d,{href:a,rel:"preload",as:d,crossOrigin:"font"===d?"":b.crossOrigin,integrity:b.integrity}));switch(d){case "font":c.fontPreloads.add(e);break;case "style":c.explicitStylePreloads.add(e);break;case "script":c.explicitScriptPreloads.add(e)}}}}
function ta(a,b){if(x)a:{var c=x;if("string"===typeof a&&a&&"object"===typeof b&&null!==b)switch(b.as){case "style":var d=c.stylesMap.get(a);d||(d=b.precedence||"default",d=va(c,a,d,{rel:"stylesheet",href:a,"data-precedence":d,crossOrigin:b.crossOrigin}));d.set.add(d);c.explicitStylePreloads.add(d.hint);break a;case "script":d=c.scriptsMap.get(a),d||(d=wa(c,a,{src:a,async:!0,crossOrigin:b.crossOrigin,integrity:b.integrity}),c.scripts.add(d))}}}
function xa(a,b){return{rel:"preload",as:"style",href:a,crossOrigin:b.crossOrigin,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy}}function ya(a,b){return{rel:"preload",as:"script",href:a,crossOrigin:b.crossOrigin,integrity:b.integrity,referrerPolicy:b.referrerPolicy}}function y(a,b,c,d){c={type:"preload",as:c,href:b,flushed:!1,props:d};a.preloadsMap.set(b,c);return c}
function va(a,b,c,d){var e=a.stylesMap,f=a.preloadsMap,g=a.precedences,h=g.get(c);h||(h=new Set,g.set(c,h));(f=f.get(b))?(a=f.props,null==d.crossOrigin&&(d.crossOrigin=a.crossOrigin),null==d.referrerPolicy&&(d.referrerPolicy=a.referrerPolicy),null==d.title&&(d.title=a.title)):(f=xa(b,d),f=y(a,b,"style",f),a.explicitStylePreloads.add(f));c={type:"style",href:b,precedence:c,flushed:!1,inShell:!1,props:d,hint:f,set:h};e.set(b,c);return c}
function wa(a,b,c){var d=a.scriptsMap,e=a.preloadsMap.get(b);e?(a=e.props,null==c.crossOrigin&&(c.crossOrigin=a.crossOrigin),null==c.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),null==c.integrity&&(c.integrity=a.integrity)):(e=ya(b,c),e=y(a,b,"script",e),a.explicitScriptPreloads.add(e));c={type:"script",src:b,flushed:!1,props:c,hint:e};d.set(b,c);return c}
function za(a,b){if(!x)throw Error('"currentResources" was expected to exist. This is a bug in React.');var c=x;switch(a){case "title":var d=b.children;Array.isArray(d)&&1===d.length&&(d=d[0]);if("string"===typeof d||"number"===typeof d){var e="title::"+d;a=c.headsMap.get(e);a||(b=w({},b),b.children=d,a={type:"title",props:b,flushed:!1},c.headsMap.set(e,a),c.headResources.add(a))}return!0;case "meta":if("string"===typeof b.charSet)e="charSet";else if("string"===typeof b.content)if(a="::"+b.content,
"string"===typeof b.httpEquiv)e="httpEquiv::"+b.httpEquiv+a;else if("string"===typeof b.name)e="name::"+b.name+a;else if("string"===typeof b.itemProp)e="itemProp::"+b.itemProp+a;else if("string"===typeof b.property){var f=b.property;e="property::"+f+a;d=f;a=f.split(":").slice(0,-1).join(":");(a=c.structuredMetaKeys.get(a))&&(e=a.key+"::child::"+e)}e&&!c.headsMap.has(e)&&(b={type:"meta",key:e,props:w({},b),flushed:!1},c.headsMap.set(e,b),"charSet"===e?c.charset=b:(d&&c.structuredMetaKeys.set(d,b),
c.headResources.add(b)));return!0;case "base":return e=b.target,d=b.href,e="base"+("string"===typeof d?'[href="'+d+'"]':":not([href])")+("string"===typeof e?'[target="'+e+'"]':":not([target])"),c.headsMap.has(e)||(b={type:"base",props:w({},b),flushed:!1},c.headsMap.set(e,b),c.bases.add(b)),!0}return!1}
function Aa(a){if(!x)throw Error('"currentResources" was expected to exist. This is a bug in React.');var b=x,c=a.rel,d=a.href;if(!d||"string"!==typeof d||!c||"string"!==typeof c)return!1;switch(c){case "stylesheet":var e=a.onLoad,f=a.onError;c=a.precedence;var g=a.disabled;if("string"!==typeof c||e||f||null!=g)return c=b.preloadsMap.get(d),c||(c=y(b,d,"style",xa(d,a)),b.usedStylePreloads.add(c)),!1;e=b.stylesMap.get(d);e||(a=w({},a),a.href=d,a.rel="stylesheet",a["data-precedence"]=c,delete a.precedence,
e=va(x,d,c,a),b.usedStylePreloads.add(e.hint));b.boundaryResources?b.boundaryResources.add(e):e.set.add(e);return!0;case "preload":switch(e=a.as,e){case "script":case "style":case "font":c=b.preloadsMap.get(d);if(!c)switch(a=w({},a),a.href=d,a.rel="preload",a.as=e,"font"===e&&(a.crossOrigin=""),c=y(b,d,e,a),e){case "script":b.explicitScriptPreloads.add(c);break;case "style":b.explicitStylePreloads.add(c);break;case "font":b.fontPreloads.add(c)}return!0}}if(a.onLoad||a.onError)return!0;d="rel:"+c+
"::href:"+d+"::sizes:"+("string"===typeof a.sizes?a.sizes:"")+"::media:"+("string"===typeof a.media?a.media:"");e=b.headsMap.get(d);if(!e)switch(e={type:"link",props:w({},a),flushed:!1},b.headsMap.set(d,e),c){case "preconnect":case "dns-prefetch":b.preconnects.add(e);break;default:b.headResources.add(e)}return!0}function Ba(a,b){var c=a.boundaryResources;c&&(b.forEach(function(a){return c.add(a)}),b.clear())}function Ca(a,b){b.forEach(function(a){return a.set.add(a)});b.clear()}var Da=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher;
function z(a,b,c){return{insertionMode:a,selectedValue:b,noscriptTagInScope:c}}
function Ea(a,b,c){switch(b){case "noscript":return z(1,null,!0);case "select":return z(1,null!=c.value?c.value:c.defaultValue,a.noscriptTagInScope);case "svg":return z(2,null,a.noscriptTagInScope);case "math":return z(3,null,a.noscriptTagInScope);case "foreignObject":return z(1,null,a.noscriptTagInScope);case "table":return z(4,null,a.noscriptTagInScope);case "thead":case "tbody":case "tfoot":return z(5,null,a.noscriptTagInScope);case "colgroup":return z(7,null,a.noscriptTagInScope);case "tr":return z(6,
null,a.noscriptTagInScope)}return 4<=a.insertionMode||0===a.insertionMode?z(1,null,a.noscriptTagInScope):a}var Fa=new Map;
function Ga(a,b,c){if("object"!==typeof c)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");b=!0;for(var d in c)if(p.call(c,d)){var e=c[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=v(d);e=v((""+e).trim())}else{f=d;var g=Fa.get(f);void 0!==g?f=g:(g=v(f.replace(na,"-$1").toLowerCase().replace(oa,"-ms-")),Fa.set(f,g),f=g);e="number"===typeof e?0===e||p.call(ka,
d)?""+e:e+"px":v((""+e).trim())}b?(b=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}b||a.push('"')}
function A(a,b,c,d){switch(c){case "style":Ga(a,b,d);return;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":return}if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])if(b=u.hasOwnProperty(c)?u[c]:null,null!==b){switch(typeof d){case "function":case "symbol":return;case "boolean":if(!b.acceptsBooleans)return}c=b.attributeName;switch(b.type){case 3:d&&a.push(" ",c,'=""');break;case 4:!0===d?a.push(" ",c,'=""'):
!1!==d&&a.push(" ",c,'="',v(d),'"');break;case 5:isNaN(d)||a.push(" ",c,'="',v(d),'"');break;case 6:!isNaN(d)&&1<=d&&a.push(" ",c,'="',v(d),'"');break;default:b.sanitizeURL&&(d=""+d),a.push(" ",c,'="',v(d),'"')}}else if(ha(c)){switch(typeof d){case "function":case "symbol":return;case "boolean":if(b=c.toLowerCase().slice(0,5),"data-"!==b&&"aria-"!==b)return}a.push(" ",c,'="',v(d),'"')}}
function B(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}}function Ha(a){var b="";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}
function E(a,b,c){var d="stylesheet"===b.rel;a.push(F("link"));for(var e in b)if(p.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "precedence":if(d)continue;default:A(a,c,e,f)}}a.push("/>");return null}
function G(a,b,c,d){a.push(F(c));for(var e in b)if(p.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:A(a,d,e,f)}}a.push("/>");return null}
function Ia(a,b,c){a.push(F("title"));var d=null,e;for(e in b)if(p.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":d=f;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:A(a,c,e,f)}}a.push(">");b=Array.isArray(d)&&2>d.length?d[0]||null:d;"string"!==typeof b&&"number"!==typeof b||a.push(v(b));a.push("</","title",">");return null}
function Ja(a,b,c){a.push(F("script"));var d=null,e=null,f;for(f in b)if(p.call(b,f)){var g=b[f];if(null!=g)switch(f){case "children":d=g;break;case "dangerouslySetInnerHTML":e=g;break;default:A(a,c,f,g)}}a.push(">");B(a,e,d);"string"===typeof d&&a.push(v(d));a.push("</","script",">");return null}
function H(a,b,c,d){a.push(F(c));var e=c=null,f;for(f in b)if(p.call(b,f)){var g=b[f];if(null!=g)switch(f){case "children":c=g;break;case "dangerouslySetInnerHTML":e=g;break;default:A(a,d,f,g)}}a.push(">");B(a,e,c);return"string"===typeof c?(a.push(v(c)),null):c}var Ka=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,La=new Map;function F(a){var b=La.get(a);if(void 0===b){if(!Ka.test(a))throw Error("Invalid tag: "+a);b="<"+a;La.set(a,b)}return b}
function Ma(a,b,c,d,e,f,g){switch(c){case "select":a.push(F("select"));var h=g=null,l;for(l in d)if(p.call(d,l)){var k=d[l];if(null!=k)switch(l){case "children":g=k;break;case "dangerouslySetInnerHTML":h=k;break;case "defaultValue":case "value":break;default:A(a,e,l,k)}}a.push(">");B(a,h,g);return g;case "option":g=f.selectedValue;a.push(F("option"));var n=l=k=null,m=null;for(h in d)if(p.call(d,h)){var q=d[h];if(null!=q)switch(h){case "children":k=q;break;case "selected":n=q;break;case "dangerouslySetInnerHTML":m=
q;break;case "value":l=q;default:A(a,e,h,q)}}if(null!=g)if(d=null!==l?""+l:Ha(k),pa(g))for(e=0;e<g.length;e++){if(""+g[e]===d){a.push(' selected=""');break}}else""+g===d&&a.push(' selected=""');else n&&a.push(' selected=""');a.push(">");B(a,m,k);return k;case "textarea":a.push(F("textarea"));k=h=g=null;for(m in d)if(p.call(d,m)&&(l=d[m],null!=l))switch(m){case "children":k=l;break;case "value":g=l;break;case "defaultValue":h=l;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
default:A(a,e,m,l)}null===g&&null!==h&&(g=h);a.push(">");if(null!=k){if(null!=g)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(pa(k)&&1<k.length)throw Error("<textarea> can only have at most one child.");g=""+k}"string"===typeof g&&"\n"===g[0]&&a.push("\n");null!==g&&a.push(v(""+g));return null;case "input":a.push(F("input"));l=m=h=g=null;for(k in d)if(p.call(d,k)&&(n=d[k],null!=n))switch(k){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
case "defaultChecked":l=n;break;case "defaultValue":h=n;break;case "checked":m=n;break;case "value":g=n;break;default:A(a,e,k,n)}null!==m?A(a,e,"checked",m):null!==l&&A(a,e,"checked",l);null!==g?A(a,e,"value",g):null!==h&&A(a,e,"value",h);a.push("/>");return null;case "menuitem":a.push(F("menuitem"));for(var t in d)if(p.call(d,t)&&(g=d[t],null!=g))switch(t){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:A(a,e,t,
g)}a.push(">");return null;case "title":return a=2!==f.insertionMode&&!f.noscriptTagInScope&&za("title",d)?null:Ia(a,d,e),a;case "link":return!f.noscriptTagInScope&&Aa(d)?(g&&a.push("\x3c!-- --\x3e"),a=null):a=E(a,d,e),a;case "script":if(h=!f.noscriptTagInScope){if(!x)throw Error('"currentResources" was expected to exist. This is a bug in React.');h=x;k=d.src;m=d.onLoad;l=d.onError;k&&"string"===typeof k?d.async?(m||l?(m=h.preloadsMap.get(k),m||(m=y(h,k,"script",ya(k,d)),h.usedScriptPreloads.add(m))):
(m=h.scriptsMap.get(k),m||(m=w({},d),m.src=k,m=wa(h,k,m),h.scripts.add(m))),h=!0):h=!1:h=!1}h?(g&&a.push("\x3c!-- --\x3e"),a=null):a=Ja(a,d,e);return a;case "meta":return!f.noscriptTagInScope&&za("meta",d)?(g&&a.push("\x3c!-- --\x3e"),a=null):a=G(a,d,"meta",e),a;case "base":return!f.noscriptTagInScope&&za("base",d)?(g&&a.push("\x3c!-- --\x3e"),a=null):a=G(a,d,"base",e),a;case "listing":case "pre":a.push(F(c));h=g=null;for(n in d)if(p.call(d,n)&&(k=d[n],null!=k))switch(n){case "children":g=k;break;
case "dangerouslySetInnerHTML":h=k;break;default:A(a,e,n,k)}a.push(">");if(null!=h){if(null!=g)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof h||!("__html"in h))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");d=h.__html;null!==d&&void 0!==d&&("string"===typeof d&&0<d.length&&"\n"===d[0]?a.push("\n",d):a.push(""+d))}"string"===
typeof g&&"\n"===g[0]&&a.push("\n");return g;case "area":case "br":case "col":case "embed":case "hr":case "img":case "keygen":case "param":case "source":case "track":case "wbr":return G(a,d,c,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 H(a,d,c,e);case "head":return H(b,d,c,e);case "html":return 0===f.insertionMode&&b.push("<!DOCTYPE html>"),H(b,d,c,e);default:if(-1===
c.indexOf("-")&&"string"!==typeof d.is)return H(a,d,c,e);a.push(F(c));h=g=null;for(q in d)if(p.call(d,q)&&(k=d[q],null!=k))switch(q){case "children":g=k;break;case "dangerouslySetInnerHTML":h=k;break;case "style":Ga(a,e,k);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ha(q)&&"function"!==typeof k&&"symbol"!==typeof k&&a.push(" ",q,'="',v(k),'"')}a.push(">");B(a,h,g);return g}}
function Na(a,b,c){switch(c){case "title":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":return;case "body":b.unshift("</",c,">");return;case "html":b.push("</",c,">");return}a.push("</",c,">")}
function Oa(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");a.push(c);return a.push('"></template>')}
function Pa(a,b,c,d){switch(c.insertionMode){case 0:case 1:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 2:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<table hidden id="'),a.push(b.segmentPrefix),
b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error("Unknown insertion mode. This is a bug in React.");}}
function Qa(a,b){switch(b.insertionMode){case 0:case 1:return a.push("</div>");case 2:return a.push("</svg>");case 3:return a.push("</math>");case 4:return a.push("</table>");case 5:return a.push("</tbody></table>");case 6:return a.push("</tr></table>");case 7:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Ra=/[<\u2028\u2029]/g;
function Sa(a){return JSON.stringify(a).replace(Ra,function(a){switch(a){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Ta=/[&><\u2028\u2029]/g;
function I(a){return JSON.stringify(a).replace(Ta,function(a){switch(a){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}
function Ua(a,b,c){function d(a){a.flushed||(E(e,a.props,c),a.flushed=!0)}var e=[],f=b.charset,g=b.bases,h=b.preconnects,l=b.fontPreloads,k=b.precedences,n=b.usedStylePreloads,m=b.scripts,q=b.usedScriptPreloads,t=b.explicitStylePreloads,K=b.explicitScriptPreloads,D=b.headResources;f&&(G(e,f.props,"meta",c),f.flushed=!0,b.charset=null);g.forEach(function(a){G(e,a.props,"base",c);a.flushed=!0});g.clear();h.forEach(function(a){E(e,a.props,c);a.flushed=!0});h.clear();l.forEach(function(a){E(e,a.props,
c);a.flushed=!0});l.clear();k.forEach(function(a,b){a.size?(a.forEach(function(a){E(e,a.props,c);a.flushed=!0;a.inShell=!0;a.hint.flushed=!0}),a.clear()):e.push('<style data-precedence="',v(b),'"></style>')});n.forEach(d);n.clear();m.forEach(function(a){Ja(e,a.props,c);a.flushed=!0;a.hint.flushed=!0});m.clear();q.forEach(d);q.clear();t.forEach(d);t.clear();K.forEach(d);K.clear();D.forEach(function(a){switch(a.type){case "title":Ia(e,a.props,c);break;case "meta":G(e,a.props,"meta",c);break;case "link":E(e,
a.props,c)}a.flushed=!0});D.clear();f=!0;for(b=0;b<e.length-1;b++)a.push(e[b]);b<e.length&&(f=a.push(e[b]));return f}
function Va(a,b,c){function d(a){a.flushed||(E(e,a.props,c),a.flushed=!0)}var e=[],f=b.charset,g=b.preconnects,h=b.fontPreloads,l=b.usedStylePreloads,k=b.scripts,n=b.usedScriptPreloads,m=b.explicitStylePreloads,q=b.explicitScriptPreloads,t=b.headResources;f&&(G(e,f.props,"meta",c),f.flushed=!0,b.charset=null);g.forEach(function(a){E(e,a.props,c);a.flushed=!0});g.clear();h.forEach(function(a){E(e,a.props,c);a.flushed=!0});h.clear();l.forEach(d);l.clear();k.forEach(function(a){H(e,a.props,"script",
c);Na(e,e,"script",a.props);a.flushed=!0;a.hint.flushed=!0});k.clear();n.forEach(d);n.clear();m.forEach(d);m.clear();q.forEach(d);q.clear();t.forEach(function(a){switch(a.type){case "title":Ia(e,a.props,c);break;case "meta":G(e,a.props,"meta",c);break;case "link":E(e,a.props,c)}a.flushed=!0});t.clear();f=!0;for(b=0;b<e.length-1;b++)a.push(e[b]);b<e.length&&(f=a.push(e[b]));return f}
function Wa(a,b){a.push("[");var c="[";b.forEach(function(b){if(!b.inShell)if(b.flushed)a.push(c),b=I(""+b.href),a.push(b),a.push("]"),c=",[";else{a.push(c);var d=b.precedence,f=b.props,g=I(""+b.href);a.push(g);d=""+d;a.push(",");d=I(d);a.push(d);for(var h in f)if(p.call(f,h)){var l=f[h];if(null!=l)switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
default:a:{d=a;var k=h;g=k.toLowerCase();switch(typeof l){case "function":case "symbol":break a}switch(k){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":g="class";break;case "hidden":if(!1===l)break a;break;case "src":case "href":break;default:if(!ha(k))break a}if(!(2<k.length)||"o"!==k[0]&&"O"!==k[0]||"n"!==k[1]&&"N"!==k[1])l=""+l,d.push(","),g=I(g),d.push(g),d.push(","),g=I(l),d.push(g)}}}a.push("]");
c=",[";b.flushed=!0;b.hint.flushed=!0}});a.push("]")}function Xa(a,b){b=void 0===b?"":b;return{bootstrapChunks:[],placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,streamingFormat:0,startInlineScript:"<script>",sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,sentStyleInsertionFunction:!1,externalRuntimeConfig:null,generateStaticMarkup:a}}
function Ya(){return{insertionMode:1,selectedValue:null,noscriptTagInScope:!1}}function Za(a,b,c,d){if(c.generateStaticMarkup)return a.push(v(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(v(b)),a=!0);return a}
var $a=Symbol.for("react.element"),ab=Symbol.for("react.portal"),bb=Symbol.for("react.fragment"),cb=Symbol.for("react.strict_mode"),db=Symbol.for("react.profiler"),eb=Symbol.for("react.provider"),fb=Symbol.for("react.context"),gb=Symbol.for("react.server_context"),hb=Symbol.for("react.forward_ref"),ib=Symbol.for("react.suspense"),jb=Symbol.for("react.suspense_list"),kb=Symbol.for("react.memo"),lb=Symbol.for("react.lazy"),mb=Symbol.for("react.scope"),nb=Symbol.for("react.debug_trace_mode"),ob=Symbol.for("react.offscreen"),
pb=Symbol.for("react.legacy_hidden"),qb=Symbol.for("react.cache"),rb=Symbol.for("react.default_value"),sb=Symbol.iterator;
function tb(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 bb:return"Fragment";case ab:return"Portal";case db:return"Profiler";case cb:return"StrictMode";case ib:return"Suspense";case jb:return"SuspenseList";case qb:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case fb:return(a.displayName||"Context")+".Consumer";case eb:return(a._context.displayName||"Context")+".Provider";case hb:var b=a.render;a=a.displayName;
a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case kb:return b=a.displayName||null,null!==b?b:tb(a.type)||"Memo";case lb:b=a._payload;a=a._init;try{return tb(a(b))}catch(c){break}case gb:return(a.displayName||a._globalName)+".Provider"}return null}var ub=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vb={};function wb(a,b){a=a.contextTypes;if(!a)return vb;var c={},d;for(d in a)c[d]=b[d];return c}var M=null;
function xb(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");xb(a,c)}b.context._currentValue2=b.value}}function yb(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&yb(a)}
function zb(a){var b=a.parent;null!==b&&zb(b);a.context._currentValue2=a.value}function Ab(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?xb(a,b):Ab(a,b)}
function Bb(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?xb(a,c):Bb(a,c);b.context._currentValue2=b.value}function Cb(a){var b=M;b!==a&&(null===b?zb(a):null===a?yb(b):b.depth===a.depth?xb(b,a):b.depth>a.depth?Ab(b,a):Bb(b,a),M=a)}
var Db={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}};
function Eb(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Db;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:w({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b=
a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Db.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=w({},f,h)):w(f,h))}a.state=f}else f.queue=null}
var Fb={id:1,overflow:""};function Gb(a,b,c){var d=a.id;a=a.overflow;var e=32-Hb(d)-1;d&=~(1<<e);c+=1;var f=32-Hb(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Hb(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Hb=Math.clz32?Math.clz32:Ib,Jb=Math.log,Kb=Math.LN2;function Ib(a){a>>>=0;return 0===a?32:31-(Jb(a)/Kb|0)|0}var Lb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
function Mb(){}function Nb(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Mb,Mb),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(a){if("pending"===b.status){var c=b;c.status="fulfilled";c.value=a}},function(a){if("pending"===b.status){var c=b;c.status="rejected";c.reason=a}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ob=b;throw Lb;}}var Ob=null;
function Pb(){if(null===Ob)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ob;Ob=null;return a}function Qb(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Rb="function"===typeof Object.is?Object.is:Qb,N=null,Sb=null,Tb=null,O=null,P=!1,Ub=!1,Q=0,R=0,T=null,U=null,Vb=0;
function V(){if(null===N)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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return N}
function Wb(){if(0<Vb)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Xb(){null===O?null===Tb?(P=!1,Tb=O=Wb()):(P=!0,O=Tb):null===O.next?(P=!1,O=O.next=Wb()):(P=!0,O=O.next);return O}function Yb(a,b,c,d){for(;Ub;)Ub=!1,R=Q=0,Vb+=1,O=null,c=a(b,d);Zb();return c}function $b(){var a=T;T=null;return a}function Zb(){Sb=N=null;Ub=!1;Tb=null;Vb=0;O=U=null}function ac(a,b){return"function"===typeof b?b(a):b}
function bc(a,b,c){N=V();O=Xb();if(P){var d=O.queue;b=d.dispatch;if(null!==U&&(c=U.get(d),void 0!==c)){U.delete(d);d=O.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);O.memoizedState=d;return[d,b]}return[O.memoizedState,b]}a=a===ac?"function"===typeof b?b():b:void 0!==c?c(b):b;O.memoizedState=a;a=O.queue={last:null,dispatch:null};a=a.dispatch=cc.bind(null,N,a);return[O.memoizedState,a]}
function dc(a,b){N=V();O=Xb();b=void 0===b?null:b;if(null!==O){var c=O.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Rb(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();O.memoizedState=[a,b];return a}
function cc(a,b,c){if(25<=Vb)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===N)if(Ub=!0,a={action:c,next:null},null===U&&(U=new Map),c=U.get(b),void 0===c)U.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function ec(){throw Error("startTransition cannot be called during server rendering.");}function fc(){throw Error("Cache cannot be refreshed during server rendering.");}function gc(){}
var ic={readContext:function(a){return a._currentValue2},useContext:function(a){V();return a._currentValue2},useMemo:dc,useReducer:bc,useRef:function(a){N=V();O=Xb();var b=O.memoizedState;return null===b?(a={current:a},O.memoizedState=a):b},useState:function(a){return bc(ac,a)},useInsertionEffect:gc,useLayoutEffect:function(){},useCallback:function(a,b){return dc(function(){return a},b)},useImperativeHandle:gc,useEffect:gc,useDebugValue:gc,useDeferredValue:function(a){V();return a},useTransition:function(){V();
return[!1,ec]},useId:function(){var a=Sb.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Hb(a)-1)).toString(32)+b;var c=hc;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Q++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useMutableSource:function(a,b){V();return b(a._source)},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
return c()},useCacheRefresh:function(){return fc},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then){var b=R;R+=1;null===T&&(T=[]);return Nb(T,a,b)}if(a.$$typeof===fb||a.$$typeof===gb)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));}},hc=null,jc={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},kc=ub.ReactCurrentDispatcher,lc=ub.ReactCurrentCache;
function mc(a){console.error(a);return null}function X(){}
function nc(a,b,c,d,e,f,g,h,l){var k=[],n=new Set,m={preloadsMap:new Map,stylesMap:new Map,scriptsMap:new Map,headsMap:new Map,charset:null,bases:new Set,preconnects:new Set,fontPreloads:new Set,precedences:new Map,usedStylePreloads:new Set,scripts:new Set,usedScriptPreloads:new Set,explicitStylePreloads:new Set,explicitScriptPreloads:new Set,headResources:new Set,structuredMetaKeys:new Map,boundaryResources:null};b={destination:null,responseState:b,progressiveChunkSize:void 0===d?12800:d,status:0,
fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,resources:m,completedRootSegment:null,abortableTasks:n,pingedTasks:k,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],preamble:[],postamble:[],onError:void 0===e?mc:e,onAllReady:void 0===f?X:f,onShellReady:void 0===g?X:g,onShellError:void 0===h?X:h,onFatalError:void 0===l?X:l};c=oc(b,0,null,c,!1,!1);c.parentFlushed=!0;a=pc(b,null,a,null,c,n,vb,null,Fb);k.push(a);return b}
function pc(a,b,c,d,e,f,g,h,l){a.allPendingTasks++;null===d?a.pendingRootTasks++:d.pendingTasks++;var k={node:c,ping:function(){var b=a.pingedTasks;b.push(k);1===b.length&&qc(a)},blockedBoundary:d,blockedSegment:e,abortSet:f,legacyContext:g,context:h,treeContext:l,thenableState:b};f.add(k);return k}function oc(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}}
function Y(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function rc(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
function sc(a,b,c,d){var e=c.render(),f=d.childContextTypes;if(null!==f&&void 0!==f){var g=b.legacyContext;if("function"!==typeof c.getChildContext)d=g;else{c=c.getChildContext();for(var h in c)if(!(h in f))throw Error((tb(d)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');d=w({},g,c)}b.legacyContext=d;Z(a,b,null,e);b.legacyContext=g}else Z(a,b,null,e)}
function tc(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}
function uc(a,b,c,d,e,f){if("function"===typeof d)if(d.prototype&&d.prototype.isReactComponent)c=wb(d,b.legacyContext),f=d.contextType,f=new d(e,"object"===typeof f&&null!==f?f._currentValue2:c),Eb(f,d,e,c),sc(a,b,f,d);else{f=wb(d,b.legacyContext);N={};Sb=b;R=Q=0;T=c;c=d(e,f);c=Yb(d,e,c,f);var g=0!==Q;if("object"===typeof c&&null!==c&&"function"===typeof c.render&&void 0===c.$$typeof)Eb(c,d,e,f),sc(a,b,c,d);else if(g){e=b.treeContext;b.treeContext=Gb(e,1,0);try{Z(a,b,null,c)}finally{b.treeContext=
e}}else Z(a,b,null,c)}else if("string"===typeof d)c=b.blockedSegment,f=Ma(c.chunks,a.preamble,d,e,a.responseState,c.formatContext,c.lastPushedText),c.lastPushedText=!1,g=c.formatContext,c.formatContext=Ea(g,d,e),vc(a,b,f),c.formatContext=g,Na(c.chunks,a.postamble,d),c.lastPushedText=!1;else{switch(d){case pb:case nb:case cb:case db:case bb:Z(a,b,null,e.children);return;case ob:"hidden"!==e.mode&&Z(a,b,null,e.children);return;case jb:Z(a,b,null,e.children);return;case mb:throw Error("ReactDOMServer does not yet support scope components.");
case ib:a:{d=b.blockedBoundary;c=b.blockedSegment;f=e.fallback;e=e.children;g=new Set;var h={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:g,errorDigest:null,resources:new Set},l=oc(a,c.chunks.length,h,c.formatContext,!1,!1);c.children.push(l);c.lastPushedText=!1;var k=oc(a,0,null,c.formatContext,!1,!1);k.parentFlushed=!0;b.blockedBoundary=h;b.blockedSegment=k;a.resources.boundaryResources=h.resources;try{if(vc(a,
b,e),a.responseState.generateStaticMarkup||k.lastPushedText&&k.textEmbedded&&k.chunks.push("\x3c!-- --\x3e"),k.status=1,0===h.pendingTasks&&(null!==a.completedRootSegment||0<a.pendingRootTasks)&&Ca(a.resources,h.resources),wc(h,k),0===h.pendingTasks)break a}catch(n){k.status=4,h.forceClientRender=!0,h.errorDigest=Y(a,n)}finally{a.resources.boundaryResources=d?d.resources:null,b.blockedBoundary=d,b.blockedSegment=c}b=pc(a,null,f,d,l,g,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===
typeof d&&null!==d)switch(d.$$typeof){case hb:d=d.render;N={};Sb=b;R=Q=0;T=c;c=d(e,f);e=Yb(d,e,c,f);if(0!==Q){d=b.treeContext;b.treeContext=Gb(d,1,0);try{Z(a,b,null,e)}finally{b.treeContext=d}}else Z(a,b,null,e);return;case kb:d=d.type;e=tc(d,e);uc(a,b,c,d,e,f);return;case eb:c=e.children;d=d._context;e=e.value;f=d._currentValue2;d._currentValue2=e;g=M;M=e={parent:g,depth:null===g?0:g.depth+1,context:d,parentValue:f,value:e};b.context=e;Z(a,b,null,c);a=M;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");
e=a.parentValue;a.context._currentValue2=e===rb?a.context._defaultValue:e;a=M=a.parent;b.context=a;return;case fb:e=e.children;e=e(d._currentValue2);Z(a,b,null,e);return;case lb:f=d._init;d=f(d._payload);e=tc(d,e);uc(a,b,c,d,e,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==d?d:typeof d)+"."));}}
function Z(a,b,c,d){b.node=d;if("object"===typeof d&&null!==d){switch(d.$$typeof){case $a:uc(a,b,c,d.type,d.props,d.ref);return;case ab:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case lb:c=d._init;d=c(d._payload);Z(a,b,null,d);return}if(pa(d)){xc(a,b,d);return}null===d||"object"!==typeof d?c=null:(c=sb&&d[sb]||d["@@iterator"],c="function"===typeof c?c:null);if(c&&(c=c.call(d))){d=c.next();if(!d.done){var e=
[];do e.push(d.value),d=c.next();while(!d.done);xc(a,b,e)}return}a=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===a?"object with keys {"+Object.keys(d).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(c=b.blockedSegment,c.lastPushedText=Za(b.blockedSegment.chunks,d,a.responseState,c.lastPushedText)):"number"===typeof d&&(c=b.blockedSegment,c.lastPushedText=Za(b.blockedSegment.chunks,
""+d,a.responseState,c.lastPushedText))}function xc(a,b,c){for(var d=c.length,e=0;e<d;e++){var f=b.treeContext;b.treeContext=Gb(f,d,e);try{vc(a,b,c[e])}finally{b.treeContext=f}}}
function vc(a,b,c){var d=b.blockedSegment.formatContext,e=b.legacyContext,f=b.context;try{return Z(a,b,null,c)}catch(k){if(Zb(),c=k===Lb?Pb():k,"object"===typeof c&&null!==c&&"function"===typeof c.then){var g=$b(),h=b.blockedSegment,l=oc(a,h.chunks.length,null,h.formatContext,h.lastPushedText,!0);h.children.push(l);h.lastPushedText=!1;a=pc(a,g,b.node,b.blockedBoundary,l,b.abortSet,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.blockedSegment.formatContext=d;b.legacyContext=e;b.context=
f;Cb(f)}else throw b.blockedSegment.formatContext=d,b.legacyContext=e,b.context=f,Cb(f),c;}}function yc(a){var b=a.blockedBoundary;a=a.blockedSegment;a.status=3;zc(this,b,a)}
function Ac(a,b,c){var d=a.blockedBoundary;a.blockedSegment.status=3;null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(Y(b,c),rc(b,c))):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=b.onError(c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(a){return Ac(a,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--,0===b.allPendingTasks&&(a=b.onAllReady,a()))}
function wc(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&wc(a,c)}else a.completedSegments.push(b)}
function zc(a,b,c){if(null===b){if(c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=X,b=a.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(0===b.pendingTasks?(c.parentFlushed&&1===c.status&&wc(b,c),(null!==a.completedRootSegment||0<a.pendingRootTasks)&&Ca(a.resources,b.resources),b.parentFlushed&&a.completedBoundaries.push(b),
b.fallbackAbortableTasks.forEach(yc,a),b.fallbackAbortableTasks.clear()):c.parentFlushed&&1===c.status&&(wc(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())}
function qc(a){if(2!==a.status){var b=M,c=kc.current;kc.current=ic;var d=lc.current;lc.current=jc;var e=a.resources;qa.push(x);x=e;e=Da.current;Da.current=ua;var f=hc;hc=a.responseState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h];var k=a,n=l.blockedBoundary;k.resources.boundaryResources=n?n.resources:null;var m=l.blockedSegment;if(0===m.status){Cb(l.context);try{var q=l.thenableState;l.thenableState=null;Z(k,l,q,l.node);k.responseState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&
m.chunks.push("\x3c!-- --\x3e");l.abortSet.delete(l);m.status=1;zc(k,l.blockedBoundary,m)}catch(J){Zb();var t=J===Lb?Pb():J;if("object"===typeof t&&null!==t&&"function"===typeof t.then){var K=l.ping;t.then(K,K);l.thenableState=$b()}else{l.abortSet.delete(l);m.status=4;var D=k,C=l.blockedBoundary,L=t,W=Y(D,L);null===C?rc(D,L):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,C.errorDigest=W,C.parentFlushed&&D.clientRenderedBoundaries.push(C)));D.allPendingTasks--;if(0===D.allPendingTasks){var S=
D.onAllReady;S()}}}finally{k.resources.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Bc(a,a.destination)}catch(J){Y(a,J),rc(a,J)}finally{hc=f,kc.current=c,lc.current=d,x=qa.pop(),Da.current=e,c===ic&&Cb(b)}}}
function Cc(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:var d=c.id=a.nextSegmentId++;c.lastPushedText=!1;c.textEmbedded=!1;a=a.responseState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Dc(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.");
}}
function Dc(a,b,c){var d=c.boundary;if(null===d)return Cc(a,b,c);d.parentFlushed=!0;if(d.forceClientRender)return a.responseState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=v(d),b.push(d),b.push('"')),b.push("></template>")),Cc(a,b,c),a=a.responseState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(0<d.pendingTasks){d.rootSegmentID=a.nextSegmentId++;0<d.completedSegments.length&&a.partialBoundaries.push(d);var e=a.responseState;var f=
e.nextSuspenseID++;e=e.boundaryPrefix+f.toString(16);d=d.id=e;Oa(b,a.responseState,d);Cc(a,b,c);return b.push("\x3c!--/$--\x3e")}if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Oa(b,a.responseState,d.id),Cc(a,b,c),b.push("\x3c!--/$--\x3e");Ba(a.resources,d.resources);a.responseState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");
Dc(a,b,c[0]);a=a.responseState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function Ec(a,b,c){Pa(b,a.responseState,c.formatContext,c.id);Dc(a,b,c);return Qa(b,c.formatContext)}
function Fc(a,b,c){a.resources.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Gc(a,b,c,d[e]);d.length=0;a=a.responseState;d=c.id;e=c.rootSegmentID;c=c.resources;var f;b:{for(f=c.values();;){var g=f.next().value;if(!g)break;if(!g.inShell){f=!0;break b}}f=!1}b.push(a.startInlineScript);f?a.sentCompleteBoundaryFunction?a.sentStyleInsertionFunction?b.push('$RR("'):(a.sentStyleInsertionFunction=!0,b.push('$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("')):
(a.sentCompleteBoundaryFunction=!0,a.sentStyleInsertionFunction=!0,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("')):
a.sentCompleteBoundaryFunction?b.push('$RC("'):(a.sentCompleteBoundaryFunction=!0,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RC("'));
if(null===d)throw Error("An ID must have been assigned before we can complete the boundary.");e=e.toString(16);b.push(d);b.push('","');b.push(a.segmentPrefix);b.push(e);f?(b.push('",'),Wa(b,c)):b.push('"');b=b.push(")\x3c/script>");return b}
function Gc(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ec(a,b,d)}Ec(a,b,d);a=a.responseState;b.push(a.startInlineScript);a.sentCompleteSegmentFunction?b.push('$RS("'):(a.sentCompleteSegmentFunction=!0,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("'));
b.push(a.segmentPrefix);e=e.toString(16);b.push(e);b.push('","');b.push(a.placeholderPrefix);b.push(e);b=b.push('")\x3c/script>');return b}
function Bc(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.preamble;for(c=0;c<e.length;c++)b.push(e[c]);Ua(b,a.resources,a.responseState);Dc(a,b,d);a.completedRootSegment=null;var f=a.responseState.bootstrapChunks;for(d=0;d<f.length-1;d++)b.push(f[d]);d<f.length&&b.push(f[d])}else return;else Va(b,a.resources,a.responseState);var g=a.clientRenderedBoundaries;for(c=0;c<g.length;c++){var h=g[c];f=b;var l=a.responseState,k=h.id,n=h.errorDigest,m=h.errorMessage,
q=h.errorComponentStack;f.push(l.startInlineScript);l.sentClientRenderFunction?f.push('$RX("'):(l.sentClientRenderFunction=!0,f.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'));if(null===k)throw Error("An ID must have been assigned before we can complete the boundary.");f.push(k);f.push('"');if(n||m||q){f.push(",");var t=Sa(n||"");f.push(t)}if(m||q){f.push(",");
var K=Sa(m||"");f.push(K)}if(q){f.push(",");var D=Sa(q);f.push(D)}if(!f.push(")\x3c/script>")){a.destination=null;c++;g.splice(0,c);return}}g.splice(0,c);var C=a.completedBoundaries;for(c=0;c<C.length;c++)if(!Fc(a,b,C[c])){a.destination=null;c++;C.splice(0,c);return}C.splice(0,c);var L=a.partialBoundaries;for(c=0;c<L.length;c++){var W=L[c];a:{g=a;h=b;g.resources.boundaryResources=W.resources;var S=W.completedSegments;for(l=0;l<S.length;l++)if(!Gc(g,h,W,S[l])){l++;S.splice(0,l);var J=!1;break a}S.splice(0,
l);J=!0}if(!J){a.destination=null;c++;L.splice(0,c);return}}L.splice(0,c);var ra=a.completedBoundaries;for(c=0;c<ra.length;c++)if(!Fc(a,b,ra[c])){a.destination=null;c++;ra.splice(0,c);return}ra.splice(0,c)}finally{if(0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length){a=a.postamble;for(c=0;c<a.length;c++)b.push(a[c]);b.push(null)}}}
function Hc(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Bc(a,b)}catch(c){Y(a,c),rc(a,c)}}}function Ic(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(b){return Ac(b,a,d)});c.clear()}null!==a.destination&&Bc(a,a.destination)}catch(e){Y(a,e),rc(a,e)}}function Jc(){}
function Kc(a,b,c,d){var e=!1,f=null,g="",h=!1;a=nc(a,Xa(c,b?b.identifierPrefix:void 0),Ya(),Infinity,Jc,void 0,function(){h=!0},void 0,void 0);qc(a);Ic(a,d);Hc(a,{push:function(a){null!==a&&(g+=a);return!0},destroy:function(a){e=!0;f=a}});if(e&&f!==d)throw f;if(!h)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return g}
function Lc(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var Mc=function(a){function b(){var b=a.call(this,{})||this;b.request=null;b.startedFlowing=!1;return b}Lc(b,a);var c=b.prototype;c._destroy=function(a,b){Ic(this.request);b(a)};c._read=function(){this.startedFlowing&&Hc(this.request,this)};return b}(ca.Readable);function Nc(){}
function Oc(a,b){var c=new Mc,d=nc(a,Xa(!1,b?b.identifierPrefix:void 0),Ya(),Infinity,Nc,function(){c.startedFlowing=!0;Hc(d,c)},void 0,void 0);c.request=d;qc(d);return c}exports.renderToNodeStream=function(a,b){return Oc(a,b)};exports.renderToStaticMarkup=function(a,b){return Kc(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')};
exports.renderToStaticNodeStream=function(a,b){return Oc(a,b)};exports.renderToString=function(a,b){return Kc(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')};
exports.version="18.3.0-next-3ba7add60-20221201";