react-server-dom-webpack 18.3.0-next-85de6fde5-20230328 → 18.3.0-next-1308e49a6-20230330

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +11 -1
  2. package/cjs/react-server-dom-webpack-client.browser.production.min.js +3 -3
  3. package/cjs/react-server-dom-webpack-client.edge.development.js +6 -0
  4. package/cjs/react-server-dom-webpack-client.edge.production.min.js +4 -3
  5. package/cjs/react-server-dom-webpack-client.node.development.js +6 -0
  6. package/cjs/react-server-dom-webpack-client.node.production.min.js +2 -2
  7. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +6 -0
  8. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +2 -2
  9. package/cjs/react-server-dom-webpack-node-register.js +1 -1
  10. package/cjs/react-server-dom-webpack-plugin.js +9 -8
  11. package/cjs/react-server-dom-webpack-server.browser.development.js +19 -91
  12. package/cjs/react-server-dom-webpack-server.browser.production.min.js +48 -50
  13. package/cjs/react-server-dom-webpack-server.edge.development.js +19 -91
  14. package/cjs/react-server-dom-webpack-server.edge.production.min.js +48 -50
  15. package/cjs/react-server-dom-webpack-server.node.development.js +19 -91
  16. package/cjs/react-server-dom-webpack-server.node.production.min.js +50 -52
  17. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +19 -91
  18. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +49 -51
  19. package/esm/react-server-dom-webpack-node-loader.production.min.js +1 -1
  20. package/package.json +4 -4
  21. package/umd/react-server-dom-webpack-client.browser.development.js +11 -1
  22. package/umd/react-server-dom-webpack-client.browser.production.min.js +10 -10
  23. package/umd/react-server-dom-webpack-server.browser.development.js +19 -91
  24. package/umd/react-server-dom-webpack-server.browser.production.min.js +42 -43
@@ -10,64 +10,62 @@
10
10
  'use strict';var aa=require("util"),ba=require("async_hooks"),ca=require("react"),da=new ba.AsyncLocalStorage,f=null,m=0,n=!0;function p(a,b){a=a.write(b);n=n&&a}
11
11
  function q(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(p(a,f.subarray(0,m)),f=new Uint8Array(2048),m=0),p(a,r.encode(b));else{var d=f;0<m&&(d=f.subarray(m));d=r.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(p(a,f.subarray(0,m)),f=new Uint8Array(2048),m=r.encodeInto(b.slice(c),f).written);2048===m&&(p(a,f),f=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(p(a,f.subarray(0,m)),f=new Uint8Array(2048),m=0),p(a,b)):(d=f.length-m,d<b.byteLength&&
12
12
  (0===d?p(a,f):(f.set(b.subarray(0,d),m),m+=d,p(a,f),b=b.subarray(d)),f=new Uint8Array(2048),m=0),f.set(b,m),m+=b.byteLength,2048===m&&(p(a,f),f=new Uint8Array(2048),m=0)));return n}var r=new aa.TextEncoder;function t(a){return r.encode(a)}var u=JSON.stringify;function ea(a,b,d){a=u(d,a.toJSON);return b.toString(16)+":"+a+"\n"}function v(a,b,d){a=u(d);return b.toString(16)+":"+a+"\n"}
13
- var x=Symbol.for("react.client.reference"),fa=Symbol.for("react.server.reference"),y=Symbol.for("react.element"),ha=Symbol.for("react.fragment"),ia=Symbol.for("react.provider"),ja=Symbol.for("react.server_context"),ka=Symbol.for("react.forward_ref"),la=Symbol.for("react.suspense"),ma=Symbol.for("react.suspense_list"),na=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),pa=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel"),ra=Symbol.iterator;
14
- function B(a,b,d,c,e,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=e;this.mustUseProperty=d;this.propertyName=a;this.type=b;this.sanitizeURL=g;this.removeEmptyString=h}["contentEditable","draggable","spellCheck","value"].forEach(function(a){new B(a,2,!1,a.toLowerCase(),null,!1,!1)});
15
- "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){new B(a,3,!1,a.toLowerCase(),null,!1,!1)});["rowSpan","start"].forEach(function(a){new B(a,5,!1,a.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}
13
+ var x=Symbol.for("react.client.reference"),fa=Symbol.for("react.server.reference"),z=Symbol.for("react.element"),ha=Symbol.for("react.fragment"),ia=Symbol.for("react.provider"),ja=Symbol.for("react.server_context"),ka=Symbol.for("react.forward_ref"),la=Symbol.for("react.suspense"),ma=Symbol.for("react.suspense_list"),oa=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),pa=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel"),ra=Symbol.iterator;
14
+ function B(a,b,d,c,e){this.acceptsBooleans=2===a||3===a||4===a;this.attributeName=b;this.attributeNamespace=d;this.type=a;this.sanitizeURL=c;this.removeEmptyString=e}["contentEditable","draggable","spellCheck","value"].forEach(function(a){new B(2,a.toLowerCase(),null,!1,!1)});
15
+ "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){new B(3,a.toLowerCase(),null,!1,!1)});["rowSpan","start"].forEach(function(a){new B(5,a.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}
16
16
  "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 transform-origin 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){a.replace(C,sa)});
