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
@@ -9,62 +9,60 @@
9
9
  */
10
10
  'use strict';var aa=require("react"),f=null,m=0;function n(a,b){if(0!==b.length)if(512<b.length)0<m&&(a.enqueue(new Uint8Array(f.buffer,0,m)),f=new Uint8Array(512),m=0),a.enqueue(b);else{var d=f.length-m;d<b.length&&(0===d?a.enqueue(f):(f.set(b.subarray(0,d),m),a.enqueue(f),b=b.subarray(d)),f=new Uint8Array(512),m=0);f.set(b,m);m+=b.length}return!0}var p=new TextEncoder;function q(a){return p.encode(a)}function ba(a,b){"function"===typeof a.error?a.error(b):a.close()}var r=JSON.stringify;
11
11
  function ca(a,b,d){a=r(d,a.toJSON);b=b.toString(16)+":"+a+"\n";return p.encode(b)}function t(a,b,d){a=r(d);b=b.toString(16)+":"+a+"\n";return p.encode(b)}
12
- var u=Symbol.for("react.client.reference"),da=Symbol.for("react.server.reference"),w=Symbol.for("react.element"),ea=Symbol.for("react.fragment"),fa=Symbol.for("react.provider"),ha=Symbol.for("react.server_context"),ia=Symbol.for("react.forward_ref"),ja=Symbol.for("react.suspense"),ka=Symbol.for("react.suspense_list"),la=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),oa=Symbol.for("react.default_value"),pa=Symbol.for("react.memo_cache_sentinel"),qa=Symbol.iterator;
13
- function y(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 y(a,2,!1,a.toLowerCase(),null,!1,!1)});
14
- "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 y(a,3,!1,a.toLowerCase(),null,!1,!1)});["rowSpan","start"].forEach(function(a){new y(a,5,!1,a.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function B(a){return a[1].toUpperCase()}
12
+ var u=Symbol.for("react.client.reference"),da=Symbol.for("react.server.reference"),w=Symbol.for("react.element"),ea=Symbol.for("react.fragment"),fa=Symbol.for("react.provider"),ha=Symbol.for("react.server_context"),ia=Symbol.for("react.forward_ref"),ja=Symbol.for("react.suspense"),ka=Symbol.for("react.suspense_list"),na=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),oa=Symbol.for("react.default_value"),pa=Symbol.for("react.memo_cache_sentinel"),qa=Symbol.iterator;
13
+ function z(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 z(2,a.toLowerCase(),null,!1,!1)});
14
+ "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 z(3,a.toLowerCase(),null,!1,!1)});["rowSpan","start"].forEach(function(a){new z(5,a.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function B(a){return a[1].toUpperCase()}
15
15
  "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(A,B)});
