react-server-dom-webpack 19.0.0-canary-95e6f032c-20240401 → 19.0.0-canary-7a2609eed-20240403
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 +20 -6
- package/cjs/react-server-dom-webpack-client.browser.production.js +7 -1
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +14 -14
- package/cjs/react-server-dom-webpack-client.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +20 -6
- package/cjs/react-server-dom-webpack-client.edge.production.js +7 -1
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +1 -1
- package/cjs/react-server-dom-webpack-client.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +20 -6
- package/cjs/react-server-dom-webpack-client.node.production.js +7 -1
- package/cjs/react-server-dom-webpack-client.node.production.min.js +1 -1
- 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 +20 -6
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +7 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +1 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +90 -37
- package/cjs/react-server-dom-webpack-server.browser.production.js +88 -38
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +46 -45
- package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.edge.development.js +90 -37
- package/cjs/react-server-dom-webpack-server.edge.production.js +88 -38
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +32 -31
- package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.development.js +90 -37
- package/cjs/react-server-dom-webpack-server.node.production.js +88 -38
- package/cjs/react-server-dom-webpack-server.node.production.min.js +33 -31
- 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 +90 -37
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +88 -38
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +33 -31
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +20 -6
- package/umd/react-server-dom-webpack-client.browser.production.min.js +15 -15
- package/umd/react-server-dom-webpack-server.browser.development.js +90 -37
- package/umd/react-server-dom-webpack-server.browser.production.min.js +52 -51
@@ -1031,10 +1031,6 @@
|
|
1031
1031
|
}
|
1032
1032
|
}
|
1033
1033
|
|
1034
|
-
function createSignal() {
|
1035
|
-
return new AbortController().signal;
|
1036
|
-
}
|
1037
|
-
|
1038
1034
|
function resolveCache() {
|
1039
1035
|
var request = resolveRequest();
|
1040
1036
|
|
@@ -1046,17 +1042,6 @@
|
|
1046
1042
|
}
|
1047
1043
|
|
1048
1044
|
var DefaultCacheDispatcher = {
|
1049
|
-
getCacheSignal: function () {
|
1050
|
-
var cache = resolveCache();
|
1051
|
-
var entry = cache.get(createSignal);
|
1052
|
-
|
1053
|
-
if (entry === undefined) {
|
1054
|
-
entry = createSignal();
|
1055
|
-
cache.set(createSignal, entry);
|
1056
|
-
}
|
1057
|
-
|
1058
|
-
return entry;
|
1059
|
-
},
|
1060
1045
|
getCacheForType: function (resourceType) {
|
1061
1046
|
var cache = resolveCache();
|
1062
1047
|
var entry = cache.get(resourceType);
|
@@ -1419,11 +1404,15 @@
|
|
1419
1404
|
var ObjectPrototype = Object.prototype;
|
1420
1405
|
var stringify = JSON.stringify; // Serializable values
|
1421
1406
|
// Thenable<ReactClientValue>
|
1407
|
+
// task status
|
1422
1408
|
|
1423
1409
|
var PENDING$1 = 0;
|
1424
1410
|
var COMPLETED = 1;
|
1425
1411
|
var ABORTED = 3;
|
1426
|
-
var ERRORED$1 = 4;
|
1412
|
+
var ERRORED$1 = 4; // object reference status
|
1413
|
+
|
1414
|
+
var SEEN_BUT_NOT_YET_OUTLINED = -1;
|
1415
|
+
var NEVER_OUTLINED = -2;
|
1427
1416
|
var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache;
|
1428
1417
|
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
1429
1418
|
|
@@ -1729,15 +1718,68 @@
|
|
1729
1718
|
}
|
1730
1719
|
}
|
1731
1720
|
|
1732
|
-
{
|
1733
|
-
|
1734
|
-
|
1721
|
+
if (task.keyPath !== null) {
|
1722
|
+
// We have a Server Component that specifies a key but we're now splitting
|
1723
|
+
// the tree using a fragment.
|
1724
|
+
var fragment = [REACT_ELEMENT_TYPE, REACT_FRAGMENT_TYPE, task.keyPath, {
|
1725
|
+
children: children
|
1726
|
+
}];
|
1727
|
+
|
1728
|
+
if (!task.implicitSlot) {
|
1729
|
+
// If this was keyed inside a set. I.e. the outer Server Component was keyed
|
1730
|
+
// then we need to handle reorders of the whole set. To do this we need to wrap
|
1731
|
+
// this array in a keyed Fragment.
|
1732
|
+
return fragment;
|
1733
|
+
} // If the outer Server Component was implicit but then an inner one had a key
|
1734
|
+
// we don't actually need to be able to move the whole set around. It'll always be
|
1735
|
+
// in an implicit slot. The key only exists to be able to reset the state of the
|
1736
|
+
// children. We could achieve the same effect by passing on the keyPath to the next
|
1737
|
+
// set of components inside the fragment. This would also allow a keyless fragment
|
1738
|
+
// reconcile against a single child.
|
1739
|
+
// Unfortunately because of JSON.stringify, we can't call the recursive loop for
|
1740
|
+
// each child within this context because we can't return a set with already resolved
|
1741
|
+
// values. E.g. a string would get double encoded. Returning would pop the context.
|
1742
|
+
// So instead, we wrap it with an unkeyed fragment and inner keyed fragment.
|
1743
|
+
|
1744
|
+
|
1745
|
+
return [fragment];
|
1746
|
+
} // Since we're yielding here, that implicitly resets the keyPath context on the
|
1747
|
+
// way up. Which is what we want since we've consumed it. If this changes to
|
1748
|
+
// be recursive serialization, we need to reset the keyPath and implicitSlot,
|
1749
|
+
// before recursing here.
|
1750
|
+
|
1751
|
+
|
1752
|
+
return children;
|
1735
1753
|
}
|
1736
1754
|
|
1737
1755
|
function renderClientElement(task, type, key, props) {
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1756
|
+
// the keys of any Server Components which are not serialized.
|
1757
|
+
|
1758
|
+
|
1759
|
+
var keyPath = task.keyPath;
|
1760
|
+
|
1761
|
+
if (key === null) {
|
1762
|
+
key = keyPath;
|
1763
|
+
} else if (keyPath !== null) {
|
1764
|
+
key = keyPath + ',' + key;
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
var element = [REACT_ELEMENT_TYPE, type, key, props];
|
1768
|
+
|
1769
|
+
if (task.implicitSlot && key !== null) {
|
1770
|
+
// The root Server Component had no key so it was in an implicit slot.
|
1771
|
+
// If we had a key lower, it would end up in that slot with an explicit key.
|
1772
|
+
// We wrap the element in a fragment to give it an implicit key slot with
|
1773
|
+
// an inner explicit key.
|
1774
|
+
return [element];
|
1775
|
+
} // Since we're yielding here, that implicitly resets the keyPath context on the
|
1776
|
+
// way up. Which is what we want since we've consumed it. If this changes to
|
1777
|
+
// be recursive serialization, we need to reset the keyPath and implicitSlot,
|
1778
|
+
// before recursing here. We also need to reset it once we render into an array
|
1779
|
+
// or anything else too which we also get implicitly.
|
1780
|
+
|
1781
|
+
|
1782
|
+
return element;
|
1741
1783
|
} // The chunk ID we're currently rendering that we can assign debug data to.
|
1742
1784
|
|
1743
1785
|
|
@@ -1856,7 +1898,7 @@
|
|
1856
1898
|
if (typeof model === 'object' && model !== null) {
|
1857
1899
|
// If we're about to write this into a new task we can assign it an ID early so that
|
1858
1900
|
// any other references can refer to the value we're about to write.
|
1859
|
-
{
|
1901
|
+
if ((keyPath !== null || implicitSlot)) ; else {
|
1860
1902
|
request.writtenObjects.set(model, id);
|
1861
1903
|
}
|
1862
1904
|
}
|
@@ -2063,8 +2105,7 @@
|
|
2063
2105
|
var existingId = writtenObjects.get(key);
|
2064
2106
|
|
2065
2107
|
if (existingId === undefined) {
|
2066
|
-
|
2067
|
-
writtenObjects.set(key, -1);
|
2108
|
+
writtenObjects.set(key, SEEN_BUT_NOT_YET_OUTLINED);
|
2068
2109
|
}
|
2069
2110
|
}
|
2070
2111
|
}
|
@@ -2084,8 +2125,7 @@
|
|
2084
2125
|
var existingId = writtenObjects.get(key);
|
2085
2126
|
|
2086
2127
|
if (existingId === undefined) {
|
2087
|
-
|
2088
|
-
writtenObjects.set(key, -1);
|
2128
|
+
writtenObjects.set(key, SEEN_BUT_NOT_YET_OUTLINED);
|
2089
2129
|
}
|
2090
2130
|
}
|
2091
2131
|
}
|
@@ -2189,12 +2229,11 @@
|
|
2189
2229
|
var _existingId = _writtenObjects.get(value);
|
2190
2230
|
|
2191
2231
|
if (_existingId !== undefined) {
|
2192
|
-
if (modelRoot === value) {
|
2232
|
+
if ((task.keyPath !== null || task.implicitSlot)) ; else if (modelRoot === value) {
|
2193
2233
|
// This is the ID we're currently emitting so we need to write it
|
2194
2234
|
// once but if we discover it again, we refer to it by id.
|
2195
2235
|
modelRoot = null;
|
2196
|
-
} else if (_existingId ===
|
2197
|
-
// Seen but not yet outlined.
|
2236
|
+
} else if (_existingId === SEEN_BUT_NOT_YET_OUTLINED) {
|
2198
2237
|
// TODO: If we throw here we can treat this as suspending which causes an outline
|
2199
2238
|
// but that is able to reuse the same task if we're already in one but then that
|
2200
2239
|
// will be a lazy future value rather than guaranteed to exist but maybe that's good.
|
@@ -2213,7 +2252,11 @@
|
|
2213
2252
|
} else {
|
2214
2253
|
// This is the first time we've seen this object. We may never see it again
|
2215
2254
|
// so we'll inline it. Mark it as seen. If we see it again, we'll outline.
|
2216
|
-
_writtenObjects.set(value,
|
2255
|
+
_writtenObjects.set(value, SEEN_BUT_NOT_YET_OUTLINED); // The element's props are marked as "never outlined" so that they are inlined into
|
2256
|
+
// the same row as the element itself.
|
2257
|
+
|
2258
|
+
|
2259
|
+
_writtenObjects.set(value.props, NEVER_OUTLINED);
|
2217
2260
|
}
|
2218
2261
|
|
2219
2262
|
var element = value;
|
@@ -2238,7 +2281,11 @@
|
|
2238
2281
|
var ref;
|
2239
2282
|
|
2240
2283
|
{
|
2241
|
-
|
2284
|
+
// TODO: This is a temporary, intermediate step. Once the feature
|
2285
|
+
// flag is removed, we should get the ref off the props object right
|
2286
|
+
// before using it.
|
2287
|
+
var refProp = props.ref;
|
2288
|
+
ref = refProp !== undefined ? refProp : null;
|
2242
2289
|
} // Attempt to render the Server Component.
|
2243
2290
|
|
2244
2291
|
|
@@ -2287,7 +2334,14 @@
|
|
2287
2334
|
|
2288
2335
|
if (typeof value.then === 'function') {
|
2289
2336
|
if (existingId !== undefined) {
|
2290
|
-
if (
|
2337
|
+
if ((task.keyPath !== null || task.implicitSlot)) {
|
2338
|
+
// If we're in some kind of context we can't reuse the result of this render or
|
2339
|
+
// previous renders of this element. We only reuse Promises if they're not wrapped
|
2340
|
+
// by another Server Component.
|
2341
|
+
var _promiseId = serializeThenable(request, task, value);
|
2342
|
+
|
2343
|
+
return serializePromiseID(_promiseId);
|
2344
|
+
} else if (modelRoot === value) {
|
2291
2345
|
// This is the ID we're currently emitting so we need to write it
|
2292
2346
|
// once but if we discover it again, we refer to it by id.
|
2293
2347
|
modelRoot = null;
|
@@ -2309,12 +2363,11 @@
|
|
2309
2363
|
// This is the ID we're currently emitting so we need to write it
|
2310
2364
|
// once but if we discover it again, we refer to it by id.
|
2311
2365
|
modelRoot = null;
|
2312
|
-
} else if (existingId ===
|
2313
|
-
// Seen but not yet outlined.
|
2366
|
+
} else if (existingId === SEEN_BUT_NOT_YET_OUTLINED) {
|
2314
2367
|
var _newId = outlineModel(request, value);
|
2315
2368
|
|
2316
2369
|
return serializeByValueID(_newId);
|
2317
|
-
} else {
|
2370
|
+
} else if (existingId !== NEVER_OUTLINED) {
|
2318
2371
|
// We've already emitted this as an outlined object, so we can
|
2319
2372
|
// just refer to that by its existing ID.
|
2320
2373
|
return serializeByValueID(existingId);
|
@@ -2322,7 +2375,7 @@
|
|
2322
2375
|
} else {
|
2323
2376
|
// This is the first time we've seen this object. We may never see it again
|
2324
2377
|
// so we'll inline it. Mark it as seen. If we see it again, we'll outline.
|
2325
|
-
writtenObjects.set(value,
|
2378
|
+
writtenObjects.set(value, SEEN_BUT_NOT_YET_OUTLINED);
|
2326
2379
|
}
|
2327
2380
|
|
2328
2381
|
if (isArray(value)) {
|
@@ -9,56 +9,57 @@
|
|
9
9
|
*/
|
10
10
|
|
11
11
|
'use strict';(function(){(function(p,L){"object"===typeof exports&&"undefined"!==typeof module?L(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],L):(p="undefined"!==typeof globalThis?globalThis:p||self,L(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,L,ua){function U(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 c=
|
12
|
-
r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function va(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function wa(){var a=
|
12
|
+
r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function va(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function wa(){var a=eb.apply(this,arguments);if(this.$$typeof===V){var b=fb.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:this.$$id},
|
13
13
|
$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:wa}})}return a}function xa(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 Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=E(function(){throw Error("Attempted to call the default export of "+
|
14
14
|
c+" 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.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=E({},a.$$id,!0),e=new Proxy(d,ya);a.status="fulfilled";a.value=e;return a.then=E(function(g,f){return Promise.resolve(g(e))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");
|
15
|
-
d=a[b];d||(d=E(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.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,
|
16
|
-
},{$$typeof:{value:
|
17
|
-
case "rejected":throw b.reason;}W=b;throw
|
18
|
-
function
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
c,g);if("string"===typeof c)return
|
27
|
-
a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,
|
28
|
-
h&&"function"===typeof h.then){
|
29
|
-
b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===
|
30
|
-
var C=a.nextChunkId++,
|
31
|
-
else return-1===d?(a=Q(a,e),t(a)):t(d)
|
32
|
-
|
33
|
-
null!==
|
34
|
-
if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===F)return
|
35
|
-
H(c,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". Or maybe you meant to call this function rather than return it.'+
|
36
|
-
(e.description+") cannot be found among global symbols.")+H(c,d));a.pendingChunks++;c=a.nextChunkId++;d=
|
37
|
-
typeof e+'" instead');return e||""}function pa(a,b){null!==a.destination?(a.status=2,va(a.destination,b)):(a.status=1,a.fatalError=b)}
|
38
|
-
b
|
39
|
-
|
40
|
-
b)
|
41
|
-
b
|
42
|
-
f=
|
43
|
-
0
|
44
|
-
a
|
45
|
-
|
46
|
-
|
47
|
-
default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":sa(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=S,a.then(
|
48
|
-
function Ya(a,b,c){var d=
|
49
|
-
Bb=Promise.prototype,
|
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.");
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
return(
|
55
|
-
case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];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.");
|
56
|
-
},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.");}},
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
var
|
61
|
-
|
62
|
-
|
63
|
-
p.
|
64
|
-
|
15
|
+
d=a[b];d||(d=E(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.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,gb));return d}function M(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}function hb(a){a=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it 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.");
|
16
|
+
},{$$typeof:{value:ea},$$id:{value:a}});return new Proxy(a,ib)}function za(){}function jb(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(za,za),b=c);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(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;
|
17
|
+
case "rejected":throw b.reason;}W=b;throw fa;}}function Aa(){if(null===W)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=W;W=null;return a}function Ba(){var a=G||[];G=null;return a}function u(){throw Error("This Hook is not supported in Server Components.");}function kb(){throw Error("Refreshing the cache is not supported in Server Components.");}function ha(){throw Error("Cannot read a Client Context from a Server Component.");}function Ca(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,
|
18
|
+
function(b,c){return c})}function ia(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(ja(a))return"[...]";if(null!==a&&a.$$typeof===ka)return"client";a=Ca(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ka?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function X(a){if("string"===typeof a)return a;switch(a){case lb:return"Suspense";case mb:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return X(a.render);
|
19
|
+
case Ea:return X(a.type);case N:var b=a._payload;a=a._init;try{return X(a(b))}catch(c){}}return""}function H(a,b){var c=Ca(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(ja(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):ia(f);""+g===b?(c=e.length,d=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+X(a.type)+"/>";else{if(a.$$typeof===ka)return"client";e="{";g=Object.keys(a);for(f=0;f<
|
20
|
+
g.length;f++){0<f&&(e+=", ");var h=g[f],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?H(k):ia(k);h===b?(c=e.length,d=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}function nb(a){console.error(a)}function ob(a){}function pb(a,b,c,d,e,g){if(null!==la.current&&la.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");
|
21
|
+
la.current=Fa;var f=new Set;g=[];var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?
|
22
|
+
nb:c,onPostpone:void 0===e?ob:e};a=Y(b,a,null,!1,f);g.push(a);return b}function Ga(a,b,c){var d=Y(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,ma(a,d),d.id;case "rejected":return b=w(a,c.reason),I(a,d.id,b),d.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(e){"pending"===c.status&&(c.status="fulfilled",c.value=e)},function(e){"pending"===c.status&&(c.status="rejected",c.reason=e)}))}c.then(function(e){d.model=
|
23
|
+
e;ma(a,d)},function(e){d.status=4;e=w(a,e);I(a,d.id,e);a.abortableTasks.delete(d);null!==a.destination&&O(a,a.destination)});return d.id}function n(a,b,c){c=J(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=B.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,O(a,c))}function qb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function rb(a){switch(a.status){case "fulfilled":case "rejected":break;
|
24
|
+
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:N,_payload:a,_init:qb}}function Ha(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;na=0;G=g;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=rb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?
|
25
|
+
c:e+","+c:null===e&&(b.implicitSlot=!0);a=P(a,b,Z,"",d);b.keyPath=e;b.implicitSlot=g;return a}function Ia(a,b,c){return null!==b.keyPath?(a=[y,Ja,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}function aa(a,b,c,d){var e=a.keyPath;null===c?c=e:null!==e&&(c=e+","+c);b=[y,b,c,d];return a.implicitSlot&&null!==c?[b]:b}function oa(a,b,c,d,e,g){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===F||
|
26
|
+
c.$$typeof===ea?aa(b,c,d,g):Ha(a,b,d,c,g);if("string"===typeof c)return aa(b,c,d,g);if("symbol"===typeof c)return c===Ja&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=P(a,b,Z,"",g.children),b.implicitSlot=d,a):aa(b,c,d,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===F)return aa(b,c,d,g);switch(c.$$typeof){case N:var f=c._init;c=f(c._payload);return oa(a,b,c,d,e,g);case Da:return Ha(a,b,d,c.render,g);case Ea:return oa(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+
|
27
|
+
ia(c));}function ma(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,Ka(a))}function Y(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||d||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return ma(a,f)},toJSON:function(h,k){var m=f.keyPath,z=f.implicitSlot;try{var v=P(a,f,this,h,k)}catch(ba){if(h=ba===fa?Aa():ba,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===
|
28
|
+
y||k.$$typeof===N),"object"===typeof h&&null!==h&&"function"===typeof h.then){v=Y(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);var C=v.ping;h.then(C,C);v.thenableState=Ba();f.keyPath=m;f.implicitSlot=z;v=k?"$L"+v.id.toString(16):t(v.id)}else if(f.keyPath=m,f.implicitSlot=z,k)a.pendingChunks++,m=a.nextChunkId++,z=w(a,h),I(a,m,z),v="$L"+m.toString(16);else throw h;}return v},thenableState:null};e.add(f);return f}function t(a){return"$"+a.toString(16)}function La(a,b,c){a=J(c);b=b.toString(16)+
|
29
|
+
":"+a+"\n";return B.encode(b)}function Ma(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===y&&"1"===c?"$L"+f.toString(16):t(f);try{var h=a.bundlerConfig,k=d.$$id;f="";var m=h[k];if(m)f=m.name;else{var z=k.lastIndexOf("#");-1!==z&&(f=k.slice(z+1),m=h[k.slice(0,z)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var v=!0===d.$$async?
|
30
|
+
[m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var C=a.nextChunkId++,ba=J(v),sb=C.toString(16)+":I"+ba+"\n",tb=B.encode(sb);a.completedImportChunks.push(tb);g.set(e,C);return b[0]===y&&"1"===c?"$L"+C.toString(16):t(C)}catch(ub){return a.pendingChunks++,b=a.nextChunkId++,c=w(a,ub),I(a,b,c),t(b)}}function Q(a,b){b=Y(a,b,null,!1,a.abortableTasks);Na(a,b);return b.id}function P(a,b,c,d,e){b.model=e;if(e===y)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case y:c=
|
31
|
+
a.writtenObjects;d=c.get(e);if(void 0!==d){if(null===b.keyPath&&!b.implicitSlot)if(A===e)A=null;else return-1===d?(a=Q(a,e),t(a)):t(d)}else c.set(e,-1),c.set(e.props,-2);c=e.props;d=c.ref;return oa(a,b,e.type,e.key,void 0!==d?d:null,c);case N:return b.thenableState=null,c=e._init,e=c(e._payload),P(a,b,Z,"",e)}if(e.$$typeof===F)return Ma(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d){if(null!==b.keyPath||b.implicitSlot)return"$@"+Ga(a,b,e).toString(16);if(A===
|
32
|
+
e)A=null;else return"$@"+d.toString(16)}a=Ga(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(A===e)A=null;else{if(-1===d)return a=Q(a,e),t(a);if(-2!==d)return t(d)}else c.set(e,-1);if(ja(e))return Ia(a,b,e);if(e instanceof Map){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b][0],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$Q"+Q(a,e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b],"object"===typeof c&&null!==c&&
|
33
|
+
(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+Q(a,e).toString(16)}null===e||"object"!==typeof e?c=null:(c=Oa&&e[Oa]||e["@@iterator"],c="function"===typeof c?c:null);if(c)return Ia(a,b,Array.from(e));a=Pa(e);if(a!==vb&&(null===a||null!==Pa(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 e}if("string"===typeof e){if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+
|
34
|
+
e;if(1024<=e.length)return a.pendingChunks+=2,b=a.nextChunkId++,e=B.encode(e),c=e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=B.encode(c),a.completedRegularChunks.push(c,e),t(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===F)return Ma(a,c,d,e);if(e.$$typeof===
|
35
|
+
V)return b=a.writtenServerReferences,c=b.get(e),void 0!==c?a="$F"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=Q(a,c),b.set(e,a),a="$F"+a.toString(16)),a;if(e.$$typeof===ea)return"$T"+e.$$id;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+H(c,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". Or maybe you meant to call this function rather than return it.'+
|
36
|
+
H(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var g=b.get(e);if(void 0!==g)return t(g);g=e.description;if(Symbol.for(g)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+H(c,d));a.pendingChunks++;c=a.nextChunkId++;d=La(a,c,"$S"+g);a.completedImportChunks.push(d);b.set(e,c);return t(c)}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+
|
37
|
+
" is not supported in Client Component props."+H(c,d));}function w(a,b){var c=l;l=null;try{var d=a.onError;var e=d(b)}finally{l=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function pa(a,b){null!==a.destination?(a.status=2,va(a.destination,b)):(a.status=1,a.fatalError=b)}
|
38
|
+
function I(a,b,c,d){c={digest:c};b=b.toString(16)+":E"+J(c)+"\n";b=B.encode(b);a.completedErrorChunks.push(b)}function Na(a,b){if(0===b.status)try{A=b.model;var c=P(a,b,Z,"",b.model);A=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?J(c,b.toJSON):J(c),e=b.id.toString(16)+":"+d+"\n",g=B.encode(e);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===fa?Aa():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,
|
39
|
+
h);b.thenableState=Ba()}else{a.abortableTasks.delete(b);b.status=4;var k=w(a,f);I(a,b.id,k)}}finally{}}function Ka(a){var b=qa.current;qa.current=wb;var c=l;R=l=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)Na(a,d[e]);null!==a.destination&&O(a,a.destination)}catch(g){w(a,g),pa(a,g)}finally{qa.current=b,R=null,l=c}}function O(a,b){r=new Uint8Array(2048);q=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,U(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;
|
40
|
+
for(d=0;d<e.length;d++)U(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,U(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,U(b,f[d]);f.splice(0,d)}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 ra(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++,e=void 0===b?Error("The render was aborted by the server without a reason."):
|
41
|
+
b,g=w(a,e);I(a,d,g,e);c.forEach(function(f){f.status=3;var h=t(d);f=La(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&O(a,a.destination)}catch(f){w(a,f),pa(a,f)}}function Qa(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]);if(!d)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[d.id,d.chunks,c]}function Ra(a){var b=
|
42
|
+
__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function xb(){}function Sa(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=ca.get(e);void 0===f?(Ta.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=ca.set.bind(ca,e,null),g.then(f,xb),ca.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Ra(a[0]):Promise.all(c).then(function(){return Ra(a[0])}):
|
43
|
+
0<c.length?Promise.all(c):null}function K(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function da(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}function Ua(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Va(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Ua(c,b)}}
|
44
|
+
function yb(a,b,c,d,e,g){var f=Qa(a._bundlerConfig,b);a=Sa(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=K(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return K(f)});else return K(f);c.then(Wa(d,e,g),Xa(d));return null}function sa(a){var b=S,c=x;S=a;x=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==x&&0<x.deps?(x.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",
|
45
|
+
a.reason=e}finally{S=b,x=c}}function zb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Va(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new da("resolved_model",d,null,a):new da("pending",null,null,a),c.set(b,d));return d}function Wa(a,b,c){if(x){var d=x;d.deps++}else d=x={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&Ua(e,d.value))}}function Xa(a){return function(b){return Va(a,
|
46
|
+
b)}}function ta(a,b){a=T(a,b);"resolved_model"===a.status&&sa(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function Ab(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),T(a,b);case "F":return d=parseInt(d.slice(2),16),d=ta(a,d),yb(a,d.id,d.bound,S,b,c);case "T":return hb(d.slice(2));case "Q":return b=parseInt(d.slice(2),16),a=ta(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=ta(a,b),new Set(a);case "K":b=d.slice(2);
|
47
|
+
var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(e)&&g.append(h.slice(e.length),f)});return g;case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":sa(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=S,a.then(Wa(d,
|
48
|
+
b,c),Xa(d)),null;default:throw a.reason;}}return d}function Ya(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(g,f){return"string"===typeof f?Ab(e,this,g,f):f}};return e}function Za(a){zb(a,Error("Connection closed."))}function $a(a,b,c){var d=Qa(a,b);a=Sa(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=K(d);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return K(d)}):
|
49
|
+
Promise.resolve(K(d))}function ab(a,b,c){a=Ya(b,c,a);Za(a);a=T(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}var r=null,q=0,B=new TextEncoder,F=Symbol.for("react.client.reference"),V=Symbol.for("react.server.reference"),eb=Function.prototype.bind,fb=Array.prototype.slice,Bb=Promise.prototype,gb={get:function(a,b,c){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;
|
50
|
+
case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];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.");}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.");
|
51
|
+
},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ya={get:function(a,b,c){return xa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:xa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(a){return Bb},set:function(){throw Error("Cannot assign to a client module from a server module.");}},bb=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMCurrentDispatcher,
|
52
|
+
D=bb.current;bb.current={prefetchDNS:function(a){if("string"===typeof a&&a){var b=l?l:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),n(b,"D",a))}else D.prefetchDNS(a)}},preconnect:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?n(c,"C",[a,b]):n(c,"C",a))}else D.preconnect(a,b)}},preload:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,
|
53
|
+
h=c.imageSizes,k="";"string"===typeof f&&""!==f?(k+="["+f+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;g+="[image]"+k}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(c=M(c))?n(d,"L",[a,b,c]):n(d,"L",[a,b]))}else D.preload(a,b,c)}},preloadModule:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;d.add(e);return(b=M(b))?n(c,"m",[a,b]):n(c,"m",a)}D.preloadModule(a,b)}},preinitStyle:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,
|
54
|
+
g="S|"+a;if(e.has(g))return;e.add(g);return(c=M(c))?n(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?n(d,"S",[a,b]):n(d,"S",a)}D.preinitStyle(a,b,c)}},preinitScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;d.add(e);return(b=M(b))?n(c,"X",[a,b]):n(c,"X",a)}D.preinitScript(a,b)}},preinitModuleScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;d.add(e);return(b=M(b))?n(c,"M",
|
55
|
+
[a,b]):n(c,"M",a)}D.preinitModuleScript(a,b)}}};var ea=Symbol.for("react.temporary.reference"),ib={get:function(a,b,c){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];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.");
|
56
|
+
}throw Error("Cannot access "+String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.");},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.");}},y=Symbol.for("react.element"),Ja=Symbol.for("react.fragment"),cb=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),lb=Symbol.for("react.suspense"),mb=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),
|
57
|
+
N=Symbol.for("react.lazy"),Cb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Oa=Symbol.iterator,fa=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`"),
|
58
|
+
W=null,R=null,na=0,G=null,wb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:u,useTransition:u,readContext:ha,useContext:ha,useReducer:u,useRef:u,useState:u,useInsertionEffect:u,useLayoutEffect:u,useImperativeHandle:u,useEffect:u,useId:function(){if(null===R)throw Error("useId can only be used while React is rendering");var a=R.identifierCount++;return":"+R.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:u,useCacheRefresh:function(){return kb},
|
59
|
+
useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Cb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=na;na+=1;null===G&&(G=[]);return jb(G,a,b)}a.$$typeof===cb&&ha()}if(a.$$typeof===F){if(null!=a.value&&a.value.$$typeof===cb)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));
|
60
|
+
}},Fa={getCacheForType:function(a){var b=(b=l?l:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},ja=Array.isArray,Pa=Object.getPrototypeOf,ka=Symbol.for("react.client.reference"),Db=ua.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,db=ua.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!db)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.');
|
61
|
+
var vb=Object.prototype,J=JSON.stringify,la=db.ReactCurrentCache,qa=Db.ReactCurrentDispatcher,l=null,A=!1,Z={},ca=new Map,Ta=new Map,Eb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Ta.get(a);return void 0!==b?b:Eb(a)};da.prototype=Object.create(Promise.prototype);da.prototype.then=function(a,b){switch(this.status){case "resolved_model":sa(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));
|
62
|
+
b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};var S=null,x=null;p.createClientModuleProxy=function(a){a=E({},a,!1);return new Proxy(a,ya)};p.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=ab(a,b,e),d=$a(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=$a(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,
|
63
|
+
c)})};p.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!==typeof d)return Promise.resolve(null);var e=null;b.forEach(function(f,h){h.startsWith("$ACTION_REF_")&&(f="$ACTION_"+h.slice(12)+":",e=ab(b,c,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,d,g,f.length-1]})};p.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Ya(b,"",a);b=T(a,0);Za(a);return b};
|
64
|
+
p.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)};p.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:wa,configurable:!0}})};p.renderToReadableStream=function(a,b,c){var d=pb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)ra(d,e.reason);else{var g=function(){ra(d,e.reason);
|
65
|
+
e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(f){d.flushScheduled=null!==d.destination;Ka(d)},pull:function(f){if(1===d.status)d.status=2,va(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=f;try{O(d,f)}catch(h){w(d,h),pa(d,h)}}},cancel:function(f){d.destination=null;ra(d,f)}},{highWaterMark:0})}})})();
|