17
- "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(C,sa)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(C,sa)});["tabIndex","crossOrigin"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
18
- var ta={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,scale:!0,tabSize:!0,widows:!0,zIndex:!0,
19
- zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ua=["Webkit","ms","Moz","O"];Object.keys(ta).forEach(function(a){ua.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);ta[b]=ta[a]})});var va=Array.isArray;t('"></template>');t("<script>");t("\x3c/script>");t('<script src="');t('<script type="module" src="');t('" integrity="');t('" async="">\x3c/script>');t("\x3c!-- --\x3e");t(' style="');
20
- t(":");t(";");t(" ");t('="');t('"');t('=""');t(">");t("/>");t(' selected=""');t("\n");t("<!DOCTYPE html>");t("</");t(">");t('<template id="');t('"></template>');t("\x3c!--$--\x3e");t('\x3c!--$?--\x3e<template id="');t('"></template>');t("\x3c!--$!--\x3e");t("\x3c!--/$--\x3e");t("<template");t('"');t(' data-dgst="');t(' data-msg="');t(' data-stck="');t("></template>");t('<div hidden id="');t('">');t("</div>");t('<svg aria-hidden="true" style="display:none" id="');t('">');t("</svg>");t('<math aria-hidden="true" style="display:none" id="');
21
- t('">');t("</math>");t('<table hidden id="');t('">');t("</table>");t('<table hidden><tbody id="');t('">');t("</tbody></table>");t('<table hidden><tr id="');t('">');t("</tr></table>");t('<table hidden><colgroup id="');t('">');t("</colgroup></table>");t('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("');t('$RS("');t('","');t('")\x3c/script>');t('<template data-rsi="" data-sid="');
22
- t('" data-pid="');t('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("');
17
+ "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(C,sa)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(C,sa)});["tabIndex","crossOrigin"].forEach(function(a){new B(1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new B(1,a.toLowerCase(),null,!0,!0)});var ta=Array.isArray;t('"></template>');t("<script>");t("\x3c/script>");t('<script src="');t('<script type="module" src="');t('" integrity="');
18
+ t('" async="">\x3c/script>');t("\x3c!-- --\x3e");t(' style="');t(":");t(";");t(" ");t('="');t('"');t('=""');t(">");t("/>");t(' selected=""');t("\n");t("<!DOCTYPE html>");t("</");t(">");t('<template id="');t('"></template>');t("\x3c!--$--\x3e");t('\x3c!--$?--\x3e<template id="');t('"></template>');t("\x3c!--$!--\x3e");t("\x3c!--/$--\x3e");t("<template");t('"');t(' data-dgst="');t(' data-msg="');t(' data-stck="');t("></template>");t('<div hidden id="');t('">');t("</div>");t('<svg aria-hidden="true" style="display:none" id="');
19
+ t('">');t("</svg>");t('<math aria-hidden="true" style="display:none" id="');t('">');t("</math>");t('<table hidden id="');t('">');t("</table>");t('<table hidden><tbody id="');t('">');t("</tbody></table>");t('<table hidden><tr id="');t('">');t("</tr></table>");t('<table hidden><colgroup id="');t('">');t("</colgroup></table>");t('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("');
20
+ t('$RS("');t('","');t('")\x3c/script>');t('<template data-rsi="" data-sid="');t('" data-pid="');t('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("');
23
21
  t('$RC("');t('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("');
24
22
  t('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("');
25
23
  t('$RR("');t('","');t('",');t('"');t(")\x3c/script>");t('<template data-rci="" data-bid="');t('<template data-rri="" data-bid="');t('" data-sid="');t('" data-sty="');t('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("');t('$RX("');t('"');t(",");t(")\x3c/script>");t('<template data-rxi="" data-bid="');t('" data-dgst="');t('" data-msg="');t('" data-stck="');t('<style media="not all" data-precedence="');
26
24
  t('" data-href="');t('">');t("</style>");t('<style data-precedence="');t('" data-href="');t(" ");t('">');t("</style>");t("[");t(",[");t(",");t("]");var D=null;
