react-server-dom-webpack 18.3.0-canary-a870b2d54-20240314 → 18.3.0-canary-4b84f1161-20240318
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.
- package/cjs/react-server-dom-webpack-client.browser.development.js +176 -272
- package/cjs/react-server-dom-webpack-client.browser.production.js +146 -127
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +25 -24
- package/cjs/react-server-dom-webpack-client.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +181 -324
- package/cjs/react-server-dom-webpack-client.edge.production.js +151 -168
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +30 -30
- package/cjs/react-server-dom-webpack-client.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +181 -324
- package/cjs/react-server-dom-webpack-client.node.production.js +151 -168
- package/cjs/react-server-dom-webpack-client.node.production.min.js +29 -28
- package/cjs/react-server-dom-webpack-client.node.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +181 -324
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +151 -168
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +30 -30
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-node-register.js.map +1 -1
- package/cjs/react-server-dom-webpack-plugin.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +424 -587
- package/cjs/react-server-dom-webpack-server.browser.production.js +368 -403
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +68 -65
- package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.edge.development.js +424 -590
- package/cjs/react-server-dom-webpack-server.edge.production.js +369 -407
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +69 -67
- package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.development.js +423 -586
- package/cjs/react-server-dom-webpack-server.node.production.js +368 -403
- package/cjs/react-server-dom-webpack-server.node.production.min.js +72 -70
- package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +423 -586
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +368 -403
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +69 -67
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
- package/package.json +11 -5
- package/umd/react-server-dom-webpack-client.browser.development.js +176 -272
- package/umd/react-server-dom-webpack-client.browser.production.min.js +23 -22
- package/umd/react-server-dom-webpack-server.browser.development.js +424 -587
- package/umd/react-server-dom-webpack-server.browser.production.min.js +52 -52
@@ -8,55 +8,55 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
10
|
|
11
|
-
'use strict';(function(){(function(p,
|
12
|
-
r.length-q;
|
13
|
-
$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
ib
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
if(null!=
|
27
|
-
var
|
28
|
-
|
29
|
-
|
30
|
-
c=
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
" is not supported in Client Component props."+
|
37
|
-
|
38
|
-
|
39
|
-
for(
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
function
|
44
|
-
a.
|
45
|
-
b)
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
case "
|
50
|
-
},set:function(){throw Error("Cannot assign to a client module from a server module.");}},
|
51
|
-
|
52
|
-
|
53
|
-
g="S|"+a;if(e.has(g))return
|
54
|
-
|
55
|
-
|
56
|
-
useMemoCache:function(a){for(var b=Array(a),
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
11
|
+
'use strict';(function(){(function(p,G){"object"===typeof exports&&"undefined"!==typeof module?G(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],G):(p="undefined"!==typeof globalThis?globalThis:p||self,G(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,G,oa){function S(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<q&&(a.enqueue(new Uint8Array(r.buffer,0,q)),r=new Uint8Array(2048),q=0),a.enqueue(b);else{var d=
|
12
|
+
r.length-q;d<b.byteLength&&(0===d?a.enqueue(r):(r.set(b.subarray(0,d),q),a.enqueue(r),b=b.subarray(d)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function pa(a,b){"function"===typeof a.error?a.error(b):a.close()}function C(a,b,d){return Object.defineProperties(a,{$$typeof:{value:H},$$id:{value:b},$$async:{value:d}})}function qa(){var a=Za.apply(this,arguments);if(this.$$typeof===T){var b=$a.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:T},$$id:{value:this.$$id},
|
13
|
+
$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:qa}})}return a}function ra(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=C(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
14
|
+
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=C({},a.$$id,!0),e=new Proxy(c,sa);a.status="fulfilled";a.value=e;return a.then=C(function(g,f){return Promise.resolve(g(e))},a.$$id+"#then",!1)}c=a[b];c||(c=C(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
15
|
+
},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ab));return c}function I(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null}function U(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.");
|
16
|
+
U(a,d);b.context._currentValue=b.value}}}function ta(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ta(a)}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?U(a,b):va(a,b)}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.");
|
17
|
+
a.depth===d.depth?U(a,d):wa(a,d);b.context._currentValue=b.value}function xa(){}function bb(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(xa,xa),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;
|
18
|
+
case "rejected":throw b.reason;}V=b;throw ca;}}function ya(){if(null===V)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=V;V=null;return a}function za(){var a=z;z=null;return a}function Aa(a){return a._currentValue}function v(){throw Error("This Hook is not supported in Server Components.");}function cb(){throw Error("Refreshing the cache is not supported in Server Components.");}function da(){return(new AbortController).signal}function Ba(){var a=
|
19
|
+
l?l:null;return a?a.cache:new Map}function Ca(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}function ea(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(fa(a))return"[...]";a=Ca(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}function W(a){if("string"===typeof a)return a;switch(a){case db:return"Suspense";case eb:return"SuspenseList"}if("object"===
|
20
|
+
typeof a)switch(a.$$typeof){case Da:return W(a.render);case Ea:return W(a.type);case J:var b=a._payload;a=a._init;try{return W(a(b))}catch(d){}}return""}function D(a,b){var d=Ca(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(fa(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?D(f):ea(f);""+g===b?(d=e.length,c=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===t)e="<"+W(a.type)+"/>";else{e="{";g=Object.keys(a);
|
21
|
+
for(f=0;f<g.length;f++){0<f&&(e+=", ");var k=g[f],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?D(h):ea(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}function fb(a){console.error(a)}function gb(a){}function hb(a,b,d,c,e,g){if(null!==ha.current&&ha.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");
|
22
|
+
ib.current=jb;ha.current=Fa;var f=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:f,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,
|
23
|
+
taintCleanupQueue:[],onError:void 0===d?fb:d,onPostpone:void 0===g?gb:g,toJSON:function(m,y){return kb(h,this,m,y)}};h.pendingChunks++;a=X(h,a,null,f);c.push(a);return h}function lb(a,b){a.pendingChunks++;var d=X(a,null,K,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,ia(a,d),d.id;case "rejected":var c=w(a,b.reason);E(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)},
|
24
|
+
function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;ia(a,d)},function(e){d.status=4;e=w(a,e);E(a,d.id,e);a.abortableTasks.delete(d);null!==a.destination&&L(a,a.destination)});return d.id}function n(a,b,d){d=M(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=A.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,L(a,d))}function mb(a){if("fulfilled"===
|
25
|
+
a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function nb(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:J,_payload:a,_init:mb}}function N(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.");
|
26
|
+
if("function"===typeof b){if(b.$$typeof===H)return[t,b,d,e];Y=0;z=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:nb(e):e}if("string"===typeof b)return[t,b,d,e];if("symbol"===typeof b)return b===ob?e.children:[t,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===H)return[t,b,d,e];switch(b.$$typeof){case J:var f=b._init;b=f(b._payload);return N(a,b,d,c,e,g);case Da:return a=b.render,Y=0,z=g,a(e,void 0);case Ea:return N(a,b.type,d,c,e,g)}}throw Error("Unsupported Server Component type: "+
|
27
|
+
ea(b));}function ia(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,Ga(a))}function X(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ia(a,e)},thenableState:null};c.add(e);return e}function u(a){return"$"+a.toString(16)}function Ha(a,b,d){a=M(d);b=b.toString(16)+":"+a+"\n";return A.encode(b)}function Ia(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===t&&"1"===
|
28
|
+
d?"$L"+f.toString(16):u(f);try{var k=a.bundlerConfig,h=c.$$id;f="";var m=k[h];if(m)f=m.name;else{var y=h.lastIndexOf("#");-1!==y&&(f=h.slice(y+1),m=k[h.slice(0,y)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var pb=!0===c.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var Z=a.nextChunkId++,qb=M(pb),rb=Z.toString(16)+":I"+qb+"\n",sb=A.encode(rb);a.completedImportChunks.push(sb);
|
29
|
+
g.set(e,Z);return b[0]===t&&"1"===d?"$L"+Z.toString(16):u(Z)}catch(tb){return a.pendingChunks++,b=a.nextChunkId++,d=w(a,tb),E(a,b,d),u(b)}}function O(a,b){a.pendingChunks++;b=X(a,b,K,a.abortableTasks);Ja(a,b);return b.id}function kb(a,b,d,c){switch(c){case t:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===t||c.$$typeof===J);)try{switch(c.$$typeof){case t:var e=a.writtenObjects,g=e.get(c);if(void 0!==g){if(-1===g){var f=O(a,c);return u(f)}if(B===c)B=null;else return u(g)}else e.set(c,-1);
|
30
|
+
var k=c;c=N(a,k.type,k.key,k.ref,k.props,null);break;case J:var h=c._init;c=h(c._payload)}}catch(m){b=m===ca?ya():m;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=X(a,c,K,a.abortableTasks),c=a.ping,b.then(c,c),a.thenableState=za(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=w(a,b);E(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===H)return Ia(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===
|
31
|
+
typeof c.then){if(void 0!==d)if(B===c)B=null;else return"$@"+d.toString(16);a=lb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=O(a,c),u(a);if(B===c)B=null;else return u(d)}else b.set(c,-1);if(fa(c))return c;if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+O(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&
|
32
|
+
null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+O(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Ka&&c[Ka]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=La(c);if(a!==ub&&(null===a||null!==La(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+
|
33
|
+
c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,c=A.encode(c),d=c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",d=A.encode(d),a.completedRegularChunks.push(d,c),u(b);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===H)return Ia(a,b,d,c);
|
34
|
+
if(c.$$typeof===T)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=O(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+D(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".'+
|
35
|
+
D(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;g=e.get(c);if(void 0!==g)return u(g);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.")+D(b,d));a.pendingChunks++;b=a.nextChunkId++;d=Ha(a,b,"$S"+g);a.completedImportChunks.push(d);e.set(c,b);return u(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+
|
36
|
+
" is not supported in Client Component props."+D(b,d));}function w(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 ja(a,b){null!==a.destination?(a.status=2,pa(a.destination,b)):(a.status=1,a.fatalError=b)}function E(a,b,d,c){d={digest:d};b=b.toString(16)+
|
37
|
+
":E"+M(d)+"\n";b=A.encode(b);a.completedErrorChunks.push(b)}function Ja(a,b){if(0===b.status){var d=K,c=b.context;d!==c&&(null===d?ua(c):null===c?ta(d):d.depth===c.depth?U(d,c):d.depth>c.depth?va(d,c):wa(d,c),K=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===t){a.writtenObjects.set(e,b.id);d=e;var g=b.thenableState;b.model=e;e=N(a,d.type,d.key,d.ref,d.props,g);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===t;)a.writtenObjects.set(e,b.id),g=e,b.model=e,e=N(a,
|
38
|
+
g.type,g.key,g.ref,g.props,null)}"object"===typeof e&&null!==e&&a.writtenObjects.set(e,b.id);var f=b.id;B=e;var k=M(e,a.toJSON),h=f.toString(16)+":"+k+"\n",m=A.encode(h);a.completedRegularChunks.push(m);a.abortableTasks.delete(b);b.status=1}catch(y){f=y===ca?ya():y,"object"===typeof f&&null!==f&&"function"===typeof f.then?(a=b.ping,f.then(a,a),b.thenableState=za()):(a.abortableTasks.delete(b),b.status=4,f=w(a,f),E(a,b.id,f))}}}function Ga(a){var b=ka.current;ka.current=vb;var d=l;P=l=a;try{var c=
|
39
|
+
a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Ja(a,c[e]);null!==a.destination&&L(a,a.destination)}catch(g){w(a,g),ja(a,g)}finally{ka.current=b,P=null,l=d}}function L(a,b){r=new Uint8Array(2048);q=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,S(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)S(b,e[c]);e.splice(0,c);var g=a.completedRegularChunks;for(c=0;c<g.length;c++)a.pendingChunks--,S(b,g[c]);g.splice(0,c);var f=a.completedErrorChunks;
|
40
|
+
for(c=0;c<f.length;c++)a.pendingChunks--,S(b,f[c]);f.splice(0,c)}finally{a.flushScheduled=!1,r&&0<q&&(b.enqueue(new Uint8Array(r.buffer,0,q)),r=null,q=0)}0===a.pendingChunks&&b.close()}function la(a,b){try{var d=a.abortableTasks;if(0<d.size){a.pendingChunks++;var c=a.nextChunkId++,e=void 0===b?Error("The render was aborted by the server without a reason."):b,g=w(a,e);E(a,c,g,e);d.forEach(function(f){f.status=3;var k=u(c);f=Ha(a,f.id,k);a.completedErrorChunks.push(f)});d.clear()}null!==a.destination&&
|
41
|
+
L(a,a.destination)}catch(f){w(a,f),ja(a,f)}}function Ma(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}function Na(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status=
|
42
|
+
"rejected";b.reason=d});return b}function wb(){}function Oa(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++],g=b[c++],f=aa.get(e);void 0===f?(Pa.set(e,g),g=__webpack_chunk_load__(e),d.push(g),f=aa.set.bind(aa,e,null),g.then(f,wb),aa.set(e,g)):null!==f&&d.push(f)}return 4===a.length?0===d.length?Na(a[0]):Promise.all(d).then(function(){return Na(a[0])}):0<d.length?Promise.all(d):null}function F(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=
|
43
|
+
b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function ba(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}function Qa(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Ra(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Qa(d,b)}}function xb(a,b,d,c,e,g){var f=Ma(a._bundlerConfig,b);a=Oa(f);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=F(f);return h.bind.apply(h,[null].concat(k))});
|
44
|
+
else if(a)d=Promise.resolve(a).then(function(){return F(f)});else return F(f);d.then(Sa(c,e,g),Ta(c));return null}function ma(a){var b=Q,d=x;Q=a;x=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==x&&0<x.deps?(x.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{Q=b,x=d}}function yb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Ra(d,b)})}function R(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+
|
45
|
+
b),c=null!=c?new ba("resolved_model",c,null,a):new ba("pending",null,null,a),d.set(b,c));return c}function Sa(a,b,d){if(x){var c=x;c.deps++}else c=x={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&&Qa(e,c.value))}}function Ta(a){return function(b){return Ra(a,b)}}function na(a,b){a=R(a,b);"resolved_model"===a.status&&ma(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function zb(a,b,d,c){if("$"===
|
46
|
+
c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),R(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=na(a,c),xb(a,c.id,c.bound,Q,b,d);case "Q":return b=parseInt(c.slice(2),16),a=na(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=na(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(e)&&g.append(k.slice(e.length),f)});return g;case "I":return Infinity;
|
47
|
+
case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=R(a,c);switch(a.status){case "resolved_model":ma(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=Q,a.then(Sa(c,b,d),Ta(c)),null;default:throw a.reason;}}return c}function Ua(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e=
|
48
|
+
{_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(g,f){return"string"===typeof f?zb(e,this,g,f):f}};return e}function Va(a){yb(a,Error("Connection closed."))}function Wa(a,b,d){var c=Ma(a,b);a=Oa(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var g=F(c);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return F(c)}):Promise.resolve(F(c))}function Xa(a,b,d){a=Ua(b,d,a);Va(a);a=R(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;
|
49
|
+
return a.value}var r=null,q=0,A=new TextEncoder,H=Symbol.for("react.client.reference"),T=Symbol.for("react.server.reference"),Za=Function.prototype.bind,$a=Array.prototype.slice,Ab=Promise.prototype,ab={get:function(a,b,d){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
|
50
|
+
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},sa={get:function(a,b,d){return ra(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ra(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},
|
51
|
+
getPrototypeOf:function(a){return Ab},set:function(){throw Error("Cannot assign to a client module from a server module.");}},jb={prefetchDNS:function(a){if("string"===typeof a&&a){var b=l?l:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),n(b,"D",a))}}},preconnect:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?n(d,"C",[a,b]):n(d,"C",a))}}},preload:function(a,b,d){if("string"===typeof a){var c=l?
|
52
|
+
l:null;if(c){var e=c.hints,g="L";if("image"===b&&d){var f=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(d=I(d))?n(c,"L",[a,b,d]):n(c,"L",[a,b]))}}},preloadModule:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=I(b))?n(d,"m",[a,b]):n(d,"m",a)}}},preinitStyle:function(a,b,d){if("string"===typeof a){var c=
|
53
|
+
l?l:null;if(c){var e=c.hints,g="S|"+a;if(!e.has(g))return e.add(g),(d=I(d))?n(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?n(c,"S",[a,b]):n(c,"S",a)}}},preinitScript:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=I(b))?n(d,"X",[a,b]):n(d,"X",a)}}},preinitModuleScript:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=I(b))?n(d,"M",[a,b]):n(d,"M",a)}}}},ib=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,
|
54
|
+
t=Symbol.for("react.element"),ob=Symbol.for("react.fragment"),Bb=Symbol.for("react.server_context"),Da=Symbol.for("react.forward_ref"),db=Symbol.for("react.suspense"),eb=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),Cb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Ka=Symbol.iterator,K=null,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`"),
|
55
|
+
V=null,P=null,Y=0,z=null,vb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:v,useTransition:v,readContext:Aa,useContext:Aa,useReducer:v,useRef:v,useState:v,useInsertionEffect:v,useLayoutEffect:v,useImperativeHandle:v,useEffect:v,useId:function(){if(null===P)throw Error("useId can only be used while React is rendering");var a=P.identifierCount++;return":"+P.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:v,useCacheRefresh:function(){return cb},
|
56
|
+
useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Cb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Y;Y+=1;null===z&&(z=[]);return bb(z,a,b)}if(a.$$typeof===Bb)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},Fa={getCacheSignal:function(){var a=Ba(),b=a.get(da);void 0===b&&(b=da(),a.set(da,b));return b},getCacheForType:function(a){var b=Ba(),d=b.get(a);void 0===d&&(d=a(),
|
57
|
+
b.set(a,d));return d}},fa=Array.isArray,La=Object.getPrototypeOf,Db=oa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ya=oa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!Ya)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var ub=Object.prototype,M=JSON.stringify,ha=Ya.ReactCurrentCache,ka=Db.ReactCurrentDispatcher,l=null,B=!1,aa=new Map,Pa=new Map,
|
58
|
+
Eb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Pa.get(a);return void 0!==b?b:Eb(a)};ba.prototype=Object.create(Promise.prototype);ba.prototype.then=function(a,b){switch(this.status){case "resolved_model":ma(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)}};var Q=null,x=null;p.createClientModuleProxy=
|
59
|
+
function(a){a=C({},a,!1);return new Proxy(a,sa)};p.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=Xa(a,b,e),c=Wa(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),c=Wa(b,e,null)):d.append(g,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};p.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=
|
60
|
+
null;b.forEach(function(f,k){k.startsWith("$ACTION_REF_")&&(f="$ACTION_"+k.slice(12)+":",e=Xa(b,d,f))});if(null===e)return Promise.resolve(null);var g=e.id;return Promise.resolve(e.bound).then(function(f){return null===f?null:[a,c,g,f.length-1]})};p.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Ua(b,"",a);b=R(a,0);Va(a);return b};p.registerClientReference=function(a,b,d){return C(a,b+"#"+d,!1)};p.registerServerReference=function(a,b,d){return Object.defineProperties(a,
|
61
|
+
{$$typeof:{value:T},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:qa}})};p.renderToReadableStream=function(a,b,d){var c=hb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)la(c,e.reason);else{var g=function(){la(c,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(f){c.flushScheduled=null!==c.destination;Ga(c)},pull:function(f){if(1===
|
62
|
+
c.status)c.status=2,pa(f,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=f;try{L(c,f)}catch(k){w(c,k),ja(c,k)}}},cancel:function(f){c.destination=null;la(c,f)}},{highWaterMark:0})}})})();
|