16
- "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(A,B)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(A,B)});["tabIndex","crossOrigin"].forEach(function(a){new y(a,1,!1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new y(a,1,!1,a.toLowerCase(),null,!0,!0)});
17
- var C={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,
18
- zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ra=["Webkit","ms","Moz","O"];Object.keys(C).forEach(function(a){ra.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);C[b]=C[a]})});var sa=Array.isArray;q('"></template>');q("<script>");q("\x3c/script>");q('<script src="');q('<script type="module" src="');q('" integrity="');q('" async="">\x3c/script>');q("\x3c!-- --\x3e");q(' style="');q(":");
19
- q(";");q(" ");q('="');q('"');q('=""');q(">");q("/>");q(' selected=""');q("\n");q("<!DOCTYPE html>");q("</");q(">");q('<template id="');q('"></template>');q("\x3c!--$--\x3e");q('\x3c!--$?--\x3e<template id="');q('"></template>');q("\x3c!--$!--\x3e");q("\x3c!--/$--\x3e");q("<template");q('"');q(' data-dgst="');q(' data-msg="');q(' data-stck="');q("></template>");q('<div hidden id="');q('">');q("</div>");q('<svg aria-hidden="true" style="display:none" id="');q('">');q("</svg>");q('<math aria-hidden="true" style="display:none" id="');
20
- q('">');q("</math>");q('<table hidden id="');q('">');q("</table>");q('<table hidden><tbody id="');q('">');q("</tbody></table>");q('<table hidden><tr id="');q('">');q("</tr></table>");q('<table hidden><colgroup id="');q('">');q("</colgroup></table>");q('$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("');q('$RS("');q('","');q('")\x3c/script>');q('<template data-rsi="" data-sid="');
21
- q('" data-pid="');q('$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("');
16
+ "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(A,B)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(A,B)});["tabIndex","crossOrigin"].forEach(function(a){new z(1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new z(1,a.toLowerCase(),null,!0,!0)});var C=Array.isArray;q('"></template>');q("<script>");q("\x3c/script>");q('<script src="');q('<script type="module" src="');q('" integrity="');
17
+ q('" async="">\x3c/script>');q("\x3c!-- --\x3e");q(' style="');q(":");q(";");q(" ");q('="');q('"');q('=""');q(">");q("/>");q(' selected=""');q("\n");q("<!DOCTYPE html>");q("</");q(">");q('<template id="');q('"></template>');q("\x3c!--$--\x3e");q('\x3c!--$?--\x3e<template id="');q('"></template>');q("\x3c!--$!--\x3e");q("\x3c!--/$--\x3e");q("<template");q('"');q(' data-dgst="');q(' data-msg="');q(' data-stck="');q("></template>");q('<div hidden id="');q('">');q("</div>");q('<svg aria-hidden="true" style="display:none" id="');
18
+ q('">');q("</svg>");q('<math aria-hidden="true" style="display:none" id="');q('">');q("</math>");q('<table hidden id="');q('">');q("</table>");q('<table hidden><tbody id="');q('">');q("</tbody></table>");q('<table hidden><tr id="');q('">');q("</tr></table>");q('<table hidden><colgroup id="');q('">');q("</colgroup></table>");q('$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("');
19
+ q('$RS("');q('","');q('")\x3c/script>');q('<template data-rsi="" data-sid="');q('" data-pid="');q('$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("');
22
20
  q('$RC("');q('$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("');
