next
Version:
The React Framework
122 lines • 65.8 kB
JavaScript
/**
* @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("next/dist/compiled/react-experimental"),ba=require("react-dom"),ka=require("stream"),la=Object.assign,n=Object.prototype.hasOwnProperty,qa=RegExp("^[: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]*$"),
ra={},sa={};function ta(a){if(n.call(sa,a))return!0;if(n.call(ra,a))return!1;if(qa.test(a))return sa[a]=!0;ra[a]=!0;return!1}
var ua=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),va=
new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],
["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical",
"glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering",
"shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],
["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],
["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ra=/["'&<>]/;
function q(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ra.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.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a}
var Sa=/([A-Z])/g,Ta=/^ms-/,Ua=Array.isArray,Va=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Wa={pending:!1,data:null,method:null,action:null},Xa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,hb={prefetchDNS:Ya,preconnect:Za,preload:fb,preinit:gb};function r(a,b,c){return{insertionMode:a,selectedValue:b,noscriptTagInScope:c}}
function ib(a,b,c){switch(b){case "noscript":return r(2,null,!0);case "select":return r(2,null!=c.value?c.value:c.defaultValue,a.noscriptTagInScope);case "svg":return r(3,null,a.noscriptTagInScope);case "math":return r(4,null,a.noscriptTagInScope);case "foreignObject":return r(2,null,a.noscriptTagInScope);case "table":return r(5,null,a.noscriptTagInScope);case "thead":case "tbody":case "tfoot":return r(6,null,a.noscriptTagInScope);case "colgroup":return r(8,null,a.noscriptTagInScope);case "tr":return r(7,
null,a.noscriptTagInScope)}return 5<=a.insertionMode?r(2,null,a.noscriptTagInScope):0===a.insertionMode?"html"===b?r(1,null,!1):r(2,null,!1):1===a.insertionMode?r(2,null,!1):a}var jb=new Map;
function kb(a,b){if("object"!==typeof b)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.");var c=!0,d;for(d in b)if(n.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=q(d);e=q((""+e).trim())}else f=jb.get(d),void 0===f&&(f=q(d.replace(Sa,"-$1").toLowerCase().replace(Ta,"-ms-")),jb.set(d,f)),e="number"===typeof e?0===e||ua.has(d)?""+e:e+"px":
q((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')}function lb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function u(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',q(c),'"')}function mb(a){var b=a.nextSuspenseID++;return a.idPrefix+b}var nb=q("javascript:throw new Error('A React form was unexpectedly submitted.')");
function ob(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");u(this,"name",b);u(this,"value",a);this.push("/>")}
function pb(a,b,c,d,e,f,g){var h=null;"function"===typeof c&&("function"===typeof c.$$FORM_ACTION?(d=mb(b),b=c.$$FORM_ACTION(d),g=b.name,c=b.action||"",d=b.encType,e=b.method,f=b.target,h=b.data):(a.push(" ","formAction",'="',nb,'"'),f=e=d=c=g=null,qb(b)));null!=g&&x(a,"name",g);null!=c&&x(a,"formAction",c);null!=d&&x(a,"formEncType",d);null!=e&&x(a,"formMethod",e);null!=f&&x(a,"formTarget",f);return h}
function x(a,b,c){switch(b){case "className":u(a,"class",c);break;case "tabIndex":u(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":u(a,b,c);break;case "style":kb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',q(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break;
case "autoFocus":case "multiple":case "muted":lb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',q(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',q(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&&
"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',q(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',q(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',q(c),'"');break;case "xlinkActuate":u(a,"xlink:actuate",
c);break;case "xlinkArcrole":u(a,"xlink:arcrole",c);break;case "xlinkRole":u(a,"xlink:role",c);break;case "xlinkShow":u(a,"xlink:show",c);break;case "xlinkTitle":u(a,"xlink:title",c);break;case "xlinkType":u(a,"xlink:type",c);break;case "xmlBase":u(a,"xml:base",c);break;case "xmlLang":u(a,"xml:lang",c);break;case "xmlSpace":u(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=va.get(b)||b,ta(b)){switch(typeof c){case "function":case "symbol":return;
case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',q(c),'"')}}}function y(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 rb(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}
function qb(a){0!==(a.instructions&16)||a.externalRuntimeScript||(a.instructions|=16,a.bootstrapChunks.unshift(a.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});',"\x3c/script>"))}
function sb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,m=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return z(a,b),null;if("stylesheet"===b.rel){c="[style]"+k;if("string"!==typeof m||null!=b.disabled||b.onLoad||b.onError)return z(a,b);f=d.stylesMap.get(c);f||(b=la({},b,{"data-precedence":b.precedence,precedence:null}),f=d.preloadsMap.get(c),g=0,f&&(f.state|=4,h=f.props,null==b.crossOrigin&&(b.crossOrigin=h.crossOrigin),null==b.integrity&&(b.integrity=h.integrity),
f.state&3&&(g=8)),f={type:"stylesheet",chunks:[],state:g,props:b},d.stylesMap.set(c,f),b=d.precedences.get(m),b||(b=new Set,d.precedences.set(m,b),c={type:"style",chunks:[],state:0,props:{precedence:m,hrefs:[]}},b.add(c),d.stylePrecedences.set(m,c)),b.add(f));d.boundaryResources&&d.boundaryResources.add(f);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return z(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return z(c.preconnectChunks,b);case "preload":return z(c.preloadChunks,
b);default:return z(c.hoistableChunks,b)}}function z(a,b){a.push(C("link"));for(var c in b)if(n.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:x(a,c,d)}}a.push("/>");return null}
function tb(a,b,c){a.push(C(c));for(var d in b)if(n.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:x(a,d,e)}}a.push("/>");return null}
function ub(a,b){a.push(C("title"));var c=null,d=null,e;for(e in b)if(n.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:x(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(q(""+b));y(a,d,c);a.push("</","title",">");return null}
function vb(a,b){a.push(C("script"));var c=null,d=null,e;for(e in b)if(n.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:x(a,e,f)}}a.push(">");y(a,d,c);"string"===typeof c&&a.push(q(c));a.push("</","script",">");return null}
function wb(a,b,c){a.push(C(c));var d=c=null,e;for(e in b)if(n.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:x(a,e,f)}}a.push(">");y(a,d,c);return"string"===typeof c?(a.push(q(c)),null):c}var xb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Eb=new Map;function C(a){var b=Eb.get(a);if(void 0===b){if(!xb.test(a))throw Error("Invalid tag: "+a);b="<"+a;Eb.set(a,b)}return b}
function Fb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(C("select"));var h=null,k=null,m;for(m in c)if(n.call(c,m)){var t=c[m];if(null!=t)switch(m){case "children":h=t;break;case "dangerouslySetInnerHTML":k=t;break;case "defaultValue":case "value":break;default:x(a,m,t)}}a.push(">");y(a,k,h);return h;case "option":var p=f.selectedValue;a.push(C("option"));var T=null,O=null,U=null,F=null,G;for(G in c)if(n.call(c,
G)){var l=c[G];if(null!=l)switch(G){case "children":T=l;break;case "selected":U=l;break;case "dangerouslySetInnerHTML":F=l;break;case "value":O=l;default:x(a,G,l)}}if(null!=p){var B=null!==O?""+O:rb(T);if(Ua(p))for(var L=0;L<p.length;L++){if(""+p[L]===B){a.push(' selected=""');break}}else""+p===B&&a.push(' selected=""')}else U&&a.push(' selected=""');a.push(">");y(a,F,T);return T;case "textarea":a.push(C("textarea"));var A=null,P=null,v=null,D;for(D in c)if(n.call(c,D)){var w=c[D];if(null!=w)switch(D){case "children":v=
w;break;case "value":A=w;break;case "defaultValue":P=w;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:x(a,D,w)}}null===A&&null!==P&&(A=P);a.push(">");if(null!=v){if(null!=A)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ua(v)&&1<v.length)throw Error("<textarea> can only have at most one child.");A=""+v}"string"===typeof A&&"\n"===A[0]&&a.push("\n");null!==A&&a.push(q(""+A));return null;
case "input":a.push(C("input"));var wa=null,ma=null,ca=null,V=null,Q=null,xa=null,ya=null,za=null,Aa=null,da;for(da in c)if(n.call(c,da)){var E=c[da];if(null!=E)switch(da){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":wa=E;break;case "formAction":ma=E;break;case "formEncType":ca=E;break;case "formMethod":V=E;break;case "formTarget":Q=E;break;case "defaultChecked":Aa=E;break;
case "defaultValue":ya=E;break;case "checked":za=E;break;case "value":xa=E;break;default:x(a,da,E)}}var ea=pb(a,e,ma,ca,V,Q,wa);null!==za?lb(a,"checked",za):null!==Aa&&lb(a,"checked",Aa);null!==xa?x(a,"value",xa):null!==ya&&x(a,"value",ya);a.push("/>");null!==ea&&ea.forEach(ob,a);return null;case "button":a.push(C("button"));var M=null,fa=null,ha=null,Ba=null,ia=null,hc=null,ic=null,Ca;for(Ca in c)if(n.call(c,Ca)){var R=c[Ca];if(null!=R)switch(Ca){case "children":M=R;break;case "dangerouslySetInnerHTML":fa=
R;break;case "name":ha=R;break;case "formAction":Ba=R;break;case "formEncType":ia=R;break;case "formMethod":hc=R;break;case "formTarget":ic=R;break;default:x(a,Ca,R)}}var jc=pb(a,e,Ba,ia,hc,ic,ha);a.push(">");null!==jc&&jc.forEach(ob,a);y(a,fa,M);if("string"===typeof M){a.push(q(M));var kc=null}else kc=M;return kc;case "form":a.push(C("form"));var Da=null,lc=null,W=null,Ea=null,Fa=null,Ga=null,Ha;for(Ha in c)if(n.call(c,Ha)){var X=c[Ha];if(null!=X)switch(Ha){case "children":Da=X;break;case "dangerouslySetInnerHTML":lc=
X;break;case "action":W=X;break;case "encType":Ea=X;break;case "method":Fa=X;break;case "target":Ga=X;break;default:x(a,Ha,X)}}var yb=null,zb=null;if("function"===typeof W)if("function"===typeof W.$$FORM_ACTION){var Qd=mb(e),na=W.$$FORM_ACTION(Qd);W=na.action||"";Ea=na.encType;Fa=na.method;Ga=na.target;yb=na.data;zb=na.name}else a.push(" ","action",'="',nb,'"'),Ga=Fa=Ea=W=null,qb(e);null!=W&&x(a,"action",W);null!=Ea&&x(a,"encType",Ea);null!=Fa&&x(a,"method",Fa);null!=Ga&&x(a,"target",Ga);a.push(">");
null!==zb&&(a.push('<input type="hidden"'),u(a,"name",zb),a.push("/>"),null!==yb&&yb.forEach(ob,a));y(a,lc,Da);if("string"===typeof Da){a.push(q(Da));var mc=null}else mc=Da;return mc;case "menuitem":a.push(C("menuitem"));for(var $a in c)if(n.call(c,$a)){var nc=c[$a];if(null!=nc)switch($a){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:x(a,$a,nc)}}a.push(">");return null;case "title":if(3===f.insertionMode||f.noscriptTagInScope||
null!=c.itemProp)var oc=ub(a,c);else ub(e.hoistableChunks,c),oc=null;return oc;case "link":return sb(a,c,e,d,g,f.insertionMode,f.noscriptTagInScope);case "script":var Ab=c.async;if("string"!==typeof c.src||!c.src||!Ab||"function"===typeof Ab||"symbol"===typeof Ab||c.onLoad||c.onError||3===f.insertionMode||f.noscriptTagInScope||null!=c.itemProp)var pc=vb(a,c);else{var Bb="[script]"+c.src,Ia=d.scriptsMap.get(Bb);if(!Ia){Ia={type:"script",chunks:[],state:0,props:null};d.scriptsMap.set(Bb,Ia);d.scripts.add(Ia);
var qc=c,ab=d.preloadsMap.get(Bb);if(ab){ab.state|=4;var bb=qc=la({},c),rc=ab.props;null==bb.crossOrigin&&(bb.crossOrigin=rc.crossOrigin);null==bb.integrity&&(bb.integrity=rc.integrity)}vb(Ia.chunks,qc)}g&&a.push("\x3c!-- --\x3e");pc=null}return pc;case "style":var Ja=c.precedence,Ka=c.href;if(3===f.insertionMode||f.noscriptTagInScope||null!=c.itemProp||"string"!==typeof Ja||"string"!==typeof Ka||""===Ka){a.push(C("style"));var oa=null,sc=null,La;for(La in c)if(n.call(c,La)){var cb=c[La];if(null!=
cb)switch(La){case "children":oa=cb;break;case "dangerouslySetInnerHTML":sc=cb;break;default:x(a,La,cb)}}a.push(">");var Ma=Array.isArray(oa)?2>oa.length?oa[0]:null:oa;"function"!==typeof Ma&&"symbol"!==typeof Ma&&null!==Ma&&void 0!==Ma&&a.push(q(""+Ma));y(a,sc,oa);a.push("</","style",">");var tc=null}else{var uc="[style]"+Ka,S=d.stylesMap.get(uc);if(!S){if(S=d.stylePrecedences.get(Ja))S.props.hrefs.push(Ka);else{S={type:"style",chunks:[],state:0,props:{precedence:Ja,hrefs:[Ka]}};d.stylePrecedences.set(Ja,
S);var vc=new Set;vc.add(S);d.precedences.set(Ja,vc)}d.stylesMap.set(uc,S);d.boundaryResources&&d.boundaryResources.add(S);var wc=S.chunks,pa=null,xc=null,db;for(db in c)if(n.call(c,db)){var Cb=c[db];if(null!=Cb)switch(db){case "children":pa=Cb;break;case "dangerouslySetInnerHTML":xc=Cb}}var Na=Array.isArray(pa)?2>pa.length?pa[0]:null:pa;"function"!==typeof Na&&"symbol"!==typeof Na&&null!==Na&&void 0!==Na&&wc.push(q(""+Na));y(wc,xc,pa)}g&&a.push("\x3c!-- --\x3e");tc=void 0}return tc;case "meta":if(3===
f.insertionMode||f.noscriptTagInScope||null!=c.itemProp)var yc=tb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),yc="string"===typeof c.charSet?tb(e.charsetChunks,c,"meta"):tb(e.hoistableChunks,c,"meta");return yc;case "listing":case "pre":a.push(C(b));var Oa=null,Pa=null,Qa;for(Qa in c)if(n.call(c,Qa)){var eb=c[Qa];if(null!=eb)switch(Qa){case "children":Oa=eb;break;case "dangerouslySetInnerHTML":Pa=eb;break;default:x(a,Qa,eb)}}a.push(">");if(null!=Pa){if(null!=Oa)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
if("object"!==typeof Pa||!("__html"in Pa))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var ja=Pa.__html;null!==ja&&void 0!==ja&&("string"===typeof ja&&0<ja.length&&"\n"===ja[0]?a.push("\n",ja):a.push(""+ja))}"string"===typeof Oa&&"\n"===Oa[0]&&a.push("\n");return Oa;case "base":case "area":case "br":case "col":case "embed":case "hr":case "img":case "keygen":case "param":case "source":case "track":case "wbr":return tb(a,
c,b);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":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var zc=wb(e.headChunks,c,"head")}else zc=wb(a,c,"head");return zc;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=["<!DOCTYPE html>"];var Ac=wb(e.htmlChunks,c,"html")}else Ac=wb(a,c,"html");return Ac;default:if(-1!==b.indexOf("-")){a.push(C(b));
var Db=null,Bc=null,Y;for(Y in c)if(n.call(c,Y)){var H=c[Y];if(null!=H&&"function"!==typeof H&&"object"!==typeof H&&!1!==H)switch(!0===H&&(H=""),"className"===Y&&(Y="class"),Y){case "children":Db=H;break;case "dangerouslySetInnerHTML":Bc=H;break;case "style":kb(a,H);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ta(Y)&&"function"!==typeof H&&"symbol"!==typeof H&&a.push(" ",Y,'="',q(H),'"')}}a.push(">");y(a,Bc,Db);return Db}}return wb(a,c,b)}
function Gb(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Hb(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 Ib(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3: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 4: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 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix),
b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8: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 Jb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Kb=/[<\u2028\u2029]/g;
function Lb(a){return JSON.stringify(a).replace(Kb,function(b){switch(b){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 Mb=/[&><\u2028\u2029]/g;
function Nb(a){return JSON.stringify(a).replace(Mb,function(b){switch(b){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");}})}var Ob=!1,Pb=!0;
function Qb(a){if("stylesheet"===a.type&&0===(a.state&1))Ob=!0;else if("style"===a.type){var b=a.chunks,c=a.props.hrefs,d=0;if(b.length){this.push('<style media="not all" data-precedence="');a=q(a.props.precedence);this.push(a);if(c.length){for(this.push('" data-href="');d<c.length-1;d++)a=q(c[d]),this.push(a),this.push(" ");d=q(c[d]);this.push(d)}this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);Pb=this.push("</style>");Ob=!0;b.length=0;c.length=0}}}
function Rb(a,b,c){Ob=!1;Pb=!0;b.forEach(Qb,a);Ob&&(c.stylesToHoist=!0);return Pb}function Sb(a){if(0===(a.state&7)){for(var b=a.chunks,c=0;c<b.length;c++)this.push(b[c]);a.state|=1}}function Tb(a){if(0===(a.state&7)){for(var b=a.chunks,c=0;c<b.length;c++)this.push(b[c]);a.state|=2}}var Ub=null,Vb=!1;function Wb(a,b,c){b=a.chunks;if(a.state&3)c.delete(a);else if("style"===a.type)Ub=a;else{z(b,a.props);for(c=0;c<b.length;c++)this.push(b[c]);a.state|=1;Vb=!0}}
function Xb(a,b){Vb=!1;a.forEach(Wb,this);a.clear();a=Ub.chunks;var c=Ub.props.hrefs;if(!1===Vb||a.length){this.push('<style data-precedence="');b=q(b);this.push(b);b=0;if(c.length){for(this.push('" data-href="');b<c.length-1;b++){var d=q(c[b]);this.push(d);this.push(" ")}b=q(c[b]);this.push(b)}this.push('">');for(b=0;b<a.length;b++)this.push(a[b]);this.push("</style>");a.length=0;c.length=0}}
function Yb(a){if(!(a.state&8)&&"style"!==a.type){var b=a.chunks,c=a.props;z(b,{rel:"preload",as:"style",href:a.props.href,crossOrigin:c.crossOrigin,fetchPriority:c.fetchPriority,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy});for(c=0;c<b.length;c++)this.push(b[c]);a.state|=8;b.length=0}}function Zb(a){a.forEach(Yb,this);a.clear()}
function $b(a,b){a.push("[");var c="[";b.forEach(function(d){if("style"!==d.type&&!(d.state&1))if(d.state&3)a.push(c),d=Nb(""+d.props.href),a.push(d),a.push("]"),c=",[";else if("stylesheet"===d.type){a.push(c);var e=d.props["data-precedence"],f=d.props,g=Nb(""+d.props.href);a.push(g);e=""+e;a.push(",");e=Nb(e);a.push(e);for(var h in f)if(n.call(f,h)&&(g=f[h],null!=g))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:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!ta(h))break a;g=""+g}e.push(",");k=Nb(k);e.push(k);e.push(",");g=
Nb(g);e.push(g)}}a.push("]");c=",[";d.state|=2}});a.push("]")}
function ac(a,b){a.push("[");var c="[";b.forEach(function(d){if("style"!==d.type&&!(d.state&1))if(d.state&3)a.push(c),d=q(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else if("stylesheet"===d.type){a.push(c);var e=d.props["data-precedence"],f=d.props,g=q(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=q(JSON.stringify(e));a.push(e);for(var h in f)if(n.call(f,h)&&(g=f[h],null!=g))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:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!ta(h))break a;g=""+g}e.push(",");k=q(JSON.stringify(k));e.push(k);
e.push(",");g=q(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state|=2}});a.push("]")}function bc(){return{preloadsMap:new Map,preconnectsMap:new Map,stylesMap:new Map,scriptsMap:new Map,preconnects:new Set,fontPreloads:new Set,precedences:new Map,stylePrecedences:new Map,scripts:new Set,explicitStylesheetPreloads:new Set,explicitScriptPreloads:new Set,explicitOtherPreloads:new Set,boundaryResources:null}}
function Ya(a){var b=I?I:null;if(b){var c=b.resources;if("string"===typeof a&&a){var d="[prefetchDNS]"+a,e=c.preconnectsMap.get(d);e||(e={type:"preconnect",chunks:[],state:0,props:null},c.preconnectsMap.set(d,e),z(e.chunks,{href:a,rel:"dns-prefetch"}));c.preconnects.add(e);cc(b)}}}
function Za(a,b){var c=I?I:null;if(c){var d=c.resources;if("string"===typeof a&&a){b=null==b||"string"!==typeof b.crossOrigin?null:"use-credentials"===b.crossOrigin?"use-credentials":"";var e="[preconnect]["+(null===b?"null":b)+"]"+a,f=d.preconnectsMap.get(e);f||(f={type:"preconnect",chunks:[],state:0,props:null},d.preconnectsMap.set(e,f),z(f.chunks,{rel:"preconnect",href:a,crossOrigin:b}));d.preconnects.add(f);cc(c)}}}
function fb(a,b){var c=I?I:null;if(c){var d=c.resources;if("string"===typeof a&&a&&"object"===typeof b&&null!==b&&"string"===typeof b.as&&b.as){var e=b.as;if("image"===e){var f=b.imageSrcSet;var g=b.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof g&&(h+="["+g+"]")):h+="[][]"+a;f="["+e+"]"+h}else f="["+e+"]"+a;g=d.preloadsMap.get(f);g||(g={type:"preload",chunks:[],state:0,props:{rel:"preload",as:e,href:"image"===e&&b.imageSrcSet?void 0:a,crossOrigin:"font"===e?"":b.crossOrigin,
integrity:b.integrity,type:b.type,nonce:b.nonce,fetchPriority:b.fetchPriority,imageSrcSet:b.imageSrcSet,imageSizes:b.imageSizes,referrerPolicy:b.referrerPolicy}},d.preloadsMap.set(f,g),z(g.chunks,g.props));switch(e){case "font":d.fontPreloads.add(g);break;case "style":d.explicitStylesheetPreloads.add(g);break;case "script":d.explicitScriptPreloads.add(g);break;default:d.explicitOtherPreloads.add(g)}cc(c)}}}
function gb(a,b){var c=I?I:null;if(c){var d=c.resources;if("string"===typeof a&&a&&"object"===typeof b&&null!==b){var e=b.as;switch(e){case "style":var f="["+e+"]"+a,g=d.stylesMap.get(f);e=b.precedence||"default";if(!g){g=0;var h=d.preloadsMap.get(f);h&&h.state&3&&(g=8);g={type:"stylesheet",chunks:[],state:g,props:{rel:"stylesheet",href:a,"data-precedence":e,crossOrigin:b.crossOrigin,integrity:b.integrity,fetchPriority:b.fetchPriority}};d.stylesMap.set(f,g);a=d.precedences.get(e);a||(a=new Set,d.precedences.set(e,
a),b={type:"style",chunks:[],state:0,props:{precedence:e,hrefs:[]}},a.add(b),d.stylePrecedences.set(e,b));a.add(g);cc(c)}break;case "script":f="["+e+"]"+a,e=d.scriptsMap.get(f),e||(e={type:"script",chunks:[],state:0,props:null},d.scriptsMap.set(f,e),a={src:a,async:!0,crossOrigin:b.crossOrigin,integrity:b.integrity,nonce:b.nonce,fetchPriority:b.fetchPriority},d.scripts.add(e),vb(e.chunks,a),cc(c))}}}}function dc(a){this.add(a)}
function ec(a,b,c,d){a=void 0===c?"":c;c=null;var e=0;void 0!==d&&(e=1,"string"===typeof d?(c={src:d,chunks:[]},vb(c.chunks,{src:d,async:!0,integrity:void 0,nonce:void 0})):(c={src:d.src,chunks:[]},vb(c.chunks,{src:d.src,async:!0,integrity:d.integrity,nonce:void 0})));return{bootstrapChunks:[],placeholderPrefix:a+"P:",segmentPrefix:a+"S:",boundaryPrefix:a+"B:",idPrefix:a,nextSuspenseID:0,streamingFormat:e,startInlineScript:"<script>",instructions:0,externalRuntimeScript:c,htmlChunks:null,headChunks:null,
hasBody:!1,charsetChunks:[],preconnectChunks:[],preloadChunks:[],hoistableChunks:[],stylesToHoist:!1,generateStaticMarkup:b}}function fc(){return{insertionMode:2,selectedValue:null,noscriptTagInScope:!1}}function gc(a,b,c,d){if(c.generateStaticMarkup)return a.push(q(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(q(b)),a=!0);return a}
var Cc=Symbol.for("react.element"),Dc=Symbol.for("react.portal"),Ec=Symbol.for("react.fragment"),Fc=Symbol.for("react.strict_mode"),Gc=Symbol.for("react.profiler"),Hc=Symbol.for("react.provider"),Ic=Symbol.for("react.context"),Jc=Symbol.for("react.server_context"),Kc=Symbol.for("react.forward_ref"),Lc=Symbol.for("react.suspense"),Mc=Symbol.for("react.suspense_list"),Nc=Symbol.for("react.memo"),Oc=Symbol.for("react.lazy"),Pc=Symbol.for("react.scope"),Qc=Symbol.for("react.debug_trace_mode"),Rc=Symbol.for("react.offscreen"),
Sc=Symbol.for("react.legacy_hidden"),Tc=Symbol.for("react.cache"),Uc=Symbol.for("react.default_value"),Vc=Symbol.for("react.memo_cache_sentinel"),Wc=Symbol.iterator;
function Xc(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 Ec:return"Fragment";case Dc:return"Portal";case Gc:return"Profiler";case Fc:return"StrictMode";case Lc:return"Suspense";case Mc:return"SuspenseList";case Tc:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Ic:return(a.displayName||"Context")+".Consumer";case Hc:return(a._context.displayName||"Context")+".Provider";case Kc:var b=a.render;a=a.displayName;
a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Nc:return b=a.displayName||null,null!==b?b:Xc(a.type)||"Memo";case Oc:b=a._payload;a=a._init;try{return Xc(a(b))}catch(c){break}case Jc:return(a.displayName||a._globalName)+".Provider"}return null}var Yc={};function Zc(a,b){a=a.contextTypes;if(!a)return Yc;var c={},d;for(d in a)c[d]=b[d];return c}var $c=null;
function ad(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.");ad(a,c)}b.context._currentValue2=b.value}}function bd(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&bd(a)}
function cd(a){var b=a.parent;null!==b&&cd(b);a.context._currentValue2=a.value}function dd(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?ad(a,b):dd(a,b)}
function ed(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?ad(a,c):ed(a,c);b.context._currentValue2=b.value}function fd(a){var b=$c;b!==a&&(null===b?cd(a):null===a?bd(b):b.depth===a.depth?ad(b,a):b.depth>a.depth?dd(b,a):ed(b,a),$c=a)}
var gd={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 hd(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=gd;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:la({},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&&gd.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=la({},f,h)):la(f,h))}a.state=f}else f.queue=null}
var id={id:1,overflow:""};function jd(a,b,c){var d=a.id;a=a.overflow;var e=32-kd(d)-1;d&=~(1<<e);c+=1;var f=32-kd(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-kd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var kd=Math.clz32?Math.clz32:ld,md=Math.log,nd=Math.LN2;function ld(a){a>>>=0;return 0===a?32:31-(md(a)/nd|0)|0}var od=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 pd(){}function qd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(pd,pd),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(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}rd=b;throw od;}}var rd=null;
function sd(){if(null===rd)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=rd;rd=null;return a}function td(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var ud="function"===typeof Object.is?Object.is:td,J=null,vd=null,wd=null,K=null,xd=!1,yd=!1,zd=0,Ad=0,Bd=null,N=null,Cd=0;
function Dd(){if(null===J)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 J}
function Ed(){if(0<Cd)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Fd(){null===K?null===wd?(xd=!1,wd=K=Ed()):(xd=!0,K=wd):null===K.next?(xd=!1,K=K.next=Ed()):(xd=!0,K=K.next);return K}function Gd(a,b,c,d){for(;yd;)yd=!1,Ad=zd=0,Cd+=1,K=null,c=a(b,d);Hd();return c}function Id(){var a=Bd;Bd=null;return a}function Hd(){vd=J=null;yd=!1;wd=null;Cd=0;K=N=null}function Jd(a,b){return"function"===typeof b?b(a):b}
function Kd(a,b,c){J=Dd();K=Fd();if(xd){var d=K.queue;b=d.dispatch;if(null!==N&&(c=N.get(d),void 0!==c)){N.delete(d);d=K.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);K.memoizedState=d;return[d,b]}return[K.memoizedState,b]}a=a===Jd?"function"===typeof b?b():b:void 0!==c?c(b):b;K.memoizedState=a;a=K.queue={last:null,dispatch:null};a=a.dispatch=Ld.bind(null,J,a);return[K.memoizedState,a]}
function Md(a,b){J=Dd();K=Fd();b=void 0===b?null:b;if(null!==K){var c=K.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(!ud(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();K.memoizedState=[a,b];return a}
function Ld(a,b,c){if(25<=Cd)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===J)if(yd=!0,a={action:c,next:null},null===N&&(N=new Map),c=N.get(b),void 0===c)N.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Nd(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function Od(){throw Error("startTransition cannot be called during server rendering.");}
function Pd(){throw Error("Cannot update optimistic state while rendering.");}function Rd(a){var b=Ad;Ad+=1;null===Bd&&(Bd=[]);return qd(Bd,a,b)}function Sd(){throw Error("Cache cannot be refreshed during server rendering.");}function Td(){}
var Vd={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Rd(a);if(a.$$typeof===Ic||a.$$typeof===Jc)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Dd();return a._currentValue2},useMemo:Md,useReducer:Kd,useRef:function(a){J=Dd();K=Fd();var b=K.memoizedState;return null===b?(a={current:a},K.memoizedState=a):b},useState:function(a){return Kd(Jd,a)},
useInsertionEffect:Td,useLayoutEffect:Td,useCallback:function(a,b){return Md(function(){return a},b)},useImperativeHandle:Td,useEffect:Td,useDebugValue:Td,useDeferredValue:function(a){Dd();return a},useTransition:function(){Dd();return[!1,Od]},useId:function(){var a=vd.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-kd(a)-1)).toString(32)+b;var c=Ud;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=zd++;a=":"+c.idPrefix+"R"+a;0<b&&
(a+="H"+b.toString(32));return a+":"},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 Sd},useEffectEvent:function(){return Nd},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Vc;return b},useHostTransitionStatus:function(){Dd();return Wa},useOptimistic:function(a){Dd();return[a,Pd]}},Ud=null,Wd={getCacheSignal:function(){throw Error("Not implemented.");
},getCacheForType:function(){throw Error("Not implemented.");}},Xd=Va.ReactCurrentDispatcher,Yd=Va.ReactCurrentCache;function Zd(a){console.error(a);return null}function $d(){}
function ae(a,b,c,d,e,f,g,h,k,m){Xa.current=hb;var t=[],p=new Set;b={destination:null,flushScheduled:!1,responseState:c,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,resources:b,completedRootSegment:null,abortableTasks:p,pingedTasks:t,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===f?Zd:f,onAllReady:void 0===g?$d:g,onShellReady:void 0===h?$d:h,onShellError:void 0===k?$d:k,onFatalError:void 0===
m?$d:m};d=be(b,0,null,d,!1,!1);d.parentFlushed=!0;a=ce(b,null,a,null,d,p,Yc,null,id);t.push(a);return b}var I=null;function ce(a,b,c,d,e,f,g,h,k){a.allPendingTasks++;null===d?a.pendingRootTasks++:d.pendingTasks++;var m={node:c,ping:function(){a.pingedTasks.push(m);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,de(a))},blockedBoundary:d,blockedSegment:e,abortSet:f,legacyContext:g,context:h,treeContext:k,thenableState:b};f.add(m);return m}
function be(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 ee(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 fe(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 ge(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((Xc(d)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');d=la({},g,c)}b.legacyContext=d;Z(a,b,null,e);b.legacyContext=g}else Z(a,b,null,e)}
function he(a,b){if(a&&a.defaultProps){b=la({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}
function ie(a,b,c,d,e,f){if("function"===typeof d)if(d.prototype&&d.prototype.isReactComponent)c=Zc(d,b.legacyContext),f=d.contextType,f=new d(e,"object"===typeof f&&null!==f?f._currentValue2:c),hd(f,d,e,c),ge(a,b,f,d);else{f=Zc(d,b.legacyContext);J={};vd=b;Ad=zd=0;Bd=c;c=d(e,f);c=Gd(d,e,c,f);var g=0!==zd;if("object"===typeof c&&null!==c&&"function"===typeof c.render&&void 0===c.$$typeof)hd(c,d,e,f),ge(a,b,c,d);else if(g){e=b.treeContext;b.treeContext=jd(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;g=Fb(c.chunks,d,e,a.resources,a.responseState,c.formatContext,c.lastPushedText);c.lastPushedText=!1;f=c.formatContext;c.formatContext=ib(f,d,e);je(a,b,g);c.formatContext=f;a:{b=c.chunks;switch(d){case "title":case "style":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":break a;case "body":if(1>=
f.insertionMode){a.responseState.hasBody=!0;break a}break;case "html":if(0===f.insertionMode)break a}b.push("</",d,">")}c.lastPushedText=!1}else{switch(d){case Sc:case Qc:case Fc:case Gc:case Ec:Z(a,b,null,e.children);return;case Rc:"hidden"!==e.mode&&Z(a,b,null,e.children);return;case Mc:Z(a,b,null,e.children);return;case Pc:throw Error("ReactDOMServer does not yet support scope components.");case Lc: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},k=be(a,c.chunks.length,h,c.formatContext,!1,!1);c.children.push(k);c.lastPushedText=!1;var m=be(a,0,null,c.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=h;b.blockedSegment=m;a.resources.boundaryResources=h.resources;try{if(je(a,b,e),a.responseState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=
1,ke(h,m),0===h.pendingTasks)break a}catch(t){m.status=4,h.forceClientRender=!0,h.errorDigest=ee(a,t)}finally{a.resources.boundaryResources=d?d.resources:null,b.blockedBoundary=d,b.blockedSegment=c}b=ce(a,null,f,d,k,g,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof d&&null!==d)switch(d.$$typeof){case Kc:d=d.render;J={};vd=b;Ad=zd=0;Bd=c;c=d(e,f);e=Gd(d,e,c,f);if(0!==zd){d=b.treeContext;b.treeContext=jd(d,1,0);try{Z(a,b,null,e)}finally{b.treeContext=d}}else Z(a,
b,null,e);return;case Nc:d=d.type;e=he(d,e);ie(a,b,c,d,e,f);return;case Hc:c=e.children;d=d._context;e=e.value;f=d._currentValue2;d._currentValue2=e;g=$c;$c=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=$c;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===Uc?a.context._defaultValue:e;a=$c=a.parent;b.context=a;return;case Ic:e=e.children;e=e(d._currentValue2);
Z(a,b,null,e);return;case Oc:f=d._init;d=f(d._payload);e=he(d,e);ie(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 Cc:ie(a,b,c,d.type,d.props,d.ref);return;case Dc:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Oc:c=d._init;d=c(d._payload);Z(a,b,null,d);return}if(Ua(d)){le(a,b,d);return}null===d||"object"!==typeof d?c=null:(c=Wc&&d[Wc]||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);le(a,b,e)}return}if("function"===typeof d.then)return Z(a,b,null,Rd(d));if(d.$$typeof===Ic||d.$$typeof===Jc)return Z(a,b,null,d._currentValue2);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=
gc(b.blockedSegment.chunks,d,a.responseState,c.lastPushedText)):"number"===typeof d&&(c=b.blockedSegment,c.lastPushedText=gc(b.blockedSegment.chunks,""+d,a.responseState,c.lastPushedText))}function le(a,b,c){for(var d=c.length,e=0;e<d;e++){var f=b.treeContext;b.treeContext=jd(f,d,e);try{je(a,b,c[e])}finally{b.treeContext=f}}}
function je(a,b,c){var d=b.blockedSegment,e=d.children.length,f=d.chunks.length,g=b.blockedSegment.formatContext,h=b.legacyContext,k=b.context;try{return Z(a,b,null,c)}catch(m){if(Hd(),d.children.length=e,d.chunks.length=f,c=m===od?sd():m,"object"===typeof c&&null!==c&&"function"===typeof c.then)d=Id(),e=b.blockedSegment,f=be(a,e.chunks.length,null,e.formatContext,e.lastPushedText,!0),e.children.push(f),e.lastPushedText=!1,a=ce(a,d,b.node,b.blockedBoundary,f,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,
c.then(a,a),b.blockedSegment.formatContext=g,b.legacyContext=h,b.context=k,fd(k);else throw b.blockedSegment.formatContext=g,b.legacyContext=h,b.context=k,fd(k),c;}}function me(a){var b=a.blockedBoundary;a=a.blockedSegment;a.status=3;ne(this,b,a)}
function oe(a,b,c){var