react-server-dom-webpack 18.3.0-next-9c54b29b4-20230322 → 18.3.0-next-41b4714f1-20230328
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
@@ -150,7 +150,7 @@ function stringToPrecomputedChunk(content) {
|
|
150
150
|
function closeWithError(destination, error) {
|
151
151
|
// $FlowFixMe[method-unbinding]
|
152
152
|
if (typeof destination.error === 'function') {
|
153
|
-
// $FlowFixMe: This is an Error object or the destination accepts other types.
|
153
|
+
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
|
154
154
|
destination.error(error);
|
155
155
|
} else {
|
156
156
|
// Earlier implementations doesn't support this method. In that environment you're
|
@@ -289,9 +289,6 @@ var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a n
|
|
289
289
|
// When falsy, it should be removed.
|
290
290
|
|
291
291
|
var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
|
292
|
-
// When falsy, it should be removed.
|
293
|
-
|
294
|
-
var POSITIVE_NUMERIC = 6;
|
295
292
|
|
296
293
|
function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
|
297
294
|
this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
|
@@ -303,18 +300,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
303
300
|
this.sanitizeURL = sanitizeURL;
|
304
301
|
this.removeEmptyString = removeEmptyString;
|
305
302
|
} // When adding attributes to this list, be sure to also add them to
|
306
|
-
// This is a mapping from React prop names to the attribute names.
|
307
|
-
|
308
|
-
[['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
|
309
|
-
var name = _ref[0],
|
310
|
-
attributeName = _ref[1];
|
311
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
312
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
313
|
-
attributeName, // attributeName
|
314
|
-
null, // attributeNamespace
|
315
|
-
false, // sanitizeURL
|
316
|
-
false);
|
317
|
-
}); // These are "enumerated" HTML attributes that accept "true" and "false".
|
318
303
|
// In React, we let users pass `true` and `false` even though technically
|
319
304
|
// these aren't boolean attributes (they are coerced to strings).
|
320
305
|
|
@@ -326,18 +311,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
326
311
|
false, // sanitizeURL
|
327
312
|
false);
|
328
313
|
}); // These are "enumerated" SVG attributes that accept "true" and "false".
|
329
|
-
// In React, we let users pass `true` and `false` even though technically
|
330
|
-
// these aren't boolean attributes (they are coerced to strings).
|
331
|
-
// Since these are SVG attributes, their attribute names are case-sensitive.
|
332
|
-
|
333
|
-
['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
|
334
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
335
|
-
new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
336
|
-
name, // attributeName
|
337
|
-
null, // attributeNamespace
|
338
|
-
false, // sanitizeURL
|
339
|
-
false);
|
340
|
-
}); // These are HTML boolean attributes.
|
341
314
|
|
342
315
|
['allowFullScreen', 'async', // Note: there is a special case that prevents it from being written to the DOM
|
343
316
|
// on the client side because the browsers are inconsistent. Instead we call focus().
|
@@ -350,46 +323,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
350
323
|
false, // sanitizeURL
|
351
324
|
false);
|
352
325
|
}); // These are the few React props that we set as DOM properties
|
353
|
-
// rather than attributes. These are all booleans.
|
354
|
-
|
355
|
-
['checked', // Note: `option.selected` is not updated if `select.multiple` is
|
356
|
-
// disabled with `removeAttribute`. We have special logic for handling this.
|
357
|
-
'multiple', 'muted', 'selected' // NOTE: if you add a camelCased prop to this list,
|
358
|
-
// you'll need to set attributeName to name.toLowerCase()
|
359
|
-
// instead in the assignment below.
|
360
|
-
].forEach(function (name) {
|
361
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
362
|
-
new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
363
|
-
name, // attributeName
|
364
|
-
null, // attributeNamespace
|
365
|
-
false, // sanitizeURL
|
366
|
-
false);
|
367
|
-
}); // These are HTML attributes that are "overloaded booleans": they behave like
|
368
|
-
// booleans, but can also accept a string value.
|
369
|
-
|
370
|
-
['capture', 'download' // NOTE: if you add a camelCased prop to this list,
|
371
|
-
// you'll need to set attributeName to name.toLowerCase()
|
372
|
-
// instead in the assignment below.
|
373
|
-
].forEach(function (name) {
|
374
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
375
|
-
new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
376
|
-
name, // attributeName
|
377
|
-
null, // attributeNamespace
|
378
|
-
false, // sanitizeURL
|
379
|
-
false);
|
380
|
-
}); // These are HTML attributes that must be positive numbers.
|
381
|
-
|
382
|
-
['cols', 'rows', 'size', 'span' // NOTE: if you add a camelCased prop to this list,
|
383
|
-
// you'll need to set attributeName to name.toLowerCase()
|
384
|
-
// instead in the assignment below.
|
385
|
-
].forEach(function (name) {
|
386
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
387
|
-
new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
388
|
-
name, // attributeName
|
389
|
-
null, // attributeNamespace
|
390
|
-
false, // sanitizeURL
|
391
|
-
false);
|
392
|
-
}); // These are HTML attributes that must be numbers.
|
393
326
|
|
394
327
|
['rowSpan', 'start'].forEach(function (name) {
|
395
328
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
@@ -414,34 +347,21 @@ var capitalize = function (token) {
|
|
414
347
|
// you'll need to set attributeName to name.toLowerCase()
|
415
348
|
// instead in the assignment below.
|
416
349
|
].forEach(function (attributeName) {
|
417
|
-
|
418
|
-
|
419
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
420
|
-
attributeName, null, // attributeNamespace
|
421
|
-
false, // sanitizeURL
|
422
|
-
false);
|
350
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
423
351
|
}); // String SVG attributes with the xlink namespace.
|
424
352
|
|
425
353
|
['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type' // NOTE: if you add a camelCased prop to this list,
|
426
354
|
// you'll need to set attributeName to name.toLowerCase()
|
427
355
|
// instead in the assignment below.
|
428
356
|
].forEach(function (attributeName) {
|
429
|
-
|
430
|
-
|
431
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
432
|
-
attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
|
433
|
-
false);
|
357
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
434
358
|
}); // String SVG attributes with the xml namespace.
|
435
359
|
|
436
360
|
['xml:base', 'xml:lang', 'xml:space' // NOTE: if you add a camelCased prop to this list,
|
437
361
|
// you'll need to set attributeName to name.toLowerCase()
|
438
362
|
// instead in the assignment below.
|
439
363
|
].forEach(function (attributeName) {
|
440
|
-
|
441
|
-
|
442
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
443
|
-
attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
|
444
|
-
false);
|
364
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
445
365
|
}); // These attribute exists both in HTML and SVG.
|
446
366
|
// The attribute name is case-sensitive in SVG so we can't just use
|
447
367
|
// the React name like we do for attributes that exist only in HTML.
|
@@ -454,16 +374,6 @@ var capitalize = function (token) {
|
|
454
374
|
false, // sanitizeURL
|
455
375
|
false);
|
456
376
|
}); // These attributes accept URLs. These must not allow javascript: URLS.
|
457
|
-
|
458
|
-
new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
|
459
|
-
'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
|
460
|
-
false);
|
461
|
-
|
462
|
-
new PropertyInfoRecord('formAction', STRING, false, // mustUseProperty
|
463
|
-
'formaction', // attributeName
|
464
|
-
null, // attributeNamespace
|
465
|
-
true, // sanitizeURL
|
466
|
-
false);
|
467
377
|
['src', 'href', 'action'].forEach(function (attributeName) {
|
468
378
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
469
379
|
new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
@@ -558,7 +468,7 @@ function isArray(a) {
|
|
558
468
|
// Run `yarn generate-inline-fizz-runtime` to generate.
|
559
469
|
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())};';
|
560
470
|
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()}};';
|
561
|
-
var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(t,
|
471
|
+
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"))};';
|
562
472
|
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)};';
|
563
473
|
|
564
474
|
stringToPrecomputedChunk('"></template>');
|
@@ -796,7 +706,7 @@ function switchContext(newSnapshot) {
|
|
796
706
|
|
797
707
|
if (prev !== next) {
|
798
708
|
if (prev === null) {
|
799
|
-
// $FlowFixMe: This has to be non-null since it's not equal to prev.
|
709
|
+
// $FlowFixMe[incompatible-call]: This has to be non-null since it's not equal to prev.
|
800
710
|
pushAllNext(next);
|
801
711
|
} else if (next === null) {
|
802
712
|
popAllPrevious(prev);
|
@@ -1471,7 +1381,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1471
1381
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
1472
1382
|
function getOrCreateServerContext(globalName) {
|
1473
1383
|
if (!ContextRegistry[globalName]) {
|
1474
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
1384
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
1475
1385
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
1476
1386
|
}
|
1477
1387
|
|
@@ -1933,7 +1843,7 @@ var insideContextProps = null;
|
|
1933
1843
|
var isInsideContextValue = false;
|
1934
1844
|
function resolveModelToJSON(request, parent, key, value) {
|
1935
1845
|
{
|
1936
|
-
// $FlowFixMe
|
1846
|
+
// $FlowFixMe[incompatible-use]
|
1937
1847
|
var originalValue = parent[key];
|
1938
1848
|
|
1939
1849
|
if (typeof originalValue === 'object' && originalValue !== value) {
|
@@ -2090,7 +2000,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2090
2000
|
}
|
2091
2001
|
}
|
2092
2002
|
}
|
2093
|
-
} // $FlowFixMe
|
2003
|
+
} // $FlowFixMe[incompatible-return]
|
2094
2004
|
|
2095
2005
|
|
2096
2006
|
return value;
|
@@ -2130,13 +2040,13 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2130
2040
|
|
2131
2041
|
if (existingId !== undefined) {
|
2132
2042
|
return serializeByValueID(existingId);
|
2133
|
-
} // $FlowFixMe `description` might be undefined
|
2043
|
+
} // $FlowFixMe[incompatible-type] `description` might be undefined
|
2134
2044
|
|
2135
2045
|
|
2136
2046
|
var name = value.description;
|
2137
2047
|
|
2138
2048
|
if (Symbol.for(name) !== value) {
|
2139
|
-
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
|
2049
|
+
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
|
2140
2050
|
value.description + ") cannot be found among global symbols.") + describeObjectForErrorMessage(parent, key));
|
2141
2051
|
}
|
2142
2052
|
|
@@ -2668,7 +2578,7 @@ function getRoot(response) {
|
|
2668
2578
|
}
|
2669
2579
|
|
2670
2580
|
function createPendingChunk(response) {
|
2671
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2581
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2672
2582
|
return new Chunk(PENDING, null, null, response);
|
2673
2583
|
}
|
2674
2584
|
|
@@ -2717,7 +2627,7 @@ function triggerErrorOnChunk(chunk, error) {
|
|
2717
2627
|
}
|
2718
2628
|
|
2719
2629
|
function createResolvedModelChunk(response, value) {
|
2720
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2630
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2721
2631
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
2722
2632
|
}
|
2723
2633
|
|
@@ -3027,7 +2937,7 @@ function renderToReadableStream(model, webpackMap, options) {
|
|
3027
2937
|
startFlowing(request, controller);
|
3028
2938
|
},
|
3029
2939
|
cancel: function (reason) {}
|
3030
|
-
}, // $FlowFixMe size() methods are not allowed on byte streams.
|
2940
|
+
}, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams.
|
3031
2941
|
{
|
3032
2942
|
highWaterMark: 0
|
3033
2943
|
});
|
@@ -9,20 +9,18 @@
|
|
9
9
|
*/
|
10
10
|
'use strict';var aa=require("react"),f="function"===typeof AsyncLocalStorage,ba=f?new AsyncLocalStorage:null,m=null,n=0;function p(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.length&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.length}return!0}var q=new TextEncoder;function r(a){return q.encode(a)}
|
11
11
|
function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}var t=JSON.stringify;function da(a,b,d){a=t(d,a.toJSON);b=b.toString(16)+":"+a+"\n";return q.encode(b)}function u(a,b,d){a=t(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
|
12
|
-
var
|
13
|
-
function A(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
|
-
C);new A(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(B,C);new A(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(B,C);new A(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new A(a,1,!1,a.toLowerCase(),null,!1,!1)});
|
18
|
-
new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);new A("formAction",1,!1,"formaction",null,!0,!1);["src","href","action"].forEach(function(a){new A(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
12
|
+
var w=Symbol.for("react.client.reference"),ea=Symbol.for("react.server.reference"),x=Symbol.for("react.element"),fa=Symbol.for("react.fragment"),ha=Symbol.for("react.provider"),ia=Symbol.for("react.server_context"),ja=Symbol.for("react.forward_ref"),ka=Symbol.for("react.suspense"),la=Symbol.for("react.suspense_list"),ma=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),na=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel"),ra=Symbol.iterator;
|
13
|
+
function A(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 A(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 A(a,3,!1,a.toLowerCase(),null,!1,!1)});["rowSpan","start"].forEach(function(a){new A(a,5,!1,a.toLowerCase(),null,!1,!1)});var B=/[\-:]([a-z])/g;function C(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(B,C)});
|
16
|
+
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(B,C)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(B,C)});["tabIndex","crossOrigin"].forEach(function(a){new A(a,1,!1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new A(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
19
17
|
var sa={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},ta=["Webkit","ms","Moz","O"];Object.keys(sa).forEach(function(a){ta.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);sa[b]=sa[a]})});var ua=Array.isArray;r('"></template>');r("<script>");r("\x3c/script>");r('<script src="');r('<script type="module" src="');r('" integrity="');r('" async="">\x3c/script>');r("\x3c!-- --\x3e");r(' style="');
|
21
19
|
r(":");r(";");r(" ");r('="');r('"');r('=""');r(">");r("/>");r(' selected=""');r("\n");r("<!DOCTYPE html>");r("</");r(">");r('<template id="');r('"></template>');r("\x3c!--$--\x3e");r('\x3c!--$?--\x3e<template id="');r('"></template>');r("\x3c!--$!--\x3e");r("\x3c!--/$--\x3e");r("<template");r('"');r(' data-dgst="');r(' data-msg="');r(' data-stck="');r("></template>");r('<div hidden id="');r('">');r("</div>");r('<svg aria-hidden="true" style="display:none" id="');r('">');r("</svg>");r('<math aria-hidden="true" style="display:none" id="');
|
22
20
|
r('">');r("</math>");r('<table hidden id="');r('">');r("</table>");r('<table hidden><tbody id="');r('">');r("</tbody></table>");r('<table hidden><tr id="');r('">');r("</tr></table>");r('<table hidden><colgroup id="');r('">');r("</colgroup></table>");r('$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("');r('$RS("');r('","');r('")\x3c/script>');r('<template data-rsi="" data-sid="');
|
23
21
|
r('" data-pid="');r('$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
|
-
r('$RC("');r('$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
|
-
r('$RM=new Map;\n$RR=function(t,
|
22
|
+
r('$RC("');r('$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
|
+
r('$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
|
r('$RR("');r('","');r('",');r('"');r(")\x3c/script>");r('<template data-rci="" data-bid="');r('<template data-rri="" data-bid="');r('" data-sid="');r('" data-sty="');r('$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("');r('$RX("');r('"');r(",");r(")\x3c/script>");r('<template data-rxi="" data-bid="');r('" data-dgst="');r('" data-msg="');r('" data-stck="');r('<style media="not all" data-precedence="');
|
27
25
|
r('" data-href="');r('">');r("</style>");r('<style data-precedence="');r('" data-href="');r(" ");r('">');r("</style>");r("[");r(",[");r(",");r("]");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 va(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&va(a)}
|
@@ -35,27 +33,27 @@ function K(){throw Error("This Hook is not supported in Server Components.");}fu
|
|
35
33
|
function Ja(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=I;I+=1;null===J&&(J=[]);return Da(J,a,b)}if(a.$$typeof===ia)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function La(){return(new AbortController).signal}function Ma(){if(L)return L;if(f){var a=ba.getStore();if(a)return a}return new Map}
|
36
34
|
var Na={getCacheSignal:function(){var a=Ma(),b=a.get(La);void 0===b&&(b=La(),a.set(La,b));return b},getCacheForType:function(a){var b=Ma(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},L=null;function Oa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}
|
37
35
|
function Pa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(ua(a))return"[...]";a=Oa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
38
|
-
function M(a){if("string"===typeof a)return a;switch(a){case ka:return"Suspense";case la:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ja:return M(a.render);case ma:return M(a.type);case
|
36
|
+
function M(a){if("string"===typeof a)return a;switch(a){case ka:return"Suspense";case la:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ja:return M(a.render);case ma:return M(a.type);case z:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
|
39
37
|
function N(a,b){var d=Oa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(ua(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):Pa(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===x)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
|
Pa(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 Qa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ra=Qa.ContextRegistry,Sa=Qa.ReactCurrentDispatcher,Ta=Qa.ReactCurrentCache;function Ua(a){console.error(a)}
|
41
39
|
function Va(a,b,d,c,e){if(null!==Ta.current&&Ta.current!==Na)throw Error("Currently React only supports one RSC renderer at a time.");Ta.current=Na;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?Ua:d,toJSON:function(l,
|
40
|
+
"",identifierCount:1,onError:void 0===d?Ua:d,toJSON:function(l,v){return Wa(k,this,l,v)}};k.pendingChunks++;b=Xa(c);a=Ya(k,a,b,g);h.push(a);return k}var Za={};
|
43
41
|
function $a(a,b){a.pendingChunks++;var d=Ya(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,ab(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;ab(a,d)},function(e){d.status=4;e=O(a,e);Q(a,d.id,e);null!==a.destination&&
|
44
|
-
R(a,a.destination)});return d.id}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function cb(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:
|
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===
|
42
|
+
R(a,a.destination)});return d.id}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function cb(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:z,_payload:a,_init:bb}}
|
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===w)return[x,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:cb(e):e}if("string"===typeof b)return[x,b,d,e];if("symbol"===typeof b)return b===fa?e.children:[x,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===w)return[x,b,d,e];switch(b.$$typeof){case z:var h=
|
46
44
|
b._init;b=h(b._payload);return S(a,b,d,c,e,g);case ja:return a=b.render,I=0,J=g,a(e,void 0);case ma:return S(a,b.type,d,c,e,g);case ha:return Aa(b._context,e.value),[x,b,d,{value:e.value,children:e.children,__pop:Za}]}}throw Error("Unsupported Server Component type: "+Pa(b));}function ab(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&setTimeout(function(){return db(a)},0)}
|
47
45
|
function Ya(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ab(a,e)},thenableState:null};c.add(e);return e}
|
48
|
-
function eb(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]===x&&"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
|
46
|
+
function eb(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]===x&&"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++,oa=t(l),y=v.toString(16)+":I"+oa+"\n";var P=q.encode(y);a.completedImportChunks.push(P);g.set(e,v);return b[0]===x&&"1"===d?"$L"+v.toString(16):"$"+v.toString(16)}catch(pa){return a.pendingChunks++,
|
49
47
|
b=a.nextChunkId++,d=O(a,pa),Q(a,b,d),"$"+b.toString(16)}}
|
50
|
-
function Wa(a,b,d,c){switch(c){case x:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===x||c.$$typeof===
|
51
|
-
c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===
|
52
|
-
c===na?a.context._defaultValue:c;D=a.parent;return}return!ua(c)&&(null===c||"object"!==typeof c?a=null:(a=ra&&c[ra]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c)return a="$"===c[0]?"$"+c:c,a;if("boolean"===typeof c||"number"===typeof c)return c;if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===
|
48
|
+
function Wa(a,b,d,c){switch(c){case x:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===x||c.$$typeof===z);)try{switch(c.$$typeof){case x:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case z:var g=c._init;c=g(c._payload)}}catch(h){d=h===Ba?Ea():h;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=Ya(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Fa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);Q(a,c,d);return"$L"+
|
49
|
+
c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===w)return eb(a,b,d,c);if("function"===typeof c.then)return"$@"+$a(a,c).toString(16);if(c.$$typeof===ha)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=u(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(c===Za){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=
|
50
|
+
c===na?a.context._defaultValue:c;D=a.parent;return}return!ua(c)&&(null===c||"object"!==typeof c?a=null:(a=ra&&c[ra]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c)return a="$"===c[0]?"$"+c:c,a;if("boolean"===typeof c||"number"===typeof c)return c;if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===w)return eb(a,b,d,c);if(c.$$typeof===ea)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,
|
53
51
|
e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=da(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"===
|
54
52
|
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=u(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."+
|
55
53
|
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 fb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}
|
56
54
|
function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+t(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}
|
57
|
-
function db(a){var b=Sa.current,d=L;Sa.current=Ka;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){za(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===x){var l=k,
|
58
|
-
g.status=1}catch(G){var
|
55
|
+
function db(a){var b=Sa.current,d=L;Sa.current=Ka;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){za(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===x){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===x;)l=k,g.model=k,k=S(h,l.type,l.key,l.ref,l.props,null)}var oa=da(h,g.id,k);h.completedJSONChunks.push(oa);h.abortableTasks.delete(g);
|
56
|
+
g.status=1}catch(G){var y=G===Ba?Ea():G;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var P=g.ping;y.then(P,P);g.thenableState=Fa()}else{h.abortableTasks.delete(g);g.status=4;var pa=O(h,y);Q(h,g.id,pa)}}}}null!==a.destination&&R(a,a.destination)}catch(G){O(a,G),fb(a,G)}finally{Sa.current=b,L=d,H=null}}
|
59
57
|
function R(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedJSONChunks;for(c=0;c<e.length;c++)a.pendingChunks--,p(b,e[c]);e.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&&b.close()}
|
60
58
|
function gb(a){f?setTimeout(function(){return ba.run(a.cache,db,a)},0):setTimeout(function(){return db(a)},0)}function hb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=O(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;Q(a,e,c);d.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=u(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){O(a,g),fb(a,g)}}
|
61
59
|
function Xa(a){if(a){var b=D;za(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];Ra[e]||(Ra[e]=aa.createServerContext(e,na));Aa(Ra[e],c)}a=D;za(b);return a}return null}var T=new Map,ib=new Map;function jb(){}
|
@@ -225,7 +225,7 @@ function stringToPrecomputedChunk(content) {
|
|
225
225
|
return precomputedChunk;
|
226
226
|
}
|
227
227
|
function closeWithError(destination, error) {
|
228
|
-
// $FlowFixMe: This is an Error object or the destination accepts other types.
|
228
|
+
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
|
229
229
|
destination.destroy(error);
|
230
230
|
}
|
231
231
|
|
@@ -355,9 +355,6 @@ var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a n
|
|
355
355
|
// When falsy, it should be removed.
|
356
356
|
|
357
357
|
var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
|
358
|
-
// When falsy, it should be removed.
|
359
|
-
|
360
|
-
var POSITIVE_NUMERIC = 6;
|
361
358
|
|
362
359
|
function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
|
363
360
|
this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
|
@@ -369,18 +366,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
369
366
|
this.sanitizeURL = sanitizeURL;
|
370
367
|
this.removeEmptyString = removeEmptyString;
|
371
368
|
} // When adding attributes to this list, be sure to also add them to
|
372
|
-
// This is a mapping from React prop names to the attribute names.
|
373
|
-
|
374
|
-
[['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
|
375
|
-
var name = _ref[0],
|
376
|
-
attributeName = _ref[1];
|
377
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
378
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
379
|
-
attributeName, // attributeName
|
380
|
-
null, // attributeNamespace
|
381
|
-
false, // sanitizeURL
|
382
|
-
false);
|
383
|
-
}); // These are "enumerated" HTML attributes that accept "true" and "false".
|
384
369
|
// In React, we let users pass `true` and `false` even though technically
|
385
370
|
// these aren't boolean attributes (they are coerced to strings).
|
386
371
|
|
@@ -392,18 +377,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
392
377
|
false, // sanitizeURL
|
393
378
|
false);
|
394
379
|
}); // These are "enumerated" SVG attributes that accept "true" and "false".
|
395
|
-
// In React, we let users pass `true` and `false` even though technically
|
396
|
-
// these aren't boolean attributes (they are coerced to strings).
|
397
|
-
// Since these are SVG attributes, their attribute names are case-sensitive.
|
398
|
-
|
399
|
-
['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
|
400
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
401
|
-
new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
402
|
-
name, // attributeName
|
403
|
-
null, // attributeNamespace
|
404
|
-
false, // sanitizeURL
|
405
|
-
false);
|
406
|
-
}); // These are HTML boolean attributes.
|
407
380
|
|
408
381
|
['allowFullScreen', 'async', // Note: there is a special case that prevents it from being written to the DOM
|
409
382
|
// on the client side because the browsers are inconsistent. Instead we call focus().
|
@@ -416,46 +389,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
416
389
|
false, // sanitizeURL
|
417
390
|
false);
|
418
391
|
}); // These are the few React props that we set as DOM properties
|
419
|
-
// rather than attributes. These are all booleans.
|
420
|
-
|
421
|
-
['checked', // Note: `option.selected` is not updated if `select.multiple` is
|
422
|
-
// disabled with `removeAttribute`. We have special logic for handling this.
|
423
|
-
'multiple', 'muted', 'selected' // NOTE: if you add a camelCased prop to this list,
|
424
|
-
// you'll need to set attributeName to name.toLowerCase()
|
425
|
-
// instead in the assignment below.
|
426
|
-
].forEach(function (name) {
|
427
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
428
|
-
new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
429
|
-
name, // attributeName
|
430
|
-
null, // attributeNamespace
|
431
|
-
false, // sanitizeURL
|
432
|
-
false);
|
433
|
-
}); // These are HTML attributes that are "overloaded booleans": they behave like
|
434
|
-
// booleans, but can also accept a string value.
|
435
|
-
|
436
|
-
['capture', 'download' // NOTE: if you add a camelCased prop to this list,
|
437
|
-
// you'll need to set attributeName to name.toLowerCase()
|
438
|
-
// instead in the assignment below.
|
439
|
-
].forEach(function (name) {
|
440
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
441
|
-
new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
442
|
-
name, // attributeName
|
443
|
-
null, // attributeNamespace
|
444
|
-
false, // sanitizeURL
|
445
|
-
false);
|
446
|
-
}); // These are HTML attributes that must be positive numbers.
|
447
|
-
|
448
|
-
['cols', 'rows', 'size', 'span' // NOTE: if you add a camelCased prop to this list,
|
449
|
-
// you'll need to set attributeName to name.toLowerCase()
|
450
|
-
// instead in the assignment below.
|
451
|
-
].forEach(function (name) {
|
452
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
453
|
-
new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
454
|
-
name, // attributeName
|
455
|
-
null, // attributeNamespace
|
456
|
-
false, // sanitizeURL
|
457
|
-
false);
|
458
|
-
}); // These are HTML attributes that must be numbers.
|
459
392
|
|
460
393
|
['rowSpan', 'start'].forEach(function (name) {
|
461
394
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
@@ -480,34 +413,21 @@ var capitalize = function (token) {
|
|
480
413
|
// you'll need to set attributeName to name.toLowerCase()
|
481
414
|
// instead in the assignment below.
|
482
415
|
].forEach(function (attributeName) {
|
483
|
-
|
484
|
-
|
485
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
486
|
-
attributeName, null, // attributeNamespace
|
487
|
-
false, // sanitizeURL
|
488
|
-
false);
|
416
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
489
417
|
}); // String SVG attributes with the xlink namespace.
|
490
418
|
|
491
419
|
['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type' // NOTE: if you add a camelCased prop to this list,
|
492
420
|
// you'll need to set attributeName to name.toLowerCase()
|
493
421
|
// instead in the assignment below.
|
494
422
|
].forEach(function (attributeName) {
|
495
|
-
|
496
|
-
|
497
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
498
|
-
attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
|
499
|
-
false);
|
423
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
500
424
|
}); // String SVG attributes with the xml namespace.
|
501
425
|
|
502
426
|
['xml:base', 'xml:lang', 'xml:space' // NOTE: if you add a camelCased prop to this list,
|
503
427
|
// you'll need to set attributeName to name.toLowerCase()
|
504
428
|
// instead in the assignment below.
|
505
429
|
].forEach(function (attributeName) {
|
506
|
-
|
507
|
-
|
508
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
509
|
-
attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
|
510
|
-
false);
|
430
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
511
431
|
}); // These attribute exists both in HTML and SVG.
|
512
432
|
// The attribute name is case-sensitive in SVG so we can't just use
|
513
433
|
// the React name like we do for attributes that exist only in HTML.
|
@@ -520,16 +440,6 @@ var capitalize = function (token) {
|
|
520
440
|
false, // sanitizeURL
|
521
441
|
false);
|
522
442
|
}); // These attributes accept URLs. These must not allow javascript: URLS.
|
523
|
-
|
524
|
-
new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
|
525
|
-
'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
|
526
|
-
false);
|
527
|
-
|
528
|
-
new PropertyInfoRecord('formAction', STRING, false, // mustUseProperty
|
529
|
-
'formaction', // attributeName
|
530
|
-
null, // attributeNamespace
|
531
|
-
true, // sanitizeURL
|
532
|
-
false);
|
533
443
|
['src', 'href', 'action'].forEach(function (attributeName) {
|
534
444
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
535
445
|
new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
@@ -624,7 +534,7 @@ function isArray(a) {
|
|
624
534
|
// Run `yarn generate-inline-fizz-runtime` to generate.
|
625
535
|
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())};';
|
626
536
|
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()}};';
|
627
|
-
var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(t,
|
537
|
+
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"))};';
|
628
538
|
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)};';
|
629
539
|
|
630
540
|
stringToPrecomputedChunk('"></template>');
|
@@ -862,7 +772,7 @@ function switchContext(newSnapshot) {
|
|
862
772
|
|
863
773
|
if (prev !== next) {
|
864
774
|
if (prev === null) {
|
865
|
-
// $FlowFixMe: This has to be non-null since it's not equal to prev.
|
775
|
+
// $FlowFixMe[incompatible-call]: This has to be non-null since it's not equal to prev.
|
866
776
|
pushAllNext(next);
|
867
777
|
} else if (next === null) {
|
868
778
|
popAllPrevious(prev);
|
@@ -1537,7 +1447,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1537
1447
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
1538
1448
|
function getOrCreateServerContext(globalName) {
|
1539
1449
|
if (!ContextRegistry[globalName]) {
|
1540
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
1450
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
1541
1451
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
1542
1452
|
}
|
1543
1453
|
|
@@ -1999,7 +1909,7 @@ var insideContextProps = null;
|
|
1999
1909
|
var isInsideContextValue = false;
|
2000
1910
|
function resolveModelToJSON(request, parent, key, value) {
|
2001
1911
|
{
|
2002
|
-
// $FlowFixMe
|
1912
|
+
// $FlowFixMe[incompatible-use]
|
2003
1913
|
var originalValue = parent[key];
|
2004
1914
|
|
2005
1915
|
if (typeof originalValue === 'object' && originalValue !== value) {
|
@@ -2156,7 +2066,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2156
2066
|
}
|
2157
2067
|
}
|
2158
2068
|
}
|
2159
|
-
} // $FlowFixMe
|
2069
|
+
} // $FlowFixMe[incompatible-return]
|
2160
2070
|
|
2161
2071
|
|
2162
2072
|
return value;
|
@@ -2196,13 +2106,13 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2196
2106
|
|
2197
2107
|
if (existingId !== undefined) {
|
2198
2108
|
return serializeByValueID(existingId);
|
2199
|
-
} // $FlowFixMe `description` might be undefined
|
2109
|
+
} // $FlowFixMe[incompatible-type] `description` might be undefined
|
2200
2110
|
|
2201
2111
|
|
2202
2112
|
var name = value.description;
|
2203
2113
|
|
2204
2114
|
if (Symbol.for(name) !== value) {
|
2205
|
-
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
|
2115
|
+
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
|
2206
2116
|
value.description + ") cannot be found among global symbols.") + describeObjectForErrorMessage(parent, key));
|
2207
2117
|
}
|
2208
2118
|
|
@@ -2732,7 +2642,7 @@ function getRoot(response) {
|
|
2732
2642
|
}
|
2733
2643
|
|
2734
2644
|
function createPendingChunk(response) {
|
2735
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2645
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2736
2646
|
return new Chunk(PENDING, null, null, response);
|
2737
2647
|
}
|
2738
2648
|
|
@@ -2781,7 +2691,7 @@ function triggerErrorOnChunk(chunk, error) {
|
|
2781
2691
|
}
|
2782
2692
|
|
2783
2693
|
function createResolvedModelChunk(response, value) {
|
2784
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2694
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2785
2695
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
2786
2696
|
}
|
2787
2697
|
|