23
21
  q('$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
  q('$RR("');q('","');q('",');q('"');q(")\x3c/script>");q('<template data-rci="" data-bid="');q('<template data-rri="" data-bid="');q('" data-sid="');q('" data-sty="');q('$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("');q('$RX("');q('"');q(",");q(")\x3c/script>");q('<template data-rxi="" data-bid="');q('" data-dgst="');q('" data-msg="');q('" data-stck="');q('<style media="not all" data-precedence="');
25
23
  q('" data-href="');q('">');q("</style>");q('<style data-precedence="');q('" data-href="');q(" ");q('">');q("</style>");q("[");q(",[");q(",");q("]");var D=null;
26
- 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 ta(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ta(a)}
27
- function ua(a){var b=a.parent;null!==b&&ua(b);a.context._currentValue=a.value}function va(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):va(a,b)}
28
- function wa(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):wa(a,d);b.context._currentValue=b.value}function xa(a){var b=D;b!==a&&(null===b?ua(a):null===a?ta(b):b.depth===a.depth?E(b,a):b.depth>a.depth?va(b,a):wa(b,a),D=a)}function ya(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 za=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`");
29
- function Aa(){}function Ba(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Aa,Aa),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 za;}}var F=null;
30
- function Ca(){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 H=null,I=0,J=null;function Da(){var a=J;J=null;return a}function Ea(a){return a._currentValue}
31
- var Ia={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:K,useTransition:K,readContext:Ea,useContext:Ea,useReducer:K,useRef:K,useState:K,useInsertionEffect:K,useLayoutEffect:K,useImperativeHandle:K,useEffect:K,useId:Fa,useMutableSource:K,useSyncExternalStore:K,useCacheRefresh:function(){return Ga},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=pa;return b},use:Ha};
32
- function K(){throw Error("This Hook is not supported in Server Components.");}function Ga(){throw Error("Refreshing the cache is not supported in Server Components.");}function Fa(){if(null===H)throw Error("useId can only be used while React is rendering");var a=H.identifierCount++;return":"+H.identifierPrefix+"S"+a.toString(32)+":"}
33
- function Ha(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=I;I+=1;null===J&&(J=[]);return Ba(J,a,b)}if(a.$$typeof===ha)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ja(){return(new AbortController).signal}
34
- var Ka={getCacheSignal:function(){var a=L?L:new Map,b=a.get(Ja);void 0===b&&(b=Ja(),a.set(Ja,b));return b},getCacheForType:function(a){var b=L?L:new Map,d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},L=null;function La(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}
35
- function Ma(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(sa(a))return"[...]";a=La(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
36
- function M(a){if("string"===typeof a)return a;switch(a){case ja:return"Suspense";case ka:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ia:return M(a.render);case la:return M(a.type);case x:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
37
- function N(a,b){var d=La(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(sa(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):Ma(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===w)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):
38
- Ma(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 Na=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oa=Na.ContextRegistry,Pa=Na.ReactCurrentDispatcher,Qa=Na.ReactCurrentCache;function Ra(a){console.error(a)}
39
- function Sa(a,b,d,c,e){if(null!==Qa.current&&Qa.current!==Ka)throw Error("Currently React only supports one RSC renderer at a time.");Qa.current=Ka;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||
40
- "",identifierCount:1,onError:void 0===d?Ra:d,toJSON:function(l,v){return Ta(k,this,l,v)}};k.pendingChunks++;b=Ua(c);a=Va(k,a,b,g);h.push(a);return k}var Wa={};
41
- function Xa(a,b){a.pendingChunks++;var d=Va(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,Ya(a,d),d.id;case "rejected":var c=O(a,b.reason);Q(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;Ya(a,d)},function(e){d.status=4;e=O(a,e);Q(a,d.id,e);null!==a.destination&&
42
- R(a,a.destination)});return d.id}function Za(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function $a(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:x,_payload:a,_init:Za}}
43
- function S(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===u)return[w,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:$a(e):e}if("string"===typeof b)return[w,b,d,e];if("symbol"===typeof b)return b===ea?e.children:[w,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===u)return[w,b,d,e];switch(b.$$typeof){case x:var h=
44
- b._init;b=h(b._payload);return S(a,b,d,c,e,g);case ia:return a=b.render,I=0,J=g,a(e,void 0);case la:return S(a,b.type,d,c,e,g);case fa:return ya(b._context,e.value),[w,b,d,{value:e.value,children:e.children,__pop:Wa}]}}throw Error("Unsupported Server Component type: "+Ma(b));}function Ya(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&ab(a)}function Va(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return Ya(a,e)},thenableState:null};c.add(e);return e}
45
- function bb(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]===w&&"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 v=a.nextChunkId++,ma=r(l),z=v.toString(16)+":I"+ma+"\n";var P=p.encode(z);a.completedImportChunks.push(P);g.set(e,v);return b[0]===w&&"1"===d?"$L"+v.toString(16):"$"+v.toString(16)}catch(na){return a.pendingChunks++,
46
- b=a.nextChunkId++,d=O(a,na),Q(a,b,d),"$"+b.toString(16)}}
47
- function Ta(a,b,d,c){switch(c){case w:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===w||c.$$typeof===x);)try{switch(c.$$typeof){case w:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case x:var g=c._init;c=g(c._payload)}}catch(h){d=h===za?Ca():h;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=Va(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Da(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);Q(a,c,d);return"$L"+
48
- c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===u)return bb(a,b,d,c);if("function"===typeof c.then)return"$@"+Xa(a,c).toString(16);if(c.$$typeof===fa)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=t(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(c===Wa){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===oa?a.context._defaultValue:c;D=a.parent;return}return!sa(c)&&(null===c||"object"!==typeof c?a=null:(a=qa&&c[qa]||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===u)return bb(a,b,d,c);if(c.$$typeof===da)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,
24
+ 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 ra(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ra(a)}
25
+ function sa(a){var b=a.parent;null!==b&&sa(b);a.context._currentValue=a.value}function ta(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):ta(a,b)}
26
+ function ua(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):ua(a,d);b.context._currentValue=b.value}function va(a){var b=D;b!==a&&(null===b?sa(a):null===a?ra(b):b.depth===a.depth?E(b,a):b.depth>a.depth?ta(b,a):ua(b,a),D=a)}function wa(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 xa=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`");
27
+ function ya(){}function za(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(ya,ya),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 xa;}}var F=null;
28
+ function Aa(){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 H=null,I=0,J=null;function Ba(){var a=J;J=null;return a}function Ca(a){return a._currentValue}
29
+ var Ga={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:K,useTransition:K,readContext:Ca,useContext:Ca,useReducer:K,useRef:K,useState:K,useInsertionEffect:K,useLayoutEffect:K,useImperativeHandle:K,useEffect:K,useId:Da,useMutableSource:K,useSyncExternalStore:K,useCacheRefresh:function(){return Ea},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=pa;return b},use:Fa};
30
+ function K(){throw Error("This Hook is not supported in Server Components.");}function Ea(){throw Error("Refreshing the cache is not supported in Server Components.");}function Da(){if(null===H)throw Error("useId can only be used while React is rendering");var a=H.identifierCount++;return":"+H.identifierPrefix+"S"+a.toString(32)+":"}
31
+ function Fa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=I;I+=1;null===J&&(J=[]);return za(J,a,b)}if(a.$$typeof===ha)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ha(){return(new AbortController).signal}
32
+ var Ia={getCacheSignal:function(){var a=L?L:new Map,b=a.get(Ha);void 0===b&&(b=Ha(),a.set(Ha,b));return b},getCacheForType:function(a){var b=L?L:new Map,d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},L=null;function Ja(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}
33
+ function Ka(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(C(a))return"[...]";a=Ja(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
34
+ function M(a){if("string"===typeof a)return a;switch(a){case ja:return"Suspense";case ka:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ia:return M(a.render);case na:return M(a.type);case x:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
35
+ function N(a,b){var d=Ja(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(C(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):Ka(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===w)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):
36
+ Ka(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 La=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ma=La.ContextRegistry,Na=La.ReactCurrentDispatcher,Oa=La.ReactCurrentCache;function Pa(a){console.error(a)}
37
+ function Qa(a,b,d,c,e){if(null!==Oa.current&&Oa.current!==Ia)throw Error("Currently React only supports one RSC renderer at a time.");Oa.current=Ia;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||
38
+ "",identifierCount:1,onError:void 0===d?Pa:d,toJSON:function(l,v){return Ra(k,this,l,v)}};k.pendingChunks++;b=Sa(c);a=Ta(k,a,b,g);h.push(a);return k}var Ua={};
39
+ function Va(a,b){a.pendingChunks++;var d=Ta(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,Wa(a,d),d.id;case "rejected":var c=O(a,b.reason);Q(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;Wa(a,d)},function(e){d.status=4;e=O(a,e);Q(a,d.id,e);null!==a.destination&&
40
+ R(a,a.destination)});return d.id}function Xa(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Ya(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:x,_payload:a,_init:Xa}}
41
+ function S(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===u)return[w,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:Ya(e):e}if("string"===typeof b)return[w,b,d,e];if("symbol"===typeof b)return b===ea?e.children:[w,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===u)return[w,b,d,e];switch(b.$$typeof){case x:var h=
42
+ b._init;b=h(b._payload);return S(a,b,d,c,e,g);case ia:return a=b.render,I=0,J=g,a(e,void 0);case na:return S(a,b.type,d,c,e,g);case fa:return wa(b._context,e.value),[w,b,d,{value:e.value,children:e.children,__pop:Ua}]}}throw Error("Unsupported Server Component type: "+Ka(b));}function Wa(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&Za(a)}function Ta(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return Wa(a,e)},thenableState:null};c.add(e);return e}
43
+ function $a(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]===w&&"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 v=a.nextChunkId++,la=r(l),y=v.toString(16)+":I"+la+"\n";var P=p.encode(y);a.completedImportChunks.push(P);g.set(e,v);return b[0]===w&&"1"===d?"$L"+v.toString(16):"$"+v.toString(16)}catch(ma){return a.pendingChunks++,
44
+ b=a.nextChunkId++,d=O(a,ma),Q(a,b,d),"$"+b.toString(16)}}
45
+ function Ra(a,b,d,c){switch(c){case w:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===w||c.$$typeof===x);)try{switch(c.$$typeof){case w:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case x:var g=c._init;c=g(c._payload)}}catch(h){d=h===xa?Aa():h;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=Ta(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ba(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);Q(a,c,d);return"$L"+
46
+ c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===u)return $a(a,b,d,c);if("function"===typeof c.then)return"$@"+Va(a,c).toString(16);if(c.$$typeof===fa)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=t(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(c===Ua){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=
47
+ c===oa?a.context._defaultValue:c;D=a.parent;return}return!C(c)&&(null===c||"object"!==typeof c?a=null:(a=qa&&c[qa]||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===u)return $a(a,b,d,c);if(c.$$typeof===da)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,
50
48
  e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=ca(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"===
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=t(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."+
52
- 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||""}function cb(a,b){null!==a.destination?(a.status=2,ba(a.destination,b)):(a.status=1,a.fatalError=b)}
49
+ 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=t(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+
50
+ " 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 ab(a,b){null!==a.destination?(a.status=2,ba(a.destination,b)):(a.status=1,a.fatalError=b)}
53
51
  function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+r(d)+"\n";b=p.encode(b);a.completedErrorChunks.push(b)}
54
- function ab(a){var b=Pa.current,d=L;Pa.current=Ia;L=a.cache;H=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){xa(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===w){var l=k,v=g.thenableState;g.model=k;k=S(h,l.type,l.key,l.ref,l.props,v);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===w;)l=k,g.model=k,k=S(h,l.type,l.key,l.ref,l.props,null)}var ma=ca(h,g.id,k);h.completedJSONChunks.push(ma);h.abortableTasks.delete(g);
55
- g.status=1}catch(G){var z=G===za?Ca():G;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var P=g.ping;z.then(P,P);g.thenableState=Da()}else{h.abortableTasks.delete(g);g.status=4;var na=O(h,z);Q(h,g.id,na)}}}}null!==a.destination&&R(a,a.destination)}catch(G){O(a,G),cb(a,G)}finally{Pa.current=b,L=d,H=null}}
52
+ function Za(a){var b=Na.current,d=L;Na.current=Ga;L=a.cache;H=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){va(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===w){var l=k,v=g.thenableState;g.model=k;k=S(h,l.type,l.key,l.ref,l.props,v);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===w;)l=k,g.model=k,k=S(h,l.type,l.key,l.ref,l.props,null)}var la=ca(h,g.id,k);h.completedJSONChunks.push(la);h.abortableTasks.delete(g);
53
+ g.status=1}catch(G){var y=G===xa?Aa():G;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var P=g.ping;y.then(P,P);g.thenableState=Ba()}else{h.abortableTasks.delete(g);g.status=4;var ma=O(h,y);Q(h,g.id,ma)}}}}null!==a.destination&&R(a,a.destination)}catch(G){O(a,G),ab(a,G)}finally{Na.current=b,L=d,H=null}}
56
54
  function R(a,b){f=new Uint8Array(512);m=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,n(b,d[c]);d.splice(0,c);var e=a.completedJSONChunks;for(c=0;c<e.length;c++)a.pendingChunks--,n(b,e[c]);e.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,n(b,g[c]);g.splice(0,c)}finally{f&&0<m&&(b.enqueue(new Uint8Array(f.buffer,0,m)),f=null,m=0)}0===a.pendingChunks&&b.close()}
