UNPKG

react-dom

Version:

React package for working with the DOM.

107 lines (106 loc) • 41.1 kB
/** * @license React * react-dom-server-legacy.node.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react"),ba=require("stream"),p=Object.prototype.hasOwnProperty,ca=/^[: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]*$/,da={},ea={}; function ka(a){if(p.call(ea,a))return!0;if(p.call(da,a))return!1;if(ca.test(a))return ea[a]=!0;da[a]=!0;return!1}function r(a,b,c,d,e,g,f){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=g;this.removeEmptyString=f}var u={},la="children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" "); la.push("innerText","textContent");la.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 ma=/[\-:]([a-z])/g;function na(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(ma, na);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(ma,na);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(ma,na);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 v={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},oa=["Webkit","ms","Moz","O"];Object.keys(v).forEach(function(a){oa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);v[b]=v[a]})});var pa=/["'&<>]/; function w(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=pa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";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 qa=/([A-Z])/g,ra=/^ms-/,sa=Array.isArray;function x(a,b){return{insertionMode:a,selectedValue:b}} function ta(a,b,c){switch(b){case "select":return x(1,null!=c.value?c.value:c.defaultValue);case "svg":return x(2,null);case "math":return x(3,null);case "foreignObject":return x(1,null);case "table":return x(4,null);case "thead":case "tbody":case "tfoot":return x(5,null);case "colgroup":return x(7,null);case "tr":return x(6,null)}return 4<=a.insertionMode||0===a.insertionMode?x(1,null):a}var ua=new Map; function va(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 g=w(d);e=w((""+e).trim())}else{g=d;var f=ua.get(g);void 0!==f?g=f:(f=w(g.replace(qa,"-$1").toLowerCase().replace(ra,"-ms-")),ua.set(g,f),g=f);e="number"===typeof e?0===e||p.call(v, d)?""+e:e+"px":w((""+e).trim())}b?(b=!1,a.push(' style="',g,":",e)):a.push(";",g,":",e)}}b||a.push('"')} function y(a,b,c,d){switch(c){case "style":va(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,'="',w(d),'"');break;case 5:isNaN(d)||a.push(" ",c,'="',w(d),'"');break;case 6:!isNaN(d)&&1<=d&&a.push(" ",c,'="',w(d),'"');break;default:b.sanitizeURL&&(d=""+d),a.push(" ",c,'="',w(d),'"')}}else if(ka(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,'="',w(d),'"')}} function z(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 wa(a){var b="";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b} function A(a,b,c,d){a.push(B(c));var e=c=null,g;for(g in b)if(p.call(b,g)){var f=b[g];if(null!=f)switch(g){case "children":c=f;break;case "dangerouslySetInnerHTML":e=f;break;default:y(a,d,g,f)}}a.push(">");z(a,e,c);return"string"===typeof c?(a.push(w(c)),null):c}var xa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ya=new Map;function B(a){var b=ya.get(a);if(void 0===b){if(!xa.test(a))throw Error("Invalid tag: "+a);b="<"+a;ya.set(a,b)}return b} function za(a,b,c,d,e,g){switch(c){case "select":a.push(B("select"));var f=null,h=null;for(m in d)if(p.call(d,m)){var k=d[m];if(null!=k)switch(m){case "children":f=k;break;case "dangerouslySetInnerHTML":h=k;break;case "defaultValue":case "value":break;default:y(a,e,m,k)}}a.push(">");z(a,h,f);return f;case "option":h=g.selectedValue;a.push(B("option"));var l=k=null,n=null;var m=null;for(f in d)if(p.call(d,f)){var q=d[f];if(null!=q)switch(f){case "children":k=q;break;case "selected":n=q;break;case "dangerouslySetInnerHTML":m= q;break;case "value":l=q;default:y(a,e,f,q)}}if(null!=h)if(d=null!==l?""+l:wa(k),sa(h))for(e=0;e<h.length;e++){if(""+h[e]===d){a.push(' selected=""');break}}else""+h===d&&a.push(' selected=""');else n&&a.push(' selected=""');a.push(">");z(a,m,k);return k;case "textarea":a.push(B("textarea"));m=h=f=null;for(k in d)if(p.call(d,k)&&(l=d[k],null!=l))switch(k){case "children":m=l;break;case "value":f=l;break;case "defaultValue":h=l;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); default:y(a,e,k,l)}null===f&&null!==h&&(f=h);a.push(">");if(null!=m){if(null!=f)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sa(m)&&1<m.length)throw Error("<textarea> can only have at most one child.");f=""+m}"string"===typeof f&&"\n"===f[0]&&a.push("\n");null!==f&&a.push(w(""+f));return null;case "input":a.push(B("input"));l=m=k=f=null;for(h in d)if(p.call(d,h)&&(n=d[h],null!=n))switch(h){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":k=n;break;case "checked":m=n;break;case "value":f=n;break;default:y(a,e,h,n)}null!==m?y(a,e,"checked",m):null!==l&&y(a,e,"checked",l);null!==f?y(a,e,"value",f):null!==k&&y(a,e,"value",k);a.push("/>");return null;case "menuitem":a.push(B("menuitem"));for(var D in d)if(p.call(d,D)&&(f=d[D],null!=f))switch(D){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:y(a,e,D, f)}a.push(">");return null;case "title":a.push(B("title"));f=null;for(q in d)if(p.call(d,q)&&(h=d[q],null!=h))switch(q){case "children":f=h;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:y(a,e,q,h)}a.push(">");return f;case "link":f="stylesheet"===d.rel;a.push(B("link"));for(var E in d)if(p.call(d,E)&&(h=d[E],null!=h))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(f){!0!==h&&"string"!==typeof h||y(a,e,"data-rprec",h);break}default:y(a,e,E,h)}a.push("/>");return null;case "listing":case "pre":a.push(B(c));h=f=null;for(l in d)if(p.call(d,l)&&(k=d[l],null!=k))switch(l){case "children":f=k;break;case "dangerouslySetInnerHTML":h=k;break;default:y(a,e,l,k)}a.push(">");if(null!=h){if(null!=f)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 f&&"\n"===f[0]&&a.push("\n");return f;case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":a.push(B(c));for(var t in d)if(p.call(d,t)&&(f=d[t],null!=f))switch(t){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); default:y(a,e,t,f)}a.push("/>");return null;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 A(a,d,c,e);case "head":return A(b,d,c,e);case "html":return 0===g.insertionMode&&b.push("<!DOCTYPE html>"),A(b,d,c,e);default:if(-1===c.indexOf("-")&&"string"!==typeof d.is)return A(a,d,c,e);a.push(B(c));h=f=null;for(n in d)if(p.call(d,n)&&(k=d[n],null!=k&&"function"!==typeof k&&"object"!== typeof k&&!1!==k))switch(!0===k&&(k=""),"className"===n&&(n="class"),n){case "children":f=k;break;case "dangerouslySetInnerHTML":h=k;break;case "style":va(a,e,k);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ka(n)&&"function"!==typeof k&&"symbol"!==typeof k&&a.push(" ",n,'="',w(k),'"')}a.push(">");z(a,h,f);return f}} function Aa(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 Ba(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 Ca(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 Da=/[<\u2028\u2029]/g; function Ea(a){return JSON.stringify(a).replace(Da,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");}})} function Fa(a,b){b=void 0===b?"":b;return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:a}}function Ga(){return{insertionMode:1,selectedValue:null}}function Ha(a,b,c,d){if(c.generateStaticMarkup)return a.push(w(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(w(b)),a=!0);return a} var C=Object.assign,Ia=Symbol.for("react.element"),Ja=Symbol.for("react.portal"),Ka=Symbol.for("react.fragment"),La=Symbol.for("react.strict_mode"),Ma=Symbol.for("react.profiler"),Na=Symbol.for("react.provider"),Oa=Symbol.for("react.context"),Pa=Symbol.for("react.server_context"),Qa=Symbol.for("react.forward_ref"),Ra=Symbol.for("react.suspense"),Sa=Symbol.for("react.suspense_list"),Ta=Symbol.for("react.memo"),Ua=Symbol.for("react.lazy"),Va=Symbol.for("react.scope"),Wa=Symbol.for("react.debug_trace_mode"), Xa=Symbol.for("react.offscreen"),Ya=Symbol.for("react.legacy_hidden"),Za=Symbol.for("react.cache"),$a=Symbol.for("react.default_value"),ab=Symbol.iterator; function bb(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 Ka:return"Fragment";case Ja:return"Portal";case Ma:return"Profiler";case La:return"StrictMode";case Ra:return"Suspense";case Sa:return"SuspenseList";case Za:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Oa:return(a.displayName||"Context")+".Consumer";case Na:return(a._context.displayName||"Context")+".Provider";case Qa:var b=a.render;a=a.displayName; a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Ta:return b=a.displayName||null,null!==b?b:bb(a.type)||"Memo";case Ua:b=a._payload;a=a._init;try{return bb(a(b))}catch(c){break}case Pa:return(a.displayName||a._globalName)+".Provider"}return null}var cb={};function db(a,b){a=a.contextTypes;if(!a)return cb;var c={},d;for(d in a)c[d]=b[d];return c}var F=null; function G(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.");G(a,c)}b.context._currentValue2=b.value}}function eb(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&eb(a)} function fb(a){var b=a.parent;null!==b&&fb(b);a.context._currentValue2=a.value}function gb(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?G(a,b):gb(a,b)} function hb(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?G(a,c):hb(a,c);b.context._currentValue2=b.value}function H(a){var b=F;b!==a&&(null===b?fb(a):null===a?eb(b):b.depth===a.depth?G(b,a):b.depth>a.depth?gb(b,a):hb(b,a),F=a)} var ib={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 jb(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=ib;a.props=c;a.state=e;var g={queue:[],replace:!1};a._reactInternals=g;var f=b.contextType;a.context="object"===typeof f&&null!==f?f._currentValue2:d;f=b.getDerivedStateFromProps;"function"===typeof f&&(f=f(c,e),e=null===f||void 0===f?e:C({},e,f),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&&ib.enqueueReplaceState(a,a.state,null),null!==g.queue&&0<g.queue.length)if(b=g.queue,f=g.replace,g.queue=null,g.replace=!1,f&&1===b.length)a.state=b[0];else{g=f?b[0]:a.state;e=!0;for(f=f?1:0;f<b.length;f++){var h=b[f];h="function"===typeof h?h.call(a,g,c,d):h;null!=h&&(e?(e=!1,g=C({},g,h)):C(g,h))}a.state=g}else g.queue=null} var kb={id:1,overflow:""};function lb(a,b,c){var d=a.id;a=a.overflow;var e=32-I(d)-1;d&=~(1<<e);c+=1;var g=32-I(b)+e;if(30<g){var f=e-e%5;g=(d&(1<<f)-1).toString(32);d>>=f;e-=f;return{id:1<<32-I(b)+e|c<<e|d,overflow:g+a}}return{id:1<<g|c<<e|d,overflow:a}}var I=Math.clz32?Math.clz32:mb,nb=Math.log,ob=Math.LN2;function mb(a){a>>>=0;return 0===a?32:31-(nb(a)/ob|0)|0} function pb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}}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,J=null,K=null,L=null,M=null,N=!1,O=!1,P=0,Q=0,R=null,S=null,T=0; function U(){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 sb(){if(0<T)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function tb(){null===M?null===L?(N=!1,L=M=sb()):(N=!0,M=L):null===M.next?(N=!1,M=M.next=sb()):(N=!0,M=M.next);return M}function ub(a,b,c,d){for(;O;)O=!1,Q=P=0,T+=1,M=null,c=a(b,d);vb();return c}function yb(){var a=R;R=null;return a}function vb(){K=J=null;O=!1;L=null;T=0;M=S=null}function zb(a,b){return"function"===typeof b?b(a):b} function Ab(a,b,c){J=U();M=tb();if(N){var d=M.queue;b=d.dispatch;if(null!==S&&(c=S.get(d),void 0!==c)){S.delete(d);d=M.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);M.memoizedState=d;return[d,b]}return[M.memoizedState,b]}a=a===zb?"function"===typeof b?b():b:void 0!==c?c(b):b;M.memoizedState=a;a=M.queue={last:null,dispatch:null};a=a.dispatch=Bb.bind(null,J,a);return[M.memoizedState,a]} function Cb(a,b){J=U();M=tb();b=void 0===b?null:b;if(null!==M){var c=M.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();M.memoizedState=[a,b];return a} function Bb(a,b,c){if(25<=T)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===J)if(O=!0,a={action:c,next:null},null===S&&(S=new Map),c=S.get(b),void 0===c)S.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Db(){throw Error("startTransition cannot be called during server rendering.");}function Eb(){throw Error("Cache cannot be refreshed during server rendering.");}function V(){} var Gb={readContext:function(a){return a._currentValue2},useContext:function(a){U();return a._currentValue2},useMemo:Cb,useReducer:Ab,useRef:function(a){J=U();M=tb();var b=M.memoizedState;return null===b?(a={current:a},M.memoizedState=a):b},useState:function(a){return Ab(zb,a)},useInsertionEffect:V,useLayoutEffect:function(){},useCallback:function(a,b){return Cb(function(){return a},b)},useImperativeHandle:V,useEffect:V,useDebugValue:V,useDeferredValue:function(a){U();return a},useTransition:function(){U(); return[!1,Db]},useId:function(){var a=K.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-I(a)-1)).toString(32)+b;var c=Fb;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=P++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useMutableSource:function(a,b){U();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()},getCacheForType:function(){throw Error("Not implemented.");},useCacheRefresh:function(){return Eb},useMemoCache:function(a){return Array(a)},use:function(a){if(null!==a&&"object"===typeof a)if("function"===typeof a.then){var b=Q;Q+=1;switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:a:{if(null!==R){var c=R[b];if(void 0!==c)break a}c=null}if(null!==c)switch(c.status){case "fulfilled":return c.value;case "rejected":throw c.reason;default:throw c;}else throw null=== R&&(R=[]),R[b]=a,a;}}else if(a.$$typeof===Oa||a.$$typeof===Pa)return a._currentValue2;throw Error("An unsupported type was passed to use(): "+String(a));}},Fb=null,Hb=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Ib(a){console.error(a);return null}function W(){} function Jb(a,b,c,d,e,g,f,h,k){var l=[],n=new Set;b={destination:null,responseState:b,progressiveChunkSize:void 0===d?12800:d,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:n,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],preamble:[],postamble:[],onError:void 0===e?Ib:e,onAllReady:void 0===g?W:g,onShellReady:void 0===f?W:f,onShellError:void 0===h?W:h,onFatalError:void 0===k?W:k};c=Kb(b,0, null,c,!1,!1);c.parentFlushed=!0;a=Lb(b,null,a,null,c,n,cb,null,kb);l.push(a);return b}function Lb(a,b,c,d,e,g,f,h,k){a.allPendingTasks++;null===d?a.pendingRootTasks++:d.pendingTasks++;var l={node:c,ping:function(){var b=a.pingedTasks;b.push(l);1===b.length&&Mb(a)},blockedBoundary:d,blockedSegment:e,abortSet:g,legacyContext:f,context:h,treeContext:k,thenableState:b};g.add(l);return l} function Kb(a,b,c,d,e,g){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:e,textEmbedded:g}}function X(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 Y(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 Nb(a,b,c,d){var e=c.render(),g=d.childContextTypes;if(null!==g&&void 0!==g){var f=b.legacyContext;if("function"!==typeof c.getChildContext)d=f;else{c=c.getChildContext();for(var h in c)if(!(h in g))throw Error((bb(d)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');d=C({},f,c)}b.legacyContext=d;Z(a,b,null,e);b.legacyContext=f}else Z(a,b,null,e)} function Ob(a,b){if(a&&a.defaultProps){b=C({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} function Pb(a,b,c,d,e,g){if("function"===typeof d)if(d.prototype&&d.prototype.isReactComponent)c=db(d,b.legacyContext),g=d.contextType,g=new d(e,"object"===typeof g&&null!==g?g._currentValue2:c),jb(g,d,e,c),Nb(a,b,g,d);else{g=db(d,b.legacyContext);J={};K=b;Q=P=0;R=c;c=d(e,g);c=ub(d,e,c,g);var f=0!==P;if("object"===typeof c&&null!==c&&"function"===typeof c.render&&void 0===c.$$typeof)jb(c,d,e,g),Nb(a,b,c,d);else if(f){e=b.treeContext;b.treeContext=lb(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=za(c.chunks,a.preamble,d,e,a.responseState,c.formatContext);c.lastPushedText=!1;f=c.formatContext;c.formatContext=ta(f,d,e);Qb(a,b,g);c.formatContext=f;b=c.chunks;switch(d){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;case "body":case "html":b=a.postamble;default:b.push("</",d,">")}c.lastPushedText= !1}else{switch(d){case Ya:case Wa:case La:case Ma:case Ka:Z(a,b,null,e.children);return;case Xa:"hidden"!==e.mode&&Z(a,b,null,e.children);return;case Sa:Z(a,b,null,e.children);return;case Va:throw Error("ReactDOMServer does not yet support scope components.");case Ra:a:{d=b.blockedBoundary;c=b.blockedSegment;g=e.fallback;e=e.children;f=new Set;var h={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}, k=Kb(a,c.chunks.length,h,c.formatContext,!1,!1);c.children.push(k);c.lastPushedText=!1;var l=Kb(a,0,null,c.formatContext,!1,!1);l.parentFlushed=!0;b.blockedBoundary=h;b.blockedSegment=l;try{if(Qb(a,b,e),a.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),l.status=1,Rb(h,l),0===h.pendingTasks)break a}catch(n){l.status=4,h.forceClientRender=!0,h.errorDigest=X(a,n)}finally{b.blockedBoundary=d,b.blockedSegment=c}b=Lb(a,null,g,d,k,f,b.legacyContext,b.context, b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof d&&null!==d)switch(d.$$typeof){case Qa:d=d.render;J={};K=b;Q=P=0;R=c;c=d(e,g);e=ub(d,e,c,g);if(0!==P){d=b.treeContext;b.treeContext=lb(d,1,0);try{Z(a,b,null,e)}finally{b.treeContext=d}}else Z(a,b,null,e);return;case Ta:d=d.type;e=Ob(d,e);Pb(a,b,c,d,e,g);return;case Na:c=e.children;d=d._context;e=e.value;g=d._currentValue2;d._currentValue2=e;f=F;F=e={parent:f,depth:null===f?0:f.depth+1,context:d,parentValue:g,value:e};b.context=e;Z(a, b,null,c);a=F;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===$a?a.context._defaultValue:e;a=F=a.parent;b.context=a;return;case Oa:e=e.children;e=e(d._currentValue2);Z(a,b,null,e);return;case Ua:g=d._init;d=g(d._payload);e=Ob(d,e);Pb(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 Ia:Pb(a,b,c,d.type,d.props,d.ref);return;case Ja:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ua:c=d._init;d=c(d._payload);Z(a,b,null,d);return}if(sa(d)){Sb(a,b,d);return}null===d||"object"!==typeof d?c=null:(c=ab&&d[ab]||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);Sb(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=Ha(b.blockedSegment.chunks,d,a.responseState,c.lastPushedText)):"number"===typeof d&&(c=b.blockedSegment,c.lastPushedText=Ha(b.blockedSegment.chunks, ""+d,a.responseState,c.lastPushedText))}function Sb(a,b,c){for(var d=c.length,e=0;e<d;e++){var g=b.treeContext;b.treeContext=lb(g,d,e);try{Qb(a,b,c[e])}finally{b.treeContext=g}}} function Qb(a,b,c){var d=b.blockedSegment.formatContext,e=b.legacyContext,g=b.context;try{return Z(a,b,null,c)}catch(l){if(vb(),"object"===typeof l&&null!==l&&"function"===typeof l.then){var f=yb();c=l;var h=b.blockedSegment,k=Kb(a,h.chunks.length,null,h.formatContext,h.lastPushedText,!0);h.children.push(k);h.lastPushedText=!1;a=Lb(a,f,b.node,b.blockedBoundary,k,b.abortSet,b.legacyContext,b.context,b.treeContext);pb(c);a=a.ping;c.then(a,a);b.blockedSegment.formatContext=d;b.legacyContext=e;b.context= g;H(g)}else throw b.blockedSegment.formatContext=d,b.legacyContext=e,b.context=g,H(g),l;}}function Tb(a){var b=a.blockedBoundary;a=a.blockedSegment;a.status=3;Ub(this,b,a)} function Vb(a,b,c){var d=a.blockedBoundary;a.blockedSegment.status=3;null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(X(b,c),Y(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 Vb(a,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--,0===b.allPendingTasks&&(a=b.onAllReady,a()))} function Rb(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&&Rb(a,c)}else a.completedSegments.push(b)} function Ub(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=W,b=a.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(0===b.pendingTasks?(c.parentFlushed&&1===c.status&&Rb(b,c),b.parentFlushed&&a.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Tb,a),b.fallbackAbortableTasks.clear()):c.parentFlushed&& 1===c.status&&(Rb(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} function Mb(a){if(2!==a.status){var b=F,c=Hb.current;Hb.current=Gb;var d=Fb;Fb=a.responseState;try{var e=a.pingedTasks,g;for(g=0;g<e.length;g++){var f=e[g];var h=a,k=f.blockedSegment;if(0===k.status){H(f.context);try{var l=f.thenableState;f.thenableState=null;Z(h,f,l,f.node);h.responseState.generateStaticMarkup||k.lastPushedText&&k.textEmbedded&&k.chunks.push("\x3c!-- --\x3e");f.abortSet.delete(f);k.status=1;Ub(h,f.blockedBoundary,k)}catch(t){if(vb(),"object"===typeof t&&null!==t&&"function"===typeof t.then){var n= f.ping;t.then(n,n);pb(t);f.thenableState=yb()}else{f.abortSet.delete(f);k.status=4;var m=f.blockedBoundary,q=t,D=X(h,q);null===m?Y(h,q):(m.pendingTasks--,m.forceClientRender||(m.forceClientRender=!0,m.errorDigest=D,m.parentFlushed&&h.clientRenderedBoundaries.push(m)));h.allPendingTasks--;if(0===h.allPendingTasks){var E=h.onAllReady;E()}}}finally{}}}e.splice(0,g);null!==a.destination&&Wb(a,a.destination)}catch(t){X(a,t),Y(a,t)}finally{Fb=d,Hb.current=c,c===Gb&&H(b)}}} function Xb(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 g=0;c=c.children;for(var f=0;f<c.length;f++){for(e=c[f];g<e.index;g++)b.push(d[g]);e=Yb(a,b,e)}for(;g<d.length-1;g++)b.push(d[g]);g<d.length&&(e=b.push(d[g]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); }} function Yb(a,b,c){var d=c.boundary;if(null===d)return Xb(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=w(d),b.push(d),b.push('"')),b.push("></template>")),Xb(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 g= e.nextSuspenseID++;e=e.boundaryPrefix+g.toString(16);d=d.id=e;Aa(b,a.responseState,d);Xb(a,b,c);return b.push("\x3c!--/$--\x3e")}if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Aa(b,a.responseState,d.id),Xb(a,b,c),b.push("\x3c!--/$--\x3e");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."); Yb(a,b,c[0]);a=a.responseState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function Zb(a,b,c){Ba(b,a.responseState,c.formatContext,c.id);Yb(a,b,c);return Ca(b,c.formatContext)} function $b(a,b,c){for(var d=c.completedSegments,e=0;e<d.length;e++)ac(a,b,c,d[e]);d.length=0;a=a.responseState;d=c.id;c=c.rootSegmentID;b.push(a.startInlineScript);a.sentCompleteBoundaryFunction?b.push('$RC("'):(a.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'));if(null=== d)throw Error("An ID must have been assigned before we can complete the boundary.");c=c.toString(16);b.push(d);b.push('","');b.push(a.segmentPrefix);b.push(c);return b.push('")\x3c/script>')} function ac(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 Zb(a,b,d)}Zb(a,b,d);a=a.responseState;b.push(a.startInlineScript);a.sentCompleteSegmentFunction?b.push('$RS("'):(a.sentCompleteSegmentFunction=!0,b.push('function $RS(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);return b.push('")\x3c/script>')} function Wb(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]);Yb(a,b,d);a.completedRootSegment=null;var g=a.responseState.bootstrapChunks;for(d=0;d<g.length-1;d++)b.push(g[d]);d<g.length&&b.push(g[d])}else return;var f=a.clientRenderedBoundaries;for(c=0;c<f.length;c++){var h=f[c];g=b;var k=a.responseState,l=h.id,n=h.errorDigest,m=h.errorMessage,q=h.errorComponentStack;g.push(k.startInlineScript);k.sentClientRenderFunction? g.push('$RX("'):(k.sentClientRenderFunction=!0,g.push('function $RX(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===l)throw Error("An ID must have been assigned before we can complete the boundary.");g.push(l);g.push('"');if(n||m||q){g.push(",");var D=Ea(n||"");g.push(D)}if(m||q){g.push(",");var E=Ea(m||"");g.push(E)}if(q){g.push(",");var t=Ea(q);g.push(t)}if(!g.push(")\x3c/script>")){a.destination= null;c++;f.splice(0,c);return}}f.splice(0,c);var fa=a.completedBoundaries;for(c=0;c<fa.length;c++)if(!$b(a,b,fa[c])){a.destination=null;c++;fa.splice(0,c);return}fa.splice(0,c);var ha=a.partialBoundaries;for(c=0;c<ha.length;c++){var wb=ha[c];a:{f=a;h=b;var ia=wb.completedSegments;for(k=0;k<ia.length;k++)if(!ac(f,h,wb,ia[k])){k++;ia.splice(0,k);var xb=!1;break a}ia.splice(0,k);xb=!0}if(!xb){a.destination=null;c++;ha.splice(0,c);return}}ha.splice(0,c);var ja=a.completedBoundaries;for(c=0;c<ja.length;c++)if(!$b(a, b,ja[c])){a.destination=null;c++;ja.splice(0,c);return}ja.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 bc(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{Wb(a,b)}catch(c){X(a,c),Y(a,c)}}} function cc(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 Vb(b,a,d)});c.clear()}null!==a.destination&&Wb(a,a.destination)}catch(e){X(a,e),Y(a,e)}}function dc(){} function ec(a,b,c,d){var e=!1,g=null,f="",h=!1;a=Jb(a,Fa(c,b?b.identifierPrefix:void 0),Ga(),Infinity,dc,void 0,function(){h=!0},void 0,void 0);Mb(a);cc(a,d);bc(a,{push:function(a){null!==a&&(f+=a);return!0},destroy:function(a){e=!0;g=a}});if(e&&g!==d)throw g;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 f} function fc(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var gc=function(a){function b(){var b=a.call(this,{})||this;b.request=null;b.startedFlowing=!1;return b}fc(b,a);var c=b.prototype;c._destroy=function(a,b){cc(this.request);b(a)};c._read=function(){this.startedFlowing&&bc(this.request,this)};return b}(ba.Readable);function hc(){} function ic(a,b){var c=new gc,d=Jb(a,Fa(!1,b?b.identifierPrefix:void 0),Ga(),Infinity,hc,function(){c.startedFlowing=!0;bc(d,c)},void 0,void 0);c.request=d;Mb(d);return c}exports.renderToNodeStream=function(a,b){return ic(a,b)};exports.renderToStaticMarkup=function(a,b){return ec(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 ic(a,b)};exports.renderToString=function(a,b){return ec(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-experimental-3d615fc14-20220919";