@shelf/global-renderer 1.0.3-beta.1 → 1.0.4-beta.0
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/CHANGELOG.md +15 -0
- package/lib/DecisionTreeContent/DecisionTreeContent.d.ts +2 -2
- package/lib/DecisionTreeContent/DecisionTreeContent.js +68 -63
- package/lib/DecisionTreeContent/DecisionTreeContent.styled.js +101 -101
- package/lib/DecisionTreeContent/components/Condition.d.ts +2 -2
- package/lib/DecisionTreeContent/components/Condition.js +43 -39
- package/lib/DecisionTreeContent/components/ContentTable.d.ts +2 -2
- package/lib/DecisionTreeContent/components/ContentTable.js +29 -24
- package/lib/DecisionTreeContent/components/ExportedMeta.d.ts +3 -3
- package/lib/DecisionTreeContent/components/ExportedMeta.js +27 -23
- package/lib/DecisionTreeContent/components/Link.d.ts +2 -2
- package/lib/DecisionTreeContent/components/Question.d.ts +2 -2
- package/lib/DecisionTreeContent/components/Question.js +14 -12
- package/lib/DecisionTreeContent/components/Solution.d.ts +2 -2
- package/lib/DecisionTreeContent/components/StepHeader.d.ts +2 -2
- package/lib/DecisionTreeContent/components/StepHeader.js +50 -38
- package/lib/DecisionTreeContent/components/StepTypeIcon.js +17 -14
- package/lib/DecisionTreeContent/helpers.d.ts +3 -3
- package/lib/DecisionTreeContent/helpers.js +17 -17
- package/lib/DecisionTreeContent/types.d.ts +1 -1
- package/lib/DecisionTreeDiagram/StaticTreeContainer.d.ts +2 -2
- package/lib/DecisionTreeDiagram/StaticTreeContainer.js +10 -7
- package/lib/_virtual/index.js +2 -2
- package/lib/_virtual/index2.js +1 -1
- package/lib/i18next/index.js +6 -6
- package/lib/node_modules/@shelf/i18n/lib/bundles/pdf-viewer/index.js +25 -0
- package/lib/node_modules/@shelf/i18n/lib/bundles/pdf-viewer/translations/de.js +7 -0
- package/lib/node_modules/@shelf/i18n/lib/bundles/pdf-viewer/translations/en.js +7 -0
- package/lib/node_modules/@shelf/i18n/lib/bundles/pdf-viewer/translations/es.js +7 -0
- package/lib/node_modules/@shelf/i18n/lib/bundles/pdf-viewer/translations/pl.js +7 -0
- package/lib/node_modules/@shelf/i18n/lib/bundles/pdf-viewer/translations/uk.js +7 -0
- package/lib/node_modules/@shelf/i18n/lib/helpers.js +19 -0
- package/lib/node_modules/@shelf/i18n/lib/resources/de/pdf-viewer/index.json.js +50 -0
- package/lib/node_modules/@shelf/i18n/lib/resources/en/pdf-viewer/index.json.js +50 -0
- package/lib/node_modules/@shelf/i18n/lib/resources/es/pdf-viewer/index.json.js +50 -0
- package/lib/node_modules/@shelf/i18n/lib/resources/pl/pdf-viewer/index.json.js +50 -0
- package/lib/node_modules/@shelf/i18n/lib/resources/uk/pdf-viewer/index.json.js +50 -0
- package/lib/node_modules/react-dom/cjs/react-dom.development.js +583 -69
- package/lib/node_modules/react-dom/cjs/react-dom.production.min.js +81 -83
- package/lib/node_modules/react-dom/client.js +3 -5
- package/lib/node_modules/react-dom/index.js +17 -15
- package/lib/node_modules/scheduler/index.js +6 -8
- package/lib/packages/colors/lib/colors.js +12 -0
- package/lib/packages/icons/lib/Containers/IconContainer/IconContainer.js +31 -0
- package/lib/packages/icons/lib/Icons/Condition.js +14 -0
- package/lib/packages/icons/lib/Icons/DecisionTree.js +18 -0
- package/lib/packages/icons/lib/Icons/Link.js +13 -0
- package/lib/packages/icons/lib/Icons/Question.js +18 -0
- package/lib/packages/icons/lib/Icons/Solution.js +14 -0
- package/package.json +13 -8
|
@@ -149,6 +149,9 @@ function OO() {
|
|
|
149
149
|
var ze = {}, Ob = [
|
|
150
150
|
"children",
|
|
151
151
|
"dangerouslySetInnerHTML",
|
|
152
|
+
// TODO: This prevents the assignment of defaultValue to regular
|
|
153
|
+
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
154
|
+
// defaultValue property -- do we need this?
|
|
152
155
|
"defaultValue",
|
|
153
156
|
"defaultChecked",
|
|
154
157
|
"innerHTML",
|
|
@@ -161,9 +164,13 @@ function OO() {
|
|
|
161
164
|
e,
|
|
162
165
|
_u,
|
|
163
166
|
!1,
|
|
167
|
+
// mustUseProperty
|
|
164
168
|
e,
|
|
169
|
+
// attributeName
|
|
165
170
|
null,
|
|
171
|
+
// attributeNamespace
|
|
166
172
|
!1,
|
|
173
|
+
// sanitizeURL
|
|
167
174
|
!1
|
|
168
175
|
);
|
|
169
176
|
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
|
|
@@ -172,9 +179,13 @@ function OO() {
|
|
|
172
179
|
t,
|
|
173
180
|
va,
|
|
174
181
|
!1,
|
|
182
|
+
// mustUseProperty
|
|
175
183
|
n,
|
|
184
|
+
// attributeName
|
|
176
185
|
null,
|
|
186
|
+
// attributeNamespace
|
|
177
187
|
!1,
|
|
188
|
+
// sanitizeURL
|
|
178
189
|
!1
|
|
179
190
|
);
|
|
180
191
|
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
|
|
@@ -182,9 +193,13 @@ function OO() {
|
|
|
182
193
|
e,
|
|
183
194
|
Zo,
|
|
184
195
|
!1,
|
|
196
|
+
// mustUseProperty
|
|
185
197
|
e.toLowerCase(),
|
|
198
|
+
// attributeName
|
|
186
199
|
null,
|
|
200
|
+
// attributeNamespace
|
|
187
201
|
!1,
|
|
202
|
+
// sanitizeURL
|
|
188
203
|
!1
|
|
189
204
|
);
|
|
190
205
|
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
|
|
@@ -192,14 +207,20 @@ function OO() {
|
|
|
192
207
|
e,
|
|
193
208
|
Zo,
|
|
194
209
|
!1,
|
|
210
|
+
// mustUseProperty
|
|
195
211
|
e,
|
|
212
|
+
// attributeName
|
|
196
213
|
null,
|
|
214
|
+
// attributeNamespace
|
|
197
215
|
!1,
|
|
216
|
+
// sanitizeURL
|
|
198
217
|
!1
|
|
199
218
|
);
|
|
200
219
|
}), [
|
|
201
220
|
"allowFullScreen",
|
|
202
221
|
"async",
|
|
222
|
+
// Note: there is a special case that prevents it from being written to the DOM
|
|
223
|
+
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
203
224
|
"autoFocus",
|
|
204
225
|
"autoPlay",
|
|
205
226
|
"controls",
|
|
@@ -220,43 +241,64 @@ function OO() {
|
|
|
220
241
|
"reversed",
|
|
221
242
|
"scoped",
|
|
222
243
|
"seamless",
|
|
244
|
+
// Microdata
|
|
223
245
|
"itemScope"
|
|
224
246
|
].forEach(function(e) {
|
|
225
247
|
ze[e] = new Ke(
|
|
226
248
|
e,
|
|
227
249
|
Hn,
|
|
228
250
|
!1,
|
|
251
|
+
// mustUseProperty
|
|
229
252
|
e.toLowerCase(),
|
|
253
|
+
// attributeName
|
|
230
254
|
null,
|
|
255
|
+
// attributeNamespace
|
|
231
256
|
!1,
|
|
257
|
+
// sanitizeURL
|
|
232
258
|
!1
|
|
233
259
|
);
|
|
234
260
|
}), [
|
|
235
261
|
"checked",
|
|
262
|
+
// Note: `option.selected` is not updated if `select.multiple` is
|
|
263
|
+
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
236
264
|
"multiple",
|
|
237
265
|
"muted",
|
|
238
266
|
"selected"
|
|
267
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
268
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
269
|
+
// instead in the assignment below.
|
|
239
270
|
].forEach(function(e) {
|
|
240
271
|
ze[e] = new Ke(
|
|
241
272
|
e,
|
|
242
273
|
Hn,
|
|
243
274
|
!0,
|
|
275
|
+
// mustUseProperty
|
|
244
276
|
e,
|
|
277
|
+
// attributeName
|
|
245
278
|
null,
|
|
279
|
+
// attributeNamespace
|
|
246
280
|
!1,
|
|
281
|
+
// sanitizeURL
|
|
247
282
|
!1
|
|
248
283
|
);
|
|
249
284
|
}), [
|
|
250
285
|
"capture",
|
|
251
286
|
"download"
|
|
287
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
288
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
289
|
+
// instead in the assignment below.
|
|
252
290
|
].forEach(function(e) {
|
|
253
291
|
ze[e] = new Ke(
|
|
254
292
|
e,
|
|
255
293
|
Ir,
|
|
256
294
|
!1,
|
|
295
|
+
// mustUseProperty
|
|
257
296
|
e,
|
|
297
|
+
// attributeName
|
|
258
298
|
null,
|
|
299
|
+
// attributeNamespace
|
|
259
300
|
!1,
|
|
301
|
+
// sanitizeURL
|
|
260
302
|
!1
|
|
261
303
|
);
|
|
262
304
|
}), [
|
|
@@ -264,14 +306,21 @@ function OO() {
|
|
|
264
306
|
"rows",
|
|
265
307
|
"size",
|
|
266
308
|
"span"
|
|
309
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
310
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
311
|
+
// instead in the assignment below.
|
|
267
312
|
].forEach(function(e) {
|
|
268
313
|
ze[e] = new Ke(
|
|
269
314
|
e,
|
|
270
315
|
Rv,
|
|
271
316
|
!1,
|
|
317
|
+
// mustUseProperty
|
|
272
318
|
e,
|
|
319
|
+
// attributeName
|
|
273
320
|
null,
|
|
321
|
+
// attributeNamespace
|
|
274
322
|
!1,
|
|
323
|
+
// sanitizeURL
|
|
275
324
|
!1
|
|
276
325
|
);
|
|
277
326
|
}), ["rowSpan", "start"].forEach(function(e) {
|
|
@@ -279,9 +328,13 @@ function OO() {
|
|
|
279
328
|
e,
|
|
280
329
|
Ev,
|
|
281
330
|
!1,
|
|
331
|
+
// mustUseProperty
|
|
282
332
|
e.toLowerCase(),
|
|
333
|
+
// attributeName
|
|
283
334
|
null,
|
|
335
|
+
// attributeNamespace
|
|
284
336
|
!1,
|
|
337
|
+
// sanitizeURL
|
|
285
338
|
!1
|
|
286
339
|
);
|
|
287
340
|
});
|
|
@@ -362,15 +415,21 @@ function OO() {
|
|
|
362
415
|
"writing-mode",
|
|
363
416
|
"xmlns:xlink",
|
|
364
417
|
"x-height"
|
|
418
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
419
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
420
|
+
// instead in the assignment below.
|
|
365
421
|
].forEach(function(e) {
|
|
366
422
|
var t = e.replace(Wo, Io);
|
|
367
423
|
ze[t] = new Ke(
|
|
368
424
|
t,
|
|
369
425
|
va,
|
|
370
426
|
!1,
|
|
427
|
+
// mustUseProperty
|
|
371
428
|
e,
|
|
372
429
|
null,
|
|
430
|
+
// attributeNamespace
|
|
373
431
|
!1,
|
|
432
|
+
// sanitizeURL
|
|
374
433
|
!1
|
|
375
434
|
);
|
|
376
435
|
}), [
|
|
@@ -380,30 +439,40 @@ function OO() {
|
|
|
380
439
|
"xlink:show",
|
|
381
440
|
"xlink:title",
|
|
382
441
|
"xlink:type"
|
|
442
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
443
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
444
|
+
// instead in the assignment below.
|
|
383
445
|
].forEach(function(e) {
|
|
384
446
|
var t = e.replace(Wo, Io);
|
|
385
447
|
ze[t] = new Ke(
|
|
386
448
|
t,
|
|
387
449
|
va,
|
|
388
450
|
!1,
|
|
451
|
+
// mustUseProperty
|
|
389
452
|
e,
|
|
390
453
|
"http://www.w3.org/1999/xlink",
|
|
391
454
|
!1,
|
|
455
|
+
// sanitizeURL
|
|
392
456
|
!1
|
|
393
457
|
);
|
|
394
458
|
}), [
|
|
395
459
|
"xml:base",
|
|
396
460
|
"xml:lang",
|
|
397
461
|
"xml:space"
|
|
462
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
463
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
464
|
+
// instead in the assignment below.
|
|
398
465
|
].forEach(function(e) {
|
|
399
466
|
var t = e.replace(Wo, Io);
|
|
400
467
|
ze[t] = new Ke(
|
|
401
468
|
t,
|
|
402
469
|
va,
|
|
403
470
|
!1,
|
|
471
|
+
// mustUseProperty
|
|
404
472
|
e,
|
|
405
473
|
"http://www.w3.org/XML/1998/namespace",
|
|
406
474
|
!1,
|
|
475
|
+
// sanitizeURL
|
|
407
476
|
!1
|
|
408
477
|
);
|
|
409
478
|
}), ["tabIndex", "crossOrigin"].forEach(function(e) {
|
|
@@ -411,9 +480,13 @@ function OO() {
|
|
|
411
480
|
e,
|
|
412
481
|
va,
|
|
413
482
|
!1,
|
|
483
|
+
// mustUseProperty
|
|
414
484
|
e.toLowerCase(),
|
|
485
|
+
// attributeName
|
|
415
486
|
null,
|
|
487
|
+
// attributeNamespace
|
|
416
488
|
!1,
|
|
489
|
+
// sanitizeURL
|
|
417
490
|
!1
|
|
418
491
|
);
|
|
419
492
|
});
|
|
@@ -422,18 +495,24 @@ function OO() {
|
|
|
422
495
|
"xlinkHref",
|
|
423
496
|
va,
|
|
424
497
|
!1,
|
|
498
|
+
// mustUseProperty
|
|
425
499
|
"xlink:href",
|
|
426
500
|
"http://www.w3.org/1999/xlink",
|
|
427
501
|
!0,
|
|
502
|
+
// sanitizeURL
|
|
428
503
|
!1
|
|
429
504
|
), ["src", "href", "action", "formAction"].forEach(function(e) {
|
|
430
505
|
ze[e] = new Ke(
|
|
431
506
|
e,
|
|
432
507
|
va,
|
|
433
508
|
!1,
|
|
509
|
+
// mustUseProperty
|
|
434
510
|
e.toLowerCase(),
|
|
511
|
+
// attributeName
|
|
435
512
|
null,
|
|
513
|
+
// attributeNamespace
|
|
436
514
|
!0,
|
|
515
|
+
// sanitizeURL
|
|
437
516
|
!0
|
|
438
517
|
);
|
|
439
518
|
});
|
|
@@ -1008,7 +1087,9 @@ Error generating stack: ` + a.message + `
|
|
|
1008
1087
|
tp(e, t);
|
|
1009
1088
|
var r = Fn(t.value), i = t.type;
|
|
1010
1089
|
if (r != null)
|
|
1011
|
-
i === "number" ? (r === 0 && n.value === "" ||
|
|
1090
|
+
i === "number" ? (r === 0 && n.value === "" || // We explicitly want to coerce to number here if possible.
|
|
1091
|
+
// eslint-disable-next-line
|
|
1092
|
+
n.value != r) && (n.value = xt(r)) : n.value !== xt(r) && (n.value = xt(r));
|
|
1012
1093
|
else if (i === "submit" || i === "reset") {
|
|
1013
1094
|
n.removeAttribute("value");
|
|
1014
1095
|
return;
|
|
@@ -1049,6 +1130,7 @@ Error generating stack: ` + a.message + `
|
|
|
1049
1130
|
}
|
|
1050
1131
|
}
|
|
1051
1132
|
function vs(e, t, n) {
|
|
1133
|
+
// Focused number inputs synchronize on blur. See ChangeEventPlugin.js
|
|
1052
1134
|
(t !== "number" || Bu(e.ownerDocument) !== e) && (n == null ? e.defaultValue = xt(e._wrapperState.initialValue) : e.defaultValue !== xt(n) && (e.defaultValue = xt(n)));
|
|
1053
1135
|
}
|
|
1054
1136
|
var ap = !1, rp = !1, ip = !1;
|
|
@@ -1307,6 +1389,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1307
1389
|
widows: !0,
|
|
1308
1390
|
zIndex: !0,
|
|
1309
1391
|
zoom: !0,
|
|
1392
|
+
// SVG-related properties
|
|
1310
1393
|
fillOpacity: !0,
|
|
1311
1394
|
floodOpacity: !0,
|
|
1312
1395
|
stopOpacity: !0,
|
|
@@ -1344,6 +1427,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1344
1427
|
nr.hasOwnProperty(e) && nr[e] || (nr[e] = !0, f(
|
|
1345
1428
|
"Unsupported style property %s. Did you mean %s?",
|
|
1346
1429
|
e,
|
|
1430
|
+
// As Andi Smith suggests
|
|
1431
|
+
// (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
|
|
1432
|
+
// is converted to lowercase `ms`.
|
|
1347
1433
|
gS(e.replace(mS, "ms-"))
|
|
1348
1434
|
));
|
|
1349
1435
|
}, SS = function(e) {
|
|
@@ -1364,7 +1450,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1364
1450
|
{
|
|
1365
1451
|
var t = "", n = "";
|
|
1366
1452
|
for (var a in e)
|
|
1367
|
-
if (
|
|
1453
|
+
if (e.hasOwnProperty(a)) {
|
|
1368
1454
|
var r = e[a];
|
|
1369
1455
|
if (r != null) {
|
|
1370
1456
|
var i = a.indexOf("--") === 0;
|
|
@@ -1377,7 +1463,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1377
1463
|
function bp(e, t) {
|
|
1378
1464
|
var n = e.style;
|
|
1379
1465
|
for (var a in t)
|
|
1380
|
-
if (
|
|
1466
|
+
if (t.hasOwnProperty(a)) {
|
|
1381
1467
|
var r = a.indexOf("--") === 0;
|
|
1382
1468
|
r || TS(a, t[a]);
|
|
1383
1469
|
var i = Cs(a, t[a], r);
|
|
@@ -1426,11 +1512,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1426
1512
|
source: !0,
|
|
1427
1513
|
track: !0,
|
|
1428
1514
|
wbr: !0
|
|
1515
|
+
// NOTE: menuitem's close tag should be omitted, but that causes problems.
|
|
1429
1516
|
}, US = X({
|
|
1430
1517
|
menuitem: !0
|
|
1431
1518
|
}, OS), LS = "__html";
|
|
1432
1519
|
function Rs(e, t) {
|
|
1433
|
-
if (
|
|
1520
|
+
if (t) {
|
|
1434
1521
|
if (US[e] && (t.children != null || t.dangerouslySetInnerHTML != null))
|
|
1435
1522
|
throw new Error(e + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
|
|
1436
1523
|
if (t.dangerouslySetInnerHTML != null) {
|
|
@@ -1461,6 +1548,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1461
1548
|
}
|
|
1462
1549
|
}
|
|
1463
1550
|
var $u = {
|
|
1551
|
+
// HTML
|
|
1464
1552
|
accept: "accept",
|
|
1465
1553
|
acceptcharset: "acceptCharset",
|
|
1466
1554
|
"accept-charset": "acceptCharset",
|
|
@@ -1610,6 +1698,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1610
1698
|
width: "width",
|
|
1611
1699
|
wmode: "wmode",
|
|
1612
1700
|
wrap: "wrap",
|
|
1701
|
+
// SVG
|
|
1613
1702
|
about: "about",
|
|
1614
1703
|
accentheight: "accentHeight",
|
|
1615
1704
|
"accent-height": "accentHeight",
|
|
@@ -1948,14 +2037,19 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1948
2037
|
zoomandpan: "zoomAndPan"
|
|
1949
2038
|
}, Cp = {
|
|
1950
2039
|
"aria-current": 0,
|
|
2040
|
+
// state
|
|
1951
2041
|
"aria-description": 0,
|
|
1952
2042
|
"aria-details": 0,
|
|
1953
2043
|
"aria-disabled": 0,
|
|
2044
|
+
// state
|
|
1954
2045
|
"aria-hidden": 0,
|
|
2046
|
+
// state
|
|
1955
2047
|
"aria-invalid": 0,
|
|
2048
|
+
// state
|
|
1956
2049
|
"aria-keyshortcuts": 0,
|
|
1957
2050
|
"aria-label": 0,
|
|
1958
2051
|
"aria-roledescription": 0,
|
|
2052
|
+
// Widget Attributes
|
|
1959
2053
|
"aria-autocomplete": 0,
|
|
1960
2054
|
"aria-checked": 0,
|
|
1961
2055
|
"aria-expanded": 0,
|
|
@@ -1975,12 +2069,15 @@ Check the render method of \`` + e + "`." : "";
|
|
|
1975
2069
|
"aria-valuemin": 0,
|
|
1976
2070
|
"aria-valuenow": 0,
|
|
1977
2071
|
"aria-valuetext": 0,
|
|
2072
|
+
// Live Region Attributes
|
|
1978
2073
|
"aria-atomic": 0,
|
|
1979
2074
|
"aria-busy": 0,
|
|
1980
2075
|
"aria-live": 0,
|
|
1981
2076
|
"aria-relevant": 0,
|
|
2077
|
+
// Drag-and-Drop Attributes
|
|
1982
2078
|
"aria-dropeffect": 0,
|
|
1983
2079
|
"aria-grabbed": 0,
|
|
2080
|
+
// Relationship Attributes
|
|
1984
2081
|
"aria-activedescendant": 0,
|
|
1985
2082
|
"aria-colcount": 0,
|
|
1986
2083
|
"aria-colindex": 0,
|
|
@@ -2099,7 +2196,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2099
2196
|
function jS(e, t, n) {
|
|
2100
2197
|
ma(e, t) || BS(e, t, n);
|
|
2101
2198
|
}
|
|
2102
|
-
var xp = 1, Ts =
|
|
2199
|
+
var xp = 1, Ts = 2, ui = 4, YS = xp | Ts | ui, li = null;
|
|
2103
2200
|
function $S(e) {
|
|
2104
2201
|
li !== null && f("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."), li = e;
|
|
2105
2202
|
}
|
|
@@ -2116,7 +2213,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2116
2213
|
var Ds = null, rr = null, ir = null;
|
|
2117
2214
|
function Dp(e) {
|
|
2118
2215
|
var t = Qn(e);
|
|
2119
|
-
if (
|
|
2216
|
+
if (t) {
|
|
2120
2217
|
if (typeof Ds != "function")
|
|
2121
2218
|
throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");
|
|
2122
2219
|
var n = t.stateNode;
|
|
@@ -2136,7 +2233,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2136
2233
|
return rr !== null || ir !== null;
|
|
2137
2234
|
}
|
|
2138
2235
|
function Op() {
|
|
2139
|
-
if (
|
|
2236
|
+
if (rr) {
|
|
2140
2237
|
var e = rr, t = ir;
|
|
2141
2238
|
if (rr = null, ir = null, Dp(e), t)
|
|
2142
2239
|
for (var n = 0; n < t.length; n++)
|
|
@@ -2285,7 +2382,86 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2285
2382
|
function rC(e, t) {
|
|
2286
2383
|
e._reactInternals = t;
|
|
2287
2384
|
}
|
|
2288
|
-
var A =
|
|
2385
|
+
var A = (
|
|
2386
|
+
/* */
|
|
2387
|
+
0
|
|
2388
|
+
), or = (
|
|
2389
|
+
/* */
|
|
2390
|
+
1
|
|
2391
|
+
), ye = (
|
|
2392
|
+
/* */
|
|
2393
|
+
2
|
|
2394
|
+
), Z = (
|
|
2395
|
+
/* */
|
|
2396
|
+
4
|
|
2397
|
+
), ya = (
|
|
2398
|
+
/* */
|
|
2399
|
+
16
|
|
2400
|
+
), ci = (
|
|
2401
|
+
/* */
|
|
2402
|
+
32
|
|
2403
|
+
), zs = (
|
|
2404
|
+
/* */
|
|
2405
|
+
64
|
|
2406
|
+
), W = (
|
|
2407
|
+
/* */
|
|
2408
|
+
128
|
|
2409
|
+
), hn = (
|
|
2410
|
+
/* */
|
|
2411
|
+
256
|
|
2412
|
+
), Vn = (
|
|
2413
|
+
/* */
|
|
2414
|
+
512
|
|
2415
|
+
), ga = (
|
|
2416
|
+
/* */
|
|
2417
|
+
1024
|
|
2418
|
+
), Ht = (
|
|
2419
|
+
/* */
|
|
2420
|
+
2048
|
|
2421
|
+
), mn = (
|
|
2422
|
+
/* */
|
|
2423
|
+
4096
|
|
2424
|
+
), ba = (
|
|
2425
|
+
/* */
|
|
2426
|
+
8192
|
|
2427
|
+
), Qu = (
|
|
2428
|
+
/* */
|
|
2429
|
+
16384
|
|
2430
|
+
), iC = Ht | Z | zs | Vn | ga | Qu, uC = (
|
|
2431
|
+
/* */
|
|
2432
|
+
32767
|
|
2433
|
+
), fi = (
|
|
2434
|
+
/* */
|
|
2435
|
+
32768
|
|
2436
|
+
), tt = (
|
|
2437
|
+
/* */
|
|
2438
|
+
65536
|
|
2439
|
+
), Ns = (
|
|
2440
|
+
/* */
|
|
2441
|
+
131072
|
|
2442
|
+
), Np = (
|
|
2443
|
+
/* */
|
|
2444
|
+
1048576
|
|
2445
|
+
), _s = (
|
|
2446
|
+
/* */
|
|
2447
|
+
2097152
|
|
2448
|
+
), Sa = (
|
|
2449
|
+
/* */
|
|
2450
|
+
4194304
|
|
2451
|
+
), Hs = (
|
|
2452
|
+
/* */
|
|
2453
|
+
8388608
|
|
2454
|
+
), yn = (
|
|
2455
|
+
/* */
|
|
2456
|
+
16777216
|
|
2457
|
+
), Xu = (
|
|
2458
|
+
/* */
|
|
2459
|
+
33554432
|
|
2460
|
+
), ks = (
|
|
2461
|
+
// TODO: Remove Update flag from before mutation phase by re-landing Visibility
|
|
2462
|
+
// flag logic (see #20043)
|
|
2463
|
+
Z | ga | 0
|
|
2464
|
+
), Fs = ye | Z | ya | ci | Vn | mn | ba, di = Z | zs | Vn | ba, sr = Ht | ya, gn = Sa | Hs | _s, lC = Ae.ReactCurrentOwner;
|
|
2289
2465
|
function Ca(e) {
|
|
2290
2466
|
var t = e, n = e;
|
|
2291
2467
|
if (e.alternate)
|
|
@@ -2596,12 +2772,135 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2596
2772
|
function js(e, t) {
|
|
2597
2773
|
x !== null && typeof x.markStateUpdateScheduled == "function" && x.markStateUpdateScheduled(e, t);
|
|
2598
2774
|
}
|
|
2599
|
-
var z =
|
|
2775
|
+
var z = (
|
|
2776
|
+
/* */
|
|
2777
|
+
0
|
|
2778
|
+
), q = (
|
|
2779
|
+
/* */
|
|
2780
|
+
1
|
|
2781
|
+
), P = (
|
|
2782
|
+
/* */
|
|
2783
|
+
2
|
|
2784
|
+
), ge = (
|
|
2785
|
+
/* */
|
|
2786
|
+
8
|
|
2787
|
+
), It = (
|
|
2788
|
+
/* */
|
|
2789
|
+
16
|
|
2790
|
+
), Zp = Math.clz32 ? Math.clz32 : $C, jC = Math.log, YC = Math.LN2;
|
|
2600
2791
|
function $C(e) {
|
|
2601
2792
|
var t = e >>> 0;
|
|
2602
2793
|
return t === 0 ? 32 : 31 - (jC(t) / YC | 0) | 0;
|
|
2603
2794
|
}
|
|
2604
|
-
var Ys = 31, C =
|
|
2795
|
+
var Ys = 31, C = (
|
|
2796
|
+
/* */
|
|
2797
|
+
0
|
|
2798
|
+
), Le = (
|
|
2799
|
+
/* */
|
|
2800
|
+
0
|
|
2801
|
+
), H = (
|
|
2802
|
+
/* */
|
|
2803
|
+
1
|
|
2804
|
+
), dr = (
|
|
2805
|
+
/* */
|
|
2806
|
+
2
|
|
2807
|
+
), bn = (
|
|
2808
|
+
/* */
|
|
2809
|
+
4
|
|
2810
|
+
), Ra = (
|
|
2811
|
+
/* */
|
|
2812
|
+
8
|
|
2813
|
+
), Pt = (
|
|
2814
|
+
/* */
|
|
2815
|
+
16
|
|
2816
|
+
), pi = (
|
|
2817
|
+
/* */
|
|
2818
|
+
32
|
|
2819
|
+
), vr = (
|
|
2820
|
+
/* */
|
|
2821
|
+
4194240
|
|
2822
|
+
), hi = (
|
|
2823
|
+
/* */
|
|
2824
|
+
64
|
|
2825
|
+
), $s = (
|
|
2826
|
+
/* */
|
|
2827
|
+
128
|
|
2828
|
+
), qs = (
|
|
2829
|
+
/* */
|
|
2830
|
+
256
|
|
2831
|
+
), Gs = (
|
|
2832
|
+
/* */
|
|
2833
|
+
512
|
|
2834
|
+
), Qs = (
|
|
2835
|
+
/* */
|
|
2836
|
+
1024
|
|
2837
|
+
), Xs = (
|
|
2838
|
+
/* */
|
|
2839
|
+
2048
|
|
2840
|
+
), Zs = (
|
|
2841
|
+
/* */
|
|
2842
|
+
4096
|
|
2843
|
+
), Js = (
|
|
2844
|
+
/* */
|
|
2845
|
+
8192
|
|
2846
|
+
), Ks = (
|
|
2847
|
+
/* */
|
|
2848
|
+
16384
|
|
2849
|
+
), Ws = (
|
|
2850
|
+
/* */
|
|
2851
|
+
32768
|
|
2852
|
+
), Is = (
|
|
2853
|
+
/* */
|
|
2854
|
+
65536
|
|
2855
|
+
), Ps = (
|
|
2856
|
+
/* */
|
|
2857
|
+
131072
|
|
2858
|
+
), ec = (
|
|
2859
|
+
/* */
|
|
2860
|
+
262144
|
|
2861
|
+
), tc = (
|
|
2862
|
+
/* */
|
|
2863
|
+
524288
|
|
2864
|
+
), nc = (
|
|
2865
|
+
/* */
|
|
2866
|
+
1048576
|
|
2867
|
+
), ac = (
|
|
2868
|
+
/* */
|
|
2869
|
+
2097152
|
|
2870
|
+
), Ju = (
|
|
2871
|
+
/* */
|
|
2872
|
+
130023424
|
|
2873
|
+
), pr = (
|
|
2874
|
+
/* */
|
|
2875
|
+
4194304
|
|
2876
|
+
), rc = (
|
|
2877
|
+
/* */
|
|
2878
|
+
8388608
|
|
2879
|
+
), ic = (
|
|
2880
|
+
/* */
|
|
2881
|
+
16777216
|
|
2882
|
+
), uc = (
|
|
2883
|
+
/* */
|
|
2884
|
+
33554432
|
|
2885
|
+
), lc = (
|
|
2886
|
+
/* */
|
|
2887
|
+
67108864
|
|
2888
|
+
), Jp = pr, mi = (
|
|
2889
|
+
/* */
|
|
2890
|
+
134217728
|
|
2891
|
+
), Kp = (
|
|
2892
|
+
/* */
|
|
2893
|
+
268435455
|
|
2894
|
+
), yi = (
|
|
2895
|
+
/* */
|
|
2896
|
+
268435456
|
|
2897
|
+
), Ta = (
|
|
2898
|
+
/* */
|
|
2899
|
+
536870912
|
|
2900
|
+
), yt = (
|
|
2901
|
+
/* */
|
|
2902
|
+
1073741824
|
|
2903
|
+
);
|
|
2605
2904
|
function qC(e) {
|
|
2606
2905
|
{
|
|
2607
2906
|
if (e & H)
|
|
@@ -2699,9 +2998,18 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2699
2998
|
}
|
|
2700
2999
|
if (a === C)
|
|
2701
3000
|
return C;
|
|
2702
|
-
if (t !== C && t !== a &&
|
|
3001
|
+
if (t !== C && t !== a && // If we already suspended with a delay, then interrupting is fine. Don't
|
|
3002
|
+
// bother waiting until the root is complete.
|
|
3003
|
+
(t & r) === C) {
|
|
2703
3004
|
var c = xa(a), v = xa(t);
|
|
2704
|
-
if (
|
|
3005
|
+
if (
|
|
3006
|
+
// Tests whether the next lane is equal or lower priority than the wip
|
|
3007
|
+
// one. This works because the bits decrease in priority as you go left.
|
|
3008
|
+
c >= v || // Default priority updates should not interrupt transition updates. The
|
|
3009
|
+
// only difference between default updates and transition updates is that
|
|
3010
|
+
// default updates do not support refresh transitions.
|
|
3011
|
+
c === Pt && (v & vr) !== C
|
|
3012
|
+
)
|
|
2705
3013
|
return t;
|
|
2706
3014
|
}
|
|
2707
3015
|
(a & bn) !== C && (a |= n & Pt);
|
|
@@ -2872,7 +3180,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2872
3180
|
function dc(e, t) {
|
|
2873
3181
|
for (var n = e.entangledLanes |= t, a = e.entanglements, r = n; r; ) {
|
|
2874
3182
|
var i = Da(r), u = 1 << i;
|
|
2875
|
-
|
|
3183
|
+
// Is this one of the newly entangled lanes?
|
|
3184
|
+
u & t | // Is this lane transitively entangled with the newly entangled lanes?
|
|
3185
|
+
a[i] & t && (a[i] |= t), r &= ~u;
|
|
2876
3186
|
}
|
|
2877
3187
|
}
|
|
2878
3188
|
function aE(e, t) {
|
|
@@ -2917,14 +3227,14 @@ Check the render method of \`` + e + "`." : "";
|
|
|
2917
3227
|
return (a & (e.suspendedLanes | t)) !== Le ? Le : a;
|
|
2918
3228
|
}
|
|
2919
3229
|
function nh(e, t, n) {
|
|
2920
|
-
if (
|
|
3230
|
+
if (kt)
|
|
2921
3231
|
for (var a = e.pendingUpdatersLaneMap; n > 0; ) {
|
|
2922
3232
|
var r = cc(n), i = 1 << r, u = a[r];
|
|
2923
3233
|
u.add(t), n &= ~i;
|
|
2924
3234
|
}
|
|
2925
3235
|
}
|
|
2926
3236
|
function ah(e, t) {
|
|
2927
|
-
if (
|
|
3237
|
+
if (kt)
|
|
2928
3238
|
for (var n = e.pendingUpdatersLaneMap, a = e.memoizedUpdaters; t > 0; ) {
|
|
2929
3239
|
var r = cc(t), i = 1 << r, u = n[r];
|
|
2930
3240
|
u.size > 0 && (u.forEach(function(l) {
|
|
@@ -3012,6 +3322,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3012
3322
|
"keyup",
|
|
3013
3323
|
"input",
|
|
3014
3324
|
"textInput",
|
|
3325
|
+
// Intentionally camelCase
|
|
3015
3326
|
"copy",
|
|
3016
3327
|
"cut",
|
|
3017
3328
|
"paste",
|
|
@@ -3224,7 +3535,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3224
3535
|
}
|
|
3225
3536
|
}
|
|
3226
3537
|
function yc(e, t, n, a) {
|
|
3227
|
-
|
|
3538
|
+
mc && RE(e, t, n, a);
|
|
3228
3539
|
}
|
|
3229
3540
|
function RE(e, t, n, a) {
|
|
3230
3541
|
var r = gc(e, t, n, a);
|
|
@@ -3423,7 +3734,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3423
3734
|
function t(n, a, r, i, u) {
|
|
3424
3735
|
this._reactName = n, this._targetInst = r, this.type = a, this.nativeEvent = i, this.target = u, this.currentTarget = null;
|
|
3425
3736
|
for (var l in e)
|
|
3426
|
-
if (
|
|
3737
|
+
if (e.hasOwnProperty(l)) {
|
|
3427
3738
|
var o = e[l];
|
|
3428
3739
|
o ? this[l] = o(i) : this[l] = i[l];
|
|
3429
3740
|
}
|
|
@@ -3434,14 +3745,24 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3434
3745
|
preventDefault: function() {
|
|
3435
3746
|
this.defaultPrevented = !0;
|
|
3436
3747
|
var n = this.nativeEvent;
|
|
3437
|
-
|
|
3748
|
+
n && (n.preventDefault ? n.preventDefault() : typeof n.returnValue != "unknown" && (n.returnValue = !1), this.isDefaultPrevented = ll);
|
|
3438
3749
|
},
|
|
3439
3750
|
stopPropagation: function() {
|
|
3440
3751
|
var n = this.nativeEvent;
|
|
3441
|
-
|
|
3752
|
+
n && (n.stopPropagation ? n.stopPropagation() : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), this.isPropagationStopped = ll);
|
|
3442
3753
|
},
|
|
3754
|
+
/**
|
|
3755
|
+
* We release all dispatched `SyntheticEvent`s after each event loop, adding
|
|
3756
|
+
* them back into the pool. This allows a way to hold onto a reference that
|
|
3757
|
+
* won't be added back into the pool.
|
|
3758
|
+
*/
|
|
3443
3759
|
persist: function() {
|
|
3444
3760
|
},
|
|
3761
|
+
/**
|
|
3762
|
+
* Checks if this event should be released back into the pool.
|
|
3763
|
+
*
|
|
3764
|
+
* @return {boolean} True if this should not be released, false otherwise.
|
|
3765
|
+
*/
|
|
3445
3766
|
isPersistent: ll
|
|
3446
3767
|
}), t;
|
|
3447
3768
|
}
|
|
@@ -3588,6 +3909,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3588
3909
|
repeat: 0,
|
|
3589
3910
|
locale: 0,
|
|
3590
3911
|
getModifierState: Tc,
|
|
3912
|
+
// Legacy Interface
|
|
3591
3913
|
charCode: function(e) {
|
|
3592
3914
|
return e.type === "keypress" ? ul(e) : 0;
|
|
3593
3915
|
},
|
|
@@ -3623,12 +3945,25 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3623
3945
|
pseudoElement: 0
|
|
3624
3946
|
}), IE = St(WE), PE = X({}, ol, {
|
|
3625
3947
|
deltaX: function(e) {
|
|
3626
|
-
return "deltaX" in e ? e.deltaX :
|
|
3948
|
+
return "deltaX" in e ? e.deltaX : (
|
|
3949
|
+
// Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
|
|
3950
|
+
"wheelDeltaX" in e ? -e.wheelDeltaX : 0
|
|
3951
|
+
);
|
|
3627
3952
|
},
|
|
3628
3953
|
deltaY: function(e) {
|
|
3629
|
-
return "deltaY" in e ? e.deltaY :
|
|
3954
|
+
return "deltaY" in e ? e.deltaY : (
|
|
3955
|
+
// Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
|
|
3956
|
+
"wheelDeltaY" in e ? -e.wheelDeltaY : (
|
|
3957
|
+
// Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
|
|
3958
|
+
"wheelDelta" in e ? -e.wheelDelta : 0
|
|
3959
|
+
)
|
|
3960
|
+
);
|
|
3630
3961
|
},
|
|
3631
3962
|
deltaZ: 0,
|
|
3963
|
+
// Browsers without "deltaMode" is reporting in raw wheel delta where one
|
|
3964
|
+
// notch on the scroll is always +/- 120, roughly equivalent to pixels.
|
|
3965
|
+
// A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
|
|
3966
|
+
// ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
|
|
3632
3967
|
deltaMode: 0
|
|
3633
3968
|
}), eR = St(PE), tR = [9, 13, 27, 32], Ch = 229, xc = _t && "CompositionEvent" in window, wi = null;
|
|
3634
3969
|
_t && "documentMode" in document && (wi = document.documentMode);
|
|
@@ -3638,7 +3973,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3638
3973
|
}
|
|
3639
3974
|
var xh = !1;
|
|
3640
3975
|
function rR(e) {
|
|
3641
|
-
return (e.ctrlKey || e.altKey || e.metaKey) &&
|
|
3976
|
+
return (e.ctrlKey || e.altKey || e.metaKey) && // ctrlKey && altKey is equivalent to AltGr, and is not a command.
|
|
3977
|
+
!(e.ctrlKey && e.altKey);
|
|
3642
3978
|
}
|
|
3643
3979
|
function iR(e) {
|
|
3644
3980
|
switch (e) {
|
|
@@ -3834,7 +4170,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3834
4170
|
Ai = e, zi = t, Ai.attachEvent("onpropertychange", zh);
|
|
3835
4171
|
}
|
|
3836
4172
|
function Ah() {
|
|
3837
|
-
|
|
4173
|
+
Ai && (Ai.detachEvent("onpropertychange", zh), Ai = null, zi = null);
|
|
3838
4174
|
}
|
|
3839
4175
|
function zh(e) {
|
|
3840
4176
|
e.propertyName === "value" && sl(zi) && mR(e);
|
|
@@ -3992,7 +4328,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
3992
4328
|
}
|
|
3993
4329
|
function zR(e, t) {
|
|
3994
4330
|
var n = e.ownerDocument || document, a = n && n.defaultView || window;
|
|
3995
|
-
if (
|
|
4331
|
+
if (a.getSelection) {
|
|
3996
4332
|
var r = a.getSelection(), i = e.textContent.length, u = Math.min(t.start, i), l = t.end === void 0 ? u : Math.min(t.end, i);
|
|
3997
4333
|
if (!r.extend && u > l) {
|
|
3998
4334
|
var o = l;
|
|
@@ -4255,7 +4591,11 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4255
4591
|
}
|
|
4256
4592
|
var c = (i & ui) !== 0;
|
|
4257
4593
|
{
|
|
4258
|
-
var v = !c &&
|
|
4594
|
+
var v = !c && // TODO: ideally, we'd eventually add all events from
|
|
4595
|
+
// nonDelegatedEvents list in DOMPluginEventSystem.
|
|
4596
|
+
// Then we can remove this special list.
|
|
4597
|
+
// This is a breaking change that can wait until React 18.
|
|
4598
|
+
t === "scroll", d = KR(n, l, a.type, c, v);
|
|
4259
4599
|
if (d.length > 0) {
|
|
4260
4600
|
var m = new o(l, s, null, a, r);
|
|
4261
4601
|
e.push({
|
|
@@ -4334,7 +4674,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4334
4674
|
}
|
|
4335
4675
|
function Ac(e, t, n, a, r) {
|
|
4336
4676
|
var i = a;
|
|
4337
|
-
if ((t & xp)
|
|
4677
|
+
if (!(t & xp) && !(t & Ts)) {
|
|
4338
4678
|
var u = r;
|
|
4339
4679
|
if (a !== null) {
|
|
4340
4680
|
var l = a;
|
|
@@ -4465,7 +4805,13 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4465
4805
|
}
|
|
4466
4806
|
var st = !1, Vi = "dangerouslySetInnerHTML", pl = "suppressContentEditableWarning", Gn = "suppressHydrationWarning", Ih = "autoFocus", Ma = "children", Oa = "style", hl = "__html", zc, ml, Bi, Ph, yl, em, tm;
|
|
4467
4807
|
zc = {
|
|
4808
|
+
// There are working polyfills for <dialog>. Let people use it.
|
|
4468
4809
|
dialog: !0,
|
|
4810
|
+
// Electron ships a custom <webview> tag to display external web content in
|
|
4811
|
+
// an isolated frame and process.
|
|
4812
|
+
// This tag is not present in non Electron environments such as JSDom which
|
|
4813
|
+
// is often used for testing purposes.
|
|
4814
|
+
// @see https://electronjs.org/docs/api/webview-tag
|
|
4469
4815
|
webview: !0
|
|
4470
4816
|
}, ml = function(e, t) {
|
|
4471
4817
|
_S(e, t), HS(e, t), jS(e, t, {
|
|
@@ -4513,7 +4859,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4513
4859
|
}
|
|
4514
4860
|
function aT(e, t, n, a, r) {
|
|
4515
4861
|
for (var i in a)
|
|
4516
|
-
if (
|
|
4862
|
+
if (a.hasOwnProperty(i)) {
|
|
4517
4863
|
var u = a[i];
|
|
4518
4864
|
if (i === Oa)
|
|
4519
4865
|
u && Object.freeze(u), bp(t, u);
|
|
@@ -4748,16 +5094,19 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4748
5094
|
}
|
|
4749
5095
|
var m = null;
|
|
4750
5096
|
for (var y in n)
|
|
4751
|
-
if (
|
|
5097
|
+
if (n.hasOwnProperty(y)) {
|
|
4752
5098
|
var g = n[y];
|
|
4753
5099
|
if (y === Ma)
|
|
4754
5100
|
typeof g == "string" ? e.textContent !== g && (n[Gn] !== !0 && bl(e.textContent, g, i, u), m = [Ma, g]) : typeof g == "number" && e.textContent !== "" + g && (n[Gn] !== !0 && bl(e.textContent, g, i, u), m = [Ma, "" + g]);
|
|
4755
5101
|
else if (sa.hasOwnProperty(y))
|
|
4756
5102
|
g != null && (typeof g != "function" && yl(y, g), y === "onScroll" && fe("scroll", e));
|
|
4757
|
-
else if (u &&
|
|
5103
|
+
else if (u && // Convince Flow we've calculated it (it's DEV-only in this method.)
|
|
5104
|
+
typeof l == "boolean") {
|
|
4758
5105
|
var M = void 0, w = l && Go ? null : Ko(y);
|
|
4759
5106
|
if (n[Gn] !== !0) {
|
|
4760
|
-
if (!(y === pl || y === Gn ||
|
|
5107
|
+
if (!(y === pl || y === Gn || // Controlled attributes are not validated
|
|
5108
|
+
// TODO: Only ignore them on controlled tags.
|
|
5109
|
+
y === "value" || y === "checked" || y === "selected")) {
|
|
4761
5110
|
if (y === Vi) {
|
|
4762
5111
|
var L = e.innerHTML, Q = g ? g[hl] : void 0;
|
|
4763
5112
|
if (Q != null) {
|
|
@@ -4792,7 +5141,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4792
5141
|
}
|
|
4793
5142
|
}
|
|
4794
5143
|
}
|
|
4795
|
-
switch (u &&
|
|
5144
|
+
switch (u && // $FlowFixMe - Should be inferred as not undefined.
|
|
5145
|
+
o.size > 0 && n[Gn] !== !0 && Ph(o), t) {
|
|
4796
5146
|
case "input":
|
|
4797
5147
|
Vu(e), np(e, n, !0);
|
|
4798
5148
|
break;
|
|
@@ -4867,6 +5217,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
4867
5217
|
"marquee",
|
|
4868
5218
|
"object",
|
|
4869
5219
|
"template",
|
|
5220
|
+
// https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
|
|
5221
|
+
// TODO: Distinguish by namespace here -- for <title>, including it here
|
|
5222
|
+
// errs on the side of fewer warnings
|
|
4870
5223
|
"foreignObject",
|
|
4871
5224
|
"desc",
|
|
4872
5225
|
"title"
|
|
@@ -5000,7 +5353,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5000
5353
|
var a = n.current, r = a && a.tag;
|
|
5001
5354
|
t != null && (e != null && f("validateDOMNesting: when childText is passed, childTag should be null"), e = "#text");
|
|
5002
5355
|
var i = yT(e, r) ? null : a, u = i ? null : gT(e, n), l = i || u;
|
|
5003
|
-
if (
|
|
5356
|
+
if (l) {
|
|
5004
5357
|
var o = l.tag, s = !!i + "|" + e + "|" + o;
|
|
5005
5358
|
if (!im[s]) {
|
|
5006
5359
|
im[s] = !0;
|
|
@@ -5698,6 +6051,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5698
6051
|
e.memoizedProps,
|
|
5699
6052
|
e.stateNode,
|
|
5700
6053
|
t,
|
|
6054
|
+
// TODO: Delete this argument when we remove the legacy root API.
|
|
5701
6055
|
n
|
|
5702
6056
|
);
|
|
5703
6057
|
break;
|
|
@@ -5746,6 +6100,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5746
6100
|
l,
|
|
5747
6101
|
o,
|
|
5748
6102
|
s,
|
|
6103
|
+
// TODO: Delete this argument when we remove the legacy root API.
|
|
5749
6104
|
c
|
|
5750
6105
|
);
|
|
5751
6106
|
break;
|
|
@@ -5757,6 +6112,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5757
6112
|
u,
|
|
5758
6113
|
l,
|
|
5759
6114
|
v,
|
|
6115
|
+
// TODO: Delete this argument when we remove the legacy root API.
|
|
5760
6116
|
d
|
|
5761
6117
|
);
|
|
5762
6118
|
break;
|
|
@@ -5824,7 +6180,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5824
6180
|
throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
|
|
5825
6181
|
}
|
|
5826
6182
|
function uf(e) {
|
|
5827
|
-
if (
|
|
6183
|
+
if (Bt) {
|
|
5828
6184
|
var t = Ot;
|
|
5829
6185
|
if (!t) {
|
|
5830
6186
|
af(e) && (nf(Ne, e), rf()), Rm(Ne, e), Bt = !1, Ne = e;
|
|
@@ -5858,6 +6214,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5858
6214
|
i,
|
|
5859
6215
|
t,
|
|
5860
6216
|
n,
|
|
6217
|
+
// TODO: Delete this argument when we remove the legacy root API.
|
|
5861
6218
|
u
|
|
5862
6219
|
);
|
|
5863
6220
|
break;
|
|
@@ -5870,6 +6227,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5870
6227
|
s,
|
|
5871
6228
|
t,
|
|
5872
6229
|
n,
|
|
6230
|
+
// TODO: Delete this argument when we remove the legacy root API.
|
|
5873
6231
|
c
|
|
5874
6232
|
);
|
|
5875
6233
|
break;
|
|
@@ -5958,7 +6316,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
5958
6316
|
}), t.sort().join(", ");
|
|
5959
6317
|
}, Ji = [], Ki = [], Wi = [], Ii = [], Pi = [], eu = [], _a = /* @__PURE__ */ new Set();
|
|
5960
6318
|
jt.recordUnsafeLifecycleWarnings = function(e, t) {
|
|
5961
|
-
_a.has(e.type) || (typeof t.componentWillMount == "function" &&
|
|
6319
|
+
_a.has(e.type) || (typeof t.componentWillMount == "function" && // Don't warn about react-lifecycles-compat polyfilled components.
|
|
6320
|
+
t.componentWillMount.__suppressDeprecationWarning !== !0 && Ji.push(e), e.mode & ge && typeof t.UNSAFE_componentWillMount == "function" && Ki.push(e), typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps.__suppressDeprecationWarning !== !0 && Wi.push(e), e.mode & ge && typeof t.UNSAFE_componentWillReceiveProps == "function" && Ii.push(e), typeof t.componentWillUpdate == "function" && t.componentWillUpdate.__suppressDeprecationWarning !== !0 && Pi.push(e), e.mode & ge && typeof t.UNSAFE_componentWillUpdate == "function" && eu.push(e));
|
|
5962
6321
|
}, jt.flushPendingUnsafeLifecycleWarnings = function() {
|
|
5963
6322
|
var e = /* @__PURE__ */ new Set();
|
|
5964
6323
|
Ji.length > 0 && (Ji.forEach(function(d) {
|
|
@@ -6412,6 +6771,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, r)
|
|
|
6412
6771
|
if (w !== null) {
|
|
6413
6772
|
var b = {
|
|
6414
6773
|
eventTime: Y,
|
|
6774
|
+
// This update is going to be committed so we never want uncommit
|
|
6775
|
+
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
6776
|
+
// this will never be skipped by the check above.
|
|
6415
6777
|
lane: Le,
|
|
6416
6778
|
tag: L.tag,
|
|
6417
6779
|
payload: L.payload,
|
|
@@ -6422,7 +6784,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, r)
|
|
|
6422
6784
|
}
|
|
6423
6785
|
m = Px(e, r, L, m, t, n);
|
|
6424
6786
|
var h = L.callback;
|
|
6425
|
-
if (h !== null &&
|
|
6787
|
+
if (h !== null && // If the update was already committed, we should not queue its
|
|
6788
|
+
// callback again.
|
|
6789
|
+
L.lane !== Le) {
|
|
6426
6790
|
e.flags |= zs;
|
|
6427
6791
|
var E = r.effects;
|
|
6428
6792
|
E === null ? r.effects = [L] : E.push(L);
|
|
@@ -6574,7 +6938,10 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, r)
|
|
|
6574
6938
|
function $m(e, t, n) {
|
|
6575
6939
|
var a = !1, r = Et, i = Et, u = t.contextType;
|
|
6576
6940
|
if ("contextType" in t) {
|
|
6577
|
-
var l =
|
|
6941
|
+
var l = (
|
|
6942
|
+
// Allow null for conditional declaration
|
|
6943
|
+
u === null || u !== void 0 && u.$$typeof === as && u._context === void 0
|
|
6944
|
+
);
|
|
6578
6945
|
if (!l && !Df.has(t)) {
|
|
6579
6946
|
Df.add(t);
|
|
6580
6947
|
var o = "";
|
|
@@ -6715,7 +7082,11 @@ https://reactjs.org/link/unsafe-component-lifecycles`, M, w, m !== null ? `
|
|
|
6715
7082
|
if (Ql(t, a, i, r), M = t.memoizedState, u === o && g === M && !Ul() && !Xl() && !gv)
|
|
6716
7083
|
return typeof i.componentDidUpdate == "function" && (u !== e.memoizedProps || g !== e.memoizedState) && (t.flags |= Z), typeof i.getSnapshotBeforeUpdate == "function" && (u !== e.memoizedProps || g !== e.memoizedState) && (t.flags |= ga), !1;
|
|
6717
7084
|
typeof m == "function" && (Mf(t, n, m, a), M = t.memoizedState);
|
|
6718
|
-
var w = Xl() || jm(t, n, l, a, g, M, v) ||
|
|
7085
|
+
var w = Xl() || jm(t, n, l, a, g, M, v) || // TODO: In some cases, we'll end up checking if context has changed twice,
|
|
7086
|
+
// both before and after `shouldComponentUpdate` has been called. Not ideal,
|
|
7087
|
+
// but I'm loath to refactor this function. This only happens for memoized
|
|
7088
|
+
// components so it's not that common.
|
|
7089
|
+
gv;
|
|
6719
7090
|
return w ? (!y && (typeof i.UNSAFE_componentWillUpdate == "function" || typeof i.componentWillUpdate == "function") && (typeof i.componentWillUpdate == "function" && i.componentWillUpdate(a, M, v), typeof i.UNSAFE_componentWillUpdate == "function" && i.UNSAFE_componentWillUpdate(a, M, v)), typeof i.componentDidUpdate == "function" && (t.flags |= Z), typeof i.getSnapshotBeforeUpdate == "function" && (t.flags |= ga)) : (typeof i.componentDidUpdate == "function" && (u !== e.memoizedProps || g !== e.memoizedState) && (t.flags |= Z), typeof i.getSnapshotBeforeUpdate == "function" && (u !== e.memoizedProps || g !== e.memoizedState) && (t.flags |= ga), t.memoizedProps = a, t.memoizedState = M), i.props = a, i.state = M, i.context = v, w;
|
|
6720
7091
|
}
|
|
6721
7092
|
var Lf, wf, Af, zf, Nf, Gm = function(e, t) {
|
|
@@ -6732,7 +7103,10 @@ https://reactjs.org/link/unsafe-component-lifecycles`, M, w, m !== null ? `
|
|
|
6732
7103
|
function tu(e, t, n) {
|
|
6733
7104
|
var a = n.ref;
|
|
6734
7105
|
if (a !== null && typeof a != "function" && typeof a != "object") {
|
|
6735
|
-
if ((e.mode & ge || Cb) &&
|
|
7106
|
+
if ((e.mode & ge || Cb) && // We warn in ReactElement.js if owner and self are equal for string refs
|
|
7107
|
+
// because these cannot be automatically converted to an arrow function
|
|
7108
|
+
// using a codemod. Therefore, we don't have to warn about string refs again.
|
|
7109
|
+
!(n._owner && n._self && n._owner.stateNode !== n._self)) {
|
|
6736
7110
|
var r = V(e) || "Component";
|
|
6737
7111
|
Af[r] || (f('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', a), Af[r] = !0);
|
|
6738
7112
|
}
|
|
@@ -6787,7 +7161,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
6787
7161
|
}
|
|
6788
7162
|
function Xm(e) {
|
|
6789
7163
|
function t(p, b) {
|
|
6790
|
-
if (
|
|
7164
|
+
if (e) {
|
|
6791
7165
|
var h = p.deletions;
|
|
6792
7166
|
h === null ? (p.deletions = [b], p.flags |= ya) : h.push(b);
|
|
6793
7167
|
}
|
|
@@ -6834,7 +7208,12 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
6834
7208
|
var O = h.type;
|
|
6835
7209
|
if (O === Pa)
|
|
6836
7210
|
return c(p, b, h.props.children, E, h.key);
|
|
6837
|
-
if (b !== null && (b.elementType === O ||
|
|
7211
|
+
if (b !== null && (b.elementType === O || // Keep this check inline so it only runs on the false path:
|
|
7212
|
+
kg(b, h) || // Lazy types should reconcile their resolved type.
|
|
7213
|
+
// We need to do this after the Hot Reloading check above,
|
|
7214
|
+
// because hot reloading has different semantics than prod because
|
|
7215
|
+
// it doesn't resuspend. So we can't let the call below suspend.
|
|
7216
|
+
typeof O == "object" && O !== null && O.$$typeof === We && Qm(O) === b.type)) {
|
|
6838
7217
|
var T = r(b, h.props);
|
|
6839
7218
|
return T.ref = tu(p, b, h), T.return = p, T._debugSource = h._source, T._debugOwner = h._owner, T;
|
|
6840
7219
|
}
|
|
@@ -6954,7 +7333,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
6954
7333
|
b.add(E);
|
|
6955
7334
|
break;
|
|
6956
7335
|
}
|
|
6957
|
-
f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted
|
|
7336
|
+
f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", E);
|
|
6958
7337
|
break;
|
|
6959
7338
|
case We:
|
|
6960
7339
|
var O = p._payload, T = p._init;
|
|
@@ -7013,7 +7392,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
7013
7392
|
if (typeof O != "function")
|
|
7014
7393
|
throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
|
|
7015
7394
|
{
|
|
7016
|
-
typeof Symbol == "function" &&
|
|
7395
|
+
typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
|
|
7396
|
+
h[Symbol.toStringTag] === "Generator" && (wf || f("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."), wf = !0), h.entries === O && (Lf || f("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Lf = !0);
|
|
7017
7397
|
var T = O.call(h);
|
|
7018
7398
|
if (T)
|
|
7019
7399
|
for (var N = null, F = T.next(); !F.done; F = T.next()) {
|
|
@@ -7083,7 +7463,12 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
7083
7463
|
var F = r(T, h.props.children);
|
|
7084
7464
|
return F.return = p, F._debugSource = h._source, F._debugOwner = h._owner, F;
|
|
7085
7465
|
}
|
|
7086
|
-
} else if (T.elementType === N ||
|
|
7466
|
+
} else if (T.elementType === N || // Keep this check inline so it only runs on the false path:
|
|
7467
|
+
kg(T, h) || // Lazy types should reconcile their resolved type.
|
|
7468
|
+
// We need to do this after the Hot Reloading check above,
|
|
7469
|
+
// because hot reloading has different semantics than prod because
|
|
7470
|
+
// it doesn't resuspend. So we can't let the call below suspend.
|
|
7471
|
+
typeof N == "object" && N !== null && N.$$typeof === We && Qm(N) === T.type) {
|
|
7087
7472
|
n(p, T.sibling);
|
|
7088
7473
|
var te = r(T, h.props);
|
|
7089
7474
|
return te.ref = tu(p, T, h), te.return = p, te._debugSource = h._source, te._debugOwner = h._owner, te;
|
|
@@ -7219,7 +7604,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
7219
7604
|
if (a === null || om(a) || qc(a))
|
|
7220
7605
|
return t;
|
|
7221
7606
|
}
|
|
7222
|
-
} else if (t.tag === ht &&
|
|
7607
|
+
} else if (t.tag === ht && // revealOrder undefined can't be trusted because it don't
|
|
7608
|
+
// keep track of whether it suspended or not.
|
|
7609
|
+
t.memoizedProps.revealOrder !== void 0) {
|
|
7223
7610
|
var r = (t.flags & W) !== A;
|
|
7224
7611
|
if (r)
|
|
7225
7612
|
return t;
|
|
@@ -7238,7 +7625,22 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
7238
7625
|
}
|
|
7239
7626
|
return null;
|
|
7240
7627
|
}
|
|
7241
|
-
var ft =
|
|
7628
|
+
var ft = (
|
|
7629
|
+
/* */
|
|
7630
|
+
0
|
|
7631
|
+
), Se = (
|
|
7632
|
+
/* */
|
|
7633
|
+
1
|
|
7634
|
+
), nn = (
|
|
7635
|
+
/* */
|
|
7636
|
+
2
|
|
7637
|
+
), Ce = (
|
|
7638
|
+
/* */
|
|
7639
|
+
4
|
|
7640
|
+
), He = (
|
|
7641
|
+
/* */
|
|
7642
|
+
8
|
|
7643
|
+
), Bf = [];
|
|
7242
7644
|
function jf() {
|
|
7243
7645
|
for (var e = 0; e < Bf.length; e++) {
|
|
7244
7646
|
var t = Bf[e];
|
|
@@ -7321,7 +7723,12 @@ Incoming: %s`, S, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
7321
7723
|
}
|
|
7322
7724
|
D.current = po, t._debugHookTypes = Ut;
|
|
7323
7725
|
var o = Ee !== null && Ee.next !== null;
|
|
7324
|
-
if (ka = C, ee = null, Ee = null, Re = null, S = null, Ut = null, ea = -1, e !== null && (e.flags & gn) !== (t.flags & gn) &&
|
|
7726
|
+
if (ka = C, ee = null, Ee = null, Re = null, S = null, Ut = null, ea = -1, e !== null && (e.flags & gn) !== (t.flags & gn) && // Disable this warning in legacy mode, because legacy Suspense is weird
|
|
7727
|
+
// and creates false positives. To make this work in legacy mode, we'd
|
|
7728
|
+
// need to mark fibers that commit in an incomplete state, somehow. For
|
|
7729
|
+
// now I'll disable the warning that most of the bugs that would trigger
|
|
7730
|
+
// it are either exclusive to concurrent mode or exist in both.
|
|
7731
|
+
(e.mode & q) !== z && f("Internal React error: Expected static flag was missing. Please notify the React team."), eo = !1, o)
|
|
7325
7732
|
throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
|
|
7326
7733
|
return u;
|
|
7327
7734
|
}
|
|
@@ -7421,6 +7828,9 @@ Incoming: %s`, S, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
7421
7828
|
if (hr(ka, M)) {
|
|
7422
7829
|
if (y !== null) {
|
|
7423
7830
|
var L = {
|
|
7831
|
+
// This update is going to be committed so we never want uncommit
|
|
7832
|
+
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
7833
|
+
// this will never be skipped by the check above.
|
|
7424
7834
|
lane: Le,
|
|
7425
7835
|
action: g.action,
|
|
7426
7836
|
hasEagerState: g.hasEagerState,
|
|
@@ -7514,7 +7924,9 @@ Incoming: %s`, S, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
7514
7924
|
var l = r.memoizedState, o = !Ct(l, i);
|
|
7515
7925
|
o && (r.memoizedState = i, pu());
|
|
7516
7926
|
var s = r.queue;
|
|
7517
|
-
if (cu(ry.bind(null, a, s, e), [e]), s.getSnapshot !== t || o ||
|
|
7927
|
+
if (cu(ry.bind(null, a, s, e), [e]), s.getSnapshot !== t || o || // Check if the susbcribe function changed. We can save some memory by
|
|
7928
|
+
// checking whether we scheduled a subscription effect above.
|
|
7929
|
+
Re !== null && Re.memoizedState.tag & Se) {
|
|
7518
7930
|
a.flags |= Ht, ou(Se | He, ay.bind(null, a, s, i, t), void 0, null);
|
|
7519
7931
|
var c = Ao();
|
|
7520
7932
|
if (c === null)
|
|
@@ -7585,6 +7997,7 @@ Incoming: %s`, S, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
7585
7997
|
create: t,
|
|
7586
7998
|
destroy: n,
|
|
7587
7999
|
deps: a,
|
|
8000
|
+
// Circular
|
|
7588
8001
|
next: null
|
|
7589
8002
|
}, i = ee.updateQueue;
|
|
7590
8003
|
if (i === null)
|
|
@@ -8685,6 +9098,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8685
9098
|
i && Vt(
|
|
8686
9099
|
i,
|
|
8687
9100
|
a,
|
|
9101
|
+
// Resolved props
|
|
8688
9102
|
"prop",
|
|
8689
9103
|
le(n)
|
|
8690
9104
|
);
|
|
@@ -8707,7 +9121,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8707
9121
|
function Ay(e, t, n, a, r) {
|
|
8708
9122
|
if (e === null) {
|
|
8709
9123
|
var i = n.type;
|
|
8710
|
-
if (z0(i) && n.compare === null &&
|
|
9124
|
+
if (z0(i) && n.compare === null && // SimpleMemoComponent codepath doesn't resolve outer props either.
|
|
9125
|
+
n.defaultProps === void 0) {
|
|
8711
9126
|
var u = i;
|
|
8712
9127
|
return u = Xr(i), t.tag = ue, t.type = u, Rd(t, i), zy(e, t, u, a, r);
|
|
8713
9128
|
}
|
|
@@ -8716,6 +9131,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8716
9131
|
l && Vt(
|
|
8717
9132
|
l,
|
|
8718
9133
|
a,
|
|
9134
|
+
// Resolved props
|
|
8719
9135
|
"prop",
|
|
8720
9136
|
le(i)
|
|
8721
9137
|
);
|
|
@@ -8728,6 +9144,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8728
9144
|
c && Vt(
|
|
8729
9145
|
c,
|
|
8730
9146
|
a,
|
|
9147
|
+
// Resolved props
|
|
8731
9148
|
"prop",
|
|
8732
9149
|
le(s)
|
|
8733
9150
|
);
|
|
@@ -8756,6 +9173,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8756
9173
|
s && Vt(
|
|
8757
9174
|
s,
|
|
8758
9175
|
a,
|
|
9176
|
+
// Resolved (SimpleMemoComponent has no defaultProps)
|
|
8759
9177
|
"prop",
|
|
8760
9178
|
le(i)
|
|
8761
9179
|
);
|
|
@@ -8763,7 +9181,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8763
9181
|
}
|
|
8764
9182
|
if (e !== null) {
|
|
8765
9183
|
var c = e.memoizedProps;
|
|
8766
|
-
if (Ni(c, a) && e.ref === t.ref &&
|
|
9184
|
+
if (Ni(c, a) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
|
|
9185
|
+
t.type === e.type)
|
|
8767
9186
|
if (Gt = !1, t.pendingProps = a = c, Ud(e, r))
|
|
8768
9187
|
(e.flags & Ns) !== A && (Gt = !0);
|
|
8769
9188
|
else
|
|
@@ -8840,6 +9259,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8840
9259
|
i && Vt(
|
|
8841
9260
|
i,
|
|
8842
9261
|
a,
|
|
9262
|
+
// Resolved props
|
|
8843
9263
|
"prop",
|
|
8844
9264
|
le(n)
|
|
8845
9265
|
);
|
|
@@ -8886,6 +9306,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8886
9306
|
d && Vt(
|
|
8887
9307
|
d,
|
|
8888
9308
|
a,
|
|
9309
|
+
// Resolved props
|
|
8889
9310
|
"prop",
|
|
8890
9311
|
le(n)
|
|
8891
9312
|
);
|
|
@@ -8998,6 +9419,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
8998
9419
|
d && Vt(
|
|
8999
9420
|
d,
|
|
9000
9421
|
c,
|
|
9422
|
+
// Resolved for outer only
|
|
9001
9423
|
"prop",
|
|
9002
9424
|
le(o)
|
|
9003
9425
|
);
|
|
@@ -9007,6 +9429,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
9007
9429
|
t,
|
|
9008
9430
|
o,
|
|
9009
9431
|
Yt(o.type, c),
|
|
9432
|
+
// The inner type can have defaults too
|
|
9010
9433
|
a
|
|
9011
9434
|
), v;
|
|
9012
9435
|
}
|
|
@@ -9040,7 +9463,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
9040
9463
|
var c = le(n) || "Unknown";
|
|
9041
9464
|
vu[c] || (f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", c, c, c), vu[c] = !0);
|
|
9042
9465
|
}
|
|
9043
|
-
if (
|
|
9466
|
+
if (
|
|
9467
|
+
// Run these checks in production only if the flag is off.
|
|
9468
|
+
// Eventually we'll delete this branch altogether.
|
|
9469
|
+
typeof l == "object" && l !== null && typeof l.render == "function" && l.$$typeof === void 0
|
|
9470
|
+
) {
|
|
9044
9471
|
{
|
|
9045
9472
|
var v = le(n) || "Unknown";
|
|
9046
9473
|
vu[v] || (f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", v, v, v), vu[v] = !0);
|
|
@@ -9181,7 +9608,17 @@ Check the render method of \`` + a + "`.");
|
|
|
9181
9608
|
mode: "hidden",
|
|
9182
9609
|
children: n
|
|
9183
9610
|
}, s;
|
|
9184
|
-
if (
|
|
9611
|
+
if (
|
|
9612
|
+
// In legacy mode, we commit the primary tree as if it successfully
|
|
9613
|
+
// completed, even though it's in an inconsistent state.
|
|
9614
|
+
(i & q) === z && // Make sure we're on the second pass, i.e. the primary child fragment was
|
|
9615
|
+
// already cloned. In legacy mode, the only case where this isn't true is
|
|
9616
|
+
// when DevTools forces us to display a fallback; we skip the first render
|
|
9617
|
+
// pass entirely and go straight to rendering the fallback. (In Concurrent
|
|
9618
|
+
// Mode, SuspenseList can also trigger this scenario, but this is a legacy-
|
|
9619
|
+
// only codepath.)
|
|
9620
|
+
t.child !== u
|
|
9621
|
+
) {
|
|
9185
9622
|
var c = t.child;
|
|
9186
9623
|
s = c, s.childLanes = C, s.pendingProps = o, t.mode & P && (s.actualDuration = 0, s.actualStartTime = -1, s.selfBaseDuration = u.selfBaseDuration, s.treeBaseDuration = u.treeBaseDuration), t.deletions = null;
|
|
9187
9624
|
} else
|
|
@@ -9222,6 +9659,9 @@ Check the render method of \`` + a + "`.");
|
|
|
9222
9659
|
e,
|
|
9223
9660
|
t,
|
|
9224
9661
|
u,
|
|
9662
|
+
// TODO: When we delete legacy mode, we should make this error argument
|
|
9663
|
+
// required — every concurrent mode path that causes hydration to
|
|
9664
|
+
// de-opt to client rendering should have an error message.
|
|
9225
9665
|
null
|
|
9226
9666
|
);
|
|
9227
9667
|
if (qc(r)) {
|
|
@@ -9378,6 +9818,7 @@ Check the render method of \`` + a + "`.");
|
|
|
9378
9818
|
c === null ? (v = t.child, t.child = null) : (v = c.sibling, c.sibling = null), Od(
|
|
9379
9819
|
t,
|
|
9380
9820
|
!1,
|
|
9821
|
+
// isBackwards
|
|
9381
9822
|
v,
|
|
9382
9823
|
c,
|
|
9383
9824
|
i
|
|
@@ -9398,8 +9839,10 @@ Check the render method of \`` + a + "`.");
|
|
|
9398
9839
|
Od(
|
|
9399
9840
|
t,
|
|
9400
9841
|
!0,
|
|
9842
|
+
// isBackwards
|
|
9401
9843
|
d,
|
|
9402
9844
|
null,
|
|
9845
|
+
// last
|
|
9403
9846
|
i
|
|
9404
9847
|
);
|
|
9405
9848
|
break;
|
|
@@ -9408,8 +9851,11 @@ Check the render method of \`` + a + "`.");
|
|
|
9408
9851
|
Od(
|
|
9409
9852
|
t,
|
|
9410
9853
|
!1,
|
|
9854
|
+
// isBackwards
|
|
9411
9855
|
null,
|
|
9856
|
+
// tail
|
|
9412
9857
|
null,
|
|
9858
|
+
// last
|
|
9413
9859
|
void 0
|
|
9414
9860
|
);
|
|
9415
9861
|
break;
|
|
@@ -9556,11 +10002,14 @@ Check the render method of \`` + a + "`.");
|
|
|
9556
10002
|
return tM(e, t, iv(t.type, t.key, t.pendingProps, t._debugOwner || null, t.mode, t.lanes));
|
|
9557
10003
|
if (e !== null) {
|
|
9558
10004
|
var a = e.memoizedProps, r = t.pendingProps;
|
|
9559
|
-
if (a !== r || Ul() ||
|
|
10005
|
+
if (a !== r || Ul() || // Force a re-render if the implementation changed due to hot reload:
|
|
10006
|
+
t.type !== e.type)
|
|
9560
10007
|
Gt = !0;
|
|
9561
10008
|
else {
|
|
9562
10009
|
var i = Ud(e, n);
|
|
9563
|
-
if (!i &&
|
|
10010
|
+
if (!i && // If this is the second pass of an error or suspense boundary, there
|
|
10011
|
+
// may not be work scheduled on `current`, so we check for this flag.
|
|
10012
|
+
(t.flags & W) === A)
|
|
9564
10013
|
return Gt = !1, nM(e, t, n);
|
|
9565
10014
|
(e.flags & Ns) !== A ? Gt = !0 : Gt = !1;
|
|
9566
10015
|
}
|
|
@@ -9614,6 +10063,7 @@ Check the render method of \`` + a + "`.");
|
|
|
9614
10063
|
p && Vt(
|
|
9615
10064
|
p,
|
|
9616
10065
|
Y,
|
|
10066
|
+
// Resolved for outer only
|
|
9617
10067
|
"prop",
|
|
9618
10068
|
le(L)
|
|
9619
10069
|
);
|
|
@@ -9766,7 +10216,9 @@ Check the render method of \`` + a + "`.");
|
|
|
9766
10216
|
Br(t);
|
|
9767
10217
|
else if (e !== null) {
|
|
9768
10218
|
var l = e.memoizedState;
|
|
9769
|
-
|
|
10219
|
+
// Check if this is a client root
|
|
10220
|
+
(!l.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
|
|
10221
|
+
(t.flags & hn) !== A) && (t.flags |= ga, Mm());
|
|
9770
10222
|
}
|
|
9771
10223
|
}
|
|
9772
10224
|
return Ld(e, t), ke(t), null;
|
|
@@ -9872,6 +10324,9 @@ Check the render method of \`` + a + "`.");
|
|
|
9872
10324
|
if (Tt !== null && (t.updateQueue = Tt, t.flags |= Z), hu(F, !0), F.tail === null && F.tailMode === "hidden" && !J.alternate && !_e())
|
|
9873
10325
|
return ke(t), null;
|
|
9874
10326
|
} else
|
|
10327
|
+
// The time it took to render last row is greater than the remaining
|
|
10328
|
+
// time we have to render. So rendering one more row would likely
|
|
10329
|
+
// exceed it.
|
|
9875
10330
|
Oe() * 2 - F.renderingStartTime > gg() && n !== yt && (t.flags |= W, te = !0, hu(F, !1), t.lanes = Jp);
|
|
9876
10331
|
}
|
|
9877
10332
|
if (F.isBackwards)
|
|
@@ -9897,7 +10352,8 @@ Check the render method of \`` + a + "`.");
|
|
|
9897
10352
|
var zn = t.memoizedState, Zr = zn !== null;
|
|
9898
10353
|
if (e !== null) {
|
|
9899
10354
|
var wu = e.memoizedState, cn = wu !== null;
|
|
9900
|
-
cn !== Zr &&
|
|
10355
|
+
cn !== Zr && // LegacyHidden doesn't do any hiding — it only pre-renders.
|
|
10356
|
+
!bv && (t.flags |= ba);
|
|
9901
10357
|
}
|
|
9902
10358
|
return !Zr || (t.mode & q) === z ? ke(t) : gt(sn, yt) && (ke(t), t.subtreeFlags & (ye | Z) && (t.flags |= ba)), null;
|
|
9903
10359
|
}
|
|
@@ -10583,7 +11039,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
10583
11039
|
return;
|
|
10584
11040
|
}
|
|
10585
11041
|
case lt: {
|
|
10586
|
-
if (
|
|
11042
|
+
if (
|
|
11043
|
+
// TODO: Remove this dead flag
|
|
11044
|
+
n.mode & q
|
|
11045
|
+
) {
|
|
10587
11046
|
var g = Fe;
|
|
10588
11047
|
Fe = g || n.memoizedState !== null, aa(e, t, n), Fe = g;
|
|
10589
11048
|
} else
|
|
@@ -10760,7 +11219,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
10760
11219
|
}
|
|
10761
11220
|
case lt: {
|
|
10762
11221
|
var Y = a !== null && a.memoizedState !== null;
|
|
10763
|
-
if (
|
|
11222
|
+
if (
|
|
11223
|
+
// TODO: Remove this dead flag
|
|
11224
|
+
e.mode & q
|
|
11225
|
+
) {
|
|
10764
11226
|
var p = Fe;
|
|
10765
11227
|
Fe = p || Y, Zt(t, e), Fe = p;
|
|
10766
11228
|
} else
|
|
@@ -10817,6 +11279,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
10817
11279
|
for (var m = i; m !== null; )
|
|
10818
11280
|
U = m, cg(
|
|
10819
11281
|
m,
|
|
11282
|
+
// New root; bubble back up to here and stop.
|
|
10820
11283
|
t,
|
|
10821
11284
|
n
|
|
10822
11285
|
), m = m.sibling;
|
|
@@ -11159,17 +11622,35 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
11159
11622
|
var qM = Ae.ReactCurrentActQueue;
|
|
11160
11623
|
function GM(e) {
|
|
11161
11624
|
{
|
|
11162
|
-
var t =
|
|
11625
|
+
var t = (
|
|
11626
|
+
// $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
|
|
11627
|
+
typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0
|
|
11628
|
+
), n = typeof jest < "u";
|
|
11163
11629
|
return n && t !== !1;
|
|
11164
11630
|
}
|
|
11165
11631
|
}
|
|
11166
11632
|
function vg() {
|
|
11167
11633
|
{
|
|
11168
|
-
var e =
|
|
11634
|
+
var e = (
|
|
11635
|
+
// $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
|
|
11636
|
+
typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0
|
|
11637
|
+
);
|
|
11169
11638
|
return !e && qM.current !== null && f("The current testing environment is not configured to support act(...)"), e;
|
|
11170
11639
|
}
|
|
11171
11640
|
}
|
|
11172
|
-
var QM = Math.ceil, _d = Ae.ReactCurrentDispatcher, Hd = Ae.ReactCurrentOwner, Be = Ae.ReactCurrentBatchConfig, Jt = Ae.ReactCurrentActQueue, Te =
|
|
11641
|
+
var QM = Math.ceil, _d = Ae.ReactCurrentDispatcher, Hd = Ae.ReactCurrentOwner, Be = Ae.ReactCurrentBatchConfig, Jt = Ae.ReactCurrentActQueue, Te = (
|
|
11642
|
+
/* */
|
|
11643
|
+
0
|
|
11644
|
+
), pg = (
|
|
11645
|
+
/* */
|
|
11646
|
+
1
|
|
11647
|
+
), je = (
|
|
11648
|
+
/* */
|
|
11649
|
+
2
|
|
11650
|
+
), wt = (
|
|
11651
|
+
/* */
|
|
11652
|
+
4
|
|
11653
|
+
), Un = 0, yu = 1, Ba = 2, xo = 3, gu = 4, hg = 5, kd = 6, G = Te, at = null, de = null, xe = C, sn = C, Fd = Xn(C), De = Un, bu = null, Do = C, Su = C, Mo = C, Cu = null, dt = null, Vd = 0, mg = 500, yg = 1 / 0, XM = 500, Ln = null;
|
|
11173
11654
|
function Eu() {
|
|
11174
11655
|
yg = Oe() + XM;
|
|
11175
11656
|
}
|
|
@@ -11208,14 +11689,19 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
11208
11689
|
return (t & q) === z ? H : PC();
|
|
11209
11690
|
}
|
|
11210
11691
|
function Me(e, t, n, a) {
|
|
11211
|
-
S0(), bg && f("useInsertionEffect must not schedule updates."), qd && (Uo = !0), Si(e, n, a), (G & je) !== C && e === at ? R0(t) : (kt && nh(e, t, n), T0(t), e === at && ((G & je) === Te && (Su = B(Su, n)), De === gu && ua(e, xe)), vt(e, a), n === H && G === Te && (t.mode & q) === z &&
|
|
11692
|
+
S0(), bg && f("useInsertionEffect must not schedule updates."), qd && (Uo = !0), Si(e, n, a), (G & je) !== C && e === at ? R0(t) : (kt && nh(e, t, n), T0(t), e === at && ((G & je) === Te && (Su = B(Su, n)), De === gu && ua(e, xe)), vt(e, a), n === H && G === Te && (t.mode & q) === z && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
11693
|
+
!Jt.isBatchingLegacy && (Eu(), gm()));
|
|
11212
11694
|
}
|
|
11213
11695
|
function WM(e, t, n) {
|
|
11214
11696
|
var a = e.current;
|
|
11215
11697
|
a.lanes = t, Si(e, t, n), vt(e, n);
|
|
11216
11698
|
}
|
|
11217
11699
|
function IM(e) {
|
|
11218
|
-
return (
|
|
11700
|
+
return (
|
|
11701
|
+
// TODO: Remove outdated deferRenderPhaseUpdateToNextBatch experiment. We
|
|
11702
|
+
// decided not to enable it.
|
|
11703
|
+
(G & je) !== Te
|
|
11704
|
+
);
|
|
11219
11705
|
}
|
|
11220
11706
|
function vt(e, t) {
|
|
11221
11707
|
var n = e.callbackNode;
|
|
@@ -11226,7 +11712,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
11226
11712
|
return;
|
|
11227
11713
|
}
|
|
11228
11714
|
var r = xa(a), i = e.callbackPriority;
|
|
11229
|
-
if (i === r &&
|
|
11715
|
+
if (i === r && // Special case related to `act`. If the currently scheduled task is a
|
|
11716
|
+
// Scheduler task, rather than an `act` task, cancel it and re-scheduled
|
|
11717
|
+
// on the `act` queue.
|
|
11718
|
+
!(Jt.current !== null && n !== Wd)) {
|
|
11230
11719
|
n == null && i !== H && f("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");
|
|
11231
11720
|
return;
|
|
11232
11721
|
}
|
|
@@ -11323,7 +11812,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
11323
11812
|
break;
|
|
11324
11813
|
}
|
|
11325
11814
|
case xo: {
|
|
11326
|
-
if (ua(e, n), Wp(n) &&
|
|
11815
|
+
if (ua(e, n), Wp(n) && // do not delay if we're inside an act() scope
|
|
11816
|
+
!Hg()) {
|
|
11327
11817
|
var a = Vd + mg - Oe();
|
|
11328
11818
|
if (a > 10) {
|
|
11329
11819
|
var r = Iu(e, C);
|
|
@@ -11429,7 +11919,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
11429
11919
|
try {
|
|
11430
11920
|
return e(t);
|
|
11431
11921
|
} finally {
|
|
11432
|
-
G = n, G === Te &&
|
|
11922
|
+
G = n, G === Te && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
11923
|
+
!Jt.isBatchingLegacy && (Eu(), gm());
|
|
11433
11924
|
}
|
|
11434
11925
|
}
|
|
11435
11926
|
function n0(e, t, n, a, r) {
|
|
@@ -12197,7 +12688,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
12197
12688
|
rv(e) ? (u = $, l = Pd(l)) : l = Xr(l);
|
|
12198
12689
|
else if (typeof e == "string")
|
|
12199
12690
|
u = _;
|
|
12200
|
-
else
|
|
12691
|
+
else
|
|
12201
12692
|
e:
|
|
12202
12693
|
switch (e) {
|
|
12203
12694
|
case Pa:
|
|
@@ -12248,7 +12739,6 @@ Check the render method of \`` + s + "`.");
|
|
|
12248
12739
|
throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + o));
|
|
12249
12740
|
}
|
|
12250
12741
|
}
|
|
12251
|
-
}
|
|
12252
12742
|
var c = Rt(u, n, t, r);
|
|
12253
12743
|
return c.elementType = e, c.type = l, c.lanes = i, c._debugOwner = a, c;
|
|
12254
12744
|
}
|
|
@@ -12303,6 +12793,7 @@ Check the render method of \`` + s + "`.");
|
|
|
12303
12793
|
return r.lanes = n, r.stateNode = {
|
|
12304
12794
|
containerInfo: e.containerInfo,
|
|
12305
12795
|
pendingChildren: null,
|
|
12796
|
+
// Used by persistent updates
|
|
12306
12797
|
implementation: e.implementation
|
|
12307
12798
|
}, r;
|
|
12308
12799
|
}
|
|
@@ -12333,6 +12824,7 @@ Check the render method of \`` + s + "`.");
|
|
|
12333
12824
|
element: a,
|
|
12334
12825
|
isDehydrated: n,
|
|
12335
12826
|
cache: null,
|
|
12827
|
+
// not enabled yet
|
|
12336
12828
|
transitions: null,
|
|
12337
12829
|
pendingSuspenseBoundaries: null
|
|
12338
12830
|
};
|
|
@@ -12344,6 +12836,7 @@ Check the render method of \`` + s + "`.");
|
|
|
12344
12836
|
function $0(e, t, n) {
|
|
12345
12837
|
var a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
|
|
12346
12838
|
return Rb(a), {
|
|
12839
|
+
// This tag allow us to uniquely identify this as a React Portal
|
|
12347
12840
|
$$typeof: pa,
|
|
12348
12841
|
key: a == null ? null : "" + a,
|
|
12349
12842
|
children: e,
|
|
@@ -12510,6 +13003,7 @@ Check the render method of %s.`, V(mt) || "Unknown"));
|
|
|
12510
13003
|
i[u] = i[r], Pe(i) ? i.splice(r, 1) : delete i[r];
|
|
12511
13004
|
} else
|
|
12512
13005
|
i[r] = lb(
|
|
13006
|
+
// $FlowFixMe number or string is fine here
|
|
12513
13007
|
e[r],
|
|
12514
13008
|
t,
|
|
12515
13009
|
n,
|
|
@@ -12613,15 +13107,23 @@ Check the render method of %s.`, V(mt) || "Unknown"));
|
|
|
12613
13107
|
currentDispatcherRef: n,
|
|
12614
13108
|
findHostInstanceByFiber: K0,
|
|
12615
13109
|
findFiberByHostInstance: t || W0,
|
|
13110
|
+
// React Refresh
|
|
12616
13111
|
findHostInstancesForRefresh: U0,
|
|
12617
13112
|
scheduleRefresh: M0,
|
|
12618
13113
|
scheduleRoot: O0,
|
|
12619
13114
|
setRefreshHandler: D0,
|
|
13115
|
+
// Enables DevTools to append owner stacks to error messages in DEV mode.
|
|
12620
13116
|
getCurrentFiber: I0,
|
|
13117
|
+
// Enables DevTools to detect reconciler version rather than renderer version
|
|
13118
|
+
// which may not match for third party renderers.
|
|
12621
13119
|
reconcilerVersion: sv
|
|
12622
13120
|
});
|
|
12623
13121
|
}
|
|
12624
|
-
var fb = typeof reportError == "function" ?
|
|
13122
|
+
var fb = typeof reportError == "function" ? (
|
|
13123
|
+
// In modern browsers, reportError will dispatch an error event,
|
|
13124
|
+
// emulating an uncaught JavaScript error.
|
|
13125
|
+
reportError
|
|
13126
|
+
) : function(e) {
|
|
12625
13127
|
console.error(e);
|
|
12626
13128
|
};
|
|
12627
13129
|
function pv(e) {
|
|
@@ -12724,9 +13226,13 @@ Check the render method of %s.`, V(mt) || "Unknown"));
|
|
|
12724
13226
|
e,
|
|
12725
13227
|
Zn,
|
|
12726
13228
|
null,
|
|
13229
|
+
// hydrationCallbacks
|
|
12727
13230
|
!1,
|
|
13231
|
+
// isStrictMode
|
|
12728
13232
|
!1,
|
|
13233
|
+
// concurrentUpdatesByDefaultOverride,
|
|
12729
13234
|
"",
|
|
13235
|
+
// identifierPrefix
|
|
12730
13236
|
pb
|
|
12731
13237
|
);
|
|
12732
13238
|
e._reactRootContainer = u, xl(u.current, e);
|
|
@@ -12746,9 +13252,13 @@ Check the render method of %s.`, V(mt) || "Unknown"));
|
|
|
12746
13252
|
e,
|
|
12747
13253
|
Zn,
|
|
12748
13254
|
null,
|
|
13255
|
+
// hydrationCallbacks
|
|
12749
13256
|
!1,
|
|
13257
|
+
// isStrictMode
|
|
12750
13258
|
!1,
|
|
13259
|
+
// concurrentUpdatesByDefaultOverride,
|
|
12751
13260
|
"",
|
|
13261
|
+
// identifierPrefix
|
|
12752
13262
|
pb
|
|
12753
13263
|
);
|
|
12754
13264
|
e._reactRootContainer = c, xl(c.current, e);
|
|
@@ -12838,7 +13348,9 @@ Check the render method of %s.`, V(mt) || "Unknown"));
|
|
|
12838
13348
|
return !1;
|
|
12839
13349
|
}
|
|
12840
13350
|
}
|
|
12841
|
-
lE(G0), sE(Q0), cE(X0), fE(Ft), dE(rE), (typeof Map != "function" ||
|
|
13351
|
+
lE(G0), sE(Q0), cE(X0), fE(Ft), dE(rE), (typeof Map != "function" || // $FlowIssue Flow incorrectly thinks Map has no prototype
|
|
13352
|
+
Map.prototype == null || typeof Map.prototype.forEach != "function" || typeof Set != "function" || // $FlowIssue Flow incorrectly thinks Set has no prototype
|
|
13353
|
+
Set.prototype == null || typeof Set.prototype.clear != "function" || typeof Set.prototype.forEach != "function") && f("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"), QS(vT), JS(Qd, n0, wn);
|
|
12842
13354
|
function fO(e, t) {
|
|
12843
13355
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
12844
13356
|
if (!Vo(t))
|
|
@@ -12850,6 +13362,8 @@ Check the render method of %s.`, V(mt) || "Unknown"));
|
|
|
12850
13362
|
}
|
|
12851
13363
|
var mv = {
|
|
12852
13364
|
usingClientEntryPoint: !1,
|
|
13365
|
+
// Keep in sync with ReactTestUtils.js.
|
|
13366
|
+
// This is an array for better minification.
|
|
12853
13367
|
Events: [Qn, Tr, Dl, Mp, Op, Qd]
|
|
12854
13368
|
};
|
|
12855
13369
|
function vO(e, t) {
|