57
- function db(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++;Q(a,e,c);d.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=t(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){O(a,g),cb(a,g)}}
58
- function Ua(a){if(a){var b=D;xa(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];Oa[e]||(Oa[e]=aa.createServerContext(e,oa));ya(Oa[e],c)}a=D;xa(b);return a}return null}var T=new Map,eb=new Map;function fb(){}
59
- function gb(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,fb);T.set(e,g)}else null!==g&&d.push(g)}if(a.async){if(b=eb.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});eb.set(a.id,k);return k}return 0<d.length?Promise.all(d):
60
- null}function hb(a){if(a.async){var b=eb.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);
55
+ function bb(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++;Q(a,e,c);d.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=t(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){O(a,g),ab(a,g)}}
56
+ function Sa(a){if(a){var b=D;va(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];Ma[e]||(Ma[e]=aa.createServerContext(e,oa));wa(Ma[e],c)}a=D;va(b);return a}return null}var T=new Map,cb=new Map;function db(){}
57
+ function eb(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,db);T.set(e,g)}else null!==g&&d.push(g)}if(a.async){if(b=cb.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});cb.set(a.id,k);return k}return 0<d.length?Promise.all(d):
58
+ null}function fb(a){if(a.async){var b=cb.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);
61
59
  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)}
62
- function ib(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 jb(a,b,d,c,e,g){var h=a._bundlerConfig[b];a=gb(h);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var l=hb(h);return l.bind.apply(l,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return hb(h)});else return hb(h);d.then(kb(c,e,g),lb(c));return null}var X=null,Y=null;
63
- 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 mb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&ib(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}
64
- function kb(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 lb(a){return function(b){return ib(a,b)}}
65
- function nb(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 jb(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=
66
- X,a.then(kb(c,b,d),lb(c)),null;default:throw a.reason;}}return c}function ob(a){var b=new Map,d={_bundlerConfig:a,_chunks:b,_fromJSON:function(c,e){return"string"===typeof e?nb(d,this,c,e):e}};return d}
67
- function pb(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))}
68
- exports.decodeReply=function(a,b){var d=ob(b);"string"===typeof a?pb(d,0,a):a.forEach(function(c,e){if("string"===typeof c)pb(d,+e,c);else throw Error("Not implemented.");});mb(d,Error("Connection closed."));return Z(d,0)};
69
- exports.renderToReadableStream=function(a,b,d){var c=Sa(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)db(c,e.reason);else{var g=function(){db(c,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){ab(c)},pull:function(h){if(1===c.status)c.status=2,ba(h,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=h;try{R(c,h)}catch(k){O(c,k),
70
- cb(c,k)}}},cancel:function(){}},{highWaterMark:0})};
60
+ function gb(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 hb(a,b,d,c,e,g){var h=a._bundlerConfig[b];a=eb(h);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var l=fb(h);return l.bind.apply(l,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return fb(h)});else return fb(h);d.then(ib(c,e,g),jb(c));return null}var X=null,Y=null;
61
+ 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 kb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&gb(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}
62
+ function ib(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 jb(a){return function(b){return gb(a,b)}}
63
+ function lb(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 hb(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;
64
+ case "pending":case "blocked":return c=X,a.then(ib(c,b,d),jb(c)),null;default:throw a.reason;}}return c}function mb(a){var b=new Map,d={_bundlerConfig:a,_chunks:b,_fromJSON:function(c,e){return"string"===typeof e?lb(d,this,c,e):e}};return d}
65
+ function nb(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))}
66
+ exports.decodeReply=function(a,b){var d=mb(b);"string"===typeof a?nb(d,0,a):a.forEach(function(c,e){if("string"===typeof c)nb(d,+e,c);else throw Error("Not implemented.");});kb(d,Error("Connection closed."));return Z(d,0)};
67
+ exports.renderToReadableStream=function(a,b,d){var c=Qa(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)bb(c,e.reason);else{var g=function(){bb(c,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){Za(c)},pull:function(h){if(1===c.status)c.status=2,ba(h,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=h;try{R(c,h)}catch(k){O(c,k),
68
+ ab(c,k)}}},cancel:function(){}},{highWaterMark:0})};
@@ -269,8 +269,8 @@ function getIteratorFn(maybeIterable) {
269
269
  return null;
270
270
  }
