react-server-dom-webpack 18.3.0-next-9c54b29b4-20230322 → 18.3.0-next-8342a0992-20230327
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 +10 -10
- package/cjs/react-server-dom-webpack-client.edge.development.js +6 -6
- package/cjs/react-server-dom-webpack-client.node.development.js +6 -6
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +6 -6
- package/cjs/react-server-dom-webpack-server.browser.development.js +14 -104
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +15 -17
- package/cjs/react-server-dom-webpack-server.edge.development.js +14 -104
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +17 -19
- package/cjs/react-server-dom-webpack-server.node.development.js +13 -103
- package/cjs/react-server-dom-webpack-server.node.production.min.js +17 -19
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +13 -103
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +17 -19
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +10 -10
- package/umd/react-server-dom-webpack-server.browser.development.js +14 -104
- package/umd/react-server-dom-webpack-server.browser.production.min.js +39 -41
@@ -185,7 +185,7 @@ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FI
|
|
185
185
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
186
186
|
function getOrCreateServerContext(globalName) {
|
187
187
|
if (!ContextRegistry[globalName]) {
|
188
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
188
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
189
189
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
190
190
|
}
|
191
191
|
|
@@ -289,17 +289,17 @@ function getRoot(response) {
|
|
289
289
|
}
|
290
290
|
|
291
291
|
function createPendingChunk(response) {
|
292
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
292
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
293
293
|
return new Chunk(PENDING, null, null, response);
|
294
294
|
}
|
295
295
|
|
296
296
|
function createBlockedChunk(response) {
|
297
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
297
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
298
298
|
return new Chunk(BLOCKED, null, null, response);
|
299
299
|
}
|
300
300
|
|
301
301
|
function createErrorChunk(response, error) {
|
302
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
302
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
303
303
|
return new Chunk(ERRORED, null, error, response);
|
304
304
|
}
|
305
305
|
|
@@ -348,12 +348,12 @@ function triggerErrorOnChunk(chunk, error) {
|
|
348
348
|
}
|
349
349
|
|
350
350
|
function createResolvedModelChunk(response, value) {
|
351
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
351
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
352
352
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
353
353
|
}
|
354
354
|
|
355
355
|
function createResolvedModuleChunk(response, value) {
|
356
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
356
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
357
357
|
return new Chunk(RESOLVED_MODULE, value, null, response);
|
358
358
|
}
|
359
359
|
|
@@ -1304,7 +1304,7 @@ function processReply(root, resolve, reject) {
|
|
1304
1304
|
var parent = this;
|
1305
1305
|
|
1306
1306
|
{
|
1307
|
-
// $FlowFixMe
|
1307
|
+
// $FlowFixMe[incompatible-use]
|
1308
1308
|
var originalValue = this[key];
|
1309
1309
|
|
1310
1310
|
if (typeof originalValue === 'object' && originalValue !== value) {
|
@@ -1381,7 +1381,7 @@ function processReply(root, resolve, reject) {
|
|
1381
1381
|
}
|
1382
1382
|
}
|
1383
1383
|
}
|
1384
|
-
} // $FlowFixMe
|
1384
|
+
} // $FlowFixMe[incompatible-return]
|
1385
1385
|
|
1386
1386
|
|
1387
1387
|
return value;
|
@@ -1421,11 +1421,11 @@ function processReply(root, resolve, reject) {
|
|
1421
1421
|
}
|
1422
1422
|
|
1423
1423
|
if (typeof value === 'symbol') {
|
1424
|
-
// $FlowFixMe `description` might be undefined
|
1424
|
+
// $FlowFixMe[incompatible-type] `description` might be undefined
|
1425
1425
|
var name = value.description;
|
1426
1426
|
|
1427
1427
|
if (Symbol.for(name) !== value) {
|
1428
|
-
throw new Error('Only global symbols received from Symbol.for(...) can be passed to Server Functions. ' + ("The symbol Symbol.for(" + // $FlowFixMe `description` might be undefined
|
1428
|
+
throw new Error('Only global symbols received from Symbol.for(...) can be passed to Server Functions. ' + ("The symbol Symbol.for(" + // $FlowFixMe[incompatible-type] `description` might be undefined
|
1429
1429
|
value.description + ") cannot be found among global symbols."));
|
1430
1430
|
}
|
1431
1431
|
|
@@ -165,7 +165,7 @@ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FI
|
|
165
165
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
166
166
|
function getOrCreateServerContext(globalName) {
|
167
167
|
if (!ContextRegistry[globalName]) {
|
168
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
168
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
169
169
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
170
170
|
}
|
171
171
|
|
@@ -269,17 +269,17 @@ function getRoot(response) {
|
|
269
269
|
}
|
270
270
|
|
271
271
|
function createPendingChunk(response) {
|
272
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
272
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
273
273
|
return new Chunk(PENDING, null, null, response);
|
274
274
|
}
|
275
275
|
|
276
276
|
function createBlockedChunk(response) {
|
277
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
277
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
278
278
|
return new Chunk(BLOCKED, null, null, response);
|
279
279
|
}
|
280
280
|
|
281
281
|
function createErrorChunk(response, error) {
|
282
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
282
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
283
283
|
return new Chunk(ERRORED, null, error, response);
|
284
284
|
}
|
285
285
|
|
@@ -328,12 +328,12 @@ function triggerErrorOnChunk(chunk, error) {
|
|
328
328
|
}
|
329
329
|
|
330
330
|
function createResolvedModelChunk(response, value) {
|
331
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
331
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
332
332
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
333
333
|
}
|
334
334
|
|
335
335
|
function createResolvedModuleChunk(response, value) {
|
336
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
336
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
337
337
|
return new Chunk(RESOLVED_MODULE, value, null, response);
|
338
338
|
}
|
339
339
|
|
@@ -166,7 +166,7 @@ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FI
|
|
166
166
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
167
167
|
function getOrCreateServerContext(globalName) {
|
168
168
|
if (!ContextRegistry[globalName]) {
|
169
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
169
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
170
170
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
171
171
|
}
|
172
172
|
|
@@ -270,17 +270,17 @@ function getRoot(response) {
|
|
270
270
|
}
|
271
271
|
|
272
272
|
function createPendingChunk(response) {
|
273
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
273
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
274
274
|
return new Chunk(PENDING, null, null, response);
|
275
275
|
}
|
276
276
|
|
277
277
|
function createBlockedChunk(response) {
|
278
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
278
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
279
279
|
return new Chunk(BLOCKED, null, null, response);
|
280
280
|
}
|
281
281
|
|
282
282
|
function createErrorChunk(response, error) {
|
283
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
283
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
284
284
|
return new Chunk(ERRORED, null, error, response);
|
285
285
|
}
|
286
286
|
|
@@ -329,12 +329,12 @@ function triggerErrorOnChunk(chunk, error) {
|
|
329
329
|
}
|
330
330
|
|
331
331
|
function createResolvedModelChunk(response, value) {
|
332
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
332
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
333
333
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
334
334
|
}
|
335
335
|
|
336
336
|
function createResolvedModuleChunk(response, value) {
|
337
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
337
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
338
338
|
return new Chunk(RESOLVED_MODULE, value, null, response);
|
339
339
|
}
|
340
340
|
|
@@ -107,7 +107,7 @@ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FI
|
|
107
107
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
108
108
|
function getOrCreateServerContext(globalName) {
|
109
109
|
if (!ContextRegistry[globalName]) {
|
110
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
110
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
111
111
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
112
112
|
}
|
113
113
|
|
@@ -211,17 +211,17 @@ function getRoot(response) {
|
|
211
211
|
}
|
212
212
|
|
213
213
|
function createPendingChunk(response) {
|
214
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
214
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
215
215
|
return new Chunk(PENDING, null, null, response);
|
216
216
|
}
|
217
217
|
|
218
218
|
function createBlockedChunk(response) {
|
219
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
219
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
220
220
|
return new Chunk(BLOCKED, null, null, response);
|
221
221
|
}
|
222
222
|
|
223
223
|
function createErrorChunk(response, error) {
|
224
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
224
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
225
225
|
return new Chunk(ERRORED, null, error, response);
|
226
226
|
}
|
227
227
|
|
@@ -270,12 +270,12 @@ function triggerErrorOnChunk(chunk, error) {
|
|
270
270
|
}
|
271
271
|
|
272
272
|
function createResolvedModelChunk(response, value) {
|
273
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
273
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
274
274
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
275
275
|
}
|
276
276
|
|
277
277
|
function createResolvedModuleChunk(response, value) {
|
278
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
278
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
279
279
|
return new Chunk(RESOLVED_MODULE, value, null, response);
|
280
280
|
}
|
281
281
|
|
@@ -147,7 +147,7 @@ function stringToPrecomputedChunk(content) {
|
|
147
147
|
function closeWithError(destination, error) {
|
148
148
|
// $FlowFixMe[method-unbinding]
|
149
149
|
if (typeof destination.error === 'function') {
|
150
|
-
// $FlowFixMe: This is an Error object or the destination accepts other types.
|
150
|
+
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
|
151
151
|
destination.error(error);
|
152
152
|
} else {
|
153
153
|
// Earlier implementations doesn't support this method. In that environment you're
|
@@ -286,9 +286,6 @@ var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a n
|
|
286
286
|
// When falsy, it should be removed.
|
287
287
|
|
288
288
|
var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
|
289
|
-
// When falsy, it should be removed.
|
290
|
-
|
291
|
-
var POSITIVE_NUMERIC = 6;
|
292
289
|
|
293
290
|
function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
|
294
291
|
this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
|
@@ -300,18 +297,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
300
297
|
this.sanitizeURL = sanitizeURL;
|
301
298
|
this.removeEmptyString = removeEmptyString;
|
302
299
|
} // When adding attributes to this list, be sure to also add them to
|
303
|
-
// This is a mapping from React prop names to the attribute names.
|
304
|
-
|
305
|
-
[['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
|
306
|
-
var name = _ref[0],
|
307
|
-
attributeName = _ref[1];
|
308
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
309
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
310
|
-
attributeName, // attributeName
|
311
|
-
null, // attributeNamespace
|
312
|
-
false, // sanitizeURL
|
313
|
-
false);
|
314
|
-
}); // These are "enumerated" HTML attributes that accept "true" and "false".
|
315
300
|
// In React, we let users pass `true` and `false` even though technically
|
316
301
|
// these aren't boolean attributes (they are coerced to strings).
|
317
302
|
|
@@ -323,18 +308,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
323
308
|
false, // sanitizeURL
|
324
309
|
false);
|
325
310
|
}); // These are "enumerated" SVG attributes that accept "true" and "false".
|
326
|
-
// In React, we let users pass `true` and `false` even though technically
|
327
|
-
// these aren't boolean attributes (they are coerced to strings).
|
328
|
-
// Since these are SVG attributes, their attribute names are case-sensitive.
|
329
|
-
|
330
|
-
['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
|
331
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
332
|
-
new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
333
|
-
name, // attributeName
|
334
|
-
null, // attributeNamespace
|
335
|
-
false, // sanitizeURL
|
336
|
-
false);
|
337
|
-
}); // These are HTML boolean attributes.
|
338
311
|
|
339
312
|
['allowFullScreen', 'async', // Note: there is a special case that prevents it from being written to the DOM
|
340
313
|
// on the client side because the browsers are inconsistent. Instead we call focus().
|
@@ -347,46 +320,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
347
320
|
false, // sanitizeURL
|
348
321
|
false);
|
349
322
|
}); // These are the few React props that we set as DOM properties
|
350
|
-
// rather than attributes. These are all booleans.
|
351
|
-
|
352
|
-
['checked', // Note: `option.selected` is not updated if `select.multiple` is
|
353
|
-
// disabled with `removeAttribute`. We have special logic for handling this.
|
354
|
-
'multiple', 'muted', 'selected' // NOTE: if you add a camelCased prop to this list,
|
355
|
-
// you'll need to set attributeName to name.toLowerCase()
|
356
|
-
// instead in the assignment below.
|
357
|
-
].forEach(function (name) {
|
358
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
359
|
-
new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
360
|
-
name, // attributeName
|
361
|
-
null, // attributeNamespace
|
362
|
-
false, // sanitizeURL
|
363
|
-
false);
|
364
|
-
}); // These are HTML attributes that are "overloaded booleans": they behave like
|
365
|
-
// booleans, but can also accept a string value.
|
366
|
-
|
367
|
-
['capture', 'download' // NOTE: if you add a camelCased prop to this list,
|
368
|
-
// you'll need to set attributeName to name.toLowerCase()
|
369
|
-
// instead in the assignment below.
|
370
|
-
].forEach(function (name) {
|
371
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
372
|
-
new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
373
|
-
name, // attributeName
|
374
|
-
null, // attributeNamespace
|
375
|
-
false, // sanitizeURL
|
376
|
-
false);
|
377
|
-
}); // These are HTML attributes that must be positive numbers.
|
378
|
-
|
379
|
-
['cols', 'rows', 'size', 'span' // NOTE: if you add a camelCased prop to this list,
|
380
|
-
// you'll need to set attributeName to name.toLowerCase()
|
381
|
-
// instead in the assignment below.
|
382
|
-
].forEach(function (name) {
|
383
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
384
|
-
new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
385
|
-
name, // attributeName
|
386
|
-
null, // attributeNamespace
|
387
|
-
false, // sanitizeURL
|
388
|
-
false);
|
389
|
-
}); // These are HTML attributes that must be numbers.
|
390
323
|
|
391
324
|
['rowSpan', 'start'].forEach(function (name) {
|
392
325
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
@@ -411,34 +344,21 @@ var capitalize = function (token) {
|
|
411
344
|
// you'll need to set attributeName to name.toLowerCase()
|
412
345
|
// instead in the assignment below.
|
413
346
|
].forEach(function (attributeName) {
|
414
|
-
|
415
|
-
|
416
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
417
|
-
attributeName, null, // attributeNamespace
|
418
|
-
false, // sanitizeURL
|
419
|
-
false);
|
347
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
420
348
|
}); // String SVG attributes with the xlink namespace.
|
421
349
|
|
422
350
|
['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type' // NOTE: if you add a camelCased prop to this list,
|
423
351
|
// you'll need to set attributeName to name.toLowerCase()
|
424
352
|
// instead in the assignment below.
|
425
353
|
].forEach(function (attributeName) {
|
426
|
-
|
427
|
-
|
428
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
429
|
-
attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
|
430
|
-
false);
|
354
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
431
355
|
}); // String SVG attributes with the xml namespace.
|
432
356
|
|
433
357
|
['xml:base', 'xml:lang', 'xml:space' // NOTE: if you add a camelCased prop to this list,
|
434
358
|
// you'll need to set attributeName to name.toLowerCase()
|
435
359
|
// instead in the assignment below.
|
436
360
|
].forEach(function (attributeName) {
|
437
|
-
|
438
|
-
|
439
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
440
|
-
attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
|
441
|
-
false);
|
361
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
442
362
|
}); // These attribute exists both in HTML and SVG.
|
443
363
|
// The attribute name is case-sensitive in SVG so we can't just use
|
444
364
|
// the React name like we do for attributes that exist only in HTML.
|
@@ -451,16 +371,6 @@ var capitalize = function (token) {
|
|
451
371
|
false, // sanitizeURL
|
452
372
|
false);
|
453
373
|
}); // These attributes accept URLs. These must not allow javascript: URLS.
|
454
|
-
|
455
|
-
new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
|
456
|
-
'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
|
457
|
-
false);
|
458
|
-
|
459
|
-
new PropertyInfoRecord('formAction', STRING, false, // mustUseProperty
|
460
|
-
'formaction', // attributeName
|
461
|
-
null, // attributeNamespace
|
462
|
-
true, // sanitizeURL
|
463
|
-
false);
|
464
374
|
['src', 'href', 'action'].forEach(function (attributeName) {
|
465
375
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
466
376
|
new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
@@ -555,7 +465,7 @@ function isArray(a) {
|
|
555
465
|
// Run `yarn generate-inline-fizz-runtime` to generate.
|
556
466
|
var clientRenderBoundary = '$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())};';
|
557
467
|
var completeBoundary = '$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()}};';
|
558
|
-
var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(t,
|
468
|
+
var completeBoundaryWithStyles = '$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"))};';
|
559
469
|
var completeSegment = '$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)};';
|
560
470
|
|
561
471
|
stringToPrecomputedChunk('"></template>');
|
@@ -793,7 +703,7 @@ function switchContext(newSnapshot) {
|
|
793
703
|
|
794
704
|
if (prev !== next) {
|
795
705
|
if (prev === null) {
|
796
|
-
// $FlowFixMe: This has to be non-null since it's not equal to prev.
|
706
|
+
// $FlowFixMe[incompatible-call]: This has to be non-null since it's not equal to prev.
|
797
707
|
pushAllNext(next);
|
798
708
|
} else if (next === null) {
|
799
709
|
popAllPrevious(prev);
|
@@ -1463,7 +1373,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1463
1373
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
1464
1374
|
function getOrCreateServerContext(globalName) {
|
1465
1375
|
if (!ContextRegistry[globalName]) {
|
1466
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
1376
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
1467
1377
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
1468
1378
|
}
|
1469
1379
|
|
@@ -1925,7 +1835,7 @@ var insideContextProps = null;
|
|
1925
1835
|
var isInsideContextValue = false;
|
1926
1836
|
function resolveModelToJSON(request, parent, key, value) {
|
1927
1837
|
{
|
1928
|
-
// $FlowFixMe
|
1838
|
+
// $FlowFixMe[incompatible-use]
|
1929
1839
|
var originalValue = parent[key];
|
1930
1840
|
|
1931
1841
|
if (typeof originalValue === 'object' && originalValue !== value) {
|
@@ -2082,7 +1992,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2082
1992
|
}
|
2083
1993
|
}
|
2084
1994
|
}
|
2085
|
-
} // $FlowFixMe
|
1995
|
+
} // $FlowFixMe[incompatible-return]
|
2086
1996
|
|
2087
1997
|
|
2088
1998
|
return value;
|
@@ -2122,13 +2032,13 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2122
2032
|
|
2123
2033
|
if (existingId !== undefined) {
|
2124
2034
|
return serializeByValueID(existingId);
|
2125
|
-
} // $FlowFixMe `description` might be undefined
|
2035
|
+
} // $FlowFixMe[incompatible-type] `description` might be undefined
|
2126
2036
|
|
2127
2037
|
|
2128
2038
|
var name = value.description;
|
2129
2039
|
|
2130
2040
|
if (Symbol.for(name) !== value) {
|
2131
|
-
throw new Error('Only global symbols received from Symbol.for(...) can be passed to Client Components. ' + ("The symbol Symbol.for(" + // $FlowFixMe `description` might be undefined
|
2041
|
+
throw new Error('Only global symbols received from Symbol.for(...) can be passed to Client Components. ' + ("The symbol Symbol.for(" + // $FlowFixMe[incompatible-type] `description` might be undefined
|
2132
2042
|
value.description + ") cannot be found among global symbols.") + describeObjectForErrorMessage(parent, key));
|
2133
2043
|
}
|
2134
2044
|
|
@@ -2656,7 +2566,7 @@ function getRoot(response) {
|
|
2656
2566
|
}
|
2657
2567
|
|
2658
2568
|
function createPendingChunk(response) {
|
2659
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2569
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2660
2570
|
return new Chunk(PENDING, null, null, response);
|
2661
2571
|
}
|
2662
2572
|
|
@@ -2705,7 +2615,7 @@ function triggerErrorOnChunk(chunk, error) {
|
|
2705
2615
|
}
|
2706
2616
|
|
2707
2617
|
function createResolvedModelChunk(response, value) {
|
2708
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2618
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2709
2619
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
2710
2620
|
}
|
2711
2621
|
|
@@ -3015,7 +2925,7 @@ function renderToReadableStream(model, webpackMap, options) {
|
|
3015
2925
|
startFlowing(request, controller);
|
3016
2926
|
},
|
3017
2927
|
cancel: function (reason) {}
|
3018
|
-
}, // $FlowFixMe size() methods are not allowed on byte streams.
|
2928
|
+
}, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams.
|
3019
2929
|
{
|
3020
2930
|
highWaterMark: 0
|
3021
2931
|
});
|
@@ -9,20 +9,18 @@
|
|
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"),
|
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}[
|
14
|
-
|
15
|
-
|
16
|
-
"
|
17
|
-
B);new y(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(z,B);new y(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(z,B);new y(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new y(a,1,!1,a.toLowerCase(),null,!1,!1)});
|
18
|
-
new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);new y("formAction",1,!1,"formaction",null,!0,!1);["src","href","action"].forEach(function(a){new y(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
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()}
|
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)});
|
19
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,
|
20
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(":");
|
21
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="');
|
22
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="');
|
23
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("');
|
24
|
-
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(t,
|
25
|
-
q('$RM=new Map;\n$RR=function(t,
|
22
|
+
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
|
+
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("');
|
26
24
|
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="');
|
27
25
|
q('" data-href="');q('">');q("</style>");q('<style data-precedence="');q('" data-href="');q(" ");q('">');q("</style>");q("[");q(",[");q(",");q("]");var D=null;
|
28
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)}
|
@@ -36,25 +34,25 @@ function Ha(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("func
|
|
36
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})}
|
37
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)}}
|
38
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""}
|
39
|
-
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===
|
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):
|
40
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)}
|
41
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||
|
42
|
-
"",identifierCount:1,onError:void 0===d?Ra:d,toJSON:function(l,
|
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={};
|
43
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&&
|
44
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}}
|
45
|
-
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[
|
46
|
-
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),[
|
47
|
-
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]===
|
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++,
|
48
46
|
b=a.nextChunkId++,d=O(a,na),Q(a,b,d),"$"+b.toString(16)}}
|
49
|
-
function Ta(a,b,d,c){switch(c){case
|
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"+
|
50
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=
|
51
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,
|
52
50
|
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"===
|
53
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."+
|
54
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)}
|
55
53
|
function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+r(d)+"\n";b=p.encode(b);a.completedErrorChunks.push(b)}
|
56
|
-
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===
|
57
|
-
g.status=1}catch(G){var
|
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}}
|
58
56
|
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()}
|
59
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)}}
|
60
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(){}
|