@gamelearn/arcade-components 3.8.1 → 3.8.3
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.
|
@@ -289,14 +289,14 @@ function requireReactJsxRuntime_development() {
|
|
|
289
289
|
} catch (fi) {
|
|
290
290
|
if (fi && xt && typeof fi.stack == "string") {
|
|
291
291
|
for (var Ut = fi.stack.split(`
|
|
292
|
-
`),
|
|
293
|
-
`), fr = Ut.length - 1, hr =
|
|
292
|
+
`), Ar = xt.stack.split(`
|
|
293
|
+
`), fr = Ut.length - 1, hr = Ar.length - 1; fr >= 1 && hr >= 0 && Ut[fr] !== Ar[hr]; )
|
|
294
294
|
hr--;
|
|
295
295
|
for (; fr >= 1 && hr >= 0; fr--, hr--)
|
|
296
|
-
if (Ut[fr] !==
|
|
296
|
+
if (Ut[fr] !== Ar[hr]) {
|
|
297
297
|
if (fr !== 1 || hr !== 1)
|
|
298
298
|
do
|
|
299
|
-
if (fr--, hr--, hr < 0 || Ut[fr] !==
|
|
299
|
+
if (fr--, hr--, hr < 0 || Ut[fr] !== Ar[hr]) {
|
|
300
300
|
var Tr = `
|
|
301
301
|
` + Ut[fr].replace(" at new ", " at ");
|
|
302
302
|
return ge.displayName && Tr.includes("<anonymous>") && (Tr = Tr.replace("<anonymous>", ge.displayName)), typeof ge == "function" && de.set(ge, Tr), Tr;
|
|
@@ -363,8 +363,8 @@ function requireReactJsxRuntime_development() {
|
|
|
363
363
|
var Ut = void 0;
|
|
364
364
|
try {
|
|
365
365
|
if (typeof ge[Gt] != "function") {
|
|
366
|
-
var
|
|
367
|
-
throw
|
|
366
|
+
var Ar = Error((xt || "React class") + ": " + Je + " type `" + Gt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof ge[Gt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
367
|
+
throw Ar.name = "Invariant Violation", Ar;
|
|
368
368
|
}
|
|
369
369
|
Ut = ge[Gt](He, Gt, xt, Je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
370
370
|
} catch (fr) {
|
|
@@ -478,10 +478,10 @@ function requireReactJsxRuntime_development() {
|
|
|
478
478
|
value: Qt
|
|
479
479
|
}), Object.freeze && (Object.freeze(Ut.props), Object.freeze(Ut)), Ut;
|
|
480
480
|
};
|
|
481
|
-
function
|
|
481
|
+
function $e(ge, He, Je, xt, Qt) {
|
|
482
482
|
{
|
|
483
|
-
var Ht, Gt = {}, Ut = null,
|
|
484
|
-
Je !== void 0 && (kt(Je), Ut = "" + Je), ye(He) && (kt(He.key), Ut = "" + He.key), pe(He) && (
|
|
483
|
+
var Ht, Gt = {}, Ut = null, Ar = null;
|
|
484
|
+
Je !== void 0 && (kt(Je), Ut = "" + Je), ye(He) && (kt(He.key), Ut = "" + He.key), pe(He) && (Ar = He.ref, Ce(He, Qt));
|
|
485
485
|
for (Ht in He)
|
|
486
486
|
Ve.call(He, Ht) && !Ke.hasOwnProperty(Ht) && (Gt[Ht] = He[Ht]);
|
|
487
487
|
if (ge && ge.defaultProps) {
|
|
@@ -489,11 +489,11 @@ function requireReactJsxRuntime_development() {
|
|
|
489
489
|
for (Ht in fr)
|
|
490
490
|
Gt[Ht] === void 0 && (Gt[Ht] = fr[Ht]);
|
|
491
491
|
}
|
|
492
|
-
if (Ut ||
|
|
492
|
+
if (Ut || Ar) {
|
|
493
493
|
var hr = typeof ge == "function" ? ge.displayName || ge.name || "Unknown" : ge;
|
|
494
|
-
Ut && Le(Gt, hr),
|
|
494
|
+
Ut && Le(Gt, hr), Ar && We(Gt, hr);
|
|
495
495
|
}
|
|
496
|
-
return je(ge, Ut,
|
|
496
|
+
return je(ge, Ut, Ar, Qt, xt, Ft.current, Gt);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var jt = C.ReactCurrentOwner, Mt = C.ReactDebugCurrentFrame;
|
|
@@ -509,7 +509,7 @@ function requireReactJsxRuntime_development() {
|
|
|
509
509
|
function Yr(ge) {
|
|
510
510
|
return typeof ge == "object" && ge !== null && ge.$$typeof === e;
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function ze() {
|
|
513
513
|
{
|
|
514
514
|
if (jt.current) {
|
|
515
515
|
var ge = H(jt.current.type);
|
|
@@ -521,7 +521,7 @@ Check the render method of \`` + ge + "`.";
|
|
|
521
521
|
return "";
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Me(ge) {
|
|
525
525
|
{
|
|
526
526
|
if (ge !== void 0) {
|
|
527
527
|
var He = ge.fileName.replace(/^.*[\\\/]/, ""), Je = ge.lineNumber;
|
|
@@ -535,7 +535,7 @@ Check your code at ` + He + ":" + Je + ".";
|
|
|
535
535
|
var ht = {};
|
|
536
536
|
function Et(ge) {
|
|
537
537
|
{
|
|
538
|
-
var He =
|
|
538
|
+
var He = ze();
|
|
539
539
|
if (!He) {
|
|
540
540
|
var Je = typeof ge == "string" ? ge : ge.displayName || ge.name;
|
|
541
541
|
Je && (He = `
|
|
@@ -545,7 +545,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
545
545
|
return He;
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function bt(ge, He) {
|
|
549
549
|
{
|
|
550
550
|
if (!ge._store || ge._store.validated || ge.key != null)
|
|
551
551
|
return;
|
|
@@ -565,7 +565,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
565
565
|
if (dt(ge))
|
|
566
566
|
for (var Je = 0; Je < ge.length; Je++) {
|
|
567
567
|
var xt = ge[Je];
|
|
568
|
-
Yr(xt) &&
|
|
568
|
+
Yr(xt) && bt(xt, He);
|
|
569
569
|
}
|
|
570
570
|
else if (Yr(ge))
|
|
571
571
|
ge._store && (ge._store.validated = !0);
|
|
@@ -573,7 +573,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
573
573
|
var Qt = x(ge);
|
|
574
574
|
if (typeof Qt == "function" && Qt !== ge.entries)
|
|
575
575
|
for (var Ht = Qt.call(ge), Gt; !(Gt = Ht.next()).done; )
|
|
576
|
-
Yr(Gt.value) &&
|
|
576
|
+
Yr(Gt.value) && bt(Gt.value, He);
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
}
|
|
@@ -602,7 +602,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
602
602
|
typeof He.getDefaultProps == "function" && !He.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function Cr(ge) {
|
|
606
606
|
{
|
|
607
607
|
for (var He = Object.keys(ge.props), Je = 0; Je < He.length; Je++) {
|
|
608
608
|
var xt = He[Je];
|
|
@@ -620,12 +620,12 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
620
620
|
if (!Gt) {
|
|
621
621
|
var Ut = "";
|
|
622
622
|
(ge === void 0 || typeof ge == "object" && ge !== null && Object.keys(ge).length === 0) && (Ut += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
623
|
-
var
|
|
624
|
-
|
|
623
|
+
var Ar = Me(Qt);
|
|
624
|
+
Ar ? Ut += Ar : Ut += ze();
|
|
625
625
|
var fr;
|
|
626
626
|
ge === null ? fr = "null" : dt(ge) ? fr = "array" : ge !== void 0 && ge.$$typeof === e ? (fr = "<" + (H(ge.type) || "Unknown") + " />", Ut = " Did you accidentally export a JSX literal instead of a component?") : fr = typeof ge, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", fr, Ut);
|
|
627
627
|
}
|
|
628
|
-
var hr =
|
|
628
|
+
var hr = $e(ge, He, Je, Qt, Ht);
|
|
629
629
|
if (hr == null)
|
|
630
630
|
return hr;
|
|
631
631
|
if (Gt) {
|
|
@@ -641,7 +641,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
641
641
|
else
|
|
642
642
|
Kt(Tr, ge);
|
|
643
643
|
}
|
|
644
|
-
return ge === t ?
|
|
644
|
+
return ge === t ? Cr(hr) : It(hr), hr;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
function ja(ge, He, Je) {
|
|
@@ -1824,8 +1824,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1824
1824
|
for (let We = 0; We < pe; We++) {
|
|
1825
1825
|
let je = he[We];
|
|
1826
1826
|
je instanceof Uint8Array || (typeof je == "string" ? je = oe(je) : je = new Uint8Array(je));
|
|
1827
|
-
const
|
|
1828
|
-
Le.set(je, Ce), Ce +=
|
|
1827
|
+
const $e = je.byteLength;
|
|
1828
|
+
Le.set(je, Ce), Ce += $e;
|
|
1829
1829
|
}
|
|
1830
1830
|
return Le;
|
|
1831
1831
|
}
|
|
@@ -1883,7 +1883,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1883
1883
|
return [pe[0] * ye[0] + pe[1] * ye[1] + pe[2] * ye[2], pe[3] * ye[0] + pe[4] * ye[1] + pe[5] * ye[2], pe[6] * ye[0] + pe[7] * ye[1] + pe[8] * ye[2]];
|
|
1884
1884
|
}
|
|
1885
1885
|
static singularValueDecompose2dScale(pe) {
|
|
1886
|
-
const ye = [pe[0], pe[2], pe[1], pe[3]], Ce = pe[0] * ye[0] + pe[1] * ye[2], Le = pe[0] * ye[1] + pe[1] * ye[3], We = pe[2] * ye[0] + pe[3] * ye[2], je = pe[2] * ye[1] + pe[3] * ye[3],
|
|
1886
|
+
const ye = [pe[0], pe[2], pe[1], pe[3]], Ce = pe[0] * ye[0] + pe[1] * ye[2], Le = pe[0] * ye[1] + pe[1] * ye[3], We = pe[2] * ye[0] + pe[3] * ye[2], je = pe[2] * ye[1] + pe[3] * ye[3], $e = (Ce + je) / 2, jt = Math.sqrt((Ce + je) * (Ce + je) - 4 * (Ce * je - We * Le)) / 2, Mt = $e + jt || 1, ut = $e - jt || 1;
|
|
1887
1887
|
return [Math.sqrt(Mt), Math.sqrt(ut)];
|
|
1888
1888
|
}
|
|
1889
1889
|
static normalizeRect(pe) {
|
|
@@ -1891,8 +1891,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1891
1891
|
return pe[0] > pe[2] && (ye[0] = pe[2], ye[2] = pe[0]), pe[1] > pe[3] && (ye[1] = pe[3], ye[3] = pe[1]), ye;
|
|
1892
1892
|
}
|
|
1893
1893
|
static intersect(pe, ye) {
|
|
1894
|
-
function Ce(
|
|
1895
|
-
return
|
|
1894
|
+
function Ce($e, jt) {
|
|
1895
|
+
return $e - jt;
|
|
1896
1896
|
}
|
|
1897
1897
|
const Le = [pe[0], pe[2], ye[0], ye[2]].sort(Ce), We = [pe[1], pe[3], ye[1], ye[3]].sort(Ce), je = [];
|
|
1898
1898
|
if (pe = qe.normalizeRect(pe), ye = qe.normalizeRect(ye), Le[0] === pe[0] && Le[1] === ye[0] || Le[0] === ye[0] && Le[1] === pe[0])
|
|
@@ -1970,15 +1970,15 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1970
1970
|
const pe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
1971
1971
|
return function(Ce, Le, We = !1) {
|
|
1972
1972
|
if (!We && URL.createObjectURL) {
|
|
1973
|
-
const
|
|
1973
|
+
const $e = new Blob([Ce], {
|
|
1974
1974
|
type: Le
|
|
1975
1975
|
});
|
|
1976
|
-
return URL.createObjectURL(
|
|
1976
|
+
return URL.createObjectURL($e);
|
|
1977
1977
|
}
|
|
1978
1978
|
let je = `data:${Le};base64,`;
|
|
1979
|
-
for (let
|
|
1980
|
-
const Mt = Ce[
|
|
1981
|
-
je += pe[Yr] + pe[
|
|
1979
|
+
for (let $e = 0, jt = Ce.length; $e < jt; $e += 3) {
|
|
1980
|
+
const Mt = Ce[$e] & 255, ut = Ce[$e + 1] & 255, vr = Ce[$e + 2] & 255, Yr = Mt >> 2, ze = (Mt & 3) << 4 | ut >> 4, Me = $e + 1 < jt ? (ut & 15) << 2 | vr >> 6 : 64, ht = $e + 2 < jt ? vr & 63 : 64;
|
|
1981
|
+
je += pe[Yr] + pe[ze] + pe[Me] + pe[ht];
|
|
1982
1982
|
}
|
|
1983
1983
|
return je;
|
|
1984
1984
|
};
|
|
@@ -36777,9 +36777,9 @@ function requireScheduler_development() {
|
|
|
36777
36777
|
}
|
|
36778
36778
|
function f(he, pe, ye) {
|
|
36779
36779
|
for (var Ce = ye, Le = he.length, We = Le >>> 1; Ce < We; ) {
|
|
36780
|
-
var je = (Ce + 1) * 2 - 1,
|
|
36781
|
-
if (c(
|
|
36782
|
-
jt < Le && c(Mt,
|
|
36780
|
+
var je = (Ce + 1) * 2 - 1, $e = he[je], jt = je + 1, Mt = he[jt];
|
|
36781
|
+
if (c($e, pe) < 0)
|
|
36782
|
+
jt < Le && c(Mt, $e) < 0 ? (he[Ce] = Mt, he[jt] = pe, Ce = jt) : (he[Ce] = $e, he[je] = pe, Ce = je);
|
|
36783
36783
|
else if (jt < Le && c(Mt, pe) < 0)
|
|
36784
36784
|
he[Ce] = Mt, he[jt] = pe, Ce = jt;
|
|
36785
36785
|
else
|
|
@@ -36932,15 +36932,15 @@ function requireScheduler_development() {
|
|
|
36932
36932
|
je = w;
|
|
36933
36933
|
break;
|
|
36934
36934
|
}
|
|
36935
|
-
var
|
|
36935
|
+
var $e = Le + je, jt = {
|
|
36936
36936
|
id: G++,
|
|
36937
36937
|
callback: pe,
|
|
36938
36938
|
priorityLevel: he,
|
|
36939
36939
|
startTime: Le,
|
|
36940
|
-
expirationTime:
|
|
36940
|
+
expirationTime: $e,
|
|
36941
36941
|
sortIndex: -1
|
|
36942
36942
|
};
|
|
36943
|
-
return Le > Ce ? (jt.sortIndex = Le, n(F, jt), a(L) === null && jt === a(F) && (z ? Ke() : z = !0, Ft(X, Le - Ce))) : (jt.sortIndex =
|
|
36943
|
+
return Le > Ce ? (jt.sortIndex = Le, n(F, jt), a(L) === null && jt === a(F) && (z ? Ke() : z = !0, Ft(X, Le - Ce))) : (jt.sortIndex = $e, n(L, jt), !q && !ee && (q = !0, kt(Q))), jt;
|
|
36944
36944
|
}
|
|
36945
36945
|
function oe() {
|
|
36946
36946
|
}
|
|
@@ -37241,7 +37241,7 @@ function requireReactReconciler_production_min() {
|
|
|
37241
37241
|
}
|
|
37242
37242
|
return null;
|
|
37243
37243
|
}
|
|
37244
|
-
var ee = Array.isArray, q = e.getPublicInstance, z = e.getRootHostContext, B = e.getChildHostContext, I = e.prepareForCommit, U = e.resetAfterCommit, V = e.createInstance, X = e.appendInitialChild, Q = e.finalizeInitialChildren, J = e.prepareUpdate, ie = e.shouldSetTextContent, ne = e.createTextInstance, Z = e.scheduleTimeout, se = e.cancelTimeout, oe = e.noTimeout, de = e.isPrimaryRenderer, fe = e.supportsMutation, ce = e.supportsPersistence, xe = e.supportsHydration, Oe = e.getInstanceFromNode, Re = e.preparePortalMount, Ve = e.getCurrentEventPriority, Be = e.detachDeletedInstance, qe = e.supportsMicrotasks, ft = e.scheduleMicrotask, vt = e.supportsTestSelectors, it = e.findFiberRoot, dt = e.getBoundingRect, tr = e.getTextContent, Ot = e.isHiddenSubtree, yt = e.matchAccessibilityRole, kt = e.setFocusIfFocusable, Ft = e.setupIntersectionObserver, Ke = e.appendChild, pt = e.appendChildToContainer, lt = e.commitTextUpdate, he = e.commitMount, pe = e.commitUpdate, ye = e.insertBefore, Ce = e.insertInContainerBefore, Le = e.removeChild, We = e.removeChildFromContainer, je = e.resetTextContent,
|
|
37244
|
+
var ee = Array.isArray, q = e.getPublicInstance, z = e.getRootHostContext, B = e.getChildHostContext, I = e.prepareForCommit, U = e.resetAfterCommit, V = e.createInstance, X = e.appendInitialChild, Q = e.finalizeInitialChildren, J = e.prepareUpdate, ie = e.shouldSetTextContent, ne = e.createTextInstance, Z = e.scheduleTimeout, se = e.cancelTimeout, oe = e.noTimeout, de = e.isPrimaryRenderer, fe = e.supportsMutation, ce = e.supportsPersistence, xe = e.supportsHydration, Oe = e.getInstanceFromNode, Re = e.preparePortalMount, Ve = e.getCurrentEventPriority, Be = e.detachDeletedInstance, qe = e.supportsMicrotasks, ft = e.scheduleMicrotask, vt = e.supportsTestSelectors, it = e.findFiberRoot, dt = e.getBoundingRect, tr = e.getTextContent, Ot = e.isHiddenSubtree, yt = e.matchAccessibilityRole, kt = e.setFocusIfFocusable, Ft = e.setupIntersectionObserver, Ke = e.appendChild, pt = e.appendChildToContainer, lt = e.commitTextUpdate, he = e.commitMount, pe = e.commitUpdate, ye = e.insertBefore, Ce = e.insertInContainerBefore, Le = e.removeChild, We = e.removeChildFromContainer, je = e.resetTextContent, $e = e.hideInstance, jt = e.hideTextInstance, Mt = e.unhideInstance, ut = e.unhideTextInstance, vr = e.clearContainer, Yr = e.cloneInstance, ze = e.createContainerChildSet, Me = e.appendChildToContainerChildSet, ht = e.finalizeContainerChildren, Et = e.replaceContainerChildren, bt = e.cloneHiddenInstance, Kt = e.cloneHiddenTextInstance, It = e.canHydrateInstance, Cr = e.canHydrateTextInstance, di = e.canHydrateSuspenseInstance, ja = e.isSuspenseInstancePending, la = e.isSuspenseInstanceFallback, Gi = e.getSuspenseInstanceFallbackErrorDetails, Lr = e.registerSuspenseInstanceRetry, ge = e.getNextHydratableSibling, He = e.getFirstHydratableChild, Je = e.getFirstHydratableChildWithinContainer, xt = e.getFirstHydratableChildWithinSuspenseInstance, Qt = e.hydrateInstance, Ht = e.hydrateTextInstance, Gt = e.hydrateSuspenseInstance, Ut = e.getNextHydratableInstanceAfterSuspenseInstance, Ar = e.commitHydratedContainer, fr = e.commitHydratedSuspenseInstance, hr = e.clearSuspenseBoundary, Tr = e.clearSuspenseBoundaryFromContainer, ua = e.shouldDeleteUnhydratedTailInstances, Ma = e.didNotMatchHydratedContainerTextInstance, fi = e.didNotMatchHydratedTextInstance, Vl;
|
|
37245
37245
|
function cs(v) {
|
|
37246
37246
|
if (Vl === void 0)
|
|
37247
37247
|
try {
|
|
@@ -37596,7 +37596,7 @@ function requireReactReconciler_production_min() {
|
|
|
37596
37596
|
case 5:
|
|
37597
37597
|
return b = It(b, v.type, v.pendingProps), b !== null ? (v.stateNode = b, $n = v, ri = He(b), !0) : !1;
|
|
37598
37598
|
case 6:
|
|
37599
|
-
return b =
|
|
37599
|
+
return b = Cr(b, v.pendingProps), b !== null ? (v.stateNode = b, $n = v, ri = null, !0) : !1;
|
|
37600
37600
|
case 13:
|
|
37601
37601
|
if (b = di(b), b !== null) {
|
|
37602
37602
|
var j = za !== null ? { id: zi, overflow: wi } : null;
|
|
@@ -38212,8 +38212,8 @@ function requireReactReconciler_production_min() {
|
|
|
38212
38212
|
}
|
|
38213
38213
|
ma.length = 0;
|
|
38214
38214
|
}
|
|
38215
|
-
var Yi = u.ReactCurrentDispatcher, Es = u.ReactCurrentBatchConfig, xn = 0, yr = null,
|
|
38216
|
-
function
|
|
38215
|
+
var Yi = u.ReactCurrentDispatcher, Es = u.ReactCurrentBatchConfig, xn = 0, yr = null, Pr = null, Br = null, eo = !1, ga = !1, bs = 0, wf = 0;
|
|
38216
|
+
function wr() {
|
|
38217
38217
|
throw Error(l(321));
|
|
38218
38218
|
}
|
|
38219
38219
|
function Ko(v, b) {
|
|
@@ -38224,16 +38224,16 @@ function requireReactReconciler_production_min() {
|
|
|
38224
38224
|
return !1;
|
|
38225
38225
|
return !0;
|
|
38226
38226
|
}
|
|
38227
|
-
function
|
|
38227
|
+
function Tt(v, b, j, $, K, te) {
|
|
38228
38228
|
if (xn = te, yr = b, b.memoizedState = null, b.updateQueue = null, b.lanes = 0, Yi.current = v === null || v.memoizedState === null ? xu : Su, v = j($, K), ga) {
|
|
38229
38229
|
te = 0;
|
|
38230
38230
|
do {
|
|
38231
38231
|
if (ga = !1, bs = 0, 25 <= te)
|
|
38232
38232
|
throw Error(l(301));
|
|
38233
|
-
te += 1, Br =
|
|
38233
|
+
te += 1, Br = Pr = null, b.updateQueue = null, Yi.current = Eu, v = j($, K);
|
|
38234
38234
|
} while (ga);
|
|
38235
38235
|
}
|
|
38236
|
-
if (Yi.current = Xi, b =
|
|
38236
|
+
if (Yi.current = Xi, b = Pr !== null && Pr.next !== null, xn = 0, Br = Pr = yr = null, eo = !1, b)
|
|
38237
38237
|
throw Error(l(300));
|
|
38238
38238
|
return v;
|
|
38239
38239
|
}
|
|
@@ -38246,18 +38246,18 @@ function requireReactReconciler_production_min() {
|
|
|
38246
38246
|
return Br === null ? yr.memoizedState = Br = v : Br = Br.next = v, Br;
|
|
38247
38247
|
}
|
|
38248
38248
|
function ar() {
|
|
38249
|
-
if (
|
|
38249
|
+
if (Pr === null) {
|
|
38250
38250
|
var v = yr.alternate;
|
|
38251
38251
|
v = v !== null ? v.memoizedState : null;
|
|
38252
38252
|
} else
|
|
38253
|
-
v =
|
|
38253
|
+
v = Pr.next;
|
|
38254
38254
|
var b = Br === null ? yr.memoizedState : Br.next;
|
|
38255
38255
|
if (b !== null)
|
|
38256
|
-
Br = b,
|
|
38256
|
+
Br = b, Pr = v;
|
|
38257
38257
|
else {
|
|
38258
38258
|
if (v === null)
|
|
38259
38259
|
throw Error(l(310));
|
|
38260
|
-
|
|
38260
|
+
Pr = v, v = { memoizedState: Pr.memoizedState, baseState: Pr.baseState, baseQueue: Pr.baseQueue, queue: Pr.queue, next: null }, Br === null ? yr.memoizedState = Br = v : Br = Br.next = v;
|
|
38261
38261
|
}
|
|
38262
38262
|
return Br;
|
|
38263
38263
|
}
|
|
@@ -38269,7 +38269,7 @@ function requireReactReconciler_production_min() {
|
|
|
38269
38269
|
if (j === null)
|
|
38270
38270
|
throw Error(l(311));
|
|
38271
38271
|
j.lastRenderedReducer = v;
|
|
38272
|
-
var $ =
|
|
38272
|
+
var $ = Pr, K = $.baseQueue, te = j.pending;
|
|
38273
38273
|
if (te !== null) {
|
|
38274
38274
|
if (K !== null) {
|
|
38275
38275
|
var ue = K.next;
|
|
@@ -38377,8 +38377,8 @@ function requireReactReconciler_production_min() {
|
|
|
38377
38377
|
var K = ar();
|
|
38378
38378
|
$ = $ === void 0 ? null : $;
|
|
38379
38379
|
var te = void 0;
|
|
38380
|
-
if (
|
|
38381
|
-
var ue =
|
|
38380
|
+
if (Pr !== null) {
|
|
38381
|
+
var ue = Pr.memoizedState;
|
|
38382
38382
|
if (te = ue.destroy, $ !== null && Ko($, ue.deps)) {
|
|
38383
38383
|
K.memoizedState = xi(b, j, te, $);
|
|
38384
38384
|
return;
|
|
@@ -38486,7 +38486,7 @@ function requireReactReconciler_production_min() {
|
|
|
38486
38486
|
$ &= v.pendingLanes, j |= $, b.lanes = j, Jl(v, j);
|
|
38487
38487
|
}
|
|
38488
38488
|
}
|
|
38489
|
-
var Xi = { readContext: _n, useCallback:
|
|
38489
|
+
var Xi = { readContext: _n, useCallback: wr, useContext: wr, useEffect: wr, useImperativeHandle: wr, useInsertionEffect: wr, useLayoutEffect: wr, useMemo: wr, useReducer: wr, useRef: wr, useState: wr, useDebugValue: wr, useDeferredValue: wr, useTransition: wr, useMutableSource: wr, useSyncExternalStore: wr, useId: wr, unstable_isNewReconciler: !1 }, xu = { readContext: _n, useCallback: function(v, b) {
|
|
38490
38490
|
return Bt().memoizedState = [v, b === void 0 ? null : b], v;
|
|
38491
38491
|
}, useContext: _n, useEffect: Ts, useImperativeHandle: function(v, b, j) {
|
|
38492
38492
|
return j = j != null ? j.concat([v]) : null, va(
|
|
@@ -38558,7 +38558,7 @@ function requireReactReconciler_production_min() {
|
|
|
38558
38558
|
useDebugValue: ro,
|
|
38559
38559
|
useDeferredValue: function(v) {
|
|
38560
38560
|
var b = ar();
|
|
38561
|
-
return nl(b,
|
|
38561
|
+
return nl(b, Pr.memoizedState, v);
|
|
38562
38562
|
},
|
|
38563
38563
|
useTransition: function() {
|
|
38564
38564
|
var v = Xo(kn)[0], b = ar().memoizedState;
|
|
@@ -38572,7 +38572,7 @@ function requireReactReconciler_production_min() {
|
|
|
38572
38572
|
return gu(kn);
|
|
38573
38573
|
}, useDebugValue: ro, useDeferredValue: function(v) {
|
|
38574
38574
|
var b = ar();
|
|
38575
|
-
return
|
|
38575
|
+
return Pr === null ? b.memoizedState = v : nl(b, Pr.memoizedState, v);
|
|
38576
38576
|
}, useTransition: function() {
|
|
38577
38577
|
var v = gu(kn)[0], b = ar().memoizedState;
|
|
38578
38578
|
return [v, b];
|
|
@@ -38658,7 +38658,7 @@ Error generating stack: ` + te.message + `
|
|
|
38658
38658
|
function io(v, b, j, $, K) {
|
|
38659
38659
|
j = j.render;
|
|
38660
38660
|
var te = b.ref;
|
|
38661
|
-
return ys(b, K), $ =
|
|
38661
|
+
return ys(b, K), $ = Tt(v, b, j, $, te, K), j = Wt(), v !== null && !tn ? (b.updateQueue = v.updateQueue, b.flags &= -2053, v.lanes &= ~K, Nr(v, b, K)) : (br && j && nu(b), b.flags |= 1, $r(v, b, $, K), b.child);
|
|
38662
38662
|
}
|
|
38663
38663
|
function Lc(v, b, j, $, K) {
|
|
38664
38664
|
if (v === null) {
|
|
@@ -38668,7 +38668,7 @@ Error generating stack: ` + te.message + `
|
|
|
38668
38668
|
if (te = v.child, !(v.lanes & K)) {
|
|
38669
38669
|
var ue = te.memoizedProps;
|
|
38670
38670
|
if (j = j.compare, j = j !== null ? j : jo, j(ue, $) && v.ref === b.ref)
|
|
38671
|
-
return
|
|
38671
|
+
return Nr(v, b, K);
|
|
38672
38672
|
}
|
|
38673
38673
|
return b.flags |= 1, v = Fi(te, $), v.ref = b.ref, v.return = b, b.child = v;
|
|
38674
38674
|
}
|
|
@@ -38679,7 +38679,7 @@ Error generating stack: ` + te.message + `
|
|
|
38679
38679
|
if (tn = !1, b.pendingProps = $ = te, (v.lanes & K) !== 0)
|
|
38680
38680
|
v.flags & 131072 && (tn = !0);
|
|
38681
38681
|
else
|
|
38682
|
-
return b.lanes = v.lanes,
|
|
38682
|
+
return b.lanes = v.lanes, Nr(v, b, K);
|
|
38683
38683
|
}
|
|
38684
38684
|
return ao(v, b, j, $, K);
|
|
38685
38685
|
}
|
|
@@ -38703,7 +38703,7 @@ Error generating stack: ` + te.message + `
|
|
|
38703
38703
|
}
|
|
38704
38704
|
function ao(v, b, j, $, K) {
|
|
38705
38705
|
var te = gn(j) ? Ua : mn.current;
|
|
38706
|
-
return te = ds(b, te), ys(b, K), j =
|
|
38706
|
+
return te = ds(b, te), ys(b, K), j = Tt(v, b, j, $, te, K), $ = Wt(), v !== null && !tn ? (b.updateQueue = v.updateQueue, b.flags &= -2053, v.lanes &= ~K, Nr(v, b, K)) : (br && $ && nu(b), b.flags |= 1, $r(v, b, j, K), b.child);
|
|
38707
38707
|
}
|
|
38708
38708
|
function Mc(v, b, j, $, K) {
|
|
38709
38709
|
if (gn(j)) {
|
|
@@ -38735,7 +38735,7 @@ Error generating stack: ` + te.message + `
|
|
|
38735
38735
|
jc(v, b);
|
|
38736
38736
|
var ue = (b.flags & 128) !== 0;
|
|
38737
38737
|
if (!$ && !ue)
|
|
38738
|
-
return K && Kl(b, j, !1),
|
|
38738
|
+
return K && Kl(b, j, !1), Nr(v, b, te);
|
|
38739
38739
|
$ = b.stateNode, ll.current = b;
|
|
38740
38740
|
var _e = ue && typeof j.getDerivedStateFromError != "function" ? null : $.render();
|
|
38741
38741
|
return b.flags |= 1, v !== null && ue ? (b.child = Wi(b, v.child, null, te), b.child = Wi(b, null, _e, te)) : $r(v, b, _e, te), b.memoizedState = $.state, K && Kl(b, j, !0), b.child;
|
|
@@ -38896,7 +38896,7 @@ Error generating stack: ` + te.message + `
|
|
|
38896
38896
|
function As(v, b) {
|
|
38897
38897
|
!(b.mode & 1) && v !== null && (v.alternate = null, b.alternate = null, b.flags |= 2);
|
|
38898
38898
|
}
|
|
38899
|
-
function
|
|
38899
|
+
function Nr(v, b, j) {
|
|
38900
38900
|
if (v !== null && (b.dependencies = v.dependencies), Qa |= b.lanes, !(j & b.childLanes))
|
|
38901
38901
|
return null;
|
|
38902
38902
|
if (v !== null && b.child !== v.child)
|
|
@@ -38928,7 +38928,7 @@ Error generating stack: ` + te.message + `
|
|
|
38928
38928
|
case 13:
|
|
38929
38929
|
var $ = b.memoizedState;
|
|
38930
38930
|
if ($ !== null)
|
|
38931
|
-
return $.dehydrated !== null ? (lr(nr, nr.current & 1), b.flags |= 128, null) : j & b.child.childLanes ? Uc(v, b, j) : (lr(nr, nr.current & 1), v =
|
|
38931
|
+
return $.dehydrated !== null ? (lr(nr, nr.current & 1), b.flags |= 128, null) : j & b.child.childLanes ? Uc(v, b, j) : (lr(nr, nr.current & 1), v = Nr(v, b, j), v !== null ? v.sibling : null);
|
|
38932
38932
|
lr(nr, nr.current & 1);
|
|
38933
38933
|
break;
|
|
38934
38934
|
case 19:
|
|
@@ -38949,7 +38949,7 @@ Error generating stack: ` + te.message + `
|
|
|
38949
38949
|
case 23:
|
|
38950
38950
|
return b.lanes = 0, Fc(v, b, j);
|
|
38951
38951
|
}
|
|
38952
|
-
return
|
|
38952
|
+
return Nr(v, b, j);
|
|
38953
38953
|
}
|
|
38954
38954
|
function Ct(v) {
|
|
38955
38955
|
v.flags |= 4;
|
|
@@ -38999,7 +38999,7 @@ Error generating stack: ` + te.message + `
|
|
|
38999
38999
|
for (var K = b.child; K !== null; ) {
|
|
39000
39000
|
if (K.tag === 5) {
|
|
39001
39001
|
var te = K.stateNode;
|
|
39002
|
-
j && $ && (te =
|
|
39002
|
+
j && $ && (te = bt(te, K.type, K.memoizedProps, K)), X(v, te);
|
|
39003
39003
|
} else if (K.tag === 6)
|
|
39004
39004
|
te = K.stateNode, j && $ && (te = Kt(te, K.memoizedProps, K)), X(v, te);
|
|
39005
39005
|
else if (K.tag !== 4) {
|
|
@@ -39024,9 +39024,9 @@ Error generating stack: ` + te.message + `
|
|
|
39024
39024
|
for (var K = b.child; K !== null; ) {
|
|
39025
39025
|
if (K.tag === 5) {
|
|
39026
39026
|
var te = K.stateNode;
|
|
39027
|
-
j && $ && (te =
|
|
39027
|
+
j && $ && (te = bt(te, K.type, K.memoizedProps, K)), Me(v, te);
|
|
39028
39028
|
} else if (K.tag === 6)
|
|
39029
|
-
te = K.stateNode, j && $ && (te = Kt(te, K.memoizedProps, K)),
|
|
39029
|
+
te = K.stateNode, j && $ && (te = Kt(te, K.memoizedProps, K)), Me(v, te);
|
|
39030
39030
|
else if (K.tag !== 4) {
|
|
39031
39031
|
if (K.tag === 22 && K.memoizedState !== null)
|
|
39032
39032
|
te = K.child, te !== null && (te.return = K), Os(v, K, !0, !0);
|
|
@@ -39049,7 +39049,7 @@ Error generating stack: ` + te.message + `
|
|
|
39049
39049
|
var j = b.stateNode;
|
|
39050
39050
|
if (!lo(v, b)) {
|
|
39051
39051
|
v = j.containerInfo;
|
|
39052
|
-
var $ =
|
|
39052
|
+
var $ = ze(v);
|
|
39053
39053
|
Os($, b, !1, !1), j.pendingChildren = $, Ct(b), ht(v, $);
|
|
39054
39054
|
}
|
|
39055
39055
|
}, dl = function(v, b, j, $, K) {
|
|
@@ -39423,7 +39423,7 @@ Error generating stack: ` + te.message + `
|
|
|
39423
39423
|
fe && Xr !== null && (Ei ? Tr(Xr, j.stateNode) : hr(Xr, j.stateNode));
|
|
39424
39424
|
break;
|
|
39425
39425
|
case 4:
|
|
39426
|
-
fe ? ($ = Xr, K = Ei, Xr = j.stateNode.containerInfo, Ei = !0, ki(v, b, j), Xr = $, Ei = K) : (ce && ($ = j.stateNode.containerInfo, K =
|
|
39426
|
+
fe ? ($ = Xr, K = Ei, Xr = j.stateNode.containerInfo, Ei = !0, ki(v, b, j), Xr = $, Ei = K) : (ce && ($ = j.stateNode.containerInfo, K = ze($), Et($, K)), ki(v, b, j));
|
|
39427
39427
|
break;
|
|
39428
39428
|
case 0:
|
|
39429
39429
|
case 11:
|
|
@@ -39571,7 +39571,7 @@ Error generating stack: ` + te.message + `
|
|
|
39571
39571
|
if (Fn(b, v), bn(v), $ & 4) {
|
|
39572
39572
|
if (fe && xe && j !== null && j.memoizedState.isDehydrated)
|
|
39573
39573
|
try {
|
|
39574
|
-
|
|
39574
|
+
Ar(b.containerInfo);
|
|
39575
39575
|
} catch (et) {
|
|
39576
39576
|
Jt(v, v.return, et);
|
|
39577
39577
|
}
|
|
@@ -39650,7 +39650,7 @@ Error generating stack: ` + te.message + `
|
|
|
39650
39650
|
if ($ === null) {
|
|
39651
39651
|
$ = b;
|
|
39652
39652
|
try {
|
|
39653
|
-
K = b.stateNode, j ?
|
|
39653
|
+
K = b.stateNode, j ? $e(K) : Mt(b.stateNode, b.memoizedProps);
|
|
39654
39654
|
} catch (et) {
|
|
39655
39655
|
Jt(v, v.return, et);
|
|
39656
39656
|
}
|
|
@@ -40275,7 +40275,7 @@ Error generating stack: ` + te.message + `
|
|
|
40275
40275
|
}
|
|
40276
40276
|
eo = !1;
|
|
40277
40277
|
}
|
|
40278
|
-
if (xn = 0, Br =
|
|
40278
|
+
if (xn = 0, Br = Pr = yr = null, ga = !1, bs = 0, qa.current = null, j === null || j.return === null) {
|
|
40279
40279
|
Mr = 1, Ds = b, jr = null;
|
|
40280
40280
|
break;
|
|
40281
40281
|
}
|
|
@@ -40633,7 +40633,7 @@ Error generating stack: ` + te.message + `
|
|
|
40633
40633
|
var $ = b.type;
|
|
40634
40634
|
As(v, b), v = b.pendingProps;
|
|
40635
40635
|
var K = ds(b, mn.current);
|
|
40636
|
-
ys(b, j), K =
|
|
40636
|
+
ys(b, j), K = Tt(null, b, $, v, K, j);
|
|
40637
40637
|
var te = Wt();
|
|
40638
40638
|
return b.flags |= 1, typeof K == "object" && K !== null && typeof K.render == "function" && K.$$typeof === void 0 ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, gn($) ? (te = !0, qs(b)) : te = !1, b.memoizedState = K.state !== null && K.state !== void 0 ? K.state : null, Go(b), K.updater = Ho, b.stateNode = K, K._reactInternals = b, hu(b, $, v, j), b = so(null, b, $, !0, te, j)) : (b.tag = 0, br && te && nu(b), $r(null, b, K, j), b = b.child), b;
|
|
40639
40639
|
case 16:
|
|
@@ -40682,7 +40682,7 @@ Error generating stack: ` + te.message + `
|
|
|
40682
40682
|
j.flags = j.flags & -3 | 4096, j = j.sibling;
|
|
40683
40683
|
else {
|
|
40684
40684
|
if (gs(), $ === K) {
|
|
40685
|
-
b =
|
|
40685
|
+
b = Nr(v, b, j);
|
|
40686
40686
|
break e;
|
|
40687
40687
|
}
|
|
40688
40688
|
$r(v, b, $, j);
|
|
@@ -40711,7 +40711,7 @@ Error generating stack: ` + te.message + `
|
|
|
40711
40711
|
if ($ = b.type._context, K = b.pendingProps, te = b.memoizedProps, ue = K.value, Ac(b, $, ue), te !== null)
|
|
40712
40712
|
if (pi(te.value, ue)) {
|
|
40713
40713
|
if (te.children === K.children && !Nn.current) {
|
|
40714
|
-
b =
|
|
40714
|
+
b = Nr(v, b, j);
|
|
40715
40715
|
break e;
|
|
40716
40716
|
}
|
|
40717
40717
|
} else
|
|
@@ -41304,7 +41304,7 @@ function requireReactReconciler_development() {
|
|
|
41304
41304
|
}
|
|
41305
41305
|
return null;
|
|
41306
41306
|
}
|
|
41307
|
-
var
|
|
41307
|
+
var $e = (
|
|
41308
41308
|
/* */
|
|
41309
41309
|
0
|
|
41310
41310
|
), jt = (
|
|
@@ -41322,10 +41322,10 @@ function requireReactReconciler_development() {
|
|
|
41322
41322
|
), Yr = (
|
|
41323
41323
|
/* */
|
|
41324
41324
|
32
|
|
41325
|
-
),
|
|
41325
|
+
), ze = (
|
|
41326
41326
|
/* */
|
|
41327
41327
|
64
|
|
41328
|
-
),
|
|
41328
|
+
), Me = (
|
|
41329
41329
|
/* */
|
|
41330
41330
|
128
|
|
41331
41331
|
), ht = (
|
|
@@ -41334,7 +41334,7 @@ function requireReactReconciler_development() {
|
|
|
41334
41334
|
), Et = (
|
|
41335
41335
|
/* */
|
|
41336
41336
|
512
|
|
41337
|
-
),
|
|
41337
|
+
), bt = (
|
|
41338
41338
|
/* */
|
|
41339
41339
|
1024
|
|
41340
41340
|
), Kt = (
|
|
@@ -41343,13 +41343,13 @@ function requireReactReconciler_development() {
|
|
|
41343
41343
|
), It = (
|
|
41344
41344
|
/* */
|
|
41345
41345
|
4096
|
|
41346
|
-
),
|
|
41346
|
+
), Cr = (
|
|
41347
41347
|
/* */
|
|
41348
41348
|
8192
|
|
41349
41349
|
), di = (
|
|
41350
41350
|
/* */
|
|
41351
41351
|
16384
|
|
41352
|
-
), ja = Kt | ut |
|
|
41352
|
+
), ja = Kt | ut | ze | Et | bt | di, la = (
|
|
41353
41353
|
/* */
|
|
41354
41354
|
32767
|
|
41355
41355
|
), Gi = (
|
|
@@ -41382,8 +41382,8 @@ function requireReactReconciler_development() {
|
|
|
41382
41382
|
), Ut = (
|
|
41383
41383
|
// TODO: Remove Update flag from before mutation phase by re-landing Visibility
|
|
41384
41384
|
// flag logic (see #20043)
|
|
41385
|
-
ut |
|
|
41386
|
-
),
|
|
41385
|
+
ut | bt | 0
|
|
41386
|
+
), Ar = Mt | ut | vr | Yr | Et | It | Cr, fr = ut | ze | Et | Cr, hr = Kt | vr, Tr = xt | Qt | Je, ua = a.ReactCurrentOwner;
|
|
41387
41387
|
function Ma(s) {
|
|
41388
41388
|
var d = s, N = s;
|
|
41389
41389
|
if (s.alternate)
|
|
@@ -41392,7 +41392,7 @@ function requireReactReconciler_development() {
|
|
|
41392
41392
|
else {
|
|
41393
41393
|
var D = d;
|
|
41394
41394
|
do
|
|
41395
|
-
d = D, (d.flags & (Mt | It)) !==
|
|
41395
|
+
d = D, (d.flags & (Mt | It)) !== $e && (N = d.return), D = d.return;
|
|
41396
41396
|
while (D);
|
|
41397
41397
|
}
|
|
41398
41398
|
return d.tag === k ? N : null;
|
|
@@ -41803,7 +41803,7 @@ function requireReactReconciler_development() {
|
|
|
41803
41803
|
function yr(s) {
|
|
41804
41804
|
xr(nr, s), xr(_i, s);
|
|
41805
41805
|
}
|
|
41806
|
-
function
|
|
41806
|
+
function Pr(s) {
|
|
41807
41807
|
xr(nr, s), xr(_i, s);
|
|
41808
41808
|
}
|
|
41809
41809
|
function Br(s, d, N) {
|
|
@@ -41873,7 +41873,7 @@ function requireReactReconciler_development() {
|
|
|
41873
41873
|
throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.");
|
|
41874
41874
|
}
|
|
41875
41875
|
}
|
|
41876
|
-
var
|
|
41876
|
+
var wr = 0, Ko = 1, Tt = (
|
|
41877
41877
|
/* */
|
|
41878
41878
|
0
|
|
41879
41879
|
), Wt = (
|
|
@@ -42117,8 +42117,8 @@ function requireReactReconciler_development() {
|
|
|
42117
42117
|
var Pe = s.entangledLanes;
|
|
42118
42118
|
if (Pe !== Ue)
|
|
42119
42119
|
for (var Fe = s.entanglements, Ge = D & Pe; Ge > 0; ) {
|
|
42120
|
-
var
|
|
42121
|
-
D |= Fe[
|
|
42120
|
+
var Ie = Sa(Ge), gt = 1 << Ie;
|
|
42121
|
+
D |= Fe[Ie], Ge &= ~gt;
|
|
42122
42122
|
}
|
|
42123
42123
|
return D;
|
|
42124
42124
|
}
|
|
@@ -42229,7 +42229,7 @@ function requireReactReconciler_development() {
|
|
|
42229
42229
|
function As(s) {
|
|
42230
42230
|
return Sa(s);
|
|
42231
42231
|
}
|
|
42232
|
-
function
|
|
42232
|
+
function Nr(s, d) {
|
|
42233
42233
|
return (s & d) !== Ue;
|
|
42234
42234
|
}
|
|
42235
42235
|
function Ps(s, d) {
|
|
@@ -42405,7 +42405,7 @@ function requireReactReconciler_development() {
|
|
|
42405
42405
|
function co(s, d) {
|
|
42406
42406
|
if (an && typeof an.onCommitFiberRoot == "function")
|
|
42407
42407
|
try {
|
|
42408
|
-
var N = (s.current.flags &
|
|
42408
|
+
var N = (s.current.flags & Me) === Me;
|
|
42409
42409
|
if (A) {
|
|
42410
42410
|
var D;
|
|
42411
42411
|
switch (d) {
|
|
@@ -42579,7 +42579,7 @@ function requireReactReconciler_development() {
|
|
|
42579
42579
|
}
|
|
42580
42580
|
var Vr = [], es = 0, Fs = null, js = 0, ai = [], Wr = 0, Ea = null, Di = 1, bi = "";
|
|
42581
42581
|
function ts(s) {
|
|
42582
|
-
return Xn(), (s.flags & He) !==
|
|
42582
|
+
return Xn(), (s.flags & He) !== $e;
|
|
42583
42583
|
}
|
|
42584
42584
|
function Kc(s) {
|
|
42585
42585
|
return Xn(), js;
|
|
@@ -42595,7 +42595,7 @@ function requireReactReconciler_development() {
|
|
|
42595
42595
|
Xn(), ai[Wr++] = Di, ai[Wr++] = bi, ai[Wr++] = Ea, Ea = s;
|
|
42596
42596
|
var D = Di, M = bi, Y = El(D) - 1, re = D & ~(1 << Y), ae = N + 1, le = El(d) + Y;
|
|
42597
42597
|
if (le > 30) {
|
|
42598
|
-
var me = Y - Y % 5, ve = (1 << me) - 1, Ee = (re & ve).toString(32), Pe = re >> me, Fe = Y - me, Ge = El(d) + Fe,
|
|
42598
|
+
var me = Y - Y % 5, ve = (1 << me) - 1, Ee = (re & ve).toString(32), Pe = re >> me, Fe = Y - me, Ge = El(d) + Fe, Ie = ae << Fe, gt = Ie | Pe, Pt = Ee + M;
|
|
42599
42599
|
Di = 1 << Ge | gt, bi = Pt;
|
|
42600
42600
|
} else {
|
|
42601
42601
|
var St = ae << Y, dr = St | re, er = M;
|
|
@@ -42660,7 +42660,7 @@ function requireReactReconciler_development() {
|
|
|
42660
42660
|
break;
|
|
42661
42661
|
}
|
|
42662
42662
|
case F: {
|
|
42663
|
-
var N = (s.mode & Wt) !==
|
|
42663
|
+
var N = (s.mode & Wt) !== Tt;
|
|
42664
42664
|
Pf(
|
|
42665
42665
|
s.type,
|
|
42666
42666
|
s.memoizedProps,
|
|
@@ -42711,7 +42711,7 @@ function requireReactReconciler_development() {
|
|
|
42711
42711
|
var re = s.type, ae = s.memoizedProps, le = s.stateNode;
|
|
42712
42712
|
switch (d.tag) {
|
|
42713
42713
|
case F: {
|
|
42714
|
-
var me = d.type, ve = d.pendingProps, Ee = (s.mode & Wt) !==
|
|
42714
|
+
var me = d.type, ve = d.pendingProps, Ee = (s.mode & Wt) !== Tt;
|
|
42715
42715
|
Ac(
|
|
42716
42716
|
re,
|
|
42717
42717
|
ae,
|
|
@@ -42724,7 +42724,7 @@ function requireReactReconciler_development() {
|
|
|
42724
42724
|
break;
|
|
42725
42725
|
}
|
|
42726
42726
|
case G: {
|
|
42727
|
-
var Pe = d.pendingProps, Fe = (s.mode & Wt) !==
|
|
42727
|
+
var Pe = d.pendingProps, Fe = (s.mode & Wt) !== Tt;
|
|
42728
42728
|
uu(
|
|
42729
42729
|
re,
|
|
42730
42730
|
ae,
|
|
@@ -42743,19 +42743,19 @@ function requireReactReconciler_development() {
|
|
|
42743
42743
|
break;
|
|
42744
42744
|
}
|
|
42745
42745
|
case I: {
|
|
42746
|
-
var Ge = s.memoizedState,
|
|
42747
|
-
if (
|
|
42746
|
+
var Ge = s.memoizedState, Ie = Ge.dehydrated;
|
|
42747
|
+
if (Ie !== null)
|
|
42748
42748
|
switch (d.tag) {
|
|
42749
42749
|
case F:
|
|
42750
42750
|
var gt = d.type, Pt = d.pendingProps;
|
|
42751
|
-
vs(
|
|
42751
|
+
vs(Ie, gt, Pt);
|
|
42752
42752
|
break;
|
|
42753
42753
|
case G:
|
|
42754
42754
|
var St = d.pendingProps;
|
|
42755
|
-
ou(
|
|
42755
|
+
ou(Ie, St);
|
|
42756
42756
|
break;
|
|
42757
42757
|
case I:
|
|
42758
|
-
lu(
|
|
42758
|
+
lu(Ie);
|
|
42759
42759
|
break;
|
|
42760
42760
|
}
|
|
42761
42761
|
break;
|
|
@@ -42797,7 +42797,7 @@ function requireReactReconciler_development() {
|
|
|
42797
42797
|
}
|
|
42798
42798
|
}
|
|
42799
42799
|
function Ms(s) {
|
|
42800
|
-
return (s.mode & Wt) !==
|
|
42800
|
+
return (s.mode & Wt) !== Tt && (s.flags & Me) === $e;
|
|
42801
42801
|
}
|
|
42802
42802
|
function yo(s) {
|
|
42803
42803
|
throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
|
|
@@ -42836,7 +42836,7 @@ function requireReactReconciler_development() {
|
|
|
42836
42836
|
if (Y !== null)
|
|
42837
42837
|
switch (Y.tag) {
|
|
42838
42838
|
case k: {
|
|
42839
|
-
var re = Y.stateNode.containerInfo, ae = (Y.mode & Wt) !==
|
|
42839
|
+
var re = Y.stateNode.containerInfo, ae = (Y.mode & Wt) !== Tt;
|
|
42840
42840
|
gs(
|
|
42841
42841
|
re,
|
|
42842
42842
|
d,
|
|
@@ -42847,7 +42847,7 @@ function requireReactReconciler_development() {
|
|
|
42847
42847
|
break;
|
|
42848
42848
|
}
|
|
42849
42849
|
case F: {
|
|
42850
|
-
var le = Y.type, me = Y.memoizedProps, ve = Y.stateNode, Ee = (Y.mode & Wt) !==
|
|
42850
|
+
var le = Y.type, me = Y.memoizedProps, ve = Y.stateNode, Ee = (Y.mode & Wt) !== Tt;
|
|
42851
42851
|
su(
|
|
42852
42852
|
le,
|
|
42853
42853
|
me,
|
|
@@ -43246,9 +43246,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43246
43246
|
M = null;
|
|
43247
43247
|
break;
|
|
43248
43248
|
}
|
|
43249
|
-
var
|
|
43250
|
-
if (
|
|
43251
|
-
|
|
43249
|
+
var Ie = M.sibling;
|
|
43250
|
+
if (Ie !== null) {
|
|
43251
|
+
Ie.return = M.return, M = Ie;
|
|
43252
43252
|
break;
|
|
43253
43253
|
}
|
|
43254
43254
|
M = M.return;
|
|
@@ -43261,7 +43261,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43261
43261
|
var N = s.dependencies;
|
|
43262
43262
|
if (N !== null) {
|
|
43263
43263
|
var D = N.firstContext;
|
|
43264
|
-
D !== null && (
|
|
43264
|
+
D !== null && (Nr(N.lanes, d) && Zu(), N.firstContext = null);
|
|
43265
43265
|
}
|
|
43266
43266
|
}
|
|
43267
43267
|
function Jr(s) {
|
|
@@ -43325,9 +43325,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43325
43325
|
function ld(s, d) {
|
|
43326
43326
|
s.lanes = Ct(s.lanes, d);
|
|
43327
43327
|
var N = s.alternate;
|
|
43328
|
-
N !== null && (N.lanes = Ct(N.lanes, d)), N === null && (s.flags & (Mt | It)) !==
|
|
43328
|
+
N !== null && (N.lanes = Ct(N.lanes, d)), N === null && (s.flags & (Mt | It)) !== $e && Qg(s);
|
|
43329
43329
|
for (var D = s, M = s.return; M !== null; )
|
|
43330
|
-
M.childLanes = Ct(M.childLanes, d), N = M.alternate, N !== null ? N.childLanes = Ct(N.childLanes, d) : (M.flags & (Mt | It)) !==
|
|
43330
|
+
M.childLanes = Ct(M.childLanes, d), N = M.alternate, N !== null ? N.childLanes = Ct(N.childLanes, d) : (M.flags & (Mt | It)) !== $e && Qg(s), D = M, M = M.return;
|
|
43331
43331
|
if (D.tag === k) {
|
|
43332
43332
|
var Y = D.stateNode;
|
|
43333
43333
|
return Y;
|
|
@@ -43455,7 +43455,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43455
43455
|
return re;
|
|
43456
43456
|
}
|
|
43457
43457
|
case $f:
|
|
43458
|
-
s.flags = s.flags & ~Lr |
|
|
43458
|
+
s.flags = s.flags & ~Lr | Me;
|
|
43459
43459
|
case Qp: {
|
|
43460
43460
|
var le = N.payload, me;
|
|
43461
43461
|
if (typeof le == "function") {
|
|
@@ -43495,7 +43495,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43495
43495
|
}
|
|
43496
43496
|
}
|
|
43497
43497
|
if (Y !== null) {
|
|
43498
|
-
var Fe = M.baseState, Ge = Ue,
|
|
43498
|
+
var Fe = M.baseState, Ge = Ue, Ie = null, gt = null, Pt = null, St = Y;
|
|
43499
43499
|
do {
|
|
43500
43500
|
var dr = St.lane, er = St.eventTime;
|
|
43501
43501
|
if (Ps(D, dr)) {
|
|
@@ -43518,7 +43518,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43518
43518
|
if (be !== null && // If the update was already committed, we should not queue its
|
|
43519
43519
|
// callback again.
|
|
43520
43520
|
St.lane !== zr) {
|
|
43521
|
-
s.flags |=
|
|
43521
|
+
s.flags |= ze;
|
|
43522
43522
|
var Xe = M.effects;
|
|
43523
43523
|
Xe === null ? M.effects = [St] : Xe.push(St);
|
|
43524
43524
|
}
|
|
@@ -43531,7 +43531,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43531
43531
|
callback: St.callback,
|
|
43532
43532
|
next: null
|
|
43533
43533
|
};
|
|
43534
|
-
Pt === null ? (gt = Pt = Te,
|
|
43534
|
+
Pt === null ? (gt = Pt = Te, Ie = Fe) : Pt = Pt.next = Te, Ge = Ct(Ge, dr);
|
|
43535
43535
|
}
|
|
43536
43536
|
if (St = St.next, St === null) {
|
|
43537
43537
|
if (ae = M.shared.pending, ae === null)
|
|
@@ -43540,7 +43540,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43540
43540
|
ct.next = null, St = nt, M.lastBaseUpdate = ct, M.shared.pending = null;
|
|
43541
43541
|
}
|
|
43542
43542
|
} while (!0);
|
|
43543
|
-
Pt === null && (
|
|
43543
|
+
Pt === null && (Ie = Fe), M.baseState = Ie, M.firstBaseUpdate = gt, M.lastBaseUpdate = Pt;
|
|
43544
43544
|
var Zt = M.shared.interleaved;
|
|
43545
43545
|
if (Zt !== null) {
|
|
43546
43546
|
var Nt = Zt;
|
|
@@ -43703,8 +43703,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43703
43703
|
Xf.has(Pe) || (Xf.add(Pe), c("`%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.", Pe, ve.state === null ? "null" : "undefined", Pe));
|
|
43704
43704
|
}
|
|
43705
43705
|
if (typeof d.getDerivedStateFromProps == "function" || typeof ve.getSnapshotBeforeUpdate == "function") {
|
|
43706
|
-
var Fe = null, Ge = null,
|
|
43707
|
-
if (typeof ve.componentWillMount == "function" && ve.componentWillMount.__suppressDeprecationWarning !== !0 ? Fe = "componentWillMount" : typeof ve.UNSAFE_componentWillMount == "function" && (Fe = "UNSAFE_componentWillMount"), typeof ve.componentWillReceiveProps == "function" && ve.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? Ge = "componentWillReceiveProps" : typeof ve.UNSAFE_componentWillReceiveProps == "function" && (Ge = "UNSAFE_componentWillReceiveProps"), typeof ve.componentWillUpdate == "function" && ve.componentWillUpdate.__suppressDeprecationWarning !== !0 ?
|
|
43706
|
+
var Fe = null, Ge = null, Ie = null;
|
|
43707
|
+
if (typeof ve.componentWillMount == "function" && ve.componentWillMount.__suppressDeprecationWarning !== !0 ? Fe = "componentWillMount" : typeof ve.UNSAFE_componentWillMount == "function" && (Fe = "UNSAFE_componentWillMount"), typeof ve.componentWillReceiveProps == "function" && ve.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? Ge = "componentWillReceiveProps" : typeof ve.UNSAFE_componentWillReceiveProps == "function" && (Ge = "UNSAFE_componentWillReceiveProps"), typeof ve.componentWillUpdate == "function" && ve.componentWillUpdate.__suppressDeprecationWarning !== !0 ? Ie = "componentWillUpdate" : typeof ve.UNSAFE_componentWillUpdate == "function" && (Ie = "UNSAFE_componentWillUpdate"), Fe !== null || Ge !== null || Ie !== null) {
|
|
43708
43708
|
var gt = Ce(d) || "Component", Pt = typeof d.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
43709
43709
|
Qf.has(gt) || (Qf.add(gt), c(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
43710
43710
|
|
|
@@ -43713,8 +43713,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43713
43713
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
43714
43714
|
https://reactjs.org/link/unsafe-component-lifecycles`, gt, Pt, Fe !== null ? `
|
|
43715
43715
|
` + Fe : "", Ge !== null ? `
|
|
43716
|
-
` + Ge : "",
|
|
43717
|
-
` +
|
|
43716
|
+
` + Ge : "", Ie !== null ? `
|
|
43717
|
+
` + Ie : ""));
|
|
43718
43718
|
}
|
|
43719
43719
|
}
|
|
43720
43720
|
}
|
|
@@ -43756,7 +43756,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, gt, Pt, Fe !== null ? `
|
|
|
43756
43756
|
var le = d.getDerivedStateFromProps;
|
|
43757
43757
|
if (typeof le == "function" && (rh(s, d, le, N), M.state = s.memoizedState), typeof d.getDerivedStateFromProps != "function" && typeof M.getSnapshotBeforeUpdate != "function" && (typeof M.UNSAFE_componentWillMount == "function" || typeof M.componentWillMount == "function") && (Bv(s, M), hd(s, N, M, D), M.state = s.memoizedState), typeof M.componentDidMount == "function") {
|
|
43758
43758
|
var me = ut;
|
|
43759
|
-
me |= xt, (s.mode & kn) !==
|
|
43759
|
+
me |= xt, (s.mode & kn) !== Tt && (me |= Ht), s.flags |= me;
|
|
43760
43760
|
}
|
|
43761
43761
|
}
|
|
43762
43762
|
function zv(s, d, N, D) {
|
|
@@ -43775,25 +43775,25 @@ https://reactjs.org/link/unsafe-component-lifecycles`, gt, Pt, Fe !== null ? `
|
|
|
43775
43775
|
if (hd(s, N, M, D), Fe = s.memoizedState, Y === N && Pe === Fe && !Es() && !pd()) {
|
|
43776
43776
|
if (typeof M.componentDidMount == "function") {
|
|
43777
43777
|
var Ge = ut;
|
|
43778
|
-
Ge |= xt, (s.mode & kn) !==
|
|
43778
|
+
Ge |= xt, (s.mode & kn) !== Tt && (Ge |= Ht), s.flags |= Ge;
|
|
43779
43779
|
}
|
|
43780
43780
|
return !1;
|
|
43781
43781
|
}
|
|
43782
43782
|
typeof ve == "function" && (rh(s, d, ve, N), Fe = s.memoizedState);
|
|
43783
|
-
var
|
|
43784
|
-
if (
|
|
43783
|
+
var Ie = pd() || am(s, d, Y, N, Pe, Fe, le);
|
|
43784
|
+
if (Ie) {
|
|
43785
43785
|
if (!Ee && (typeof M.UNSAFE_componentWillMount == "function" || typeof M.componentWillMount == "function") && (typeof M.componentWillMount == "function" && M.componentWillMount(), typeof M.UNSAFE_componentWillMount == "function" && M.UNSAFE_componentWillMount()), typeof M.componentDidMount == "function") {
|
|
43786
43786
|
var gt = ut;
|
|
43787
|
-
gt |= xt, (s.mode & kn) !==
|
|
43787
|
+
gt |= xt, (s.mode & kn) !== Tt && (gt |= Ht), s.flags |= gt;
|
|
43788
43788
|
}
|
|
43789
43789
|
} else {
|
|
43790
43790
|
if (typeof M.componentDidMount == "function") {
|
|
43791
43791
|
var Pt = ut;
|
|
43792
|
-
Pt |= xt, (s.mode & kn) !==
|
|
43792
|
+
Pt |= xt, (s.mode & kn) !== Tt && (Pt |= Ht), s.flags |= Pt;
|
|
43793
43793
|
}
|
|
43794
43794
|
s.memoizedProps = N, s.memoizedState = Fe;
|
|
43795
43795
|
}
|
|
43796
|
-
return M.props = N, M.state = Fe, M.context = le,
|
|
43796
|
+
return M.props = N, M.state = Fe, M.context = le, Ie;
|
|
43797
43797
|
}
|
|
43798
43798
|
function $v(s, d, N, D, M) {
|
|
43799
43799
|
var Y = d.stateNode;
|
|
@@ -43809,16 +43809,16 @@ https://reactjs.org/link/unsafe-component-lifecycles`, gt, Pt, Fe !== null ? `
|
|
|
43809
43809
|
}
|
|
43810
43810
|
var Fe = N.getDerivedStateFromProps, Ge = typeof Fe == "function" || typeof Y.getSnapshotBeforeUpdate == "function";
|
|
43811
43811
|
!Ge && (typeof Y.UNSAFE_componentWillReceiveProps == "function" || typeof Y.componentWillReceiveProps == "function") && (re !== le || me !== Ee) && lm(d, Y, D, Ee), em();
|
|
43812
|
-
var
|
|
43813
|
-
if (hd(d, D, Y, M), gt = d.memoizedState, re === le &&
|
|
43814
|
-
return typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps ||
|
|
43812
|
+
var Ie = d.memoizedState, gt = Y.state = Ie;
|
|
43813
|
+
if (hd(d, D, Y, M), gt = d.memoizedState, re === le && Ie === gt && !Es() && !pd() && !p)
|
|
43814
|
+
return typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= ut), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= bt), !1;
|
|
43815
43815
|
typeof Fe == "function" && (rh(d, N, Fe, D), gt = d.memoizedState);
|
|
43816
|
-
var Pt = pd() || am(d, N, ae, D,
|
|
43816
|
+
var Pt = pd() || am(d, N, ae, D, Ie, gt, Ee) || // TODO: In some cases, we'll end up checking if context has changed twice,
|
|
43817
43817
|
// both before and after `shouldComponentUpdate` has been called. Not ideal,
|
|
43818
43818
|
// but I'm loath to refactor this function. This only happens for memoized
|
|
43819
43819
|
// components so it's not that common.
|
|
43820
43820
|
p;
|
|
43821
|
-
return Pt ? (!Ge && (typeof Y.UNSAFE_componentWillUpdate == "function" || typeof Y.componentWillUpdate == "function") && (typeof Y.componentWillUpdate == "function" && Y.componentWillUpdate(D, gt, Ee), typeof Y.UNSAFE_componentWillUpdate == "function" && Y.UNSAFE_componentWillUpdate(D, gt, Ee)), typeof Y.componentDidUpdate == "function" && (d.flags |= ut), typeof Y.getSnapshotBeforeUpdate == "function" && (d.flags |=
|
|
43821
|
+
return Pt ? (!Ge && (typeof Y.UNSAFE_componentWillUpdate == "function" || typeof Y.componentWillUpdate == "function") && (typeof Y.componentWillUpdate == "function" && Y.componentWillUpdate(D, gt, Ee), typeof Y.UNSAFE_componentWillUpdate == "function" && Y.UNSAFE_componentWillUpdate(D, gt, Ee)), typeof Y.componentDidUpdate == "function" && (d.flags |= ut), typeof Y.getSnapshotBeforeUpdate == "function" && (d.flags |= bt)) : (typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= ut), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= bt), d.memoizedProps = D, d.memoizedState = gt), Y.props = D, Y.state = gt, Y.context = Ee, Pt;
|
|
43822
43822
|
}
|
|
43823
43823
|
var ah, sh, oh, lh, uh, um = function(s, d) {
|
|
43824
43824
|
};
|
|
@@ -44074,46 +44074,46 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44074
44074
|
}
|
|
44075
44075
|
return ke;
|
|
44076
44076
|
}
|
|
44077
|
-
function
|
|
44077
|
+
function Ie(Te, ke, be, Xe) {
|
|
44078
44078
|
for (var ct = null, nt = 0; nt < be.length; nt++) {
|
|
44079
44079
|
var Zt = be[nt];
|
|
44080
44080
|
ct = Ge(Zt, ct, Te);
|
|
44081
44081
|
}
|
|
44082
|
-
for (var Nt = null, ir = null, Yt = ke, Er = 0,
|
|
44083
|
-
Yt.index >
|
|
44084
|
-
var Gn = Pe(Te, Yt, be[
|
|
44082
|
+
for (var Nt = null, ir = null, Yt = ke, Er = 0, Rt = 0, Ur = null; Yt !== null && Rt < be.length; Rt++) {
|
|
44083
|
+
Yt.index > Rt ? (Ur = Yt, Yt = null) : Ur = Yt.sibling;
|
|
44084
|
+
var Gn = Pe(Te, Yt, be[Rt], Xe);
|
|
44085
44085
|
if (Gn === null) {
|
|
44086
44086
|
Yt === null && (Yt = Ur);
|
|
44087
44087
|
break;
|
|
44088
44088
|
}
|
|
44089
|
-
s && Yt && Gn.alternate === null && d(Te, Yt), Er = Y(Gn, Er,
|
|
44089
|
+
s && Yt && Gn.alternate === null && d(Te, Yt), Er = Y(Gn, Er, Rt), ir === null ? Nt = Gn : ir.sibling = Gn, ir = Gn, Yt = Ur;
|
|
44090
44090
|
}
|
|
44091
|
-
if (
|
|
44091
|
+
if (Rt === be.length) {
|
|
44092
44092
|
if (N(Te, Yt), j()) {
|
|
44093
|
-
var wn =
|
|
44093
|
+
var wn = Rt;
|
|
44094
44094
|
Ji(Te, wn);
|
|
44095
44095
|
}
|
|
44096
44096
|
return Nt;
|
|
44097
44097
|
}
|
|
44098
44098
|
if (Yt === null) {
|
|
44099
|
-
for (;
|
|
44100
|
-
var Ci = Ee(Te, be[
|
|
44101
|
-
Ci !== null && (Er = Y(Ci, Er,
|
|
44099
|
+
for (; Rt < be.length; Rt++) {
|
|
44100
|
+
var Ci = Ee(Te, be[Rt], Xe);
|
|
44101
|
+
Ci !== null && (Er = Y(Ci, Er, Rt), ir === null ? Nt = Ci : ir.sibling = Ci, ir = Ci);
|
|
44102
44102
|
}
|
|
44103
44103
|
if (j()) {
|
|
44104
|
-
var Zn =
|
|
44104
|
+
var Zn = Rt;
|
|
44105
44105
|
Ji(Te, Zn);
|
|
44106
44106
|
}
|
|
44107
44107
|
return Nt;
|
|
44108
44108
|
}
|
|
44109
|
-
for (var ei = D(Te, Yt);
|
|
44110
|
-
var Bn = Fe(ei, Te,
|
|
44111
|
-
Bn !== null && (s && Bn.alternate !== null && ei.delete(Bn.key === null ?
|
|
44109
|
+
for (var ei = D(Te, Yt); Rt < be.length; Rt++) {
|
|
44110
|
+
var Bn = Fe(ei, Te, Rt, be[Rt], Xe);
|
|
44111
|
+
Bn !== null && (s && Bn.alternate !== null && ei.delete(Bn.key === null ? Rt : Bn.key), Er = Y(Bn, Er, Rt), ir === null ? Nt = Bn : ir.sibling = Bn, ir = Bn);
|
|
44112
44112
|
}
|
|
44113
44113
|
if (s && ei.forEach(function($l) {
|
|
44114
44114
|
return d(Te, $l);
|
|
44115
44115
|
}), j()) {
|
|
44116
|
-
var us =
|
|
44116
|
+
var us = Rt;
|
|
44117
44117
|
Ji(Te, us);
|
|
44118
44118
|
}
|
|
44119
44119
|
return Nt;
|
|
@@ -44135,14 +44135,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44135
44135
|
var Yt = ct.call(be);
|
|
44136
44136
|
if (Yt == null)
|
|
44137
44137
|
throw new Error("An iterable object provided no iterator.");
|
|
44138
|
-
for (var Er = null,
|
|
44138
|
+
for (var Er = null, Rt = null, Ur = ke, Gn = 0, wn = 0, Ci = null, Zn = Yt.next(); Ur !== null && !Zn.done; wn++, Zn = Yt.next()) {
|
|
44139
44139
|
Ur.index > wn ? (Ci = Ur, Ur = null) : Ci = Ur.sibling;
|
|
44140
44140
|
var ei = Pe(Te, Ur, Zn.value, Xe);
|
|
44141
44141
|
if (ei === null) {
|
|
44142
44142
|
Ur === null && (Ur = Ci);
|
|
44143
44143
|
break;
|
|
44144
44144
|
}
|
|
44145
|
-
s && Ur && ei.alternate === null && d(Te, Ur), Gn = Y(ei, Gn, wn),
|
|
44145
|
+
s && Ur && ei.alternate === null && d(Te, Ur), Gn = Y(ei, Gn, wn), Rt === null ? Er = ei : Rt.sibling = ei, Rt = ei, Ur = Ci;
|
|
44146
44146
|
}
|
|
44147
44147
|
if (Zn.done) {
|
|
44148
44148
|
if (N(Te, Ur), j()) {
|
|
@@ -44154,7 +44154,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44154
44154
|
if (Ur === null) {
|
|
44155
44155
|
for (; !Zn.done; wn++, Zn = Yt.next()) {
|
|
44156
44156
|
var us = Ee(Te, Zn.value, Xe);
|
|
44157
|
-
us !== null && (Gn = Y(us, Gn, wn),
|
|
44157
|
+
us !== null && (Gn = Y(us, Gn, wn), Rt === null ? Er = us : Rt.sibling = us, Rt = us);
|
|
44158
44158
|
}
|
|
44159
44159
|
if (j()) {
|
|
44160
44160
|
var $l = wn;
|
|
@@ -44164,7 +44164,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44164
44164
|
}
|
|
44165
44165
|
for (var gc = D(Te, Ur); !Zn.done; wn++, Zn = Yt.next()) {
|
|
44166
44166
|
var Fa = Fe(gc, Te, wn, Zn.value, Xe);
|
|
44167
|
-
Fa !== null && (s && Fa.alternate !== null && gc.delete(Fa.key === null ? wn : Fa.key), Gn = Y(Fa, Gn, wn),
|
|
44167
|
+
Fa !== null && (s && Fa.alternate !== null && gc.delete(Fa.key === null ? wn : Fa.key), Gn = Y(Fa, Gn, wn), Rt === null ? Er = Fa : Rt.sibling = Fa, Rt = Fa);
|
|
44168
44168
|
}
|
|
44169
44169
|
if (s && gc.forEach(function(l1) {
|
|
44170
44170
|
return d(Te, l1);
|
|
@@ -44249,7 +44249,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44249
44249
|
return er(Te, ke, Zt(nt), Xe);
|
|
44250
44250
|
}
|
|
44251
44251
|
if (Vt(be))
|
|
44252
|
-
return
|
|
44252
|
+
return Ie(Te, ke, be, Xe);
|
|
44253
44253
|
if (he(be))
|
|
44254
44254
|
return gt(Te, ke, be, Xe);
|
|
44255
44255
|
gd(Te, be);
|
|
@@ -44337,7 +44337,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44337
44337
|
} else if (d.tag === ie && // revealOrder undefined can't be trusted because it don't
|
|
44338
44338
|
// keep track of whether it suspended or not.
|
|
44339
44339
|
d.memoizedProps.revealOrder !== void 0) {
|
|
44340
|
-
var M = (d.flags &
|
|
44340
|
+
var M = (d.flags & Me) !== $e;
|
|
44341
44341
|
if (M)
|
|
44342
44342
|
return d;
|
|
44343
44343
|
} else if (d.child !== null) {
|
|
@@ -44458,7 +44458,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44458
44458
|
// need to mark fibers that commit in an incomplete state, somehow. For
|
|
44459
44459
|
// now I'll disable the warning that most of the bugs that would trigger
|
|
44460
44460
|
// it are either exclusive to concurrent mode or exist in both.
|
|
44461
|
-
(s.mode & Wt) !==
|
|
44461
|
+
(s.mode & Wt) !== Tt && c("Internal React error: Expected static flag was missing. Please notify the React team."), Sd = !1, le)
|
|
44462
44462
|
throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
|
|
44463
44463
|
return re;
|
|
44464
44464
|
}
|
|
@@ -44467,7 +44467,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44467
44467
|
return Wu = 0, s;
|
|
44468
44468
|
}
|
|
44469
44469
|
function gm(s, d, N) {
|
|
44470
|
-
d.updateQueue = s.updateQueue, (d.mode & kn) !==
|
|
44470
|
+
d.updateQueue = s.updateQueue, (d.mode & kn) !== Tt ? d.flags &= ~(Gt | Ht | Kt | ut) : d.flags &= ~(Kt | ut), s.lanes = lo(s.lanes, N);
|
|
44471
44471
|
}
|
|
44472
44472
|
function vm() {
|
|
44473
44473
|
if (rt.current = Dd, Sd) {
|
|
@@ -44552,9 +44552,9 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44552
44552
|
Y.baseQueue !== re && c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), Y.baseQueue = re = ae, M.pending = null;
|
|
44553
44553
|
}
|
|
44554
44554
|
if (re !== null) {
|
|
44555
|
-
var ve = re.next, Ee = Y.baseState, Pe = null, Fe = null, Ge = null,
|
|
44555
|
+
var ve = re.next, Ee = Y.baseState, Pe = null, Fe = null, Ge = null, Ie = ve;
|
|
44556
44556
|
do {
|
|
44557
|
-
var gt =
|
|
44557
|
+
var gt = Ie.lane;
|
|
44558
44558
|
if (Ps(So, gt)) {
|
|
44559
44559
|
if (Ge !== null) {
|
|
44560
44560
|
var St = {
|
|
@@ -44562,31 +44562,31 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44562
44562
|
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
44563
44563
|
// this will never be skipped by the check above.
|
|
44564
44564
|
lane: zr,
|
|
44565
|
-
action:
|
|
44566
|
-
hasEagerState:
|
|
44567
|
-
eagerState:
|
|
44565
|
+
action: Ie.action,
|
|
44566
|
+
hasEagerState: Ie.hasEagerState,
|
|
44567
|
+
eagerState: Ie.eagerState,
|
|
44568
44568
|
next: null
|
|
44569
44569
|
};
|
|
44570
44570
|
Ge = Ge.next = St;
|
|
44571
44571
|
}
|
|
44572
|
-
if (
|
|
44573
|
-
Ee =
|
|
44572
|
+
if (Ie.hasEagerState)
|
|
44573
|
+
Ee = Ie.eagerState;
|
|
44574
44574
|
else {
|
|
44575
|
-
var dr =
|
|
44575
|
+
var dr = Ie.action;
|
|
44576
44576
|
Ee = s(Ee, dr);
|
|
44577
44577
|
}
|
|
44578
44578
|
} else {
|
|
44579
44579
|
var Pt = {
|
|
44580
44580
|
lane: gt,
|
|
44581
|
-
action:
|
|
44582
|
-
hasEagerState:
|
|
44583
|
-
eagerState:
|
|
44581
|
+
action: Ie.action,
|
|
44582
|
+
hasEagerState: Ie.hasEagerState,
|
|
44583
|
+
eagerState: Ie.eagerState,
|
|
44584
44584
|
next: null
|
|
44585
44585
|
};
|
|
44586
44586
|
Ge === null ? (Fe = Ge = Pt, Pe = Ee) : Ge = Ge.next = Pt, cr.lanes = Ct(cr.lanes, gt), hc(gt);
|
|
44587
44587
|
}
|
|
44588
|
-
|
|
44589
|
-
} while (
|
|
44588
|
+
Ie = Ie.next;
|
|
44589
|
+
} while (Ie !== null && Ie !== ve);
|
|
44590
44590
|
Ge === null ? Pe = Ee : Ge.next = Fe, Ir(Ee, D.memoizedState) || Zu(), D.memoizedState = Ee, D.baseState = Pe, D.baseQueue = Ge, M.lastRenderedState = Ee;
|
|
44591
44591
|
}
|
|
44592
44592
|
var er = M.interleaved;
|
|
@@ -44775,7 +44775,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44775
44775
|
cr.flags |= s, M.memoizedState = Yu(un | d, N, re, Y);
|
|
44776
44776
|
}
|
|
44777
44777
|
function Cd(s, d) {
|
|
44778
|
-
return (cr.mode & kn) !==
|
|
44778
|
+
return (cr.mode & kn) !== Tt ? Ku(Gt | Kt | Qt, Tn, s, d) : Ku(Kt | Qt, Tn, s, d);
|
|
44779
44779
|
}
|
|
44780
44780
|
function Xu(s, d) {
|
|
44781
44781
|
return Rd(Kt, Tn, s, d);
|
|
@@ -44788,7 +44788,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44788
44788
|
}
|
|
44789
44789
|
function wh(s, d) {
|
|
44790
44790
|
var N = ut;
|
|
44791
|
-
return N |= xt, (cr.mode & kn) !==
|
|
44791
|
+
return N |= xt, (cr.mode & kn) !== Tt && (N |= Ht), Ku(N, cn, s, d);
|
|
44792
44792
|
}
|
|
44793
44793
|
function Pd(s, d) {
|
|
44794
44794
|
return Rd(ut, cn, s, d);
|
|
@@ -44811,7 +44811,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44811
44811
|
function Nh(s, d, N) {
|
|
44812
44812
|
typeof d != "function" && c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", d !== null ? typeof d : "null");
|
|
44813
44813
|
var D = N != null ? N.concat([s]) : null, M = ut;
|
|
44814
|
-
return M |= xt, (cr.mode & kn) !==
|
|
44814
|
+
return M |= xt, (cr.mode & kn) !== Tt && (M |= Ht), Ku(M, cn, Tm.bind(null, d, s), D);
|
|
44815
44815
|
}
|
|
44816
44816
|
function wd(s, d, N) {
|
|
44817
44817
|
typeof d != "function" && c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", d !== null ? typeof d : "null");
|
|
@@ -45704,7 +45704,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45704
45704
|
var le = d.value, me = d.stack;
|
|
45705
45705
|
this.componentDidCatch(le, {
|
|
45706
45706
|
componentStack: me !== null ? me : ""
|
|
45707
|
-
}), typeof M != "function" && (
|
|
45707
|
+
}), typeof M != "function" && (Nr(s.lanes, At) || c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", je(s) || "Unknown"));
|
|
45708
45708
|
}), D;
|
|
45709
45709
|
}
|
|
45710
45710
|
function Vm(s, d, N) {
|
|
@@ -45725,7 +45725,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45725
45725
|
}
|
|
45726
45726
|
function c0(s, d) {
|
|
45727
45727
|
var N = s.tag;
|
|
45728
|
-
if ((s.mode & Wt) ===
|
|
45728
|
+
if ((s.mode & Wt) === Tt && (N === P || N === z || N === V)) {
|
|
45729
45729
|
var D = s.alternate;
|
|
45730
45730
|
D ? (s.updateQueue = D.updateQueue, s.memoizedState = D.memoizedState, s.lanes = D.lanes) : (s.updateQueue = null, s.memoizedState = null);
|
|
45731
45731
|
}
|
|
@@ -45740,11 +45740,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45740
45740
|
return null;
|
|
45741
45741
|
}
|
|
45742
45742
|
function Ym(s, d, N, D, M) {
|
|
45743
|
-
if ((s.mode & Wt) ===
|
|
45743
|
+
if ((s.mode & Wt) === Tt) {
|
|
45744
45744
|
if (s === d)
|
|
45745
45745
|
s.flags |= Lr;
|
|
45746
45746
|
else {
|
|
45747
|
-
if (s.flags |=
|
|
45747
|
+
if (s.flags |= Me, N.flags |= ge, N.flags &= ~(ja | Gi), N.tag === w) {
|
|
45748
45748
|
var Y = N.alternate;
|
|
45749
45749
|
if (Y === null)
|
|
45750
45750
|
N.tag = Q;
|
|
@@ -45779,7 +45779,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45779
45779
|
ju();
|
|
45780
45780
|
var le = Wm(d);
|
|
45781
45781
|
if (le !== null) {
|
|
45782
|
-
(le.flags & Lr) ===
|
|
45782
|
+
(le.flags & Lr) === $e && (le.flags |= ht), Ym(le, d, N, s, M), $(Eo(D, N));
|
|
45783
45783
|
return;
|
|
45784
45784
|
}
|
|
45785
45785
|
}
|
|
@@ -45797,8 +45797,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45797
45797
|
return;
|
|
45798
45798
|
}
|
|
45799
45799
|
case w:
|
|
45800
|
-
var Fe = D, Ge = me.type,
|
|
45801
|
-
if ((me.flags &
|
|
45800
|
+
var Fe = D, Ge = me.type, Ie = me.stateNode;
|
|
45801
|
+
if ((me.flags & Me) === $e && (typeof Ge.getDerivedStateFromError == "function" || Ie !== null && typeof Ie.componentDidCatch == "function" && !Yg(Ie))) {
|
|
45802
45802
|
me.flags |= Lr;
|
|
45803
45803
|
var gt = Ya(M);
|
|
45804
45804
|
me.lanes = Ct(me.lanes, gt);
|
|
@@ -45886,8 +45886,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45886
45886
|
return ss(s, d, M);
|
|
45887
45887
|
}
|
|
45888
45888
|
d.flags |= jt;
|
|
45889
|
-
var
|
|
45890
|
-
return
|
|
45889
|
+
var Ie = Po(Ee, D);
|
|
45890
|
+
return Ie.ref = d.ref, Ie.return = d, d.child = Ie, Ie;
|
|
45891
45891
|
}
|
|
45892
45892
|
function qm(s, d, N, D, M) {
|
|
45893
45893
|
if (d.type !== d.elementType) {
|
|
@@ -45914,7 +45914,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45914
45914
|
if (_e(ve, D) && s.ref === d.ref && // Prevent bailout if the implementation changed due to hot reload.
|
|
45915
45915
|
d.type === s.type)
|
|
45916
45916
|
if (na = !1, d.pendingProps = D = ve, ip(s, M))
|
|
45917
|
-
(s.flags & ge) !==
|
|
45917
|
+
(s.flags & ge) !== $e && (na = !0);
|
|
45918
45918
|
else
|
|
45919
45919
|
return d.lanes = s.lanes, ss(s, d, M);
|
|
45920
45920
|
}
|
|
@@ -45923,14 +45923,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45923
45923
|
function Qm(s, d, N) {
|
|
45924
45924
|
var D = d.pendingProps, M = D.children, Y = s !== null ? s.memoizedState : null;
|
|
45925
45925
|
if (D.mode === "hidden" || x)
|
|
45926
|
-
if ((d.mode & Wt) ===
|
|
45926
|
+
if ((d.mode & Wt) === Tt) {
|
|
45927
45927
|
var re = {
|
|
45928
45928
|
baseLanes: Ue,
|
|
45929
45929
|
cachePool: null,
|
|
45930
45930
|
transitions: null
|
|
45931
45931
|
};
|
|
45932
45932
|
d.memoizedState = re, df(d, N);
|
|
45933
|
-
} else if (
|
|
45933
|
+
} else if (Nr(N, Ln)) {
|
|
45934
45934
|
var Ee = {
|
|
45935
45935
|
baseLanes: Ue,
|
|
45936
45936
|
cachePool: null,
|
|
@@ -46023,7 +46023,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46023
46023
|
break;
|
|
46024
46024
|
}
|
|
46025
46025
|
case !0: {
|
|
46026
|
-
d.flags |=
|
|
46026
|
+
d.flags |= Me, d.flags |= Lr;
|
|
46027
46027
|
var me = new Error("Simulated error coming from DevTools"), ve = Ya(M);
|
|
46028
46028
|
d.lanes = Ct(d.lanes, ve);
|
|
46029
46029
|
var Ee = Hh(d, Eo(me, d), ve);
|
|
@@ -46044,18 +46044,18 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46044
46044
|
}
|
|
46045
46045
|
var Fe;
|
|
46046
46046
|
xn(N) ? (Fe = !0, ga(d)) : Fe = !1, Cl(d, M);
|
|
46047
|
-
var Ge = d.stateNode,
|
|
46048
|
-
Ge === null ? (zd(s, d), om(d, N, D), ih(d, N, D, M),
|
|
46049
|
-
var gt = Qh(s, d, N,
|
|
46047
|
+
var Ge = d.stateNode, Ie;
|
|
46048
|
+
Ge === null ? (zd(s, d), om(d, N, D), ih(d, N, D, M), Ie = !0) : s === null ? Ie = zv(d, N, D, M) : Ie = $v(s, d, N, D, M);
|
|
46049
|
+
var gt = Qh(s, d, N, Ie, Fe, M);
|
|
46050
46050
|
{
|
|
46051
46051
|
var Pt = d.stateNode;
|
|
46052
|
-
|
|
46052
|
+
Ie && Pt.props !== D && (bo || c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", je(d) || "a component"), bo = !0);
|
|
46053
46053
|
}
|
|
46054
46054
|
return gt;
|
|
46055
46055
|
}
|
|
46056
46056
|
function Qh(s, d, N, D, M, Y) {
|
|
46057
46057
|
Jm(s, d);
|
|
46058
|
-
var re = (d.flags &
|
|
46058
|
+
var re = (d.flags & Me) !== $e;
|
|
46059
46059
|
if (!D && !re)
|
|
46060
46060
|
return M && bs(d, N, !1), ss(s, d, Y);
|
|
46061
46061
|
var ae = d.stateNode;
|
|
@@ -46270,9 +46270,9 @@ Check the render method of \`` + D + "`.");
|
|
|
46270
46270
|
}
|
|
46271
46271
|
function rg(s, d, N) {
|
|
46272
46272
|
var D = d.pendingProps;
|
|
46273
|
-
hv(d) && (d.flags |=
|
|
46274
|
-
var M = ta.current, Y = !1, re = (d.flags &
|
|
46275
|
-
if (re || T0(M, s) ? (Y = !0, d.flags &= ~
|
|
46273
|
+
hv(d) && (d.flags |= Me);
|
|
46274
|
+
var M = ta.current, Y = !1, re = (d.flags & Me) !== $e;
|
|
46275
|
+
if (re || T0(M, s) ? (Y = !0, d.flags &= ~Me) : (s === null || s.memoizedState !== null) && (M = Yv(M, mm)), M = wl(M), Gs(d, M), s === null) {
|
|
46276
46276
|
_o(d);
|
|
46277
46277
|
var ae = d.memoizedState;
|
|
46278
46278
|
if (ae !== null) {
|
|
@@ -46294,7 +46294,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46294
46294
|
return O0(s, d, re, D, Ge, Fe, N);
|
|
46295
46295
|
}
|
|
46296
46296
|
if (Y) {
|
|
46297
|
-
var
|
|
46297
|
+
var Ie = D.fallback, gt = D.children, Pt = P0(s, d, gt, Ie, N), St = d.child, dr = s.child.memoizedState;
|
|
46298
46298
|
return St.memoizedState = dr === null ? ep(N) : b0(dr, N), St.childLanes = R0(s, N), d.memoizedState = Zh, Pt;
|
|
46299
46299
|
} else {
|
|
46300
46300
|
var er = D.children, Te = A0(s, d, er, N);
|
|
@@ -46314,7 +46314,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46314
46314
|
mode: "hidden",
|
|
46315
46315
|
children: d
|
|
46316
46316
|
}, ae, le;
|
|
46317
|
-
return (M & Wt) ===
|
|
46317
|
+
return (M & Wt) === Tt && Y !== null ? (ae = Y, ae.childLanes = Ue, ae.pendingProps = re, s.mode & Bt && (ae.actualDuration = 0, ae.actualStartTime = -1, ae.selfBaseDuration = 0, ae.treeBaseDuration = 0), le = Ys(N, M, D, null)) : (ae = rp(re, M), le = Ys(N, M, D, null)), ae.return = s, le.return = s, ae.sibling = le, s.child = ae, le;
|
|
46318
46318
|
}
|
|
46319
46319
|
function rp(s, d, N) {
|
|
46320
46320
|
return iv(s, d, Ue, null);
|
|
@@ -46327,7 +46327,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46327
46327
|
mode: "visible",
|
|
46328
46328
|
children: N
|
|
46329
46329
|
});
|
|
46330
|
-
if ((d.mode & Wt) ===
|
|
46330
|
+
if ((d.mode & Wt) === Tt && (re.lanes = D), re.return = d, re.sibling = null, Y !== null) {
|
|
46331
46331
|
var ae = d.deletions;
|
|
46332
46332
|
ae === null ? (d.deletions = [Y], d.flags |= vr) : ae.push(Y);
|
|
46333
46333
|
}
|
|
@@ -46341,7 +46341,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46341
46341
|
if (
|
|
46342
46342
|
// In legacy mode, we commit the primary tree as if it successfully
|
|
46343
46343
|
// completed, even though it's in an inconsistent state.
|
|
46344
|
-
(Y & Wt) ===
|
|
46344
|
+
(Y & Wt) === Tt && // Make sure we're on the second pass, i.e. the primary child fragment was
|
|
46345
46345
|
// already cloned. In legacy mode, the only case where this isn't true is
|
|
46346
46346
|
// when DevTools forces us to display a fallback; we skip the first render
|
|
46347
46347
|
// pass entirely and go straight to rendering the fallback. (In Concurrent
|
|
@@ -46366,10 +46366,10 @@ Check the render method of \`` + D + "`.");
|
|
|
46366
46366
|
mode: "visible",
|
|
46367
46367
|
children: N
|
|
46368
46368
|
}, ae = rp(re, Y), le = Ys(D, Y, M, null);
|
|
46369
|
-
return le.flags |= Mt, ae.return = d, le.return = d, ae.sibling = le, d.child = ae, (d.mode & Wt) !==
|
|
46369
|
+
return le.flags |= Mt, ae.return = d, le.return = d, ae.sibling = le, d.child = ae, (d.mode & Wt) !== Tt && Al(d, s.child, null, M), le;
|
|
46370
46370
|
}
|
|
46371
46371
|
function N0(s, d, N) {
|
|
46372
|
-
return (s.mode & Wt) ===
|
|
46372
|
+
return (s.mode & Wt) === Tt ? (c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), s.lanes = At) : $i(d) ? s.lanes = xi : s.lanes = Ln, null;
|
|
46373
46373
|
}
|
|
46374
46374
|
function O0(s, d, N, D, M, Y, re) {
|
|
46375
46375
|
if (N)
|
|
@@ -46379,12 +46379,12 @@ Check the render method of \`` + D + "`.");
|
|
|
46379
46379
|
return Bd(s, d, re, Te);
|
|
46380
46380
|
} else {
|
|
46381
46381
|
if (d.memoizedState !== null)
|
|
46382
|
-
return d.child = s.child, d.flags |=
|
|
46382
|
+
return d.child = s.child, d.flags |= Me, null;
|
|
46383
46383
|
var ke = D.children, be = D.fallback, Xe = w0(s, d, ke, be, re), ct = d.child;
|
|
46384
46384
|
return ct.memoizedState = ep(re), d.memoizedState = Zh, Xe;
|
|
46385
46385
|
}
|
|
46386
46386
|
else {
|
|
46387
|
-
if (Df(), (d.mode & Wt) ===
|
|
46387
|
+
if (Df(), (d.mode & Wt) === Tt)
|
|
46388
46388
|
return Bd(
|
|
46389
46389
|
s,
|
|
46390
46390
|
d,
|
|
@@ -46405,22 +46405,22 @@ Check the render method of \`` + D + "`.");
|
|
|
46405
46405
|
var Pe = zh(Ee, ae, me);
|
|
46406
46406
|
return Bd(s, d, re, Pe);
|
|
46407
46407
|
}
|
|
46408
|
-
var Fe =
|
|
46408
|
+
var Fe = Nr(re, s.childLanes);
|
|
46409
46409
|
if (na || Fe) {
|
|
46410
46410
|
var Ge = uf();
|
|
46411
46411
|
if (Ge !== null) {
|
|
46412
|
-
var
|
|
46413
|
-
if (
|
|
46414
|
-
Y.retryLane =
|
|
46412
|
+
var Ie = fl(Ge, re);
|
|
46413
|
+
if (Ie !== zr && Ie !== Y.retryLane) {
|
|
46414
|
+
Y.retryLane = Ie;
|
|
46415
46415
|
var gt = pr;
|
|
46416
|
-
qn(s,
|
|
46416
|
+
qn(s, Ie), en(Ge, s, Ie, gt);
|
|
46417
46417
|
}
|
|
46418
46418
|
}
|
|
46419
46419
|
Ap();
|
|
46420
46420
|
var Pt = zh(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
|
|
46421
46421
|
return Bd(s, d, re, Pt);
|
|
46422
46422
|
} else if (wi(M)) {
|
|
46423
|
-
d.flags |=
|
|
46423
|
+
d.flags |= Me, d.child = s.child;
|
|
46424
46424
|
var St = __.bind(null, s);
|
|
46425
46425
|
return nu(M, St), null;
|
|
46426
46426
|
} else {
|
|
@@ -46534,12 +46534,12 @@ Check the render method of \`` + D + "`.");
|
|
|
46534
46534
|
D0(M), F0(Y, M), j0(re, M), Qn(s, d, re, N);
|
|
46535
46535
|
var ae = ta.current, le = hh(ae, $u);
|
|
46536
46536
|
if (le)
|
|
46537
|
-
ae = ph(ae, $u), d.flags |=
|
|
46537
|
+
ae = ph(ae, $u), d.flags |= Me;
|
|
46538
46538
|
else {
|
|
46539
|
-
var me = s !== null && (s.flags &
|
|
46539
|
+
var me = s !== null && (s.flags & Me) !== $e;
|
|
46540
46540
|
me && k0(d, d.child, N), ae = wl(ae);
|
|
46541
46541
|
}
|
|
46542
|
-
if (Gs(d, ae), (d.mode & Wt) ===
|
|
46542
|
+
if (Gs(d, ae), (d.mode & Wt) === Tt)
|
|
46543
46543
|
d.memoizedState = null;
|
|
46544
46544
|
else
|
|
46545
46545
|
switch (M) {
|
|
@@ -46563,8 +46563,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46563
46563
|
d.child = Fe;
|
|
46564
46564
|
break;
|
|
46565
46565
|
}
|
|
46566
|
-
var
|
|
46567
|
-
Fe.sibling = Pe, Pe = Fe, Fe =
|
|
46566
|
+
var Ie = Fe.sibling;
|
|
46567
|
+
Fe.sibling = Pe, Pe = Fe, Fe = Ie;
|
|
46568
46568
|
}
|
|
46569
46569
|
np(
|
|
46570
46570
|
d,
|
|
@@ -46634,10 +46634,10 @@ Check the render method of \`` + D + "`.");
|
|
|
46634
46634
|
na = !0;
|
|
46635
46635
|
}
|
|
46636
46636
|
function zd(s, d) {
|
|
46637
|
-
(d.mode & Wt) ===
|
|
46637
|
+
(d.mode & Wt) === Tt && s !== null && (s.alternate = null, d.alternate = null, d.flags |= Mt);
|
|
46638
46638
|
}
|
|
46639
46639
|
function ss(s, d, N) {
|
|
46640
|
-
return s !== null && (d.dependencies = s.dependencies), $m(), hc(d.lanes),
|
|
46640
|
+
return s !== null && (d.dependencies = s.dependencies), $m(), hc(d.lanes), Nr(N, d.childLanes) ? (Hv(s, d), d.child) : null;
|
|
46641
46641
|
}
|
|
46642
46642
|
function G0(s, d, N) {
|
|
46643
46643
|
{
|
|
@@ -46661,7 +46661,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46661
46661
|
}
|
|
46662
46662
|
function ip(s, d) {
|
|
46663
46663
|
var N = s.lanes;
|
|
46664
|
-
return !!
|
|
46664
|
+
return !!Nr(N, d);
|
|
46665
46665
|
}
|
|
46666
46666
|
function B0(s, d, N) {
|
|
46667
46667
|
switch (d.tag) {
|
|
@@ -46686,7 +46686,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46686
46686
|
}
|
|
46687
46687
|
case B:
|
|
46688
46688
|
{
|
|
46689
|
-
var re =
|
|
46689
|
+
var re = Nr(N, d.childLanes);
|
|
46690
46690
|
re && (d.flags |= ut);
|
|
46691
46691
|
{
|
|
46692
46692
|
var ae = d.stateNode;
|
|
@@ -46698,9 +46698,9 @@ Check the render method of \`` + D + "`.");
|
|
|
46698
46698
|
var le = d.memoizedState;
|
|
46699
46699
|
if (le !== null) {
|
|
46700
46700
|
if (le.dehydrated !== null)
|
|
46701
|
-
return Gs(d, wl(ta.current)), d.flags |=
|
|
46701
|
+
return Gs(d, wl(ta.current)), d.flags |= Me, null;
|
|
46702
46702
|
var me = d.child, ve = me.childLanes;
|
|
46703
|
-
if (
|
|
46703
|
+
if (Nr(N, ve))
|
|
46704
46704
|
return rg(s, d, N);
|
|
46705
46705
|
Gs(d, wl(ta.current));
|
|
46706
46706
|
var Ee = ss(s, d, N);
|
|
@@ -46710,11 +46710,11 @@ Check the render method of \`` + D + "`.");
|
|
|
46710
46710
|
break;
|
|
46711
46711
|
}
|
|
46712
46712
|
case ie: {
|
|
46713
|
-
var Pe = (s.flags &
|
|
46713
|
+
var Pe = (s.flags & Me) !== $e, Fe = Nr(N, d.childLanes);
|
|
46714
46714
|
if (Pe) {
|
|
46715
46715
|
if (Fe)
|
|
46716
46716
|
return sg(s, d, N);
|
|
46717
|
-
d.flags |=
|
|
46717
|
+
d.flags |= Me;
|
|
46718
46718
|
}
|
|
46719
46719
|
var Ge = d.memoizedState;
|
|
46720
46720
|
if (Ge !== null && (Ge.rendering = null, Ge.tail = null, Ge.lastEffect = null), Gs(d, ta.current), Fe)
|
|
@@ -46739,9 +46739,9 @@ Check the render method of \`` + D + "`.");
|
|
|
46739
46739
|
var Y = ip(s, N);
|
|
46740
46740
|
if (!Y && // If this is the second pass of an error or suspense boundary, there
|
|
46741
46741
|
// may not be work scheduled on `current`, so we check for this flag.
|
|
46742
|
-
(d.flags &
|
|
46742
|
+
(d.flags & Me) === $e)
|
|
46743
46743
|
return na = !1, B0(s, d, N);
|
|
46744
|
-
(s.flags & ge) !==
|
|
46744
|
+
(s.flags & ge) !== $e ? na = !0 : na = !1;
|
|
46745
46745
|
}
|
|
46746
46746
|
} else if (na = !1, j() && ts(d)) {
|
|
46747
46747
|
var re = d.index, ae = Kc();
|
|
@@ -46773,8 +46773,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46773
46773
|
case L:
|
|
46774
46774
|
return M0(s, d, N);
|
|
46775
46775
|
case z: {
|
|
46776
|
-
var
|
|
46777
|
-
return Km(s, d,
|
|
46776
|
+
var Ie = d.type, gt = d.pendingProps, Pt = d.elementType === Ie ? gt : ea(Ie, gt);
|
|
46777
|
+
return Km(s, d, Ie, Pt, N);
|
|
46778
46778
|
}
|
|
46779
46779
|
case H:
|
|
46780
46780
|
return p0(s, d, N);
|
|
@@ -46825,10 +46825,10 @@ Check the render method of \`` + D + "`.");
|
|
|
46825
46825
|
var N = s !== null && s.child === d.child;
|
|
46826
46826
|
if (N)
|
|
46827
46827
|
return !0;
|
|
46828
|
-
if ((d.flags & vr) !==
|
|
46828
|
+
if ((d.flags & vr) !== $e)
|
|
46829
46829
|
return !1;
|
|
46830
46830
|
for (var D = d.child; D !== null; ) {
|
|
46831
|
-
if ((D.flags &
|
|
46831
|
+
if ((D.flags & Ar) !== $e || (D.subtreeFlags & Ar) !== $e)
|
|
46832
46832
|
return !1;
|
|
46833
46833
|
D = D.sibling;
|
|
46834
46834
|
}
|
|
@@ -46985,9 +46985,9 @@ Check the render method of \`` + D + "`.");
|
|
|
46985
46985
|
}
|
|
46986
46986
|
}
|
|
46987
46987
|
function Rn(s) {
|
|
46988
|
-
var d = s.alternate !== null && s.alternate.child === s.child, N = Ue, D =
|
|
46988
|
+
var d = s.alternate !== null && s.alternate.child === s.child, N = Ue, D = $e;
|
|
46989
46989
|
if (d) {
|
|
46990
|
-
if ((s.mode & Bt) !==
|
|
46990
|
+
if ((s.mode & Bt) !== Tt) {
|
|
46991
46991
|
for (var le = s.selfBaseDuration, me = s.child; me !== null; )
|
|
46992
46992
|
N = Ct(N, Ct(me.lanes, me.childLanes)), D |= me.subtreeFlags & Tr, D |= me.flags & Tr, le += me.treeBaseDuration, me = me.sibling;
|
|
46993
46993
|
s.treeBaseDuration = le;
|
|
@@ -46996,7 +46996,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46996
46996
|
N = Ct(N, Ct(ve.lanes, ve.childLanes)), D |= ve.subtreeFlags & Tr, D |= ve.flags & Tr, ve.return = s, ve = ve.sibling;
|
|
46997
46997
|
s.subtreeFlags |= D;
|
|
46998
46998
|
} else {
|
|
46999
|
-
if ((s.mode & Bt) !==
|
|
46999
|
+
if ((s.mode & Bt) !== Tt) {
|
|
47000
47000
|
for (var M = s.actualDuration, Y = s.selfBaseDuration, re = s.child; re !== null; )
|
|
47001
47001
|
N = Ct(N, Ct(re.lanes, re.childLanes)), D |= re.subtreeFlags, D |= re.flags, M += re.actualDuration, Y += re.treeBaseDuration, re = re.sibling;
|
|
47002
47002
|
s.actualDuration = M, s.treeBaseDuration = Y;
|
|
@@ -47008,14 +47008,14 @@ Check the render method of \`` + D + "`.");
|
|
|
47008
47008
|
return s.childLanes = N, d;
|
|
47009
47009
|
}
|
|
47010
47010
|
function z0(s, d, N) {
|
|
47011
|
-
if (Mf() && (d.mode & Wt) !==
|
|
47011
|
+
if (Mf() && (d.mode & Wt) !== Tt && (d.flags & Me) === $e)
|
|
47012
47012
|
return rd(d), v(), d.flags |= ht | Gi | Lr, !1;
|
|
47013
47013
|
var D = ns(d);
|
|
47014
47014
|
if (N !== null && N.dehydrated !== null)
|
|
47015
47015
|
if (s === null) {
|
|
47016
47016
|
if (!D)
|
|
47017
47017
|
throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");
|
|
47018
|
-
if (ed(d), Rn(d), (d.mode & Bt) !==
|
|
47018
|
+
if (ed(d), Rn(d), (d.mode & Bt) !== Tt) {
|
|
47019
47019
|
var M = N !== null;
|
|
47020
47020
|
if (M) {
|
|
47021
47021
|
var Y = d.child;
|
|
@@ -47024,7 +47024,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47024
47024
|
}
|
|
47025
47025
|
return !1;
|
|
47026
47026
|
} else {
|
|
47027
|
-
if (v(), (d.flags &
|
|
47027
|
+
if (v(), (d.flags & Me) === $e && (d.memoizedState = null), d.flags |= ut, Rn(d), (d.mode & Bt) !== Tt) {
|
|
47028
47028
|
var re = N !== null;
|
|
47029
47029
|
if (re) {
|
|
47030
47030
|
var ae = d.child;
|
|
@@ -47056,7 +47056,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47056
47056
|
}
|
|
47057
47057
|
case k: {
|
|
47058
47058
|
var Y = d.stateNode;
|
|
47059
|
-
if (Pl(d),
|
|
47059
|
+
if (Pl(d), Pr(d), gh(), Y.pendingContext && (Y.context = Y.pendingContext, Y.pendingContext = null), s === null || s.child === null) {
|
|
47060
47060
|
var re = ns(d);
|
|
47061
47061
|
if (re)
|
|
47062
47062
|
Na(d);
|
|
@@ -47064,7 +47064,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47064
47064
|
var ae = s.memoizedState;
|
|
47065
47065
|
// Check if this is a client root
|
|
47066
47066
|
(!ae.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
|
|
47067
|
-
(d.flags & ht) !==
|
|
47067
|
+
(d.flags & ht) !== $e) && (d.flags |= bt, b());
|
|
47068
47068
|
}
|
|
47069
47069
|
}
|
|
47070
47070
|
return tc(s, d), Rn(d), null;
|
|
@@ -47099,8 +47099,8 @@ Check the render method of \`` + D + "`.");
|
|
|
47099
47099
|
} else {
|
|
47100
47100
|
if (typeof Fe != "string" && d.stateNode === null)
|
|
47101
47101
|
throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
|
|
47102
|
-
var
|
|
47103
|
-
Pt ? Zc(d) && Na(d) : d.stateNode = qs(Fe,
|
|
47102
|
+
var Ie = ch(), gt = zu(), Pt = ns(d);
|
|
47103
|
+
Pt ? Zc(d) && Na(d) : d.stateNode = qs(Fe, Ie, gt, d);
|
|
47104
47104
|
}
|
|
47105
47105
|
return Rn(d), null;
|
|
47106
47106
|
}
|
|
@@ -47112,18 +47112,18 @@ Check the render method of \`` + D + "`.");
|
|
|
47112
47112
|
if (!dr)
|
|
47113
47113
|
return d.flags & Lr ? d : null;
|
|
47114
47114
|
}
|
|
47115
|
-
if ((d.flags &
|
|
47116
|
-
return d.lanes = N, (d.mode & Bt) !==
|
|
47115
|
+
if ((d.flags & Me) !== $e)
|
|
47116
|
+
return d.lanes = N, (d.mode & Bt) !== Tt && Bh(d), d;
|
|
47117
47117
|
var er = St !== null, Te = s !== null && s.memoizedState !== null;
|
|
47118
47118
|
if (er !== Te && er) {
|
|
47119
47119
|
var ke = d.child;
|
|
47120
|
-
if (ke.flags |=
|
|
47120
|
+
if (ke.flags |= Cr, (d.mode & Wt) !== Tt) {
|
|
47121
47121
|
var be = s === null && (d.memoizedProps.unstable_avoidThisFallback !== !0 || !C);
|
|
47122
47122
|
be || hh(ta.current, mm) ? s_() : Ap();
|
|
47123
47123
|
}
|
|
47124
47124
|
}
|
|
47125
47125
|
var Xe = d.updateQueue;
|
|
47126
|
-
if (Xe !== null && (d.flags |= ut), Rn(d), (d.mode & Bt) !==
|
|
47126
|
+
if (Xe !== null && (d.flags |= ut), Rn(d), (d.mode & Bt) !== Tt && er) {
|
|
47127
47127
|
var ct = d.child;
|
|
47128
47128
|
ct !== null && (d.treeBaseDuration -= ct.treeBaseDuration);
|
|
47129
47129
|
}
|
|
@@ -47143,29 +47143,29 @@ Check the render method of \`` + D + "`.");
|
|
|
47143
47143
|
var Nt = d.memoizedState;
|
|
47144
47144
|
if (Nt === null)
|
|
47145
47145
|
return Rn(d), null;
|
|
47146
|
-
var ir = (d.flags &
|
|
47146
|
+
var ir = (d.flags & Me) !== $e, Yt = Nt.rendering;
|
|
47147
47147
|
if (Yt === null)
|
|
47148
47148
|
if (ir)
|
|
47149
47149
|
rc(Nt, !1);
|
|
47150
47150
|
else {
|
|
47151
|
-
var Er = l_() && (s === null || (s.flags &
|
|
47151
|
+
var Er = l_() && (s === null || (s.flags & Me) === $e);
|
|
47152
47152
|
if (!Er)
|
|
47153
|
-
for (var
|
|
47154
|
-
var Ur = xd(
|
|
47153
|
+
for (var Rt = d.child; Rt !== null; ) {
|
|
47154
|
+
var Ur = xd(Rt);
|
|
47155
47155
|
if (Ur !== null) {
|
|
47156
|
-
ir = !0, d.flags |=
|
|
47156
|
+
ir = !0, d.flags |= Me, rc(Nt, !1);
|
|
47157
47157
|
var Gn = Ur.updateQueue;
|
|
47158
|
-
return Gn !== null && (d.updateQueue = Gn, d.flags |= ut), d.subtreeFlags =
|
|
47158
|
+
return Gn !== null && (d.updateQueue = Gn, d.flags |= ut), d.subtreeFlags = $e, Vv(d, N), Gs(d, ph(ta.current, $u)), d.child;
|
|
47159
47159
|
}
|
|
47160
|
-
|
|
47160
|
+
Rt = Rt.sibling;
|
|
47161
47161
|
}
|
|
47162
|
-
Nt.tail !== null && Hr() > Mg() && (d.flags |=
|
|
47162
|
+
Nt.tail !== null && Hr() > Mg() && (d.flags |= Me, ir = !0, rc(Nt, !1), d.lanes = ol);
|
|
47163
47163
|
}
|
|
47164
47164
|
else {
|
|
47165
47165
|
if (!ir) {
|
|
47166
47166
|
var wn = xd(Yt);
|
|
47167
47167
|
if (wn !== null) {
|
|
47168
|
-
d.flags |=
|
|
47168
|
+
d.flags |= Me, ir = !0;
|
|
47169
47169
|
var Ci = wn.updateQueue;
|
|
47170
47170
|
if (Ci !== null && (d.updateQueue = Ci, d.flags |= ut), rc(Nt, !0), Nt.tail === null && Nt.tailMode === "hidden" && !Yt.alternate && !j())
|
|
47171
47171
|
return Rn(d), null;
|
|
@@ -47173,7 +47173,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47173
47173
|
// The time it took to render last row is greater than the remaining
|
|
47174
47174
|
// time we have to render. So rendering one more row would likely
|
|
47175
47175
|
// exceed it.
|
|
47176
|
-
Hr() * 2 - Nt.renderingStartTime > Mg() && N !== Ln && (d.flags |=
|
|
47176
|
+
Hr() * 2 - Nt.renderingStartTime > Mg() && N !== Ln && (d.flags |= Me, ir = !0, rc(Nt, !1), d.lanes = ol);
|
|
47177
47177
|
}
|
|
47178
47178
|
if (Nt.isBackwards)
|
|
47179
47179
|
Yt.sibling = d.child, d.child = Yt;
|
|
@@ -47199,9 +47199,9 @@ Check the render method of \`` + D + "`.");
|
|
|
47199
47199
|
if (s !== null) {
|
|
47200
47200
|
var gc = s.memoizedState, Fa = gc !== null;
|
|
47201
47201
|
Fa !== $l && // LegacyHidden doesn't do any hiding — it only pre-renders.
|
|
47202
|
-
!x && (d.flags |=
|
|
47202
|
+
!x && (d.flags |= Cr);
|
|
47203
47203
|
}
|
|
47204
|
-
return !$l || (d.mode & Wt) ===
|
|
47204
|
+
return !$l || (d.mode & Wt) === Tt ? Rn(d) : Nr(La, Ln) && (Rn(d), vn && d.subtreeFlags & (Mt | ut) && (d.flags |= Cr)), null;
|
|
47205
47205
|
}
|
|
47206
47206
|
case oe:
|
|
47207
47207
|
return null;
|
|
@@ -47216,12 +47216,12 @@ Check the render method of \`` + D + "`.");
|
|
|
47216
47216
|
var D = d.type;
|
|
47217
47217
|
xn(D) && yr(d);
|
|
47218
47218
|
var M = d.flags;
|
|
47219
|
-
return M & Lr ? (d.flags = M & ~Lr |
|
|
47219
|
+
return M & Lr ? (d.flags = M & ~Lr | Me, (d.mode & Bt) !== Tt && Bh(d), d) : null;
|
|
47220
47220
|
}
|
|
47221
47221
|
case k: {
|
|
47222
|
-
d.stateNode, Pl(d),
|
|
47222
|
+
d.stateNode, Pl(d), Pr(d), gh();
|
|
47223
47223
|
var Y = d.flags;
|
|
47224
|
-
return (Y & Lr) !==
|
|
47224
|
+
return (Y & Lr) !== $e && (Y & Me) === $e ? (d.flags = Y & ~Lr | Me, d) : null;
|
|
47225
47225
|
}
|
|
47226
47226
|
case F:
|
|
47227
47227
|
return fh(d), null;
|
|
@@ -47234,7 +47234,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47234
47234
|
v();
|
|
47235
47235
|
}
|
|
47236
47236
|
var ae = d.flags;
|
|
47237
|
-
return ae & Lr ? (d.flags = ae & ~Lr |
|
|
47237
|
+
return ae & Lr ? (d.flags = ae & ~Lr | Me, (d.mode & Bt) !== Tt && Bh(d), d) : null;
|
|
47238
47238
|
}
|
|
47239
47239
|
case ie:
|
|
47240
47240
|
return Nl(d), null;
|
|
@@ -47260,7 +47260,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47260
47260
|
break;
|
|
47261
47261
|
}
|
|
47262
47262
|
case k: {
|
|
47263
|
-
d.stateNode, Pl(d),
|
|
47263
|
+
d.stateNode, Pl(d), Pr(d), gh();
|
|
47264
47264
|
break;
|
|
47265
47265
|
}
|
|
47266
47266
|
case F: {
|
|
@@ -47301,12 +47301,12 @@ Check the render method of \`` + D + "`.");
|
|
|
47301
47301
|
if (typeof document > "u" || document === null)
|
|
47302
47302
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
47303
47303
|
var ve = document.createEvent("Event"), Ee = !1, Pe = !0, Fe = window.event, Ge = Object.getOwnPropertyDescriptor(window, "event");
|
|
47304
|
-
function
|
|
47304
|
+
function Ie() {
|
|
47305
47305
|
ap.removeEventListener(ke, Pt, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = Fe);
|
|
47306
47306
|
}
|
|
47307
47307
|
var gt = Array.prototype.slice.call(arguments, 3);
|
|
47308
47308
|
function Pt() {
|
|
47309
|
-
Ee = !0,
|
|
47309
|
+
Ee = !0, Ie(), N.apply(D, gt), Pe = !1;
|
|
47310
47310
|
}
|
|
47311
47311
|
var St, dr = !1, er = !1;
|
|
47312
47312
|
function Te(be) {
|
|
@@ -47318,7 +47318,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47318
47318
|
}
|
|
47319
47319
|
var ke = "react-" + (d || "invokeguardedcallback");
|
|
47320
47320
|
if (window.addEventListener("error", Te), ap.addEventListener(ke, Pt, !1), ve.initEvent(ke, !1, !1), ap.dispatchEvent(ve), Ge && Object.defineProperty(window, "event", Ge), Ee && Pe && (dr ? er && (St = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : St = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(St)), window.removeEventListener("error", Te), !Ee)
|
|
47321
|
-
return
|
|
47321
|
+
return Ie(), mg.apply(this, arguments);
|
|
47322
47322
|
};
|
|
47323
47323
|
}
|
|
47324
47324
|
var H0 = gg, nc = !1, Vd = null, V0 = {
|
|
@@ -47422,7 +47422,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47422
47422
|
function J0() {
|
|
47423
47423
|
for (; ot !== null; ) {
|
|
47424
47424
|
var s = ot, d = s.child;
|
|
47425
|
-
(s.subtreeFlags & Ut) !==
|
|
47425
|
+
(s.subtreeFlags & Ut) !== $e && d !== null ? (d.return = s, ot = d) : Z0();
|
|
47426
47426
|
}
|
|
47427
47427
|
}
|
|
47428
47428
|
function Z0() {
|
|
@@ -47445,7 +47445,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47445
47445
|
}
|
|
47446
47446
|
function ey(s) {
|
|
47447
47447
|
var d = s.alternate, N = s.flags;
|
|
47448
|
-
if ((N &
|
|
47448
|
+
if ((N & bt) !== $e) {
|
|
47449
47449
|
switch (or(s), s.tag) {
|
|
47450
47450
|
case P:
|
|
47451
47451
|
case z:
|
|
@@ -47508,7 +47508,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47508
47508
|
var ae = Y.destroy;
|
|
47509
47509
|
if (ae !== void 0 && typeof ae != "function") {
|
|
47510
47510
|
var le = void 0;
|
|
47511
|
-
(Y.tag & cn) !==
|
|
47511
|
+
(Y.tag & cn) !== $e ? le = "useLayoutEffect" : (Y.tag & Ra) !== $e ? le = "useInsertionEffect" : le = "useEffect";
|
|
47512
47512
|
var me = void 0;
|
|
47513
47513
|
ae === null ? me = " You returned null. If your effect does not require clean up, return undefined (or nothing)." : typeof ae.then == "function" ? me = `
|
|
47514
47514
|
|
|
@@ -47532,7 +47532,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47532
47532
|
}
|
|
47533
47533
|
}
|
|
47534
47534
|
function ty(s, d) {
|
|
47535
|
-
if ((d.flags & ut) !==
|
|
47535
|
+
if ((d.flags & ut) !== $e)
|
|
47536
47536
|
switch (d.tag) {
|
|
47537
47537
|
case B: {
|
|
47538
47538
|
var N = d.stateNode.passiveEffectDuration, D = d.memoizedProps, M = D.id, Y = D.onPostCommit, re = Bm(), ae = d.alternate === null ? "mount" : "update";
|
|
@@ -47557,7 +47557,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47557
47557
|
}
|
|
47558
47558
|
}
|
|
47559
47559
|
function ry(s, d, N, D) {
|
|
47560
|
-
if ((N.flags & fr) !==
|
|
47560
|
+
if ((N.flags & fr) !== $e)
|
|
47561
47561
|
switch (N.tag) {
|
|
47562
47562
|
case P:
|
|
47563
47563
|
case z:
|
|
@@ -47631,8 +47631,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47631
47631
|
break;
|
|
47632
47632
|
case B: {
|
|
47633
47633
|
{
|
|
47634
|
-
var Fe = N.memoizedProps, Ge = Fe.onCommit,
|
|
47635
|
-
Gm() && (St = "nested-update"), typeof
|
|
47634
|
+
var Fe = N.memoizedProps, Ge = Fe.onCommit, Ie = Fe.onRender, gt = N.stateNode.effectDuration, Pt = Bm(), St = d === null ? "mount" : "update";
|
|
47635
|
+
Gm() && (St = "nested-update"), typeof Ie == "function" && Ie(N.memoizedProps.id, St, N.actualDuration, N.treeBaseDuration, N.actualStartTime, Pt);
|
|
47636
47636
|
{
|
|
47637
47637
|
typeof Ge == "function" && Ge(N.memoizedProps.id, St, gt, Pt), h_(N);
|
|
47638
47638
|
var dr = N.return;
|
|
@@ -47955,8 +47955,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47955
47955
|
// TODO: Remove this dead flag
|
|
47956
47956
|
N.mode & Wt
|
|
47957
47957
|
) {
|
|
47958
|
-
var
|
|
47959
|
-
Cn =
|
|
47958
|
+
var Ie = Cn;
|
|
47959
|
+
Cn = Ie || N.memoizedState !== null, Oa(s, d, N), Cn = Ie;
|
|
47960
47960
|
} else
|
|
47961
47961
|
Oa(s, d, N);
|
|
47962
47962
|
break;
|
|
@@ -48018,7 +48018,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48018
48018
|
}
|
|
48019
48019
|
}
|
|
48020
48020
|
var re = Ae();
|
|
48021
|
-
if (d.subtreeFlags &
|
|
48021
|
+
if (d.subtreeFlags & Ar)
|
|
48022
48022
|
for (var ae = d.child; ae !== null; )
|
|
48023
48023
|
or(ae), Pg(ae, s), ae = ae.sibling;
|
|
48024
48024
|
or(re);
|
|
@@ -48033,21 +48033,21 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48033
48033
|
if (sa(d, s), ka(s), M & ut) {
|
|
48034
48034
|
try {
|
|
48035
48035
|
ia(Ra | un, s, s.return), $s(Ra | un, s);
|
|
48036
|
-
} catch (
|
|
48037
|
-
gr(s, s.return,
|
|
48036
|
+
} catch (Rt) {
|
|
48037
|
+
gr(s, s.return, Rt);
|
|
48038
48038
|
}
|
|
48039
48039
|
if (s.mode & Bt) {
|
|
48040
48040
|
try {
|
|
48041
48041
|
wa(), ia(cn | un, s, s.return);
|
|
48042
|
-
} catch (
|
|
48043
|
-
gr(s, s.return,
|
|
48042
|
+
} catch (Rt) {
|
|
48043
|
+
gr(s, s.return, Rt);
|
|
48044
48044
|
}
|
|
48045
48045
|
Pa(s);
|
|
48046
48046
|
} else
|
|
48047
48047
|
try {
|
|
48048
48048
|
ia(cn | un, s, s.return);
|
|
48049
|
-
} catch (
|
|
48050
|
-
gr(s, s.return,
|
|
48049
|
+
} catch (Rt) {
|
|
48050
|
+
gr(s, s.return, Rt);
|
|
48051
48051
|
}
|
|
48052
48052
|
}
|
|
48053
48053
|
return;
|
|
@@ -48062,8 +48062,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48062
48062
|
var Y = s.stateNode;
|
|
48063
48063
|
try {
|
|
48064
48064
|
xc(Y);
|
|
48065
|
-
} catch (
|
|
48066
|
-
gr(s, s.return,
|
|
48065
|
+
} catch (Rt) {
|
|
48066
|
+
gr(s, s.return, Rt);
|
|
48067
48067
|
}
|
|
48068
48068
|
}
|
|
48069
48069
|
if (M & ut) {
|
|
@@ -48073,8 +48073,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48073
48073
|
if (s.updateQueue = null, ve !== null)
|
|
48074
48074
|
try {
|
|
48075
48075
|
tu(re, ve, me, le, ae, s);
|
|
48076
|
-
} catch (
|
|
48077
|
-
gr(s, s.return,
|
|
48076
|
+
} catch (Rt) {
|
|
48077
|
+
gr(s, s.return, Rt);
|
|
48078
48078
|
}
|
|
48079
48079
|
}
|
|
48080
48080
|
}
|
|
@@ -48088,8 +48088,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48088
48088
|
var Ee = s.stateNode, Pe = s.memoizedProps, Fe = D !== null ? D.memoizedProps : Pe;
|
|
48089
48089
|
try {
|
|
48090
48090
|
eu(Ee, Fe, Pe);
|
|
48091
|
-
} catch (
|
|
48092
|
-
gr(s, s.return,
|
|
48091
|
+
} catch (Rt) {
|
|
48092
|
+
gr(s, s.return, Rt);
|
|
48093
48093
|
}
|
|
48094
48094
|
}
|
|
48095
48095
|
return;
|
|
@@ -48101,16 +48101,16 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48101
48101
|
if (Ge.isDehydrated)
|
|
48102
48102
|
try {
|
|
48103
48103
|
iu(d.containerInfo);
|
|
48104
|
-
} catch (
|
|
48105
|
-
gr(s, s.return,
|
|
48104
|
+
} catch (Rt) {
|
|
48105
|
+
gr(s, s.return, Rt);
|
|
48106
48106
|
}
|
|
48107
48107
|
}
|
|
48108
48108
|
if (Ga) {
|
|
48109
|
-
var
|
|
48109
|
+
var Ie = d.containerInfo, gt = d.pendingChildren;
|
|
48110
48110
|
try {
|
|
48111
|
-
ps(
|
|
48112
|
-
} catch (
|
|
48113
|
-
gr(s, s.return,
|
|
48111
|
+
ps(Ie, gt);
|
|
48112
|
+
} catch (Rt) {
|
|
48113
|
+
gr(s, s.return, Rt);
|
|
48114
48114
|
}
|
|
48115
48115
|
}
|
|
48116
48116
|
}
|
|
@@ -48121,8 +48121,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48121
48121
|
var Pt = s.stateNode, St = Pt.containerInfo, dr = Pt.pendingChildren;
|
|
48122
48122
|
try {
|
|
48123
48123
|
ps(St, dr);
|
|
48124
|
-
} catch (
|
|
48125
|
-
gr(s, s.return,
|
|
48124
|
+
} catch (Rt) {
|
|
48125
|
+
gr(s, s.return, Rt);
|
|
48126
48126
|
}
|
|
48127
48127
|
}
|
|
48128
48128
|
return;
|
|
@@ -48130,7 +48130,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48130
48130
|
case I: {
|
|
48131
48131
|
sa(d, s), ka(s);
|
|
48132
48132
|
var er = s.child;
|
|
48133
|
-
if (er.flags &
|
|
48133
|
+
if (er.flags & Cr) {
|
|
48134
48134
|
var Te = er.stateNode, ke = er.memoizedState, be = ke !== null;
|
|
48135
48135
|
if (Te.isHidden = be, be) {
|
|
48136
48136
|
var Xe = er.alternate !== null && er.alternate.memoizedState !== null;
|
|
@@ -48140,8 +48140,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48140
48140
|
if (M & ut) {
|
|
48141
48141
|
try {
|
|
48142
48142
|
cy(s);
|
|
48143
|
-
} catch (
|
|
48144
|
-
gr(s, s.return,
|
|
48143
|
+
} catch (Rt) {
|
|
48144
|
+
gr(s, s.return, Rt);
|
|
48145
48145
|
}
|
|
48146
48146
|
Ag(s);
|
|
48147
48147
|
}
|
|
@@ -48157,9 +48157,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48157
48157
|
Cn = nt || ct, sa(d, s), Cn = nt;
|
|
48158
48158
|
} else
|
|
48159
48159
|
sa(d, s);
|
|
48160
|
-
if (ka(s), M &
|
|
48160
|
+
if (ka(s), M & Cr) {
|
|
48161
48161
|
var Zt = s.stateNode, Nt = s.memoizedState, ir = Nt !== null, Yt = s;
|
|
48162
|
-
if (Zt.isHidden = ir, ir && !ct && (Yt.mode & Wt) !==
|
|
48162
|
+
if (Zt.isHidden = ir, ir && !ct && (Yt.mode & Wt) !== Tt) {
|
|
48163
48163
|
ot = Yt;
|
|
48164
48164
|
for (var Er = Yt.child; Er !== null; )
|
|
48165
48165
|
ot = Er, py(Er), Er = Er.sibling;
|
|
@@ -48196,7 +48196,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48196
48196
|
Fl = N, jl = d, ot = s, wg(s, d, N), Fl = null, jl = null;
|
|
48197
48197
|
}
|
|
48198
48198
|
function wg(s, d, N) {
|
|
48199
|
-
for (var D = (s.mode & Wt) !==
|
|
48199
|
+
for (var D = (s.mode & Wt) !== Tt; ot !== null; ) {
|
|
48200
48200
|
var M = ot, Y = M.child;
|
|
48201
48201
|
if (M.tag === Z && D) {
|
|
48202
48202
|
var re = M.memoizedState !== null, ae = re || Wd;
|
|
@@ -48217,13 +48217,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48217
48217
|
continue;
|
|
48218
48218
|
}
|
|
48219
48219
|
}
|
|
48220
|
-
(M.subtreeFlags & fr) !==
|
|
48220
|
+
(M.subtreeFlags & fr) !== $e && Y !== null ? (Y.return = M, ot = Y) : cp(s, d, N);
|
|
48221
48221
|
}
|
|
48222
48222
|
}
|
|
48223
48223
|
function cp(s, d, N) {
|
|
48224
48224
|
for (; ot !== null; ) {
|
|
48225
48225
|
var D = ot;
|
|
48226
|
-
if ((D.flags & fr) !==
|
|
48226
|
+
if ((D.flags & fr) !== $e) {
|
|
48227
48227
|
var M = D.alternate;
|
|
48228
48228
|
or(D);
|
|
48229
48229
|
try {
|
|
@@ -48340,13 +48340,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48340
48340
|
function vy(s, d, N, D) {
|
|
48341
48341
|
for (; ot !== null; ) {
|
|
48342
48342
|
var M = ot, Y = M.child;
|
|
48343
|
-
(M.subtreeFlags & hr) !==
|
|
48343
|
+
(M.subtreeFlags & hr) !== $e && Y !== null ? (Y.return = M, ot = Y) : yy(s, d, N, D);
|
|
48344
48344
|
}
|
|
48345
48345
|
}
|
|
48346
48346
|
function yy(s, d, N, D) {
|
|
48347
48347
|
for (; ot !== null; ) {
|
|
48348
48348
|
var M = ot;
|
|
48349
|
-
if ((M.flags & Kt) !==
|
|
48349
|
+
if ((M.flags & Kt) !== $e) {
|
|
48350
48350
|
or(M);
|
|
48351
48351
|
try {
|
|
48352
48352
|
_y(d, M, N, D);
|
|
@@ -48391,7 +48391,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48391
48391
|
function Sy() {
|
|
48392
48392
|
for (; ot !== null; ) {
|
|
48393
48393
|
var s = ot, d = s.child;
|
|
48394
|
-
if ((ot.flags & vr) !==
|
|
48394
|
+
if ((ot.flags & vr) !== $e) {
|
|
48395
48395
|
var N = s.deletions;
|
|
48396
48396
|
if (N !== null) {
|
|
48397
48397
|
for (var D = 0; D < N.length; D++) {
|
|
@@ -48414,13 +48414,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48414
48414
|
ot = s;
|
|
48415
48415
|
}
|
|
48416
48416
|
}
|
|
48417
|
-
(s.subtreeFlags & hr) !==
|
|
48417
|
+
(s.subtreeFlags & hr) !== $e && d !== null ? (d.return = s, ot = d) : Ey();
|
|
48418
48418
|
}
|
|
48419
48419
|
}
|
|
48420
48420
|
function Ey() {
|
|
48421
48421
|
for (; ot !== null; ) {
|
|
48422
48422
|
var s = ot;
|
|
48423
|
-
(s.flags & Kt) !==
|
|
48423
|
+
(s.flags & Kt) !== $e && (or(s), by(s), ur());
|
|
48424
48424
|
var d = s.sibling;
|
|
48425
48425
|
if (d !== null) {
|
|
48426
48426
|
d.return = s.return, ot = d;
|
|
@@ -48710,14 +48710,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48710
48710
|
for (var Y = D.length - 1; Y > 0; Y--)
|
|
48711
48711
|
for (var re = D[Y], ae = re.x, le = ae + re.width, me = re.y, ve = me + re.height, Ee = Y - 1; Ee >= 0; Ee--)
|
|
48712
48712
|
if (Y !== Ee) {
|
|
48713
|
-
var Pe = D[Ee], Fe = Pe.x, Ge = Fe + Pe.width,
|
|
48714
|
-
if (ae >= Fe && me >=
|
|
48713
|
+
var Pe = D[Ee], Fe = Pe.x, Ge = Fe + Pe.width, Ie = Pe.y, gt = Ie + Pe.height;
|
|
48714
|
+
if (ae >= Fe && me >= Ie && le <= Ge && ve <= gt) {
|
|
48715
48715
|
D.splice(Y, 1);
|
|
48716
48716
|
break;
|
|
48717
|
-
} else if (ae === Fe && re.width === Pe.width && !(gt < me) && !(
|
|
48718
|
-
|
|
48717
|
+
} else if (ae === Fe && re.width === Pe.width && !(gt < me) && !(Ie > ve)) {
|
|
48718
|
+
Ie > me && (Pe.height += Ie - me, Pe.y = me), gt < ve && (Pe.height = ve - Ie), D.splice(Y, 1);
|
|
48719
48719
|
break;
|
|
48720
|
-
} else if (me ===
|
|
48720
|
+
} else if (me === Ie && re.height === Pe.height && !(Ge < ae) && !(Fe > le)) {
|
|
48721
48721
|
Fe > ae && (Pe.width += Fe - ae, Pe.x = ae), Ge < le && (Pe.width = le - Fe), D.splice(Y, 1);
|
|
48722
48722
|
break;
|
|
48723
48723
|
}
|
|
@@ -48784,7 +48784,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48784
48784
|
return !s && zy.current !== null && c("The current testing environment is not configured to support act(...)"), s;
|
|
48785
48785
|
}
|
|
48786
48786
|
}
|
|
48787
|
-
var Hy = Math.ceil, pp = a.ReactCurrentDispatcher, mp = a.ReactCurrentOwner,
|
|
48787
|
+
var Hy = Math.ceil, pp = a.ReactCurrentDispatcher, mp = a.ReactCurrentOwner, Or = a.ReactCurrentBatchConfig, oa = a.ReactCurrentActQueue, Zr = (
|
|
48788
48788
|
/* */
|
|
48789
48789
|
0
|
|
48790
48790
|
), gp = (
|
|
@@ -48796,7 +48796,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48796
48796
|
), Ii = (
|
|
48797
48797
|
/* */
|
|
48798
48798
|
4
|
|
48799
|
-
), os = 0, ac = 1, To = 2, tf = 3, sc = 4, Dg = 5, vp = 6, zt = Zr, Jn = null,
|
|
48799
|
+
), os = 0, ac = 1, To = 2, tf = 3, sc = 4, Dg = 5, vp = 6, zt = Zr, Jn = null, kr = null, hn = Ue, La = Ue, yp = Vn(Ue), pn = os, oc = null, rf = Ue, lc = Ue, nf = Ue, uc = null, ui = null, _p = 0, Fg = 500, jg = 1 / 0, Vy = 500, ls = null;
|
|
48800
48800
|
function Il() {
|
|
48801
48801
|
jg = Hr() + Vy;
|
|
48802
48802
|
}
|
|
@@ -48812,14 +48812,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48812
48812
|
}
|
|
48813
48813
|
function Vs(s) {
|
|
48814
48814
|
var d = s.mode;
|
|
48815
|
-
if ((d & Wt) ===
|
|
48815
|
+
if ((d & Wt) === Tt)
|
|
48816
48816
|
return At;
|
|
48817
48817
|
if ((zt & Pn) !== Zr && hn !== Ue)
|
|
48818
48818
|
return Ya(hn);
|
|
48819
48819
|
var N = ue() !== te;
|
|
48820
48820
|
if (N) {
|
|
48821
|
-
if (
|
|
48822
|
-
var D =
|
|
48821
|
+
if (Or.transition !== null) {
|
|
48822
|
+
var D = Or.transition;
|
|
48823
48823
|
D._updatedFibers || (D._updatedFibers = /* @__PURE__ */ new Set()), D._updatedFibers.add(s);
|
|
48824
48824
|
}
|
|
48825
48825
|
return lf === zr && (lf = oo()), lf;
|
|
@@ -48832,10 +48832,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48832
48832
|
}
|
|
48833
48833
|
function Ky(s) {
|
|
48834
48834
|
var d = s.mode;
|
|
48835
|
-
return (d & Wt) ===
|
|
48835
|
+
return (d & Wt) === Tt ? At : Nf();
|
|
48836
48836
|
}
|
|
48837
48837
|
function en(s, d, N, D) {
|
|
48838
|
-
E_(), Ig && c("useInsertionEffect must not schedule updates."), Tp && (sf = !0), Os(s, N, D), (zt & Pn) !== Ue && s === Jn ? R_(d) : (jn && nn(s, d, N), C_(d), s === Jn && ((zt & Pn) === Zr && (lc = Ct(lc, N)), pn === sc && Ws(s, hn)), ci(s, D), N === At && zt === Zr && (d.mode & Wt) ===
|
|
48838
|
+
E_(), Ig && c("useInsertionEffect must not schedule updates."), Tp && (sf = !0), Os(s, N, D), (zt & Pn) !== Ue && s === Jn ? R_(d) : (jn && nn(s, d, N), C_(d), s === Jn && ((zt & Pn) === Zr && (lc = Ct(lc, N)), pn === sc && Ws(s, hn)), ci(s, D), N === At && zt === Zr && (d.mode & Wt) === Tt && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
48839
48839
|
!oa.isBatchingLegacy && (Il(), on()));
|
|
48840
48840
|
}
|
|
48841
48841
|
function Xy(s, d, N) {
|
|
@@ -48868,7 +48868,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48868
48868
|
N != null && Zg(N);
|
|
48869
48869
|
var re;
|
|
48870
48870
|
if (M === At)
|
|
48871
|
-
s.tag ===
|
|
48871
|
+
s.tag === wr ? (oa.isBatchingLegacy !== null && (oa.didScheduleLegacyUpdate = !0), Sl(Bg.bind(null, s))) : mo(Bg.bind(null, s)), yc ? oa.current !== null ? oa.current.push(ln) : Ql(function() {
|
|
48872
48872
|
(zt & (Pn | Ii)) === Zr && ln();
|
|
48873
48873
|
}) : mf(Fn, ln), re = null;
|
|
48874
48874
|
else {
|
|
@@ -49040,10 +49040,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49040
49040
|
throw new Error("Should not already be working.");
|
|
49041
49041
|
Da();
|
|
49042
49042
|
var d = io(s, Ue);
|
|
49043
|
-
if (!
|
|
49043
|
+
if (!Nr(d, At))
|
|
49044
49044
|
return ci(s, Hr()), null;
|
|
49045
49045
|
var N = ff(s, d);
|
|
49046
|
-
if (s.tag !==
|
|
49046
|
+
if (s.tag !== wr && N === To) {
|
|
49047
49047
|
var D = ao(s);
|
|
49048
49048
|
D !== Ue && (d = D, N = Rp(s, D));
|
|
49049
49049
|
}
|
|
@@ -49060,11 +49060,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49060
49060
|
d !== Ue && (Ru(s, Ct(d, At)), ci(s, Hr()), (zt & (Pn | Ii)) === Zr && (Il(), ln()));
|
|
49061
49061
|
}
|
|
49062
49062
|
function e_(s) {
|
|
49063
|
-
var d = Dn(), N =
|
|
49063
|
+
var d = Dn(), N = Or.transition;
|
|
49064
49064
|
try {
|
|
49065
|
-
return
|
|
49065
|
+
return Or.transition = null, Dr(ks), s();
|
|
49066
49066
|
} finally {
|
|
49067
|
-
Dr(d),
|
|
49067
|
+
Dr(d), Or.transition = N;
|
|
49068
49068
|
}
|
|
49069
49069
|
}
|
|
49070
49070
|
function t_(s, d) {
|
|
@@ -49078,22 +49078,22 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49078
49078
|
}
|
|
49079
49079
|
}
|
|
49080
49080
|
function r_(s, d, N, D, M) {
|
|
49081
|
-
var Y = Dn(), re =
|
|
49081
|
+
var Y = Dn(), re = Or.transition;
|
|
49082
49082
|
try {
|
|
49083
|
-
return
|
|
49083
|
+
return Or.transition = null, Dr(En), s(d, N, D, M);
|
|
49084
49084
|
} finally {
|
|
49085
|
-
Dr(Y),
|
|
49085
|
+
Dr(Y), Or.transition = re, zt === Zr && Il();
|
|
49086
49086
|
}
|
|
49087
49087
|
}
|
|
49088
49088
|
function cf(s) {
|
|
49089
|
-
Hs !== null && Hs.tag ===
|
|
49089
|
+
Hs !== null && Hs.tag === wr && (zt & (Pn | Ii)) === Zr && Da();
|
|
49090
49090
|
var d = zt;
|
|
49091
49091
|
zt |= gp;
|
|
49092
|
-
var N =
|
|
49092
|
+
var N = Or.transition, D = Dn();
|
|
49093
49093
|
try {
|
|
49094
|
-
return
|
|
49094
|
+
return Or.transition = null, Dr(En), s ? s() : void 0;
|
|
49095
49095
|
} finally {
|
|
49096
|
-
Dr(D),
|
|
49096
|
+
Dr(D), Or.transition = N, zt = d, (zt & (Pn | Ii)) === Zr && ln();
|
|
49097
49097
|
}
|
|
49098
49098
|
}
|
|
49099
49099
|
function n_() {
|
|
@@ -49102,11 +49102,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49102
49102
|
function i_(s) {
|
|
49103
49103
|
var d = zt;
|
|
49104
49104
|
zt |= gp;
|
|
49105
|
-
var N =
|
|
49105
|
+
var N = Or.transition, D = Dn();
|
|
49106
49106
|
try {
|
|
49107
|
-
|
|
49107
|
+
Or.transition = null, Dr(En), s();
|
|
49108
49108
|
} finally {
|
|
49109
|
-
Dr(D),
|
|
49109
|
+
Dr(D), Or.transition = N, zt = d, zt === Zr && (Il(), ln());
|
|
49110
49110
|
}
|
|
49111
49111
|
}
|
|
49112
49112
|
function df(s, d) {
|
|
@@ -49118,21 +49118,21 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49118
49118
|
function Co(s, d) {
|
|
49119
49119
|
s.finishedWork = null, s.finishedLanes = Ue;
|
|
49120
49120
|
var N = s.timeoutHandle;
|
|
49121
|
-
if (N !== Xl && (s.timeoutHandle = Xl, hi(N)),
|
|
49122
|
-
for (var D =
|
|
49121
|
+
if (N !== Xl && (s.timeoutHandle = Xl, hi(N)), kr !== null)
|
|
49122
|
+
for (var D = kr.return; D !== null; ) {
|
|
49123
49123
|
var M = D.alternate;
|
|
49124
49124
|
pg(M, D), D = D.return;
|
|
49125
49125
|
}
|
|
49126
49126
|
Jn = s;
|
|
49127
49127
|
var Y = Po(s.current, null);
|
|
49128
|
-
return
|
|
49128
|
+
return kr = Y, hn = La = d, pn = os, oc = null, rf = Ue, lc = Ue, nf = Ue, uc = null, ui = null, Dv(), Ne.discardPendingWarnings(), Y;
|
|
49129
49129
|
}
|
|
49130
49130
|
function zg(s, d) {
|
|
49131
49131
|
do {
|
|
49132
|
-
var N =
|
|
49132
|
+
var N = kr;
|
|
49133
49133
|
try {
|
|
49134
49134
|
if (od(), vm(), ur(), mp.current = null, N === null || N.return === null) {
|
|
49135
|
-
pn = ac, oc = d,
|
|
49135
|
+
pn = ac, oc = d, kr = null;
|
|
49136
49136
|
return;
|
|
49137
49137
|
}
|
|
49138
49138
|
if (A && N.mode & Bt && Ud(N, !0), S)
|
|
@@ -49143,7 +49143,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49143
49143
|
Qa(N, d, hn);
|
|
49144
49144
|
d0(s, N.return, N, d, hn), Wg(N);
|
|
49145
49145
|
} catch (M) {
|
|
49146
|
-
d = M,
|
|
49146
|
+
d = M, kr === N && N !== null ? (N = N.return, kr = N) : N = kr;
|
|
49147
49147
|
continue;
|
|
49148
49148
|
}
|
|
49149
49149
|
return;
|
|
@@ -49194,13 +49194,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49194
49194
|
zg(s, Y);
|
|
49195
49195
|
}
|
|
49196
49196
|
while (!0);
|
|
49197
|
-
if (od(), zt = N, Hg(D),
|
|
49197
|
+
if (od(), zt = N, Hg(D), kr !== null)
|
|
49198
49198
|
throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");
|
|
49199
49199
|
return Ja(), Jn = null, hn = Ue, pn;
|
|
49200
49200
|
}
|
|
49201
49201
|
function u_() {
|
|
49202
|
-
for (;
|
|
49203
|
-
Vg(
|
|
49202
|
+
for (; kr !== null; )
|
|
49203
|
+
Vg(kr);
|
|
49204
49204
|
}
|
|
49205
49205
|
function c_(s, d) {
|
|
49206
49206
|
var N = zt;
|
|
@@ -49222,63 +49222,63 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49222
49222
|
zg(s, Y);
|
|
49223
49223
|
}
|
|
49224
49224
|
while (!0);
|
|
49225
|
-
return od(), Hg(D), zt = N,
|
|
49225
|
+
return od(), Hg(D), zt = N, kr !== null ? (Qi(), os) : (Ja(), Jn = null, hn = Ue, pn);
|
|
49226
49226
|
}
|
|
49227
49227
|
function d_() {
|
|
49228
|
-
for (;
|
|
49229
|
-
Vg(
|
|
49228
|
+
for (; kr !== null && !ki(); )
|
|
49229
|
+
Vg(kr);
|
|
49230
49230
|
}
|
|
49231
49231
|
function Vg(s) {
|
|
49232
49232
|
var d = s.alternate;
|
|
49233
49233
|
or(s);
|
|
49234
49234
|
var N;
|
|
49235
|
-
(s.mode & Bt) !==
|
|
49235
|
+
(s.mode & Bt) !== Tt ? (Ih(s), N = Pp(d, s, La), Ud(s, !0)) : N = Pp(d, s, La), ur(), s.memoizedProps = s.pendingProps, N === null ? Wg(s) : kr = N, mp.current = null;
|
|
49236
49236
|
}
|
|
49237
49237
|
function Wg(s) {
|
|
49238
49238
|
var d = s;
|
|
49239
49239
|
do {
|
|
49240
49240
|
var N = d.alternate, D = d.return;
|
|
49241
|
-
if ((d.flags & Gi) ===
|
|
49241
|
+
if ((d.flags & Gi) === $e) {
|
|
49242
49242
|
or(d);
|
|
49243
49243
|
var M = void 0;
|
|
49244
|
-
if ((d.mode & Bt) ===
|
|
49245
|
-
|
|
49244
|
+
if ((d.mode & Bt) === Tt ? M = hg(N, d, La) : (Ih(d), M = hg(N, d, La), Ud(d, !1)), ur(), M !== null) {
|
|
49245
|
+
kr = M;
|
|
49246
49246
|
return;
|
|
49247
49247
|
}
|
|
49248
49248
|
} else {
|
|
49249
49249
|
var Y = $0(N, d);
|
|
49250
49250
|
if (Y !== null) {
|
|
49251
|
-
Y.flags &= la,
|
|
49251
|
+
Y.flags &= la, kr = Y;
|
|
49252
49252
|
return;
|
|
49253
49253
|
}
|
|
49254
|
-
if ((d.mode & Bt) !==
|
|
49254
|
+
if ((d.mode & Bt) !== Tt) {
|
|
49255
49255
|
Ud(d, !1);
|
|
49256
49256
|
for (var re = d.actualDuration, ae = d.child; ae !== null; )
|
|
49257
49257
|
re += ae.actualDuration, ae = ae.sibling;
|
|
49258
49258
|
d.actualDuration = re;
|
|
49259
49259
|
}
|
|
49260
49260
|
if (D !== null)
|
|
49261
|
-
D.flags |= Gi, D.subtreeFlags =
|
|
49261
|
+
D.flags |= Gi, D.subtreeFlags = $e, D.deletions = null;
|
|
49262
49262
|
else {
|
|
49263
|
-
pn = vp,
|
|
49263
|
+
pn = vp, kr = null;
|
|
49264
49264
|
return;
|
|
49265
49265
|
}
|
|
49266
49266
|
}
|
|
49267
49267
|
var le = d.sibling;
|
|
49268
49268
|
if (le !== null) {
|
|
49269
|
-
|
|
49269
|
+
kr = le;
|
|
49270
49270
|
return;
|
|
49271
49271
|
}
|
|
49272
|
-
d = D,
|
|
49272
|
+
d = D, kr = d;
|
|
49273
49273
|
} while (d !== null);
|
|
49274
49274
|
pn === os && (pn = Dg);
|
|
49275
49275
|
}
|
|
49276
49276
|
function Ao(s, d, N) {
|
|
49277
|
-
var D = Dn(), M =
|
|
49277
|
+
var D = Dn(), M = Or.transition;
|
|
49278
49278
|
try {
|
|
49279
|
-
|
|
49279
|
+
Or.transition = null, Dr(En), f_(s, d, N, D);
|
|
49280
49280
|
} finally {
|
|
49281
|
-
|
|
49281
|
+
Or.transition = M, Dr(D);
|
|
49282
49282
|
}
|
|
49283
49283
|
return null;
|
|
49284
49284
|
}
|
|
@@ -49295,24 +49295,24 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49295
49295
|
throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
|
|
49296
49296
|
s.callbackNode = null, s.callbackPriority = zr;
|
|
49297
49297
|
var re = Ct(M.lanes, M.childLanes);
|
|
49298
|
-
Of(s, re), s === Jn && (Jn = null,
|
|
49298
|
+
Of(s, re), s === Jn && (Jn = null, kr = null, hn = Ue), ((M.subtreeFlags & hr) !== $e || (M.flags & hr) !== $e) && (Ro || (Ro = !0, Ep = N, mf(bn, function() {
|
|
49299
49299
|
return Da(), null;
|
|
49300
49300
|
})));
|
|
49301
|
-
var ae = (M.subtreeFlags & (Ut |
|
|
49301
|
+
var ae = (M.subtreeFlags & (Ut | Ar | fr | hr)) !== $e, le = (M.flags & (Ut | Ar | fr | hr)) !== $e;
|
|
49302
49302
|
if (ae || le) {
|
|
49303
|
-
var me =
|
|
49304
|
-
|
|
49303
|
+
var me = Or.transition;
|
|
49304
|
+
Or.transition = null;
|
|
49305
49305
|
var ve = Dn();
|
|
49306
49306
|
Dr(En);
|
|
49307
49307
|
var Ee = zt;
|
|
49308
|
-
zt |= Ii, mp.current = null, Q0(s, M), zm(), fy(s, M, Y), Ua(s.containerInfo), s.current = M, ku(Y), hy(M, s, Y), ho(), Au(), zt = Ee, Dr(ve),
|
|
49308
|
+
zt |= Ii, mp.current = null, Q0(s, M), zm(), fy(s, M, Y), Ua(s.containerInfo), s.current = M, ku(Y), hy(M, s, Y), ho(), Au(), zt = Ee, Dr(ve), Or.transition = me;
|
|
49309
49309
|
} else
|
|
49310
49310
|
s.current = M, zm();
|
|
49311
49311
|
var Pe = Ro;
|
|
49312
49312
|
if (Ro ? (Ro = !1, Hs = s, cc = Y) : (Gl = 0, of = null), re = s.pendingLanes, re === Ue && (Ul = null), Pe || qg(s.current, !1), co(M.stateNode, D), jn && s.memoizedUpdaters.clear(), Gy(), ci(s, Hr()), d !== null)
|
|
49313
49313
|
for (var Fe = s.onRecoverableError, Ge = 0; Ge < d.length; Ge++) {
|
|
49314
|
-
var
|
|
49315
|
-
Fe(
|
|
49314
|
+
var Ie = d[Ge], gt = Ie.stack, Pt = Ie.digest;
|
|
49315
|
+
Fe(Ie.value, {
|
|
49316
49316
|
componentStack: gt,
|
|
49317
49317
|
digest: Pt
|
|
49318
49318
|
});
|
|
@@ -49322,15 +49322,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49322
49322
|
var St = xp;
|
|
49323
49323
|
throw xp = null, St;
|
|
49324
49324
|
}
|
|
49325
|
-
return
|
|
49325
|
+
return Nr(cc, At) && s.tag !== wr && Da(), re = s.pendingLanes, Nr(re, At) ? (i0(), s === bp ? dc++ : (dc = 0, bp = s)) : dc = 0, ln(), fo(), null;
|
|
49326
49326
|
}
|
|
49327
49327
|
function Da() {
|
|
49328
49328
|
if (Hs !== null) {
|
|
49329
|
-
var s = pl(cc), d = $c(ks, s), N =
|
|
49329
|
+
var s = pl(cc), d = $c(ks, s), N = Or.transition, D = Dn();
|
|
49330
49330
|
try {
|
|
49331
|
-
return
|
|
49331
|
+
return Or.transition = null, Dr(d), p_();
|
|
49332
49332
|
} finally {
|
|
49333
|
-
Dr(D),
|
|
49333
|
+
Dr(D), Or.transition = N;
|
|
49334
49334
|
}
|
|
49335
49335
|
}
|
|
49336
49336
|
return !1;
|
|
@@ -49454,7 +49454,7 @@ Error message:
|
|
|
49454
49454
|
function hf(s, d, N) {
|
|
49455
49455
|
for (var D = s, M = null; D !== null; ) {
|
|
49456
49456
|
var Y = D.subtreeFlags & d;
|
|
49457
|
-
D !== M && D.child !== null && Y !==
|
|
49457
|
+
D !== M && D.child !== null && Y !== $e ? D = D.child : ((D.flags & d) !== $e && N(D), D.sibling !== null ? D = D.sibling : D = M = D.return);
|
|
49458
49458
|
}
|
|
49459
49459
|
}
|
|
49460
49460
|
var pf = null;
|
|
@@ -49506,7 +49506,7 @@ Error message:
|
|
|
49506
49506
|
case P:
|
|
49507
49507
|
case z:
|
|
49508
49508
|
case V: {
|
|
49509
|
-
var d =
|
|
49509
|
+
var d = kr && je(kr) || "Unknown", N = d;
|
|
49510
49510
|
if (!wp.has(N)) {
|
|
49511
49511
|
wp.add(N);
|
|
49512
49512
|
var D = je(s) || "Unknown";
|
|
@@ -49569,7 +49569,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49569
49569
|
}
|
|
49570
49570
|
}
|
|
49571
49571
|
function A_(s) {
|
|
49572
|
-
s.tag !==
|
|
49572
|
+
s.tag !== wr && Lg() && oa.current === null && c(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
49573
49573
|
|
|
49574
49574
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
49575
49575
|
|
|
@@ -49781,7 +49781,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49781
49781
|
}
|
|
49782
49782
|
}
|
|
49783
49783
|
function D_(s, d, N, D) {
|
|
49784
|
-
this.tag = s, this.key = N, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = d, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = D, this.flags =
|
|
49784
|
+
this.tag = s, this.key = N, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = d, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = D, this.flags = $e, this.subtreeFlags = $e, this.deletions = null, this.lanes = Ue, this.childLanes = Ue, this.alternate = null, this.actualDuration = Number.NaN, this.actualStartTime = Number.NaN, this.selfBaseDuration = Number.NaN, this.treeBaseDuration = Number.NaN, this.actualDuration = 0, this.actualStartTime = -1, this.selfBaseDuration = 0, this.treeBaseDuration = 0, this._debugSource = null, this._debugOwner = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, !Fp && typeof Object.preventExtensions == "function" && Object.preventExtensions(this);
|
|
49785
49785
|
}
|
|
49786
49786
|
var Ri = function(s, d, N, D) {
|
|
49787
49787
|
return new D_(s, d, N, D);
|
|
@@ -49807,7 +49807,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49807
49807
|
}
|
|
49808
49808
|
function Po(s, d) {
|
|
49809
49809
|
var N = s.alternate;
|
|
49810
|
-
N === null ? (N = Ri(s.tag, d, s.key, s.mode), N.elementType = s.elementType, N.type = s.type, N.stateNode = s.stateNode, N._debugSource = s._debugSource, N._debugOwner = s._debugOwner, N._debugHookTypes = s._debugHookTypes, N.alternate = s, s.alternate = N) : (N.pendingProps = d, N.type = s.type, N.flags =
|
|
49810
|
+
N === null ? (N = Ri(s.tag, d, s.key, s.mode), N.elementType = s.elementType, N.type = s.type, N.stateNode = s.stateNode, N._debugSource = s._debugSource, N._debugOwner = s._debugOwner, N._debugHookTypes = s._debugHookTypes, N.alternate = s, s.alternate = N) : (N.pendingProps = d, N.type = s.type, N.flags = $e, N.subtreeFlags = $e, N.deletions = null, N.actualDuration = 0, N.actualStartTime = -1), N.flags = s.flags & Tr, N.childLanes = s.childLanes, N.lanes = s.lanes, N.child = s.child, N.memoizedProps = s.memoizedProps, N.memoizedState = s.memoizedState, N.updateQueue = s.updateQueue;
|
|
49811
49811
|
var D = s.dependencies;
|
|
49812
49812
|
switch (N.dependencies = D === null ? null : {
|
|
49813
49813
|
lanes: D.lanes,
|
|
@@ -49831,9 +49831,9 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49831
49831
|
s.flags &= Tr | Mt;
|
|
49832
49832
|
var N = s.alternate;
|
|
49833
49833
|
if (N === null)
|
|
49834
|
-
s.childLanes = Ue, s.lanes = d, s.child = null, s.subtreeFlags =
|
|
49834
|
+
s.childLanes = Ue, s.lanes = d, s.child = null, s.subtreeFlags = $e, s.memoizedProps = null, s.memoizedState = null, s.updateQueue = null, s.dependencies = null, s.stateNode = null, s.selfBaseDuration = 0, s.treeBaseDuration = 0;
|
|
49835
49835
|
else {
|
|
49836
|
-
s.childLanes = N.childLanes, s.lanes = N.lanes, s.child = N.child, s.subtreeFlags =
|
|
49836
|
+
s.childLanes = N.childLanes, s.lanes = N.lanes, s.child = N.child, s.subtreeFlags = $e, s.deletions = null, s.memoizedProps = N.memoizedProps, s.memoizedState = N.memoizedState, s.updateQueue = N.updateQueue, s.type = N.type;
|
|
49837
49837
|
var D = N.dependencies;
|
|
49838
49838
|
s.dependencies = D === null ? null : {
|
|
49839
49839
|
lanes: D.lanes,
|
|
@@ -49844,7 +49844,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49844
49844
|
}
|
|
49845
49845
|
function I_(s, d, N) {
|
|
49846
49846
|
var D;
|
|
49847
|
-
return s === Ko ? (D = Wt, d === !0 && (D |= ar, D |= kn)) : D =
|
|
49847
|
+
return s === Ko ? (D = Wt, d === !0 && (D |= ar, D |= kn)) : D = Tt, jn && (D |= Bt), Ri(k, null, null, D);
|
|
49848
49848
|
}
|
|
49849
49849
|
function Mp(s, d, N, D, M, Y) {
|
|
49850
49850
|
var re = O, ae = s;
|
|
@@ -49858,7 +49858,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49858
49858
|
case xe:
|
|
49859
49859
|
return Ys(N.children, M, Y, d);
|
|
49860
49860
|
case Oe:
|
|
49861
|
-
re = W, M |= ar, (M & Wt) !==
|
|
49861
|
+
re = W, M |= ar, (M & Wt) !== Tt && (M |= kn);
|
|
49862
49862
|
break;
|
|
49863
49863
|
case Re:
|
|
49864
49864
|
return U_(N, M, Y, d);
|
|
@@ -49945,11 +49945,11 @@ Check the render method of \`` + me + "`.");
|
|
|
49945
49945
|
return D.lanes = N, D;
|
|
49946
49946
|
}
|
|
49947
49947
|
function z_() {
|
|
49948
|
-
var s = Ri(F, null, null,
|
|
49948
|
+
var s = Ri(F, null, null, Tt);
|
|
49949
49949
|
return s.elementType = "DELETED", s;
|
|
49950
49950
|
}
|
|
49951
49951
|
function $_(s) {
|
|
49952
|
-
var d = Ri(J, null, null,
|
|
49952
|
+
var d = Ri(J, null, null, Tt);
|
|
49953
49953
|
return d.stateNode = s, d;
|
|
49954
49954
|
}
|
|
49955
49955
|
function Gp(s, d, N) {
|
|
@@ -49962,7 +49962,7 @@ Check the render method of \`` + me + "`.");
|
|
|
49962
49962
|
}, M;
|
|
49963
49963
|
}
|
|
49964
49964
|
function av(s, d) {
|
|
49965
|
-
return s === null && (s = Ri(O, null, null,
|
|
49965
|
+
return s === null && (s = Ri(O, null, null, Tt)), s.tag = d.tag, s.key = d.key, s.elementType = d.elementType, s.type = d.type, s.stateNode = d.stateNode, s.return = d.return, s.child = d.child, s.sibling = d.sibling, s.index = d.index, s.ref = d.ref, s.pendingProps = d.pendingProps, s.memoizedProps = d.memoizedProps, s.updateQueue = d.updateQueue, s.memoizedState = d.memoizedState, s.dependencies = d.dependencies, s.mode = d.mode, s.flags = d.flags, s.subtreeFlags = d.subtreeFlags, s.deletions = d.deletions, s.lanes = d.lanes, s.childLanes = d.childLanes, s.alternate = d.alternate, s.actualDuration = d.actualDuration, s.actualStartTime = d.actualStartTime, s.selfBaseDuration = d.selfBaseDuration, s.treeBaseDuration = d.treeBaseDuration, s._debugSource = d._debugSource, s._debugOwner = d._debugOwner, s._debugNeedsRemount = d._debugNeedsRemount, s._debugHookTypes = d._debugHookTypes, s;
|
|
49966
49966
|
}
|
|
49967
49967
|
function H_(s, d, N, D, M) {
|
|
49968
49968
|
this.tag = d, this.containerInfo = s, this.pendingChildren = null, this.current = null, this.pingCache = null, this.finishedWork = null, this.timeoutHandle = Xl, this.context = null, this.pendingContext = null, this.callbackNode = null, this.callbackPriority = zr, this.eventTimes = Ns(Ue), this.expirationTimes = Ns(pr), this.pendingLanes = Ue, this.suspendedLanes = Ue, this.pingedLanes = Ue, this.expiredLanes = Ue, this.mutableReadLanes = Ue, this.finishedLanes = Ue, this.entangledLanes = Ue, this.entanglements = Ns(Ue), this.identifierPrefix = D, this.onRecoverableError = M, yn && (this.mutableSourceEagerHydrationData = null), this.effectDuration = 0, this.passiveEffectDuration = 0;
|
|
@@ -49975,7 +49975,7 @@ Check the render method of \`` + me + "`.");
|
|
|
49975
49975
|
case Ko:
|
|
49976
49976
|
this._debugRootType = N ? "hydrateRoot()" : "createRoot()";
|
|
49977
49977
|
break;
|
|
49978
|
-
case
|
|
49978
|
+
case wr:
|
|
49979
49979
|
this._debugRootType = N ? "hydrate()" : "render()";
|
|
49980
49980
|
break;
|
|
49981
49981
|
}
|
|
@@ -50066,8 +50066,8 @@ Check the render method of \`` + me + "`.");
|
|
|
50066
50066
|
function q_(s, d, N, D, M, Y, re, ae, le, me) {
|
|
50067
50067
|
var ve = !0, Ee = sv(N, D, ve, s, M, Y, re, ae, le);
|
|
50068
50068
|
Ee.context = ov(null);
|
|
50069
|
-
var Pe = Ee.current, Fe = Un(), Ge = Vs(Pe),
|
|
50070
|
-
return
|
|
50069
|
+
var Pe = Ee.current, Fe = Un(), Ge = Vs(Pe), Ie = as(Fe, Ge);
|
|
50070
|
+
return Ie.callback = d ?? null, Is(Pe, Ie, Ge), Xy(Ee, Ge, Fe), Ee;
|
|
50071
50071
|
}
|
|
50072
50072
|
function lv(s, d, N, D) {
|
|
50073
50073
|
gl(d, s);
|
|
@@ -51073,9 +51073,9 @@ function ImageClickWrapperComponent(o) {
|
|
|
51073
51073
|
var Le;
|
|
51074
51074
|
if ((f.length === G.length || E && G.length > 0) && !W) {
|
|
51075
51075
|
ee(!0);
|
|
51076
|
-
const We = G[G.length - 1], je = A == null ? void 0 : A.correctFeedbacks.find((
|
|
51077
|
-
(!((Le = A == null ? void 0 : A.correctFeedbacks) != null && Le.length) || A != null && A.correctFeedbacks.some((
|
|
51078
|
-
|
|
51076
|
+
const We = G[G.length - 1], je = A == null ? void 0 : A.correctFeedbacks.find(($e) => $e.id === We.id);
|
|
51077
|
+
(!((Le = A == null ? void 0 : A.correctFeedbacks) != null && Le.length) || A != null && A.correctFeedbacks.some(($e) => !$e.desc) || E) && (I(($e) => ({
|
|
51078
|
+
...$e,
|
|
51079
51079
|
show: !0,
|
|
51080
51080
|
success: !0,
|
|
51081
51081
|
text: je ? je.desc : l.solution.right.desc,
|
|
@@ -51116,13 +51116,13 @@ function ImageClickWrapperComponent(o) {
|
|
|
51116
51116
|
q && n(!0);
|
|
51117
51117
|
}, [q, n]);
|
|
51118
51118
|
const pt = (Le, We = !1) => {
|
|
51119
|
-
var je,
|
|
51119
|
+
var je, $e;
|
|
51120
51120
|
if (!W) {
|
|
51121
51121
|
const { rewards: jt, desc: Mt } = qe.wrong;
|
|
51122
51122
|
let ut = Mt, vr = jt;
|
|
51123
|
-
const Yr = (je = A == null ? void 0 : A.wrongFeedbacks) == null ? void 0 : je.find((
|
|
51124
|
-
Yr && (ut = Yr.desc, vr = Yr.rewards), h && (H([]), We && (
|
|
51125
|
-
|
|
51123
|
+
const Yr = (je = A == null ? void 0 : A.wrongFeedbacks) == null ? void 0 : je.find((ze) => ze.id === Le.id);
|
|
51124
|
+
Yr && (ut = Yr.desc, vr = Yr.rewards), h && (H([]), We && ($e = l == null ? void 0 : l.orderFeedback) != null && $e.desc && (ut = l.orderFeedback.desc, vr = l.orderFeedback.rewards)), y && (yt(), kt()), I((ze) => ({
|
|
51125
|
+
...ze,
|
|
51126
51126
|
show: !0,
|
|
51127
51127
|
success: !1,
|
|
51128
51128
|
text: ut,
|
|
@@ -51155,18 +51155,18 @@ function ImageClickWrapperComponent(o) {
|
|
|
51155
51155
|
Ke
|
|
51156
51156
|
]), he = (Le) => {
|
|
51157
51157
|
var We, je;
|
|
51158
|
-
if (!G.some((
|
|
51158
|
+
if (!G.some(($e) => $e.index === Le.index) && !B.show && !W) {
|
|
51159
51159
|
Be("click-ui");
|
|
51160
|
-
let
|
|
51160
|
+
let $e = qe.right.desc, { rewards: jt } = qe.right;
|
|
51161
51161
|
const Mt = [...G, Le];
|
|
51162
51162
|
if (h && Le.index === G.length || !h) {
|
|
51163
51163
|
if (y && kt(Oe), t(), (We = A == null ? void 0 : A.correctFeedbacks) != null && We.length) {
|
|
51164
51164
|
const ut = (je = A.correctFeedbacks) == null ? void 0 : je.find((vr) => vr.id === Le.id);
|
|
51165
|
-
ut && (
|
|
51165
|
+
ut && ($e = ut.desc, jt = ut.rewards), !$e && f.length > Mt.length && !E ? tr(jt, !0) : $e && !E && (I((vr) => ({
|
|
51166
51166
|
...vr,
|
|
51167
51167
|
show: !0,
|
|
51168
51168
|
success: !0,
|
|
51169
|
-
text:
|
|
51169
|
+
text: $e,
|
|
51170
51170
|
rewards: jt
|
|
51171
51171
|
})), y && yt());
|
|
51172
51172
|
}
|
|
@@ -57408,7 +57408,7 @@ function DialogComponent({
|
|
|
57408
57408
|
progress: h
|
|
57409
57409
|
}) {
|
|
57410
57410
|
var Yr;
|
|
57411
|
-
const y = (h == null ? void 0 : h.line) || 0, [E, g] = useState(y), [_, p] = useState(!!u), [x, C] = useState(!1), [T, S] = useState(!1), A = useThree((
|
|
57411
|
+
const y = (h == null ? void 0 : h.line) || 0, [E, g] = useState(y), [_, p] = useState(!!u), [x, C] = useState(!1), [T, S] = useState(!1), A = useThree((ze) => ze.scene), R = useThree((ze) => ze.camera), { start: P, stop: w } = useTimeout(), O = useRef([]), k = useMemo(() => R.clone(), []), L = useRef({ pos: [0, 0, 0], child: null }), F = r[E], G = r[E - 1], H = useRef(!1), W = !!n, { voiceOver: ee, decision: q } = F || {}, z = useRef({}), B = (Yr = F == null ? void 0 : F.slots) == null ? void 0 : Yr.find((ze) => ze.talking), I = useRef(!1), { startAnimation: U, startAnimationUrl: V, resetActives: X, preloadTalking: Q, unmountActives: J } = useStateMachine(r), ie = useRef(), ne = Object.keys((F == null ? void 0 : F.audio) || {}).length, Z = Object.keys((F == null ? void 0 : F.voice) || {}).length, se = ee || (F == null ? void 0 : F.type) === "conversationalNarration", oe = q || (F == null ? void 0 : F.type) === "conversationalDecision", de = F.type === "conversationalCamera", fe = _ && !oe && !de, [ce, xe] = useState({
|
|
57412
57412
|
text: "",
|
|
57413
57413
|
name: "",
|
|
57414
57414
|
inScene: !1,
|
|
@@ -57416,40 +57416,40 @@ function DialogComponent({
|
|
|
57416
57416
|
voiceOver: !1,
|
|
57417
57417
|
avatar: "",
|
|
57418
57418
|
show: !1
|
|
57419
|
-
}), Oe = useMemo(() => r.reduce((
|
|
57420
|
-
|
|
57421
|
-
}),
|
|
57422
|
-
const
|
|
57423
|
-
return !qe && (h == null ? void 0 : h.line) >= 0 ? { decision: !0 } :
|
|
57419
|
+
}), Oe = useMemo(() => r.reduce((ze, Me) => (Me.slots && Me.slots.filter((Et) => Et.uid).forEach((Et) => {
|
|
57420
|
+
ze.includes(Et.uid) || ze.push(Et.uid);
|
|
57421
|
+
}), ze), []), [r]), Re = useCallback((ze) => e({ type: "translate", payload: ze }), [e]), [Ve, Be] = useState([]), qe = useMemo(() => Ve[Ve.length - 1], [Ve]), ft = useCallback(() => {
|
|
57422
|
+
const ze = n.find((ht) => ht.fromId === qe) || n.find((ht) => ht.toId === qe), Me = r.find((ht) => ht.id === (ze == null ? void 0 : ze.fromId));
|
|
57423
|
+
return !qe && (h == null ? void 0 : h.line) >= 0 ? { decision: !0 } : Me;
|
|
57424
57424
|
}, [n, r, qe]), vt = useCallback(() => {
|
|
57425
57425
|
if (W) {
|
|
57426
|
-
const
|
|
57427
|
-
return
|
|
57426
|
+
const Me = ft();
|
|
57427
|
+
return Me == null ? void 0 : Me.decision;
|
|
57428
57428
|
}
|
|
57429
|
-
const
|
|
57430
|
-
return E > 0 && (
|
|
57429
|
+
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57430
|
+
return E > 0 && (ze == null ? void 0 : ze.decision);
|
|
57431
57431
|
}, [F, W, r, qe, n]), it = useCallback(() => {
|
|
57432
57432
|
if (W) {
|
|
57433
|
-
const
|
|
57434
|
-
return (
|
|
57433
|
+
const Me = ft();
|
|
57434
|
+
return (Me == null ? void 0 : Me.type) === "conversationalCamera";
|
|
57435
57435
|
}
|
|
57436
|
-
const
|
|
57437
|
-
return E > 0 && (
|
|
57436
|
+
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57437
|
+
return E > 0 && (ze == null ? void 0 : ze.type) === "conversationalCamera";
|
|
57438
57438
|
}, [F, W, r, qe, n]), dt = useCallback(
|
|
57439
|
-
(
|
|
57439
|
+
(ze) => {
|
|
57440
57440
|
var ht, Et;
|
|
57441
|
-
const
|
|
57442
|
-
return ((Et = (ht =
|
|
57441
|
+
const Me = t.find((bt) => (bt == null ? void 0 : bt.uid) === (ze == null ? void 0 : ze.uid) ? bt : "");
|
|
57442
|
+
return ((Et = (ht = ze == null ? void 0 : ze.character) == null ? void 0 : ht.resource) == null ? void 0 : Et.url) || (Me == null ? void 0 : Me.completeUrl) || "";
|
|
57443
57443
|
},
|
|
57444
57444
|
[t]
|
|
57445
|
-
), tr = (
|
|
57445
|
+
), tr = (ze = () => {
|
|
57446
57446
|
}) => {
|
|
57447
57447
|
if (I.current)
|
|
57448
57448
|
I.current && (I.current = !1);
|
|
57449
57449
|
else {
|
|
57450
57450
|
R.updateProjectionMatrix(), R.updateMatrixWorld(!0);
|
|
57451
|
-
const
|
|
57452
|
-
if (animationTarget.position.fromArray(
|
|
57451
|
+
const Me = L.current.child ? L.current.pos : k.position.toArray();
|
|
57452
|
+
if (animationTarget.position.fromArray(Me), L.current.parent) {
|
|
57453
57453
|
animationTarget.quaternion.equals(R.quaternion) || animationTarget.applyQuaternion(R.quaternion);
|
|
57454
57454
|
const ht = L.current.isLeft ? -1 : 1, Et = headSize * ht;
|
|
57455
57455
|
animationTarget.translateX(-10 * ht + Et), animationTarget.translateY(-2), animationTarget.translateZ(30);
|
|
@@ -57467,11 +57467,11 @@ function DialogComponent({
|
|
|
57467
57467
|
});
|
|
57468
57468
|
},
|
|
57469
57469
|
onComplete: () => {
|
|
57470
|
-
|
|
57470
|
+
ze(), raycast.set(R.getWorldPosition(new Vector3(0, 0, 0)), R.getWorldDirection(new Vector3()));
|
|
57471
57471
|
const ht = raycast.intersectObjects(A.children, !0);
|
|
57472
57472
|
O.current = ht.filter((Et) => Et.distance < 10), O.current.length && O.current.forEach((Et) => {
|
|
57473
|
-
const { object:
|
|
57474
|
-
|
|
57473
|
+
const { object: bt } = Et;
|
|
57474
|
+
bt.material.side = 0;
|
|
57475
57475
|
}), I.current = !1, H.current && e({ type: "success" }), L.current.child || R.copy(k);
|
|
57476
57476
|
},
|
|
57477
57477
|
...animationTarget.position
|
|
@@ -57479,35 +57479,37 @@ function DialogComponent({
|
|
|
57479
57479
|
}
|
|
57480
57480
|
}, Ot = useCallback(() => {
|
|
57481
57481
|
L.current.child = null, L.current.parent = null, l && tr();
|
|
57482
|
-
}, [l]), yt = (
|
|
57483
|
-
const
|
|
57484
|
-
ht ? V(
|
|
57482
|
+
}, [l]), yt = (ze, Me, ht, Et = !1) => {
|
|
57483
|
+
const bt = Me.includes("seated");
|
|
57484
|
+
ht ? V(ze, ht.url, Me.includes("talking")).then((Kt) => {
|
|
57485
57485
|
if (Kt && BASIC_ACTIONS_TYPES_WHITELIST.includes(ht.animationId)) {
|
|
57486
|
-
const It = Kt.setLoop(LoopRepeat, 2).getMixer(),
|
|
57487
|
-
|
|
57488
|
-
It.removeEventListener("loop",
|
|
57486
|
+
const It = Kt.setLoop(LoopRepeat, 2).getMixer(), Cr = () => {
|
|
57487
|
+
H.current ? U(ze, "idle").then(() => {
|
|
57488
|
+
It.removeEventListener("loop", Cr);
|
|
57489
|
+
}) : U(ze, ie.current === ze ? "neutral_talking" : "neutral").then(() => {
|
|
57490
|
+
It.removeEventListener("loop", Cr);
|
|
57489
57491
|
});
|
|
57490
57492
|
};
|
|
57491
|
-
It.addEventListener("loop",
|
|
57493
|
+
It.addEventListener("loop", Cr);
|
|
57492
57494
|
}
|
|
57493
|
-
}) : U(
|
|
57495
|
+
}) : U(ze, Et && !bt ? `${Me}-seated` : Me);
|
|
57494
57496
|
}, kt = () => {
|
|
57495
57497
|
if (!(B != null && B.emotion) || H.current)
|
|
57496
57498
|
return;
|
|
57497
|
-
const { emotion:
|
|
57499
|
+
const { emotion: ze, uid: Me, animation: ht } = B, Et = getCurrentVisible(Me, A);
|
|
57498
57500
|
if (Et) {
|
|
57499
|
-
const { isSeated:
|
|
57500
|
-
Q(
|
|
57501
|
-
yt(
|
|
57501
|
+
const { isSeated: bt } = Et;
|
|
57502
|
+
Q(Me).then(() => {
|
|
57503
|
+
yt(Me, `${ze}_talking`, ht, bt), ie.current = Me;
|
|
57502
57504
|
});
|
|
57503
57505
|
}
|
|
57504
57506
|
}, Ft = () => {
|
|
57505
57507
|
if (!(B != null && B.uid) || H.current)
|
|
57506
57508
|
return;
|
|
57507
|
-
const { emotion:
|
|
57509
|
+
const { emotion: ze, uid: Me, animation: ht } = B, Et = getCurrentVisible(Me, A);
|
|
57508
57510
|
if (Et) {
|
|
57509
|
-
const { isSeated:
|
|
57510
|
-
yt(
|
|
57511
|
+
const { isSeated: bt } = Et;
|
|
57512
|
+
ie.current === Me ? yt(Me, "neutral", null, bt) : yt(Me, ze, ht, bt), ie.current = null;
|
|
57511
57513
|
}
|
|
57512
57514
|
}, Ke = useCallback(() => {
|
|
57513
57515
|
H.current = !0, xe({ show: !1 }), Ot(), X(), l || e({ type: "success" });
|
|
@@ -57515,55 +57517,55 @@ function DialogComponent({
|
|
|
57515
57517
|
useEffect(() => () => {
|
|
57516
57518
|
z.current = {}, J();
|
|
57517
57519
|
}, []);
|
|
57518
|
-
const pt = (
|
|
57519
|
-
xe({ show: !1 }), g(
|
|
57520
|
+
const pt = (ze) => {
|
|
57521
|
+
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57520
57522
|
}, lt = useCallback(
|
|
57521
|
-
(
|
|
57522
|
-
const
|
|
57523
|
-
if (!(Et != null && Et[
|
|
57523
|
+
(ze = !0) => {
|
|
57524
|
+
const Me = ze ? ["fromId", "toId"] : ["toId", "fromId"], ht = n.filter((Kt) => Kt[Me[0]] === F.id), Et = ht.length === 1 ? ht[0] : ht.find((Kt) => Kt[Me[1]] === qe);
|
|
57525
|
+
if (!(Et != null && Et[Me[0]])) {
|
|
57524
57526
|
Ke();
|
|
57525
57527
|
return;
|
|
57526
57528
|
}
|
|
57527
|
-
|
|
57528
|
-
const
|
|
57529
|
-
|
|
57529
|
+
ze || Be(Ve.slice(0, Ve.length - 1));
|
|
57530
|
+
const bt = r.findIndex((Kt) => Kt.id === Et[Me[1]]);
|
|
57531
|
+
bt >= 0 ? pt(bt) : Ke();
|
|
57530
57532
|
},
|
|
57531
57533
|
[F == null ? void 0 : F.id, e, n, Ke, r]
|
|
57532
57534
|
), he = useCallback(
|
|
57533
|
-
(
|
|
57534
|
-
const ht = [3, 2, 1][
|
|
57535
|
-
Kt >= 0 ? (
|
|
57535
|
+
(ze, Me) => {
|
|
57536
|
+
const ht = [3, 2, 1][ze.id], bt = n.filter((It) => It.fromId === (F == null ? void 0 : F.id)).find((It) => parseInt(It.fromPointIndex) === ht), Kt = r.findIndex((It) => It.id === (bt == null ? void 0 : bt.toId));
|
|
57537
|
+
Kt >= 0 ? (bt == null ? void 0 : bt.fromId) === (bt == null ? void 0 : bt.toId) ? Me() : pt(Kt) : Ke();
|
|
57536
57538
|
},
|
|
57537
57539
|
[F == null ? void 0 : F.id, n, Ke, r]
|
|
57538
57540
|
), pe = useCallback(() => {
|
|
57539
57541
|
if (z.current = { ...B }, S(!1), Ft(), W)
|
|
57540
57542
|
lt(!1);
|
|
57541
57543
|
else if (!vt()) {
|
|
57542
|
-
const
|
|
57543
|
-
xe({ show: !1 }), g(
|
|
57544
|
+
const ze = E - 1;
|
|
57545
|
+
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57544
57546
|
}
|
|
57545
57547
|
}, [lt, e, W, G, E, B]), ye = useCallback(
|
|
57546
|
-
(
|
|
57548
|
+
(ze) => {
|
|
57547
57549
|
if (W) {
|
|
57548
|
-
if (
|
|
57549
|
-
const
|
|
57550
|
+
if (ze) {
|
|
57551
|
+
const Me = [3, 2, 1][ze.id], Et = n.filter((bt) => bt.fromId === F.id).find((bt) => parseInt(bt.fromPointIndex) === Me);
|
|
57550
57552
|
if (Et) {
|
|
57551
|
-
const
|
|
57552
|
-
|
|
57553
|
+
const bt = r.findIndex((Kt) => Kt.id === Et.toId);
|
|
57554
|
+
bt >= 0 && e({ type: "notifyProgress", payload: { line: bt } });
|
|
57553
57555
|
} else
|
|
57554
57556
|
e({ type: "saveNode" });
|
|
57555
57557
|
}
|
|
57556
57558
|
} else if (E < r.length - 1) {
|
|
57557
|
-
const
|
|
57558
|
-
e({ type: "notifyProgress", payload: { line:
|
|
57559
|
+
const Me = E + 1;
|
|
57560
|
+
e({ type: "notifyProgress", payload: { line: Me } });
|
|
57559
57561
|
} else
|
|
57560
57562
|
e({ type: "saveNode" });
|
|
57561
57563
|
},
|
|
57562
57564
|
[n, E, r, e, F.id, W]
|
|
57563
57565
|
), Ce = useCallback(
|
|
57564
|
-
(
|
|
57566
|
+
(ze, Me) => {
|
|
57565
57567
|
if (z.current = { ...B }, Be([...Ve, F.id]), S(!1), Ft(), W)
|
|
57566
|
-
|
|
57568
|
+
ze ? he(ze, Me) : lt();
|
|
57567
57569
|
else if (E < r.length - 1) {
|
|
57568
57570
|
const ht = E + 1;
|
|
57569
57571
|
pt(ht);
|
|
@@ -57585,44 +57587,44 @@ function DialogComponent({
|
|
|
57585
57587
|
]
|
|
57586
57588
|
), Le = () => {
|
|
57587
57589
|
p(!1), pe();
|
|
57588
|
-
}, We = () => W ? F && F.type !== "conversationalDecision" && !n.find((
|
|
57590
|
+
}, We = () => W ? F && F.type !== "conversationalDecision" && !n.find((ze) => ze.fromId === F.id) : E === r.length - 1, je = () => {
|
|
57589
57591
|
We() ? Ke() : (p(!1), Ce());
|
|
57590
57592
|
};
|
|
57591
57593
|
useEffect(() => {
|
|
57592
57594
|
if (W && !x) {
|
|
57593
|
-
const
|
|
57594
|
-
if (
|
|
57595
|
-
C(!0), g(
|
|
57595
|
+
const ze = h == null ? void 0 : h.line;
|
|
57596
|
+
if (ze >= 0) {
|
|
57597
|
+
C(!0), g(ze);
|
|
57596
57598
|
return;
|
|
57597
57599
|
}
|
|
57598
|
-
const
|
|
57599
|
-
if (
|
|
57600
|
-
const ht =
|
|
57600
|
+
const Me = r.filter((ht) => !n.find((Et) => Et.toId === ht.id));
|
|
57601
|
+
if (Me.length) {
|
|
57602
|
+
const ht = Me[0], Et = r.indexOf(ht);
|
|
57601
57603
|
Et >= 0 && (C(!0), g(Et));
|
|
57602
57604
|
}
|
|
57603
57605
|
}
|
|
57604
57606
|
}, [n, W, r, x]);
|
|
57605
|
-
const
|
|
57606
|
-
if (z.current.uid ===
|
|
57607
|
+
const $e = (ze) => {
|
|
57608
|
+
if (z.current.uid === ze.uid || L.current.parent === ze)
|
|
57607
57609
|
return;
|
|
57608
|
-
const
|
|
57609
|
-
ht.updateMatrixWorld(!0),
|
|
57610
|
-
const Et = l ? 2.5 : 2,
|
|
57611
|
-
|
|
57610
|
+
const Me = new Object3D(), ht = ze.getObjectByName("Head_M");
|
|
57611
|
+
ht.updateMatrixWorld(!0), Me.applyMatrix4(ht.matrixWorld), Me.applyQuaternion(R.quaternion);
|
|
57612
|
+
const Et = l ? 2.5 : 2, bt = l ? 1.2 : 1.5;
|
|
57613
|
+
Me.translateY(Et), Me.translateX(bt);
|
|
57612
57614
|
const Kt = new Vector3();
|
|
57613
57615
|
Kt.setFromMatrixPosition(ht.matrixWorld);
|
|
57614
|
-
const
|
|
57616
|
+
const Cr = Kt.project(R).x < 0;
|
|
57615
57617
|
L.current = {
|
|
57616
|
-
pos:
|
|
57618
|
+
pos: Me.position.toArray(),
|
|
57617
57619
|
child: ht,
|
|
57618
|
-
parent:
|
|
57619
|
-
isLeft:
|
|
57620
|
+
parent: ze,
|
|
57621
|
+
isLeft: Cr
|
|
57620
57622
|
};
|
|
57621
|
-
}, jt = (
|
|
57622
|
-
e({ type: "resetZIndexUIContainer", payload:
|
|
57623
|
+
}, jt = (ze) => {
|
|
57624
|
+
e({ type: "resetZIndexUIContainer", payload: ze });
|
|
57623
57625
|
};
|
|
57624
57626
|
useEffect(() => {
|
|
57625
|
-
var
|
|
57627
|
+
var ze;
|
|
57626
57628
|
if (se)
|
|
57627
57629
|
Ot(), xe({
|
|
57628
57630
|
text: F == null ? void 0 : F.text,
|
|
@@ -57636,23 +57638,23 @@ function DialogComponent({
|
|
|
57636
57638
|
});
|
|
57637
57639
|
else if (!H.current && !oe)
|
|
57638
57640
|
if (B) {
|
|
57639
|
-
const
|
|
57641
|
+
const Me = F == null ? void 0 : F.slots.filter((It) => It.uid && !It.talking), ht = [...Me.map((It) => It.uid) || [], B == null ? void 0 : B.uid];
|
|
57640
57642
|
Oe.filter((It) => !ht.includes(It)).forEach((It) => {
|
|
57641
57643
|
U(It, "idle");
|
|
57642
|
-
}),
|
|
57643
|
-
const
|
|
57644
|
-
if (
|
|
57645
|
-
const { isSeated: di } =
|
|
57644
|
+
}), Me.forEach((It) => {
|
|
57645
|
+
const Cr = getCurrentVisible(It.uid, A);
|
|
57646
|
+
if (Cr) {
|
|
57647
|
+
const { isSeated: di } = Cr;
|
|
57646
57648
|
yt(It.uid, It.emotion, It.animation, di);
|
|
57647
57649
|
}
|
|
57648
57650
|
});
|
|
57649
|
-
const
|
|
57650
|
-
|
|
57651
|
-
var It,
|
|
57652
|
-
if (B.uid ===
|
|
57653
|
-
|
|
57654
|
-
const { isSeated: di, userData: ja } =
|
|
57655
|
-
!((It = ja._active) != null && It.includes("talking")) && !((
|
|
57651
|
+
const bt = getCurrentVisible(B.uid, A), Kt = t.find((It) => It.uid === B.uid);
|
|
57652
|
+
bt && !H.current ? setTimeout(() => {
|
|
57653
|
+
var It, Cr;
|
|
57654
|
+
if (B.uid === bt.uid) {
|
|
57655
|
+
$e(bt);
|
|
57656
|
+
const { isSeated: di, userData: ja } = bt, { emotion: la, animation: Gi } = B;
|
|
57657
|
+
!((It = ja._active) != null && It.includes("talking")) && !((Cr = ja._active) != null && Cr.includes(la)) && yt(B.uid, la, Gi, di);
|
|
57656
57658
|
const Lr = () => {
|
|
57657
57659
|
var ge;
|
|
57658
57660
|
xe({
|
|
@@ -57668,7 +57670,7 @@ function DialogComponent({
|
|
|
57668
57670
|
}
|
|
57669
57671
|
}, 150) : (Ot(), xe({
|
|
57670
57672
|
text: B.text,
|
|
57671
|
-
name: B.alias || ((
|
|
57673
|
+
name: B.alias || ((ze = B.character) == null ? void 0 : ze.name) || (Kt == null ? void 0 : Kt.name),
|
|
57672
57674
|
left: !1,
|
|
57673
57675
|
top: B.text.length > maxCharacterToSwitch,
|
|
57674
57676
|
inScene: !1,
|
|
@@ -57702,8 +57704,8 @@ function DialogComponent({
|
|
|
57702
57704
|
emitEvent: e,
|
|
57703
57705
|
pauseTTS: c,
|
|
57704
57706
|
onStart: () => {
|
|
57705
|
-
var
|
|
57706
|
-
(
|
|
57707
|
+
var ze;
|
|
57708
|
+
(ze = B == null ? void 0 : B.emotion) != null && ze.includes("think") || kt();
|
|
57707
57709
|
},
|
|
57708
57710
|
onError: () => {
|
|
57709
57711
|
Ft(), S(!0);
|
|
@@ -57715,22 +57717,22 @@ function DialogComponent({
|
|
|
57715
57717
|
useEffect(() => (Mt(), () => {
|
|
57716
57718
|
Mt();
|
|
57717
57719
|
}), [E, Mt]), useEffect(() => {
|
|
57718
|
-
var
|
|
57720
|
+
var ze;
|
|
57719
57721
|
if (((F == null ? void 0 : F.audioType) === "none" || T) && (ce != null && ce.show) && !(B != null && B.emotion.includes("think"))) {
|
|
57720
57722
|
kt();
|
|
57721
|
-
const
|
|
57723
|
+
const Me = characterMs * (((ze = ce == null ? void 0 : ce.text) == null ? void 0 : ze.length) || 0);
|
|
57722
57724
|
setTimeout(
|
|
57723
57725
|
() => {
|
|
57724
57726
|
Ft();
|
|
57725
57727
|
},
|
|
57726
|
-
|
|
57728
|
+
Me < minMs ? minMs : Me
|
|
57727
57729
|
);
|
|
57728
57730
|
}
|
|
57729
57731
|
}, [T, F == null ? void 0 : F.audioType, B == null ? void 0 : B.emotion, ce]), useEffect(() => {
|
|
57730
|
-
var
|
|
57732
|
+
var ze;
|
|
57731
57733
|
if (fe && ce.show && ((F == null ? void 0 : F.audioType) === "none" || T) && !c) {
|
|
57732
|
-
const
|
|
57733
|
-
(!We() || We() && f) && P(Ce,
|
|
57734
|
+
const Me = characterMs * (((ze = ce == null ? void 0 : ce.text) == null ? void 0 : ze.length) || 0);
|
|
57735
|
+
(!We() || We() && f) && P(Ce, Me < minMs ? minMs : Me);
|
|
57734
57736
|
}
|
|
57735
57737
|
return () => {
|
|
57736
57738
|
w();
|
|
@@ -57765,9 +57767,9 @@ function DialogComponent({
|
|
|
57765
57767
|
`change-camera-${E}`
|
|
57766
57768
|
);
|
|
57767
57769
|
if (oe) {
|
|
57768
|
-
const
|
|
57770
|
+
const ze = {
|
|
57769
57771
|
...F.payload,
|
|
57770
|
-
decisionNumber: r.filter((
|
|
57772
|
+
decisionNumber: r.filter((Me) => Me.decision).findIndex((Me) => Me.id === F.id) + 1,
|
|
57771
57773
|
inheritProps: {
|
|
57772
57774
|
slots: [],
|
|
57773
57775
|
disableBackground: !0
|
|
@@ -57787,7 +57789,7 @@ function DialogComponent({
|
|
|
57787
57789
|
I.current = !1, jt(!1);
|
|
57788
57790
|
}
|
|
57789
57791
|
};
|
|
57790
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(DialogDecision, {
|
|
57792
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(DialogDecision, { ...ze });
|
|
57791
57793
|
}
|
|
57792
57794
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57793
57795
|
ce.text ? /* @__PURE__ */ jsxRuntimeExports.jsx(BubbleWrapper, { translate: Re, currentMessage: ce }) : null,
|