271
271
 
272
+ // A simple string attribute.
272
273
  // Attributes that aren't in the filter are presumed to have this type.
273
-
274
274
  var STRING = 1; // A string attribute that accepts booleans in React. In HTML, these are called
275
275
  // "enumerated" attributes with "true" and "false" as possible values.
276
276
  // When true, it should be set to a "true" string.
@@ -290,12 +290,10 @@ var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a n
290
290
 
291
291
  var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
292
292
 
293
- function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
293
+ function PropertyInfoRecord(type, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
294
294
  this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
295
295
  this.attributeName = attributeName;
296
296
  this.attributeNamespace = attributeNamespace;
297
- this.mustUseProperty = mustUseProperty;
298
- this.propertyName = name;
299
297
  this.type = type;
300
298
  this.sanitizeURL = sanitizeURL;
301
299
  this.removeEmptyString = removeEmptyString;
@@ -305,8 +303,7 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
305
303
 
306
304
  ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
307
305
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
308
- new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
309
- name.toLowerCase(), // attributeName
306
+ new PropertyInfoRecord(BOOLEANISH_STRING, name.toLowerCase(), // attributeName
310
307
  null, // attributeNamespace
311
308
  false, // sanitizeURL
312
309
  false);
@@ -317,17 +314,15 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
317
314
  'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
318
315
  'itemScope'].forEach(function (name) {
319
316
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
320
- new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
321
- name.toLowerCase(), // attributeName
317
+ new PropertyInfoRecord(BOOLEAN, name.toLowerCase(), // attributeName
322
318
  null, // attributeNamespace
323
319
  false, // sanitizeURL
324
320
  false);
325
- }); // These are the few React props that we set as DOM properties
321
+ }); // These are HTML attributes that are "overloaded booleans": they behave like
326
322
 
