mirror of
https://github.com/denoland/deno
synced 2024-08-27 12:00:17 +00:00
![Divy Srivastava](/assets/img/avatar_default.png)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
28 lines
70 KiB
JavaScript
28 lines
70 KiB
JavaScript
// deno-fmt-ignore-file
|
|
/**
|
|
* Bundled by jsDelivr using Rollup v2.75.7 and Terser v5.14.1.
|
|
* Original file: /npm/react-dom@18.2.0/server.browser.js
|
|
*
|
|
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
|
*/
|
|
import e from"react";
|
|
var t={};var n={};
|
|
/**
|
|
* @license React
|
|
* react-dom-server-legacy.browser.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var r=e;function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=Object.prototype.hasOwnProperty,l=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][: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]*$/,u={},i={};function s(e){if(o.call(i,e))return!0;if(o.call(u,e))return!1;if(l.test(e))return i[e]=!0;u[e]=!0;return!1}function c(e,t,n,r,a,o,l){this.acceptsBooleans=2===t||3===t||4===t;this.attributeName=r;this.attributeNamespace=a;this.mustUseProperty=n;this.propertyName=e;this.type=t;this.sanitizeURL=o;this.removeEmptyString=l}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){d[e]=new c(e,0,!1,e,null,!1,!1)}));[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];d[t]=new c(t,1,!1,e[1],null,!1,!1)}));["contentEditable","draggable","spellCheck","value"].forEach((function(e){d[e]=new c(e,2,!1,e.toLowerCase(),null,!1,!1)}));["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){d[e]=new c(e,2,!1,e,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(e){d[e]=new c(e,3,!1,e.toLowerCase(),null,!1,!1)}));["checked","multiple","muted","selected"].forEach((function(e){d[e]=new c(e,3,!0,e,null,!1,!1)}));["capture","download"].forEach((function(e){d[e]=new c(e,4,!1,e,null,!1,!1)}));["cols","rows","size","span"].forEach((function(e){d[e]=new c(e,6,!1,e,null,!1,!1)}));["rowSpan","start"].forEach((function(e){d[e]=new c(e,5,!1,e.toLowerCase(),null,!1,!1)}));var f=/[\-:]([a-z])/g;function p(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(f,p);d[t]=new c(t,1,!1,e,null,!1,!1)}));"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(f,p);d[t]=new c(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}));["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(f,p);d[t]=new c(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}));["tabIndex","crossOrigin"].forEach((function(e){d[e]=new c(e,1,!1,e.toLowerCase(),null,!1,!1)}));d.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach((function(e){d[e]=new c(e,1,!1,e.toLowerCase(),null,!0,!0)}));var h={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},g=["Webkit","ms","Moz","O"];Object.keys(h).forEach((function(e){g.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1);h[t]=h[e]}))}));var m=/["'&<>]/;function b(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=m.exec(e);if(t){var n="",r,a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.substring(a,r));a=r+1;n+=t}e=a!==r?n+e.substring(a,r):n}return e}var y=/([A-Z])/g,v=/^ms-/,S=Array.isArray;function x(e,t){return{insertionMode:e,selectedValue:t}}function k(e,t,n){switch(t){case"select":return x(1,null!=n.value?n.value:n.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<=e.insertionMode||0===e.insertionMode?x(1,null):e}var w=new Map;function C(e,t,n){if("object"!==typeof n)throw Error(a(62));t=!0;for(var r in n)if(o.call(n,r)){var l=n[r];if(null!=l&&"boolean"!==typeof l&&""!==l){if(0===r.indexOf("--")){var u=b(r);l=b((""+l).trim())}else{u=r;var i=w.get(u);void 0!==i?u=i:(i=b(u.replace(y,"-$1").toLowerCase().replace(v,"-ms-")),w.set(u,i),u=i);l="number"===typeof l?0===l||o.call(h,r)?""+l:l+"px":b((""+l).trim())}t?(t=!1,e.push(' style="',u,":",l)):e.push(";",u,":",l)}}t||e.push('"')}function E(e,t,n,r){switch(n){case"style":C(e,t,r);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(t=d.hasOwnProperty(n)?d[n]:null,null!==t){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}n=t.attributeName;switch(t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:!0===r?e.push(" ",n,'=""'):!1!==r&&e.push(" ",n,'="',b(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',b(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',b(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',b(r),'"')}}else if(s(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(t=n.toLowerCase().slice(0,5),"data-"!==t&&"aria-"!==t)return}e.push(" ",n,'="',b(r),'"')}}function F(e,t,n){if(null!=t){if(null!=n)throw Error(a(60));if("object"!==typeof t||!("__html"in t))throw Error(a(61));t=t.__html;null!==t&&void 0!==t&&e.push(""+t)}}function T(e){var t="";r.Children.forEach(e,(function(e){null!=e&&(t+=e)}));return t}function R(e,t,n,r){e.push(I(n));var a=n=null,l;for(l in t)if(o.call(t,l)){var u=t[l];if(null!=u)switch(l){case"children":n=u;break;case"dangerouslySetInnerHTML":a=u;break;default:E(e,r,l,u)}}e.push(">");F(e,a,n);return"string"===typeof n?(e.push(b(n)),null):n}var _=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,P=new Map;function I(e){var t=P.get(e);if(void 0===t){if(!_.test(e))throw Error(a(65,e));t="<"+e;P.set(e,t)}return t}function M(e,t,n,r,l){switch(t){case"select":e.push(I("select"));var u=null,i=null;for(p in n)if(o.call(n,p)){var c=n[p];if(null!=c)switch(p){case"children":u=c;break;case"dangerouslySetInnerHTML":i=c;break;case"defaultValue":case"value":break;default:E(e,r,p,c)}}e.push(">");F(e,i,u);return u;case"option":i=l.selectedValue;e.push(I("option"));var d=c=null,f=null;var p=null;for(u in n)if(o.call(n,u)){var h=n[u];if(null!=h)switch(u){case"children":c=h;break;case"selected":f=h;break;case"dangerouslySetInnerHTML":p=h;break;case"value":d=h;default:E(e,r,u,h)}}if(null!=i)if(n=null!==d?""+d:T(c),S(i))for(r=0;r<i.length;r++){if(""+i[r]===n){e.push(' selected=""');break}}else""+i===n&&e.push(' selected=""');else f&&e.push(' selected=""');e.push(">");F(e,p,c);return c;case"textarea":e.push(I("textarea"));p=i=u=null;for(c in n)if(o.call(n,c)&&(d=n[c],null!=d))switch(c){case"children":p=d;break;case"value":u=d;break;case"defaultValue":i=d;break;case"dangerouslySetInnerHTML":throw Error(a(91));default:E(e,r,c,d)}null===u&&null!==i&&(u=i);e.push(">");if(null!=p){if(null!=u)throw Error(a(92));if(S(p)&&1<p.length)throw Error(a(93));u=""+p}"string"===typeof u&&"\n"===u[0]&&e.push("\n");null!==u&&e.push(b(""+u));return null;case"input":e.push(I("input"));d=p=c=u=null;for(i in n)if(o.call(n,i)&&(f=n[i],null!=f))switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(a(399,"input"));case"defaultChecked":d=f;break;case"defaultValue":c=f;break;case"checked":p=f;break;case"value":u=f;break;default:E(e,r,i,f)}null!==p?E(e,r,"checked",p):null!==d&&E(e,r,"checked",d);null!==u?E(e,r,"value",u):null!==c&&E(e,r,"value",c);e.push("/>");return null;case"menuitem":e.push(I("menuitem"));for(var g in n)if(o.call(n,g)&&(u=n[g],null!=u))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(a(400));default:E(e,r,g,u)}e.push(">");return null;case"title":e.push(I("title"));u=null;for(h in n)if(o.call(n,h)&&(i=n[h],null!=i))switch(h){case"children":u=i;break;case"dangerouslySetInnerHTML":throw Error(a(434));default:E(e,r,h,i)}e.push(">");return u;case"listing":case"pre":e.push(I(t));i=u=null;for(d in n)if(o.call(n,d)&&(c=n[d],null!=c))switch(d){case"children":u=c;break;case"dangerouslySetInnerHTML":i=c;break;default:E(e,r,d,c)}e.push(">");if(null!=i){if(null!=u)throw Error(a(60));if("object"!==typeof i||!("__html"in i))throw Error(a(61));n=i.__html;null!==n&&void 0!==n&&("string"===typeof n&&0<n.length&&"\n"===n[0]?e.push("\n",n):e.push(""+n))}"string"===typeof u&&"\n"===u[0]&&e.push("\n");return u;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(I(t));for(var m in n)if(o.call(n,m)&&(u=n[m],null!=u))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(a(399,t));default:E(e,r,m,u)}e.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 R(e,n,t,r);case"html":return 0===l.insertionMode&&e.push("<!DOCTYPE html>"),R(e,n,t,r);default:if(-1===t.indexOf("-")&&"string"!==typeof n.is)return R(e,n,t,r);e.push(I(t));i=u=null;for(f in n)if(o.call(n,f)&&(c=n[f],null!=c))switch(f){case"children":u=c;break;case"dangerouslySetInnerHTML":i=c;break;case"style":C(e,r,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:s(f)&&"function"!==typeof c&&"symbol"!==typeof c&&e.push(" ",f,'="',b(c),'"')}e.push(">");F(e,i,u);return u}}function B(e,t,n){e.push('\x3c!--$?--\x3e<template id="');if(null===n)throw Error(a(395));e.push(n);return e.push('"></template>')}function D(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(a(397))}}function z(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(a(397))}}var N=/[<\u2028\u2029]/g;function V(e){return JSON.stringify(e).replace(N,(function(e){switch(e){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 $(e,t){t=void 0===t?"":t;return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:t+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function L(e,t,n,r){if(n.generateStaticMarkup)return e.push(b(t)),!1;""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(b(t)),e=!0);return e}var O=Object.assign,A=Symbol.for("react.element"),j=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),W=Symbol.for("react.provider"),Z=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),Q=Symbol.for("react.scope"),ee=Symbol.for("react.debug_trace_mode"),te=Symbol.for("react.legacy_hidden"),ne=Symbol.for("react.default_value"),re=Symbol.iterator;function ae(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case q:return"Fragment";case j:return"Portal";case U:return"Profiler";case H:return"StrictMode";case G:return"Suspense";case J:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case Z:return(e.displayName||"Context")+".Consumer";case W:return(e._context.displayName||"Context")+".Provider";case X:var t=e.render;e=e.displayName;e||(e=t.displayName||t.name||"",e=""!==e?"ForwardRef("+e+")":"ForwardRef");return e;case Y:return t=e.displayName||null,null!==t?t:ae(e.type)||"Memo";case K:t=e._payload;e=e._init;try{return ae(e(t))}catch(e){}}return null}var oe={};function le(e,t){e=e.contextTypes;if(!e)return oe;var n={},r;for(r in e)n[r]=t[r];return n}var ue=null;function ie(e,t){if(e!==t){e.context._currentValue2=e.parentValue;e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(a(401))}else{if(null===n)throw Error(a(401));ie(e,n)}t.context._currentValue2=t.value}}function se(e){e.context._currentValue2=e.parentValue;e=e.parent;null!==e&&se(e)}function ce(e){var t=e.parent;null!==t&&ce(t);e.context._currentValue2=e.value}function de(e,t){e.context._currentValue2=e.parentValue;e=e.parent;if(null===e)throw Error(a(402));e.depth===t.depth?ie(e,t):de(e,t)}function fe(e,t){var n=t.parent;if(null===n)throw Error(a(402));e.depth===n.depth?ie(e,n):fe(e,n);t.context._currentValue2=t.value}function pe(e){var t=ue;t!==e&&(null===t?ce(e):null===e?se(t):t.depth===e.depth?ie(t,e):t.depth>e.depth?de(t,e):fe(t,e),ue=e)}var he={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals;null!==e.queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals;e.replace=!0;e.queue=[t]},enqueueForceUpdate:function(){}};function ge(e,t,n,r){var a=void 0!==e.state?e.state:null;e.updater=he;e.props=n;e.state=a;var o={queue:[],replace:!1};e._reactInternals=o;var l=t.contextType;e.context="object"===typeof l&&null!==l?l._currentValue2:r;l=t.getDerivedStateFromProps;"function"===typeof l&&(l=l(n,a),a=null===l||void 0===l?a:O({},a,l),e.state=a);if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate&&("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount))if(t=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&he.enqueueReplaceState(e,e.state,null),null!==o.queue&&0<o.queue.length)if(t=o.queue,l=o.replace,o.queue=null,o.replace=!1,l&&1===t.length)e.state=t[0];else{o=l?t[0]:e.state;a=!0;for(l=l?1:0;l<t.length;l++){var u=t[l];u="function"===typeof u?u.call(e,o,n,r):u;null!=u&&(a?(a=!1,o=O({},o,u)):O(o,u))}e.state=o}else o.queue=null}var me={id:1,overflow:""};function be(e,t,n){var r=e.id;e=e.overflow;var a=32-ye(r)-1;r&=~(1<<a);n+=1;var o=32-ye(t)+a;if(30<o){var l=a-a%5;o=(r&(1<<l)-1).toString(32);r>>=l;a-=l;return{id:1<<32-ye(t)+a|n<<a|r,overflow:o+e}}return{id:1<<o|n<<a|r,overflow:e}}var ye=Math.clz32?Math.clz32:xe,ve=Math.log,Se=Math.LN2;function xe(e){e>>>=0;return 0===e?32:31-(ve(e)/Se|0)|0}function ke(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var we="function"===typeof Object.is?Object.is:ke,Ce=null,Ee=null,Fe=null,Te=null,Re=!1,_e=!1,Pe=0,Ie=null,Me=0;function Be(){if(null===Ce)throw Error(a(321));return Ce}function De(){if(0<Me)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function ze(){null===Te?null===Fe?(Re=!1,Fe=Te=De()):(Re=!0,Te=Fe):null===Te.next?(Re=!1,Te=Te.next=De()):(Re=!0,Te=Te.next);return Te}function Ne(){Ee=Ce=null;_e=!1;Fe=null;Me=0;Te=Ie=null}function Ve(e,t){return"function"===typeof t?t(e):t}function $e(e,t,n){Ce=Be();Te=ze();if(Re){var r=Te.queue;t=r.dispatch;if(null!==Ie&&(n=Ie.get(r),void 0!==n)){Ie.delete(r);r=Te.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);Te.memoizedState=r;return[r,t]}return[Te.memoizedState,t]}e=e===Ve?"function"===typeof t?t():t:void 0!==n?n(t):t;Te.memoizedState=e;e=Te.queue={last:null,dispatch:null};e=e.dispatch=Oe.bind(null,Ce,e);return[Te.memoizedState,e]}function Le(e,t){Ce=Be();Te=ze();t=void 0===t?null:t;if(null!==Te){var n=Te.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var a=0;a<r.length&&a<t.length;a++)if(!we(t[a],r[a])){r=!1;break e}r=!0}if(r)return n[0]}}e=e();Te.memoizedState=[e,t];return e}function Oe(e,t,n){if(25<=Me)throw Error(a(301));if(e===Ce)if(_e=!0,e={action:n,next:null},null===Ie&&(Ie=new Map),n=Ie.get(t),void 0===n)Ie.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Ae(){throw Error(a(394))}function je(){}var qe={readContext:function(e){return e._currentValue2},useContext:function(e){Be();return e._currentValue2},useMemo:Le,useReducer:$e,useRef:function(e){Ce=Be();Te=ze();var t=Te.memoizedState;return null===t?(e={current:e},Te.memoizedState=e):t},useState:function(e){return $e(Ve,e)},useInsertionEffect:je,useLayoutEffect:function(){},useCallback:function(e,t){return Le((function(){return e}),t)},useImperativeHandle:je,useEffect:je,useDebugValue:je,useDeferredValue:function(e){Be();return e},useTransition:function(){Be();return[!1,Ae]},useId:function(){var e=Ee.treeContext;var t=e.overflow;e=e.id;e=(e&~(1<<32-ye(e)-1)).toString(32)+t;var n=He;if(null===n)throw Error(a(404));t=Pe++;e=":"+n.idPrefix+"R"+e;0<t&&(e+="H"+t.toString(32));return e+":"},useMutableSource:function(e,t){Be();return t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(a(407));return n()}},He=null,Ue=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function We(e){console.error(e);return null}function Ze(){}function Xe(e,t,n,r,a,o,l,u,i){var s=[],c=new Set;t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:s,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===a?We:a,onAllReady:void 0===o?Ze:o,onShellReady:void 0===l?Ze:l,onShellError:void 0===u?Ze:u,onFatalError:void 0===i?Ze:i};n=Je(t,0,null,n,!1,!1);n.parentFlushed=!0;e=Ge(t,e,null,n,c,oe,null,me);s.push(e);return t}function Ge(e,t,n,r,a,o,l,u){e.allPendingTasks++;null===n?e.pendingRootTasks++:n.pendingTasks++;var i={node:t,ping:function(){var t=e.pingedTasks;t.push(i);1===t.length&&ct(e)},blockedBoundary:n,blockedSegment:r,abortSet:a,legacyContext:o,context:l,treeContext:u};a.add(i);return i}function Je(e,t,n,r,a,o){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:a,textEmbedded:o}}function Ye(e,t){e=e.onError(t);if(null!=e&&"string"!==typeof e)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 e+'" instead');return e}function Ke(e,t){var n=e.onShellError;n(t);n=e.onFatalError;n(t);null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Qe(e,t,n,r,a){Ce={};Ee=t;Pe=0;for(e=n(r,a);_e;)_e=!1,Pe=0,Me+=1,Te=null,e=n(r,a);Ne();return e}function et(e,t,n,r){var o=n.render(),l=r.childContextTypes;if(null!==l&&void 0!==l){var u=t.legacyContext;if("function"!==typeof n.getChildContext)r=u;else{n=n.getChildContext();for(var i in n)if(!(i in l))throw Error(a(108,ae(r)||"Unknown",i));r=O({},u,n)}t.legacyContext=r;rt(e,t,o);t.legacyContext=u}else rt(e,t,o)}function tt(e,t){if(e&&e.defaultProps){t=O({},t);e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n]);return t}return t}function nt(e,t,n,r,o){if("function"===typeof n)if(n.prototype&&n.prototype.isReactComponent){o=le(n,t.legacyContext);var l=n.contextType;l=new n(r,"object"===typeof l&&null!==l?l._currentValue2:o);ge(l,n,r,o);et(e,t,l,n)}else{l=le(n,t.legacyContext);o=Qe(e,t,n,r,l);var u=0!==Pe;if("object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof)ge(o,n,r,l),et(e,t,o,n);else if(u){r=t.treeContext;t.treeContext=be(r,1,0);try{rt(e,t,o)}finally{t.treeContext=r}}else rt(e,t,o)}else if("string"===typeof n){o=t.blockedSegment;l=M(o.chunks,n,r,e.responseState,o.formatContext);o.lastPushedText=!1;u=o.formatContext;o.formatContext=k(u,n,r);ot(e,t,l);o.formatContext=u;switch(n){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;default:o.chunks.push("</",n,">")}o.lastPushedText=!1}else{switch(n){case te:case ee:case H:case U:case q:rt(e,t,r.children);return;case J:rt(e,t,r.children);return;case Q:throw Error(a(343));case G:e:{n=t.blockedBoundary;o=t.blockedSegment;l=r.fallback;r=r.children;u=new Set;var i={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u,errorDigest:null},s=Je(e,o.chunks.length,i,o.formatContext,!1,!1);o.children.push(s);o.lastPushedText=!1;var c=Je(e,0,null,o.formatContext,!1,!1);c.parentFlushed=!0;t.blockedBoundary=i;t.blockedSegment=c;try{if(ot(e,t,r),e.responseState.generateStaticMarkup||c.lastPushedText&&c.textEmbedded&&c.chunks.push("\x3c!-- --\x3e"),c.status=1,it(i,c),0===i.pendingTasks)break e}catch(t){c.status=4,i.forceClientRender=!0,i.errorDigest=Ye(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=o}t=Ge(e,l,n,s,u,t.legacyContext,t.context,t.treeContext);e.pingedTasks.push(t)}return}if("object"===typeof n&&null!==n)switch(n.$$typeof){case X:r=Qe(e,t,n.render,r,o);if(0!==Pe){n=t.treeContext;t.treeContext=be(n,1,0);try{rt(e,t,r)}finally{t.treeContext=n}}else rt(e,t,r);return;case Y:n=n.type;r=tt(n,r);nt(e,t,n,r,o);return;case W:o=r.children;n=n._context;r=r.value;l=n._currentValue2;n._currentValue2=r;u=ue;ue=r={parent:u,depth:null===u?0:u.depth+1,context:n,parentValue:l,value:r};t.context=r;rt(e,t,o);e=ue;if(null===e)throw Error(a(403));r=e.parentValue;e.context._currentValue2=r===ne?e.context._defaultValue:r;e=ue=e.parent;t.context=e;return;case Z:r=r.children;r=r(n._currentValue2);rt(e,t,r);return;case K:o=n._init;n=o(n._payload);r=tt(n,r);nt(e,t,n,r,void 0);return}throw Error(a(130,null==n?n:typeof n,""))}}function rt(e,t,n){t.node=n;if("object"===typeof n&&null!==n){switch(n.$$typeof){case A:nt(e,t,n.type,n.props,n.ref);return;case j:throw Error(a(257));case K:var r=n._init;n=r(n._payload);rt(e,t,n);return}if(S(n)){at(e,t,n);return}null===n||"object"!==typeof n?r=null:(r=re&&n[re]||n["@@iterator"],r="function"===typeof r?r:null);if(r&&(r=r.call(n))){n=r.next();if(!n.done){var o=[];do{o.push(n.value),n=r.next()}while(!n.done);at(e,t,o)}return}e=Object.prototype.toString.call(n);throw Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"===typeof n?(r=t.blockedSegment,r.lastPushedText=L(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):"number"===typeof n&&(r=t.blockedSegment,r.lastPushedText=L(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function at(e,t,n){for(var r=n.length,a=0;a<r;a++){var o=t.treeContext;t.treeContext=be(o,r,a);try{ot(e,t,n[a])}finally{t.treeContext=o}}}function ot(e,t,n){var r=t.blockedSegment.formatContext,a=t.legacyContext,o=t.context;try{return rt(e,t,n)}catch(i){if(Ne(),"object"===typeof i&&null!==i&&"function"===typeof i.then){n=i;var l=t.blockedSegment,u=Je(e,l.chunks.length,null,l.formatContext,l.lastPushedText,!0);l.children.push(u);l.lastPushedText=!1;e=Ge(e,t.node,t.blockedBoundary,u,t.abortSet,t.legacyContext,t.context,t.treeContext).ping;n.then(e,e);t.blockedSegment.formatContext=r;t.legacyContext=a;t.context=o;pe(o)}else throw t.blockedSegment.formatContext=r,t.legacyContext=a,t.context=o,pe(o),i}}function lt(e){var t=e.blockedBoundary;e=e.blockedSegment;e.status=3;st(this,t,e)}function ut(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3;null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(a(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return ut(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady,r()))}function it(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id;n.parentFlushed=!0;1===n.status&&it(e,n)}else e.completedSegments.push(t)}function st(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(a(389));e.completedRootSegment=n}e.pendingRootTasks--;0===e.pendingRootTasks&&(e.onShellError=Ze,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&it(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(lt,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(it(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--;0===e.allPendingTasks&&(e=e.onAllReady,e())}function ct(e){if(2!==e.status){var t=ue,n=Ue.current;Ue.current=qe;var r=He;He=e.responseState;try{var a=e.pingedTasks,o;for(o=0;o<a.length;o++){var l=a[o];var u=e,i=l.blockedSegment;if(0===i.status){pe(l.context);try{rt(u,l,l.node),u.responseState.generateStaticMarkup||i.lastPushedText&&i.textEmbedded&&i.chunks.push("\x3c!-- --\x3e"),l.abortSet.delete(l),i.status=1,st(u,l.blockedBoundary,i)}catch(e){if(Ne(),"object"===typeof e&&null!==e&&"function"===typeof e.then){var s=l.ping;e.then(s,s)}else{l.abortSet.delete(l);i.status=4;var c=l.blockedBoundary,d=e,f=Ye(u,d);null===c?Ke(u,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=f,c.parentFlushed&&u.clientRenderedBoundaries.push(c)));u.allPendingTasks--;if(0===u.allPendingTasks){var p=u.onAllReady;p()}}}finally{}}}a.splice(0,o);null!==e.destination&&mt(e,e.destination)}catch(t){Ye(e,t),Ke(e,t)}finally{He=r,Ue.current=n,n===qe&&pe(t)}}}function dt(e,t,n){n.parentFlushed=!0;switch(n.status){case 0:var r=n.id=e.nextSegmentId++;n.lastPushedText=!1;n.textEmbedded=!1;e=e.responseState;t.push('<template id="');t.push(e.placeholderPrefix);e=r.toString(16);t.push(e);return t.push('"></template>');case 1:n.status=2;var o=!0;r=n.chunks;var l=0;n=n.children;for(var u=0;u<n.length;u++){for(o=n[u];l<o.index;l++)t.push(r[l]);o=ft(e,t,o)}for(;l<r.length-1;l++)t.push(r[l]);l<r.length&&(o=t.push(r[l]));return o;default:throw Error(a(390))}}function ft(e,t,n){var r=n.boundary;if(null===r)return dt(e,t,n);r.parentFlushed=!0;if(r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),r&&(t.push(' data-dgst="'),r=b(r),t.push(r),t.push('"')),t.push("></template>")),dt(e,t,n),e=e.responseState.generateStaticMarkup?!0:t.push("\x3c!--/$--\x3e"),e;if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++;0<r.completedSegments.length&&e.partialBoundaries.push(r);var o=e.responseState;var l=o.nextSuspenseID++;o=o.boundaryPrefix+l.toString(16);r=r.id=o;B(t,e.responseState,r);dt(e,t,n);return t.push("\x3c!--/$--\x3e")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),B(t,e.responseState,r.id),dt(e,t,n),t.push("\x3c!--/$--\x3e");e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e");n=r.completedSegments;if(1!==n.length)throw Error(a(391));ft(e,t,n[0]);e=e.responseState.generateStaticMarkup?!0:t.push("\x3c!--/$--\x3e");return e}function pt(e,t,n){D(t,e.responseState,n.formatContext,n.id);ft(e,t,n);return z(t,n.formatContext)}function ht(e,t,n){for(var r=n.completedSegments,o=0;o<r.length;o++)gt(e,t,n,r[o]);r.length=0;e=e.responseState;r=n.id;n=n.rootSegmentID;t.push(e.startInlineScript);e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.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===r)throw Error(a(395));n=n.toString(16);t.push(r);t.push('","');t.push(e.segmentPrefix);t.push(n);return t.push('")<\/script>')}function gt(e,t,n,r){if(2===r.status)return!0;var o=r.id;if(-1===o){if(-1===(r.id=n.rootSegmentID))throw Error(a(392));return pt(e,t,r)}pt(e,t,r);e=e.responseState;t.push(e.startInlineScript);e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.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("'));t.push(e.segmentPrefix);o=o.toString(16);t.push(o);t.push('","');t.push(e.placeholderPrefix);t.push(o);return t.push('")<\/script>')}function mt(e,t){try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){ft(e,t,n);e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var o=e.clientRenderedBoundaries,l;for(l=0;l<o.length;l++){var u=o[l];r=t;var i=e.responseState,s=u.id,c=u.errorDigest,d=u.errorMessage,f=u.errorComponentStack;r.push(i.startInlineScript);i.sentClientRenderFunction?r.push('$RX("'):(i.sentClientRenderFunction=!0,r.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===s)throw Error(a(395));r.push(s);r.push('"');if(c||d||f){r.push(",");var p=V(c||"");r.push(p)}if(d||f){r.push(",");var h=V(d||"");r.push(h)}if(f){r.push(",");var g=V(f);r.push(g)}if(!r.push(")<\/script>")){e.destination=null;l++;o.splice(0,l);return}}o.splice(0,l);var m=e.completedBoundaries;for(l=0;l<m.length;l++)if(!ht(e,t,m[l])){e.destination=null;l++;m.splice(0,l);return}m.splice(0,l);var b=e.partialBoundaries;for(l=0;l<b.length;l++){var y=b[l];e:{o=e;u=t;var v=y.completedSegments;for(i=0;i<v.length;i++)if(!gt(o,u,y,v[i])){i++;v.splice(0,i);var S=!1;break e}v.splice(0,i);S=!0}if(!S){e.destination=null;l++;b.splice(0,l);return}}b.splice(0,l);var x=e.completedBoundaries;for(l=0;l<x.length;l++)if(!ht(e,t,x[l])){e.destination=null;l++;x.splice(0,l);return}x.splice(0,l)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function bt(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return ut(n,e,t)}));n.clear();null!==e.destination&&mt(e,e.destination)}catch(t){Ye(e,t),Ke(e,t)}}function yt(){}function vt(e,t,n,r){var o=!1,l=null,u="",i={push:function(e){null!==e&&(u+=e);return!0},destroy:function(e){o=!0;l=e}},s=!1;e=Xe(e,$(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},Infinity,yt,void 0,(function(){s=!0}),void 0,void 0);ct(e);bt(e,r);if(1===e.status)e.status=2,i.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=i;try{mt(e,i)}catch(t){Ye(e,t),Ke(e,t)}}if(o)throw l;if(!s)throw Error(a(426));return u}n.renderToNodeStream=function(){throw Error(a(207))};n.renderToStaticMarkup=function(e,t){return vt(e,t,!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 "renderToReadableStream" which supports Suspense on the server')};n.renderToStaticNodeStream=function(){throw Error(a(208))};n.renderToString=function(e,t){return vt(e,t,!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 "renderToReadableStream" which supports Suspense on the server')};n.version="18.2.0";var St={};
|
|
/**
|
|
* @license React
|
|
* react-dom-server.browser.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var xt=e;function kt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var wt=null,Ct=0;function Et(e,t){if(0!==t.length)if(512<t.length)0<Ct&&(e.enqueue(new Uint8Array(wt.buffer,0,Ct)),wt=new Uint8Array(512),Ct=0),e.enqueue(t);else{var n=wt.length-Ct;n<t.length&&(0===n?e.enqueue(wt):(wt.set(t.subarray(0,n),Ct),e.enqueue(wt),t=t.subarray(n)),wt=new Uint8Array(512),Ct=0);wt.set(t,Ct);Ct+=t.length}}function Ft(e,t){Et(e,t);return!0}function Tt(e){wt&&0<Ct&&(e.enqueue(new Uint8Array(wt.buffer,0,Ct)),wt=null,Ct=0)}var Rt=new TextEncoder;function _t(e){return Rt.encode(e)}function Pt(e){return Rt.encode(e)}function It(e,t){"function"===typeof e.error?e.error(t):e.close()}var Mt=Object.prototype.hasOwnProperty,Bt=/^[: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]*$/,Dt={},zt={};function Nt(e){if(Mt.call(zt,e))return!0;if(Mt.call(Dt,e))return!1;if(Bt.test(e))return zt[e]=!0;Dt[e]=!0;return!1}function Vt(e,t,n,r,a,o,l){this.acceptsBooleans=2===t||3===t||4===t;this.attributeName=r;this.attributeNamespace=a;this.mustUseProperty=n;this.propertyName=e;this.type=t;this.sanitizeURL=o;this.removeEmptyString=l}var $t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){$t[e]=new Vt(e,0,!1,e,null,!1,!1)}));[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];$t[t]=new Vt(t,1,!1,e[1],null,!1,!1)}));["contentEditable","draggable","spellCheck","value"].forEach((function(e){$t[e]=new Vt(e,2,!1,e.toLowerCase(),null,!1,!1)}));["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){$t[e]=new Vt(e,2,!1,e,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(e){$t[e]=new Vt(e,3,!1,e.toLowerCase(),null,!1,!1)}));["checked","multiple","muted","selected"].forEach((function(e){$t[e]=new Vt(e,3,!0,e,null,!1,!1)}));["capture","download"].forEach((function(e){$t[e]=new Vt(e,4,!1,e,null,!1,!1)}));["cols","rows","size","span"].forEach((function(e){$t[e]=new Vt(e,6,!1,e,null,!1,!1)}));["rowSpan","start"].forEach((function(e){$t[e]=new Vt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Lt=/[\-:]([a-z])/g;function Ot(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Lt,Ot);$t[t]=new Vt(t,1,!1,e,null,!1,!1)}));"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Lt,Ot);$t[t]=new Vt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}));["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Lt,Ot);$t[t]=new Vt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}));["tabIndex","crossOrigin"].forEach((function(e){$t[e]=new Vt(e,1,!1,e.toLowerCase(),null,!1,!1)}));$t.xlinkHref=new Vt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach((function(e){$t[e]=new Vt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var At={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},jt=["Webkit","ms","Moz","O"];Object.keys(At).forEach((function(e){jt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1);At[t]=At[e]}))}));var qt=/["'&<>]/;function Ht(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=qt.exec(e);if(t){var n="",r,a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.substring(a,r));a=r+1;n+=t}e=a!==r?n+e.substring(a,r):n}return e}var Ut=/([A-Z])/g,Wt=/^ms-/,Zt=Array.isArray,Xt=Pt("<script>"),Gt=Pt("<\/script>"),Jt=Pt('<script src="'),Yt=Pt('<script type="module" src="'),Kt=Pt('" async=""><\/script>'),Qt=/(<\/|<)(s)(cript)/gi;function en(e,t,n,r){return""+t+("s"===n?"\\u0073":"\\u0053")+r}function tn(e,t,n,r,a){e=void 0===e?"":e;t=void 0===t?Xt:Pt('<script nonce="'+Ht(t)+'">');var o=[];void 0!==n&&o.push(t,_t((""+n).replace(Qt,en)),Gt);if(void 0!==r)for(n=0;n<r.length;n++)o.push(Jt,_t(Ht(r[n])),Kt);if(void 0!==a)for(r=0;r<a.length;r++)o.push(Yt,_t(Ht(a[r])),Kt);return{bootstrapChunks:o,startInlineScript:t,placeholderPrefix:Pt(e+"P:"),segmentPrefix:Pt(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function nn(e,t){return{insertionMode:e,selectedValue:t}}function rn(e){return nn("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}function an(e,t,n){switch(t){case"select":return nn(1,null!=n.value?n.value:n.defaultValue);case"svg":return nn(2,null);case"math":return nn(3,null);case"foreignObject":return nn(1,null);case"table":return nn(4,null);case"thead":case"tbody":case"tfoot":return nn(5,null);case"colgroup":return nn(7,null);case"tr":return nn(6,null)}return 4<=e.insertionMode||0===e.insertionMode?nn(1,null):e}var on=Pt("\x3c!-- --\x3e");function ln(e,t,n,r){if(""===t)return r;r&&e.push(on);e.push(_t(Ht(t)));return!0}var un=new Map,sn=Pt(' style="'),cn=Pt(":"),dn=Pt(";");function fn(e,t,n){if("object"!==typeof n)throw Error(kt(62));t=!0;for(var r in n)if(Mt.call(n,r)){var a=n[r];if(null!=a&&"boolean"!==typeof a&&""!==a){if(0===r.indexOf("--")){var o=_t(Ht(r));a=_t(Ht((""+a).trim()))}else{o=r;var l=un.get(o);void 0!==l?o=l:(l=Pt(Ht(o.replace(Ut,"-$1").toLowerCase().replace(Wt,"-ms-"))),un.set(o,l),o=l);a="number"===typeof a?0===a||Mt.call(At,r)?_t(""+a):_t(a+"px"):_t(Ht((""+a).trim()))}t?(t=!1,e.push(sn,o,cn,a)):e.push(dn,o,cn,a)}}t||e.push(gn)}var pn=Pt(" "),hn=Pt('="'),gn=Pt('"'),mn=Pt('=""');function bn(e,t,n,r){switch(n){case"style":fn(e,t,r);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(t=$t.hasOwnProperty(n)?$t[n]:null,null!==t){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}n=_t(t.attributeName);switch(t.type){case 3:r&&e.push(pn,n,mn);break;case 4:!0===r?e.push(pn,n,mn):!1!==r&&e.push(pn,n,hn,_t(Ht(r)),gn);break;case 5:isNaN(r)||e.push(pn,n,hn,_t(Ht(r)),gn);break;case 6:!isNaN(r)&&1<=r&&e.push(pn,n,hn,_t(Ht(r)),gn);break;default:t.sanitizeURL&&(r=""+r),e.push(pn,n,hn,_t(Ht(r)),gn)}}else if(Nt(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(t=n.toLowerCase().slice(0,5),"data-"!==t&&"aria-"!==t)return}e.push(pn,_t(n),hn,_t(Ht(r)),gn)}}var yn=Pt(">"),vn=Pt("/>");function Sn(e,t,n){if(null!=t){if(null!=n)throw Error(kt(60));if("object"!==typeof t||!("__html"in t))throw Error(kt(61));t=t.__html;null!==t&&void 0!==t&&e.push(_t(""+t))}}function xn(e){var t="";xt.Children.forEach(e,(function(e){null!=e&&(t+=e)}));return t}var kn=Pt(' selected=""');function wn(e,t,n,r){e.push(Tn(n));var a=n=null,o;for(o in t)if(Mt.call(t,o)){var l=t[o];if(null!=l)switch(o){case"children":n=l;break;case"dangerouslySetInnerHTML":a=l;break;default:bn(e,r,o,l)}}e.push(yn);Sn(e,a,n);return"string"===typeof n?(e.push(_t(Ht(n))),null):n}var Cn=Pt("\n"),En=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Fn=new Map;function Tn(e){var t=Fn.get(e);if(void 0===t){if(!En.test(e))throw Error(kt(65,e));t=Pt("<"+e);Fn.set(e,t)}return t}var Rn=Pt("<!DOCTYPE html>");function _n(e,t,n,r,a){switch(t){case"select":e.push(Tn("select"));var o=null,l=null;for(c in n)if(Mt.call(n,c)){var u=n[c];if(null!=u)switch(c){case"children":o=u;break;case"dangerouslySetInnerHTML":l=u;break;case"defaultValue":case"value":break;default:bn(e,r,c,u)}}e.push(yn);Sn(e,l,o);return o;case"option":l=a.selectedValue;e.push(Tn("option"));var i=u=null,s=null;var c=null;for(o in n)if(Mt.call(n,o)){var d=n[o];if(null!=d)switch(o){case"children":u=d;break;case"selected":s=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":i=d;default:bn(e,r,o,d)}}if(null!=l)if(n=null!==i?""+i:xn(u),Zt(l))for(r=0;r<l.length;r++){if(""+l[r]===n){e.push(kn);break}}else""+l===n&&e.push(kn);else s&&e.push(kn);e.push(yn);Sn(e,c,u);return u;case"textarea":e.push(Tn("textarea"));c=l=o=null;for(u in n)if(Mt.call(n,u)&&(i=n[u],null!=i))switch(u){case"children":c=i;break;case"value":o=i;break;case"defaultValue":l=i;break;case"dangerouslySetInnerHTML":throw Error(kt(91));default:bn(e,r,u,i)}null===o&&null!==l&&(o=l);e.push(yn);if(null!=c){if(null!=o)throw Error(kt(92));if(Zt(c)&&1<c.length)throw Error(kt(93));o=""+c}"string"===typeof o&&"\n"===o[0]&&e.push(Cn);null!==o&&e.push(_t(Ht(""+o)));return null;case"input":e.push(Tn("input"));i=c=u=o=null;for(l in n)if(Mt.call(n,l)&&(s=n[l],null!=s))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(kt(399,"input"));case"defaultChecked":i=s;break;case"defaultValue":u=s;break;case"checked":c=s;break;case"value":o=s;break;default:bn(e,r,l,s)}null!==c?bn(e,r,"checked",c):null!==i&&bn(e,r,"checked",i);null!==o?bn(e,r,"value",o):null!==u&&bn(e,r,"value",u);e.push(vn);return null;case"menuitem":e.push(Tn("menuitem"));for(var f in n)if(Mt.call(n,f)&&(o=n[f],null!=o))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(kt(400));default:bn(e,r,f,o)}e.push(yn);return null;case"title":e.push(Tn("title"));o=null;for(d in n)if(Mt.call(n,d)&&(l=n[d],null!=l))switch(d){case"children":o=l;break;case"dangerouslySetInnerHTML":throw Error(kt(434));default:bn(e,r,d,l)}e.push(yn);return o;case"listing":case"pre":e.push(Tn(t));l=o=null;for(i in n)if(Mt.call(n,i)&&(u=n[i],null!=u))switch(i){case"children":o=u;break;case"dangerouslySetInnerHTML":l=u;break;default:bn(e,r,i,u)}e.push(yn);if(null!=l){if(null!=o)throw Error(kt(60));if("object"!==typeof l||!("__html"in l))throw Error(kt(61));n=l.__html;null!==n&&void 0!==n&&("string"===typeof n&&0<n.length&&"\n"===n[0]?e.push(Cn,_t(n)):e.push(_t(""+n)))}"string"===typeof o&&"\n"===o[0]&&e.push(Cn);return o;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(Tn(t));for(var p in n)if(Mt.call(n,p)&&(o=n[p],null!=o))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(kt(399,t));default:bn(e,r,p,o)}e.push(vn);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 wn(e,n,t,r);case"html":return 0===a.insertionMode&&e.push(Rn),wn(e,n,t,r);default:if(-1===t.indexOf("-")&&"string"!==typeof n.is)return wn(e,n,t,r);e.push(Tn(t));l=o=null;for(s in n)if(Mt.call(n,s)&&(u=n[s],null!=u))switch(s){case"children":o=u;break;case"dangerouslySetInnerHTML":l=u;break;case"style":fn(e,r,u);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Nt(s)&&"function"!==typeof u&&"symbol"!==typeof u&&e.push(pn,_t(s),hn,_t(Ht(u)),gn)}e.push(yn);Sn(e,l,o);return o}}var Pn=Pt("</"),In=Pt(">"),Mn=Pt('<template id="'),Bn=Pt('"></template>'),Dn=Pt("\x3c!--$--\x3e"),zn=Pt('\x3c!--$?--\x3e<template id="'),Nn=Pt('"></template>'),Vn=Pt("\x3c!--$!--\x3e"),$n=Pt("\x3c!--/$--\x3e"),Ln=Pt("<template"),On=Pt('"'),An=Pt(' data-dgst="');Pt(' data-msg="');Pt(' data-stck="');var jn=Pt("></template>");function qn(e,t,n){Et(e,zn);if(null===n)throw Error(kt(395));Et(e,n);return Ft(e,Nn)}var Hn=Pt('<div hidden id="'),Un=Pt('">'),Wn=Pt("</div>"),Zn=Pt('<svg aria-hidden="true" style="display:none" id="'),Xn=Pt('">'),Gn=Pt("</svg>"),Jn=Pt('<math aria-hidden="true" style="display:none" id="'),Yn=Pt('">'),Kn=Pt("</math>"),Qn=Pt('<table hidden id="'),er=Pt('">'),tr=Pt("</table>"),nr=Pt('<table hidden><tbody id="'),rr=Pt('">'),ar=Pt("</tbody></table>"),or=Pt('<table hidden><tr id="'),lr=Pt('">'),ur=Pt("</tr></table>"),ir=Pt('<table hidden><colgroup id="'),sr=Pt('">'),cr=Pt("</colgroup></table>");function dr(e,t,n,r){switch(n.insertionMode){case 0:case 1:return Et(e,Hn),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,Un);case 2:return Et(e,Zn),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,Xn);case 3:return Et(e,Jn),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,Yn);case 4:return Et(e,Qn),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,er);case 5:return Et(e,nr),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,rr);case 6:return Et(e,or),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,lr);case 7:return Et(e,ir),Et(e,t.segmentPrefix),Et(e,_t(r.toString(16))),Ft(e,sr);default:throw Error(kt(397))}}function fr(e,t){switch(t.insertionMode){case 0:case 1:return Ft(e,Wn);case 2:return Ft(e,Gn);case 3:return Ft(e,Kn);case 4:return Ft(e,tr);case 5:return Ft(e,ar);case 6:return Ft(e,ur);case 7:return Ft(e,cr);default:throw Error(kt(397))}}var pr=Pt('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("'),hr=Pt('$RS("'),gr=Pt('","'),mr=Pt('")<\/script>'),br=Pt('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("'),yr=Pt('$RC("'),vr=Pt('","'),Sr=Pt('")<\/script>'),xr=Pt('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("'),kr=Pt('$RX("'),wr=Pt('"'),Cr=Pt(")<\/script>"),Er=Pt(","),Fr=/[<\u2028\u2029]/g;function Tr(e){return JSON.stringify(e).replace(Fr,(function(e){switch(e){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 Rr=Object.assign,_r=Symbol.for("react.element"),Pr=Symbol.for("react.portal"),Ir=Symbol.for("react.fragment"),Mr=Symbol.for("react.strict_mode"),Br=Symbol.for("react.profiler"),Dr=Symbol.for("react.provider"),zr=Symbol.for("react.context"),Nr=Symbol.for("react.forward_ref"),Vr=Symbol.for("react.suspense"),$r=Symbol.for("react.suspense_list"),Lr=Symbol.for("react.memo"),Or=Symbol.for("react.lazy"),Ar=Symbol.for("react.scope"),jr=Symbol.for("react.debug_trace_mode"),qr=Symbol.for("react.legacy_hidden"),Hr=Symbol.for("react.default_value"),Ur=Symbol.iterator;function Wr(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case Ir:return"Fragment";case Pr:return"Portal";case Br:return"Profiler";case Mr:return"StrictMode";case Vr:return"Suspense";case $r:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case zr:return(e.displayName||"Context")+".Consumer";case Dr:return(e._context.displayName||"Context")+".Provider";case Nr:var t=e.render;e=e.displayName;e||(e=t.displayName||t.name||"",e=""!==e?"ForwardRef("+e+")":"ForwardRef");return e;case Lr:return t=e.displayName||null,null!==t?t:Wr(e.type)||"Memo";case Or:t=e._payload;e=e._init;try{return Wr(e(t))}catch(e){}}return null}var Zr={};function Xr(e,t){e=e.contextTypes;if(!e)return Zr;var n={},r;for(r in e)n[r]=t[r];return n}var Gr=null;function Jr(e,t){if(e!==t){e.context._currentValue=e.parentValue;e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(kt(401))}else{if(null===n)throw Error(kt(401));Jr(e,n)}t.context._currentValue=t.value}}function Yr(e){e.context._currentValue=e.parentValue;e=e.parent;null!==e&&Yr(e)}function Kr(e){var t=e.parent;null!==t&&Kr(t);e.context._currentValue=e.value}function Qr(e,t){e.context._currentValue=e.parentValue;e=e.parent;if(null===e)throw Error(kt(402));e.depth===t.depth?Jr(e,t):Qr(e,t)}function ea(e,t){var n=t.parent;if(null===n)throw Error(kt(402));e.depth===n.depth?Jr(e,n):ea(e,n);t.context._currentValue=t.value}function ta(e){var t=Gr;t!==e&&(null===t?Kr(e):null===e?Yr(t):t.depth===e.depth?Jr(t,e):t.depth>e.depth?Qr(t,e):ea(t,e),Gr=e)}var na={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals;null!==e.queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals;e.replace=!0;e.queue=[t]},enqueueForceUpdate:function(){}};function ra(e,t,n,r){var a=void 0!==e.state?e.state:null;e.updater=na;e.props=n;e.state=a;var o={queue:[],replace:!1};e._reactInternals=o;var l=t.contextType;e.context="object"===typeof l&&null!==l?l._currentValue:r;l=t.getDerivedStateFromProps;"function"===typeof l&&(l=l(n,a),a=null===l||void 0===l?a:Rr({},a,l),e.state=a);if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate&&("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount))if(t=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&na.enqueueReplaceState(e,e.state,null),null!==o.queue&&0<o.queue.length)if(t=o.queue,l=o.replace,o.queue=null,o.replace=!1,l&&1===t.length)e.state=t[0];else{o=l?t[0]:e.state;a=!0;for(l=l?1:0;l<t.length;l++){var u=t[l];u="function"===typeof u?u.call(e,o,n,r):u;null!=u&&(a?(a=!1,o=Rr({},o,u)):Rr(o,u))}e.state=o}else o.queue=null}var aa={id:1,overflow:""};function oa(e,t,n){var r=e.id;e=e.overflow;var a=32-la(r)-1;r&=~(1<<a);n+=1;var o=32-la(t)+a;if(30<o){var l=a-a%5;o=(r&(1<<l)-1).toString(32);r>>=l;a-=l;return{id:1<<32-la(t)+a|n<<a|r,overflow:o+e}}return{id:1<<o|n<<a|r,overflow:e}}var la=Math.clz32?Math.clz32:sa,ua=Math.log,ia=Math.LN2;function sa(e){e>>>=0;return 0===e?32:31-(ua(e)/ia|0)|0}function ca(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var da="function"===typeof Object.is?Object.is:ca,fa=null,pa=null,ha=null,ga=null,ma=!1,ba=!1,ya=0,va=null,Sa=0;function xa(){if(null===fa)throw Error(kt(321));return fa}function ka(){if(0<Sa)throw Error(kt(312));return{memoizedState:null,queue:null,next:null}}function wa(){null===ga?null===ha?(ma=!1,ha=ga=ka()):(ma=!0,ga=ha):null===ga.next?(ma=!1,ga=ga.next=ka()):(ma=!0,ga=ga.next);return ga}function Ca(){pa=fa=null;ba=!1;ha=null;Sa=0;ga=va=null}function Ea(e,t){return"function"===typeof t?t(e):t}function Fa(e,t,n){fa=xa();ga=wa();if(ma){var r=ga.queue;t=r.dispatch;if(null!==va&&(n=va.get(r),void 0!==n)){va.delete(r);r=ga.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);ga.memoizedState=r;return[r,t]}return[ga.memoizedState,t]}e=e===Ea?"function"===typeof t?t():t:void 0!==n?n(t):t;ga.memoizedState=e;e=ga.queue={last:null,dispatch:null};e=e.dispatch=Ra.bind(null,fa,e);return[ga.memoizedState,e]}function Ta(e,t){fa=xa();ga=wa();t=void 0===t?null:t;if(null!==ga){var n=ga.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var a=0;a<r.length&&a<t.length;a++)if(!da(t[a],r[a])){r=!1;break e}r=!0}if(r)return n[0]}}e=e();ga.memoizedState=[e,t];return e}function Ra(e,t,n){if(25<=Sa)throw Error(kt(301));if(e===fa)if(ba=!0,e={action:n,next:null},null===va&&(va=new Map),n=va.get(t),void 0===n)va.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function _a(){throw Error(kt(394))}function Pa(){}var Ia={readContext:function(e){return e._currentValue},useContext:function(e){xa();return e._currentValue},useMemo:Ta,useReducer:Fa,useRef:function(e){fa=xa();ga=wa();var t=ga.memoizedState;return null===t?(e={current:e},ga.memoizedState=e):t},useState:function(e){return Fa(Ea,e)},useInsertionEffect:Pa,useLayoutEffect:function(){},useCallback:function(e,t){return Ta((function(){return e}),t)},useImperativeHandle:Pa,useEffect:Pa,useDebugValue:Pa,useDeferredValue:function(e){xa();return e},useTransition:function(){xa();return[!1,_a]},useId:function(){var e=pa.treeContext;var t=e.overflow;e=e.id;e=(e&~(1<<32-la(e)-1)).toString(32)+t;var n=Ma;if(null===n)throw Error(kt(404));t=ya++;e=":"+n.idPrefix+"R"+e;0<t&&(e+="H"+t.toString(32));return e+":"},useMutableSource:function(e,t){xa();return t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(kt(407));return n()}},Ma=null,Ba=xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Da(e){console.error(e);return null}function za(){}function Na(e,t,n,r,a,o,l,u,i){var s=[],c=new Set;t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:s,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===a?Da:a,onAllReady:void 0===o?za:o,onShellReady:void 0===l?za:l,onShellError:void 0===u?za:u,onFatalError:void 0===i?za:i};n=$a(t,0,null,n,!1,!1);n.parentFlushed=!0;e=Va(t,e,null,n,c,Zr,null,aa);s.push(e);return t}function Va(e,t,n,r,a,o,l,u){e.allPendingTasks++;null===n?e.pendingRootTasks++:n.pendingTasks++;var i={node:t,ping:function(){var t=e.pingedTasks;t.push(i);1===t.length&&Ka(e)},blockedBoundary:n,blockedSegment:r,abortSet:a,legacyContext:o,context:l,treeContext:u};a.add(i);return i}function $a(e,t,n,r,a,o){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:a,textEmbedded:o}}function La(e,t){e=e.onError(t);if(null!=e&&"string"!==typeof e)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 e+'" instead');return e}function Oa(e,t){var n=e.onShellError;n(t);n=e.onFatalError;n(t);null!==e.destination?(e.status=2,It(e.destination,t)):(e.status=1,e.fatalError=t)}function Aa(e,t,n,r,a){fa={};pa=t;ya=0;for(e=n(r,a);ba;)ba=!1,ya=0,Sa+=1,ga=null,e=n(r,a);Ca();return e}function ja(e,t,n,r){var a=n.render(),o=r.childContextTypes;if(null!==o&&void 0!==o){var l=t.legacyContext;if("function"!==typeof n.getChildContext)r=l;else{n=n.getChildContext();for(var u in n)if(!(u in o))throw Error(kt(108,Wr(r)||"Unknown",u));r=Rr({},l,n)}t.legacyContext=r;Ua(e,t,a);t.legacyContext=l}else Ua(e,t,a)}function qa(e,t){if(e&&e.defaultProps){t=Rr({},t);e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Ha(e,t,n,r,a){if("function"===typeof n)if(n.prototype&&n.prototype.isReactComponent){a=Xr(n,t.legacyContext);var o=n.contextType;o=new n(r,"object"===typeof o&&null!==o?o._currentValue:a);ra(o,n,r,a);ja(e,t,o,n)}else{o=Xr(n,t.legacyContext);a=Aa(e,t,n,r,o);var l=0!==ya;if("object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof)ra(a,n,r,o),ja(e,t,a,n);else if(l){r=t.treeContext;t.treeContext=oa(r,1,0);try{Ua(e,t,a)}finally{t.treeContext=r}}else Ua(e,t,a)}else if("string"===typeof n){a=t.blockedSegment;o=_n(a.chunks,n,r,e.responseState,a.formatContext);a.lastPushedText=!1;l=a.formatContext;a.formatContext=an(l,n,r);Za(e,t,o);a.formatContext=l;switch(n){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;default:a.chunks.push(Pn,_t(n),In)}a.lastPushedText=!1}else{switch(n){case qr:case jr:case Mr:case Br:case Ir:Ua(e,t,r.children);return;case $r:Ua(e,t,r.children);return;case Ar:throw Error(kt(343));case Vr:e:{n=t.blockedBoundary;a=t.blockedSegment;o=r.fallback;r=r.children;l=new Set;var u={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null},i=$a(e,a.chunks.length,u,a.formatContext,!1,!1);a.children.push(i);a.lastPushedText=!1;var s=$a(e,0,null,a.formatContext,!1,!1);s.parentFlushed=!0;t.blockedBoundary=u;t.blockedSegment=s;try{if(Za(e,t,r),s.lastPushedText&&s.textEmbedded&&s.chunks.push(on),s.status=1,Ja(u,s),0===u.pendingTasks)break e}catch(t){s.status=4,u.forceClientRender=!0,u.errorDigest=La(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=a}t=Va(e,o,n,i,l,t.legacyContext,t.context,t.treeContext);e.pingedTasks.push(t)}return}if("object"===typeof n&&null!==n)switch(n.$$typeof){case Nr:r=Aa(e,t,n.render,r,a);if(0!==ya){n=t.treeContext;t.treeContext=oa(n,1,0);try{Ua(e,t,r)}finally{t.treeContext=n}}else Ua(e,t,r);return;case Lr:n=n.type;r=qa(n,r);Ha(e,t,n,r,a);return;case Dr:a=r.children;n=n._context;r=r.value;o=n._currentValue;n._currentValue=r;l=Gr;Gr=r={parent:l,depth:null===l?0:l.depth+1,context:n,parentValue:o,value:r};t.context=r;Ua(e,t,a);e=Gr;if(null===e)throw Error(kt(403));r=e.parentValue;e.context._currentValue=r===Hr?e.context._defaultValue:r;e=Gr=e.parent;t.context=e;return;case zr:r=r.children;r=r(n._currentValue);Ua(e,t,r);return;case Or:a=n._init;n=a(n._payload);r=qa(n,r);Ha(e,t,n,r,void 0);return}throw Error(kt(130,null==n?n:typeof n,""))}}function Ua(e,t,n){t.node=n;if("object"===typeof n&&null!==n){switch(n.$$typeof){case _r:Ha(e,t,n.type,n.props,n.ref);return;case Pr:throw Error(kt(257));case Or:var r=n._init;n=r(n._payload);Ua(e,t,n);return}if(Zt(n)){Wa(e,t,n);return}null===n||"object"!==typeof n?r=null:(r=Ur&&n[Ur]||n["@@iterator"],r="function"===typeof r?r:null);if(r&&(r=r.call(n))){n=r.next();if(!n.done){var a=[];do{a.push(n.value),n=r.next()}while(!n.done);Wa(e,t,a)}return}e=Object.prototype.toString.call(n);throw Error(kt(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"===typeof n?(r=t.blockedSegment,r.lastPushedText=ln(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):"number"===typeof n&&(r=t.blockedSegment,r.lastPushedText=ln(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function Wa(e,t,n){for(var r=n.length,a=0;a<r;a++){var o=t.treeContext;t.treeContext=oa(o,r,a);try{Za(e,t,n[a])}finally{t.treeContext=o}}}function Za(e,t,n){var r=t.blockedSegment.formatContext,a=t.legacyContext,o=t.context;try{return Ua(e,t,n)}catch(i){if(Ca(),"object"===typeof i&&null!==i&&"function"===typeof i.then){n=i;var l=t.blockedSegment,u=$a(e,l.chunks.length,null,l.formatContext,l.lastPushedText,!0);l.children.push(u);l.lastPushedText=!1;e=Va(e,t.node,t.blockedBoundary,u,t.abortSet,t.legacyContext,t.context,t.treeContext).ping;n.then(e,e);t.blockedSegment.formatContext=r;t.legacyContext=a;t.context=o;ta(o)}else throw t.blockedSegment.formatContext=r,t.legacyContext=a,t.context=o,ta(o),i}}function Xa(e){var t=e.blockedBoundary;e=e.blockedSegment;e.status=3;Ya(this,t,e)}function Ga(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3;null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(kt(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return Ga(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady,r()))}function Ja(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id;n.parentFlushed=!0;1===n.status&&Ja(e,n)}else e.completedSegments.push(t)}function Ya(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(kt(389));e.completedRootSegment=n}e.pendingRootTasks--;0===e.pendingRootTasks&&(e.onShellError=za,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Ja(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Xa,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Ja(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--;0===e.allPendingTasks&&(e=e.onAllReady,e())}function Ka(e){if(2!==e.status){var t=Gr,n=Ba.current;Ba.current=Ia;var r=Ma;Ma=e.responseState;try{var a=e.pingedTasks,o;for(o=0;o<a.length;o++){var l=a[o];var u=e,i=l.blockedSegment;if(0===i.status){ta(l.context);try{Ua(u,l,l.node),i.lastPushedText&&i.textEmbedded&&i.chunks.push(on),l.abortSet.delete(l),i.status=1,Ya(u,l.blockedBoundary,i)}catch(e){if(Ca(),"object"===typeof e&&null!==e&&"function"===typeof e.then){var s=l.ping;e.then(s,s)}else{l.abortSet.delete(l);i.status=4;var c=l.blockedBoundary,d=e,f=La(u,d);null===c?Oa(u,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=f,c.parentFlushed&&u.clientRenderedBoundaries.push(c)));u.allPendingTasks--;if(0===u.allPendingTasks){var p=u.onAllReady;p()}}}finally{}}}a.splice(0,o);null!==e.destination&&ao(e,e.destination)}catch(t){La(e,t),Oa(e,t)}finally{Ma=r,Ba.current=n,n===Ia&&ta(t)}}}function Qa(e,t,n){n.parentFlushed=!0;switch(n.status){case 0:var r=n.id=e.nextSegmentId++;n.lastPushedText=!1;n.textEmbedded=!1;e=e.responseState;Et(t,Mn);Et(t,e.placeholderPrefix);e=_t(r.toString(16));Et(t,e);return Ft(t,Bn);case 1:n.status=2;var a=!0;r=n.chunks;var o=0;n=n.children;for(var l=0;l<n.length;l++){for(a=n[l];o<a.index;o++)Et(t,r[o]);a=eo(e,t,a)}for(;o<r.length-1;o++)Et(t,r[o]);o<r.length&&(a=Ft(t,r[o]));return a;default:throw Error(kt(390))}}function eo(e,t,n){var r=n.boundary;if(null===r)return Qa(e,t,n);r.parentFlushed=!0;if(r.forceClientRender)r=r.errorDigest,Ft(t,Vn),Et(t,Ln),r&&(Et(t,An),Et(t,_t(Ht(r))),Et(t,On)),Ft(t,jn),Qa(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++;0<r.completedSegments.length&&e.partialBoundaries.push(r);var a=e.responseState;var o=a.nextSuspenseID++;a=Pt(a.boundaryPrefix+o.toString(16));r=r.id=a;qn(t,e.responseState,r);Qa(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),qn(t,e.responseState,r.id),Qa(e,t,n);else{Ft(t,Dn);n=r.completedSegments;if(1!==n.length)throw Error(kt(391));eo(e,t,n[0])}return Ft(t,$n)}function to(e,t,n){dr(t,e.responseState,n.formatContext,n.id);eo(e,t,n);return fr(t,n.formatContext)}function no(e,t,n){for(var r=n.completedSegments,a=0;a<r.length;a++)ro(e,t,n,r[a]);r.length=0;e=e.responseState;r=n.id;n=n.rootSegmentID;Et(t,e.startInlineScript);e.sentCompleteBoundaryFunction?Et(t,yr):(e.sentCompleteBoundaryFunction=!0,Et(t,br));if(null===r)throw Error(kt(395));n=_t(n.toString(16));Et(t,r);Et(t,vr);Et(t,e.segmentPrefix);Et(t,n);return Ft(t,Sr)}function ro(e,t,n,r){if(2===r.status)return!0;var a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(kt(392));return to(e,t,r)}to(e,t,r);e=e.responseState;Et(t,e.startInlineScript);e.sentCompleteSegmentFunction?Et(t,hr):(e.sentCompleteSegmentFunction=!0,Et(t,pr));Et(t,e.segmentPrefix);a=_t(a.toString(16));Et(t,a);Et(t,gr);Et(t,e.placeholderPrefix);Et(t,a);return Ft(t,mr)}function ao(e,t){wt=new Uint8Array(512);Ct=0;try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){eo(e,t,n);e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)Et(t,r[n]);n<r.length&&Ft(t,r[n])}var a=e.clientRenderedBoundaries,o;for(o=0;o<a.length;o++){var l=a[o];r=t;var u=e.responseState,i=l.id,s=l.errorDigest,c=l.errorMessage,d=l.errorComponentStack;Et(r,u.startInlineScript);u.sentClientRenderFunction?Et(r,kr):(u.sentClientRenderFunction=!0,Et(r,xr));if(null===i)throw Error(kt(395));Et(r,i);Et(r,wr);if(s||c||d)Et(r,Er),Et(r,_t(Tr(s||"")));if(c||d)Et(r,Er),Et(r,_t(Tr(c||"")));d&&(Et(r,Er),Et(r,_t(Tr(d))));if(!Ft(r,Cr));}a.splice(0,o);var f=e.completedBoundaries;for(o=0;o<f.length;o++)if(!no(e,t,f[o]));f.splice(0,o);Tt(t);wt=new Uint8Array(512);Ct=0;var p=e.partialBoundaries;for(o=0;o<p.length;o++){var h=p[o];e:{a=e;l=t;var g=h.completedSegments;for(u=0;u<g.length;u++)if(!ro(a,l,h,g[u])){u++;g.splice(0,u);var m=!1;break e}g.splice(0,u);m=!0}if(!m){e.destination=null;o++;p.splice(0,o);return}}p.splice(0,o);var b=e.completedBoundaries;for(o=0;o<b.length;o++)if(!no(e,t,b[o]));b.splice(0,o)}finally{Tt(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function oo(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Ga(n,e,t)}));n.clear();null!==e.destination&&ao(e,e.destination)}catch(t){La(e,t),Oa(e,t)}}St.renderToReadableStream=function(e,t){return new Promise((function(n,r){var a,o,l=new Promise((function(e,t){o=e;a=t})),u=Na(e,tn(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),rn(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,o,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===u.status)u.status=2,It(e,u.fatalError);else if(2!==u.status&&null===u.destination){u.destination=e;try{ao(u,e)}catch(e){La(u,e),Oa(u,e)}}},cancel:function(){oo(u)}},{highWaterMark:0});e.allReady=l;n(e)}),(function(e){l.catch((function(){}));r(e)}),a);if(t&&t.signal){var i=t.signal,s=function(){oo(u,i.reason);i.removeEventListener("abort",s)};i.addEventListener("abort",s)}Ka(u)}))};St.version="18.2.0";var lo,uo;{lo=n;uo=St}var io=t.version=lo.version;var so=t.renderToString=lo.renderToString;var co=t.renderToStaticMarkup=lo.renderToStaticMarkup;var fo=t.renderToNodeStream=lo.renderToNodeStream;var po=t.renderToStaticNodeStream=lo.renderToStaticNodeStream;var ho=t.renderToReadableStream=uo.renderToReadableStream;export{t as default,fo as renderToNodeStream,ho as renderToReadableStream,co as renderToStaticMarkup,po as renderToStaticNodeStream,so as renderToString,io as version};
|
|
//# sourceMappingURL=/sm/f158dae081869dc0b4b56da0499296d11a57911a285a67d83fb8829937dd2258.map
|