@vxrn/vendor 1.1.345 → 1.1.347
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/package.json +2 -1
- package/react/cjs/react-compiler-runtime.development.js +1 -18
- package/react/cjs/react-jsx-dev-runtime.development.js +127 -144
- package/react/cjs/react-jsx-dev-runtime.react-server.development.js +128 -145
- package/react/cjs/react-jsx-runtime.development.js +127 -144
- package/react/cjs/react-jsx-runtime.react-server.development.js +128 -145
- package/react/cjs/react.development.js +204 -230
- package/react/cjs/react.production.js +9 -10
- package/react/cjs/react.react-server.development.js +172 -199
- package/react/cjs/react.react-server.production.js +6 -7
- package/react/package.json +2 -2
- package/react-dom/cjs/react-dom-client.development.js +6107 -5750
- package/react-dom/cjs/react-dom-client.production.js +2295 -1924
- package/react-dom/cjs/react-dom-profiling.development.js +6134 -5777
- package/react-dom/cjs/react-dom-profiling.profiling.js +2572 -2247
- package/react-dom/cjs/react-dom-server-legacy.browser.development.js +1244 -1040
- package/react-dom/cjs/react-dom-server-legacy.browser.production.js +891 -761
- package/react-dom/cjs/react-dom-server-legacy.node.development.js +1244 -1040
- package/react-dom/cjs/react-dom-server-legacy.node.production.js +887 -761
- package/react-dom/cjs/react-dom-server.browser.development.js +1380 -1060
- package/react-dom/cjs/react-dom-server.browser.production.js +999 -749
- package/react-dom/cjs/react-dom-server.bun.development.js +1241 -1032
- package/react-dom/cjs/react-dom-server.bun.production.js +886 -754
- package/react-dom/cjs/react-dom-server.edge.development.js +1393 -1069
- package/react-dom/cjs/react-dom-server.edge.production.js +1007 -758
- package/react-dom/cjs/react-dom-server.node.development.js +1624 -1254
- package/react-dom/cjs/react-dom-server.node.production.js +1242 -953
- package/react-dom/cjs/react-dom-test-utils.development.js +1 -20
- package/react-dom/cjs/react-dom.development.js +34 -50
- package/react-dom/cjs/react-dom.production.js +4 -3
- package/react-dom/cjs/react-dom.react-server.development.js +48 -66
- package/react-dom/cjs/react-dom.react-server.production.js +6 -8
- package/react-dom/package.json +3 -3
- package/react-dom/static.browser.js +1 -0
- package/react-dom/static.edge.js +1 -0
- package/react-dom/static.node.js +1 -0
|
@@ -41,36 +41,6 @@
|
|
|
41
41
|
function scriptReplacer(match, prefix, s, suffix) {
|
|
42
42
|
return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix;
|
|
43
43
|
}
|
|
44
|
-
function warn(format) {
|
|
45
|
-
for (
|
|
46
|
-
var _len = arguments.length,
|
|
47
|
-
args = Array(1 < _len ? _len - 1 : 0),
|
|
48
|
-
_key = 1;
|
|
49
|
-
_key < _len;
|
|
50
|
-
_key++
|
|
51
|
-
)
|
|
52
|
-
args[_key - 1] = arguments[_key];
|
|
53
|
-
printWarning("warn", format, args, Error("react-stack-top-frame"));
|
|
54
|
-
}
|
|
55
|
-
function error$jscomp$2(format) {
|
|
56
|
-
for (
|
|
57
|
-
var _len2 = arguments.length,
|
|
58
|
-
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
|
59
|
-
_key2 = 1;
|
|
60
|
-
_key2 < _len2;
|
|
61
|
-
_key2++
|
|
62
|
-
)
|
|
63
|
-
args[_key2 - 1] = arguments[_key2];
|
|
64
|
-
printWarning("error", format, args, Error("react-stack-top-frame"));
|
|
65
|
-
}
|
|
66
|
-
function printWarning(level, format, args, currentStack) {
|
|
67
|
-
ReactSharedInternals.getCurrentStack &&
|
|
68
|
-
((currentStack = ReactSharedInternals.getCurrentStack(currentStack)),
|
|
69
|
-
"" !== currentStack &&
|
|
70
|
-
((format += "%s"), (args = args.concat([currentStack]))));
|
|
71
|
-
args.unshift(format);
|
|
72
|
-
Function.prototype.apply.call(console[level], console, args);
|
|
73
|
-
}
|
|
74
44
|
function objectName(object) {
|
|
75
45
|
return Object.prototype.toString
|
|
76
46
|
.call(object)
|
|
@@ -98,8 +68,8 @@
|
|
|
98
68
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
|
99
69
|
? "client"
|
|
100
70
|
: (value = value.displayName || value.name)
|
|
101
|
-
|
|
102
|
-
|
|
71
|
+
? "function " + value
|
|
72
|
+
: "function";
|
|
103
73
|
default:
|
|
104
74
|
return String(value);
|
|
105
75
|
}
|
|
@@ -142,8 +112,8 @@
|
|
|
142
112
|
"string" === typeof value
|
|
143
113
|
? value
|
|
144
114
|
: "object" === typeof value && null !== value
|
|
145
|
-
|
|
146
|
-
|
|
115
|
+
? "{" + describeObjectForErrorMessage(value) + "}"
|
|
116
|
+
: "{" + describeValueForErrorMessage(value) + "}";
|
|
147
117
|
"" + i === expandedName
|
|
148
118
|
? ((start = objKind.length),
|
|
149
119
|
(length = value.length),
|
|
@@ -229,9 +199,9 @@
|
|
|
229
199
|
return void 0 === expandedName
|
|
230
200
|
? objKind
|
|
231
201
|
: -1 < start && 0 < length
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
202
|
+
? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
|
|
203
|
+
"\n " + objKind + "\n " + objectOrArray)
|
|
204
|
+
: "\n " + objKind;
|
|
235
205
|
}
|
|
236
206
|
function murmurhash3_32_gc(key, seed) {
|
|
237
207
|
var remainder = key.length & 3;
|
|
@@ -312,7 +282,7 @@
|
|
|
312
282
|
function checkAttributeStringCoercion(value, attributeName) {
|
|
313
283
|
if (willCoercionThrow(value))
|
|
314
284
|
return (
|
|
315
|
-
error
|
|
285
|
+
console.error(
|
|
316
286
|
"The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
317
287
|
attributeName,
|
|
318
288
|
typeName(value)
|
|
@@ -323,7 +293,7 @@
|
|
|
323
293
|
function checkCSSPropertyStringCoercion(value, propName) {
|
|
324
294
|
if (willCoercionThrow(value))
|
|
325
295
|
return (
|
|
326
|
-
error
|
|
296
|
+
console.error(
|
|
327
297
|
"The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
328
298
|
propName,
|
|
329
299
|
typeName(value)
|
|
@@ -334,7 +304,7 @@
|
|
|
334
304
|
function checkHtmlStringCoercion(value) {
|
|
335
305
|
if (willCoercionThrow(value))
|
|
336
306
|
return (
|
|
337
|
-
error
|
|
307
|
+
console.error(
|
|
338
308
|
"The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",
|
|
339
309
|
typeName(value)
|
|
340
310
|
),
|
|
@@ -349,7 +319,7 @@
|
|
|
349
319
|
if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))
|
|
350
320
|
return (validatedAttributeNameCache[attributeName] = !0);
|
|
351
321
|
illegalAttributeNameCache[attributeName] = !0;
|
|
352
|
-
error
|
|
322
|
+
console.error("Invalid attribute name: `%s`", attributeName);
|
|
353
323
|
return !1;
|
|
354
324
|
}
|
|
355
325
|
function checkControlledValueProps(tagName, props) {
|
|
@@ -360,17 +330,17 @@
|
|
|
360
330
|
props.disabled ||
|
|
361
331
|
null == props.value ||
|
|
362
332
|
("select" === tagName
|
|
363
|
-
? error
|
|
333
|
+
? console.error(
|
|
364
334
|
"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."
|
|
365
335
|
)
|
|
366
|
-
: error
|
|
336
|
+
: console.error(
|
|
367
337
|
"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."
|
|
368
338
|
));
|
|
369
339
|
props.onChange ||
|
|
370
340
|
props.readOnly ||
|
|
371
341
|
props.disabled ||
|
|
372
342
|
null == props.checked ||
|
|
373
|
-
error
|
|
343
|
+
console.error(
|
|
374
344
|
"You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."
|
|
375
345
|
);
|
|
376
346
|
}
|
|
@@ -385,7 +355,7 @@
|
|
|
385
355
|
tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;
|
|
386
356
|
if (null == tagName)
|
|
387
357
|
return (
|
|
388
|
-
error
|
|
358
|
+
console.error(
|
|
389
359
|
"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",
|
|
390
360
|
name
|
|
391
361
|
),
|
|
@@ -393,7 +363,7 @@
|
|
|
393
363
|
);
|
|
394
364
|
if (name !== tagName)
|
|
395
365
|
return (
|
|
396
|
-
error
|
|
366
|
+
console.error(
|
|
397
367
|
"Invalid ARIA attribute `%s`. Did you mean `%s`?",
|
|
398
368
|
name,
|
|
399
369
|
tagName
|
|
@@ -406,7 +376,7 @@
|
|
|
406
376
|
tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;
|
|
407
377
|
if (null == tagName) return (warnedProperties$1[name] = !0), !1;
|
|
408
378
|
name !== tagName &&
|
|
409
|
-
(error
|
|
379
|
+
(console.error(
|
|
410
380
|
"Unknown ARIA attribute `%s`. Did you mean `%s`?",
|
|
411
381
|
name,
|
|
412
382
|
tagName
|
|
@@ -426,13 +396,13 @@
|
|
|
426
396
|
})
|
|
427
397
|
.join(", ");
|
|
428
398
|
1 === invalidProps.length
|
|
429
|
-
? error
|
|
399
|
+
? console.error(
|
|
430
400
|
"Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",
|
|
431
401
|
props,
|
|
432
402
|
type
|
|
433
403
|
)
|
|
434
404
|
: 1 < invalidProps.length &&
|
|
435
|
-
error
|
|
405
|
+
console.error(
|
|
436
406
|
"Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",
|
|
437
407
|
props,
|
|
438
408
|
type
|
|
@@ -444,7 +414,7 @@
|
|
|
444
414
|
var lowerCasedName = name.toLowerCase();
|
|
445
415
|
if ("onfocusin" === lowerCasedName || "onfocusout" === lowerCasedName)
|
|
446
416
|
return (
|
|
447
|
-
error
|
|
417
|
+
console.error(
|
|
448
418
|
"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."
|
|
449
419
|
),
|
|
450
420
|
(warnedProperties[name] = !0)
|
|
@@ -465,7 +435,7 @@
|
|
|
465
435
|
: null;
|
|
466
436
|
if (null != eventRegistry)
|
|
467
437
|
return (
|
|
468
|
-
error
|
|
438
|
+
console.error(
|
|
469
439
|
"Invalid event handler property `%s`. Did you mean `%s`?",
|
|
470
440
|
name,
|
|
471
441
|
eventRegistry
|
|
@@ -474,7 +444,7 @@
|
|
|
474
444
|
);
|
|
475
445
|
if (EVENT_NAME_REGEX.test(name))
|
|
476
446
|
return (
|
|
477
|
-
error
|
|
447
|
+
console.error(
|
|
478
448
|
"Unknown event handler property `%s`. It will be ignored.",
|
|
479
449
|
name
|
|
480
450
|
),
|
|
@@ -483,7 +453,7 @@
|
|
|
483
453
|
} else if (EVENT_NAME_REGEX.test(name))
|
|
484
454
|
return (
|
|
485
455
|
INVALID_EVENT_NAME_REGEX.test(name) &&
|
|
486
|
-
error
|
|
456
|
+
console.error(
|
|
487
457
|
"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",
|
|
488
458
|
name
|
|
489
459
|
),
|
|
@@ -492,14 +462,14 @@
|
|
|
492
462
|
if (rARIA.test(name) || rARIACamel.test(name)) return !0;
|
|
493
463
|
if ("innerhtml" === lowerCasedName)
|
|
494
464
|
return (
|
|
495
|
-
error
|
|
465
|
+
console.error(
|
|
496
466
|
"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."
|
|
497
467
|
),
|
|
498
468
|
(warnedProperties[name] = !0)
|
|
499
469
|
);
|
|
500
470
|
if ("aria" === lowerCasedName)
|
|
501
471
|
return (
|
|
502
|
-
error
|
|
472
|
+
console.error(
|
|
503
473
|
"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."
|
|
504
474
|
),
|
|
505
475
|
(warnedProperties[name] = !0)
|
|
@@ -511,7 +481,7 @@
|
|
|
511
481
|
"string" !== typeof value
|
|
512
482
|
)
|
|
513
483
|
return (
|
|
514
|
-
error
|
|
484
|
+
console.error(
|
|
515
485
|
"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",
|
|
516
486
|
typeof value
|
|
517
487
|
),
|
|
@@ -519,7 +489,7 @@
|
|
|
519
489
|
);
|
|
520
490
|
if ("number" === typeof value && isNaN(value))
|
|
521
491
|
return (
|
|
522
|
-
error
|
|
492
|
+
console.error(
|
|
523
493
|
"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",
|
|
524
494
|
name
|
|
525
495
|
),
|
|
@@ -531,7 +501,7 @@
|
|
|
531
501
|
lowerCasedName !== name)
|
|
532
502
|
)
|
|
533
503
|
return (
|
|
534
|
-
error
|
|
504
|
+
console.error(
|
|
535
505
|
"Invalid DOM property `%s`. Did you mean `%s`?",
|
|
536
506
|
name,
|
|
537
507
|
lowerCasedName
|
|
@@ -540,7 +510,7 @@
|
|
|
540
510
|
);
|
|
541
511
|
} else if (name !== lowerCasedName)
|
|
542
512
|
return (
|
|
543
|
-
error
|
|
513
|
+
console.error(
|
|
544
514
|
"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",
|
|
545
515
|
name,
|
|
546
516
|
lowerCasedName
|
|
@@ -609,7 +579,7 @@
|
|
|
609
579
|
if ("data-" === lowerCasedName || "aria-" === lowerCasedName)
|
|
610
580
|
return !0;
|
|
611
581
|
value
|
|
612
|
-
? error
|
|
582
|
+
? console.error(
|
|
613
583
|
'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',
|
|
614
584
|
value,
|
|
615
585
|
name,
|
|
@@ -617,7 +587,7 @@
|
|
|
617
587
|
value,
|
|
618
588
|
name
|
|
619
589
|
)
|
|
620
|
-
: error
|
|
590
|
+
: console.error(
|
|
621
591
|
'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',
|
|
622
592
|
value,
|
|
623
593
|
name,
|
|
@@ -666,7 +636,7 @@
|
|
|
666
636
|
default:
|
|
667
637
|
return !0;
|
|
668
638
|
}
|
|
669
|
-
error
|
|
639
|
+
console.error(
|
|
670
640
|
"Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",
|
|
671
641
|
value,
|
|
672
642
|
name,
|
|
@@ -693,13 +663,13 @@
|
|
|
693
663
|
})
|
|
694
664
|
.join(", ");
|
|
695
665
|
1 === unknownProps.length
|
|
696
|
-
? error
|
|
666
|
+
? console.error(
|
|
697
667
|
"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",
|
|
698
668
|
props,
|
|
699
669
|
type
|
|
700
670
|
)
|
|
701
671
|
: 1 < unknownProps.length &&
|
|
702
|
-
error
|
|
672
|
+
console.error(
|
|
703
673
|
"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",
|
|
704
674
|
props,
|
|
705
675
|
type
|
|
@@ -851,12 +821,12 @@
|
|
|
851
821
|
return parentContext.insertionMode >= HTML_TABLE_MODE
|
|
852
822
|
? createFormatContext(HTML_MODE, null, parentContext.tagScope)
|
|
853
823
|
: parentContext.insertionMode === ROOT_HTML_MODE
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
824
|
+
? "html" === type
|
|
825
|
+
? createFormatContext(HTML_HTML_MODE, null, parentContext.tagScope)
|
|
826
|
+
: createFormatContext(HTML_MODE, null, parentContext.tagScope)
|
|
827
|
+
: parentContext.insertionMode === HTML_HTML_MODE
|
|
828
|
+
? createFormatContext(HTML_MODE, null, parentContext.tagScope)
|
|
829
|
+
: parentContext;
|
|
860
830
|
}
|
|
861
831
|
function pushStyleAttribute(target, style) {
|
|
862
832
|
if ("object" !== typeof style)
|
|
@@ -885,7 +855,7 @@
|
|
|
885
855
|
(warnedStyleNames.hasOwnProperty(name) &&
|
|
886
856
|
warnedStyleNames[name]) ||
|
|
887
857
|
((warnedStyleNames[name] = !0),
|
|
888
|
-
error
|
|
858
|
+
console.error(
|
|
889
859
|
"Unsupported style property %s. Did you mean %s?",
|
|
890
860
|
name,
|
|
891
861
|
camelize(name.replace(msPattern$1, "ms-"))
|
|
@@ -895,7 +865,7 @@
|
|
|
895
865
|
(warnedStyleNames.hasOwnProperty(name) &&
|
|
896
866
|
warnedStyleNames[name]) ||
|
|
897
867
|
((warnedStyleNames[name] = !0),
|
|
898
|
-
error
|
|
868
|
+
console.error(
|
|
899
869
|
"Unsupported vendor-prefixed style property %s. Did you mean %s?",
|
|
900
870
|
name,
|
|
901
871
|
name.charAt(0).toUpperCase() + name.slice(1)
|
|
@@ -906,7 +876,7 @@
|
|
|
906
876
|
(warnedStyleValues.hasOwnProperty(value$jscomp$0) &&
|
|
907
877
|
warnedStyleValues[value$jscomp$0]) ||
|
|
908
878
|
((warnedStyleValues[value$jscomp$0] = !0),
|
|
909
|
-
error
|
|
879
|
+
console.error(
|
|
910
880
|
'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',
|
|
911
881
|
name,
|
|
912
882
|
value$jscomp$0.replace(
|
|
@@ -919,14 +889,14 @@
|
|
|
919
889
|
(isNaN(value)
|
|
920
890
|
? warnedForNaNValue ||
|
|
921
891
|
((warnedForNaNValue = !0),
|
|
922
|
-
error
|
|
892
|
+
console.error(
|
|
923
893
|
"`NaN` is an invalid value for the `%s` css style property.",
|
|
924
894
|
nameChunk
|
|
925
895
|
))
|
|
926
896
|
: isFinite(value) ||
|
|
927
897
|
warnedForInfinityValue ||
|
|
928
898
|
((warnedForInfinityValue = !0),
|
|
929
|
-
error
|
|
899
|
+
console.error(
|
|
930
900
|
"`Infinity` is an invalid value for the `%s` css style property.",
|
|
931
901
|
nameChunk
|
|
932
902
|
)));
|
|
@@ -1014,7 +984,7 @@
|
|
|
1014
984
|
"function" === typeof x.then
|
|
1015
985
|
)
|
|
1016
986
|
throw x;
|
|
1017
|
-
error
|
|
987
|
+
console.error(
|
|
1018
988
|
"Failed to serialize an action for progressive enhancement:\n%s",
|
|
1019
989
|
x
|
|
1020
990
|
);
|
|
@@ -1037,19 +1007,19 @@
|
|
|
1037
1007
|
null === name ||
|
|
1038
1008
|
didWarnFormActionName ||
|
|
1039
1009
|
((didWarnFormActionName = !0),
|
|
1040
|
-
error
|
|
1010
|
+
console.error(
|
|
1041
1011
|
'Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.'
|
|
1042
1012
|
));
|
|
1043
1013
|
(null === formEncType && null === formMethod) ||
|
|
1044
1014
|
didWarnFormActionMethod ||
|
|
1045
1015
|
((didWarnFormActionMethod = !0),
|
|
1046
|
-
error
|
|
1016
|
+
console.error(
|
|
1047
1017
|
"Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden."
|
|
1048
1018
|
));
|
|
1049
1019
|
null === formTarget ||
|
|
1050
1020
|
didWarnFormActionTarget ||
|
|
1051
1021
|
((didWarnFormActionTarget = !0),
|
|
1052
|
-
error
|
|
1022
|
+
console.error(
|
|
1053
1023
|
"Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."
|
|
1054
1024
|
));
|
|
1055
1025
|
var customFields = getCustomFormFields(resumableState, formAction);
|
|
@@ -1099,12 +1069,12 @@
|
|
|
1099
1069
|
case "href":
|
|
1100
1070
|
if ("" === value) {
|
|
1101
1071
|
"src" === name
|
|
1102
|
-
? error
|
|
1072
|
+
? console.error(
|
|
1103
1073
|
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
1104
1074
|
name,
|
|
1105
1075
|
name
|
|
1106
1076
|
)
|
|
1107
|
-
: error
|
|
1077
|
+
: console.error(
|
|
1108
1078
|
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
1109
1079
|
name,
|
|
1110
1080
|
name
|
|
@@ -1181,7 +1151,7 @@
|
|
|
1181
1151
|
"" !== value ||
|
|
1182
1152
|
didWarnForNewBooleanPropsWithEmptyValue[name] ||
|
|
1183
1153
|
((didWarnForNewBooleanPropsWithEmptyValue[name] = !0),
|
|
1184
|
-
error
|
|
1154
|
+
console.error(
|
|
1185
1155
|
"Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
|
|
1186
1156
|
name
|
|
1187
1157
|
));
|
|
@@ -1331,13 +1301,13 @@
|
|
|
1331
1301
|
null != value &&
|
|
1332
1302
|
((value = isArrayImpl(value)),
|
|
1333
1303
|
props.multiple && !value
|
|
1334
|
-
? error
|
|
1304
|
+
? console.error(
|
|
1335
1305
|
"The `%s` prop supplied to <select> must be an array if `multiple` is true.",
|
|
1336
1306
|
propName
|
|
1337
1307
|
)
|
|
1338
1308
|
: !props.multiple &&
|
|
1339
1309
|
value &&
|
|
1340
|
-
error
|
|
1310
|
+
console.error(
|
|
1341
1311
|
"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",
|
|
1342
1312
|
propName
|
|
1343
1313
|
));
|
|
@@ -1352,7 +1322,7 @@
|
|
|
1352
1322
|
"number" === typeof child ||
|
|
1353
1323
|
"bigint" === typeof child ||
|
|
1354
1324
|
((didWarnInvalidOptionChildren = !0),
|
|
1355
|
-
error
|
|
1325
|
+
console.error(
|
|
1356
1326
|
"Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."
|
|
1357
1327
|
)));
|
|
1358
1328
|
});
|
|
@@ -1472,9 +1442,9 @@
|
|
|
1472
1442
|
"number" === typeof children
|
|
1473
1443
|
? "a number for children"
|
|
1474
1444
|
: Array.isArray(children)
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
error
|
|
1445
|
+
? "an array for children"
|
|
1446
|
+
: "something unexpected for children"),
|
|
1447
|
+
console.error(
|
|
1478
1448
|
"A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.",
|
|
1479
1449
|
props
|
|
1480
1450
|
));
|
|
@@ -1536,11 +1506,11 @@
|
|
|
1536
1506
|
didWarnValueNull ||
|
|
1537
1507
|
((didWarnValueNull = !0),
|
|
1538
1508
|
"select" === type && props.multiple
|
|
1539
|
-
? error
|
|
1509
|
+
? console.error(
|
|
1540
1510
|
"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",
|
|
1541
1511
|
type
|
|
1542
1512
|
)
|
|
1543
|
-
: error
|
|
1513
|
+
: console.error(
|
|
1544
1514
|
"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",
|
|
1545
1515
|
type
|
|
1546
1516
|
));
|
|
@@ -1566,14 +1536,14 @@
|
|
|
1566
1536
|
!props.suppressContentEditableWarning &&
|
|
1567
1537
|
props.contentEditable &&
|
|
1568
1538
|
null != props.children &&
|
|
1569
|
-
error
|
|
1539
|
+
console.error(
|
|
1570
1540
|
"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."
|
|
1571
1541
|
);
|
|
1572
1542
|
formatContext.insertionMode !== SVG_MODE &&
|
|
1573
1543
|
formatContext.insertionMode !== MATHML_MODE &&
|
|
1574
1544
|
-1 === type.indexOf("-") &&
|
|
1575
1545
|
type.toLowerCase() !== type &&
|
|
1576
|
-
error
|
|
1546
|
+
console.error(
|
|
1577
1547
|
"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
|
|
1578
1548
|
type
|
|
1579
1549
|
);
|
|
@@ -1626,7 +1596,7 @@
|
|
|
1626
1596
|
void 0 === props.value ||
|
|
1627
1597
|
void 0 === props.defaultValue ||
|
|
1628
1598
|
didWarnDefaultSelectValue ||
|
|
1629
|
-
(error
|
|
1599
|
+
(console.error(
|
|
1630
1600
|
"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"
|
|
1631
1601
|
),
|
|
1632
1602
|
(didWarnDefaultSelectValue = !0));
|
|
@@ -1678,7 +1648,7 @@
|
|
|
1678
1648
|
case "selected":
|
|
1679
1649
|
selected = propValue$jscomp$1;
|
|
1680
1650
|
didWarnSelectedSetOnOption ||
|
|
1681
|
-
(error
|
|
1651
|
+
(console.error(
|
|
1682
1652
|
"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."
|
|
1683
1653
|
),
|
|
1684
1654
|
(didWarnSelectedSetOnOption = !0));
|
|
@@ -1704,7 +1674,7 @@
|
|
|
1704
1674
|
null === innerHTML$jscomp$1 ||
|
|
1705
1675
|
didWarnInvalidOptionInnerHTML ||
|
|
1706
1676
|
((didWarnInvalidOptionInnerHTML = !0),
|
|
1707
|
-
error
|
|
1677
|
+
console.error(
|
|
1708
1678
|
"Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."
|
|
1709
1679
|
)),
|
|
1710
1680
|
(stringValue = flattenOptionChildren(children$jscomp$1));
|
|
@@ -1731,7 +1701,7 @@
|
|
|
1731
1701
|
void 0 === props.value ||
|
|
1732
1702
|
void 0 === props.defaultValue ||
|
|
1733
1703
|
didWarnDefaultTextareaValue ||
|
|
1734
|
-
(error
|
|
1704
|
+
(console.error(
|
|
1735
1705
|
"Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components"
|
|
1736
1706
|
),
|
|
1737
1707
|
(didWarnDefaultTextareaValue = !0));
|
|
@@ -1771,7 +1741,7 @@
|
|
|
1771
1741
|
(value$jscomp$0 = defaultValue);
|
|
1772
1742
|
target$jscomp$0.push(endOfStartTag);
|
|
1773
1743
|
if (null != children$jscomp$2) {
|
|
1774
|
-
error
|
|
1744
|
+
console.error(
|
|
1775
1745
|
"Use the `defaultValue` or `value` props instead of setting children on <textarea>."
|
|
1776
1746
|
);
|
|
1777
1747
|
if (null != value$jscomp$0)
|
|
@@ -1857,7 +1827,7 @@
|
|
|
1857
1827
|
"submit" === props.type ||
|
|
1858
1828
|
didWarnFormActionType ||
|
|
1859
1829
|
((didWarnFormActionType = !0),
|
|
1860
|
-
error
|
|
1830
|
+
console.error(
|
|
1861
1831
|
'An input can only specify a formAction along with type="submit" or type="image".'
|
|
1862
1832
|
));
|
|
1863
1833
|
var formData = pushFormActionAttribute(
|
|
@@ -1873,7 +1843,7 @@
|
|
|
1873
1843
|
null === checked ||
|
|
1874
1844
|
null === defaultChecked ||
|
|
1875
1845
|
didWarnDefaultChecked ||
|
|
1876
|
-
(error
|
|
1846
|
+
(console.error(
|
|
1877
1847
|
"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
|
|
1878
1848
|
"A component",
|
|
1879
1849
|
props.type
|
|
@@ -1882,7 +1852,7 @@
|
|
|
1882
1852
|
null === value$jscomp$1 ||
|
|
1883
1853
|
null === defaultValue$jscomp$0 ||
|
|
1884
1854
|
didWarnDefaultInputValue ||
|
|
1885
|
-
(error
|
|
1855
|
+
(console.error(
|
|
1886
1856
|
"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
|
|
1887
1857
|
"A component",
|
|
1888
1858
|
props.type
|
|
@@ -1949,7 +1919,7 @@
|
|
|
1949
1919
|
"submit" === props.type ||
|
|
1950
1920
|
didWarnFormActionType ||
|
|
1951
1921
|
((didWarnFormActionType = !0),
|
|
1952
|
-
error
|
|
1922
|
+
console.error(
|
|
1953
1923
|
'A button can only specify a formAction along with type="submit" or no type.'
|
|
1954
1924
|
));
|
|
1955
1925
|
var formData$jscomp$0 = pushFormActionAttribute(
|
|
@@ -2017,13 +1987,13 @@
|
|
|
2017
1987
|
(null === formEncType$jscomp$1 && null === formMethod$jscomp$1) ||
|
|
2018
1988
|
didWarnFormActionMethod ||
|
|
2019
1989
|
((didWarnFormActionMethod = !0),
|
|
2020
|
-
error
|
|
1990
|
+
console.error(
|
|
2021
1991
|
"Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden."
|
|
2022
1992
|
));
|
|
2023
1993
|
null === formTarget$jscomp$1 ||
|
|
2024
1994
|
didWarnFormActionTarget ||
|
|
2025
1995
|
((didWarnFormActionTarget = !0),
|
|
2026
|
-
error
|
|
1996
|
+
console.error(
|
|
2027
1997
|
"Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."
|
|
2028
1998
|
));
|
|
2029
1999
|
var customFields = getCustomFormFields(
|
|
@@ -2097,51 +2067,101 @@
|
|
|
2097
2067
|
}
|
|
2098
2068
|
target$jscomp$0.push(endOfStartTag);
|
|
2099
2069
|
return null;
|
|
2070
|
+
case "object":
|
|
2071
|
+
target$jscomp$0.push(startChunkForTag("object"));
|
|
2072
|
+
var children$jscomp$5 = null,
|
|
2073
|
+
innerHTML$jscomp$4 = null,
|
|
2074
|
+
propKey$jscomp$7;
|
|
2075
|
+
for (propKey$jscomp$7 in props)
|
|
2076
|
+
if (hasOwnProperty.call(props, propKey$jscomp$7)) {
|
|
2077
|
+
var propValue$jscomp$7 = props[propKey$jscomp$7];
|
|
2078
|
+
if (null != propValue$jscomp$7)
|
|
2079
|
+
switch (propKey$jscomp$7) {
|
|
2080
|
+
case "children":
|
|
2081
|
+
children$jscomp$5 = propValue$jscomp$7;
|
|
2082
|
+
break;
|
|
2083
|
+
case "dangerouslySetInnerHTML":
|
|
2084
|
+
innerHTML$jscomp$4 = propValue$jscomp$7;
|
|
2085
|
+
break;
|
|
2086
|
+
case "data":
|
|
2087
|
+
checkAttributeStringCoercion(propValue$jscomp$7, "data");
|
|
2088
|
+
var sanitizedValue = sanitizeURL("" + propValue$jscomp$7);
|
|
2089
|
+
if ("" === sanitizedValue) {
|
|
2090
|
+
console.error(
|
|
2091
|
+
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
2092
|
+
propKey$jscomp$7,
|
|
2093
|
+
propKey$jscomp$7
|
|
2094
|
+
);
|
|
2095
|
+
break;
|
|
2096
|
+
}
|
|
2097
|
+
target$jscomp$0.push(
|
|
2098
|
+
attributeSeparator,
|
|
2099
|
+
"data",
|
|
2100
|
+
attributeAssign,
|
|
2101
|
+
escapeTextForBrowser(sanitizedValue),
|
|
2102
|
+
attributeEnd
|
|
2103
|
+
);
|
|
2104
|
+
break;
|
|
2105
|
+
default:
|
|
2106
|
+
pushAttribute(
|
|
2107
|
+
target$jscomp$0,
|
|
2108
|
+
propKey$jscomp$7,
|
|
2109
|
+
propValue$jscomp$7
|
|
2110
|
+
);
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
target$jscomp$0.push(endOfStartTag);
|
|
2114
|
+
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
|
|
2115
|
+
if ("string" === typeof children$jscomp$5) {
|
|
2116
|
+
target$jscomp$0.push(escapeTextForBrowser(children$jscomp$5));
|
|
2117
|
+
var JSCompiler_inline_result$jscomp$3 = null;
|
|
2118
|
+
} else JSCompiler_inline_result$jscomp$3 = children$jscomp$5;
|
|
2119
|
+
return JSCompiler_inline_result$jscomp$3;
|
|
2100
2120
|
case "title":
|
|
2101
2121
|
var insertionMode = formatContext.insertionMode,
|
|
2102
2122
|
noscriptTagInScope = !!(formatContext.tagScope & 1);
|
|
2103
2123
|
if (hasOwnProperty.call(props, "children")) {
|
|
2104
|
-
var children$jscomp$
|
|
2105
|
-
child = Array.isArray(children$jscomp$
|
|
2106
|
-
? 2 > children$jscomp$
|
|
2107
|
-
? children$jscomp$
|
|
2124
|
+
var children$jscomp$6 = props.children,
|
|
2125
|
+
child = Array.isArray(children$jscomp$6)
|
|
2126
|
+
? 2 > children$jscomp$6.length
|
|
2127
|
+
? children$jscomp$6[0]
|
|
2108
2128
|
: null
|
|
2109
|
-
: children$jscomp$
|
|
2110
|
-
Array.isArray(children$jscomp$
|
|
2111
|
-
? error
|
|
2129
|
+
: children$jscomp$6;
|
|
2130
|
+
Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
|
|
2131
|
+
? console.error(
|
|
2112
2132
|
"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
|
|
2113
|
-
children$jscomp$
|
|
2133
|
+
children$jscomp$6.length
|
|
2114
2134
|
)
|
|
2115
2135
|
: "function" === typeof child || "symbol" === typeof child
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2136
|
+
? console.error(
|
|
2137
|
+
"React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",
|
|
2138
|
+
"function" === typeof child ? "a Function" : "a Sybmol"
|
|
2139
|
+
)
|
|
2140
|
+
: child &&
|
|
2141
|
+
child.toString === {}.toString &&
|
|
2142
|
+
(null != child.$$typeof
|
|
2143
|
+
? console.error(
|
|
2144
|
+
"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."
|
|
2145
|
+
)
|
|
2146
|
+
: console.error(
|
|
2147
|
+
"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."
|
|
2148
|
+
));
|
|
2129
2149
|
}
|
|
2130
2150
|
if (
|
|
2131
2151
|
insertionMode === SVG_MODE ||
|
|
2132
2152
|
noscriptTagInScope ||
|
|
2133
2153
|
null != props.itemProp
|
|
2134
2154
|
)
|
|
2135
|
-
var JSCompiler_inline_result$jscomp$
|
|
2155
|
+
var JSCompiler_inline_result$jscomp$4 = pushTitleImpl(
|
|
2136
2156
|
target$jscomp$0,
|
|
2137
2157
|
props
|
|
2138
2158
|
);
|
|
2139
2159
|
else
|
|
2140
2160
|
isFallback
|
|
2141
|
-
? (JSCompiler_inline_result$jscomp$
|
|
2161
|
+
? (JSCompiler_inline_result$jscomp$4 = null)
|
|
2142
2162
|
: (pushTitleImpl(renderState.hoistableChunks, props),
|
|
2143
|
-
(JSCompiler_inline_result$jscomp$
|
|
2144
|
-
return JSCompiler_inline_result$jscomp$
|
|
2163
|
+
(JSCompiler_inline_result$jscomp$4 = void 0));
|
|
2164
|
+
return JSCompiler_inline_result$jscomp$4;
|
|
2145
2165
|
case "link":
|
|
2146
2166
|
var rel = props.rel,
|
|
2147
2167
|
href = props.href,
|
|
@@ -2157,18 +2177,18 @@
|
|
|
2157
2177
|
"stylesheet" === rel &&
|
|
2158
2178
|
"string" === typeof props.precedence &&
|
|
2159
2179
|
(("string" === typeof href && href) ||
|
|
2160
|
-
error
|
|
2180
|
+
console.error(
|
|
2161
2181
|
'React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',
|
|
2162
2182
|
null === href
|
|
2163
2183
|
? "`null`"
|
|
2164
2184
|
: void 0 === href
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2185
|
+
? "`undefined`"
|
|
2186
|
+
: "" === href
|
|
2187
|
+
? "an empty string"
|
|
2188
|
+
: 'something with type "' + typeof href + '"'
|
|
2169
2189
|
));
|
|
2170
2190
|
pushLinkImpl(target$jscomp$0, props);
|
|
2171
|
-
var JSCompiler_inline_result$jscomp$
|
|
2191
|
+
var JSCompiler_inline_result$jscomp$5 = null;
|
|
2172
2192
|
} else if ("stylesheet" === props.rel)
|
|
2173
2193
|
if (
|
|
2174
2194
|
"string" !== typeof precedence ||
|
|
@@ -2178,7 +2198,7 @@
|
|
|
2178
2198
|
) {
|
|
2179
2199
|
if ("string" === typeof precedence)
|
|
2180
2200
|
if (null != props.disabled)
|
|
2181
|
-
error
|
|
2201
|
+
console.error(
|
|
2182
2202
|
'React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.'
|
|
2183
2203
|
);
|
|
2184
2204
|
else if (props.onLoad || props.onError) {
|
|
@@ -2186,15 +2206,15 @@
|
|
|
2186
2206
|
props.onLoad && props.onError
|
|
2187
2207
|
? "`onLoad` and `onError` props"
|
|
2188
2208
|
: props.onLoad
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
error
|
|
2209
|
+
? "`onLoad` prop"
|
|
2210
|
+
: "`onError` prop";
|
|
2211
|
+
console.error(
|
|
2192
2212
|
'React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',
|
|
2193
2213
|
propDescription,
|
|
2194
2214
|
propDescription
|
|
2195
2215
|
);
|
|
2196
2216
|
}
|
|
2197
|
-
JSCompiler_inline_result$jscomp$
|
|
2217
|
+
JSCompiler_inline_result$jscomp$5 = pushLinkImpl(
|
|
2198
2218
|
target$jscomp$0,
|
|
2199
2219
|
props
|
|
2200
2220
|
);
|
|
@@ -2240,19 +2260,19 @@
|
|
|
2240
2260
|
hoistableState.stylesheets.add(_resource);
|
|
2241
2261
|
}
|
|
2242
2262
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
2243
|
-
JSCompiler_inline_result$jscomp$
|
|
2263
|
+
JSCompiler_inline_result$jscomp$5 = null;
|
|
2244
2264
|
}
|
|
2245
2265
|
else
|
|
2246
2266
|
props.onLoad || props.onError
|
|
2247
|
-
? (JSCompiler_inline_result$jscomp$
|
|
2267
|
+
? (JSCompiler_inline_result$jscomp$5 = pushLinkImpl(
|
|
2248
2268
|
target$jscomp$0,
|
|
2249
2269
|
props
|
|
2250
2270
|
))
|
|
2251
2271
|
: (textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"),
|
|
2252
|
-
(JSCompiler_inline_result$jscomp$
|
|
2272
|
+
(JSCompiler_inline_result$jscomp$5 = isFallback
|
|
2253
2273
|
? null
|
|
2254
2274
|
: pushLinkImpl(renderState.hoistableChunks, props)));
|
|
2255
|
-
return JSCompiler_inline_result$jscomp$
|
|
2275
|
+
return JSCompiler_inline_result$jscomp$5;
|
|
2256
2276
|
case "script":
|
|
2257
2277
|
var asyncProp = props.async;
|
|
2258
2278
|
if (
|
|
@@ -2267,7 +2287,7 @@
|
|
|
2267
2287
|
formatContext.tagScope & 1 ||
|
|
2268
2288
|
null != props.itemProp
|
|
2269
2289
|
)
|
|
2270
|
-
var JSCompiler_inline_result$jscomp$
|
|
2290
|
+
var JSCompiler_inline_result$jscomp$6 = pushScriptImpl(
|
|
2271
2291
|
target$jscomp$0,
|
|
2272
2292
|
props
|
|
2273
2293
|
);
|
|
@@ -2298,29 +2318,29 @@
|
|
|
2298
2318
|
pushScriptImpl(resource$jscomp$0, scriptProps);
|
|
2299
2319
|
}
|
|
2300
2320
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
2301
|
-
JSCompiler_inline_result$jscomp$
|
|
2321
|
+
JSCompiler_inline_result$jscomp$6 = null;
|
|
2302
2322
|
}
|
|
2303
|
-
return JSCompiler_inline_result$jscomp$
|
|
2323
|
+
return JSCompiler_inline_result$jscomp$6;
|
|
2304
2324
|
case "style":
|
|
2305
2325
|
var insertionMode$jscomp$0 = formatContext.insertionMode,
|
|
2306
2326
|
noscriptTagInScope$jscomp$0 = !!(formatContext.tagScope & 1);
|
|
2307
2327
|
if (hasOwnProperty.call(props, "children")) {
|
|
2308
|
-
var children$jscomp$
|
|
2309
|
-
child$jscomp$0 = Array.isArray(children$jscomp$
|
|
2310
|
-
? 2 > children$jscomp$
|
|
2311
|
-
? children$jscomp$
|
|
2328
|
+
var children$jscomp$7 = props.children,
|
|
2329
|
+
child$jscomp$0 = Array.isArray(children$jscomp$7)
|
|
2330
|
+
? 2 > children$jscomp$7.length
|
|
2331
|
+
? children$jscomp$7[0]
|
|
2312
2332
|
: null
|
|
2313
|
-
: children$jscomp$
|
|
2333
|
+
: children$jscomp$7;
|
|
2314
2334
|
("function" === typeof child$jscomp$0 ||
|
|
2315
2335
|
"symbol" === typeof child$jscomp$0 ||
|
|
2316
2336
|
Array.isArray(child$jscomp$0)) &&
|
|
2317
|
-
error
|
|
2337
|
+
console.error(
|
|
2318
2338
|
"React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",
|
|
2319
2339
|
"function" === typeof child$jscomp$0
|
|
2320
2340
|
? "a Function"
|
|
2321
2341
|
: "symbol" === typeof child$jscomp$0
|
|
2322
|
-
|
|
2323
|
-
|
|
2342
|
+
? "a Sybmol"
|
|
2343
|
+
: "an Array"
|
|
2324
2344
|
);
|
|
2325
2345
|
}
|
|
2326
2346
|
var precedence$jscomp$0 = props.precedence,
|
|
@@ -2334,34 +2354,34 @@
|
|
|
2334
2354
|
"" === href$jscomp$0
|
|
2335
2355
|
) {
|
|
2336
2356
|
target$jscomp$0.push(startChunkForTag("style"));
|
|
2337
|
-
var children$jscomp$
|
|
2338
|
-
innerHTML$jscomp$
|
|
2339
|
-
propKey$jscomp$
|
|
2340
|
-
for (propKey$jscomp$
|
|
2341
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
2342
|
-
var propValue$jscomp$
|
|
2343
|
-
if (null != propValue$jscomp$
|
|
2344
|
-
switch (propKey$jscomp$
|
|
2357
|
+
var children$jscomp$8 = null,
|
|
2358
|
+
innerHTML$jscomp$5 = null,
|
|
2359
|
+
propKey$jscomp$8;
|
|
2360
|
+
for (propKey$jscomp$8 in props)
|
|
2361
|
+
if (hasOwnProperty.call(props, propKey$jscomp$8)) {
|
|
2362
|
+
var propValue$jscomp$8 = props[propKey$jscomp$8];
|
|
2363
|
+
if (null != propValue$jscomp$8)
|
|
2364
|
+
switch (propKey$jscomp$8) {
|
|
2345
2365
|
case "children":
|
|
2346
|
-
children$jscomp$
|
|
2366
|
+
children$jscomp$8 = propValue$jscomp$8;
|
|
2347
2367
|
break;
|
|
2348
2368
|
case "dangerouslySetInnerHTML":
|
|
2349
|
-
innerHTML$jscomp$
|
|
2369
|
+
innerHTML$jscomp$5 = propValue$jscomp$8;
|
|
2350
2370
|
break;
|
|
2351
2371
|
default:
|
|
2352
2372
|
pushAttribute(
|
|
2353
2373
|
target$jscomp$0,
|
|
2354
|
-
propKey$jscomp$
|
|
2355
|
-
propValue$jscomp$
|
|
2374
|
+
propKey$jscomp$8,
|
|
2375
|
+
propValue$jscomp$8
|
|
2356
2376
|
);
|
|
2357
2377
|
}
|
|
2358
2378
|
}
|
|
2359
2379
|
target$jscomp$0.push(endOfStartTag);
|
|
2360
|
-
var child$jscomp$1 = Array.isArray(children$jscomp$
|
|
2361
|
-
? 2 > children$jscomp$
|
|
2362
|
-
? children$jscomp$
|
|
2380
|
+
var child$jscomp$1 = Array.isArray(children$jscomp$8)
|
|
2381
|
+
? 2 > children$jscomp$8.length
|
|
2382
|
+
? children$jscomp$8[0]
|
|
2363
2383
|
: null
|
|
2364
|
-
: children$jscomp$
|
|
2384
|
+
: children$jscomp$8;
|
|
2365
2385
|
"function" !== typeof child$jscomp$1 &&
|
|
2366
2386
|
"symbol" !== typeof child$jscomp$1 &&
|
|
2367
2387
|
null !== child$jscomp$1 &&
|
|
@@ -2369,14 +2389,14 @@
|
|
|
2369
2389
|
target$jscomp$0.push(escapeStyleTextContent(child$jscomp$1));
|
|
2370
2390
|
pushInnerHTML(
|
|
2371
2391
|
target$jscomp$0,
|
|
2372
|
-
innerHTML$jscomp$
|
|
2373
|
-
children$jscomp$
|
|
2392
|
+
innerHTML$jscomp$5,
|
|
2393
|
+
children$jscomp$8
|
|
2374
2394
|
);
|
|
2375
2395
|
target$jscomp$0.push(endChunkForTag("style"));
|
|
2376
|
-
var JSCompiler_inline_result$jscomp$
|
|
2396
|
+
var JSCompiler_inline_result$jscomp$7 = null;
|
|
2377
2397
|
} else {
|
|
2378
2398
|
href$jscomp$0.includes(" ") &&
|
|
2379
|
-
error
|
|
2399
|
+
console.error(
|
|
2380
2400
|
'React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',
|
|
2381
2401
|
href$jscomp$0
|
|
2382
2402
|
);
|
|
@@ -2389,7 +2409,7 @@
|
|
|
2389
2409
|
if (resourceState$jscomp$1 !== EXISTS) {
|
|
2390
2410
|
resumableState.styleResources[href$jscomp$0] = EXISTS;
|
|
2391
2411
|
resourceState$jscomp$1 &&
|
|
2392
|
-
error
|
|
2412
|
+
console.error(
|
|
2393
2413
|
'React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.',
|
|
2394
2414
|
href$jscomp$0
|
|
2395
2415
|
);
|
|
@@ -2408,100 +2428,104 @@
|
|
|
2408
2428
|
styleQueue$jscomp$0
|
|
2409
2429
|
));
|
|
2410
2430
|
var target = styleQueue$jscomp$0.rules,
|
|
2411
|
-
children$jscomp$
|
|
2412
|
-
innerHTML$jscomp$
|
|
2413
|
-
propKey$jscomp$
|
|
2414
|
-
for (propKey$jscomp$
|
|
2415
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
2416
|
-
var propValue$jscomp$
|
|
2417
|
-
if (null != propValue$jscomp$
|
|
2418
|
-
switch (propKey$jscomp$
|
|
2431
|
+
children$jscomp$9 = null,
|
|
2432
|
+
innerHTML$jscomp$6 = null,
|
|
2433
|
+
propKey$jscomp$9;
|
|
2434
|
+
for (propKey$jscomp$9 in props)
|
|
2435
|
+
if (hasOwnProperty.call(props, propKey$jscomp$9)) {
|
|
2436
|
+
var propValue$jscomp$9 = props[propKey$jscomp$9];
|
|
2437
|
+
if (null != propValue$jscomp$9)
|
|
2438
|
+
switch (propKey$jscomp$9) {
|
|
2419
2439
|
case "children":
|
|
2420
|
-
children$jscomp$
|
|
2440
|
+
children$jscomp$9 = propValue$jscomp$9;
|
|
2421
2441
|
break;
|
|
2422
2442
|
case "dangerouslySetInnerHTML":
|
|
2423
|
-
innerHTML$jscomp$
|
|
2443
|
+
innerHTML$jscomp$6 = propValue$jscomp$9;
|
|
2424
2444
|
}
|
|
2425
2445
|
}
|
|
2426
|
-
var child$jscomp$2 = Array.isArray(children$jscomp$
|
|
2427
|
-
? 2 > children$jscomp$
|
|
2428
|
-
? children$jscomp$
|
|
2446
|
+
var child$jscomp$2 = Array.isArray(children$jscomp$9)
|
|
2447
|
+
? 2 > children$jscomp$9.length
|
|
2448
|
+
? children$jscomp$9[0]
|
|
2429
2449
|
: null
|
|
2430
|
-
: children$jscomp$
|
|
2450
|
+
: children$jscomp$9;
|
|
2431
2451
|
"function" !== typeof child$jscomp$2 &&
|
|
2432
2452
|
"symbol" !== typeof child$jscomp$2 &&
|
|
2433
2453
|
null !== child$jscomp$2 &&
|
|
2434
2454
|
void 0 !== child$jscomp$2 &&
|
|
2435
2455
|
target.push(escapeStyleTextContent(child$jscomp$2));
|
|
2436
|
-
pushInnerHTML(target, innerHTML$jscomp$
|
|
2456
|
+
pushInnerHTML(target, innerHTML$jscomp$6, children$jscomp$9);
|
|
2437
2457
|
}
|
|
2438
2458
|
styleQueue$jscomp$0 &&
|
|
2439
2459
|
hoistableState &&
|
|
2440
2460
|
hoistableState.styles.add(styleQueue$jscomp$0);
|
|
2441
2461
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
2442
|
-
JSCompiler_inline_result$jscomp$
|
|
2462
|
+
JSCompiler_inline_result$jscomp$7 = void 0;
|
|
2443
2463
|
}
|
|
2444
|
-
return JSCompiler_inline_result$jscomp$
|
|
2464
|
+
return JSCompiler_inline_result$jscomp$7;
|
|
2445
2465
|
case "meta":
|
|
2446
2466
|
if (
|
|
2447
2467
|
formatContext.insertionMode === SVG_MODE ||
|
|
2448
2468
|
formatContext.tagScope & 1 ||
|
|
2449
2469
|
null != props.itemProp
|
|
2450
2470
|
)
|
|
2451
|
-
var JSCompiler_inline_result$jscomp$
|
|
2471
|
+
var JSCompiler_inline_result$jscomp$8 = pushSelfClosing(
|
|
2452
2472
|
target$jscomp$0,
|
|
2453
2473
|
props,
|
|
2454
2474
|
"meta"
|
|
2455
2475
|
);
|
|
2456
2476
|
else
|
|
2457
2477
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"),
|
|
2458
|
-
(JSCompiler_inline_result$jscomp$
|
|
2478
|
+
(JSCompiler_inline_result$jscomp$8 = isFallback
|
|
2459
2479
|
? null
|
|
2460
2480
|
: "string" === typeof props.charSet
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2481
|
+
? pushSelfClosing(renderState.charsetChunks, props, "meta")
|
|
2482
|
+
: "viewport" === props.name
|
|
2483
|
+
? pushSelfClosing(renderState.viewportChunks, props, "meta")
|
|
2484
|
+
: pushSelfClosing(
|
|
2485
|
+
renderState.hoistableChunks,
|
|
2486
|
+
props,
|
|
2487
|
+
"meta"
|
|
2488
|
+
));
|
|
2489
|
+
return JSCompiler_inline_result$jscomp$8;
|
|
2466
2490
|
case "listing":
|
|
2467
2491
|
case "pre":
|
|
2468
2492
|
target$jscomp$0.push(startChunkForTag(type));
|
|
2469
|
-
var children$jscomp$
|
|
2470
|
-
innerHTML$jscomp$
|
|
2471
|
-
propKey$jscomp$
|
|
2472
|
-
for (propKey$jscomp$
|
|
2473
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
2474
|
-
var propValue$jscomp$
|
|
2475
|
-
if (null != propValue$jscomp$
|
|
2476
|
-
switch (propKey$jscomp$
|
|
2493
|
+
var children$jscomp$10 = null,
|
|
2494
|
+
innerHTML$jscomp$7 = null,
|
|
2495
|
+
propKey$jscomp$10;
|
|
2496
|
+
for (propKey$jscomp$10 in props)
|
|
2497
|
+
if (hasOwnProperty.call(props, propKey$jscomp$10)) {
|
|
2498
|
+
var propValue$jscomp$10 = props[propKey$jscomp$10];
|
|
2499
|
+
if (null != propValue$jscomp$10)
|
|
2500
|
+
switch (propKey$jscomp$10) {
|
|
2477
2501
|
case "children":
|
|
2478
|
-
children$jscomp$
|
|
2502
|
+
children$jscomp$10 = propValue$jscomp$10;
|
|
2479
2503
|
break;
|
|
2480
2504
|
case "dangerouslySetInnerHTML":
|
|
2481
|
-
innerHTML$jscomp$
|
|
2505
|
+
innerHTML$jscomp$7 = propValue$jscomp$10;
|
|
2482
2506
|
break;
|
|
2483
2507
|
default:
|
|
2484
2508
|
pushAttribute(
|
|
2485
2509
|
target$jscomp$0,
|
|
2486
|
-
propKey$jscomp$
|
|
2487
|
-
propValue$jscomp$
|
|
2510
|
+
propKey$jscomp$10,
|
|
2511
|
+
propValue$jscomp$10
|
|
2488
2512
|
);
|
|
2489
2513
|
}
|
|
2490
2514
|
}
|
|
2491
2515
|
target$jscomp$0.push(endOfStartTag);
|
|
2492
|
-
if (null != innerHTML$jscomp$
|
|
2493
|
-
if (null != children$jscomp$
|
|
2516
|
+
if (null != innerHTML$jscomp$7) {
|
|
2517
|
+
if (null != children$jscomp$10)
|
|
2494
2518
|
throw Error(
|
|
2495
2519
|
"Can only set one of `children` or `props.dangerouslySetInnerHTML`."
|
|
2496
2520
|
);
|
|
2497
2521
|
if (
|
|
2498
|
-
"object" !== typeof innerHTML$jscomp$
|
|
2499
|
-
!("__html" in innerHTML$jscomp$
|
|
2522
|
+
"object" !== typeof innerHTML$jscomp$7 ||
|
|
2523
|
+
!("__html" in innerHTML$jscomp$7)
|
|
2500
2524
|
)
|
|
2501
2525
|
throw Error(
|
|
2502
2526
|
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
|
|
2503
2527
|
);
|
|
2504
|
-
var html = innerHTML$jscomp$
|
|
2528
|
+
var html = innerHTML$jscomp$7.__html;
|
|
2505
2529
|
null !== html &&
|
|
2506
2530
|
void 0 !== html &&
|
|
2507
2531
|
("string" === typeof html && 0 < html.length && "\n" === html[0]
|
|
@@ -2509,10 +2533,10 @@
|
|
|
2509
2533
|
: (checkHtmlStringCoercion(html),
|
|
2510
2534
|
target$jscomp$0.push("" + html)));
|
|
2511
2535
|
}
|
|
2512
|
-
"string" === typeof children$jscomp$
|
|
2513
|
-
"\n" === children$jscomp$
|
|
2536
|
+
"string" === typeof children$jscomp$10 &&
|
|
2537
|
+
"\n" === children$jscomp$10[0] &&
|
|
2514
2538
|
target$jscomp$0.push(leadingNewline);
|
|
2515
|
-
return children$jscomp$
|
|
2539
|
+
return children$jscomp$10;
|
|
2516
2540
|
case "img":
|
|
2517
2541
|
var src = props.src,
|
|
2518
2542
|
srcSet = props.srcSet;
|
|
@@ -2576,7 +2600,7 @@
|
|
|
2576
2600
|
fetchPriority: props.fetchPriority,
|
|
2577
2601
|
referrerPolicy: props.refererPolicy
|
|
2578
2602
|
})),
|
|
2579
|
-
|
|
2603
|
+
0 <= (headers.remainingCapacity -= header.length + 2))
|
|
2580
2604
|
? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS),
|
|
2581
2605
|
headers.highImagePreloads &&
|
|
2582
2606
|
(headers.highImagePreloads += ", "),
|
|
@@ -2629,56 +2653,56 @@
|
|
|
2629
2653
|
null === renderState.headChunks
|
|
2630
2654
|
) {
|
|
2631
2655
|
renderState.headChunks = [];
|
|
2632
|
-
var JSCompiler_inline_result$jscomp$
|
|
2656
|
+
var JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
2633
2657
|
renderState.headChunks,
|
|
2634
2658
|
props,
|
|
2635
2659
|
"head"
|
|
2636
2660
|
);
|
|
2637
2661
|
} else
|
|
2638
|
-
JSCompiler_inline_result$jscomp$
|
|
2662
|
+
JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
2639
2663
|
target$jscomp$0,
|
|
2640
2664
|
props,
|
|
2641
2665
|
"head"
|
|
2642
2666
|
);
|
|
2643
|
-
return JSCompiler_inline_result$jscomp$
|
|
2667
|
+
return JSCompiler_inline_result$jscomp$9;
|
|
2644
2668
|
case "html":
|
|
2645
2669
|
if (
|
|
2646
2670
|
formatContext.insertionMode === ROOT_HTML_MODE &&
|
|
2647
2671
|
null === renderState.htmlChunks
|
|
2648
2672
|
) {
|
|
2649
2673
|
renderState.htmlChunks = [doctypeChunk];
|
|
2650
|
-
var JSCompiler_inline_result$jscomp$
|
|
2674
|
+
var JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
2651
2675
|
renderState.htmlChunks,
|
|
2652
2676
|
props,
|
|
2653
2677
|
"html"
|
|
2654
2678
|
);
|
|
2655
2679
|
} else
|
|
2656
|
-
JSCompiler_inline_result$jscomp$
|
|
2680
|
+
JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
2657
2681
|
target$jscomp$0,
|
|
2658
2682
|
props,
|
|
2659
2683
|
"html"
|
|
2660
2684
|
);
|
|
2661
|
-
return JSCompiler_inline_result$jscomp$
|
|
2685
|
+
return JSCompiler_inline_result$jscomp$10;
|
|
2662
2686
|
default:
|
|
2663
2687
|
if (-1 !== type.indexOf("-")) {
|
|
2664
2688
|
target$jscomp$0.push(startChunkForTag(type));
|
|
2665
|
-
var children$jscomp$
|
|
2666
|
-
innerHTML$jscomp$
|
|
2667
|
-
propKey$jscomp$
|
|
2668
|
-
for (propKey$jscomp$
|
|
2669
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
2670
|
-
var propValue$jscomp$
|
|
2671
|
-
if (null != propValue$jscomp$
|
|
2672
|
-
var attributeName = propKey$jscomp$
|
|
2673
|
-
switch (propKey$jscomp$
|
|
2689
|
+
var children$jscomp$11 = null,
|
|
2690
|
+
innerHTML$jscomp$8 = null,
|
|
2691
|
+
propKey$jscomp$11;
|
|
2692
|
+
for (propKey$jscomp$11 in props)
|
|
2693
|
+
if (hasOwnProperty.call(props, propKey$jscomp$11)) {
|
|
2694
|
+
var propValue$jscomp$11 = props[propKey$jscomp$11];
|
|
2695
|
+
if (null != propValue$jscomp$11) {
|
|
2696
|
+
var attributeName = propKey$jscomp$11;
|
|
2697
|
+
switch (propKey$jscomp$11) {
|
|
2674
2698
|
case "children":
|
|
2675
|
-
children$jscomp$
|
|
2699
|
+
children$jscomp$11 = propValue$jscomp$11;
|
|
2676
2700
|
break;
|
|
2677
2701
|
case "dangerouslySetInnerHTML":
|
|
2678
|
-
innerHTML$jscomp$
|
|
2702
|
+
innerHTML$jscomp$8 = propValue$jscomp$11;
|
|
2679
2703
|
break;
|
|
2680
2704
|
case "style":
|
|
2681
|
-
pushStyleAttribute(target$jscomp$0, propValue$jscomp$
|
|
2705
|
+
pushStyleAttribute(target$jscomp$0, propValue$jscomp$11);
|
|
2682
2706
|
break;
|
|
2683
2707
|
case "suppressContentEditableWarning":
|
|
2684
2708
|
case "suppressHydrationWarning":
|
|
@@ -2688,20 +2712,20 @@
|
|
|
2688
2712
|
attributeName = "class";
|
|
2689
2713
|
default:
|
|
2690
2714
|
if (
|
|
2691
|
-
isAttributeNameSafe(propKey$jscomp$
|
|
2692
|
-
"function" !== typeof propValue$jscomp$
|
|
2693
|
-
"symbol" !== typeof propValue$jscomp$
|
|
2694
|
-
!1 !== propValue$jscomp$
|
|
2715
|
+
isAttributeNameSafe(propKey$jscomp$11) &&
|
|
2716
|
+
"function" !== typeof propValue$jscomp$11 &&
|
|
2717
|
+
"symbol" !== typeof propValue$jscomp$11 &&
|
|
2718
|
+
!1 !== propValue$jscomp$11
|
|
2695
2719
|
) {
|
|
2696
|
-
if (!0 === propValue$jscomp$
|
|
2697
|
-
propValue$jscomp$
|
|
2698
|
-
else if ("object" === typeof propValue$jscomp$
|
|
2720
|
+
if (!0 === propValue$jscomp$11)
|
|
2721
|
+
propValue$jscomp$11 = "";
|
|
2722
|
+
else if ("object" === typeof propValue$jscomp$11)
|
|
2699
2723
|
continue;
|
|
2700
2724
|
target$jscomp$0.push(
|
|
2701
2725
|
attributeSeparator,
|
|
2702
2726
|
attributeName,
|
|
2703
2727
|
attributeAssign,
|
|
2704
|
-
escapeTextForBrowser(propValue$jscomp$
|
|
2728
|
+
escapeTextForBrowser(propValue$jscomp$11),
|
|
2705
2729
|
attributeEnd
|
|
2706
2730
|
);
|
|
2707
2731
|
}
|
|
@@ -2711,10 +2735,10 @@
|
|
|
2711
2735
|
target$jscomp$0.push(endOfStartTag);
|
|
2712
2736
|
pushInnerHTML(
|
|
2713
2737
|
target$jscomp$0,
|
|
2714
|
-
innerHTML$jscomp$
|
|
2715
|
-
children$jscomp$
|
|
2738
|
+
innerHTML$jscomp$8,
|
|
2739
|
+
children$jscomp$11
|
|
2716
2740
|
);
|
|
2717
|
-
return children$jscomp$
|
|
2741
|
+
return children$jscomp$11;
|
|
2718
2742
|
}
|
|
2719
2743
|
}
|
|
2720
2744
|
return pushStartGenericElement(target$jscomp$0, props, type);
|
|
@@ -2877,7 +2901,7 @@
|
|
|
2877
2901
|
hrefs = styleQueue.hrefs;
|
|
2878
2902
|
0 < rules.length &&
|
|
2879
2903
|
0 === hrefs.length &&
|
|
2880
|
-
error
|
|
2904
|
+
console.error(
|
|
2881
2905
|
"React expected to have at least one href for an a hoistable style but found none. This is a bug in React."
|
|
2882
2906
|
);
|
|
2883
2907
|
var i = 0;
|
|
@@ -3093,7 +3117,7 @@
|
|
|
3093
3117
|
) {
|
|
3094
3118
|
(resumableState.scriptResources.hasOwnProperty(href) ||
|
|
3095
3119
|
resumableState.moduleScriptResources.hasOwnProperty(href)) &&
|
|
3096
|
-
error
|
|
3120
|
+
console.error(
|
|
3097
3121
|
'Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',
|
|
3098
3122
|
href
|
|
3099
3123
|
);
|
|
@@ -3151,7 +3175,7 @@
|
|
|
3151
3175
|
}
|
|
3152
3176
|
function escapeStringForLinkHeaderQuotedParamValueContext(value, name) {
|
|
3153
3177
|
willCoercionThrow(value) &&
|
|
3154
|
-
(error
|
|
3178
|
+
(console.error(
|
|
3155
3179
|
"The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
3156
3180
|
name,
|
|
3157
3181
|
typeName(value)
|
|
@@ -3267,8 +3291,8 @@
|
|
|
3267
3291
|
null == scriptConfig.crossOrigin
|
|
3268
3292
|
? void 0
|
|
3269
3293
|
: "use-credentials" === scriptConfig.crossOrigin
|
|
3270
|
-
|
|
3271
|
-
|
|
3294
|
+
? "use-credentials"
|
|
3295
|
+
: ""));
|
|
3272
3296
|
preloadBootstrapScriptOrModule(resumableState, idPrefix, src, props);
|
|
3273
3297
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src));
|
|
3274
3298
|
"string" === typeof integrity &&
|
|
@@ -3308,8 +3332,8 @@
|
|
|
3308
3332
|
null == bootstrapScriptContent.crossOrigin
|
|
3309
3333
|
? void 0
|
|
3310
3334
|
: "use-credentials" === bootstrapScriptContent.crossOrigin
|
|
3311
|
-
|
|
3312
|
-
|
|
3335
|
+
? "use-credentials"
|
|
3336
|
+
: "")),
|
|
3313
3337
|
preloadBootstrapScriptOrModule(
|
|
3314
3338
|
resumableState,
|
|
3315
3339
|
idPrefix,
|
|
@@ -3369,6 +3393,15 @@
|
|
|
3369
3393
|
(target = !0));
|
|
3370
3394
|
return target;
|
|
3371
3395
|
}
|
|
3396
|
+
function pushSegmentFinale(
|
|
3397
|
+
target,
|
|
3398
|
+
renderState,
|
|
3399
|
+
lastPushedText,
|
|
3400
|
+
textEmbedded
|
|
3401
|
+
) {
|
|
3402
|
+
renderState.generateStaticMarkup ||
|
|
3403
|
+
(lastPushedText && textEmbedded && target.push("\x3c!-- --\x3e"));
|
|
3404
|
+
}
|
|
3372
3405
|
function getComponentNameFromType(type) {
|
|
3373
3406
|
if (null == type) return null;
|
|
3374
3407
|
if ("function" === typeof type)
|
|
@@ -3393,7 +3426,7 @@
|
|
|
3393
3426
|
if ("object" === typeof type)
|
|
3394
3427
|
switch (
|
|
3395
3428
|
("number" === typeof type.tag &&
|
|
3396
|
-
error
|
|
3429
|
+
console.error(
|
|
3397
3430
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
3398
3431
|
),
|
|
3399
3432
|
type.$$typeof)
|
|
@@ -3483,12 +3516,12 @@
|
|
|
3483
3516
|
(null === prev
|
|
3484
3517
|
? pushAllNext(newSnapshot)
|
|
3485
3518
|
: null === newSnapshot
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3519
|
+
? popAllPrevious(prev)
|
|
3520
|
+
: prev.depth === newSnapshot.depth
|
|
3521
|
+
? popToNearestCommonAncestor(prev, newSnapshot)
|
|
3522
|
+
: prev.depth > newSnapshot.depth
|
|
3523
|
+
? popPreviousToCommonLevel(prev, newSnapshot)
|
|
3524
|
+
: popNextToCommonLevel(prev, newSnapshot),
|
|
3492
3525
|
(currentActiveSnapshot = newSnapshot));
|
|
3493
3526
|
}
|
|
3494
3527
|
function warnOnInvalidCallback(callback) {
|
|
@@ -3496,7 +3529,7 @@
|
|
|
3496
3529
|
var key = String(callback);
|
|
3497
3530
|
didWarnOnInvalidCallback.has(key) ||
|
|
3498
3531
|
(didWarnOnInvalidCallback.add(key),
|
|
3499
|
-
error
|
|
3532
|
+
console.error(
|
|
3500
3533
|
"Expected the last optional `callback` argument to be a function. Instead received: %s.",
|
|
3501
3534
|
callback
|
|
3502
3535
|
));
|
|
@@ -3509,7 +3542,7 @@
|
|
|
3509
3542
|
"ReactClass";
|
|
3510
3543
|
var warningKey = publicInstance + "." + callerName;
|
|
3511
3544
|
didWarnAboutNoopUpdateForComponent[warningKey] ||
|
|
3512
|
-
(error
|
|
3545
|
+
(console.error(
|
|
3513
3546
|
"Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.\n\nPlease check the code for the %s component.",
|
|
3514
3547
|
callerName,
|
|
3515
3548
|
publicInstance
|
|
@@ -3609,7 +3642,7 @@
|
|
|
3609
3642
|
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
|
3610
3643
|
);
|
|
3611
3644
|
isInHookUserCodeInDev &&
|
|
3612
|
-
error
|
|
3645
|
+
console.error(
|
|
3613
3646
|
"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"
|
|
3614
3647
|
);
|
|
3615
3648
|
return currentlyRenderingComponent;
|
|
@@ -3626,9 +3659,9 @@
|
|
|
3626
3659
|
(firstWorkInProgressHook = workInProgressHook = createHook()))
|
|
3627
3660
|
: ((isReRender = !0), (workInProgressHook = firstWorkInProgressHook))
|
|
3628
3661
|
: null === workInProgressHook.next
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3662
|
+
? ((isReRender = !1),
|
|
3663
|
+
(workInProgressHook = workInProgressHook.next = createHook()))
|
|
3664
|
+
: ((isReRender = !0), (workInProgressHook = workInProgressHook.next));
|
|
3632
3665
|
return workInProgressHook;
|
|
3633
3666
|
}
|
|
3634
3667
|
function getThenableStateAfterSuspending() {
|
|
@@ -3650,7 +3683,7 @@
|
|
|
3650
3683
|
}
|
|
3651
3684
|
function readContext(context) {
|
|
3652
3685
|
isInHookUserCodeInDev &&
|
|
3653
|
-
error
|
|
3686
|
+
console.error(
|
|
3654
3687
|
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
|
|
3655
3688
|
);
|
|
3656
3689
|
return context._currentValue2;
|
|
@@ -3690,8 +3723,8 @@
|
|
|
3690
3723
|
? initialArg()
|
|
3691
3724
|
: initialArg
|
|
3692
3725
|
: void 0 !== init
|
|
3693
|
-
|
|
3694
|
-
|
|
3726
|
+
? init(initialArg)
|
|
3727
|
+
: initialArg;
|
|
3695
3728
|
isInHookUserCodeInDev = !1;
|
|
3696
3729
|
workInProgressHook.memoizedState = reducer;
|
|
3697
3730
|
reducer = workInProgressHook.queue = { last: null, dispatch: null };
|
|
@@ -3712,14 +3745,14 @@
|
|
|
3712
3745
|
a: {
|
|
3713
3746
|
var JSCompiler_inline_result = prevState[1];
|
|
3714
3747
|
if (null === JSCompiler_inline_result)
|
|
3715
|
-
error
|
|
3748
|
+
console.error(
|
|
3716
3749
|
"%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",
|
|
3717
3750
|
currentHookNameInDev
|
|
3718
3751
|
),
|
|
3719
3752
|
(JSCompiler_inline_result = !1);
|
|
3720
3753
|
else {
|
|
3721
3754
|
deps.length !== JSCompiler_inline_result.length &&
|
|
3722
|
-
error
|
|
3755
|
+
console.error(
|
|
3723
3756
|
"The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",
|
|
3724
3757
|
currentHookNameInDev,
|
|
3725
3758
|
"[" + deps.join(", ") + "]",
|
|
@@ -3892,7 +3925,7 @@
|
|
|
3892
3925
|
});
|
|
3893
3926
|
}
|
|
3894
3927
|
0 > disabledDepth &&
|
|
3895
|
-
error
|
|
3928
|
+
console.error(
|
|
3896
3929
|
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
3897
3930
|
);
|
|
3898
3931
|
}
|
|
@@ -3903,8 +3936,14 @@
|
|
|
3903
3936
|
} catch (x) {
|
|
3904
3937
|
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
3905
3938
|
prefix = (match && match[1]) || "";
|
|
3939
|
+
suffix =
|
|
3940
|
+
-1 < x.stack.indexOf("\n at")
|
|
3941
|
+
? " (<anonymous>)"
|
|
3942
|
+
: -1 < x.stack.indexOf("@")
|
|
3943
|
+
? "@unknown:0:0"
|
|
3944
|
+
: "";
|
|
3906
3945
|
}
|
|
3907
|
-
return "\n" + prefix + name;
|
|
3946
|
+
return "\n" + prefix + name + suffix;
|
|
3908
3947
|
}
|
|
3909
3948
|
function describeNativeComponentFrame(fn, construct) {
|
|
3910
3949
|
if (!fn || reentry) return "";
|
|
@@ -3917,64 +3956,64 @@
|
|
|
3917
3956
|
previousDispatcher = ReactSharedInternals.H;
|
|
3918
3957
|
ReactSharedInternals.H = null;
|
|
3919
3958
|
disableLogs();
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
};
|
|
3927
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
3928
|
-
set: function () {
|
|
3959
|
+
try {
|
|
3960
|
+
var RunInRootFrame = {
|
|
3961
|
+
DetermineComponentFrameRoot: function () {
|
|
3962
|
+
try {
|
|
3963
|
+
if (construct) {
|
|
3964
|
+
var Fake = function () {
|
|
3929
3965
|
throw Error();
|
|
3966
|
+
};
|
|
3967
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
3968
|
+
set: function () {
|
|
3969
|
+
throw Error();
|
|
3970
|
+
}
|
|
3971
|
+
});
|
|
3972
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
3973
|
+
try {
|
|
3974
|
+
Reflect.construct(Fake, []);
|
|
3975
|
+
} catch (x) {
|
|
3976
|
+
var control = x;
|
|
3977
|
+
}
|
|
3978
|
+
Reflect.construct(fn, [], Fake);
|
|
3979
|
+
} else {
|
|
3980
|
+
try {
|
|
3981
|
+
Fake.call();
|
|
3982
|
+
} catch (x$0) {
|
|
3983
|
+
control = x$0;
|
|
3984
|
+
}
|
|
3985
|
+
fn.call(Fake.prototype);
|
|
3930
3986
|
}
|
|
3931
|
-
});
|
|
3932
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
3933
|
-
try {
|
|
3934
|
-
Reflect.construct(Fake, []);
|
|
3935
|
-
} catch (x) {
|
|
3936
|
-
var control = x;
|
|
3937
|
-
}
|
|
3938
|
-
Reflect.construct(fn, [], Fake);
|
|
3939
3987
|
} else {
|
|
3940
3988
|
try {
|
|
3941
|
-
|
|
3942
|
-
} catch (x$
|
|
3943
|
-
control = x$
|
|
3989
|
+
throw Error();
|
|
3990
|
+
} catch (x$1) {
|
|
3991
|
+
control = x$1;
|
|
3944
3992
|
}
|
|
3945
|
-
fn
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
try {
|
|
3949
|
-
throw Error();
|
|
3950
|
-
} catch (x$1) {
|
|
3951
|
-
control = x$1;
|
|
3993
|
+
(Fake = fn()) &&
|
|
3994
|
+
"function" === typeof Fake.catch &&
|
|
3995
|
+
Fake.catch(function () {});
|
|
3952
3996
|
}
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3997
|
+
} catch (sample) {
|
|
3998
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
3999
|
+
return [sample.stack, control.stack];
|
|
3956
4000
|
}
|
|
3957
|
-
|
|
3958
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
3959
|
-
return [sample.stack, control.stack];
|
|
4001
|
+
return [null, null];
|
|
3960
4002
|
}
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
"DetermineComponentFrameRoot";
|
|
3966
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
3967
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
3968
|
-
"name"
|
|
3969
|
-
);
|
|
3970
|
-
namePropDescriptor &&
|
|
3971
|
-
namePropDescriptor.configurable &&
|
|
3972
|
-
Object.defineProperty(
|
|
4003
|
+
};
|
|
4004
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
4005
|
+
"DetermineComponentFrameRoot";
|
|
4006
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
3973
4007
|
RunInRootFrame.DetermineComponentFrameRoot,
|
|
3974
|
-
"name"
|
|
3975
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
4008
|
+
"name"
|
|
3976
4009
|
);
|
|
3977
|
-
|
|
4010
|
+
namePropDescriptor &&
|
|
4011
|
+
namePropDescriptor.configurable &&
|
|
4012
|
+
Object.defineProperty(
|
|
4013
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
4014
|
+
"name",
|
|
4015
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
4016
|
+
);
|
|
3978
4017
|
var _RunInRootFrame$Deter =
|
|
3979
4018
|
RunInRootFrame.DetermineComponentFrameRoot(),
|
|
3980
4019
|
sampleStack = _RunInRootFrame$Deter[0],
|
|
@@ -3983,54 +4022,58 @@
|
|
|
3983
4022
|
var sampleLines = sampleStack.split("\n"),
|
|
3984
4023
|
controlLines = controlStack.split("\n");
|
|
3985
4024
|
for (
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
!sampleLines[
|
|
4025
|
+
_RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
4026
|
+
namePropDescriptor < sampleLines.length &&
|
|
4027
|
+
!sampleLines[namePropDescriptor].includes(
|
|
3989
4028
|
"DetermineComponentFrameRoot"
|
|
3990
4029
|
);
|
|
3991
4030
|
|
|
3992
4031
|
)
|
|
3993
|
-
|
|
4032
|
+
namePropDescriptor++;
|
|
3994
4033
|
for (
|
|
3995
4034
|
;
|
|
3996
|
-
|
|
3997
|
-
!controlLines[
|
|
4035
|
+
_RunInRootFrame$Deter < controlLines.length &&
|
|
4036
|
+
!controlLines[_RunInRootFrame$Deter].includes(
|
|
4037
|
+
"DetermineComponentFrameRoot"
|
|
4038
|
+
);
|
|
3998
4039
|
|
|
3999
4040
|
)
|
|
4000
|
-
|
|
4041
|
+
_RunInRootFrame$Deter++;
|
|
4001
4042
|
if (
|
|
4002
|
-
|
|
4003
|
-
|
|
4043
|
+
namePropDescriptor === sampleLines.length ||
|
|
4044
|
+
_RunInRootFrame$Deter === controlLines.length
|
|
4004
4045
|
)
|
|
4005
4046
|
for (
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
1 <=
|
|
4009
|
-
0 <=
|
|
4010
|
-
sampleLines[
|
|
4047
|
+
namePropDescriptor = sampleLines.length - 1,
|
|
4048
|
+
_RunInRootFrame$Deter = controlLines.length - 1;
|
|
4049
|
+
1 <= namePropDescriptor &&
|
|
4050
|
+
0 <= _RunInRootFrame$Deter &&
|
|
4051
|
+
sampleLines[namePropDescriptor] !==
|
|
4052
|
+
controlLines[_RunInRootFrame$Deter];
|
|
4011
4053
|
|
|
4012
4054
|
)
|
|
4013
|
-
|
|
4055
|
+
_RunInRootFrame$Deter--;
|
|
4014
4056
|
for (
|
|
4015
4057
|
;
|
|
4016
|
-
1 <=
|
|
4017
|
-
_RunInRootFrame$Deter
|
|
4058
|
+
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
4059
|
+
namePropDescriptor--, _RunInRootFrame$Deter--
|
|
4018
4060
|
)
|
|
4019
4061
|
if (
|
|
4020
|
-
sampleLines[
|
|
4062
|
+
sampleLines[namePropDescriptor] !==
|
|
4063
|
+
controlLines[_RunInRootFrame$Deter]
|
|
4021
4064
|
) {
|
|
4022
|
-
if (1 !==
|
|
4065
|
+
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
4023
4066
|
do
|
|
4024
4067
|
if (
|
|
4025
|
-
(
|
|
4026
|
-
|
|
4027
|
-
0 >
|
|
4028
|
-
sampleLines[
|
|
4029
|
-
controlLines[
|
|
4068
|
+
(namePropDescriptor--,
|
|
4069
|
+
_RunInRootFrame$Deter--,
|
|
4070
|
+
0 > _RunInRootFrame$Deter ||
|
|
4071
|
+
sampleLines[namePropDescriptor] !==
|
|
4072
|
+
controlLines[_RunInRootFrame$Deter])
|
|
4030
4073
|
) {
|
|
4031
4074
|
var _frame =
|
|
4032
4075
|
"\n" +
|
|
4033
|
-
sampleLines[
|
|
4076
|
+
sampleLines[namePropDescriptor].replace(
|
|
4034
4077
|
" at new ",
|
|
4035
4078
|
" at "
|
|
4036
4079
|
);
|
|
@@ -4041,7 +4084,7 @@
|
|
|
4041
4084
|
componentFrameCache.set(fn, _frame);
|
|
4042
4085
|
return _frame;
|
|
4043
4086
|
}
|
|
4044
|
-
while (1 <=
|
|
4087
|
+
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
4045
4088
|
}
|
|
4046
4089
|
break;
|
|
4047
4090
|
}
|
|
@@ -4058,42 +4101,81 @@
|
|
|
4058
4101
|
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
4059
4102
|
return sampleLines;
|
|
4060
4103
|
}
|
|
4104
|
+
function describeComponentStackByType(type) {
|
|
4105
|
+
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
4106
|
+
if ("function" === typeof type)
|
|
4107
|
+
return type.prototype && type.prototype.isReactComponent
|
|
4108
|
+
? ((type = describeNativeComponentFrame(type, !0)), type)
|
|
4109
|
+
: describeNativeComponentFrame(type, !1);
|
|
4110
|
+
if ("object" === typeof type && null !== type) {
|
|
4111
|
+
switch (type.$$typeof) {
|
|
4112
|
+
case REACT_FORWARD_REF_TYPE:
|
|
4113
|
+
return describeNativeComponentFrame(type.render, !1);
|
|
4114
|
+
case REACT_MEMO_TYPE:
|
|
4115
|
+
return describeNativeComponentFrame(type.type, !1);
|
|
4116
|
+
case REACT_LAZY_TYPE:
|
|
4117
|
+
var lazyComponent = type,
|
|
4118
|
+
payload = lazyComponent._payload;
|
|
4119
|
+
lazyComponent = lazyComponent._init;
|
|
4120
|
+
try {
|
|
4121
|
+
type = lazyComponent(payload);
|
|
4122
|
+
} catch (x) {
|
|
4123
|
+
return describeBuiltInComponentFrame("Lazy");
|
|
4124
|
+
}
|
|
4125
|
+
return describeComponentStackByType(type);
|
|
4126
|
+
}
|
|
4127
|
+
if ("string" === typeof type.name)
|
|
4128
|
+
return (
|
|
4129
|
+
(payload = type.env),
|
|
4130
|
+
describeBuiltInComponentFrame(
|
|
4131
|
+
type.name + (payload ? " [" + payload + "]" : "")
|
|
4132
|
+
)
|
|
4133
|
+
);
|
|
4134
|
+
}
|
|
4135
|
+
switch (type) {
|
|
4136
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
4137
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
|
4138
|
+
case REACT_SUSPENSE_TYPE:
|
|
4139
|
+
return describeBuiltInComponentFrame("Suspense");
|
|
4140
|
+
}
|
|
4141
|
+
return "";
|
|
4142
|
+
}
|
|
4061
4143
|
function getStackByComponentStackNode(componentStack) {
|
|
4062
4144
|
try {
|
|
4063
4145
|
var info = "";
|
|
4064
|
-
do
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
break;
|
|
4069
|
-
case 1:
|
|
4070
|
-
var JSCompiler_temp_const = info;
|
|
4071
|
-
var JSCompiler_inline_result = describeNativeComponentFrame(
|
|
4072
|
-
componentStack.type,
|
|
4073
|
-
!1
|
|
4074
|
-
);
|
|
4075
|
-
info = JSCompiler_temp_const + JSCompiler_inline_result;
|
|
4076
|
-
break;
|
|
4077
|
-
case 2:
|
|
4078
|
-
JSCompiler_temp_const = info;
|
|
4079
|
-
var JSCompiler_inline_result$jscomp$0 =
|
|
4080
|
-
describeNativeComponentFrame(componentStack.type, !0);
|
|
4081
|
-
info = JSCompiler_temp_const + JSCompiler_inline_result$jscomp$0;
|
|
4082
|
-
}
|
|
4083
|
-
componentStack = componentStack.parent;
|
|
4084
|
-
} while (componentStack);
|
|
4146
|
+
do
|
|
4147
|
+
(info += describeComponentStackByType(componentStack.type)),
|
|
4148
|
+
(componentStack = componentStack.parent);
|
|
4149
|
+
while (componentStack);
|
|
4085
4150
|
return info;
|
|
4086
4151
|
} catch (x) {
|
|
4087
4152
|
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
|
4088
4153
|
}
|
|
4089
4154
|
}
|
|
4090
4155
|
function defaultErrorHandler(error) {
|
|
4091
|
-
|
|
4156
|
+
if (
|
|
4157
|
+
"object" === typeof error &&
|
|
4158
|
+
null !== error &&
|
|
4159
|
+
"string" === typeof error.environmentName
|
|
4160
|
+
) {
|
|
4161
|
+
var JSCompiler_inline_result = error.environmentName;
|
|
4162
|
+
error = [error].slice(0);
|
|
4163
|
+
"string" === typeof error[0]
|
|
4164
|
+
? error.splice(
|
|
4165
|
+
0,
|
|
4166
|
+
1,
|
|
4167
|
+
"[%s] " + error[0],
|
|
4168
|
+
" " + JSCompiler_inline_result + " "
|
|
4169
|
+
)
|
|
4170
|
+
: error.splice(0, 0, "[%s] ", " " + JSCompiler_inline_result + " ");
|
|
4171
|
+
error.unshift(console);
|
|
4172
|
+
JSCompiler_inline_result = bind.apply(console.error, error);
|
|
4173
|
+
JSCompiler_inline_result();
|
|
4174
|
+
} else console.error(error);
|
|
4092
4175
|
return null;
|
|
4093
4176
|
}
|
|
4094
4177
|
function noop() {}
|
|
4095
4178
|
function RequestInstance(
|
|
4096
|
-
children,
|
|
4097
4179
|
resumableState,
|
|
4098
4180
|
renderState,
|
|
4099
4181
|
rootFormatContext,
|
|
@@ -4106,8 +4188,7 @@
|
|
|
4106
4188
|
onPostpone,
|
|
4107
4189
|
formState
|
|
4108
4190
|
) {
|
|
4109
|
-
var
|
|
4110
|
-
abortSet = new Set();
|
|
4191
|
+
var abortSet = new Set();
|
|
4111
4192
|
this.destination = null;
|
|
4112
4193
|
this.flushScheduled = !1;
|
|
4113
4194
|
this.resumableState = resumableState;
|
|
@@ -4115,12 +4196,12 @@
|
|
|
4115
4196
|
this.rootFormatContext = rootFormatContext;
|
|
4116
4197
|
this.progressiveChunkSize =
|
|
4117
4198
|
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
|
4118
|
-
this.status =
|
|
4199
|
+
this.status = 10;
|
|
4119
4200
|
this.fatalError = null;
|
|
4120
4201
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
|
4121
4202
|
this.completedRootSegment = null;
|
|
4122
4203
|
this.abortableTasks = abortSet;
|
|
4123
|
-
this.pingedTasks =
|
|
4204
|
+
this.pingedTasks = [];
|
|
4124
4205
|
this.clientRenderedBoundaries = [];
|
|
4125
4206
|
this.completedBoundaries = [];
|
|
4126
4207
|
this.partialBoundaries = [];
|
|
@@ -4133,33 +4214,6 @@
|
|
|
4133
4214
|
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
|
|
4134
4215
|
this.formState = void 0 === formState ? null : formState;
|
|
4135
4216
|
this.didWarnForKey = null;
|
|
4136
|
-
resumableState = createPendingSegment(
|
|
4137
|
-
this,
|
|
4138
|
-
0,
|
|
4139
|
-
null,
|
|
4140
|
-
rootFormatContext,
|
|
4141
|
-
!1,
|
|
4142
|
-
!1
|
|
4143
|
-
);
|
|
4144
|
-
resumableState.parentFlushed = !0;
|
|
4145
|
-
children = createRenderTask(
|
|
4146
|
-
this,
|
|
4147
|
-
null,
|
|
4148
|
-
children,
|
|
4149
|
-
-1,
|
|
4150
|
-
null,
|
|
4151
|
-
resumableState,
|
|
4152
|
-
null,
|
|
4153
|
-
abortSet,
|
|
4154
|
-
null,
|
|
4155
|
-
rootFormatContext,
|
|
4156
|
-
emptyContextObject,
|
|
4157
|
-
null,
|
|
4158
|
-
emptyTreeContext,
|
|
4159
|
-
null,
|
|
4160
|
-
!1
|
|
4161
|
-
);
|
|
4162
|
-
pingedTasks.push(children);
|
|
4163
4217
|
}
|
|
4164
4218
|
function createRequest(
|
|
4165
4219
|
children,
|
|
@@ -4175,8 +4229,7 @@
|
|
|
4175
4229
|
onPostpone,
|
|
4176
4230
|
formState
|
|
4177
4231
|
) {
|
|
4178
|
-
|
|
4179
|
-
children,
|
|
4232
|
+
resumableState = new RequestInstance(
|
|
4180
4233
|
resumableState,
|
|
4181
4234
|
renderState,
|
|
4182
4235
|
rootFormatContext,
|
|
@@ -4189,6 +4242,34 @@
|
|
|
4189
4242
|
onPostpone,
|
|
4190
4243
|
formState
|
|
4191
4244
|
);
|
|
4245
|
+
renderState = createPendingSegment(
|
|
4246
|
+
resumableState,
|
|
4247
|
+
0,
|
|
4248
|
+
null,
|
|
4249
|
+
rootFormatContext,
|
|
4250
|
+
!1,
|
|
4251
|
+
!1
|
|
4252
|
+
);
|
|
4253
|
+
renderState.parentFlushed = !0;
|
|
4254
|
+
children = createRenderTask(
|
|
4255
|
+
resumableState,
|
|
4256
|
+
null,
|
|
4257
|
+
children,
|
|
4258
|
+
-1,
|
|
4259
|
+
null,
|
|
4260
|
+
renderState,
|
|
4261
|
+
null,
|
|
4262
|
+
resumableState.abortableTasks,
|
|
4263
|
+
null,
|
|
4264
|
+
rootFormatContext,
|
|
4265
|
+
null,
|
|
4266
|
+
emptyTreeContext,
|
|
4267
|
+
null,
|
|
4268
|
+
!1
|
|
4269
|
+
);
|
|
4270
|
+
pushComponentStack(children);
|
|
4271
|
+
resumableState.pingedTasks.push(children);
|
|
4272
|
+
return resumableState;
|
|
4192
4273
|
}
|
|
4193
4274
|
function pingTask(request, task) {
|
|
4194
4275
|
request.pingedTasks.push(task);
|
|
@@ -4226,7 +4307,6 @@
|
|
|
4226
4307
|
abortSet,
|
|
4227
4308
|
keyPath,
|
|
4228
4309
|
formatContext,
|
|
4229
|
-
legacyContext,
|
|
4230
4310
|
context,
|
|
4231
4311
|
treeContext,
|
|
4232
4312
|
componentStack,
|
|
@@ -4249,7 +4329,6 @@
|
|
|
4249
4329
|
abortSet: abortSet,
|
|
4250
4330
|
keyPath: keyPath,
|
|
4251
4331
|
formatContext: formatContext,
|
|
4252
|
-
legacyContext: legacyContext,
|
|
4253
4332
|
context: context,
|
|
4254
4333
|
treeContext: treeContext,
|
|
4255
4334
|
componentStack: componentStack,
|
|
@@ -4270,7 +4349,6 @@
|
|
|
4270
4349
|
abortSet,
|
|
4271
4350
|
keyPath,
|
|
4272
4351
|
formatContext,
|
|
4273
|
-
legacyContext,
|
|
4274
4352
|
context,
|
|
4275
4353
|
treeContext,
|
|
4276
4354
|
componentStack,
|
|
@@ -4294,7 +4372,6 @@
|
|
|
4294
4372
|
abortSet: abortSet,
|
|
4295
4373
|
keyPath: keyPath,
|
|
4296
4374
|
formatContext: formatContext,
|
|
4297
|
-
legacyContext: legacyContext,
|
|
4298
4375
|
context: context,
|
|
4299
4376
|
treeContext: treeContext,
|
|
4300
4377
|
componentStack: componentStack,
|
|
@@ -4331,11 +4408,57 @@
|
|
|
4331
4408
|
? ""
|
|
4332
4409
|
: getStackByComponentStackNode(currentTaskInDEV.componentStack);
|
|
4333
4410
|
}
|
|
4334
|
-
function
|
|
4335
|
-
|
|
4411
|
+
function pushServerComponentStack(task, debugInfo) {
|
|
4412
|
+
if (null != debugInfo)
|
|
4413
|
+
for (var i = 0; i < debugInfo.length; i++) {
|
|
4414
|
+
var componentInfo = debugInfo[i];
|
|
4415
|
+
"string" === typeof componentInfo.name &&
|
|
4416
|
+
(task.componentStack = {
|
|
4417
|
+
parent: task.componentStack,
|
|
4418
|
+
type: componentInfo,
|
|
4419
|
+
owner: componentInfo.owner,
|
|
4420
|
+
stack: null
|
|
4421
|
+
});
|
|
4422
|
+
}
|
|
4423
|
+
}
|
|
4424
|
+
function pushComponentStack(task) {
|
|
4425
|
+
var node = task.node;
|
|
4426
|
+
if ("object" === typeof node && null !== node)
|
|
4427
|
+
switch (node.$$typeof) {
|
|
4428
|
+
case REACT_ELEMENT_TYPE:
|
|
4429
|
+
var type = node.type,
|
|
4430
|
+
owner = node._owner;
|
|
4431
|
+
pushServerComponentStack(task, node._debugInfo);
|
|
4432
|
+
task.componentStack = {
|
|
4433
|
+
parent: task.componentStack,
|
|
4434
|
+
type: type,
|
|
4435
|
+
owner: owner,
|
|
4436
|
+
stack: null
|
|
4437
|
+
};
|
|
4438
|
+
break;
|
|
4439
|
+
case REACT_LAZY_TYPE:
|
|
4440
|
+
pushServerComponentStack(task, node._debugInfo);
|
|
4441
|
+
break;
|
|
4442
|
+
default:
|
|
4443
|
+
"function" === typeof node.then &&
|
|
4444
|
+
pushServerComponentStack(task, node._debugInfo);
|
|
4445
|
+
}
|
|
4336
4446
|
}
|
|
4337
|
-
function getThrownInfo(
|
|
4338
|
-
|
|
4447
|
+
function getThrownInfo(node) {
|
|
4448
|
+
var errorInfo = {};
|
|
4449
|
+
node &&
|
|
4450
|
+
Object.defineProperty(errorInfo, "componentStack", {
|
|
4451
|
+
configurable: !0,
|
|
4452
|
+
enumerable: !0,
|
|
4453
|
+
get: function () {
|
|
4454
|
+
var stack = getStackByComponentStackNode(node);
|
|
4455
|
+
Object.defineProperty(errorInfo, "componentStack", {
|
|
4456
|
+
value: stack
|
|
4457
|
+
});
|
|
4458
|
+
return stack;
|
|
4459
|
+
}
|
|
4460
|
+
});
|
|
4461
|
+
return errorInfo;
|
|
4339
4462
|
}
|
|
4340
4463
|
function encodeErrorForBoundary(
|
|
4341
4464
|
boundary,
|
|
@@ -4359,23 +4482,24 @@
|
|
|
4359
4482
|
boundary.errorStack = null !== error ? wasAborted + error : null;
|
|
4360
4483
|
boundary.errorComponentStack = thrownInfo.componentStack;
|
|
4361
4484
|
}
|
|
4362
|
-
function logRecoverableError(request, error
|
|
4363
|
-
request = request.onError
|
|
4364
|
-
|
|
4365
|
-
|
|
4485
|
+
function logRecoverableError(request, error, errorInfo) {
|
|
4486
|
+
request = request.onError;
|
|
4487
|
+
error = request(error, errorInfo);
|
|
4488
|
+
if (null != error && "string" !== typeof error)
|
|
4489
|
+
console.error(
|
|
4366
4490
|
'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 "%s" instead',
|
|
4367
|
-
typeof
|
|
4491
|
+
typeof error
|
|
4368
4492
|
);
|
|
4369
|
-
else return
|
|
4493
|
+
else return error;
|
|
4370
4494
|
}
|
|
4371
4495
|
function fatalError(request, error) {
|
|
4372
|
-
var onShellError = request.onShellError
|
|
4373
|
-
|
|
4374
|
-
onShellError = request.onFatalError;
|
|
4496
|
+
var onShellError = request.onShellError,
|
|
4497
|
+
onFatalError = request.onFatalError;
|
|
4375
4498
|
onShellError(error);
|
|
4499
|
+
onFatalError(error);
|
|
4376
4500
|
null !== request.destination
|
|
4377
|
-
? ((request.status =
|
|
4378
|
-
: ((request.status =
|
|
4501
|
+
? ((request.status = CLOSED), request.destination.destroy(error))
|
|
4502
|
+
: ((request.status = 13), (request.fatalError = error));
|
|
4379
4503
|
}
|
|
4380
4504
|
function renderWithHooks(
|
|
4381
4505
|
request,
|
|
@@ -4397,7 +4521,7 @@
|
|
|
4397
4521
|
thenableIndexCounter = 0;
|
|
4398
4522
|
thenableState = prevThenableState;
|
|
4399
4523
|
for (
|
|
4400
|
-
request = Component
|
|
4524
|
+
request = callComponentInDEV(Component, props, secondArg);
|
|
4401
4525
|
didScheduleRenderPhaseUpdate;
|
|
4402
4526
|
|
|
4403
4527
|
)
|
|
@@ -4440,8 +4564,8 @@
|
|
|
4440
4564
|
renderNode(request, task, children, -1),
|
|
4441
4565
|
(task.treeContext = keyPath))
|
|
4442
4566
|
: didEmitActionStateMarkers
|
|
4443
|
-
|
|
4444
|
-
|
|
4567
|
+
? renderNode(request, task, children, -1)
|
|
4568
|
+
: renderNodeDestructive(request, task, children, -1);
|
|
4445
4569
|
task.keyPath = actionStateCount;
|
|
4446
4570
|
}
|
|
4447
4571
|
function renderElement(request, task, keyPath, type, props, ref) {
|
|
@@ -4461,12 +4585,6 @@
|
|
|
4461
4585
|
(newProps[_propName] = defaultProps[_propName]);
|
|
4462
4586
|
}
|
|
4463
4587
|
var resolvedProps = newProps;
|
|
4464
|
-
var previousComponentStack = task.componentStack;
|
|
4465
|
-
task.componentStack = {
|
|
4466
|
-
tag: 2,
|
|
4467
|
-
parent: task.componentStack,
|
|
4468
|
-
type: type
|
|
4469
|
-
};
|
|
4470
4588
|
var context = emptyContextObject,
|
|
4471
4589
|
contextType = type.contextType;
|
|
4472
4590
|
if (
|
|
@@ -4481,13 +4599,13 @@
|
|
|
4481
4599
|
void 0 === contextType
|
|
4482
4600
|
? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file."
|
|
4483
4601
|
: "object" !== typeof contextType
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
error
|
|
4602
|
+
? " However, it is set to a " + typeof contextType + "."
|
|
4603
|
+
: contextType.$$typeof === REACT_CONSUMER_TYPE
|
|
4604
|
+
? " Did you accidentally pass the Context.Consumer instead?"
|
|
4605
|
+
: " However, it is set to an object with keys {" +
|
|
4606
|
+
Object.keys(contextType).join(", ") +
|
|
4607
|
+
"}.";
|
|
4608
|
+
console.error(
|
|
4491
4609
|
"%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",
|
|
4492
4610
|
getComponentNameFromType(type) || "Component",
|
|
4493
4611
|
addendum
|
|
@@ -4504,7 +4622,7 @@
|
|
|
4504
4622
|
var componentName = getComponentNameFromType(type) || "Component";
|
|
4505
4623
|
didWarnAboutUninitializedState.has(componentName) ||
|
|
4506
4624
|
(didWarnAboutUninitializedState.add(componentName),
|
|
4507
|
-
error
|
|
4625
|
+
console.error(
|
|
4508
4626
|
"`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",
|
|
4509
4627
|
componentName,
|
|
4510
4628
|
null === instance.state ? "null" : "undefined",
|
|
@@ -4551,7 +4669,7 @@
|
|
|
4551
4669
|
(didWarnAboutLegacyLifecyclesAndDerivedState.add(
|
|
4552
4670
|
_componentName
|
|
4553
4671
|
),
|
|
4554
|
-
error
|
|
4672
|
+
console.error(
|
|
4555
4673
|
"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles",
|
|
4556
4674
|
_componentName,
|
|
4557
4675
|
newApiName,
|
|
@@ -4570,88 +4688,87 @@
|
|
|
4570
4688
|
var name = getComponentNameFromType(type) || "Component";
|
|
4571
4689
|
instance.render ||
|
|
4572
4690
|
(type.prototype && "function" === typeof type.prototype.render
|
|
4573
|
-
? error
|
|
4691
|
+
? console.error(
|
|
4574
4692
|
"No `render` method found on the %s instance: did you accidentally return an object from the constructor?",
|
|
4575
4693
|
name
|
|
4576
4694
|
)
|
|
4577
|
-
: error
|
|
4695
|
+
: console.error(
|
|
4578
4696
|
"No `render` method found on the %s instance: you may have forgotten to define `render`.",
|
|
4579
4697
|
name
|
|
4580
4698
|
));
|
|
4581
4699
|
!instance.getInitialState ||
|
|
4582
4700
|
instance.getInitialState.isReactClassApproved ||
|
|
4583
4701
|
instance.state ||
|
|
4584
|
-
error
|
|
4702
|
+
console.error(
|
|
4585
4703
|
"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",
|
|
4586
4704
|
name
|
|
4587
4705
|
);
|
|
4588
4706
|
instance.getDefaultProps &&
|
|
4589
4707
|
!instance.getDefaultProps.isReactClassApproved &&
|
|
4590
|
-
error
|
|
4708
|
+
console.error(
|
|
4591
4709
|
"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",
|
|
4592
4710
|
name
|
|
4593
4711
|
);
|
|
4594
|
-
instance.propTypes &&
|
|
4595
|
-
error$jscomp$2(
|
|
4596
|
-
"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",
|
|
4597
|
-
name
|
|
4598
|
-
);
|
|
4599
4712
|
instance.contextType &&
|
|
4600
|
-
error
|
|
4713
|
+
console.error(
|
|
4601
4714
|
"contextType was defined as an instance property on %s. Use a static property to define contextType instead.",
|
|
4602
4715
|
name
|
|
4603
4716
|
);
|
|
4604
4717
|
type.childContextTypes &&
|
|
4605
|
-
|
|
4606
|
-
|
|
4718
|
+
!didWarnAboutChildContextTypes.has(type) &&
|
|
4719
|
+
(didWarnAboutChildContextTypes.add(type),
|
|
4720
|
+
console.error(
|
|
4721
|
+
"%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",
|
|
4607
4722
|
name
|
|
4608
|
-
);
|
|
4723
|
+
));
|
|
4609
4724
|
type.contextTypes &&
|
|
4610
|
-
|
|
4611
|
-
|
|
4725
|
+
!didWarnAboutContextTypes$1.has(type) &&
|
|
4726
|
+
(didWarnAboutContextTypes$1.add(type),
|
|
4727
|
+
console.error(
|
|
4728
|
+
"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",
|
|
4612
4729
|
name
|
|
4613
|
-
);
|
|
4730
|
+
));
|
|
4614
4731
|
"function" === typeof instance.componentShouldUpdate &&
|
|
4615
|
-
error
|
|
4732
|
+
console.error(
|
|
4616
4733
|
"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",
|
|
4617
4734
|
name
|
|
4618
4735
|
);
|
|
4619
4736
|
type.prototype &&
|
|
4620
4737
|
type.prototype.isPureReactComponent &&
|
|
4621
4738
|
"undefined" !== typeof instance.shouldComponentUpdate &&
|
|
4622
|
-
error
|
|
4739
|
+
console.error(
|
|
4623
4740
|
"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",
|
|
4624
4741
|
getComponentNameFromType(type) || "A pure component"
|
|
4625
4742
|
);
|
|
4626
4743
|
"function" === typeof instance.componentDidUnmount &&
|
|
4627
|
-
error
|
|
4744
|
+
console.error(
|
|
4628
4745
|
"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",
|
|
4629
4746
|
name
|
|
4630
4747
|
);
|
|
4631
4748
|
"function" === typeof instance.componentDidReceiveProps &&
|
|
4632
|
-
error
|
|
4749
|
+
console.error(
|
|
4633
4750
|
"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",
|
|
4634
4751
|
name
|
|
4635
4752
|
);
|
|
4636
4753
|
"function" === typeof instance.componentWillRecieveProps &&
|
|
4637
|
-
error
|
|
4754
|
+
console.error(
|
|
4638
4755
|
"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",
|
|
4639
4756
|
name
|
|
4640
4757
|
);
|
|
4641
4758
|
"function" === typeof instance.UNSAFE_componentWillRecieveProps &&
|
|
4642
|
-
error
|
|
4759
|
+
console.error(
|
|
4643
4760
|
"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",
|
|
4644
4761
|
name
|
|
4645
4762
|
);
|
|
4646
4763
|
var hasMutatedProps = instance.props !== resolvedProps;
|
|
4647
4764
|
void 0 !== instance.props &&
|
|
4648
4765
|
hasMutatedProps &&
|
|
4649
|
-
error
|
|
4766
|
+
console.error(
|
|
4650
4767
|
"When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",
|
|
4651
4768
|
name
|
|
4652
4769
|
);
|
|
4653
4770
|
instance.defaultProps &&
|
|
4654
|
-
error
|
|
4771
|
+
console.error(
|
|
4655
4772
|
"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",
|
|
4656
4773
|
name,
|
|
4657
4774
|
name
|
|
@@ -4660,32 +4777,32 @@
|
|
|
4660
4777
|
"function" === typeof instance.componentDidUpdate ||
|
|
4661
4778
|
didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(type) ||
|
|
4662
4779
|
(didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(type),
|
|
4663
|
-
error
|
|
4780
|
+
console.error(
|
|
4664
4781
|
"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",
|
|
4665
4782
|
getComponentNameFromType(type)
|
|
4666
4783
|
));
|
|
4667
4784
|
"function" === typeof instance.getDerivedStateFromProps &&
|
|
4668
|
-
error
|
|
4785
|
+
console.error(
|
|
4669
4786
|
"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",
|
|
4670
4787
|
name
|
|
4671
4788
|
);
|
|
4672
4789
|
"function" === typeof instance.getDerivedStateFromError &&
|
|
4673
|
-
error
|
|
4790
|
+
console.error(
|
|
4674
4791
|
"%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",
|
|
4675
4792
|
name
|
|
4676
4793
|
);
|
|
4677
4794
|
"function" === typeof type.getSnapshotBeforeUpdate &&
|
|
4678
|
-
error
|
|
4795
|
+
console.error(
|
|
4679
4796
|
"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",
|
|
4680
4797
|
name
|
|
4681
4798
|
);
|
|
4682
4799
|
var state = instance.state;
|
|
4683
4800
|
state &&
|
|
4684
4801
|
("object" !== typeof state || isArrayImpl(state)) &&
|
|
4685
|
-
error
|
|
4802
|
+
console.error("%s.state: must be set to an object or null", name);
|
|
4686
4803
|
"function" === typeof instance.getChildContext &&
|
|
4687
4804
|
"object" !== typeof type.childContextTypes &&
|
|
4688
|
-
error
|
|
4805
|
+
console.error(
|
|
4689
4806
|
"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",
|
|
4690
4807
|
name
|
|
4691
4808
|
);
|
|
@@ -4710,7 +4827,7 @@
|
|
|
4710
4827
|
(didWarnAboutDirectlyAssigningPropsToState.add(
|
|
4711
4828
|
componentName$jscomp$0
|
|
4712
4829
|
),
|
|
4713
|
-
error
|
|
4830
|
+
console.error(
|
|
4714
4831
|
"%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",
|
|
4715
4832
|
componentName$jscomp$0
|
|
4716
4833
|
));
|
|
@@ -4726,7 +4843,7 @@
|
|
|
4726
4843
|
getComponentNameFromType(type) || "Component";
|
|
4727
4844
|
didWarnAboutUndefinedDerivedState.has(componentName$jscomp$1) ||
|
|
4728
4845
|
(didWarnAboutUndefinedDerivedState.add(componentName$jscomp$1),
|
|
4729
|
-
error
|
|
4846
|
+
console.error(
|
|
4730
4847
|
"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",
|
|
4731
4848
|
componentName$jscomp$1
|
|
4732
4849
|
));
|
|
@@ -4751,7 +4868,7 @@
|
|
|
4751
4868
|
var componentName$jscomp$2 =
|
|
4752
4869
|
getComponentNameFromType(type) || "Unknown";
|
|
4753
4870
|
didWarnAboutDeprecatedWillMount[componentName$jscomp$2] ||
|
|
4754
|
-
(warn(
|
|
4871
|
+
(console.warn(
|
|
4755
4872
|
"componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.\n\nPlease update the following components: %s",
|
|
4756
4873
|
componentName$jscomp$2
|
|
4757
4874
|
),
|
|
@@ -4763,7 +4880,7 @@
|
|
|
4763
4880
|
"function" === typeof instance.UNSAFE_componentWillMount &&
|
|
4764
4881
|
instance.UNSAFE_componentWillMount();
|
|
4765
4882
|
oldState !== instance.state &&
|
|
4766
|
-
(error
|
|
4883
|
+
(console.error(
|
|
4767
4884
|
"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
|
|
4768
4885
|
getComponentNameFromType(type) || "Component"
|
|
4769
4886
|
),
|
|
@@ -4814,10 +4931,11 @@
|
|
|
4814
4931
|
}
|
|
4815
4932
|
} else internalInstance.queue = null;
|
|
4816
4933
|
}
|
|
4817
|
-
var nextChildren = instance
|
|
4934
|
+
var nextChildren = callRenderInDEV(instance);
|
|
4935
|
+
if (12 === request.status) throw null;
|
|
4818
4936
|
instance.props !== resolvedProps &&
|
|
4819
4937
|
(didWarnAboutReassigningProps ||
|
|
4820
|
-
error
|
|
4938
|
+
console.error(
|
|
4821
4939
|
"It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",
|
|
4822
4940
|
getComponentNameFromType(type) || "a component"
|
|
4823
4941
|
),
|
|
@@ -4826,19 +4944,12 @@
|
|
|
4826
4944
|
task.keyPath = keyPath;
|
|
4827
4945
|
renderNodeDestructive(request, task, nextChildren, -1);
|
|
4828
4946
|
task.keyPath = prevKeyPath;
|
|
4829
|
-
task.componentStack = previousComponentStack;
|
|
4830
4947
|
} else {
|
|
4831
|
-
var previousComponentStack$jscomp$0 = task.componentStack;
|
|
4832
|
-
task.componentStack = {
|
|
4833
|
-
tag: 1,
|
|
4834
|
-
parent: task.componentStack,
|
|
4835
|
-
type: type
|
|
4836
|
-
};
|
|
4837
4948
|
if (type.prototype && "function" === typeof type.prototype.render) {
|
|
4838
4949
|
var componentName$jscomp$3 =
|
|
4839
4950
|
getComponentNameFromType(type) || "Unknown";
|
|
4840
4951
|
didWarnAboutBadClass[componentName$jscomp$3] ||
|
|
4841
|
-
(error
|
|
4952
|
+
(console.error(
|
|
4842
4953
|
"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",
|
|
4843
4954
|
componentName$jscomp$3,
|
|
4844
4955
|
componentName$jscomp$3
|
|
@@ -4846,52 +4957,54 @@
|
|
|
4846
4957
|
(didWarnAboutBadClass[componentName$jscomp$3] = !0));
|
|
4847
4958
|
}
|
|
4848
4959
|
var value = renderWithHooks(
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4960
|
+
request,
|
|
4961
|
+
task,
|
|
4962
|
+
keyPath,
|
|
4963
|
+
type,
|
|
4964
|
+
props,
|
|
4965
|
+
void 0
|
|
4966
|
+
);
|
|
4967
|
+
if (12 === request.status) throw null;
|
|
4968
|
+
var hasId = 0 !== localIdCounter,
|
|
4857
4969
|
actionStateCount = actionStateCounter,
|
|
4858
4970
|
actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex;
|
|
4859
|
-
type.contextTypes
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4971
|
+
if (type.contextTypes) {
|
|
4972
|
+
var _componentName$jscomp$0 =
|
|
4973
|
+
getComponentNameFromType(type) || "Unknown";
|
|
4974
|
+
didWarnAboutContextTypes[_componentName$jscomp$0] ||
|
|
4975
|
+
((didWarnAboutContextTypes[_componentName$jscomp$0] = !0),
|
|
4976
|
+
console.error(
|
|
4977
|
+
"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",
|
|
4978
|
+
_componentName$jscomp$0
|
|
4979
|
+
));
|
|
4980
|
+
}
|
|
4864
4981
|
type &&
|
|
4865
4982
|
type.childContextTypes &&
|
|
4866
|
-
error
|
|
4983
|
+
console.error(
|
|
4867
4984
|
"childContextTypes cannot be defined on a function component.\n %s.childContextTypes = ...",
|
|
4868
4985
|
type.displayName || type.name || "Component"
|
|
4869
4986
|
);
|
|
4870
4987
|
if ("function" === typeof type.getDerivedStateFromProps) {
|
|
4871
|
-
var
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
_componentName$jscomp$0
|
|
4875
|
-
] ||
|
|
4876
|
-
(error$jscomp$2(
|
|
4988
|
+
var _componentName2 = getComponentNameFromType(type) || "Unknown";
|
|
4989
|
+
didWarnAboutGetDerivedStateOnFunctionComponent[_componentName2] ||
|
|
4990
|
+
(console.error(
|
|
4877
4991
|
"%s: Function components do not support getDerivedStateFromProps.",
|
|
4878
|
-
|
|
4992
|
+
_componentName2
|
|
4879
4993
|
),
|
|
4880
|
-
(didWarnAboutGetDerivedStateOnFunctionComponent[
|
|
4881
|
-
|
|
4882
|
-
] = !0));
|
|
4994
|
+
(didWarnAboutGetDerivedStateOnFunctionComponent[_componentName2] =
|
|
4995
|
+
!0));
|
|
4883
4996
|
}
|
|
4884
4997
|
if (
|
|
4885
4998
|
"object" === typeof type.contextType &&
|
|
4886
4999
|
null !== type.contextType
|
|
4887
5000
|
) {
|
|
4888
|
-
var
|
|
4889
|
-
didWarnAboutContextTypeOnFunctionComponent[
|
|
4890
|
-
(error
|
|
5001
|
+
var _componentName3 = getComponentNameFromType(type) || "Unknown";
|
|
5002
|
+
didWarnAboutContextTypeOnFunctionComponent[_componentName3] ||
|
|
5003
|
+
(console.error(
|
|
4891
5004
|
"%s: Function components do not support contextType.",
|
|
4892
|
-
|
|
5005
|
+
_componentName3
|
|
4893
5006
|
),
|
|
4894
|
-
(didWarnAboutContextTypeOnFunctionComponent[
|
|
5007
|
+
(didWarnAboutContextTypeOnFunctionComponent[_componentName3] =
|
|
4895
5008
|
!0));
|
|
4896
5009
|
}
|
|
4897
5010
|
finishFunctionComponent(
|
|
@@ -4903,11 +5016,8 @@
|
|
|
4903
5016
|
actionStateCount,
|
|
4904
5017
|
actionStateMatchingIndex$jscomp$0
|
|
4905
5018
|
);
|
|
4906
|
-
task.componentStack = previousComponentStack$jscomp$0;
|
|
4907
5019
|
}
|
|
4908
5020
|
else if ("string" === typeof type) {
|
|
4909
|
-
var previousComponentStack$jscomp$1 = task.componentStack;
|
|
4910
|
-
task.componentStack = createBuiltInComponentStack(task, type);
|
|
4911
5021
|
var segment = task.blockedSegment;
|
|
4912
5022
|
if (null === segment) {
|
|
4913
5023
|
var children = props.children,
|
|
@@ -4977,7 +5087,6 @@
|
|
|
4977
5087
|
}
|
|
4978
5088
|
segment.lastPushedText = !1;
|
|
4979
5089
|
}
|
|
4980
|
-
task.componentStack = previousComponentStack$jscomp$1;
|
|
4981
5090
|
} else {
|
|
4982
5091
|
switch (type) {
|
|
4983
5092
|
case REACT_LEGACY_HIDDEN_TYPE:
|
|
@@ -4999,16 +5108,10 @@
|
|
|
4999
5108
|
}
|
|
5000
5109
|
return;
|
|
5001
5110
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
5002
|
-
var preiousComponentStack = task.componentStack;
|
|
5003
|
-
task.componentStack = createBuiltInComponentStack(
|
|
5004
|
-
task,
|
|
5005
|
-
"SuspenseList"
|
|
5006
|
-
);
|
|
5007
5111
|
var _prevKeyPath3 = task.keyPath;
|
|
5008
5112
|
task.keyPath = keyPath;
|
|
5009
5113
|
renderNodeDestructive(request, task, props.children, -1);
|
|
5010
5114
|
task.keyPath = _prevKeyPath3;
|
|
5011
|
-
task.componentStack = preiousComponentStack;
|
|
5012
5115
|
return;
|
|
5013
5116
|
case REACT_SCOPE_TYPE:
|
|
5014
5117
|
throw Error(
|
|
@@ -5025,10 +5128,7 @@
|
|
|
5025
5128
|
task.keyPath = _prevKeyPath;
|
|
5026
5129
|
}
|
|
5027
5130
|
} else {
|
|
5028
|
-
var
|
|
5029
|
-
suspenseComponentStack = (task.componentStack =
|
|
5030
|
-
createBuiltInComponentStack(task, "Suspense")),
|
|
5031
|
-
prevKeyPath$jscomp$3 = task.keyPath,
|
|
5131
|
+
var prevKeyPath$jscomp$3 = task.keyPath,
|
|
5032
5132
|
parentBoundary = task.blockedBoundary,
|
|
5033
5133
|
parentHoistableState = task.hoistableState,
|
|
5034
5134
|
parentSegment = task.blockedSegment,
|
|
@@ -5057,102 +5157,137 @@
|
|
|
5057
5157
|
!1
|
|
5058
5158
|
);
|
|
5059
5159
|
contentRootSegment.parentFlushed = !0;
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
)
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5160
|
+
if (null !== request.trackedPostpones) {
|
|
5161
|
+
var fallbackKeyPath = [
|
|
5162
|
+
keyPath[0],
|
|
5163
|
+
"Suspense Fallback",
|
|
5164
|
+
keyPath[2]
|
|
5165
|
+
],
|
|
5166
|
+
fallbackReplayNode = [
|
|
5167
|
+
fallbackKeyPath[1],
|
|
5168
|
+
fallbackKeyPath[2],
|
|
5169
|
+
[],
|
|
5170
|
+
null
|
|
5171
|
+
];
|
|
5172
|
+
request.trackedPostpones.workingMap.set(
|
|
5173
|
+
fallbackKeyPath,
|
|
5174
|
+
fallbackReplayNode
|
|
5175
|
+
);
|
|
5176
|
+
newBoundary.trackedFallbackNode = fallbackReplayNode;
|
|
5177
|
+
task.blockedSegment = boundarySegment;
|
|
5178
|
+
task.keyPath = fallbackKeyPath;
|
|
5179
|
+
boundarySegment.status = 6;
|
|
5180
|
+
try {
|
|
5181
|
+
renderNode(request, task, fallback, -1),
|
|
5182
|
+
pushSegmentFinale(
|
|
5183
|
+
boundarySegment.chunks,
|
|
5184
|
+
request.renderState,
|
|
5185
|
+
boundarySegment.lastPushedText,
|
|
5186
|
+
boundarySegment.textEmbedded
|
|
5187
|
+
),
|
|
5188
|
+
(boundarySegment.status = COMPLETED);
|
|
5189
|
+
} catch (thrownValue) {
|
|
5190
|
+
throw (
|
|
5191
|
+
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
|
5192
|
+
thrownValue)
|
|
5193
|
+
);
|
|
5194
|
+
} finally {
|
|
5195
|
+
(task.blockedSegment = parentSegment),
|
|
5196
|
+
(task.keyPath = prevKeyPath$jscomp$3);
|
|
5079
5197
|
}
|
|
5080
|
-
|
|
5081
|
-
contentRootSegment.status = 4;
|
|
5082
|
-
newBoundary.status = CLIENT_RENDERED;
|
|
5083
|
-
var thrownInfo = getThrownInfo(request, task.componentStack);
|
|
5084
|
-
var errorDigest = logRecoverableError(
|
|
5198
|
+
var suspendedPrimaryTask = createRenderTask(
|
|
5085
5199
|
request,
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
encodeErrorForBoundary(
|
|
5200
|
+
null,
|
|
5201
|
+
content,
|
|
5202
|
+
-1,
|
|
5090
5203
|
newBoundary,
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5204
|
+
contentRootSegment,
|
|
5205
|
+
newBoundary.contentState,
|
|
5206
|
+
task.abortSet,
|
|
5207
|
+
keyPath,
|
|
5208
|
+
task.formatContext,
|
|
5209
|
+
task.context,
|
|
5210
|
+
task.treeContext,
|
|
5211
|
+
task.componentStack,
|
|
5212
|
+
task.isFallback
|
|
5095
5213
|
);
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5214
|
+
pushComponentStack(suspendedPrimaryTask);
|
|
5215
|
+
request.pingedTasks.push(suspendedPrimaryTask);
|
|
5216
|
+
} else {
|
|
5217
|
+
task.blockedBoundary = newBoundary;
|
|
5218
|
+
task.hoistableState = newBoundary.contentState;
|
|
5219
|
+
task.blockedSegment = contentRootSegment;
|
|
5220
|
+
task.keyPath = keyPath;
|
|
5221
|
+
contentRootSegment.status = 6;
|
|
5222
|
+
try {
|
|
5223
|
+
if (
|
|
5224
|
+
(renderNode(request, task, content, -1),
|
|
5225
|
+
pushSegmentFinale(
|
|
5226
|
+
contentRootSegment.chunks,
|
|
5227
|
+
request.renderState,
|
|
5228
|
+
contentRootSegment.lastPushedText,
|
|
5229
|
+
contentRootSegment.textEmbedded
|
|
5230
|
+
),
|
|
5231
|
+
(contentRootSegment.status = COMPLETED),
|
|
5232
|
+
queueCompletedSegment(newBoundary, contentRootSegment),
|
|
5233
|
+
0 === newBoundary.pendingTasks &&
|
|
5234
|
+
newBoundary.status === PENDING)
|
|
5235
|
+
) {
|
|
5236
|
+
newBoundary.status = COMPLETED;
|
|
5237
|
+
break a;
|
|
5238
|
+
}
|
|
5239
|
+
} catch (thrownValue$2) {
|
|
5240
|
+
newBoundary.status = CLIENT_RENDERED;
|
|
5241
|
+
if (12 === request.status) {
|
|
5242
|
+
contentRootSegment.status = 3;
|
|
5243
|
+
var error = request.fatalError;
|
|
5244
|
+
} else
|
|
5245
|
+
(contentRootSegment.status = 4), (error = thrownValue$2);
|
|
5246
|
+
var thrownInfo = getThrownInfo(task.componentStack);
|
|
5247
|
+
var errorDigest = logRecoverableError(
|
|
5248
|
+
request,
|
|
5249
|
+
error,
|
|
5250
|
+
thrownInfo
|
|
5251
|
+
);
|
|
5252
|
+
encodeErrorForBoundary(
|
|
5253
|
+
newBoundary,
|
|
5254
|
+
errorDigest,
|
|
5255
|
+
error,
|
|
5256
|
+
thrownInfo,
|
|
5257
|
+
!1
|
|
5258
|
+
);
|
|
5259
|
+
untrackBoundary(request, newBoundary);
|
|
5260
|
+
} finally {
|
|
5261
|
+
(task.blockedBoundary = parentBoundary),
|
|
5262
|
+
(task.hoistableState = parentHoistableState),
|
|
5263
|
+
(task.blockedSegment = parentSegment),
|
|
5264
|
+
(task.keyPath = prevKeyPath$jscomp$3);
|
|
5265
|
+
}
|
|
5266
|
+
var suspendedFallbackTask = createRenderTask(
|
|
5267
|
+
request,
|
|
5268
|
+
null,
|
|
5269
|
+
fallback,
|
|
5270
|
+
-1,
|
|
5271
|
+
parentBoundary,
|
|
5272
|
+
boundarySegment,
|
|
5273
|
+
newBoundary.fallbackState,
|
|
5274
|
+
fallbackAbortSet,
|
|
5275
|
+
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
5276
|
+
task.formatContext,
|
|
5277
|
+
task.context,
|
|
5278
|
+
task.treeContext,
|
|
5279
|
+
task.componentStack,
|
|
5280
|
+
!0
|
|
5120
5281
|
);
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
fallbackReplayNode)
|
|
5124
|
-
: (newBoundary.trackedFallbackNode = fallbackReplayNode);
|
|
5282
|
+
pushComponentStack(suspendedFallbackTask);
|
|
5283
|
+
request.pingedTasks.push(suspendedFallbackTask);
|
|
5125
5284
|
}
|
|
5126
|
-
var suspendedFallbackTask = createRenderTask(
|
|
5127
|
-
request,
|
|
5128
|
-
null,
|
|
5129
|
-
fallback,
|
|
5130
|
-
-1,
|
|
5131
|
-
parentBoundary,
|
|
5132
|
-
boundarySegment,
|
|
5133
|
-
newBoundary.fallbackState,
|
|
5134
|
-
fallbackAbortSet,
|
|
5135
|
-
fallbackKeyPath,
|
|
5136
|
-
task.formatContext,
|
|
5137
|
-
task.legacyContext,
|
|
5138
|
-
task.context,
|
|
5139
|
-
task.treeContext,
|
|
5140
|
-
suspenseComponentStack,
|
|
5141
|
-
!0
|
|
5142
|
-
);
|
|
5143
|
-
request.pingedTasks.push(suspendedFallbackTask);
|
|
5144
5285
|
}
|
|
5145
5286
|
return;
|
|
5146
5287
|
}
|
|
5147
5288
|
if ("object" === typeof type && null !== type)
|
|
5148
5289
|
switch (type.$$typeof) {
|
|
5149
5290
|
case REACT_FORWARD_REF_TYPE:
|
|
5150
|
-
var previousComponentStack$jscomp$3 = task.componentStack;
|
|
5151
|
-
task.componentStack = {
|
|
5152
|
-
tag: 1,
|
|
5153
|
-
parent: task.componentStack,
|
|
5154
|
-
type: type.render
|
|
5155
|
-
};
|
|
5156
5291
|
if ("ref" in props) {
|
|
5157
5292
|
var propsWithoutRef = {};
|
|
5158
5293
|
for (var key in props)
|
|
@@ -5175,7 +5310,6 @@
|
|
|
5175
5310
|
actionStateCounter,
|
|
5176
5311
|
actionStateMatchingIndex
|
|
5177
5312
|
);
|
|
5178
|
-
task.componentStack = previousComponentStack$jscomp$3;
|
|
5179
5313
|
return;
|
|
5180
5314
|
case REACT_MEMO_TYPE:
|
|
5181
5315
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
@@ -5191,7 +5325,7 @@
|
|
|
5191
5325
|
void 0 !== type._currentRenderer2 &&
|
|
5192
5326
|
null !== type._currentRenderer2 &&
|
|
5193
5327
|
type._currentRenderer2 !== rendererSigil &&
|
|
5194
|
-
error
|
|
5328
|
+
console.error(
|
|
5195
5329
|
"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
|
|
5196
5330
|
);
|
|
5197
5331
|
type._currentRenderer2 = rendererSigil;
|
|
@@ -5213,7 +5347,7 @@
|
|
|
5213
5347
|
"Tried to pop a Context at the root of the app. This is a bug in React."
|
|
5214
5348
|
);
|
|
5215
5349
|
prevSnapshot$jscomp$0.context !== type &&
|
|
5216
|
-
error
|
|
5350
|
+
console.error(
|
|
5217
5351
|
"The parent context is not the expected context. This is probably a bug in React."
|
|
5218
5352
|
);
|
|
5219
5353
|
prevSnapshot$jscomp$0.context._currentValue2 =
|
|
@@ -5221,7 +5355,7 @@
|
|
|
5221
5355
|
void 0 !== type._currentRenderer2 &&
|
|
5222
5356
|
null !== type._currentRenderer2 &&
|
|
5223
5357
|
type._currentRenderer2 !== rendererSigil &&
|
|
5224
|
-
error
|
|
5358
|
+
console.error(
|
|
5225
5359
|
"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
|
|
5226
5360
|
);
|
|
5227
5361
|
type._currentRenderer2 = rendererSigil;
|
|
@@ -5230,7 +5364,7 @@
|
|
|
5230
5364
|
task.context = JSCompiler_inline_result$jscomp$0;
|
|
5231
5365
|
task.keyPath = prevKeyPath$jscomp$4;
|
|
5232
5366
|
prevSnapshot !== task.context &&
|
|
5233
|
-
error
|
|
5367
|
+
console.error(
|
|
5234
5368
|
"Popping the context provider did not return back to the original snapshot. This is a bug in React."
|
|
5235
5369
|
);
|
|
5236
5370
|
return;
|
|
@@ -5238,7 +5372,7 @@
|
|
|
5238
5372
|
var context$jscomp$0 = type._context,
|
|
5239
5373
|
render = props.children;
|
|
5240
5374
|
"function" !== typeof render &&
|
|
5241
|
-
error
|
|
5375
|
+
console.error(
|
|
5242
5376
|
"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
|
|
5243
5377
|
);
|
|
5244
5378
|
var newChildren = render(context$jscomp$0._currentValue2),
|
|
@@ -5248,12 +5382,9 @@
|
|
|
5248
5382
|
task.keyPath = prevKeyPath$jscomp$5;
|
|
5249
5383
|
return;
|
|
5250
5384
|
case REACT_LAZY_TYPE:
|
|
5251
|
-
var
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
Component = init(type._payload);
|
|
5255
|
-
renderElement(request, task, keyPath, Component, props, void 0);
|
|
5256
|
-
task.componentStack = previousComponentStack$jscomp$4;
|
|
5385
|
+
var Component = callLazyInitInDEV(type);
|
|
5386
|
+
if (12 === request.status) throw null;
|
|
5387
|
+
renderElement(request, task, keyPath, Component, props, ref);
|
|
5257
5388
|
return;
|
|
5258
5389
|
}
|
|
5259
5390
|
var info = "";
|
|
@@ -5298,56 +5429,123 @@
|
|
|
5298
5429
|
(task.replay = prevReplay), (task.blockedSegment = null);
|
|
5299
5430
|
}
|
|
5300
5431
|
}
|
|
5301
|
-
function renderNodeDestructive(request, task, node
|
|
5302
|
-
|
|
5303
|
-
resumeNode(request, task, task.replay.slots, node
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5432
|
+
function renderNodeDestructive(request, task, node, childIndex) {
|
|
5433
|
+
null !== task.replay && "number" === typeof task.replay.slots
|
|
5434
|
+
? resumeNode(request, task, task.replay.slots, node, childIndex)
|
|
5435
|
+
: ((task.node = node),
|
|
5436
|
+
(task.childIndex = childIndex),
|
|
5437
|
+
(node = task.componentStack),
|
|
5438
|
+
pushComponentStack(task),
|
|
5439
|
+
retryNode(request, task),
|
|
5440
|
+
(task.componentStack = node));
|
|
5441
|
+
}
|
|
5442
|
+
function retryNode(request, task) {
|
|
5443
|
+
var node = task.node,
|
|
5444
|
+
childIndex = task.childIndex;
|
|
5445
|
+
if (null !== node) {
|
|
5446
|
+
if ("object" === typeof node) {
|
|
5447
|
+
switch (node.$$typeof) {
|
|
5311
5448
|
case REACT_ELEMENT_TYPE:
|
|
5312
|
-
var type = node
|
|
5313
|
-
key = node
|
|
5314
|
-
props = node
|
|
5315
|
-
node
|
|
5316
|
-
var ref = void 0 !== node
|
|
5317
|
-
|
|
5449
|
+
var type = node.type,
|
|
5450
|
+
key = node.key,
|
|
5451
|
+
props = node.props;
|
|
5452
|
+
node = props.ref;
|
|
5453
|
+
var ref = void 0 !== node ? node : null,
|
|
5454
|
+
name = getComponentNameFromType(type),
|
|
5318
5455
|
keyOrIndex =
|
|
5319
|
-
null == key ? (-1 === childIndex ? 0 : childIndex) : key
|
|
5320
|
-
|
|
5321
|
-
if (null !== task.replay)
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5456
|
+
null == key ? (-1 === childIndex ? 0 : childIndex) : key,
|
|
5457
|
+
keyPath = [task.keyPath, name, keyOrIndex];
|
|
5458
|
+
if (null !== task.replay) {
|
|
5459
|
+
var replay = task.replay;
|
|
5460
|
+
childIndex = replay.nodes;
|
|
5461
|
+
for (node = 0; node < childIndex.length; node++)
|
|
5462
|
+
if (((key = childIndex[node]), keyOrIndex === key[1])) {
|
|
5463
|
+
if (4 === key.length) {
|
|
5464
|
+
if (null !== name && name !== key[0])
|
|
5465
|
+
throw Error(
|
|
5466
|
+
"Expected the resume to render <" +
|
|
5467
|
+
key[0] +
|
|
5468
|
+
"> in this slot but instead it rendered <" +
|
|
5469
|
+
name +
|
|
5470
|
+
">. The tree doesn't match so React will fallback to client rendering."
|
|
5471
|
+
);
|
|
5472
|
+
var childNodes = key[2];
|
|
5473
|
+
key = key[3];
|
|
5474
|
+
name = task.node;
|
|
5475
|
+
task.replay = {
|
|
5476
|
+
nodes: childNodes,
|
|
5477
|
+
slots: key,
|
|
5478
|
+
pendingTasks: 1
|
|
5479
|
+
};
|
|
5480
|
+
try {
|
|
5481
|
+
renderElement(request, task, keyPath, type, props, ref);
|
|
5482
|
+
if (
|
|
5483
|
+
1 === task.replay.pendingTasks &&
|
|
5484
|
+
0 < task.replay.nodes.length
|
|
5485
|
+
)
|
|
5334
5486
|
throw Error(
|
|
5335
|
-
"
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5487
|
+
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
5488
|
+
);
|
|
5489
|
+
task.replay.pendingTasks--;
|
|
5490
|
+
} catch (x) {
|
|
5491
|
+
if (
|
|
5492
|
+
"object" === typeof x &&
|
|
5493
|
+
null !== x &&
|
|
5494
|
+
(x === SuspenseException ||
|
|
5495
|
+
"function" === typeof x.then)
|
|
5496
|
+
)
|
|
5497
|
+
throw (
|
|
5498
|
+
(task.node === name && (task.replay = replay), x)
|
|
5340
5499
|
);
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5500
|
+
task.replay.pendingTasks--;
|
|
5501
|
+
props = getThrownInfo(task.componentStack);
|
|
5502
|
+
erroredReplay(
|
|
5503
|
+
request,
|
|
5504
|
+
task.blockedBoundary,
|
|
5505
|
+
x,
|
|
5506
|
+
props,
|
|
5507
|
+
childNodes,
|
|
5508
|
+
key
|
|
5509
|
+
);
|
|
5510
|
+
}
|
|
5511
|
+
task.replay = replay;
|
|
5512
|
+
} else {
|
|
5513
|
+
if (type !== REACT_SUSPENSE_TYPE)
|
|
5514
|
+
throw Error(
|
|
5515
|
+
"Expected the resume to render <Suspense> in this slot but instead it rendered <" +
|
|
5516
|
+
(getComponentNameFromType(type) || "Unknown") +
|
|
5517
|
+
">. The tree doesn't match so React will fallback to client rendering."
|
|
5518
|
+
);
|
|
5519
|
+
a: {
|
|
5520
|
+
type = void 0;
|
|
5521
|
+
ref = key[5];
|
|
5522
|
+
replay = key[2];
|
|
5523
|
+
name = key[3];
|
|
5524
|
+
keyOrIndex = null === key[4] ? [] : key[4][2];
|
|
5525
|
+
key = null === key[4] ? null : key[4][3];
|
|
5526
|
+
var prevKeyPath = task.keyPath,
|
|
5527
|
+
previousReplaySet = task.replay,
|
|
5528
|
+
parentBoundary = task.blockedBoundary,
|
|
5529
|
+
parentHoistableState = task.hoistableState,
|
|
5530
|
+
content = props.children;
|
|
5531
|
+
props = props.fallback;
|
|
5532
|
+
var fallbackAbortSet = new Set(),
|
|
5533
|
+
resumedBoundary = createSuspenseBoundary(
|
|
5534
|
+
request,
|
|
5535
|
+
fallbackAbortSet
|
|
5536
|
+
);
|
|
5537
|
+
resumedBoundary.parentFlushed = !0;
|
|
5538
|
+
resumedBoundary.rootSegmentID = ref;
|
|
5539
|
+
task.blockedBoundary = resumedBoundary;
|
|
5540
|
+
task.hoistableState = resumedBoundary.contentState;
|
|
5541
|
+
task.keyPath = keyPath;
|
|
5344
5542
|
task.replay = {
|
|
5345
|
-
nodes:
|
|
5543
|
+
nodes: replay,
|
|
5346
5544
|
slots: name,
|
|
5347
5545
|
pendingTasks: 1
|
|
5348
5546
|
};
|
|
5349
5547
|
try {
|
|
5350
|
-
|
|
5548
|
+
renderNode(request, task, content, -1);
|
|
5351
5549
|
if (
|
|
5352
5550
|
1 === task.replay.pendingTasks &&
|
|
5353
5551
|
0 < task.replay.nodes.length
|
|
@@ -5356,262 +5554,178 @@
|
|
|
5356
5554
|
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
5357
5555
|
);
|
|
5358
5556
|
task.replay.pendingTasks--;
|
|
5359
|
-
} catch (x) {
|
|
5360
5557
|
if (
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
request,
|
|
5373
|
-
task.blockedBoundary,
|
|
5374
|
-
x,
|
|
5375
|
-
type,
|
|
5376
|
-
childNodes,
|
|
5377
|
-
name
|
|
5378
|
-
);
|
|
5379
|
-
}
|
|
5380
|
-
task.replay = replay;
|
|
5381
|
-
} else {
|
|
5382
|
-
if (type !== REACT_SUSPENSE_TYPE)
|
|
5383
|
-
throw Error(
|
|
5384
|
-
"Expected the resume to render <Suspense> in this slot but instead it rendered <" +
|
|
5385
|
-
(getComponentNameFromType(type) || "Unknown") +
|
|
5386
|
-
">. The tree doesn't match so React will fallback to client rendering."
|
|
5387
|
-
);
|
|
5388
|
-
b: {
|
|
5389
|
-
type = void 0;
|
|
5390
|
-
var props$jscomp$0 = props;
|
|
5391
|
-
props = node[5];
|
|
5392
|
-
ref = node[2];
|
|
5393
|
-
replay = node[3];
|
|
5394
|
-
name = null === node[4] ? [] : node[4][2];
|
|
5395
|
-
node = null === node[4] ? null : node[4][3];
|
|
5396
|
-
keyOrIndex = task.componentStack;
|
|
5397
|
-
var suspenseComponentStack = (task.componentStack =
|
|
5398
|
-
createBuiltInComponentStack(task, "Suspense")),
|
|
5399
|
-
prevKeyPath = task.keyPath,
|
|
5400
|
-
previousReplaySet = task.replay,
|
|
5401
|
-
parentBoundary = task.blockedBoundary,
|
|
5402
|
-
parentHoistableState = task.hoistableState,
|
|
5403
|
-
content = props$jscomp$0.children;
|
|
5404
|
-
props$jscomp$0 = props$jscomp$0.fallback;
|
|
5405
|
-
var fallbackAbortSet = new Set(),
|
|
5406
|
-
resumedBoundary = createSuspenseBoundary(
|
|
5558
|
+
0 === resumedBoundary.pendingTasks &&
|
|
5559
|
+
resumedBoundary.status === PENDING
|
|
5560
|
+
) {
|
|
5561
|
+
resumedBoundary.status = COMPLETED;
|
|
5562
|
+
request.completedBoundaries.push(resumedBoundary);
|
|
5563
|
+
break a;
|
|
5564
|
+
}
|
|
5565
|
+
} catch (error) {
|
|
5566
|
+
(resumedBoundary.status = CLIENT_RENDERED),
|
|
5567
|
+
(childNodes = getThrownInfo(task.componentStack)),
|
|
5568
|
+
(type = logRecoverableError(
|
|
5407
5569
|
request,
|
|
5408
|
-
|
|
5570
|
+
error,
|
|
5571
|
+
childNodes
|
|
5572
|
+
)),
|
|
5573
|
+
encodeErrorForBoundary(
|
|
5574
|
+
resumedBoundary,
|
|
5575
|
+
type,
|
|
5576
|
+
error,
|
|
5577
|
+
childNodes,
|
|
5578
|
+
!1
|
|
5579
|
+
),
|
|
5580
|
+
task.replay.pendingTasks--,
|
|
5581
|
+
request.clientRenderedBoundaries.push(
|
|
5582
|
+
resumedBoundary
|
|
5409
5583
|
);
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
nodes: ref,
|
|
5416
|
-
slots: replay,
|
|
5417
|
-
pendingTasks: 1
|
|
5418
|
-
};
|
|
5419
|
-
try {
|
|
5420
|
-
renderNode(request, task, content, -1);
|
|
5421
|
-
if (
|
|
5422
|
-
1 === task.replay.pendingTasks &&
|
|
5423
|
-
0 < task.replay.nodes.length
|
|
5424
|
-
)
|
|
5425
|
-
throw Error(
|
|
5426
|
-
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
5427
|
-
);
|
|
5428
|
-
task.replay.pendingTasks--;
|
|
5429
|
-
if (
|
|
5430
|
-
0 === resumedBoundary.pendingTasks &&
|
|
5431
|
-
resumedBoundary.status === PENDING
|
|
5432
|
-
) {
|
|
5433
|
-
resumedBoundary.status = COMPLETED;
|
|
5434
|
-
request.completedBoundaries.push(resumedBoundary);
|
|
5435
|
-
break b;
|
|
5436
|
-
}
|
|
5437
|
-
} catch (error$3) {
|
|
5438
|
-
(resumedBoundary.status = CLIENT_RENDERED),
|
|
5439
|
-
(childNodes = getThrownInfo(
|
|
5440
|
-
request,
|
|
5441
|
-
task.componentStack
|
|
5442
|
-
)),
|
|
5443
|
-
(type = logRecoverableError(
|
|
5444
|
-
request,
|
|
5445
|
-
error$3,
|
|
5446
|
-
childNodes
|
|
5447
|
-
)),
|
|
5448
|
-
encodeErrorForBoundary(
|
|
5449
|
-
resumedBoundary,
|
|
5450
|
-
type,
|
|
5451
|
-
error$3,
|
|
5452
|
-
childNodes,
|
|
5453
|
-
!1
|
|
5454
|
-
),
|
|
5455
|
-
task.replay.pendingTasks--,
|
|
5456
|
-
request.clientRenderedBoundaries.push(
|
|
5457
|
-
resumedBoundary
|
|
5458
|
-
);
|
|
5459
|
-
} finally {
|
|
5460
|
-
(task.blockedBoundary = parentBoundary),
|
|
5461
|
-
(task.hoistableState = parentHoistableState),
|
|
5462
|
-
(task.replay = previousReplaySet),
|
|
5463
|
-
(task.keyPath = prevKeyPath),
|
|
5464
|
-
(task.componentStack = keyOrIndex);
|
|
5465
|
-
}
|
|
5466
|
-
childNodes = createReplayTask(
|
|
5467
|
-
request,
|
|
5468
|
-
null,
|
|
5469
|
-
{ nodes: name, slots: node, pendingTasks: 0 },
|
|
5470
|
-
props$jscomp$0,
|
|
5471
|
-
-1,
|
|
5472
|
-
parentBoundary,
|
|
5473
|
-
resumedBoundary.fallbackState,
|
|
5474
|
-
fallbackAbortSet,
|
|
5475
|
-
[key[0], "Suspense Fallback", key[2]],
|
|
5476
|
-
task.formatContext,
|
|
5477
|
-
task.legacyContext,
|
|
5478
|
-
task.context,
|
|
5479
|
-
task.treeContext,
|
|
5480
|
-
suspenseComponentStack,
|
|
5481
|
-
!0
|
|
5482
|
-
);
|
|
5483
|
-
request.pingedTasks.push(childNodes);
|
|
5584
|
+
} finally {
|
|
5585
|
+
(task.blockedBoundary = parentBoundary),
|
|
5586
|
+
(task.hoistableState = parentHoistableState),
|
|
5587
|
+
(task.replay = previousReplaySet),
|
|
5588
|
+
(task.keyPath = prevKeyPath);
|
|
5484
5589
|
}
|
|
5590
|
+
childNodes = createReplayTask(
|
|
5591
|
+
request,
|
|
5592
|
+
null,
|
|
5593
|
+
{ nodes: keyOrIndex, slots: key, pendingTasks: 0 },
|
|
5594
|
+
props,
|
|
5595
|
+
-1,
|
|
5596
|
+
parentBoundary,
|
|
5597
|
+
resumedBoundary.fallbackState,
|
|
5598
|
+
fallbackAbortSet,
|
|
5599
|
+
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
5600
|
+
task.formatContext,
|
|
5601
|
+
task.context,
|
|
5602
|
+
task.treeContext,
|
|
5603
|
+
task.componentStack,
|
|
5604
|
+
!0
|
|
5605
|
+
);
|
|
5606
|
+
pushComponentStack(childNodes);
|
|
5607
|
+
request.pingedTasks.push(childNodes);
|
|
5485
5608
|
}
|
|
5486
|
-
childIndex.splice(node$jscomp$0, 1);
|
|
5487
|
-
break a;
|
|
5488
5609
|
}
|
|
5610
|
+
childIndex.splice(node, 1);
|
|
5611
|
+
break;
|
|
5489
5612
|
}
|
|
5490
|
-
|
|
5491
|
-
else renderElement(request, task, key, type, props, ref);
|
|
5613
|
+
} else renderElement(request, task, keyPath, type, props, ref);
|
|
5492
5614
|
return;
|
|
5493
5615
|
case REACT_PORTAL_TYPE:
|
|
5494
5616
|
throw Error(
|
|
5495
5617
|
"Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."
|
|
5496
5618
|
);
|
|
5497
5619
|
case REACT_LAZY_TYPE:
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
node$jscomp$0 = type(node$jscomp$0._payload);
|
|
5502
|
-
task.componentStack = childNodes;
|
|
5503
|
-
renderNodeDestructive(request, task, node$jscomp$0, childIndex);
|
|
5620
|
+
node = callLazyInitInDEV(node);
|
|
5621
|
+
if (12 === request.status) throw null;
|
|
5622
|
+
renderNodeDestructive(request, task, node, childIndex);
|
|
5504
5623
|
return;
|
|
5505
5624
|
}
|
|
5506
|
-
if (isArrayImpl(node
|
|
5507
|
-
renderChildrenArray(request, task, node
|
|
5625
|
+
if (isArrayImpl(node)) {
|
|
5626
|
+
renderChildrenArray(request, task, node, childIndex);
|
|
5508
5627
|
return;
|
|
5509
5628
|
}
|
|
5510
|
-
null === node
|
|
5511
|
-
? (
|
|
5629
|
+
null === node || "object" !== typeof node
|
|
5630
|
+
? (props = null)
|
|
5512
5631
|
: ((childNodes =
|
|
5513
|
-
(MAYBE_ITERATOR_SYMBOL &&
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
if (childNodes === node$jscomp$0) {
|
|
5632
|
+
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
5633
|
+
node["@@iterator"]),
|
|
5634
|
+
(props = "function" === typeof childNodes ? childNodes : null));
|
|
5635
|
+
if (props && (childNodes = props.call(node))) {
|
|
5636
|
+
if (childNodes === node) {
|
|
5519
5637
|
if (
|
|
5520
5638
|
-1 !== childIndex ||
|
|
5521
5639
|
null === task.componentStack ||
|
|
5522
|
-
|
|
5640
|
+
"function" !== typeof task.componentStack.type ||
|
|
5523
5641
|
"[object GeneratorFunction]" !==
|
|
5524
5642
|
Object.prototype.toString.call(task.componentStack.type) ||
|
|
5525
5643
|
"[object Generator]" !==
|
|
5526
5644
|
Object.prototype.toString.call(childNodes)
|
|
5527
5645
|
)
|
|
5528
5646
|
didWarnAboutGenerators ||
|
|
5529
|
-
error
|
|
5647
|
+
console.error(
|
|
5530
5648
|
"Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."
|
|
5531
5649
|
),
|
|
5532
5650
|
(didWarnAboutGenerators = !0);
|
|
5533
5651
|
} else
|
|
5534
|
-
node
|
|
5652
|
+
node.entries !== props ||
|
|
5535
5653
|
didWarnAboutMaps ||
|
|
5536
|
-
(error
|
|
5654
|
+
(console.error(
|
|
5537
5655
|
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
|
5538
5656
|
),
|
|
5539
5657
|
(didWarnAboutMaps = !0));
|
|
5540
|
-
node
|
|
5541
|
-
if (!node
|
|
5542
|
-
|
|
5543
|
-
do
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
while (!node$jscomp$0.done);
|
|
5547
|
-
renderChildrenArray(request, task, type, childIndex);
|
|
5658
|
+
node = childNodes.next();
|
|
5659
|
+
if (!node.done) {
|
|
5660
|
+
props = [];
|
|
5661
|
+
do props.push(node.value), (node = childNodes.next());
|
|
5662
|
+
while (!node.done);
|
|
5663
|
+
renderChildrenArray(request, task, props, childIndex);
|
|
5548
5664
|
}
|
|
5549
5665
|
return;
|
|
5550
5666
|
}
|
|
5551
|
-
if ("function" === typeof node
|
|
5667
|
+
if ("function" === typeof node.then)
|
|
5552
5668
|
return (
|
|
5553
5669
|
(task.thenableState = null),
|
|
5554
5670
|
renderNodeDestructive(
|
|
5555
5671
|
request,
|
|
5556
5672
|
task,
|
|
5557
|
-
unwrapThenable(node
|
|
5673
|
+
unwrapThenable(node),
|
|
5558
5674
|
childIndex
|
|
5559
5675
|
)
|
|
5560
5676
|
);
|
|
5561
|
-
if (node
|
|
5677
|
+
if (node.$$typeof === REACT_CONTEXT_TYPE)
|
|
5562
5678
|
return renderNodeDestructive(
|
|
5563
5679
|
request,
|
|
5564
5680
|
task,
|
|
5565
|
-
node
|
|
5681
|
+
node._currentValue2,
|
|
5566
5682
|
childIndex
|
|
5567
5683
|
);
|
|
5568
|
-
childIndex = Object.prototype.toString.call(node
|
|
5684
|
+
childIndex = Object.prototype.toString.call(node);
|
|
5569
5685
|
throw Error(
|
|
5570
5686
|
"Objects are not valid as a React child (found: " +
|
|
5571
5687
|
("[object Object]" === childIndex
|
|
5572
|
-
? "object with keys {" +
|
|
5573
|
-
Object.keys(node$jscomp$0).join(", ") +
|
|
5574
|
-
"}"
|
|
5688
|
+
? "object with keys {" + Object.keys(node).join(", ") + "}"
|
|
5575
5689
|
: childIndex) +
|
|
5576
5690
|
"). If you meant to render a collection of children, use an array instead."
|
|
5577
5691
|
);
|
|
5578
5692
|
}
|
|
5579
|
-
"string" === typeof node
|
|
5580
|
-
? ((childIndex = task.blockedSegment),
|
|
5581
|
-
null !== childIndex &&
|
|
5582
|
-
(childIndex.lastPushedText = pushTextInstance(
|
|
5583
|
-
childIndex.chunks,
|
|
5584
|
-
node$jscomp$0,
|
|
5585
|
-
request.renderState,
|
|
5586
|
-
childIndex.lastPushedText
|
|
5587
|
-
)))
|
|
5588
|
-
: "number" === typeof node$jscomp$0 ||
|
|
5589
|
-
"bigint" === typeof node$jscomp$0
|
|
5693
|
+
"string" === typeof node
|
|
5590
5694
|
? ((childIndex = task.blockedSegment),
|
|
5591
5695
|
null !== childIndex &&
|
|
5592
5696
|
(childIndex.lastPushedText = pushTextInstance(
|
|
5593
5697
|
childIndex.chunks,
|
|
5594
|
-
|
|
5698
|
+
node,
|
|
5595
5699
|
request.renderState,
|
|
5596
5700
|
childIndex.lastPushedText
|
|
5597
5701
|
)))
|
|
5598
|
-
:
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5702
|
+
: "number" === typeof node || "bigint" === typeof node
|
|
5703
|
+
? ((childIndex = task.blockedSegment),
|
|
5704
|
+
null !== childIndex &&
|
|
5705
|
+
(childIndex.lastPushedText = pushTextInstance(
|
|
5706
|
+
childIndex.chunks,
|
|
5707
|
+
"" + node,
|
|
5708
|
+
request.renderState,
|
|
5709
|
+
childIndex.lastPushedText
|
|
5710
|
+
)))
|
|
5711
|
+
: ("function" === typeof node &&
|
|
5712
|
+
((childIndex = node.displayName || node.name || "Component"),
|
|
5713
|
+
console.error(
|
|
5714
|
+
"Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.",
|
|
5715
|
+
childIndex,
|
|
5716
|
+
childIndex
|
|
5717
|
+
)),
|
|
5718
|
+
"symbol" === typeof node &&
|
|
5719
|
+
console.error(
|
|
5720
|
+
"Symbols are not valid as a React child.\n %s",
|
|
5721
|
+
String(node)
|
|
5722
|
+
));
|
|
5611
5723
|
}
|
|
5612
5724
|
}
|
|
5613
5725
|
function renderChildrenArray(request$jscomp$0, task, children, childIndex) {
|
|
5614
|
-
var prevKeyPath = task.keyPath
|
|
5726
|
+
var prevKeyPath = task.keyPath,
|
|
5727
|
+
previousComponentStack = task.componentStack;
|
|
5728
|
+
pushServerComponentStack(task, task.node._debugInfo);
|
|
5615
5729
|
if (
|
|
5616
5730
|
-1 !== childIndex &&
|
|
5617
5731
|
((task.keyPath = [task.keyPath, "Fragment", childIndex]),
|
|
@@ -5645,7 +5759,7 @@
|
|
|
5645
5759
|
)
|
|
5646
5760
|
throw x;
|
|
5647
5761
|
task.replay.pendingTasks--;
|
|
5648
|
-
children = getThrownInfo(
|
|
5762
|
+
children = getThrownInfo(task.componentStack);
|
|
5649
5763
|
erroredReplay(
|
|
5650
5764
|
request$jscomp$0,
|
|
5651
5765
|
task.blockedBoundary,
|
|
@@ -5661,6 +5775,7 @@
|
|
|
5661
5775
|
}
|
|
5662
5776
|
}
|
|
5663
5777
|
task.keyPath = prevKeyPath;
|
|
5778
|
+
task.componentStack = previousComponentStack;
|
|
5664
5779
|
return;
|
|
5665
5780
|
}
|
|
5666
5781
|
replay = task.treeContext;
|
|
@@ -5686,6 +5801,7 @@
|
|
|
5686
5801
|
}
|
|
5687
5802
|
task.treeContext = replay;
|
|
5688
5803
|
task.keyPath = prevKeyPath;
|
|
5804
|
+
task.componentStack = previousComponentStack;
|
|
5689
5805
|
return;
|
|
5690
5806
|
}
|
|
5691
5807
|
for (j = 0; j < replayNodes; j++) {
|
|
@@ -5711,39 +5827,55 @@
|
|
|
5711
5827
|
null == didWarnForKey &&
|
|
5712
5828
|
(didWarnForKey = request.didWarnForKey = new WeakSet());
|
|
5713
5829
|
request = node.componentStack;
|
|
5714
|
-
null
|
|
5715
|
-
didWarnForKey.
|
|
5716
|
-
(
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5830
|
+
if (null !== request && !didWarnForKey.has(request)) {
|
|
5831
|
+
didWarnForKey.add(request);
|
|
5832
|
+
var componentName = getComponentNameFromType(resumeSegmentID.type);
|
|
5833
|
+
didWarnForKey = resumeSegmentID._owner;
|
|
5834
|
+
var parentOwner = request.owner;
|
|
5835
|
+
request = "";
|
|
5836
|
+
if (parentOwner && "undefined" !== typeof parentOwner.type) {
|
|
5837
|
+
var name = getComponentNameFromType(parentOwner.type);
|
|
5838
|
+
name &&
|
|
5839
|
+
(request = "\n\nCheck the render method of `" + name + "`.");
|
|
5840
|
+
}
|
|
5841
|
+
request ||
|
|
5842
|
+
(componentName &&
|
|
5843
|
+
(request =
|
|
5844
|
+
"\n\nCheck the top-level render call using <" +
|
|
5845
|
+
componentName +
|
|
5846
|
+
">."));
|
|
5847
|
+
componentName = "";
|
|
5848
|
+
null != didWarnForKey &&
|
|
5849
|
+
parentOwner !== didWarnForKey &&
|
|
5850
|
+
((parentOwner = null),
|
|
5851
|
+
"undefined" !== typeof didWarnForKey.type
|
|
5852
|
+
? (parentOwner = getComponentNameFromType(didWarnForKey.type))
|
|
5853
|
+
: "string" === typeof didWarnForKey.name &&
|
|
5854
|
+
(parentOwner = didWarnForKey.name),
|
|
5855
|
+
parentOwner &&
|
|
5856
|
+
(componentName =
|
|
5857
|
+
" It was passed a child from " + parentOwner + "."));
|
|
5858
|
+
didWarnForKey = node.componentStack;
|
|
5859
|
+
node.componentStack = {
|
|
5860
|
+
parent: node.componentStack,
|
|
5861
|
+
type: resumeSegmentID.type,
|
|
5862
|
+
owner: resumeSegmentID._owner,
|
|
5863
|
+
stack: null
|
|
5864
|
+
};
|
|
5865
|
+
console.error(
|
|
5736
5866
|
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
)
|
|
5740
|
-
|
|
5867
|
+
request,
|
|
5868
|
+
componentName
|
|
5869
|
+
);
|
|
5870
|
+
node.componentStack = didWarnForKey;
|
|
5871
|
+
}
|
|
5741
5872
|
}
|
|
5742
5873
|
task.treeContext = pushTreeContext(replay, replayNodes, j);
|
|
5743
5874
|
renderNode(request$jscomp$0, task, childIndex, j);
|
|
5744
5875
|
}
|
|
5745
5876
|
task.treeContext = replay;
|
|
5746
5877
|
task.keyPath = prevKeyPath;
|
|
5878
|
+
task.componentStack = previousComponentStack;
|
|
5747
5879
|
}
|
|
5748
5880
|
function untrackBoundary(request, boundary) {
|
|
5749
5881
|
request = request.trackedPostpones;
|
|
@@ -5754,9 +5886,55 @@
|
|
|
5754
5886
|
void 0 !== boundary &&
|
|
5755
5887
|
((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
|
|
5756
5888
|
}
|
|
5889
|
+
function spawnNewSuspendedReplayTask(request, task, thenableState) {
|
|
5890
|
+
return createReplayTask(
|
|
5891
|
+
request,
|
|
5892
|
+
thenableState,
|
|
5893
|
+
task.replay,
|
|
5894
|
+
task.node,
|
|
5895
|
+
task.childIndex,
|
|
5896
|
+
task.blockedBoundary,
|
|
5897
|
+
task.hoistableState,
|
|
5898
|
+
task.abortSet,
|
|
5899
|
+
task.keyPath,
|
|
5900
|
+
task.formatContext,
|
|
5901
|
+
task.context,
|
|
5902
|
+
task.treeContext,
|
|
5903
|
+
task.componentStack,
|
|
5904
|
+
task.isFallback
|
|
5905
|
+
);
|
|
5906
|
+
}
|
|
5907
|
+
function spawnNewSuspendedRenderTask(request, task, thenableState) {
|
|
5908
|
+
var segment = task.blockedSegment,
|
|
5909
|
+
newSegment = createPendingSegment(
|
|
5910
|
+
request,
|
|
5911
|
+
segment.chunks.length,
|
|
5912
|
+
null,
|
|
5913
|
+
task.formatContext,
|
|
5914
|
+
segment.lastPushedText,
|
|
5915
|
+
!0
|
|
5916
|
+
);
|
|
5917
|
+
segment.children.push(newSegment);
|
|
5918
|
+
segment.lastPushedText = !1;
|
|
5919
|
+
return createRenderTask(
|
|
5920
|
+
request,
|
|
5921
|
+
thenableState,
|
|
5922
|
+
task.node,
|
|
5923
|
+
task.childIndex,
|
|
5924
|
+
task.blockedBoundary,
|
|
5925
|
+
newSegment,
|
|
5926
|
+
task.hoistableState,
|
|
5927
|
+
task.abortSet,
|
|
5928
|
+
task.keyPath,
|
|
5929
|
+
task.formatContext,
|
|
5930
|
+
task.context,
|
|
5931
|
+
task.treeContext,
|
|
5932
|
+
task.componentStack,
|
|
5933
|
+
task.isFallback
|
|
5934
|
+
);
|
|
5935
|
+
}
|
|
5757
5936
|
function renderNode(request, task, node, childIndex) {
|
|
5758
5937
|
var previousFormatContext = task.formatContext,
|
|
5759
|
-
previousLegacyContext = task.legacyContext,
|
|
5760
5938
|
previousContext = task.context,
|
|
5761
5939
|
previousKeyPath = task.keyPath,
|
|
5762
5940
|
previousTreeContext = task.treeContext,
|
|
@@ -5772,37 +5950,36 @@
|
|
|
5772
5950
|
thrownValue === SuspenseException
|
|
5773
5951
|
? getSuspendedThenable()
|
|
5774
5952
|
: thrownValue),
|
|
5775
|
-
"object" === typeof node &&
|
|
5776
|
-
null !== node &&
|
|
5777
|
-
"function" === typeof node.then)
|
|
5953
|
+
"object" === typeof node && null !== node)
|
|
5778
5954
|
) {
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
request
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
task.
|
|
5788
|
-
task.
|
|
5789
|
-
task.keyPath
|
|
5790
|
-
task.
|
|
5791
|
-
task.
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5955
|
+
if ("function" === typeof node.then) {
|
|
5956
|
+
childIndex = getThenableStateAfterSuspending();
|
|
5957
|
+
request = spawnNewSuspendedReplayTask(
|
|
5958
|
+
request,
|
|
5959
|
+
task,
|
|
5960
|
+
childIndex
|
|
5961
|
+
).ping;
|
|
5962
|
+
node.then(request, request);
|
|
5963
|
+
task.formatContext = previousFormatContext;
|
|
5964
|
+
task.context = previousContext;
|
|
5965
|
+
task.keyPath = previousKeyPath;
|
|
5966
|
+
task.treeContext = previousTreeContext;
|
|
5967
|
+
task.componentStack = previousComponentStack;
|
|
5968
|
+
switchContext(previousContext);
|
|
5969
|
+
return;
|
|
5970
|
+
}
|
|
5971
|
+
if ("Maximum call stack size exceeded" === node.message) {
|
|
5972
|
+
node = getThenableStateAfterSuspending();
|
|
5973
|
+
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
5974
|
+
request.pingedTasks.push(node);
|
|
5975
|
+
task.formatContext = previousFormatContext;
|
|
5976
|
+
task.context = previousContext;
|
|
5977
|
+
task.keyPath = previousKeyPath;
|
|
5978
|
+
task.treeContext = previousTreeContext;
|
|
5979
|
+
task.componentStack = previousComponentStack;
|
|
5980
|
+
switchContext(previousContext);
|
|
5981
|
+
return;
|
|
5982
|
+
}
|
|
5806
5983
|
}
|
|
5807
5984
|
}
|
|
5808
5985
|
else {
|
|
@@ -5810,62 +5987,49 @@
|
|
|
5810
5987
|
chunkLength = segment.chunks.length;
|
|
5811
5988
|
try {
|
|
5812
5989
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5813
|
-
} catch (thrownValue$
|
|
5990
|
+
} catch (thrownValue$3) {
|
|
5814
5991
|
if (
|
|
5815
5992
|
(resetHooksState(),
|
|
5816
5993
|
(segment.children.length = childrenLength),
|
|
5817
5994
|
(segment.chunks.length = chunkLength),
|
|
5818
5995
|
(node =
|
|
5819
|
-
thrownValue$
|
|
5996
|
+
thrownValue$3 === SuspenseException
|
|
5820
5997
|
? getSuspendedThenable()
|
|
5821
|
-
: thrownValue$
|
|
5822
|
-
"object" === typeof node &&
|
|
5823
|
-
null !== node &&
|
|
5824
|
-
"function" === typeof node.then)
|
|
5998
|
+
: thrownValue$3),
|
|
5999
|
+
"object" === typeof node && null !== node)
|
|
5825
6000
|
) {
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
task.
|
|
5847
|
-
task.
|
|
5848
|
-
task.
|
|
5849
|
-
task.
|
|
5850
|
-
task.
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
).ping;
|
|
5855
|
-
node.then(request, request);
|
|
5856
|
-
task.formatContext = previousFormatContext;
|
|
5857
|
-
task.legacyContext = previousLegacyContext;
|
|
5858
|
-
task.context = previousContext;
|
|
5859
|
-
task.keyPath = previousKeyPath;
|
|
5860
|
-
task.treeContext = previousTreeContext;
|
|
5861
|
-
task.componentStack = previousComponentStack;
|
|
5862
|
-
switchContext(previousContext);
|
|
5863
|
-
return;
|
|
6001
|
+
if ("function" === typeof node.then) {
|
|
6002
|
+
childIndex = getThenableStateAfterSuspending();
|
|
6003
|
+
request = spawnNewSuspendedRenderTask(
|
|
6004
|
+
request,
|
|
6005
|
+
task,
|
|
6006
|
+
childIndex
|
|
6007
|
+
).ping;
|
|
6008
|
+
node.then(request, request);
|
|
6009
|
+
task.formatContext = previousFormatContext;
|
|
6010
|
+
task.context = previousContext;
|
|
6011
|
+
task.keyPath = previousKeyPath;
|
|
6012
|
+
task.treeContext = previousTreeContext;
|
|
6013
|
+
task.componentStack = previousComponentStack;
|
|
6014
|
+
switchContext(previousContext);
|
|
6015
|
+
return;
|
|
6016
|
+
}
|
|
6017
|
+
if ("Maximum call stack size exceeded" === node.message) {
|
|
6018
|
+
node = getThenableStateAfterSuspending();
|
|
6019
|
+
node = spawnNewSuspendedRenderTask(request, task, node);
|
|
6020
|
+
request.pingedTasks.push(node);
|
|
6021
|
+
task.formatContext = previousFormatContext;
|
|
6022
|
+
task.context = previousContext;
|
|
6023
|
+
task.keyPath = previousKeyPath;
|
|
6024
|
+
task.treeContext = previousTreeContext;
|
|
6025
|
+
task.componentStack = previousComponentStack;
|
|
6026
|
+
switchContext(previousContext);
|
|
6027
|
+
return;
|
|
6028
|
+
}
|
|
5864
6029
|
}
|
|
5865
6030
|
}
|
|
5866
6031
|
}
|
|
5867
6032
|
task.formatContext = previousFormatContext;
|
|
5868
|
-
task.legacyContext = previousLegacyContext;
|
|
5869
6033
|
task.context = previousContext;
|
|
5870
6034
|
task.keyPath = previousKeyPath;
|
|
5871
6035
|
task.treeContext = previousTreeContext;
|
|
@@ -5966,27 +6130,31 @@
|
|
|
5966
6130
|
function abortTask(task, request, error) {
|
|
5967
6131
|
var boundary = task.blockedBoundary,
|
|
5968
6132
|
segment = task.blockedSegment;
|
|
5969
|
-
null !== segment
|
|
6133
|
+
if (null !== segment) {
|
|
6134
|
+
if (6 === segment.status) return;
|
|
6135
|
+
segment.status = 3;
|
|
6136
|
+
}
|
|
6137
|
+
segment = getThrownInfo(task.componentStack);
|
|
5970
6138
|
if (null === boundary) {
|
|
5971
|
-
if (
|
|
5972
|
-
|
|
5973
|
-
if (null ===
|
|
5974
|
-
logRecoverableError(request, error,
|
|
6139
|
+
if (13 !== request.status && request.status !== CLOSED) {
|
|
6140
|
+
boundary = task.replay;
|
|
6141
|
+
if (null === boundary) {
|
|
6142
|
+
logRecoverableError(request, error, segment);
|
|
5975
6143
|
fatalError(request, error);
|
|
5976
6144
|
return;
|
|
5977
6145
|
}
|
|
5978
|
-
|
|
5979
|
-
0 ===
|
|
5980
|
-
0 <
|
|
5981
|
-
((
|
|
6146
|
+
boundary.pendingTasks--;
|
|
6147
|
+
0 === boundary.pendingTasks &&
|
|
6148
|
+
0 < boundary.nodes.length &&
|
|
6149
|
+
((task = logRecoverableError(request, error, segment)),
|
|
5982
6150
|
abortRemainingReplayNodes(
|
|
5983
6151
|
request,
|
|
5984
6152
|
null,
|
|
5985
|
-
|
|
5986
|
-
|
|
6153
|
+
boundary.nodes,
|
|
6154
|
+
boundary.slots,
|
|
5987
6155
|
error,
|
|
6156
|
+
task,
|
|
5988
6157
|
segment,
|
|
5989
|
-
boundary,
|
|
5990
6158
|
!0
|
|
5991
6159
|
));
|
|
5992
6160
|
request.pendingRootTasks--;
|
|
@@ -5996,9 +6164,9 @@
|
|
|
5996
6164
|
boundary.pendingTasks--,
|
|
5997
6165
|
boundary.status !== CLIENT_RENDERED &&
|
|
5998
6166
|
((boundary.status = CLIENT_RENDERED),
|
|
5999
|
-
(task =
|
|
6000
|
-
(
|
|
6001
|
-
encodeErrorForBoundary(boundary,
|
|
6167
|
+
(task = logRecoverableError(request, error, segment)),
|
|
6168
|
+
(boundary.status = CLIENT_RENDERED),
|
|
6169
|
+
encodeErrorForBoundary(boundary, task, error, segment, !0),
|
|
6002
6170
|
untrackBoundary(request, boundary),
|
|
6003
6171
|
boundary.parentFlushed &&
|
|
6004
6172
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -6055,7 +6223,7 @@
|
|
|
6055
6223
|
media: props$jscomp$0.media
|
|
6056
6224
|
}
|
|
6057
6225
|
);
|
|
6058
|
-
if (
|
|
6226
|
+
if (0 <= (headers.remainingCapacity -= header.length + 2))
|
|
6059
6227
|
(renderState.resets.style[key] = PRELOAD_NO_CREDS),
|
|
6060
6228
|
linkHeader && (linkHeader += ", "),
|
|
6061
6229
|
(linkHeader += header),
|
|
@@ -6070,8 +6238,8 @@
|
|
|
6070
6238
|
linkHeader ? onHeaders({ Link: linkHeader }) : onHeaders({});
|
|
6071
6239
|
}
|
|
6072
6240
|
}
|
|
6073
|
-
} catch (error
|
|
6074
|
-
logRecoverableError(request, error
|
|
6241
|
+
} catch (error) {
|
|
6242
|
+
logRecoverableError(request, error, {});
|
|
6075
6243
|
}
|
|
6076
6244
|
}
|
|
6077
6245
|
function completeShell(request) {
|
|
@@ -6144,7 +6312,10 @@
|
|
|
6144
6312
|
0 === request.allPendingTasks && completeAll(request);
|
|
6145
6313
|
}
|
|
6146
6314
|
function performWork(request$jscomp$1) {
|
|
6147
|
-
if (
|
|
6315
|
+
if (
|
|
6316
|
+
request$jscomp$1.status !== CLOSED &&
|
|
6317
|
+
13 !== request$jscomp$1.status
|
|
6318
|
+
) {
|
|
6148
6319
|
var prevContext = currentActiveSnapshot,
|
|
6149
6320
|
prevDispatcher = ReactSharedInternals.H;
|
|
6150
6321
|
ReactSharedInternals.H = HooksDispatcher;
|
|
@@ -6172,12 +6343,15 @@
|
|
|
6172
6343
|
prevTaskInDEV = currentTaskInDEV;
|
|
6173
6344
|
currentTaskInDEV = request;
|
|
6174
6345
|
try {
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6346
|
+
"number" === typeof request.replay.slots
|
|
6347
|
+
? resumeNode(
|
|
6348
|
+
request$jscomp$0,
|
|
6349
|
+
request,
|
|
6350
|
+
request.replay.slots,
|
|
6351
|
+
request.node,
|
|
6352
|
+
request.childIndex
|
|
6353
|
+
)
|
|
6354
|
+
: retryNode(request$jscomp$0, request);
|
|
6181
6355
|
if (
|
|
6182
6356
|
1 === request.replay.pendingTasks &&
|
|
6183
6357
|
0 < request.replay.nodes.length
|
|
@@ -6202,19 +6376,16 @@
|
|
|
6202
6376
|
var ping = request.ping;
|
|
6203
6377
|
x.then(ping, ping);
|
|
6204
6378
|
request.thenableState = getThenableStateAfterSuspending();
|
|
6205
|
-
null !== request.componentStack &&
|
|
6206
|
-
(request.componentStack = request.componentStack.parent);
|
|
6207
6379
|
} else {
|
|
6208
6380
|
request.replay.pendingTasks--;
|
|
6209
6381
|
request.abortSet.delete(request);
|
|
6210
|
-
var errorInfo = getThrownInfo(
|
|
6211
|
-
request$jscomp$0,
|
|
6212
|
-
request.componentStack
|
|
6213
|
-
);
|
|
6382
|
+
var errorInfo = getThrownInfo(request.componentStack);
|
|
6214
6383
|
erroredReplay(
|
|
6215
6384
|
request$jscomp$0,
|
|
6216
6385
|
request.blockedBoundary,
|
|
6217
|
-
|
|
6386
|
+
12 === request$jscomp$0.status
|
|
6387
|
+
? request$jscomp$0.fatalError
|
|
6388
|
+
: x,
|
|
6218
6389
|
errorInfo,
|
|
6219
6390
|
request.replay.nodes,
|
|
6220
6391
|
request.replay.slots
|
|
@@ -6235,22 +6406,20 @@
|
|
|
6235
6406
|
var task$jscomp$0 = task,
|
|
6236
6407
|
segment$jscomp$0 = segment;
|
|
6237
6408
|
if (segment$jscomp$0.status === PENDING) {
|
|
6409
|
+
segment$jscomp$0.status = 6;
|
|
6238
6410
|
switchContext(task$jscomp$0.context);
|
|
6239
6411
|
request$jscomp$0 = currentTaskInDEV;
|
|
6240
6412
|
currentTaskInDEV = task$jscomp$0;
|
|
6241
6413
|
var childrenLength = segment$jscomp$0.children.length,
|
|
6242
6414
|
chunkLength = segment$jscomp$0.chunks.length;
|
|
6243
6415
|
try {
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
(segment$jscomp$0.lastPushedText &&
|
|
6252
|
-
segment$jscomp$0.textEmbedded &&
|
|
6253
|
-
segment$jscomp$0.chunks.push("\x3c!-- --\x3e")),
|
|
6416
|
+
retryNode(request, task$jscomp$0),
|
|
6417
|
+
pushSegmentFinale(
|
|
6418
|
+
segment$jscomp$0.chunks,
|
|
6419
|
+
request.renderState,
|
|
6420
|
+
segment$jscomp$0.lastPushedText,
|
|
6421
|
+
segment$jscomp$0.textEmbedded
|
|
6422
|
+
),
|
|
6254
6423
|
task$jscomp$0.abortSet.delete(task$jscomp$0),
|
|
6255
6424
|
(segment$jscomp$0.status = COMPLETED),
|
|
6256
6425
|
finishedTask(
|
|
@@ -6265,22 +6434,21 @@
|
|
|
6265
6434
|
var x$jscomp$0 =
|
|
6266
6435
|
thrownValue === SuspenseException
|
|
6267
6436
|
? getSuspendedThenable()
|
|
6268
|
-
:
|
|
6437
|
+
: 12 === request.status
|
|
6438
|
+
? request.fatalError
|
|
6439
|
+
: thrownValue;
|
|
6269
6440
|
if (
|
|
6270
6441
|
"object" === typeof x$jscomp$0 &&
|
|
6271
6442
|
null !== x$jscomp$0 &&
|
|
6272
6443
|
"function" === typeof x$jscomp$0.then
|
|
6273
6444
|
) {
|
|
6274
|
-
|
|
6275
|
-
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
6445
|
+
segment$jscomp$0.status = PENDING;
|
|
6276
6446
|
task$jscomp$0.thenableState =
|
|
6277
6447
|
getThenableStateAfterSuspending();
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
task$jscomp$0.componentStack.parent);
|
|
6448
|
+
var ping$jscomp$0 = task$jscomp$0.ping;
|
|
6449
|
+
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
6281
6450
|
} else {
|
|
6282
6451
|
var errorInfo$jscomp$0 = getThrownInfo(
|
|
6283
|
-
request,
|
|
6284
6452
|
task$jscomp$0.componentStack
|
|
6285
6453
|
);
|
|
6286
6454
|
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
@@ -6321,9 +6489,9 @@
|
|
|
6321
6489
|
request$jscomp$1,
|
|
6322
6490
|
request$jscomp$1.destination
|
|
6323
6491
|
);
|
|
6324
|
-
} catch (error
|
|
6325
|
-
logRecoverableError(request$jscomp$1, error
|
|
6326
|
-
fatalError(request$jscomp$1, error
|
|
6492
|
+
} catch (error) {
|
|
6493
|
+
logRecoverableError(request$jscomp$1, error, {}),
|
|
6494
|
+
fatalError(request$jscomp$1, error);
|
|
6327
6495
|
} finally {
|
|
6328
6496
|
(currentResumableState = prevResumableState),
|
|
6329
6497
|
(ReactSharedInternals.H = prevDispatcher),
|
|
@@ -6523,15 +6691,15 @@
|
|
|
6523
6691
|
SentCompleteBoundaryFunction),
|
|
6524
6692
|
destination.push(completeBoundaryWithStylesScript1FullBoth))
|
|
6525
6693
|
: (completedSegments.instructions & SentStyleInsertionFunction) ===
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6694
|
+
NothingSent
|
|
6695
|
+
? ((completedSegments.instructions |= SentStyleInsertionFunction),
|
|
6696
|
+
destination.push(completeBoundaryWithStylesScript1FullPartial))
|
|
6697
|
+
: destination.push(completeBoundaryWithStylesScript1Partial)
|
|
6530
6698
|
: (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6699
|
+
NothingSent
|
|
6700
|
+
? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
|
|
6701
|
+
destination.push(completeBoundaryScript1Full))
|
|
6702
|
+
: destination.push(completeBoundaryScript1Partial);
|
|
6535
6703
|
completedSegments = i.toString(16);
|
|
6536
6704
|
destination.push(request.boundaryPrefix);
|
|
6537
6705
|
destination.push(completedSegments);
|
|
@@ -6846,9 +7014,10 @@
|
|
|
6846
7014
|
destination.push(partialBoundaries)),
|
|
6847
7015
|
i.hasHtml && ((i = endChunkForTag("html")), destination.push(i)),
|
|
6848
7016
|
0 !== request.abortableTasks.size &&
|
|
6849
|
-
error
|
|
7017
|
+
console.error(
|
|
6850
7018
|
"There was still abortable task at the root when we closed. This is a bug in React."
|
|
6851
7019
|
),
|
|
7020
|
+
(request.status = CLOSED),
|
|
6852
7021
|
destination.push(null),
|
|
6853
7022
|
(request.destination = null));
|
|
6854
7023
|
}
|
|
@@ -6856,6 +7025,7 @@
|
|
|
6856
7025
|
function startWork(request) {
|
|
6857
7026
|
request.flushScheduled = null !== request.destination;
|
|
6858
7027
|
performWork(request);
|
|
7028
|
+
10 === request.status && (request.status = 11);
|
|
6859
7029
|
null === request.trackedPostpones &&
|
|
6860
7030
|
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);
|
|
6861
7031
|
}
|
|
@@ -6873,26 +7043,31 @@
|
|
|
6873
7043
|
}
|
|
6874
7044
|
}
|
|
6875
7045
|
function startFlowing(request, destination) {
|
|
6876
|
-
if (
|
|
6877
|
-
(request.status =
|
|
6878
|
-
else if (
|
|
7046
|
+
if (13 === request.status)
|
|
7047
|
+
(request.status = CLOSED), destination.destroy(request.fatalError);
|
|
7048
|
+
else if (request.status !== CLOSED && null === request.destination) {
|
|
6879
7049
|
request.destination = destination;
|
|
6880
7050
|
try {
|
|
6881
7051
|
flushCompletedQueues(request, destination);
|
|
6882
|
-
} catch (error
|
|
6883
|
-
logRecoverableError(request, error
|
|
6884
|
-
fatalError(request, error$7);
|
|
7052
|
+
} catch (error) {
|
|
7053
|
+
logRecoverableError(request, error, {}), fatalError(request, error);
|
|
6885
7054
|
}
|
|
6886
7055
|
}
|
|
6887
7056
|
}
|
|
6888
7057
|
function abort(request, reason) {
|
|
7058
|
+
if (11 === request.status || 10 === request.status) request.status = 12;
|
|
6889
7059
|
try {
|
|
6890
7060
|
var abortableTasks = request.abortableTasks;
|
|
6891
7061
|
if (0 < abortableTasks.size) {
|
|
6892
7062
|
var error =
|
|
6893
7063
|
void 0 === reason
|
|
6894
7064
|
? Error("The render was aborted by the server without a reason.")
|
|
6895
|
-
: reason
|
|
7065
|
+
: "object" === typeof reason &&
|
|
7066
|
+
null !== reason &&
|
|
7067
|
+
"function" === typeof reason.then
|
|
7068
|
+
? Error("The render was aborted by the server with a promise.")
|
|
7069
|
+
: reason;
|
|
7070
|
+
request.fatalError = error;
|
|
6896
7071
|
abortableTasks.forEach(function (task) {
|
|
6897
7072
|
return abortTask(task, request, error);
|
|
6898
7073
|
});
|
|
@@ -6900,8 +7075,8 @@
|
|
|
6900
7075
|
}
|
|
6901
7076
|
null !== request.destination &&
|
|
6902
7077
|
flushCompletedQueues(request, request.destination);
|
|
6903
|
-
} catch (error$
|
|
6904
|
-
logRecoverableError(request, error$
|
|
7078
|
+
} catch (error$4) {
|
|
7079
|
+
logRecoverableError(request, error$4, {}), fatalError(request, error$4);
|
|
6905
7080
|
}
|
|
6906
7081
|
}
|
|
6907
7082
|
function onError() {}
|
|
@@ -6954,8 +7129,6 @@
|
|
|
6954
7129
|
}
|
|
6955
7130
|
var React = require("react"),
|
|
6956
7131
|
ReactDOM = require("react-dom"),
|
|
6957
|
-
ReactSharedInternals =
|
|
6958
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
6959
7132
|
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
6960
7133
|
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
6961
7134
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
@@ -7655,6 +7828,8 @@
|
|
|
7655
7828
|
msPattern = /^ms-/,
|
|
7656
7829
|
isJavaScriptProtocol =
|
|
7657
7830
|
/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,
|
|
7831
|
+
ReactSharedInternals =
|
|
7832
|
+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
7658
7833
|
ReactDOMSharedInternals =
|
|
7659
7834
|
ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
7660
7835
|
NotPending = Object.freeze({
|
|
@@ -7686,7 +7861,7 @@
|
|
|
7686
7861
|
"<" +
|
|
7687
7862
|
escapeHrefForLinkHeaderURLContext(href) +
|
|
7688
7863
|
">; rel=dns-prefetch"),
|
|
7689
|
-
|
|
7864
|
+
0 <= (resumableState.remainingCapacity -= header.length + 2));
|
|
7690
7865
|
JSCompiler_temp
|
|
7691
7866
|
? ((renderState.resets.dns[href] = EXISTS),
|
|
7692
7867
|
resumableState.preconnects &&
|
|
@@ -7710,8 +7885,8 @@
|
|
|
7710
7885
|
"use-credentials" === crossOrigin
|
|
7711
7886
|
? "credentials"
|
|
7712
7887
|
: "string" === typeof crossOrigin
|
|
7713
|
-
|
|
7714
|
-
|
|
7888
|
+
? "anonymous"
|
|
7889
|
+
: "default";
|
|
7715
7890
|
if (!resumableState.connectResources[bucket].hasOwnProperty(href)) {
|
|
7716
7891
|
resumableState.connectResources[bucket][href] = EXISTS;
|
|
7717
7892
|
resumableState = renderState.headers;
|
|
@@ -7735,7 +7910,7 @@
|
|
|
7735
7910
|
}
|
|
7736
7911
|
JSCompiler_temp =
|
|
7737
7912
|
((header = JSCompiler_temp),
|
|
7738
|
-
|
|
7913
|
+
0 <= (resumableState.remainingCapacity -= header.length + 2));
|
|
7739
7914
|
}
|
|
7740
7915
|
JSCompiler_temp
|
|
7741
7916
|
? ((renderState.resets.connect[bucket][href] = EXISTS),
|
|
@@ -7778,7 +7953,7 @@
|
|
|
7778
7953
|
0 < resumableState.remainingCapacity &&
|
|
7779
7954
|
"high" === fetchPriority &&
|
|
7780
7955
|
((header = getPreloadAsHeader(href, as, options)),
|
|
7781
|
-
|
|
7956
|
+
0 <= (resumableState.remainingCapacity -= header.length + 2))
|
|
7782
7957
|
? ((renderState.resets.image[key] = PRELOAD_NO_CREDS),
|
|
7783
7958
|
resumableState.highImagePreloads &&
|
|
7784
7959
|
(resumableState.highImagePreloads += ", "),
|
|
@@ -7848,7 +8023,7 @@
|
|
|
7848
8023
|
0 < resumableState.remainingCapacity &&
|
|
7849
8024
|
"font" === as &&
|
|
7850
8025
|
((key = getPreloadAsHeader(href, as, options)),
|
|
7851
|
-
|
|
8026
|
+
0 <= (resumableState.remainingCapacity -= key.length + 2))
|
|
7852
8027
|
)
|
|
7853
8028
|
(renderState.resets.font[href] = PRELOAD_NO_CREDS),
|
|
7854
8029
|
resumableState.fontPreloads &&
|
|
@@ -8147,6 +8322,7 @@
|
|
|
8147
8322
|
regexForHrefInLinkHeaderURLContext = /[<>\r\n]/g,
|
|
8148
8323
|
regexForLinkHeaderQuotedParamValueContext = /["';,\r\n]/g,
|
|
8149
8324
|
doctypeChunk = "",
|
|
8325
|
+
bind = Function.prototype.bind,
|
|
8150
8326
|
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
8151
8327
|
emptyContextObject = {};
|
|
8152
8328
|
Object.freeze(emptyContextObject);
|
|
@@ -8159,6 +8335,8 @@
|
|
|
8159
8335
|
var didWarnAboutLegacyLifecyclesAndDerivedState = new Set();
|
|
8160
8336
|
var didWarnAboutDirectlyAssigningPropsToState = new Set();
|
|
8161
8337
|
var didWarnAboutUndefinedDerivedState = new Set();
|
|
8338
|
+
var didWarnAboutContextTypes$1 = new Set();
|
|
8339
|
+
var didWarnAboutChildContextTypes = new Set();
|
|
8162
8340
|
var didWarnAboutInvalidateContextType = new Set();
|
|
8163
8341
|
var didWarnOnInvalidCallback = new Set();
|
|
8164
8342
|
var classComponentUpdater = {
|
|
@@ -8315,12 +8493,15 @@
|
|
|
8315
8493
|
HooksDispatcher.useFormState = useActionState;
|
|
8316
8494
|
HooksDispatcher.useActionState = useActionState;
|
|
8317
8495
|
var currentResumableState = null,
|
|
8496
|
+
currentTaskInDEV = null,
|
|
8318
8497
|
DefaultAsyncDispatcher = {
|
|
8319
8498
|
getCacheForType: function () {
|
|
8320
8499
|
throw Error("Not implemented.");
|
|
8321
8500
|
},
|
|
8322
8501
|
getOwner: function () {
|
|
8323
|
-
return null
|
|
8502
|
+
return null === currentTaskInDEV
|
|
8503
|
+
? null
|
|
8504
|
+
: currentTaskInDEV.componentStack;
|
|
8324
8505
|
}
|
|
8325
8506
|
},
|
|
8326
8507
|
disabledDepth = 0,
|
|
@@ -8333,18 +8514,41 @@
|
|
|
8333
8514
|
prevGroupEnd;
|
|
8334
8515
|
disabledLog.__reactDisabledLog = !0;
|
|
8335
8516
|
var prefix,
|
|
8517
|
+
suffix,
|
|
8336
8518
|
reentry = !1;
|
|
8337
8519
|
var componentFrameCache = new (
|
|
8338
8520
|
"function" === typeof WeakMap ? WeakMap : Map
|
|
8339
8521
|
)();
|
|
8340
|
-
var
|
|
8522
|
+
var callComponent = {
|
|
8523
|
+
"react-stack-bottom-frame": function (Component, props, secondArg) {
|
|
8524
|
+
return Component(props, secondArg);
|
|
8525
|
+
}
|
|
8526
|
+
},
|
|
8527
|
+
callComponentInDEV =
|
|
8528
|
+
callComponent["react-stack-bottom-frame"].bind(callComponent),
|
|
8529
|
+
callRender = {
|
|
8530
|
+
"react-stack-bottom-frame": function (instance) {
|
|
8531
|
+
return instance.render();
|
|
8532
|
+
}
|
|
8533
|
+
},
|
|
8534
|
+
callRenderInDEV = callRender["react-stack-bottom-frame"].bind(callRender),
|
|
8535
|
+
callLazyInit = {
|
|
8536
|
+
"react-stack-bottom-frame": function (lazy) {
|
|
8537
|
+
var init = lazy._init;
|
|
8538
|
+
return init(lazy._payload);
|
|
8539
|
+
}
|
|
8540
|
+
},
|
|
8541
|
+
callLazyInitInDEV =
|
|
8542
|
+
callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
|
|
8543
|
+
CLIENT_RENDERED = 4,
|
|
8341
8544
|
PENDING = 0,
|
|
8342
8545
|
COMPLETED = 1,
|
|
8343
8546
|
FLUSHED = 2,
|
|
8344
8547
|
POSTPONED = 5,
|
|
8548
|
+
CLOSED = 14,
|
|
8345
8549
|
currentRequest = null,
|
|
8346
|
-
currentTaskInDEV = null,
|
|
8347
8550
|
didWarnAboutBadClass = {},
|
|
8551
|
+
didWarnAboutContextTypes = {},
|
|
8348
8552
|
didWarnAboutContextTypeOnFunctionComponent = {},
|
|
8349
8553
|
didWarnAboutGetDerivedStateOnFunctionComponent = {},
|
|
8350
8554
|
didWarnAboutReassigningProps = !1,
|
|
@@ -8366,5 +8570,5 @@
|
|
|
8366
8570
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
|
8367
8571
|
);
|
|
8368
8572
|
};
|
|
8369
|
-
exports.version = "19.0.0
|
|
8573
|
+
exports.version = "19.0.0";
|
|
8370
8574
|
})();
|