327
323
  ['rowSpan', 'start'].forEach(function (name) {
328
324
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
329
- new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
330
- name.toLowerCase(), // attributeName
325
+ new PropertyInfoRecord(NUMERIC, name.toLowerCase(), // attributeName
331
326
  null, // attributeNamespace
332
327
  false, // sanitizeURL
333
328
  false);
@@ -368,96 +363,19 @@ var capitalize = function (token) {
368
363
 
369
364
  ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
370
365
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
371
- new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
372
- attributeName.toLowerCase(), // attributeName
366
+ new PropertyInfoRecord(STRING, attributeName.toLowerCase(), // attributeName
373
367
  null, // attributeNamespace
374
368
  false, // sanitizeURL
375
369
  false);
376
370
  }); // These attributes accept URLs. These must not allow javascript: URLS.
377
371
  ['src', 'href', 'action'].forEach(function (attributeName) {
378
372
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
379
- new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
380
- attributeName.toLowerCase(), // attributeName
373
+ new PropertyInfoRecord(STRING, attributeName.toLowerCase(), // attributeName
381
374
  null, // attributeNamespace
382
375
  true, // sanitizeURL
383
376
  true);
384
377
  });
385
378
 
386
- /**
387
- * CSS properties which accept numbers but are not in units of "px".
388
- */
389
- var isUnitlessNumber = {
390
- animationIterationCount: true,
391
- aspectRatio: true,
392
- borderImageOutset: true,
393
- borderImageSlice: true,
394
- borderImageWidth: true,
395
- boxFlex: true,
396
- boxFlexGroup: true,
397
- boxOrdinalGroup: true,
398
- columnCount: true,
399
- columns: true,
400
- flex: true,
401
- flexGrow: true,
402
- flexPositive: true,
403
- flexShrink: true,
404
- flexNegative: true,
405
- flexOrder: true,
406
- gridArea: true,
407
- gridRow: true,
408
- gridRowEnd: true,
409
- gridRowSpan: true,
410
- gridRowStart: true,
411
- gridColumn: true,
412
- gridColumnEnd: true,
413
- gridColumnSpan: true,
414
- gridColumnStart: true,
415
- fontWeight: true,
416
- lineClamp: true,
417
- lineHeight: true,
418
- opacity: true,
419
- order: true,
420
- orphans: true,
421
- scale: true,
422
- tabSize: true,
423
- widows: true,
424
- zIndex: true,
425
- zoom: true,
426
- // SVG-related properties
427
- fillOpacity: true,
428
- floodOpacity: true,
429
- stopOpacity: true,
430
- strokeDasharray: true,
431
- strokeDashoffset: true,
432
- strokeMiterlimit: true,
433
- strokeOpacity: true,
434
- strokeWidth: true
435
- };
436
- /**
437
- * @param {string} prefix vendor-specific prefix, eg: Webkit
438
- * @param {string} key style name, eg: transitionDuration
439
- * @return {string} style name prefixed with `prefix`, properly camelCased, eg:
440
- * WebkitTransitionDuration
441
- */
442
-
443
- function prefixKey(prefix, key) {
444
- return prefix + key.charAt(0).toUpperCase() + key.substring(1);
445
- }
446
- /**
447
- * Support style names that may come passed in prefixed by adding permutations
448
- * of vendor prefixes.
449
- */
450
-
451
-
452
- var prefixes = ['Webkit', 'ms', 'Moz', 'O']; // Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
453
- // infinite loop, because it iterates over the newly added props too.
454
-
455
- Object.keys(isUnitlessNumber).forEach(function (prop) {
456
- prefixes.forEach(function (prefix) {
457
- isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];
458
- });
459
- });
460
-
461
379
  var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