27
- function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function wa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&wa(a)}
28
- function xa(a){var b=a.parent;null!==b&&xa(b);a.context._currentValue=a.value}function ya(a,b){a.context._currentValue=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?E(a,b):ya(a,b)}
29
- function za(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):za(a,d);b.context._currentValue=b.value}function Aa(a){var b=D;b!==a&&(null===b?xa(a):null===a?wa(b):b.depth===a.depth?E(b,a):b.depth>a.depth?ya(b,a):za(b,a),D=a)}function Ba(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ca=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
30
- function Da(){}function Ea(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Da,Da),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Ca;}}var F=null;
31
- function Fa(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,I=0,J=null;function Ga(){var a=J;J=null;return a}function Ha(a){return a._currentValue}
32
- var La={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:K,useTransition:K,readContext:Ha,useContext:Ha,useReducer:K,useRef:K,useState:K,useInsertionEffect:K,useLayoutEffect:K,useImperativeHandle:K,useEffect:K,useId:Ia,useMutableSource:K,useSyncExternalStore:K,useCacheRefresh:function(){return Ja},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=qa;return b},use:Ka};
33
- function K(){throw Error("This Hook is not supported in Server Components.");}function Ja(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ia(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"}
34
- function Ka(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=I;I+=1;null===J&&(J=[]);return Ea(J,a,b)}if(a.$$typeof===ja)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ma(){return(new AbortController).signal}function Na(){if(L)return L;var a=da.getStore();return a?a:new Map}
35
- var Oa={getCacheSignal:function(){var a=Na(),b=a.get(Ma);void 0===b&&(b=Ma(),a.set(Ma,b));return b},getCacheForType:function(a){var b=Na(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},L=null;function Pa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}
36
- function Qa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(va(a))return"[...]";a=Pa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
37
- function M(a){if("string"===typeof a)return a;switch(a){case la:return"Suspense";case ma:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ka:return M(a.render);case na:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
38
- function N(a,b){var d=Pa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(va(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var h=a[g];h="object"===typeof h&&null!==h?N(h):Qa(h);""+g===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+M(a.type)+"/>";else{e="{";g=Object.keys(a);for(h=0;h<g.length;h++){0<h&&(e+=", ");var k=g[h],l=JSON.stringify(k);e+=('"'+k+'"'===l?k:l)+": ";l=a[k];l="object"===typeof l&&null!==l?N(l):
39
- Qa(l);k===b?(d=e.length,c=l.length,e+=l):e=10>l.length&&40>e.length+l.length?e+l:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Ra=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sa=Ra.ContextRegistry,Ta=Ra.ReactCurrentDispatcher,Ua=Ra.ReactCurrentCache;function Va(a){console.error(a)}
40
- function Wa(a,b,d,c,e){if(null!==Ua.current&&Ua.current!==Oa)throw Error("Currently React only supports one RSC renderer at a time.");Ua.current=Oa;var g=new Set,h=[],k={status:0,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||
41
- "",identifierCount:1,onError:void 0===d?Va:d,toJSON:function(l,w){return Xa(k,this,l,w)}};k.pendingChunks++;b=Ya(c);a=Za(k,a,b,g);h.push(a);return k}var $a={};
42
- function ab(a,b){a.pendingChunks++;var d=Za(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,bb(a,d),d.id;case "rejected":var c=O(a,b.reason);P(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;bb(a,d)},function(e){d.status=4;e=O(a,e);P(a,d.id,e);null!==a.destination&&
43
- Q(a,a.destination)});return d.id}function cb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function db(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)}))}return{$$typeof:A,_payload:a,_init:cb}}
44
- function R(a,b,d,c,e,g){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===x)return[y,b,d,e];I=0;J=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:db(e):e}if("string"===typeof b)return[y,b,d,e];if("symbol"===typeof b)return b===ha?e.children:[y,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===x)return[y,b,d,e];switch(b.$$typeof){case A:var h=
45
- b._init;b=h(b._payload);return R(a,b,d,c,e,g);case ka:return a=b.render,I=0,J=g,a(e,void 0);case na:return R(a,b.type,d,c,e,g);case ia:return Ba(b._context,e.value),[y,b,d,{value:e.value,children:e.children,__pop:$a}]}}throw Error("Unsupported Server Component type: "+Qa(b));}function bb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&setImmediate(function(){return eb(a)})}
46
- function Za(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return bb(a,e)},thenableState:null};c.add(e);return e}
47
- function fb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,g=a.writtenClientReferences,h=g.get(e);if(void 0!==h)return b[0]===y&&"1"===d?"$L"+h.toString(16):"$"+h.toString(16);try{var k=a.bundlerConfig[c.$$id];var l=c.$$async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var w=a.nextChunkId++,oa=u(l);var z=w.toString(16)+":I"+oa+"\n";a.completedImportChunks.push(z);g.set(e,w);return b[0]===y&&"1"===d?"$L"+w.toString(16):"$"+w.toString(16)}catch(S){return a.pendingChunks++,b=
25
+ function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function ua(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ua(a)}
26
+ function va(a){var b=a.parent;null!==b&&va(b);a.context._currentValue=a.value}function wa(a,b){a.context._currentValue=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?E(a,b):wa(a,b)}
27
+ function xa(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):xa(a,d);b.context._currentValue=b.value}function ya(a){var b=D;b!==a&&(null===b?va(a):null===a?ua(b):b.depth===a.depth?E(b,a):b.depth>a.depth?wa(b,a):xa(b,a),D=a)}function za(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Aa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
28
+ function Ba(){}function Ca(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ba,Ba),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Aa;}}var F=null;
29
+ function Da(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,I=0,J=null;function Ea(){var a=J;J=null;return a}function Fa(a){return a._currentValue}
30
+ var Ja={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:K,useTransition:K,readContext:Fa,useContext:Fa,useReducer:K,useRef:K,useState:K,useInsertionEffect:K,useLayoutEffect:K,useImperativeHandle:K,useEffect:K,useId:Ga,useMutableSource:K,useSyncExternalStore:K,useCacheRefresh:function(){return Ha},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=qa;return b},use:Ia};
31
+ function K(){throw Error("This Hook is not supported in Server Components.");}function Ha(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ga(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"}
32
+ function Ia(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=I;I+=1;null===J&&(J=[]);return Ca(J,a,b)}if(a.$$typeof===ja)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ka(){return(new AbortController).signal}function La(){if(L)return L;var a=da.getStore();return a?a:new Map}
33
+ var Ma={getCacheSignal:function(){var a=La(),b=a.get(Ka);void 0===b&&(b=Ka(),a.set(Ka,b));return b},getCacheForType:function(a){var b=La(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},L=null;function Na(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}
34
+ function Oa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(ta(a))return"[...]";a=Na(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
35
+ function M(a){if("string"===typeof a)return a;switch(a){case la:return"Suspense";case ma:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ka:return M(a.render);case oa:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
36
+ function N(a,b){var d=Na(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(ta(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var h=a[g];h="object"===typeof h&&null!==h?N(h):Oa(h);""+g===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";g=Object.keys(a);for(h=0;h<g.length;h++){0<h&&(e+=", ");var k=g[h],l=JSON.stringify(k);e+=('"'+k+'"'===l?k:l)+": ";l=a[k];l="object"===typeof l&&null!==l?N(l):
37
+ Oa(l);k===b?(d=e.length,c=l.length,e+=l):e=10>l.length&&40>e.length+l.length?e+l:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Pa=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Qa=Pa.ContextRegistry,Ra=Pa.ReactCurrentDispatcher,Sa=Pa.ReactCurrentCache;function Ta(a){console.error(a)}
38
+ function Ua(a,b,d,c,e){if(null!==Sa.current&&Sa.current!==Ma)throw Error("Currently React only supports one RSC renderer at a time.");Sa.current=Ma;var g=new Set,h=[],k={status:0,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||
39
+ "",identifierCount:1,onError:void 0===d?Ta:d,toJSON:function(l,w){return Va(k,this,l,w)}};k.pendingChunks++;b=Wa(c);a=Xa(k,a,b,g);h.push(a);return k}var Ya={};
40
+ function Za(a,b){a.pendingChunks++;var d=Xa(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,$a(a,d),d.id;case "rejected":var c=O(a,b.reason);P(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;$a(a,d)},function(e){d.status=4;e=O(a,e);P(a,d.id,e);null!==a.destination&&
41
+ Q(a,a.destination)});return d.id}function ab(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function bb(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)}))}return{$$typeof:A,_payload:a,_init:ab}}
42
+ function R(a,b,d,c,e,g){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===x)return[z,b,d,e];I=0;J=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:bb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ha?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===x)return[z,b,d,e];switch(b.$$typeof){case A:var h=
43
+ b._init;b=h(b._payload);return R(a,b,d,c,e,g);case ka:return a=b.render,I=0,J=g,a(e,void 0);case oa:return R(a,b.type,d,c,e,g);case ia:return za(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:Ya}]}}throw Error("Unsupported Server Component type: "+Oa(b));}function $a(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&setImmediate(function(){return cb(a)})}
44
+ function Xa(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return $a(a,e)},thenableState:null};c.add(e);return e}
45
+ function db(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,g=a.writtenClientReferences,h=g.get(e);if(void 0!==h)return b[0]===z&&"1"===d?"$L"+h.toString(16):"$"+h.toString(16);try{var k=a.bundlerConfig[c.$$id];var l=c.$$async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var w=a.nextChunkId++,na=u(l);var y=w.toString(16)+":I"+na+"\n";a.completedImportChunks.push(y);g.set(e,w);return b[0]===z&&"1"===d?"$L"+w.toString(16):"$"+w.toString(16)}catch(S){return a.pendingChunks++,b=
48
46
  a.nextChunkId++,d=O(a,S),P(a,b,d),"$"+b.toString(16)}}
49
- function Xa(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===A);)try{switch(c.$$typeof){case y:var e=c;c=R(a,e.type,e.key,e.ref,e.props,null);break;case A:var g=c._init;c=g(c._payload)}}catch(h){d=h===Ca?Fa():h;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=Za(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ga(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+
50
- c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===x)return fb(a,b,d,c);if("function"===typeof c.then)return"$@"+ab(a,c).toString(16);if(c.$$typeof===ia)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=v(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(c===$a){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=
51
- c===pa?a.context._defaultValue:c;D=a.parent;return}return!va(c)&&(null===c||"object"!==typeof c?a=null:(a=ra&&c[ra]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c)return a="$"===c[0]?"$"+c:c,a;if("boolean"===typeof c||"number"===typeof c)return c;if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===x)return fb(a,b,d,c);if(c.$$typeof===fa)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,
47
+ function Va(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=R(a,e.type,e.key,e.ref,e.props,null);break;case A:var g=c._init;c=g(c._payload)}}catch(h){d=h===Aa?Da():h;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=Xa(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ea(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+
48
+ c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===x)return db(a,b,d,c);if("function"===typeof c.then)return"$@"+Za(a,c).toString(16);if(c.$$typeof===ia)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=v(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(c===Ya){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=
49
+ c===pa?a.context._defaultValue:c;D=a.parent;return}return!ta(c)&&(null===c||"object"!==typeof c?a=null:(a=ra&&c[ra]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c)return a="$"===c[0]?"$"+c:c,a;if("boolean"===typeof c||"number"===typeof c)return c;if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===x)return db(a,b,d,c);if(c.$$typeof===fa)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,
52
50
  e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=ea(a,b,e),a.completedJSONChunks.push(e),d.set(c,b),a="$F"+b.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===
53
- typeof c){e=a.writtenSymbols;g=e.get(c);if(void 0!==g)return"$"+g.toString(16);g=c.description;if(Symbol.for(g)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=v(a,d,"$S"+g);a.completedImportChunks.push(b);e.set(c,d);return"$"+d.toString(16)}if("bigint"===typeof c)throw Error("BigInt ("+c+") is not yet supported in Client Component props."+
54
- N(b,d));throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)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 b+'" instead');return b||""}
55
- function gb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+u(d)+"\n";a.completedErrorChunks.push(b)}
56
- function eb(a){var b=Ta.current,d=L;Ta.current=La;L=a.cache;G=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var g=c[e];var h=a;if(0===g.status){Aa(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===y){var l=k,w=g.thenableState;g.model=k;k=R(h,l.type,l.key,l.ref,l.props,w);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===y;)l=k,g.model=k,k=R(h,l.type,l.key,l.ref,l.props,null)}var oa=ea(h,g.id,k);h.completedJSONChunks.push(oa);h.abortableTasks.delete(g);
57
- g.status=1}catch(H){var z=H===Ca?Fa():H;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var S=g.ping;z.then(S,S);g.thenableState=Ga()}else{h.abortableTasks.delete(g);g.status=4;var rb=O(h,z);P(h,g.id,rb)}}}}null!==a.destination&&Q(a,a.destination)}catch(H){O(a,H),gb(a,H)}finally{Ta.current=b,L=d,G=null}}
51
+ typeof c){e=a.writtenSymbols;g=e.get(c);if(void 0!==g)return"$"+g.toString(16);g=c.description;if(Symbol.for(g)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=v(a,d,"$S"+g);a.completedImportChunks.push(b);e.set(c,d);return"$"+d.toString(16)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+
52
+ " is not supported in Client Component props."+N(b,d));}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)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 b+'" instead');return b||""}function eb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
53
+ function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+u(d)+"\n";a.completedErrorChunks.push(b)}
54
+ function cb(a){var b=Ra.current,d=L;Ra.current=Ja;L=a.cache;G=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var g=c[e];var h=a;if(0===g.status){ya(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===z){var l=k,w=g.thenableState;g.model=k;k=R(h,l.type,l.key,l.ref,l.props,w);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===z;)l=k,g.model=k,k=R(h,l.type,l.key,l.ref,l.props,null)}var na=ea(h,g.id,k);h.completedJSONChunks.push(na);h.abortableTasks.delete(g);
55
+ g.status=1}catch(H){var y=H===Aa?Da():H;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var S=g.ping;y.then(S,S);g.thenableState=Ea()}else{h.abortableTasks.delete(g);g.status=4;var pb=O(h,y);P(h,g.id,pb)}}}}null!==a.destination&&Q(a,a.destination)}catch(H){O(a,H),eb(a,H)}finally{Ra.current=b,L=d,G=null}}
58
56
  function Q(a,b){f=new Uint8Array(2048);m=0;n=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!q(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedJSONChunks;for(c=0;c<e.length;c++)if(a.pendingChunks--,!q(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!q(b,g[c])){a.destination=null;c++;break}g.splice(0,c)}finally{f&&0<m&&b.write(f.subarray(0,m)),f=null,m=0,n=!0}"function"===
59
- typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function hb(a){setImmediate(function(){return da.run(a.cache,eb,a)})}function ib(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{Q(a,b)}catch(d){O(a,d),gb(a,d)}}}
60
- function jb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=O(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;P(a,e,c);d.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=v(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),gb(a,g)}}
61
- function Ya(a){if(a){var b=D;Aa(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];Sa[e]||(Sa[e]=ca.createServerContext(e,pa));Ba(Sa[e],c)}a=D;Aa(b);return a}return null}var T=new Map,kb=new Map;function lb(){}
62
- function mb(a){for(var b=a.chunks,d=[],c=0;c<b.length;c++){var e=b[c],g=T.get(e);if(void 0===g){g=__webpack_chunk_load__(e);d.push(g);var h=T.set.bind(T,e,null);g.then(h,lb);T.set(e,g)}else null!==g&&d.push(g)}if(a.async){if(b=kb.get(a.id))return"fulfilled"===b.status?null:b;var k=Promise.all(d).then(function(){return __webpack_require__(a.id)});k.then(function(l){k.status="fulfilled";k.value=l},function(l){k.status="rejected";k.reason=l});kb.set(a.id,k);return k}return 0<d.length?Promise.all(d):
63
- null}function nb(a){if(a.async){var b=kb.get(a.id);if("fulfilled"===b.status)b=b.value;else throw b.reason;}else b=__webpack_require__(a.id);return"*"===a.name?b:""===a.name?b.__esModule?b.default:b:b[a.name]}function U(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}U.prototype=Object.create(Promise.prototype);
57
+ typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function fb(a){setImmediate(function(){return da.run(a.cache,cb,a)})}function gb(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{Q(a,b)}catch(d){O(a,d),eb(a,d)}}}
58
+ function hb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=O(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;P(a,e,c);d.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=v(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),eb(a,g)}}
59
+ function Wa(a){if(a){var b=D;ya(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];Qa[e]||(Qa[e]=ca.createServerContext(e,pa));za(Qa[e],c)}a=D;ya(b);return a}return null}var T=new Map,ib=new Map;function jb(){}
60
+ function kb(a){for(var b=a.chunks,d=[],c=0;c<b.length;c++){var e=b[c],g=T.get(e);if(void 0===g){g=__webpack_chunk_load__(e);d.push(g);var h=T.set.bind(T,e,null);g.then(h,jb);T.set(e,g)}else null!==g&&d.push(g)}if(a.async){if(b=ib.get(a.id))return"fulfilled"===b.status?null:b;var k=Promise.all(d).then(function(){return __webpack_require__(a.id)});k.then(function(l){k.status="fulfilled";k.value=l},function(l){k.status="rejected";k.reason=l});ib.set(a.id,k);return k}return 0<d.length?Promise.all(d):
61
+ null}function lb(a){if(a.async){var b=ib.get(a.id);if("fulfilled"===b.status)b=b.value;else throw b.reason;}else b=__webpack_require__(a.id);return"*"===a.name?b:""===a.name?b.__esModule?b.default:b:b[a.name]}function U(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}U.prototype=Object.create(Promise.prototype);
64
62
  U.prototype.then=function(a,b){switch(this.status){case "resolved_model":V(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function W(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}
65
- function ob(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&W(d,b)}}function pb(a,b,d,c,e,g){var h=a._bundlerConfig[b];a=mb(h);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var l=nb(h);return l.bind.apply(l,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return nb(h)});else return nb(h);d.then(qb(c,e,g),sb(c));return null}var X=null,Y=null;
66
- function V(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function tb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&ob(d,b)})}function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=new U("pending",null,null,a),d.set(b,c));return c}
67
- function qb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&W(e,c.value))}}function sb(a){return function(b){return ob(a,b)}}
68
- function ub(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.substring(1);case "@":return b=parseInt(c.substring(2),16),Z(a,b);case "S":return Symbol.for(c.substring(2));case "F":c=parseInt(c.substring(2),16);c=Z(a,c);"resolved_model"===c.status&&V(c);if("fulfilled"!==c.status)throw c.reason;c=c.value;return pb(a,c.id,c.bound,X,b,d);case "u":return;default:c=parseInt(c.substring(1),16);a=Z(a,c);switch(a.status){case "resolved_model":V(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=
69
- X,a.then(qb(c,b,d),sb(c)),null;default:throw a.reason;}}return c}function vb(a){var b=new Map,d={_bundlerConfig:a,_chunks:b,_fromJSON:function(c,e){return"string"===typeof e?ub(d,this,c,e):e}};return d}
70
- function wb(a,b,d){var c=a._chunks,e=c.get(b);if(e){if("pending"===e.status&&(a=e.value,b=e.reason,e.status="resolved_model",e.value=d,null!==a))switch(V(e),e.status){case "fulfilled":W(a,e.value);break;case "pending":case "blocked":e.value=a;e.reason=b;break;case "rejected":b&&W(b,e.reason)}}else c.set(b,new U("resolved_model",d,null,a))}function xb(a){tb(a,Error("Connection closed."))}function yb(a,b){return function(){return ib(b,a)}}
71
- exports.decodeReply=function(a,b){var d=vb(b);"string"===typeof a?wb(d,0,a):a.forEach(function(c,e){if("string"===typeof c)wb(d,+e,c);else throw Error("Not implemented.");});xb(d);return Z(d,0)};
72
- exports.decodeReplyFromBusboy=function(a,b){var d=vb(b);a.on("field",function(c,e){wb(d,+c,e)});a.on("file",function(c,e,g){if("base64"===g.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");throw Error("Not implemented.");});a.on("finish",function(){xb(d)});a.on("error",function(c){tb(d,c)});return Z(d,0)};
73
- exports.renderToPipeableStream=function(a,b,d){var c=Wa(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0),e=!1;hb(c);return{pipe:function(g){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;ib(c,g);g.on("drain",yb(g,c));return g},abort:function(g){jb(c,g)}}};
63
+ function mb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&W(d,b)}}function nb(a,b,d,c,e,g){var h=a._bundlerConfig[b];a=kb(h);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var l=lb(h);return l.bind.apply(l,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return lb(h)});else return lb(h);d.then(ob(c,e,g),qb(c));return null}var X=null,Y=null;
64
+ function V(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function rb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&mb(d,b)})}function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=new U("pending",null,null,a),d.set(b,c));return c}
65
+ function ob(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&W(e,c.value))}}function qb(a){return function(b){return mb(a,b)}}
66
+ function sb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.substring(1);case "@":return b=parseInt(c.substring(2),16),Z(a,b);case "S":return Symbol.for(c.substring(2));case "F":c=parseInt(c.substring(2),16);c=Z(a,c);"resolved_model"===c.status&&V(c);if("fulfilled"!==c.status)throw c.reason;c=c.value;return nb(a,c.id,c.bound,X,b,d);case "u":return;case "n":return BigInt(c.substring(2));default:c=parseInt(c.substring(1),16);a=Z(a,c);switch(a.status){case "resolved_model":V(a)}switch(a.status){case "fulfilled":return a.value;
67
+ case "pending":case "blocked":return c=X,a.then(ob(c,b,d),qb(c)),null;default:throw a.reason;}}return c}function tb(a){var b=new Map,d={_bundlerConfig:a,_chunks:b,_fromJSON:function(c,e){return"string"===typeof e?sb(d,this,c,e):e}};return d}
68
+ function ub(a,b,d){var c=a._chunks,e=c.get(b);if(e){if("pending"===e.status&&(a=e.value,b=e.reason,e.status="resolved_model",e.value=d,null!==a))switch(V(e),e.status){case "fulfilled":W(a,e.value);break;case "pending":case "blocked":e.value=a;e.reason=b;break;case "rejected":b&&W(b,e.reason)}}else c.set(b,new U("resolved_model",d,null,a))}function vb(a){rb(a,Error("Connection closed."))}function wb(a,b){return function(){return gb(b,a)}}
69
+ exports.decodeReply=function(a,b){var d=tb(b);"string"===typeof a?ub(d,0,a):a.forEach(function(c,e){if("string"===typeof c)ub(d,+e,c);else throw Error("Not implemented.");});vb(d);return Z(d,0)};
70
+ exports.decodeReplyFromBusboy=function(a,b){var d=tb(b);a.on("field",function(c,e){ub(d,+c,e)});a.on("file",function(c,e,g){if("base64"===g.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");throw Error("Not implemented.");});a.on("finish",function(){vb(d)});a.on("error",function(c){rb(d,c)});return Z(d,0)};
71
+ exports.renderToPipeableStream=function(a,b,d){var c=Ua(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0),e=!1;fb(c);return{pipe:function(g){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;gb(c,g);g.on("drain",wb(g,c));return g},abort:function(g){hb(c,g)}}};
@@ -335,8 +335,8 @@ function getIteratorFn(maybeIterable) {
335
335
  return null;
336
336
  }
337
337
 
338
+ // A simple string attribute.
338
339
  // Attributes that aren't in the filter are presumed to have this type.
339
-
340
340
  var STRING = 1; // A string attribute that accepts booleans in React. In HTML, these are called
341
341
  // "enumerated" attributes with "true" and "false" as possible values.
342
342
  // When true, it should be set to a "true" string.
@@ -356,12 +356,10 @@ var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a n
356
356
 
357
357
  var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
358
358
 
359
- function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
359
+ function PropertyInfoRecord(type, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
360
360
  this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
361
361
  this.attributeName = attributeName;
362
362
  this.attributeNamespace = attributeNamespace;
363
- this.mustUseProperty = mustUseProperty;
364
- this.propertyName = name;
365
363
  this.type = type;
366
364
  this.sanitizeURL = sanitizeURL;
367
365
  this.removeEmptyString = removeEmptyString;
@@ -371,8 +369,7 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
371
369
 
372
370
  ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
373
371
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
374
- new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
375
- name.toLowerCase(), // attributeName
372
+ new PropertyInfoRecord(BOOLEANISH_STRING, name.toLowerCase(), // attributeName
376
373
  null, // attributeNamespace
377
374
  false, // sanitizeURL
378
375
  false);
@@ -383,17 +380,15 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
383
380
  'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
384
381
  'itemScope'].forEach(function (name) {
385
382
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
386
- new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
387
- name.toLowerCase(), // attributeName
383
+ new PropertyInfoRecord(BOOLEAN, name.toLowerCase(), // attributeName
388
384
  null, // attributeNamespace
389
385
  false, // sanitizeURL
390
386
  false);
391
- }); // These are the few React props that we set as DOM properties
387
+ }); // These are HTML attributes that are "overloaded booleans": they behave like
392
388
 
393
389
  ['rowSpan', 'start'].forEach(function (name) {
394
390
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
395
- new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
396
- name.toLowerCase(), // attributeName
391
+ new PropertyInfoRecord(NUMERIC, name.toLowerCase(), // attributeName
397
392
  null, // attributeNamespace
398
393
  false, // sanitizeURL
399
394
  false);
@@ -434,96 +429,19 @@ var capitalize = function (token) {
434
429
 
435
430
  ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
436
431
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
437
- new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
438
- attributeName.toLowerCase(), // attributeName
432
+ new PropertyInfoRecord(STRING, attributeName.toLowerCase(), // attributeName
439
433
  null, // attributeNamespace
440
434
  false, // sanitizeURL
441
435
  false);
442
436
  }); // These attributes accept URLs. These must not allow javascript: URLS.
443
437
  ['src', 'href', 'action'].forEach(function (attributeName) {
444
438
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
445
- new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
446
- attributeName.toLowerCase(), // attributeName
439
+ new PropertyInfoRecord(STRING, attributeName.toLowerCase(), // attributeName
447
440
  null, // attributeNamespace
448
441
  true, // sanitizeURL
449
442
  true);
450
443
  });
451
444
 
452
- /**
453
- * CSS properties which accept numbers but are not in units of "px".
454
- */
455
- var isUnitlessNumber = {
456
- animationIterationCount: true,
457
- aspectRatio: true,
458
- borderImageOutset: true,
459
- borderImageSlice: true,
460
- borderImageWidth: true,
461
- boxFlex: true,
462
- boxFlexGroup: true,
463
- boxOrdinalGroup: true,
464
- columnCount: true,
465
- columns: true,
466
- flex: true,
467
- flexGrow: true,
468
- flexPositive: true,
469
- flexShrink: true,
470
- flexNegative: true,
471
- flexOrder: true,
472
- gridArea: true,
473
- gridRow: true,
474
- gridRowEnd: true,
475
- gridRowSpan: true,
476
- gridRowStart: true,
477
- gridColumn: true,
478
- gridColumnEnd: true,
479
- gridColumnSpan: true,
480
- gridColumnStart: true,
481
- fontWeight: true,
482
- lineClamp: true,
483
- lineHeight: true,
484
- opacity: true,
485
- order: true,
486
- orphans: true,
487
- scale: true,
488
- tabSize: true,
489
- widows: true,
490
- zIndex: true,
491
- zoom: true,
492
- // SVG-related properties
493
- fillOpacity: true,
494
- floodOpacity: true,
495
- stopOpacity: true,
496
- strokeDasharray: true,
497
- strokeDashoffset: true,
498
- strokeMiterlimit: true,
499
- strokeOpacity: true,
500
- strokeWidth: true
501
- };
502
- /**
503
- * @param {string} prefix vendor-specific prefix, eg: Webkit
504
- * @param {string} key style name, eg: transitionDuration
505
- * @return {string} style name prefixed with `prefix`, properly camelCased, eg:
506
- * WebkitTransitionDuration
507
- */
508
-
509
- function prefixKey(prefix, key) {
510
- return prefix + key.charAt(0).toUpperCase() + key.substring(1);
511
- }
512
- /**
513
- * Support style names that may come passed in prefixed by adding permutations
514
- * of vendor prefixes.
515
- */
516
-
517
-
518
- var prefixes = ['Webkit', 'ms', 'Moz', 'O']; // Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
519
- // infinite loop, because it iterates over the newly added props too.
520
-
521
- Object.keys(isUnitlessNumber).forEach(function (prop) {
522
- prefixes.forEach(function (prefix) {
523
- isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];
524
- });
525
- });
526
-
527
445
  var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
528
446
 
529
447
  function isArray(a) {
@@ -1821,6 +1739,10 @@ function serializeUndefined() {
1821
1739
  return '$undefined';
1822
1740
  }
1823
1741
 
1742
+ function serializeBigInt(n) {
1743
+ return '$n' + n.toString(10);
1744
+ }
1745
+
1824
1746
  function serializeClientReference(request, parent, key, clientReference) {
1825
1747
  var clientReferenceKey = getClientReferenceKey(clientReference);
1826
1748
  var writtenClientReferences = request.writtenClientReferences;
@@ -2124,7 +2046,7 @@ function resolveModelToJSON(request, parent, key, value) {
2124
2046
  }
2125
2047
 
2126
2048
  if (typeof value === 'bigint') {
2127
- throw new Error("BigInt (" + value + ") is not yet supported in Client Component props." + describeObjectForErrorMessage(parent, key));
2049
+ return serializeBigInt(value);
2128
2050
  }
2129
2051
 
2130
2052
  throw new Error("Type " + typeof value + " is not supported in Client Component props." + describeObjectForErrorMessage(parent, key));
@@ -2861,6 +2783,12 @@ function parseModelString(response, parentObject, key, value) {
2861
2783
  return undefined;
2862
2784
  }
2863
2785
 
2786
+ case 'n':
2787
+ {
2788
+ // BigInt
2789
+ return BigInt(value.substring(2));
2790
+ }
2791
+
2864
2792
  default:
2865
2793
  {
2866
2794
  // We assume that anything else is a reference ID.