462
380
 
463
381
  function isArray(a) {
@@ -1755,6 +1673,10 @@ function serializeUndefined() {
1755
1673
  return '$undefined';
1756
1674
  }
1757
1675
 
1676
+ function serializeBigInt(n) {
1677
+ return '$n' + n.toString(10);
1678
+ }
1679
+
1758
1680
  function serializeClientReference(request, parent, key, clientReference) {
1759
1681
  var clientReferenceKey = getClientReferenceKey(clientReference);
1760
1682
  var writtenClientReferences = request.writtenClientReferences;
@@ -2058,7 +1980,7 @@ function resolveModelToJSON(request, parent, key, value) {
2058
1980
  }
2059
1981
 
2060
1982
  if (typeof value === 'bigint') {
2061
- throw new Error("BigInt (" + value + ") is not yet supported in Client Component props." + describeObjectForErrorMessage(parent, key));
1983
+ return serializeBigInt(value);
2062
1984
  }
2063
1985
 
2064
1986
  throw new Error("Type " + typeof value + " is not supported in Client Component props." + describeObjectForErrorMessage(parent, key));
@@ -2837,6 +2759,12 @@ function parseModelString(response, parentObject, key, value) {
2837
2759
  return undefined;
2838
2760
  }
2839
2761
 
2762
+ case 'n':
2763
+ {
2764
+ // BigInt
2765
+ return BigInt(value.substring(2));
2766
+ }
2767
+
2840
2768
  default:
2841
2769
  {
2842
2770
  // We assume that anything else is a reference ID.