@gamelearn/arcade-components 3.8.10 → 3.8.12
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.
|
@@ -374,9 +374,9 @@ function requireReactJsxRuntime_development() {
|
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
var
|
|
377
|
+
var at = Array.isArray;
|
|
378
378
|
function ht(ge) {
|
|
379
|
-
return
|
|
379
|
+
return at(ge);
|
|
380
380
|
}
|
|
381
381
|
function er(ge) {
|
|
382
382
|
{
|
|
@@ -403,7 +403,7 @@ function requireReactJsxRuntime_development() {
|
|
|
403
403
|
ref: !0,
|
|
404
404
|
__self: !0,
|
|
405
405
|
__source: !0
|
|
406
|
-
}, mt,
|
|
406
|
+
}, mt, ct, he;
|
|
407
407
|
he = {};
|
|
408
408
|
function pe(ge) {
|
|
409
409
|
if (Ve.call(ge, "ref")) {
|
|
@@ -413,7 +413,7 @@ function requireReactJsxRuntime_development() {
|
|
|
413
413
|
}
|
|
414
414
|
return ge.ref !== void 0;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function ve(ge) {
|
|
417
417
|
if (Ve.call(ge, "key")) {
|
|
418
418
|
var He = Object.getOwnPropertyDescriptor(ge, "key").get;
|
|
419
419
|
if (He && He.isReactWarning)
|
|
@@ -441,7 +441,7 @@ function requireReactJsxRuntime_development() {
|
|
|
441
441
|
function We(ge, He) {
|
|
442
442
|
{
|
|
443
443
|
var Je = function() {
|
|
444
|
-
|
|
444
|
+
ct || (ct = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", He));
|
|
445
445
|
};
|
|
446
446
|
Je.isReactWarning = !0, Object.defineProperty(ge, "ref", {
|
|
447
447
|
get: Je,
|
|
@@ -481,7 +481,7 @@ function requireReactJsxRuntime_development() {
|
|
|
481
481
|
function $e(ge, He, Je, St, qt) {
|
|
482
482
|
{
|
|
483
483
|
var Ht, Gt = {}, Ut = null, Cr = null;
|
|
484
|
-
Je !== void 0 && (kt(Je), Ut = "" + Je),
|
|
484
|
+
Je !== void 0 && (kt(Je), Ut = "" + Je), ve(He) && (kt(He.key), Ut = "" + He.key), pe(He) && (Cr = 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) {
|
|
@@ -497,7 +497,7 @@ function requireReactJsxRuntime_development() {
|
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var jt = C.ReactCurrentOwner, Mt = C.ReactDebugCurrentFrame;
|
|
500
|
-
function
|
|
500
|
+
function dt(ge) {
|
|
501
501
|
if (ge) {
|
|
502
502
|
var He = ge._owner, Je = Re(ge.type, ge._source, He ? He.type : null);
|
|
503
503
|
Mt.setExtraStackFrame(Je);
|
|
@@ -521,7 +521,7 @@ Check the render method of \`` + ge + "`.";
|
|
|
521
521
|
return "";
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Ie(ge) {
|
|
525
525
|
{
|
|
526
526
|
if (ge !== void 0) {
|
|
527
527
|
var He = ge.fileName.replace(/^.*[\\\/]/, ""), Je = ge.lineNumber;
|
|
@@ -532,7 +532,7 @@ Check your code at ` + He + ":" + Je + ".";
|
|
|
532
532
|
return "";
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
var
|
|
535
|
+
var nt = {};
|
|
536
536
|
function bt(ge) {
|
|
537
537
|
{
|
|
538
538
|
var He = ze();
|
|
@@ -545,17 +545,17 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
545
545
|
return He;
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function st(ge, He) {
|
|
549
549
|
{
|
|
550
550
|
if (!ge._store || ge._store.validated || ge.key != null)
|
|
551
551
|
return;
|
|
552
552
|
ge._store.validated = !0;
|
|
553
553
|
var Je = bt(He);
|
|
554
|
-
if (
|
|
554
|
+
if (nt[Je])
|
|
555
555
|
return;
|
|
556
|
-
|
|
556
|
+
nt[Je] = !0;
|
|
557
557
|
var St = "";
|
|
558
|
-
ge && ge._owner && ge._owner !== jt.current && (St = " It was passed a child from " + H(ge._owner.type) + "."),
|
|
558
|
+
ge && ge._owner && ge._owner !== jt.current && (St = " It was passed a child from " + H(ge._owner.type) + "."), dt(ge), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Je, St), dt(null);
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
function It(ge, He) {
|
|
@@ -565,7 +565,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
565
565
|
if (ht(ge))
|
|
566
566
|
for (var Je = 0; Je < ge.length; Je++) {
|
|
567
567
|
var St = ge[Je];
|
|
568
|
-
Wr(St) &&
|
|
568
|
+
Wr(St) && st(St, He);
|
|
569
569
|
}
|
|
570
570
|
else if (Wr(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
|
-
Wr(Gt.value) &&
|
|
576
|
+
Wr(Gt.value) && st(Gt.value, He);
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
}
|
|
@@ -607,11 +607,11 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
607
607
|
for (var He = Object.keys(ge.props), Je = 0; Je < He.length; Je++) {
|
|
608
608
|
var St = He[Je];
|
|
609
609
|
if (St !== "children" && St !== "key") {
|
|
610
|
-
|
|
610
|
+
dt(ge), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", St), dt(null);
|
|
611
611
|
break;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
ge.ref !== null && (
|
|
614
|
+
ge.ref !== null && (dt(ge), T("Invalid attribute `ref` supplied to `React.Fragment`."), dt(null));
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
function Ui(ge, He, Je, St, qt, Ht) {
|
|
@@ -620,7 +620,7 @@ 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 Cr =
|
|
623
|
+
var Cr = Ie(qt);
|
|
624
624
|
Cr ? Ut += Cr : Ut += ze();
|
|
625
625
|
var fr;
|
|
626
626
|
ge === null ? fr = "null" : ht(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);
|
|
@@ -1397,7 +1397,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1397
1397
|
function(o, e, r) {
|
|
1398
1398
|
Object.defineProperty(e, "__esModule", {
|
|
1399
1399
|
value: !0
|
|
1400
|
-
}), e.arrayByteLength = de, e.arraysToBytes = fe, e.assert = H, e.bytesToString = se, e.createPromiseCapability = mt, e.getVerbosityLevel = k, e.info = L, e.isArrayBuffer = Ft, e.isArrayEqual = Ke, e.isBool = Ot, e.isEmptyObj = er, e.isNum = _t, e.isString = kt, e.isSameOrigin = W, e.createValidAbsoluteUrl = q, e.removeNullCharacters = Z, e.setVerbosityLevel = O, e.shadow = z, e.string32 = ce, e.stringToBytes = oe, e.stringToPDFString = yt, e.stringToUTF8String =
|
|
1400
|
+
}), e.arrayByteLength = de, e.arraysToBytes = fe, e.assert = H, e.bytesToString = se, e.createPromiseCapability = mt, e.getVerbosityLevel = k, e.info = L, e.isArrayBuffer = Ft, e.isArrayEqual = Ke, e.isBool = Ot, e.isEmptyObj = er, e.isNum = _t, e.isString = kt, e.isSameOrigin = W, e.createValidAbsoluteUrl = q, e.removeNullCharacters = Z, e.setVerbosityLevel = O, e.shadow = z, e.string32 = ce, e.stringToBytes = oe, e.stringToPDFString = yt, e.stringToUTF8String = at, e.utf8StringToString = ht, e.warn = F, e.unreachable = G, e.IsEvalSupportedCached = e.IsLittleEndianCached = e.createObjectURL = e.FormatError = e.Util = e.UnknownErrorException = e.UnexpectedResponseException = e.TextRenderingMode = e.StreamType = e.PermissionFlag = e.PasswordResponses = e.PasswordException = e.MissingPDFException = e.InvalidPDFException = e.AbortException = e.CMapCompressionType = e.ImageKind = e.FontType = e.AnnotationType = e.AnnotationStateModelType = e.AnnotationReviewState = e.AnnotationReplyType = e.AnnotationMarkedState = e.AnnotationFlag = e.AnnotationFieldFlag = e.AnnotationBorderStyleType = e.UNSUPPORTED_FEATURES = e.VerbosityLevel = e.OPS = e.IDENTITY_MATRIX = e.FONT_IDENTITY_MATRIX = e.BaseException = void 0, r(3);
|
|
1401
1401
|
const t = [1, 0, 0, 1, 0, 0];
|
|
1402
1402
|
e.IDENTITY_MATRIX = t;
|
|
1403
1403
|
const n = [1e-3, 0, 0, 1e-3, 0, 0];
|
|
@@ -1706,15 +1706,15 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1706
1706
|
he || G(pe);
|
|
1707
1707
|
}
|
|
1708
1708
|
function W(he, pe) {
|
|
1709
|
-
let
|
|
1709
|
+
let ve;
|
|
1710
1710
|
try {
|
|
1711
|
-
if (
|
|
1711
|
+
if (ve = new URL(he), !ve.origin || ve.origin === "null")
|
|
1712
1712
|
return !1;
|
|
1713
1713
|
} catch {
|
|
1714
1714
|
return !1;
|
|
1715
1715
|
}
|
|
1716
|
-
const Ce = new URL(pe,
|
|
1717
|
-
return
|
|
1716
|
+
const Ce = new URL(pe, ve);
|
|
1717
|
+
return ve.origin === Ce.origin;
|
|
1718
1718
|
}
|
|
1719
1719
|
function ee(he) {
|
|
1720
1720
|
if (!he)
|
|
@@ -1734,37 +1734,37 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1734
1734
|
if (!he)
|
|
1735
1735
|
return null;
|
|
1736
1736
|
try {
|
|
1737
|
-
const
|
|
1738
|
-
if (ee(
|
|
1739
|
-
return
|
|
1737
|
+
const ve = pe ? new URL(he, pe) : new URL(he);
|
|
1738
|
+
if (ee(ve))
|
|
1739
|
+
return ve;
|
|
1740
1740
|
} catch {
|
|
1741
1741
|
}
|
|
1742
1742
|
return null;
|
|
1743
1743
|
}
|
|
1744
|
-
function z(he, pe,
|
|
1744
|
+
function z(he, pe, ve) {
|
|
1745
1745
|
return Object.defineProperty(he, pe, {
|
|
1746
|
-
value:
|
|
1746
|
+
value: ve,
|
|
1747
1747
|
enumerable: !0,
|
|
1748
1748
|
configurable: !0,
|
|
1749
1749
|
writable: !1
|
|
1750
|
-
}),
|
|
1750
|
+
}), ve;
|
|
1751
1751
|
}
|
|
1752
1752
|
const B = function() {
|
|
1753
|
-
function pe(
|
|
1754
|
-
this.constructor === pe && G("Cannot initialize BaseException."), this.message =
|
|
1753
|
+
function pe(ve) {
|
|
1754
|
+
this.constructor === pe && G("Cannot initialize BaseException."), this.message = ve, this.name = this.constructor.name;
|
|
1755
1755
|
}
|
|
1756
1756
|
return pe.prototype = new Error(), pe.constructor = pe, pe;
|
|
1757
1757
|
}();
|
|
1758
1758
|
e.BaseException = B;
|
|
1759
1759
|
class I extends B {
|
|
1760
|
-
constructor(pe,
|
|
1761
|
-
super(pe), this.code =
|
|
1760
|
+
constructor(pe, ve) {
|
|
1761
|
+
super(pe), this.code = ve;
|
|
1762
1762
|
}
|
|
1763
1763
|
}
|
|
1764
1764
|
e.PasswordException = I;
|
|
1765
1765
|
class U extends B {
|
|
1766
|
-
constructor(pe,
|
|
1767
|
-
super(pe), this.details =
|
|
1766
|
+
constructor(pe, ve) {
|
|
1767
|
+
super(pe), this.details = ve;
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
e.UnknownErrorException = U;
|
|
@@ -1775,8 +1775,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1775
1775
|
}
|
|
1776
1776
|
e.MissingPDFException = X;
|
|
1777
1777
|
class Q extends B {
|
|
1778
|
-
constructor(pe,
|
|
1779
|
-
super(pe), this.status =
|
|
1778
|
+
constructor(pe, ve) {
|
|
1779
|
+
super(pe), this.status = ve;
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
1782
|
e.UnexpectedResponseException = Q;
|
|
@@ -1792,22 +1792,22 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1792
1792
|
}
|
|
1793
1793
|
function se(he) {
|
|
1794
1794
|
H(he !== null && typeof he == "object" && he.length !== void 0, "Invalid argument for bytesToString");
|
|
1795
|
-
const pe = he.length,
|
|
1796
|
-
if (pe <
|
|
1795
|
+
const pe = he.length, ve = 8192;
|
|
1796
|
+
if (pe < ve)
|
|
1797
1797
|
return String.fromCharCode.apply(null, he);
|
|
1798
1798
|
const Ce = [];
|
|
1799
|
-
for (let Le = 0; Le < pe; Le +=
|
|
1800
|
-
const We = Math.min(Le +
|
|
1799
|
+
for (let Le = 0; Le < pe; Le += ve) {
|
|
1800
|
+
const We = Math.min(Le + ve, pe), je = he.subarray(Le, We);
|
|
1801
1801
|
Ce.push(String.fromCharCode.apply(null, je));
|
|
1802
1802
|
}
|
|
1803
1803
|
return Ce.join("");
|
|
1804
1804
|
}
|
|
1805
1805
|
function oe(he) {
|
|
1806
1806
|
H(typeof he == "string", "Invalid argument for stringToBytes");
|
|
1807
|
-
const pe = he.length,
|
|
1807
|
+
const pe = he.length, ve = new Uint8Array(pe);
|
|
1808
1808
|
for (let Ce = 0; Ce < pe; ++Ce)
|
|
1809
|
-
|
|
1810
|
-
return
|
|
1809
|
+
ve[Ce] = he.charCodeAt(Ce) & 255;
|
|
1810
|
+
return ve;
|
|
1811
1811
|
}
|
|
1812
1812
|
function de(he) {
|
|
1813
1813
|
return he.length !== void 0 ? he.length : (H(he.byteLength !== void 0, "arrayByteLength - invalid argument."), he.byteLength);
|
|
@@ -1816,11 +1816,11 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1816
1816
|
const pe = he.length;
|
|
1817
1817
|
if (pe === 1 && he[0] instanceof Uint8Array)
|
|
1818
1818
|
return he[0];
|
|
1819
|
-
let
|
|
1819
|
+
let ve = 0;
|
|
1820
1820
|
for (let We = 0; We < pe; We++)
|
|
1821
|
-
|
|
1821
|
+
ve += de(he[We]);
|
|
1822
1822
|
let Ce = 0;
|
|
1823
|
-
const Le = new Uint8Array(
|
|
1823
|
+
const Le = new Uint8Array(ve);
|
|
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));
|
|
@@ -1857,49 +1857,49 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1857
1857
|
e.IsEvalSupportedCached = Ve;
|
|
1858
1858
|
const Be = ["rgb(", 0, ",", 0, ",", 0, ")"];
|
|
1859
1859
|
class qe {
|
|
1860
|
-
static makeCssRgb(pe,
|
|
1861
|
-
return Be[1] = pe, Be[3] =
|
|
1860
|
+
static makeCssRgb(pe, ve, Ce) {
|
|
1861
|
+
return Be[1] = pe, Be[3] = ve, Be[5] = Ce, Be.join("");
|
|
1862
1862
|
}
|
|
1863
|
-
static transform(pe,
|
|
1864
|
-
return [pe[0] *
|
|
1863
|
+
static transform(pe, ve) {
|
|
1864
|
+
return [pe[0] * ve[0] + pe[2] * ve[1], pe[1] * ve[0] + pe[3] * ve[1], pe[0] * ve[2] + pe[2] * ve[3], pe[1] * ve[2] + pe[3] * ve[3], pe[0] * ve[4] + pe[2] * ve[5] + pe[4], pe[1] * ve[4] + pe[3] * ve[5] + pe[5]];
|
|
1865
1865
|
}
|
|
1866
|
-
static applyTransform(pe,
|
|
1867
|
-
const Ce = pe[0] *
|
|
1866
|
+
static applyTransform(pe, ve) {
|
|
1867
|
+
const Ce = pe[0] * ve[0] + pe[1] * ve[2] + ve[4], Le = pe[0] * ve[1] + pe[1] * ve[3] + ve[5];
|
|
1868
1868
|
return [Ce, Le];
|
|
1869
1869
|
}
|
|
1870
|
-
static applyInverseTransform(pe,
|
|
1871
|
-
const Ce =
|
|
1870
|
+
static applyInverseTransform(pe, ve) {
|
|
1871
|
+
const Ce = ve[0] * ve[3] - ve[1] * ve[2], Le = (pe[0] * ve[3] - pe[1] * ve[2] + ve[2] * ve[5] - ve[4] * ve[3]) / Ce, We = (-pe[0] * ve[1] + pe[1] * ve[0] + ve[4] * ve[1] - ve[5] * ve[0]) / Ce;
|
|
1872
1872
|
return [Le, We];
|
|
1873
1873
|
}
|
|
1874
|
-
static getAxialAlignedBoundingBox(pe,
|
|
1875
|
-
const Ce = qe.applyTransform(pe,
|
|
1874
|
+
static getAxialAlignedBoundingBox(pe, ve) {
|
|
1875
|
+
const Ce = qe.applyTransform(pe, ve), Le = qe.applyTransform(pe.slice(2, 4), ve), We = qe.applyTransform([pe[0], pe[3]], ve), je = qe.applyTransform([pe[2], pe[1]], ve);
|
|
1876
1876
|
return [Math.min(Ce[0], Le[0], We[0], je[0]), Math.min(Ce[1], Le[1], We[1], je[1]), Math.max(Ce[0], Le[0], We[0], je[0]), Math.max(Ce[1], Le[1], We[1], je[1])];
|
|
1877
1877
|
}
|
|
1878
1878
|
static inverseTransform(pe) {
|
|
1879
|
-
const
|
|
1880
|
-
return [pe[3] /
|
|
1879
|
+
const ve = pe[0] * pe[3] - pe[1] * pe[2];
|
|
1880
|
+
return [pe[3] / ve, -pe[1] / ve, -pe[2] / ve, pe[0] / ve, (pe[2] * pe[5] - pe[4] * pe[3]) / ve, (pe[4] * pe[1] - pe[5] * pe[0]) / ve];
|
|
1881
1881
|
}
|
|
1882
|
-
static apply3dTransform(pe,
|
|
1883
|
-
return [pe[0] *
|
|
1882
|
+
static apply3dTransform(pe, ve) {
|
|
1883
|
+
return [pe[0] * ve[0] + pe[1] * ve[1] + pe[2] * ve[2], pe[3] * ve[0] + pe[4] * ve[1] + pe[5] * ve[2], pe[6] * ve[0] + pe[7] * ve[1] + pe[8] * ve[2]];
|
|
1884
1884
|
}
|
|
1885
1885
|
static singularValueDecompose2dScale(pe) {
|
|
1886
|
-
const
|
|
1887
|
-
return [Math.sqrt(Mt), Math.sqrt(
|
|
1886
|
+
const ve = [pe[0], pe[2], pe[1], pe[3]], Ce = pe[0] * ve[0] + pe[1] * ve[2], Le = pe[0] * ve[1] + pe[1] * ve[3], We = pe[2] * ve[0] + pe[3] * ve[2], je = pe[2] * ve[1] + pe[3] * ve[3], $e = (Ce + je) / 2, jt = Math.sqrt((Ce + je) * (Ce + je) - 4 * (Ce * je - We * Le)) / 2, Mt = $e + jt || 1, dt = $e - jt || 1;
|
|
1887
|
+
return [Math.sqrt(Mt), Math.sqrt(dt)];
|
|
1888
1888
|
}
|
|
1889
1889
|
static normalizeRect(pe) {
|
|
1890
|
-
const
|
|
1891
|
-
return pe[0] > pe[2] && (
|
|
1890
|
+
const ve = pe.slice(0);
|
|
1891
|
+
return pe[0] > pe[2] && (ve[0] = pe[2], ve[2] = pe[0]), pe[1] > pe[3] && (ve[1] = pe[3], ve[3] = pe[1]), ve;
|
|
1892
1892
|
}
|
|
1893
|
-
static intersect(pe,
|
|
1893
|
+
static intersect(pe, ve) {
|
|
1894
1894
|
function Ce($e, jt) {
|
|
1895
1895
|
return $e - jt;
|
|
1896
1896
|
}
|
|
1897
|
-
const Le = [pe[0], pe[2],
|
|
1898
|
-
if (pe = qe.normalizeRect(pe),
|
|
1897
|
+
const Le = [pe[0], pe[2], ve[0], ve[2]].sort(Ce), We = [pe[1], pe[3], ve[1], ve[3]].sort(Ce), je = [];
|
|
1898
|
+
if (pe = qe.normalizeRect(pe), ve = qe.normalizeRect(ve), Le[0] === pe[0] && Le[1] === ve[0] || Le[0] === ve[0] && Le[1] === pe[0])
|
|
1899
1899
|
je[0] = Le[1], je[2] = Le[2];
|
|
1900
1900
|
else
|
|
1901
1901
|
return null;
|
|
1902
|
-
if (We[0] === pe[1] && We[1] ===
|
|
1902
|
+
if (We[0] === pe[1] && We[1] === ve[1] || We[0] === ve[1] && We[1] === pe[1])
|
|
1903
1903
|
je[1] = We[1], je[3] = We[2];
|
|
1904
1904
|
else
|
|
1905
1905
|
return null;
|
|
@@ -1909,21 +1909,21 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1909
1909
|
e.Util = qe;
|
|
1910
1910
|
const pt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 728, 711, 710, 729, 733, 731, 730, 732, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8226, 8224, 8225, 8230, 8212, 8211, 402, 8260, 8249, 8250, 8722, 8240, 8222, 8220, 8221, 8216, 8217, 8218, 8482, 64257, 64258, 321, 338, 352, 376, 381, 305, 322, 339, 353, 382, 0, 8364];
|
|
1911
1911
|
function yt(he) {
|
|
1912
|
-
const pe = he.length,
|
|
1912
|
+
const pe = he.length, ve = [];
|
|
1913
1913
|
if (he[0] === "þ" && he[1] === "ÿ")
|
|
1914
1914
|
for (let Ce = 2; Ce < pe; Ce += 2)
|
|
1915
|
-
|
|
1915
|
+
ve.push(String.fromCharCode(he.charCodeAt(Ce) << 8 | he.charCodeAt(Ce + 1)));
|
|
1916
1916
|
else if (he[0] === "ÿ" && he[1] === "þ")
|
|
1917
1917
|
for (let Ce = 2; Ce < pe; Ce += 2)
|
|
1918
|
-
|
|
1918
|
+
ve.push(String.fromCharCode(he.charCodeAt(Ce + 1) << 8 | he.charCodeAt(Ce)));
|
|
1919
1919
|
else
|
|
1920
1920
|
for (let Ce = 0; Ce < pe; ++Ce) {
|
|
1921
1921
|
const Le = pt[he.charCodeAt(Ce)];
|
|
1922
|
-
|
|
1922
|
+
ve.push(Le ? String.fromCharCode(Le) : he.charAt(Ce));
|
|
1923
1923
|
}
|
|
1924
|
-
return
|
|
1924
|
+
return ve.join("");
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function at(he) {
|
|
1927
1927
|
return decodeURIComponent(escape(he));
|
|
1928
1928
|
}
|
|
1929
1929
|
function ht(he) {
|
|
@@ -1947,8 +1947,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1947
1947
|
return typeof he == "object" && he !== null && he.byteLength !== void 0;
|
|
1948
1948
|
}
|
|
1949
1949
|
function Ke(he, pe) {
|
|
1950
|
-
return he.length !== pe.length ? !1 : he.every(function(
|
|
1951
|
-
return
|
|
1950
|
+
return he.length !== pe.length ? !1 : he.every(function(ve, Ce) {
|
|
1951
|
+
return ve === pe[Ce];
|
|
1952
1952
|
});
|
|
1953
1953
|
}
|
|
1954
1954
|
function mt() {
|
|
@@ -1958,15 +1958,15 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1958
1958
|
get() {
|
|
1959
1959
|
return pe;
|
|
1960
1960
|
}
|
|
1961
|
-
}), he.promise = new Promise(function(
|
|
1961
|
+
}), he.promise = new Promise(function(ve, Ce) {
|
|
1962
1962
|
he.resolve = function(Le) {
|
|
1963
|
-
pe = !0,
|
|
1963
|
+
pe = !0, ve(Le);
|
|
1964
1964
|
}, he.reject = function(Le) {
|
|
1965
1965
|
pe = !0, Ce(Le);
|
|
1966
1966
|
};
|
|
1967
1967
|
}), he;
|
|
1968
1968
|
}
|
|
1969
|
-
const
|
|
1969
|
+
const ct = /* @__PURE__ */ function() {
|
|
1970
1970
|
const pe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
1971
1971
|
return function(Ce, Le, We = !1) {
|
|
1972
1972
|
if (!We && URL.createObjectURL) {
|
|
@@ -1977,13 +1977,13 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1977
1977
|
}
|
|
1978
1978
|
let je = `data:${Le};base64,`;
|
|
1979
1979
|
for (let $e = 0, jt = Ce.length; $e < jt; $e += 3) {
|
|
1980
|
-
const Mt = Ce[$e] & 255,
|
|
1981
|
-
je += pe[Wr] + pe[ze] + pe[
|
|
1980
|
+
const Mt = Ce[$e] & 255, dt = Ce[$e + 1] & 255, vr = Ce[$e + 2] & 255, Wr = Mt >> 2, ze = (Mt & 3) << 4 | dt >> 4, Ie = $e + 1 < jt ? (dt & 15) << 2 | vr >> 6 : 64, nt = $e + 2 < jt ? vr & 63 : 64;
|
|
1981
|
+
je += pe[Wr] + pe[ze] + pe[Ie] + pe[nt];
|
|
1982
1982
|
}
|
|
1983
1983
|
return je;
|
|
1984
1984
|
};
|
|
1985
1985
|
}();
|
|
1986
|
-
e.createObjectURL =
|
|
1986
|
+
e.createObjectURL = ct;
|
|
1987
1987
|
},
|
|
1988
1988
|
/* 3 */
|
|
1989
1989
|
/***/
|
|
@@ -3514,9 +3514,9 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
3514
3514
|
var Oe = se.byteLength, Re = new Uint32Array(oe.buffer, 0, oe.byteLength >> 2), Ve = Re.length, Be = V + 7 >> 3, qe = 4294967295, pt = t.IsLittleEndianCached.value ? 4278190080 : 255;
|
|
3515
3515
|
for (de = 0; de < J; de++) {
|
|
3516
3516
|
for (ce = de < Q ? h : X, Z = 0, fe = 0; fe < ce; fe++) {
|
|
3517
|
-
for (var yt = Oe - ne,
|
|
3517
|
+
for (var yt = Oe - ne, at = 0, ht = yt > Be ? V : yt * 8 - 7, er = ht & -8, Ot = 0, _t = 0; at < er; at += 8)
|
|
3518
3518
|
_t = se[ne++], Re[Z++] = _t & 128 ? qe : pt, Re[Z++] = _t & 64 ? qe : pt, Re[Z++] = _t & 32 ? qe : pt, Re[Z++] = _t & 16 ? qe : pt, Re[Z++] = _t & 8 ? qe : pt, Re[Z++] = _t & 4 ? qe : pt, Re[Z++] = _t & 2 ? qe : pt, Re[Z++] = _t & 1 ? qe : pt;
|
|
3519
|
-
for (;
|
|
3519
|
+
for (; at < ht; at++)
|
|
3520
3520
|
Ot === 0 && (_t = se[ne++], Ot = 128), Re[Z++] = _t & Ot ? qe : pt, Ot >>= 1;
|
|
3521
3521
|
}
|
|
3522
3522
|
for (; Z < Ve; )
|
|
@@ -3934,28 +3934,28 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
3934
3934
|
J !== 1 && (Q.scale(J, J), Ve /= J), Q.lineWidth = Ve;
|
|
3935
3935
|
var pt = 0, yt;
|
|
3936
3936
|
for (yt = 0; yt < oe; ++yt) {
|
|
3937
|
-
var
|
|
3938
|
-
if ((0, t.isNum)(
|
|
3939
|
-
pt += fe *
|
|
3937
|
+
var at = I[yt];
|
|
3938
|
+
if ((0, t.isNum)(at)) {
|
|
3939
|
+
pt += fe * at * X / 1e3;
|
|
3940
3940
|
continue;
|
|
3941
3941
|
}
|
|
3942
|
-
var ht = !1, er = (
|
|
3942
|
+
var ht = !1, er = (at.isSpace ? ne : 0) + ie, Ot = at.fontChar, _t = at.accent, kt, Ft, Ke, mt, ct = at.width;
|
|
3943
3943
|
if (de) {
|
|
3944
|
-
var he, pe,
|
|
3945
|
-
he =
|
|
3944
|
+
var he, pe, ve;
|
|
3945
|
+
he = at.vmetric || ce, pe = at.vmetric ? he[1] : ct * 0.5, pe = -pe * xe, ve = he[2] * xe, ct = he ? -he[0] : ct, kt = pe / J, Ft = (pt + ve) / J;
|
|
3946
3946
|
} else
|
|
3947
3947
|
kt = pt / J, Ft = 0;
|
|
3948
|
-
if (V.remeasure &&
|
|
3948
|
+
if (V.remeasure && ct > 0) {
|
|
3949
3949
|
var Ce = Q.measureText(Ot).width * 1e3 / X * J;
|
|
3950
|
-
if (
|
|
3951
|
-
var Le =
|
|
3950
|
+
if (ct < Ce && this.isFontSubpixelAAEnabled) {
|
|
3951
|
+
var Le = ct / Ce;
|
|
3952
3952
|
ht = !0, Q.save(), Q.scale(Le, 1), kt /= Le;
|
|
3953
3953
|
} else
|
|
3954
|
-
|
|
3954
|
+
ct !== Ce && (kt += (ct - Ce) / 2e3 * X / J);
|
|
3955
3955
|
}
|
|
3956
|
-
(
|
|
3956
|
+
(at.isInFont || V.missingFile) && (Oe && !_t ? Q.fillText(Ot, kt, Ft) : (this.paintChar(Ot, kt, Ft, Re), _t && (Ke = kt + _t.offset.x / J, mt = Ft - _t.offset.y / J, this.paintChar(_t.fontChar, Ke, mt, Re))));
|
|
3957
3957
|
var We;
|
|
3958
|
-
de ? We =
|
|
3958
|
+
de ? We = ct * xe - er * Z : We = ct * xe + er * Z, pt += We, ht && Q.restore();
|
|
3959
3959
|
}
|
|
3960
3960
|
de ? U.y -= pt : U.x += pt * se, Q.restore();
|
|
3961
3961
|
},
|
|
@@ -4260,11 +4260,11 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
4260
4260
|
if (!(F >= ee))
|
|
4261
4261
|
for (var q = P[T], z = P[T + 1], B = P[T + 2], I = P[S], U = P[S + 1], V = P[S + 2], X = P[A], Q = P[A + 1], J = P[A + 2], ie = Math.round(F), ne = Math.round(ee), Z, se, oe, de, fe, ce, xe, Oe, Re = ie; Re <= ne; Re++) {
|
|
4262
4262
|
if (Re < H) {
|
|
4263
|
-
let
|
|
4264
|
-
Re < F ?
|
|
4263
|
+
let at;
|
|
4264
|
+
Re < F ? at = 0 : F === H ? at = 1 : at = (F - Re) / (F - H), Z = L - (L - G) * at, se = q - (q - I) * at, oe = z - (z - U) * at, de = B - (B - V) * at;
|
|
4265
4265
|
} else {
|
|
4266
|
-
let
|
|
4267
|
-
Re > ee ?
|
|
4266
|
+
let at;
|
|
4267
|
+
Re > ee ? at = 1 : H === ee ? at = 0 : at = (H - Re) / (H - ee), Z = G - (G - W) * at, se = I - (I - X) * at, oe = U - (U - Q) * at, de = V - (V - J) * at;
|
|
4268
4268
|
}
|
|
4269
4269
|
let yt;
|
|
4270
4270
|
Re < F ? yt = 0 : Re > ee ? yt = 1 : yt = (F - Re) / (F - ee), fe = L - (L - W) * yt, ce = q - (q - X) * yt, xe = z - (z - Q) * yt, Oe = B - (B - J) * yt;
|
|
@@ -12573,9 +12573,9 @@ var hls = { exports: {} };
|
|
|
12573
12573
|
return;
|
|
12574
12574
|
}
|
|
12575
12575
|
} else {
|
|
12576
|
-
var fe = void 0, ce = G.maxFragLookUpTolerance, xe = U ? ie[U.sn - ie[0].sn + 1] : void 0, Oe = function(
|
|
12577
|
-
var ht = Math.min(ce,
|
|
12578
|
-
return
|
|
12576
|
+
var fe = void 0, ce = G.maxFragLookUpTolerance, xe = U ? ie[U.sn - ie[0].sn + 1] : void 0, Oe = function(at) {
|
|
12577
|
+
var ht = Math.min(ce, at.duration);
|
|
12578
|
+
return at.start + at.duration - ht <= I ? 1 : at.start - ht > I && at.start ? -1 : 0;
|
|
12579
12579
|
};
|
|
12580
12580
|
I < se ? (I > se - ce && (ce = 0), xe && !Oe(xe) ? fe = xe : fe = u.default.search(ie, Oe)) : fe = ie[ne - 1], fe && (oe = fe, Z = fe.start, U && oe.level === U.level && oe.sn === U.sn && (oe.sn < L.endSN ? (oe = ie[oe.sn + 1 - L.startSN], _.logger.log("SN just loaded, load next one: " + oe.sn)) : oe = null));
|
|
12581
12581
|
}
|
|
@@ -20034,8 +20034,8 @@ var hls = { exports: {} };
|
|
|
20034
20034
|
else {
|
|
20035
20035
|
var qe = this.config, pt = fe.dts - F[I > 0 ? I - 1 : I].dts;
|
|
20036
20036
|
if (qe.stretchShortVideoTrack) {
|
|
20037
|
-
var yt = qe.maxBufferHole,
|
|
20038
|
-
ht >
|
|
20037
|
+
var yt = qe.maxBufferHole, at = Math.floor(yt * L), ht = (x ? P + x * L : this.nextAudioPts) - fe.pts;
|
|
20038
|
+
ht > at ? (S = ht - pt, S < 0 && (S = pt), c.logger.log("It is approximately " + ht / 90 + " ms to the next segment; using duration " + S / 90 + " ms for the last video frame.")) : S = pt;
|
|
20039
20039
|
} else
|
|
20040
20040
|
S = pt;
|
|
20041
20041
|
}
|
|
@@ -20165,7 +20165,7 @@ var hls = { exports: {} };
|
|
|
20165
20165
|
var Be = 0, qe = z.length;
|
|
20166
20166
|
if (qe >= 2 && (Be = z[qe - 2].duration, L.duration = Be), qe) {
|
|
20167
20167
|
this.nextAudioPts = B = ee + S * Be, g.len = 0, g.samples = z, O ? H = new Uint8Array() : H = l.default.moof(g.sequenceNumber++, W / S, g), g.samples = [];
|
|
20168
|
-
var pt = W / C, yt = B / C,
|
|
20168
|
+
var pt = W / C, yt = B / C, at = {
|
|
20169
20169
|
data1: H,
|
|
20170
20170
|
data2: G,
|
|
20171
20171
|
startPTS: pt,
|
|
@@ -20177,7 +20177,7 @@ var hls = { exports: {} };
|
|
|
20177
20177
|
hasVideo: !1,
|
|
20178
20178
|
nb: qe
|
|
20179
20179
|
};
|
|
20180
|
-
return this.observer.trigger(u.default.FRAG_PARSING_DATA,
|
|
20180
|
+
return this.observer.trigger(u.default.FRAG_PARSING_DATA, at), at;
|
|
20181
20181
|
}
|
|
20182
20182
|
return null;
|
|
20183
20183
|
}
|
|
@@ -27132,11 +27132,11 @@ function ConversationalProComponent({
|
|
|
27132
27132
|
autoEnd: y,
|
|
27133
27133
|
progress: E
|
|
27134
27134
|
}) {
|
|
27135
|
-
var Ke, mt,
|
|
27135
|
+
var Ke, mt, ct;
|
|
27136
27136
|
const g = (E == null ? void 0 : E.line) || 0, [_, p] = useState(!1), [x, C] = useState(!0), [T, S] = useState(!!h), [A, R] = useState(!1), [P, w] = useState(g), [O, k] = useState(!1), [L] = f, { start: F, stop: G } = useTimeout(), H = ((Ke = u == null ? void 0 : u.img) == null ? void 0 : Ke.url) || null, W = t[P], { voiceOver: ee, decision: q } = W;
|
|
27137
27137
|
let { flex: z } = W, B = [];
|
|
27138
27138
|
const I = !!n, U = ee || W.type === "conversationalNarration", V = q || W.type === "conversationalDecision", X = W.type === "conversationalCamera", [Q, J] = useState([]), ie = useMemo(() => Q[Q.length - 1], [Q]), ne = useCallback(() => {
|
|
27139
|
-
const he = n.find((
|
|
27139
|
+
const he = n.find((ve) => ve.fromId === ie) || n.find((ve) => ve.toId === ie), pe = t.find((ve) => ve.id === (he == null ? void 0 : he.fromId));
|
|
27140
27140
|
return !ie && (E == null ? void 0 : E.line) >= 0 ? { decision: !0 } : pe;
|
|
27141
27141
|
}, [n, t, ie, E == null ? void 0 : E.line]), Z = useCallback(() => {
|
|
27142
27142
|
if (I) {
|
|
@@ -27153,18 +27153,18 @@ function ConversationalProComponent({
|
|
|
27153
27153
|
const he = t[P - 1] ? t[P - 1] : {};
|
|
27154
27154
|
return P > 0 && (he == null ? void 0 : he.type) === "conversationalCamera";
|
|
27155
27155
|
}, [I, t, P, ne]), oe = useCallback((he) => e({ type: "translate", payload: he }), [e]), de = useMemo(() => {
|
|
27156
|
-
var pe,
|
|
27156
|
+
var pe, ve;
|
|
27157
27157
|
if (V)
|
|
27158
27158
|
return {};
|
|
27159
27159
|
if (U)
|
|
27160
27160
|
return W;
|
|
27161
27161
|
const he = (pe = W == null ? void 0 : W.slots) == null ? void 0 : pe.find((Ce) => Ce.uid && Ce.talking);
|
|
27162
|
-
return he || ((
|
|
27163
|
-
}, [W, U, V]), fe = t.slice(0, P + 1).reverse().find((he) => he.slots), ce = !V && ((mt = W.slots) == null ? void 0 : mt.filter((he) => he.uid).length), xe = characterMs$3 * (((
|
|
27162
|
+
return he || ((ve = W == null ? void 0 : W.slots) == null ? void 0 : ve.find((Ce) => Ce.uid && Ce.text));
|
|
27163
|
+
}, [W, U, V]), fe = t.slice(0, P + 1).reverse().find((he) => he.slots), ce = !V && ((mt = W.slots) == null ? void 0 : mt.filter((he) => he.uid).length), xe = characterMs$3 * (((ct = de == null ? void 0 : de.text) == null ? void 0 : ct.length) || 0);
|
|
27164
27164
|
let Oe = [];
|
|
27165
27165
|
W.slots ? Oe = W.slots : fe && (Oe = fe.slots);
|
|
27166
27166
|
const Re = Oe.filter((he) => he.uid).map((he) => {
|
|
27167
|
-
const pe = (a || l || []).find((
|
|
27167
|
+
const pe = (a || l || []).find((ve) => ve.uid === he.uid);
|
|
27168
27168
|
return pe && (he.resource = pe.resource, he.type = pe.type), he.resource || (he.resource = {}), he;
|
|
27169
27169
|
}), Ve = {
|
|
27170
27170
|
characters: Re,
|
|
@@ -27177,22 +27177,22 @@ function ConversationalProComponent({
|
|
|
27177
27177
|
emitEvent: e
|
|
27178
27178
|
};
|
|
27179
27179
|
if (U) {
|
|
27180
|
-
const he = t.slice(P).find((
|
|
27180
|
+
const he = t.slice(P).find((ve) => ve.slots), pe = fe || he;
|
|
27181
27181
|
pe && (B = pe.slots, z = pe.flex);
|
|
27182
27182
|
} else if (!V && ce && (W.slots.forEach((he) => {
|
|
27183
|
-
const pe = Re.findIndex((
|
|
27183
|
+
const pe = Re.findIndex((ve) => ve.uid === he.uid);
|
|
27184
27184
|
pe >= 0 && (Re[pe].emotion = he.emotion);
|
|
27185
27185
|
}), de && de.uid)) {
|
|
27186
|
-
const he = W.slots.findIndex((
|
|
27187
|
-
Re.forEach((
|
|
27188
|
-
|
|
27186
|
+
const he = W.slots.findIndex((ve) => ve.uid === de.uid), pe = Re.findIndex((ve) => ve.uid === de.uid);
|
|
27187
|
+
Re.forEach((ve) => {
|
|
27188
|
+
ve.uid === de.uid && (ve.name = de.alias);
|
|
27189
27189
|
}), de.position = z ? pe : he;
|
|
27190
27190
|
}
|
|
27191
27191
|
const Be = useCallback(() => {
|
|
27192
27192
|
e({ type: "success" });
|
|
27193
27193
|
}, [e]), qe = useCallback(
|
|
27194
27194
|
(he, pe) => {
|
|
27195
|
-
const
|
|
27195
|
+
const ve = [3, 2, 1][he.id], Le = n.filter((We) => We.fromId === W.id).find((We) => parseInt(We.fromPointIndex) === ve);
|
|
27196
27196
|
if (Le) {
|
|
27197
27197
|
const We = t.findIndex((je) => je.id === Le.toId);
|
|
27198
27198
|
Le.fromId === Le.toId ? pe() : We >= 0 ? (w(We), e({ type: "notifyProgress", payload: { line: We } })) : Be();
|
|
@@ -27202,7 +27202,7 @@ function ConversationalProComponent({
|
|
|
27202
27202
|
[W.id, n, e, Be, t]
|
|
27203
27203
|
), pt = useCallback(
|
|
27204
27204
|
(he = !0) => {
|
|
27205
|
-
const pe = he ? ["fromId", "toId"] : ["toId", "fromId"],
|
|
27205
|
+
const pe = he ? ["fromId", "toId"] : ["toId", "fromId"], ve = n.filter((We) => We[pe[0]] === W.id), Ce = ve.length === 1 ? ve[0] : ve.find((We) => We[pe[1]] === ie);
|
|
27206
27206
|
if (!(Ce != null && Ce[pe[0]])) {
|
|
27207
27207
|
Be();
|
|
27208
27208
|
return;
|
|
@@ -27224,23 +27224,23 @@ function ConversationalProComponent({
|
|
|
27224
27224
|
e({ type: "saveNode" });
|
|
27225
27225
|
}
|
|
27226
27226
|
} else if (P < t.length - 1) {
|
|
27227
|
-
const
|
|
27228
|
-
e({ type: "notifyProgress", payload: { line:
|
|
27227
|
+
const ve = P + 1;
|
|
27228
|
+
e({ type: "notifyProgress", payload: { line: ve } });
|
|
27229
27229
|
} else
|
|
27230
27230
|
e({ type: "saveNode" });
|
|
27231
27231
|
},
|
|
27232
27232
|
[n, t, e, P, W.id, I]
|
|
27233
|
-
),
|
|
27233
|
+
), at = useCallback(
|
|
27234
27234
|
(he, pe) => {
|
|
27235
|
-
let
|
|
27235
|
+
let ve = !1;
|
|
27236
27236
|
if (k(!1), J([...Q, W.id]), C(!1), R(!1), I)
|
|
27237
27237
|
he ? qe(he, pe) : pt();
|
|
27238
27238
|
else if (P < t.length - 1) {
|
|
27239
27239
|
const Le = P + 1;
|
|
27240
27240
|
w(Le), e({ type: "notifyProgress", payload: { line: Le } });
|
|
27241
27241
|
} else
|
|
27242
|
-
y || V || X ? Be() :
|
|
27243
|
-
|
|
27242
|
+
y || V || X ? Be() : ve = !0;
|
|
27243
|
+
ve || C(!0);
|
|
27244
27244
|
},
|
|
27245
27245
|
[
|
|
27246
27246
|
Q,
|
|
@@ -27265,7 +27265,7 @@ function ConversationalProComponent({
|
|
|
27265
27265
|
}
|
|
27266
27266
|
C(!0);
|
|
27267
27267
|
}, er = useCallback(() => I ? W && W.type !== "conversationalDecision" && !n.find((he) => he.fromId === W.id) : P === t.length - 1, [P, W, n, I, t.length]), Ot = () => {
|
|
27268
|
-
L("click-ui"), er() ? Be() : (S(!1),
|
|
27268
|
+
L("click-ui"), er() ? Be() : (S(!1), at());
|
|
27269
27269
|
}, _t = () => {
|
|
27270
27270
|
L("click-ui"), S(!1), ht();
|
|
27271
27271
|
}, kt = T && !V && !r && !X, Ft = useMemo(
|
|
@@ -27291,7 +27291,7 @@ function ConversationalProComponent({
|
|
|
27291
27291
|
R(!0);
|
|
27292
27292
|
},
|
|
27293
27293
|
onFinish: () => {
|
|
27294
|
-
k(!1), kt &&
|
|
27294
|
+
k(!1), kt && at();
|
|
27295
27295
|
}
|
|
27296
27296
|
}), useEffect(() => {
|
|
27297
27297
|
var pe;
|
|
@@ -27305,13 +27305,13 @@ function ConversationalProComponent({
|
|
|
27305
27305
|
)), () => {
|
|
27306
27306
|
he && clearTimeout(he);
|
|
27307
27307
|
});
|
|
27308
|
-
}, [A, W, de == null ? void 0 : de.emotion, xe, V]), useEffect(() => (kt && ((W == null ? void 0 : W.audioType) === "none" || A) && (!er() || er() && y) && F(
|
|
27308
|
+
}, [A, W, de == null ? void 0 : de.emotion, xe, V]), useEffect(() => (kt && ((W == null ? void 0 : W.audioType) === "none" || A) && (!er() || er() && y) && F(at, xe < minMs$1 ? minMs$1 : xe), () => {
|
|
27309
27309
|
G();
|
|
27310
27310
|
}), [
|
|
27311
27311
|
de,
|
|
27312
27312
|
F,
|
|
27313
27313
|
G,
|
|
27314
|
-
|
|
27314
|
+
at,
|
|
27315
27315
|
W == null ? void 0 : W.audioType,
|
|
27316
27316
|
kt,
|
|
27317
27317
|
A,
|
|
@@ -27322,29 +27322,29 @@ function ConversationalProComponent({
|
|
|
27322
27322
|
]), useEffect(() => {
|
|
27323
27323
|
if (X) {
|
|
27324
27324
|
const { targetUid: he } = W;
|
|
27325
|
-
e({ type: "changeCamera", payload: { targetUid: he, transition: { type: "none" } } }),
|
|
27325
|
+
e({ type: "changeCamera", payload: { targetUid: he, transition: { type: "none" } } }), at();
|
|
27326
27326
|
}
|
|
27327
|
-
}, [X,
|
|
27327
|
+
}, [X, at, e, W]), useEffect(() => {
|
|
27328
27328
|
if (I && !_) {
|
|
27329
27329
|
const he = E == null ? void 0 : E.line;
|
|
27330
27330
|
if (he >= 0) {
|
|
27331
27331
|
p(!0), w(he);
|
|
27332
27332
|
return;
|
|
27333
27333
|
}
|
|
27334
|
-
const pe = t.filter((
|
|
27334
|
+
const pe = t.filter((ve) => !n.find((Ce) => Ce.toId === ve.id));
|
|
27335
27335
|
if (pe.length) {
|
|
27336
|
-
const
|
|
27336
|
+
const ve = pe[0], Ce = t.indexOf(ve);
|
|
27337
27337
|
Ce >= 0 && (p(!0), w(Ce));
|
|
27338
27338
|
}
|
|
27339
27339
|
}
|
|
27340
27340
|
}, [n, I, t, _, E == null ? void 0 : E.line]), o(V || Ft ? null : _t, V ? null : Ot), V) {
|
|
27341
|
-
const he = {
|
|
27341
|
+
const he = t[P].id ? t.filter((ve) => ve.decision).findIndex((ve) => ve.id === t[P].id) + 1 : t.filter((ve) => ve.decision).findIndex((ve) => ve === t[P]) + 1, pe = {
|
|
27342
27342
|
...W.payload,
|
|
27343
|
-
decisionNumber:
|
|
27343
|
+
decisionNumber: he,
|
|
27344
27344
|
required: !I,
|
|
27345
27345
|
branched: I,
|
|
27346
27346
|
onAddPoints: yt,
|
|
27347
|
-
onFinish:
|
|
27347
|
+
onFinish: at,
|
|
27348
27348
|
keyboardControl: o,
|
|
27349
27349
|
emitEvent: e,
|
|
27350
27350
|
soundActions: f,
|
|
@@ -27355,7 +27355,7 @@ function ConversationalProComponent({
|
|
|
27355
27355
|
slots: fe ? fe.slots : []
|
|
27356
27356
|
}
|
|
27357
27357
|
};
|
|
27358
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(DecisionComponent, { ...
|
|
27358
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(DecisionComponent, { ...pe });
|
|
27359
27359
|
}
|
|
27360
27360
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "conversation--layer", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "conversation", style: H ? { backgroundImage: `url("${H}")` } : null, children: [
|
|
27361
27361
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlotList, { ...Ve, ttsStarted: O }),
|
|
@@ -36754,8 +36754,8 @@ function requireScheduler_development() {
|
|
|
36754
36754
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
36755
36755
|
var e = !1, r = !1, t = 5;
|
|
36756
36756
|
function n(he, pe) {
|
|
36757
|
-
var
|
|
36758
|
-
he.push(pe), u(he, pe,
|
|
36757
|
+
var ve = he.length;
|
|
36758
|
+
he.push(pe), u(he, pe, ve);
|
|
36759
36759
|
}
|
|
36760
36760
|
function a(he) {
|
|
36761
36761
|
return he.length === 0 ? null : he[0];
|
|
@@ -36763,11 +36763,11 @@ function requireScheduler_development() {
|
|
|
36763
36763
|
function l(he) {
|
|
36764
36764
|
if (he.length === 0)
|
|
36765
36765
|
return null;
|
|
36766
|
-
var pe = he[0],
|
|
36767
|
-
return
|
|
36766
|
+
var pe = he[0], ve = he.pop();
|
|
36767
|
+
return ve !== pe && (he[0] = ve, f(he, ve, 0)), pe;
|
|
36768
36768
|
}
|
|
36769
|
-
function u(he, pe,
|
|
36770
|
-
for (var Ce =
|
|
36769
|
+
function u(he, pe, ve) {
|
|
36770
|
+
for (var Ce = ve; Ce > 0; ) {
|
|
36771
36771
|
var Le = Ce - 1 >>> 1, We = he[Le];
|
|
36772
36772
|
if (c(We, pe) > 0)
|
|
36773
36773
|
he[Le] = pe, he[Ce] = We, Ce = Le;
|
|
@@ -36775,8 +36775,8 @@ function requireScheduler_development() {
|
|
|
36775
36775
|
return;
|
|
36776
36776
|
}
|
|
36777
36777
|
}
|
|
36778
|
-
function f(he, pe,
|
|
36779
|
-
for (var Ce =
|
|
36778
|
+
function f(he, pe, ve) {
|
|
36779
|
+
for (var Ce = ve, Le = he.length, We = Le >>> 1; Ce < We; ) {
|
|
36780
36780
|
var je = (Ce + 1) * 2 - 1, $e = he[je], jt = je + 1, Mt = he[jt];
|
|
36781
36781
|
if (c($e, pe) < 0)
|
|
36782
36782
|
jt < Le && c(Mt, $e) < 0 ? (he[Ce] = Mt, he[jt] = pe, Ce = jt) : (he[Ce] = $e, he[je] = pe, Ce = je);
|
|
@@ -36787,8 +36787,8 @@ function requireScheduler_development() {
|
|
|
36787
36787
|
}
|
|
36788
36788
|
}
|
|
36789
36789
|
function c(he, pe) {
|
|
36790
|
-
var
|
|
36791
|
-
return
|
|
36790
|
+
var ve = he.sortIndex - pe.sortIndex;
|
|
36791
|
+
return ve !== 0 ? ve : he.id - pe.id;
|
|
36792
36792
|
}
|
|
36793
36793
|
var h = 1, y = 2, E = 3, g = 4, _ = 5;
|
|
36794
36794
|
function p(he, pe) {
|
|
@@ -36829,23 +36829,23 @@ function requireScheduler_development() {
|
|
|
36829
36829
|
}
|
|
36830
36830
|
function Q(he, pe) {
|
|
36831
36831
|
q = !1, z && (z = !1, Ke()), ee = !0;
|
|
36832
|
-
var
|
|
36832
|
+
var ve = W;
|
|
36833
36833
|
try {
|
|
36834
36834
|
var Ce;
|
|
36835
36835
|
if (!r)
|
|
36836
36836
|
return J(he, pe);
|
|
36837
36837
|
} finally {
|
|
36838
|
-
H = null, W =
|
|
36838
|
+
H = null, W = ve, ee = !1;
|
|
36839
36839
|
}
|
|
36840
36840
|
}
|
|
36841
36841
|
function J(he, pe) {
|
|
36842
|
-
var
|
|
36843
|
-
for (V(
|
|
36842
|
+
var ve = pe;
|
|
36843
|
+
for (V(ve), H = a(L); H !== null && !e && !(H.expirationTime > ve && (!he || pt())); ) {
|
|
36844
36844
|
var Ce = H.callback;
|
|
36845
36845
|
if (typeof Ce == "function") {
|
|
36846
36846
|
H.callback = null, W = H.priorityLevel;
|
|
36847
|
-
var Le = H.expirationTime <=
|
|
36848
|
-
|
|
36847
|
+
var Le = H.expirationTime <= ve, We = Ce(Le);
|
|
36848
|
+
ve = o.unstable_now(), typeof We == "function" ? H.callback = We : H === a(L) && l(L), V(ve);
|
|
36849
36849
|
} else
|
|
36850
36850
|
l(L);
|
|
36851
36851
|
H = a(L);
|
|
@@ -36853,7 +36853,7 @@ function requireScheduler_development() {
|
|
|
36853
36853
|
if (H !== null)
|
|
36854
36854
|
return !0;
|
|
36855
36855
|
var je = a(F);
|
|
36856
|
-
return je !== null && Ft(X, je.startTime -
|
|
36856
|
+
return je !== null && Ft(X, je.startTime - ve), !1;
|
|
36857
36857
|
}
|
|
36858
36858
|
function ie(he, pe) {
|
|
36859
36859
|
switch (he) {
|
|
@@ -36866,12 +36866,12 @@ function requireScheduler_development() {
|
|
|
36866
36866
|
default:
|
|
36867
36867
|
he = E;
|
|
36868
36868
|
}
|
|
36869
|
-
var
|
|
36869
|
+
var ve = W;
|
|
36870
36870
|
W = he;
|
|
36871
36871
|
try {
|
|
36872
36872
|
return pe();
|
|
36873
36873
|
} finally {
|
|
36874
|
-
W =
|
|
36874
|
+
W = ve;
|
|
36875
36875
|
}
|
|
36876
36876
|
}
|
|
36877
36877
|
function ne(he) {
|
|
@@ -36886,30 +36886,30 @@ function requireScheduler_development() {
|
|
|
36886
36886
|
pe = W;
|
|
36887
36887
|
break;
|
|
36888
36888
|
}
|
|
36889
|
-
var
|
|
36889
|
+
var ve = W;
|
|
36890
36890
|
W = pe;
|
|
36891
36891
|
try {
|
|
36892
36892
|
return he();
|
|
36893
36893
|
} finally {
|
|
36894
|
-
W =
|
|
36894
|
+
W = ve;
|
|
36895
36895
|
}
|
|
36896
36896
|
}
|
|
36897
36897
|
function Z(he) {
|
|
36898
36898
|
var pe = W;
|
|
36899
36899
|
return function() {
|
|
36900
|
-
var
|
|
36900
|
+
var ve = W;
|
|
36901
36901
|
W = pe;
|
|
36902
36902
|
try {
|
|
36903
36903
|
return he.apply(this, arguments);
|
|
36904
36904
|
} finally {
|
|
36905
|
-
W =
|
|
36905
|
+
W = ve;
|
|
36906
36906
|
}
|
|
36907
36907
|
};
|
|
36908
36908
|
}
|
|
36909
|
-
function se(he, pe,
|
|
36909
|
+
function se(he, pe, ve) {
|
|
36910
36910
|
var Ce = o.unstable_now(), Le;
|
|
36911
|
-
if (typeof
|
|
36912
|
-
var We =
|
|
36911
|
+
if (typeof ve == "object" && ve !== null) {
|
|
36912
|
+
var We = ve.delay;
|
|
36913
36913
|
typeof We == "number" && We > 0 ? Le = Ce + We : Le = Ce;
|
|
36914
36914
|
} else
|
|
36915
36915
|
Le = Ce;
|
|
@@ -36963,7 +36963,7 @@ function requireScheduler_development() {
|
|
|
36963
36963
|
}
|
|
36964
36964
|
function yt() {
|
|
36965
36965
|
}
|
|
36966
|
-
function
|
|
36966
|
+
function at(he) {
|
|
36967
36967
|
if (he < 0 || he > 125) {
|
|
36968
36968
|
console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
|
|
36969
36969
|
return;
|
|
@@ -36974,11 +36974,11 @@ function requireScheduler_development() {
|
|
|
36974
36974
|
if (Re !== null) {
|
|
36975
36975
|
var he = o.unstable_now();
|
|
36976
36976
|
qe = he;
|
|
36977
|
-
var pe = !0,
|
|
36977
|
+
var pe = !0, ve = !0;
|
|
36978
36978
|
try {
|
|
36979
|
-
|
|
36979
|
+
ve = Re(pe, he);
|
|
36980
36980
|
} finally {
|
|
36981
|
-
|
|
36981
|
+
ve ? er() : (Oe = !1, Re = null);
|
|
36982
36982
|
}
|
|
36983
36983
|
} else
|
|
36984
36984
|
Oe = !1;
|
|
@@ -37007,8 +37007,8 @@ function requireScheduler_development() {
|
|
|
37007
37007
|
function Ke() {
|
|
37008
37008
|
I(Ve), Ve = -1;
|
|
37009
37009
|
}
|
|
37010
|
-
var mt = yt,
|
|
37011
|
-
o.unstable_IdlePriority = _, o.unstable_ImmediatePriority = h, o.unstable_LowPriority = g, o.unstable_NormalPriority = E, o.unstable_Profiling =
|
|
37010
|
+
var mt = yt, ct = null;
|
|
37011
|
+
o.unstable_IdlePriority = _, o.unstable_ImmediatePriority = h, o.unstable_LowPriority = g, o.unstable_NormalPriority = E, o.unstable_Profiling = ct, o.unstable_UserBlockingPriority = y, o.unstable_cancelCallback = ce, o.unstable_continueExecution = de, o.unstable_forceFrameRate = at, o.unstable_getCurrentPriorityLevel = xe, o.unstable_getFirstCallbackNode = fe, o.unstable_next = ne, o.unstable_pauseExecution = oe, o.unstable_requestPaint = mt, o.unstable_runWithPriority = ie, o.unstable_scheduleCallback = se, o.unstable_shouldYield = pt, o.unstable_wrapCallback = Z, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
37012
37012
|
}();
|
|
37013
37013
|
}(scheduler_development)), scheduler_development;
|
|
37014
37014
|
}
|
|
@@ -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, pt = e.scheduleMicrotask, yt = e.supportsTestSelectors,
|
|
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, pt = e.scheduleMicrotask, yt = e.supportsTestSelectors, at = e.findFiberRoot, ht = e.getBoundingRect, er = e.getTextContent, Ot = e.isHiddenSubtree, _t = e.matchAccessibilityRole, kt = e.setFocusIfFocusable, Ft = e.setupIntersectionObserver, Ke = e.appendChild, mt = e.appendChildToContainer, ct = e.commitTextUpdate, he = e.commitMount, pe = e.commitUpdate, ve = e.insertBefore, Ce = e.insertInContainerBefore, Le = e.removeChild, We = e.removeChildFromContainer, je = e.resetTextContent, $e = e.hideInstance, jt = e.hideTextInstance, Mt = e.unhideInstance, dt = e.unhideTextInstance, vr = e.clearContainer, Wr = e.cloneInstance, ze = e.createContainerChildSet, Ie = e.appendChildToContainerChildSet, nt = e.finalizeContainerChildren, bt = e.replaceContainerChildren, st = e.cloneHiddenInstance, It = e.cloneHiddenTextInstance, ir = e.canHydrateInstance, Yr = e.canHydrateTextInstance, Ui = e.canHydrateSuspenseInstance, ja = e.isSuspenseInstancePending, la = e.isSuspenseInstanceFallback, Gi = e.getSuspenseInstanceFallbackErrorDetails, kr = e.registerSuspenseInstanceRetry, ge = e.getNextHydratableSibling, He = e.getFirstHydratableChild, Je = e.getFirstHydratableChildWithinContainer, St = e.getFirstHydratableChildWithinSuspenseInstance, qt = e.hydrateInstance, Ht = e.hydrateTextInstance, Gt = e.hydrateSuspenseInstance, Ut = e.getNextHydratableInstanceAfterSuspenseInstance, Cr = e.commitHydratedContainer, fr = e.commitHydratedSuspenseInstance, hr = e.clearSuspenseBoundary, Tr = e.clearSuspenseBoundaryFromContainer, ua = e.shouldDeleteUnhydratedTailInstances, Ma = e.didNotMatchHydratedContainerTextInstance, di = e.didNotMatchHydratedTextInstance, Vl;
|
|
37245
37245
|
function cs(v) {
|
|
37246
37246
|
if (Vl === void 0)
|
|
37247
37247
|
try {
|
|
@@ -37814,16 +37814,16 @@ function requireReactReconciler_production_min() {
|
|
|
37814
37814
|
K.shared.pending = null;
|
|
37815
37815
|
var we = _e, Ye = we.next;
|
|
37816
37816
|
we.next = null, ue === null ? te = Ye : ue.next = Ye, ue = we;
|
|
37817
|
-
var
|
|
37818
|
-
|
|
37817
|
+
var lt = v.alternate;
|
|
37818
|
+
lt !== null && (lt = lt.updateQueue, _e = lt.lastBaseUpdate, _e !== ue && (_e === null ? lt.firstBaseUpdate = Ye : _e.next = Ye, lt.lastBaseUpdate = we));
|
|
37819
37819
|
}
|
|
37820
37820
|
if (te !== null) {
|
|
37821
37821
|
var xt = K.baseState;
|
|
37822
|
-
ue = 0,
|
|
37822
|
+
ue = 0, lt = Ye = we = null, _e = te;
|
|
37823
37823
|
do {
|
|
37824
37824
|
var et = _e.lane, Sr = _e.eventTime;
|
|
37825
37825
|
if (($ & et) === et) {
|
|
37826
|
-
|
|
37826
|
+
lt !== null && (lt = lt.next = {
|
|
37827
37827
|
eventTime: Sr,
|
|
37828
37828
|
lane: 0,
|
|
37829
37829
|
tag: _e.tag,
|
|
@@ -37854,14 +37854,14 @@ function requireReactReconciler_production_min() {
|
|
|
37854
37854
|
}
|
|
37855
37855
|
_e.callback !== null && _e.lane !== 0 && (v.flags |= 64, et = K.effects, et === null ? K.effects = [_e] : et.push(_e));
|
|
37856
37856
|
} else
|
|
37857
|
-
Sr = { eventTime: Sr, lane: et, tag: _e.tag, payload: _e.payload, callback: _e.callback, next: null },
|
|
37857
|
+
Sr = { eventTime: Sr, lane: et, tag: _e.tag, payload: _e.payload, callback: _e.callback, next: null }, lt === null ? (Ye = lt = Sr, we = xt) : lt = lt.next = Sr, ue |= et;
|
|
37858
37858
|
if (_e = _e.next, _e === null) {
|
|
37859
37859
|
if (_e = K.shared.pending, _e === null)
|
|
37860
37860
|
break;
|
|
37861
37861
|
et = _e, _e = et.next, et.next = null, K.lastBaseUpdate = et, K.shared.pending = null;
|
|
37862
37862
|
}
|
|
37863
37863
|
} while (!0);
|
|
37864
|
-
if (
|
|
37864
|
+
if (lt === null && (we = xt), K.baseState = we, K.firstBaseUpdate = Ye, K.lastBaseUpdate = lt, b = K.shared.interleaved, b !== null) {
|
|
37865
37865
|
K = b;
|
|
37866
37866
|
do
|
|
37867
37867
|
ue |= K.lane, K = K.next;
|
|
@@ -37980,12 +37980,12 @@ function requireReactReconciler_production_min() {
|
|
|
37980
37980
|
}
|
|
37981
37981
|
function we(Ae, Se, Ne, tt) {
|
|
37982
37982
|
var gt = Ne.type;
|
|
37983
|
-
return gt === h ?
|
|
37983
|
+
return gt === h ? lt(Ae, Se, Ne.props.children, tt, Ne.key) : Se !== null && (Se.elementType === gt || typeof gt == "object" && gt !== null && gt.$$typeof === S && pu(gt) === Se.type) ? (tt = K(Se, Ne.props), tt.ref = $a(Ae, Se, Ne), tt.return = Ae, tt) : (tt = vo(Ne.type, Ne.key, Ne.props, null, Ae.mode, tt), tt.ref = $a(Ae, Se, Ne), tt.return = Ae, tt);
|
|
37984
37984
|
}
|
|
37985
37985
|
function Ye(Ae, Se, Ne, tt) {
|
|
37986
37986
|
return Se === null || Se.tag !== 4 || Se.stateNode.containerInfo !== Ne.containerInfo || Se.stateNode.implementation !== Ne.implementation ? (Se = _o(Ne, Ae.mode, tt), Se.return = Ae, Se) : (Se = K(Se, Ne.children || []), Se.return = Ae, Se);
|
|
37987
37987
|
}
|
|
37988
|
-
function
|
|
37988
|
+
function lt(Ae, Se, Ne, tt, gt) {
|
|
37989
37989
|
return Se === null || Se.tag !== 7 ? (Se = Ta(Ne, Ae.mode, tt, gt), Se.return = Ae, Se) : (Se = K(Se, Ne), Se.return = Ae, Se);
|
|
37990
37990
|
}
|
|
37991
37991
|
function xt(Ae, Se, Ne) {
|
|
@@ -38026,7 +38026,7 @@ function requireReactReconciler_production_min() {
|
|
|
38026
38026
|
);
|
|
38027
38027
|
}
|
|
38028
38028
|
if (ee(Ne) || P(Ne))
|
|
38029
|
-
return gt !== null ? null :
|
|
38029
|
+
return gt !== null ? null : lt(Ae, Se, Ne, tt, null);
|
|
38030
38030
|
Zs(Ae, Ne);
|
|
38031
38031
|
}
|
|
38032
38032
|
return null;
|
|
@@ -38045,7 +38045,7 @@ function requireReactReconciler_production_min() {
|
|
|
38045
38045
|
return Sr(Ae, Se, Ne, Dt(tt._payload), gt);
|
|
38046
38046
|
}
|
|
38047
38047
|
if (ee(tt) || P(tt))
|
|
38048
|
-
return Ae = Ae.get(Ne) || null,
|
|
38048
|
+
return Ae = Ae.get(Ne) || null, lt(Se, Ae, tt, gt, null);
|
|
38049
38049
|
Zs(Se, tt);
|
|
38050
38050
|
}
|
|
38051
38051
|
return null;
|
|
@@ -38281,18 +38281,18 @@ function requireReactReconciler_production_min() {
|
|
|
38281
38281
|
te = K.next, $ = $.baseState;
|
|
38282
38282
|
var _e = ue = null, we = null, Ye = te;
|
|
38283
38283
|
do {
|
|
38284
|
-
var
|
|
38285
|
-
if ((xn &
|
|
38284
|
+
var lt = Ye.lane;
|
|
38285
|
+
if ((xn & lt) === lt)
|
|
38286
38286
|
we !== null && (we = we.next = { lane: 0, action: Ye.action, hasEagerState: Ye.hasEagerState, eagerState: Ye.eagerState, next: null }), $ = Ye.hasEagerState ? Ye.eagerState : v($, Ye.action);
|
|
38287
38287
|
else {
|
|
38288
38288
|
var xt = {
|
|
38289
|
-
lane:
|
|
38289
|
+
lane: lt,
|
|
38290
38290
|
action: Ye.action,
|
|
38291
38291
|
hasEagerState: Ye.hasEagerState,
|
|
38292
38292
|
eagerState: Ye.eagerState,
|
|
38293
38293
|
next: null
|
|
38294
38294
|
};
|
|
38295
|
-
we === null ? (_e = we = xt, ue = $) : we = we.next = xt, yr.lanes |=
|
|
38295
|
+
we === null ? (_e = we = xt, ue = $) : we = we.next = xt, yr.lanes |= lt, Qa |= lt;
|
|
38296
38296
|
}
|
|
38297
38297
|
Ye = Ye.next;
|
|
38298
38298
|
} while (Ye !== null && Ye !== te);
|
|
@@ -38718,16 +38718,16 @@ Error generating stack: ` + te.message + `
|
|
|
38718
38718
|
ue.props = _e;
|
|
38719
38719
|
var we = ue.context, Ye = j.contextType;
|
|
38720
38720
|
typeof Ye == "object" && Ye !== null ? Ye = _n(Ye) : (Ye = gn(j) ? Ua : mn.current, Ye = ds(b, Ye));
|
|
38721
|
-
var
|
|
38721
|
+
var lt = j.getDerivedStateFromProps, xt = typeof lt == "function" || typeof ue.getSnapshotBeforeUpdate == "function";
|
|
38722
38722
|
xt || typeof ue.UNSAFE_componentWillReceiveProps != "function" && typeof ue.componentWillReceiveProps != "function" || (_e !== $ || we !== Ye) && Wo(b, ue, $, Ye), Hi = !1;
|
|
38723
38723
|
var et = b.memoizedState;
|
|
38724
|
-
ue.state = et, _s(b, $, ue, K), we = b.memoizedState, _e !== $ || et !== we || Nn.current || Hi ? (typeof
|
|
38724
|
+
ue.state = et, _s(b, $, ue, K), we = b.memoizedState, _e !== $ || et !== we || Nn.current || Hi ? (typeof lt == "function" && (xs(b, j, lt, $), we = b.memoizedState), (_e = Hi || Vo(b, j, _e, $, et, we, Ye)) ? (xt || typeof ue.UNSAFE_componentWillMount != "function" && typeof ue.componentWillMount != "function" || (typeof ue.componentWillMount == "function" && ue.componentWillMount(), typeof ue.UNSAFE_componentWillMount == "function" && ue.UNSAFE_componentWillMount()), typeof ue.componentDidMount == "function" && (b.flags |= 4194308)) : (typeof ue.componentDidMount == "function" && (b.flags |= 4194308), b.memoizedProps = $, b.memoizedState = we), ue.props = $, ue.state = we, ue.context = Ye, $ = _e) : (typeof ue.componentDidMount == "function" && (b.flags |= 4194308), $ = !1);
|
|
38725
38725
|
} else {
|
|
38726
38726
|
ue = b.stateNode, fu(v, b), _e = b.memoizedProps, Ye = b.type === b.elementType ? _e : gi(b.type, _e), ue.props = Ye, xt = b.pendingProps, et = ue.context, we = j.contextType, typeof we == "object" && we !== null ? we = _n(we) : (we = gn(j) ? Ua : mn.current, we = ds(b, we));
|
|
38727
38727
|
var Sr = j.getDerivedStateFromProps;
|
|
38728
|
-
(
|
|
38728
|
+
(lt = typeof Sr == "function" || typeof ue.getSnapshotBeforeUpdate == "function") || typeof ue.UNSAFE_componentWillReceiveProps != "function" && typeof ue.componentWillReceiveProps != "function" || (_e !== xt || et !== we) && Wo(b, ue, $, we), Hi = !1, et = b.memoizedState, ue.state = et, _s(b, $, ue, K);
|
|
38729
38729
|
var mr = b.memoizedState;
|
|
38730
|
-
_e !== xt || et !== mr || Nn.current || Hi ? (typeof Sr == "function" && (xs(b, j, Sr, $), mr = b.memoizedState), (Ye = Hi || Vo(b, j, Ye, $, et, mr, we) || !1) ? (
|
|
38730
|
+
_e !== xt || et !== mr || Nn.current || Hi ? (typeof Sr == "function" && (xs(b, j, Sr, $), mr = b.memoizedState), (Ye = Hi || Vo(b, j, Ye, $, et, mr, we) || !1) ? (lt || typeof ue.UNSAFE_componentWillUpdate != "function" && typeof ue.componentWillUpdate != "function" || (typeof ue.componentWillUpdate == "function" && ue.componentWillUpdate($, mr, we), typeof ue.UNSAFE_componentWillUpdate == "function" && ue.UNSAFE_componentWillUpdate($, mr, we)), typeof ue.componentDidUpdate == "function" && (b.flags |= 4), typeof ue.getSnapshotBeforeUpdate == "function" && (b.flags |= 1024)) : (typeof ue.componentDidUpdate != "function" || _e === v.memoizedProps && et === v.memoizedState || (b.flags |= 4), typeof ue.getSnapshotBeforeUpdate != "function" || _e === v.memoizedProps && et === v.memoizedState || (b.flags |= 1024), b.memoizedProps = $, b.memoizedState = mr), ue.props = $, ue.state = mr, ue.context = we, $ = Ye) : (typeof ue.componentDidUpdate != "function" || _e === v.memoizedProps && et === v.memoizedState || (b.flags |= 4), typeof ue.getSnapshotBeforeUpdate != "function" || _e === v.memoizedProps && et === v.memoizedState || (b.flags |= 1024), $ = !1);
|
|
38731
38731
|
}
|
|
38732
38732
|
return so(v, b, j, $, te, K);
|
|
38733
38733
|
}
|
|
@@ -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 = st(te, K.type, K.memoizedProps, K)), X(v, te);
|
|
39003
39003
|
} else if (K.tag === 6)
|
|
39004
39004
|
te = K.stateNode, j && $ && (te = It(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 = st(te, K.type, K.memoizedProps, K)), Ie(v, te);
|
|
39028
39028
|
} else if (K.tag === 6)
|
|
39029
|
-
te = K.stateNode, j && $ && (te = It(te, K.memoizedProps, K)),
|
|
39029
|
+
te = K.stateNode, j && $ && (te = It(te, K.memoizedProps, K)), Ie(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);
|
|
@@ -39050,7 +39050,7 @@ Error generating stack: ` + te.message + `
|
|
|
39050
39050
|
if (!lo(v, b)) {
|
|
39051
39051
|
v = j.containerInfo;
|
|
39052
39052
|
var $ = ze(v);
|
|
39053
|
-
Os($, b, !1, !1), j.pendingChildren = $, Ct(b),
|
|
39053
|
+
Os($, b, !1, !1), j.pendingChildren = $, Ct(b), nt(v, $);
|
|
39054
39054
|
}
|
|
39055
39055
|
}, dl = function(v, b, j, $, K) {
|
|
39056
39056
|
var te = v.stateNode, ue = v.memoizedProps;
|
|
@@ -39255,7 +39255,7 @@ Error generating stack: ` + te.message + `
|
|
|
39255
39255
|
return null;
|
|
39256
39256
|
}
|
|
39257
39257
|
}
|
|
39258
|
-
var fl = !1, nn = !1, Gc = typeof WeakSet == "function" ? WeakSet : Set,
|
|
39258
|
+
var fl = !1, nn = !1, Gc = typeof WeakSet == "function" ? WeakSet : Set, ot = null;
|
|
39259
39259
|
function En(v, b) {
|
|
39260
39260
|
var j = v.ref;
|
|
39261
39261
|
if (j !== null)
|
|
@@ -39277,12 +39277,12 @@ Error generating stack: ` + te.message + `
|
|
|
39277
39277
|
}
|
|
39278
39278
|
var ks = !1;
|
|
39279
39279
|
function Cu(v, b) {
|
|
39280
|
-
for (I(v.containerInfo),
|
|
39281
|
-
if (v =
|
|
39282
|
-
b.return = v,
|
|
39280
|
+
for (I(v.containerInfo), ot = b; ot !== null; )
|
|
39281
|
+
if (v = ot, b = v.child, (v.subtreeFlags & 1028) !== 0 && b !== null)
|
|
39282
|
+
b.return = v, ot = b;
|
|
39283
39283
|
else
|
|
39284
|
-
for (;
|
|
39285
|
-
v =
|
|
39284
|
+
for (; ot !== null; ) {
|
|
39285
|
+
v = ot;
|
|
39286
39286
|
try {
|
|
39287
39287
|
var j = v.alternate;
|
|
39288
39288
|
if (v.flags & 1024)
|
|
@@ -39312,10 +39312,10 @@ Error generating stack: ` + te.message + `
|
|
|
39312
39312
|
Qt(v, v.return, _e);
|
|
39313
39313
|
}
|
|
39314
39314
|
if (b = v.sibling, b !== null) {
|
|
39315
|
-
b.return = v.return,
|
|
39315
|
+
b.return = v.return, ot = b;
|
|
39316
39316
|
break;
|
|
39317
39317
|
}
|
|
39318
|
-
|
|
39318
|
+
ot = v.return;
|
|
39319
39319
|
}
|
|
39320
39320
|
return j = ks, ks = !1, j;
|
|
39321
39321
|
}
|
|
@@ -39393,7 +39393,7 @@ Error generating stack: ` + te.message + `
|
|
|
39393
39393
|
function pl(v, b, j) {
|
|
39394
39394
|
var $ = v.tag;
|
|
39395
39395
|
if ($ === 5 || $ === 6)
|
|
39396
|
-
v = v.stateNode, b ?
|
|
39396
|
+
v = v.stateNode, b ? ve(j, v, b) : Ke(j, v);
|
|
39397
39397
|
else if ($ !== 4 && (v = v.child, v !== null))
|
|
39398
39398
|
for (pl(v, b, j), v = v.sibling; v !== null; )
|
|
39399
39399
|
pl(v, b, j), v = v.sibling;
|
|
@@ -39561,7 +39561,7 @@ Error generating stack: ` + te.message + `
|
|
|
39561
39561
|
throw Error(l(162));
|
|
39562
39562
|
K = v.stateNode, te = v.memoizedProps, j = j !== null ? j.memoizedProps : te;
|
|
39563
39563
|
try {
|
|
39564
|
-
|
|
39564
|
+
ct(K, j, te);
|
|
39565
39565
|
} catch (et) {
|
|
39566
39566
|
Qt(v, v.return, et);
|
|
39567
39567
|
}
|
|
@@ -39605,9 +39605,9 @@ Error generating stack: ` + te.message + `
|
|
|
39605
39605
|
var ue = j !== null && j.memoizedState !== null;
|
|
39606
39606
|
if (v.mode & 1 ? (nn = (j = nn) || ue, Fn(b, v), nn = j) : Fn(b, v), bn(v), $ & 8192) {
|
|
39607
39607
|
if (j = v.memoizedState !== null, (v.stateNode.isHidden = j) && !ue && v.mode & 1)
|
|
39608
|
-
for (
|
|
39609
|
-
for (b =
|
|
39610
|
-
ue =
|
|
39608
|
+
for (ot = v, $ = v.child; $ !== null; ) {
|
|
39609
|
+
for (b = ot = $; ot !== null; ) {
|
|
39610
|
+
ue = ot;
|
|
39611
39611
|
var _e = ue.child;
|
|
39612
39612
|
switch (ue.tag) {
|
|
39613
39613
|
case 0:
|
|
@@ -39620,12 +39620,12 @@ Error generating stack: ` + te.message + `
|
|
|
39620
39620
|
En(ue, ue.return);
|
|
39621
39621
|
var we = ue.stateNode;
|
|
39622
39622
|
if (typeof we.componentWillUnmount == "function") {
|
|
39623
|
-
var Ye = ue,
|
|
39623
|
+
var Ye = ue, lt = ue.return;
|
|
39624
39624
|
try {
|
|
39625
39625
|
var xt = Ye;
|
|
39626
39626
|
we.props = xt.memoizedProps, we.state = xt.memoizedState, we.componentWillUnmount();
|
|
39627
39627
|
} catch (et) {
|
|
39628
|
-
Qt(Ye,
|
|
39628
|
+
Qt(Ye, lt, et);
|
|
39629
39629
|
}
|
|
39630
39630
|
}
|
|
39631
39631
|
break;
|
|
@@ -39638,7 +39638,7 @@ Error generating stack: ` + te.message + `
|
|
|
39638
39638
|
continue;
|
|
39639
39639
|
}
|
|
39640
39640
|
}
|
|
39641
|
-
_e !== null ? (_e.return = ue,
|
|
39641
|
+
_e !== null ? (_e.return = ue, ot = _e) : Xa(b);
|
|
39642
39642
|
}
|
|
39643
39643
|
$ = $.sibling;
|
|
39644
39644
|
}
|
|
@@ -39658,7 +39658,7 @@ Error generating stack: ` + te.message + `
|
|
|
39658
39658
|
} else if (b.tag === 6) {
|
|
39659
39659
|
if ($ === null)
|
|
39660
39660
|
try {
|
|
39661
|
-
te = b.stateNode, j ? jt(te) :
|
|
39661
|
+
te = b.stateNode, j ? jt(te) : dt(te, b.memoizedProps);
|
|
39662
39662
|
} catch (et) {
|
|
39663
39663
|
Qt(v, v.return, et);
|
|
39664
39664
|
}
|
|
@@ -39726,11 +39726,11 @@ Error generating stack: ` + te.message + `
|
|
|
39726
39726
|
b & 4096 && (v.flags &= -4097);
|
|
39727
39727
|
}
|
|
39728
39728
|
function Hc(v, b, j) {
|
|
39729
|
-
|
|
39729
|
+
ot = v, Vc(v);
|
|
39730
39730
|
}
|
|
39731
39731
|
function Vc(v, b, j) {
|
|
39732
|
-
for (var $ = (v.mode & 1) !== 0;
|
|
39733
|
-
var K =
|
|
39732
|
+
for (var $ = (v.mode & 1) !== 0; ot !== null; ) {
|
|
39733
|
+
var K = ot, te = K.child;
|
|
39734
39734
|
if (K.tag === 22 && $) {
|
|
39735
39735
|
var ue = K.memoizedState !== null || fl;
|
|
39736
39736
|
if (!ue) {
|
|
@@ -39738,20 +39738,20 @@ Error generating stack: ` + te.message + `
|
|
|
39738
39738
|
_e = fl;
|
|
39739
39739
|
var Ye = nn;
|
|
39740
39740
|
if (fl = ue, (nn = we) && !Ye)
|
|
39741
|
-
for (
|
|
39742
|
-
ue =
|
|
39741
|
+
for (ot = K; ot !== null; )
|
|
39742
|
+
ue = ot, we = ue.child, ue.tag === 22 && ue.memoizedState !== null ? an(K) : we !== null ? (we.return = ue, ot = we) : an(K);
|
|
39743
39743
|
for (; te !== null; )
|
|
39744
|
-
|
|
39745
|
-
|
|
39744
|
+
ot = te, Vc(te), te = te.sibling;
|
|
39745
|
+
ot = K, fl = _e, nn = Ye;
|
|
39746
39746
|
}
|
|
39747
39747
|
Wc(v);
|
|
39748
39748
|
} else
|
|
39749
|
-
K.subtreeFlags & 8772 && te !== null ? (te.return = K,
|
|
39749
|
+
K.subtreeFlags & 8772 && te !== null ? (te.return = K, ot = te) : Wc(v);
|
|
39750
39750
|
}
|
|
39751
39751
|
}
|
|
39752
39752
|
function Wc(v) {
|
|
39753
|
-
for (;
|
|
39754
|
-
var b =
|
|
39753
|
+
for (; ot !== null; ) {
|
|
39754
|
+
var b = ot;
|
|
39755
39755
|
if (b.flags & 8772) {
|
|
39756
39756
|
var j = b.alternate;
|
|
39757
39757
|
try {
|
|
@@ -39804,8 +39804,8 @@ Error generating stack: ` + te.message + `
|
|
|
39804
39804
|
if (we !== null) {
|
|
39805
39805
|
var Ye = we.memoizedState;
|
|
39806
39806
|
if (Ye !== null) {
|
|
39807
|
-
var
|
|
39808
|
-
|
|
39807
|
+
var lt = Ye.dehydrated;
|
|
39808
|
+
lt !== null && fr(lt);
|
|
39809
39809
|
}
|
|
39810
39810
|
}
|
|
39811
39811
|
}
|
|
@@ -39826,34 +39826,34 @@ Error generating stack: ` + te.message + `
|
|
|
39826
39826
|
}
|
|
39827
39827
|
}
|
|
39828
39828
|
if (b === v) {
|
|
39829
|
-
|
|
39829
|
+
ot = null;
|
|
39830
39830
|
break;
|
|
39831
39831
|
}
|
|
39832
39832
|
if (j = b.sibling, j !== null) {
|
|
39833
|
-
j.return = b.return,
|
|
39833
|
+
j.return = b.return, ot = j;
|
|
39834
39834
|
break;
|
|
39835
39835
|
}
|
|
39836
|
-
|
|
39836
|
+
ot = b.return;
|
|
39837
39837
|
}
|
|
39838
39838
|
}
|
|
39839
39839
|
function Xa(v) {
|
|
39840
|
-
for (;
|
|
39841
|
-
var b =
|
|
39840
|
+
for (; ot !== null; ) {
|
|
39841
|
+
var b = ot;
|
|
39842
39842
|
if (b === v) {
|
|
39843
|
-
|
|
39843
|
+
ot = null;
|
|
39844
39844
|
break;
|
|
39845
39845
|
}
|
|
39846
39846
|
var j = b.sibling;
|
|
39847
39847
|
if (j !== null) {
|
|
39848
|
-
j.return = b.return,
|
|
39848
|
+
j.return = b.return, ot = j;
|
|
39849
39849
|
break;
|
|
39850
39850
|
}
|
|
39851
|
-
|
|
39851
|
+
ot = b.return;
|
|
39852
39852
|
}
|
|
39853
39853
|
}
|
|
39854
39854
|
function an(v) {
|
|
39855
|
-
for (;
|
|
39856
|
-
var b =
|
|
39855
|
+
for (; ot !== null; ) {
|
|
39856
|
+
var b = ot;
|
|
39857
39857
|
try {
|
|
39858
39858
|
switch (b.tag) {
|
|
39859
39859
|
case 0:
|
|
@@ -39895,15 +39895,15 @@ Error generating stack: ` + te.message + `
|
|
|
39895
39895
|
Qt(b, b.return, we);
|
|
39896
39896
|
}
|
|
39897
39897
|
if (b === v) {
|
|
39898
|
-
|
|
39898
|
+
ot = null;
|
|
39899
39899
|
break;
|
|
39900
39900
|
}
|
|
39901
39901
|
var _e = b.sibling;
|
|
39902
39902
|
if (_e !== null) {
|
|
39903
|
-
_e.return = b.return,
|
|
39903
|
+
_e.return = b.return, ot = _e;
|
|
39904
39904
|
break;
|
|
39905
39905
|
}
|
|
39906
|
-
|
|
39906
|
+
ot = b.return;
|
|
39907
39907
|
}
|
|
39908
39908
|
}
|
|
39909
39909
|
var Ze = 0, Wn = 1, jn = 2, ml = 3, gl = 4;
|
|
@@ -39918,7 +39918,7 @@ Error generating stack: ` + te.message + `
|
|
|
39918
39918
|
throw Error(l(364));
|
|
39919
39919
|
return b;
|
|
39920
39920
|
}
|
|
39921
|
-
if (v =
|
|
39921
|
+
if (v = at(v), v === null)
|
|
39922
39922
|
throw Error(l(362));
|
|
39923
39923
|
return v.stateNode.current;
|
|
39924
39924
|
}
|
|
@@ -40282,10 +40282,10 @@ Error generating stack: ` + te.message + `
|
|
|
40282
40282
|
e: {
|
|
40283
40283
|
var te = v, ue = j.return, _e = j, we = b;
|
|
40284
40284
|
if (b = sn, _e.flags |= 32768, we !== null && typeof we == "object" && typeof we.then == "function") {
|
|
40285
|
-
var Ye = we,
|
|
40286
|
-
if (!(
|
|
40287
|
-
var et =
|
|
40288
|
-
et ? (
|
|
40285
|
+
var Ye = we, lt = _e, xt = lt.tag;
|
|
40286
|
+
if (!(lt.mode & 1) && (xt === 0 || xt === 11 || xt === 15)) {
|
|
40287
|
+
var et = lt.alternate;
|
|
40288
|
+
et ? (lt.updateQueue = et.updateQueue, lt.memoizedState = et.memoizedState, lt.lanes = et.lanes) : (lt.updateQueue = null, lt.memoizedState = null);
|
|
40289
40289
|
}
|
|
40290
40290
|
var Sr = kc(ue);
|
|
40291
40291
|
if (Sr !== null) {
|
|
@@ -40453,37 +40453,37 @@ Error generating stack: ` + te.message + `
|
|
|
40453
40453
|
if (v = Mr, Mr = null, ii = 0, $t & 6)
|
|
40454
40454
|
throw Error(l(331));
|
|
40455
40455
|
var K = $t;
|
|
40456
|
-
for ($t |= 4,
|
|
40457
|
-
var te =
|
|
40458
|
-
if (
|
|
40456
|
+
for ($t |= 4, ot = v.current; ot !== null; ) {
|
|
40457
|
+
var te = ot, ue = te.child;
|
|
40458
|
+
if (ot.flags & 16) {
|
|
40459
40459
|
var _e = te.deletions;
|
|
40460
40460
|
if (_e !== null) {
|
|
40461
40461
|
for (var we = 0; we < _e.length; we++) {
|
|
40462
40462
|
var Ye = _e[we];
|
|
40463
|
-
for (
|
|
40464
|
-
var
|
|
40465
|
-
switch (
|
|
40463
|
+
for (ot = Ye; ot !== null; ) {
|
|
40464
|
+
var lt = ot;
|
|
40465
|
+
switch (lt.tag) {
|
|
40466
40466
|
case 0:
|
|
40467
40467
|
case 11:
|
|
40468
40468
|
case 15:
|
|
40469
|
-
qi(8,
|
|
40469
|
+
qi(8, lt, te);
|
|
40470
40470
|
}
|
|
40471
|
-
var xt =
|
|
40471
|
+
var xt = lt.child;
|
|
40472
40472
|
if (xt !== null)
|
|
40473
|
-
xt.return =
|
|
40473
|
+
xt.return = lt, ot = xt;
|
|
40474
40474
|
else
|
|
40475
|
-
for (;
|
|
40476
|
-
|
|
40477
|
-
var et =
|
|
40478
|
-
if (Bc(
|
|
40479
|
-
|
|
40475
|
+
for (; ot !== null; ) {
|
|
40476
|
+
lt = ot;
|
|
40477
|
+
var et = lt.sibling, Sr = lt.return;
|
|
40478
|
+
if (Bc(lt), lt === Ye) {
|
|
40479
|
+
ot = null;
|
|
40480
40480
|
break;
|
|
40481
40481
|
}
|
|
40482
40482
|
if (et !== null) {
|
|
40483
|
-
et.return = Sr,
|
|
40483
|
+
et.return = Sr, ot = et;
|
|
40484
40484
|
break;
|
|
40485
40485
|
}
|
|
40486
|
-
|
|
40486
|
+
ot = Sr;
|
|
40487
40487
|
}
|
|
40488
40488
|
}
|
|
40489
40489
|
}
|
|
@@ -40498,15 +40498,15 @@ Error generating stack: ` + te.message + `
|
|
|
40498
40498
|
} while (ur !== null);
|
|
40499
40499
|
}
|
|
40500
40500
|
}
|
|
40501
|
-
|
|
40501
|
+
ot = te;
|
|
40502
40502
|
}
|
|
40503
40503
|
}
|
|
40504
40504
|
if (te.subtreeFlags & 2064 && ue !== null)
|
|
40505
|
-
ue.return = te,
|
|
40505
|
+
ue.return = te, ot = ue;
|
|
40506
40506
|
else
|
|
40507
40507
|
e:
|
|
40508
|
-
for (;
|
|
40509
|
-
if (te =
|
|
40508
|
+
for (; ot !== null; ) {
|
|
40509
|
+
if (te = ot, te.flags & 2048)
|
|
40510
40510
|
switch (te.tag) {
|
|
40511
40511
|
case 0:
|
|
40512
40512
|
case 11:
|
|
@@ -40515,22 +40515,22 @@ Error generating stack: ` + te.message + `
|
|
|
40515
40515
|
}
|
|
40516
40516
|
var Ae = te.sibling;
|
|
40517
40517
|
if (Ae !== null) {
|
|
40518
|
-
Ae.return = te.return,
|
|
40518
|
+
Ae.return = te.return, ot = Ae;
|
|
40519
40519
|
break e;
|
|
40520
40520
|
}
|
|
40521
|
-
|
|
40521
|
+
ot = te.return;
|
|
40522
40522
|
}
|
|
40523
40523
|
}
|
|
40524
40524
|
var Se = v.current;
|
|
40525
|
-
for (
|
|
40526
|
-
ue =
|
|
40525
|
+
for (ot = Se; ot !== null; ) {
|
|
40526
|
+
ue = ot;
|
|
40527
40527
|
var Ne = ue.child;
|
|
40528
40528
|
if (ue.subtreeFlags & 2064 && Ne !== null)
|
|
40529
|
-
Ne.return = ue,
|
|
40529
|
+
Ne.return = ue, ot = Ne;
|
|
40530
40530
|
else
|
|
40531
40531
|
e:
|
|
40532
|
-
for (ue = Se;
|
|
40533
|
-
if (_e =
|
|
40532
|
+
for (ue = Se; ot !== null; ) {
|
|
40533
|
+
if (_e = ot, _e.flags & 2048)
|
|
40534
40534
|
try {
|
|
40535
40535
|
switch (_e.tag) {
|
|
40536
40536
|
case 0:
|
|
@@ -40542,15 +40542,15 @@ Error generating stack: ` + te.message + `
|
|
|
40542
40542
|
Qt(_e, _e.return, gt);
|
|
40543
40543
|
}
|
|
40544
40544
|
if (_e === ue) {
|
|
40545
|
-
|
|
40545
|
+
ot = null;
|
|
40546
40546
|
break e;
|
|
40547
40547
|
}
|
|
40548
40548
|
var tt = _e.sibling;
|
|
40549
40549
|
if (tt !== null) {
|
|
40550
|
-
tt.return = _e.return,
|
|
40550
|
+
tt.return = _e.return, ot = tt;
|
|
40551
40551
|
break e;
|
|
40552
40552
|
}
|
|
40553
|
-
|
|
40553
|
+
ot = _e.return;
|
|
40554
40554
|
}
|
|
40555
40555
|
}
|
|
40556
40556
|
if ($t = K, pi(), Ai && typeof Ai.onPostCommitFiberRoot == "function")
|
|
@@ -40726,8 +40726,8 @@ Error generating stack: ` + te.message + `
|
|
|
40726
40726
|
var Ye = te.updateQueue;
|
|
40727
40727
|
if (Ye !== null) {
|
|
40728
40728
|
Ye = Ye.shared;
|
|
40729
|
-
var
|
|
40730
|
-
|
|
40729
|
+
var lt = Ye.pending;
|
|
40730
|
+
lt === null ? we.next = we : (we.next = lt.next, lt.next = we), Ye.pending = we;
|
|
40731
40731
|
}
|
|
40732
40732
|
}
|
|
40733
40733
|
te.lanes |= j, we = te.alternate, we !== null && (we.lanes |= j), cu(te.return, j, b), _e.lanes |= j;
|
|
@@ -41012,13 +41012,13 @@ Error generating stack: ` + te.message + `
|
|
|
41012
41012
|
j = v[b];
|
|
41013
41013
|
for (var $ = j.x, K = $ + j.width, te = j.y, ue = te + j.height, _e = b - 1; 0 <= _e; _e--)
|
|
41014
41014
|
if (b !== _e) {
|
|
41015
|
-
var we = v[_e], Ye = we.x,
|
|
41016
|
-
if ($ >= Ye && te >= xt && K <=
|
|
41015
|
+
var we = v[_e], Ye = we.x, lt = Ye + we.width, xt = we.y, et = xt + we.height;
|
|
41016
|
+
if ($ >= Ye && te >= xt && K <= lt && ue <= et) {
|
|
41017
41017
|
v.splice(b, 1);
|
|
41018
41018
|
break;
|
|
41019
41019
|
} else if ($ !== Ye || j.width !== we.width || et < te || xt > ue) {
|
|
41020
|
-
if (!(te !== xt || j.height !== we.height ||
|
|
41021
|
-
Ye > $ && (we.width += Ye - $, we.x = $),
|
|
41020
|
+
if (!(te !== xt || j.height !== we.height || lt < $ || Ye > K)) {
|
|
41021
|
+
Ye > $ && (we.width += Ye - $, we.x = $), lt < K && (we.width = K - Ye), v.splice(b, 1);
|
|
41022
41022
|
break;
|
|
41023
41023
|
}
|
|
41024
41024
|
} else {
|
|
@@ -41180,11 +41180,11 @@ function requireReactReconciler_development() {
|
|
|
41180
41180
|
function g(s, d) {
|
|
41181
41181
|
s._reactInternals = d;
|
|
41182
41182
|
}
|
|
41183
|
-
var _ = !1, p = !1, x = !1, C = !1, T = !1, S = !0, A = !0, R = !0, P = 0, w = 1, O = 2, k = 3, L = 4, F = 5, G = 6, H = 7, W = 8, ee = 9, q = 10, z = 11, B = 12, I = 13, U = 14, V = 15, X = 16, Q = 17, J = 18, ie = 19, ne = 21, Z = 22, se = 23, oe = 24, de = 25, fe = Symbol.for("react.element"), ce = Symbol.for("react.portal"), xe = Symbol.for("react.fragment"), Oe = Symbol.for("react.strict_mode"), Re = Symbol.for("react.profiler"), Ve = Symbol.for("react.provider"), Be = Symbol.for("react.context"), qe = Symbol.for("react.forward_ref"), pt = Symbol.for("react.suspense"), yt = Symbol.for("react.suspense_list"),
|
|
41183
|
+
var _ = !1, p = !1, x = !1, C = !1, T = !1, S = !0, A = !0, R = !0, P = 0, w = 1, O = 2, k = 3, L = 4, F = 5, G = 6, H = 7, W = 8, ee = 9, q = 10, z = 11, B = 12, I = 13, U = 14, V = 15, X = 16, Q = 17, J = 18, ie = 19, ne = 21, Z = 22, se = 23, oe = 24, de = 25, fe = Symbol.for("react.element"), ce = Symbol.for("react.portal"), xe = Symbol.for("react.fragment"), Oe = Symbol.for("react.strict_mode"), Re = Symbol.for("react.profiler"), Ve = Symbol.for("react.provider"), Be = Symbol.for("react.context"), qe = Symbol.for("react.forward_ref"), pt = Symbol.for("react.suspense"), yt = Symbol.for("react.suspense_list"), at = Symbol.for("react.memo"), ht = Symbol.for("react.lazy"), er = Symbol.for("react.scope"), Ot = Symbol.for("react.debug_trace_mode"), _t = Symbol.for("react.offscreen"), kt = Symbol.for("react.legacy_hidden"), Ft = Symbol.for("react.cache"), Ke = Symbol.for("react.tracing_marker"), mt = Symbol.iterator, ct = "@@iterator";
|
|
41184
41184
|
function he(s) {
|
|
41185
41185
|
if (s === null || typeof s != "object")
|
|
41186
41186
|
return null;
|
|
41187
|
-
var d = mt && s[mt] || s[
|
|
41187
|
+
var d = mt && s[mt] || s[ct];
|
|
41188
41188
|
return typeof d == "function" ? d : null;
|
|
41189
41189
|
}
|
|
41190
41190
|
function pe(s, d, N) {
|
|
@@ -41194,7 +41194,7 @@ function requireReactReconciler_development() {
|
|
|
41194
41194
|
var M = d.displayName || d.name || "";
|
|
41195
41195
|
return M !== "" ? N + "(" + M + ")" : N;
|
|
41196
41196
|
}
|
|
41197
|
-
function
|
|
41197
|
+
function ve(s) {
|
|
41198
41198
|
return s.displayName || "Context";
|
|
41199
41199
|
}
|
|
41200
41200
|
function Ce(s) {
|
|
@@ -41222,13 +41222,13 @@ function requireReactReconciler_development() {
|
|
|
41222
41222
|
switch (s.$$typeof) {
|
|
41223
41223
|
case Be:
|
|
41224
41224
|
var d = s;
|
|
41225
|
-
return
|
|
41225
|
+
return ve(d) + ".Consumer";
|
|
41226
41226
|
case Ve:
|
|
41227
41227
|
var N = s;
|
|
41228
|
-
return
|
|
41228
|
+
return ve(N._context) + ".Provider";
|
|
41229
41229
|
case qe:
|
|
41230
41230
|
return pe(s, s.render, "ForwardRef");
|
|
41231
|
-
case
|
|
41231
|
+
case at:
|
|
41232
41232
|
var D = s.displayName || null;
|
|
41233
41233
|
return D !== null ? D : Ce(s.type) || "Memo";
|
|
41234
41234
|
case ht: {
|
|
@@ -41313,7 +41313,7 @@ function requireReactReconciler_development() {
|
|
|
41313
41313
|
), Mt = (
|
|
41314
41314
|
/* */
|
|
41315
41315
|
2
|
|
41316
|
-
),
|
|
41316
|
+
), dt = (
|
|
41317
41317
|
/* */
|
|
41318
41318
|
4
|
|
41319
41319
|
), vr = (
|
|
@@ -41325,16 +41325,16 @@ function requireReactReconciler_development() {
|
|
|
41325
41325
|
), ze = (
|
|
41326
41326
|
/* */
|
|
41327
41327
|
64
|
|
41328
|
-
),
|
|
41328
|
+
), Ie = (
|
|
41329
41329
|
/* */
|
|
41330
41330
|
128
|
|
41331
|
-
),
|
|
41331
|
+
), nt = (
|
|
41332
41332
|
/* */
|
|
41333
41333
|
256
|
|
41334
41334
|
), bt = (
|
|
41335
41335
|
/* */
|
|
41336
41336
|
512
|
|
41337
|
-
),
|
|
41337
|
+
), st = (
|
|
41338
41338
|
/* */
|
|
41339
41339
|
1024
|
|
41340
41340
|
), It = (
|
|
@@ -41349,7 +41349,7 @@ function requireReactReconciler_development() {
|
|
|
41349
41349
|
), Ui = (
|
|
41350
41350
|
/* */
|
|
41351
41351
|
16384
|
|
41352
|
-
), ja = It |
|
|
41352
|
+
), ja = It | dt | ze | bt | st | Ui, 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
|
-
|
|
41386
|
-
), Cr = Mt |
|
|
41385
|
+
dt | st | 0
|
|
41386
|
+
), Cr = Mt | dt | vr | Wr | bt | ir | Yr, fr = dt | ze | bt | Yr, hr = It | vr, Tr = St | qt | Je, ua = a.ReactCurrentOwner;
|
|
41387
41387
|
function Ma(s) {
|
|
41388
41388
|
var d = s, N = s;
|
|
41389
41389
|
if (s.alternate)
|
|
@@ -41449,28 +41449,28 @@ function requireReactReconciler_development() {
|
|
|
41449
41449
|
if (D.return !== M.return)
|
|
41450
41450
|
D = Y, M = re;
|
|
41451
41451
|
else {
|
|
41452
|
-
for (var me = !1,
|
|
41453
|
-
if (
|
|
41452
|
+
for (var me = !1, ye = Y.child; ye; ) {
|
|
41453
|
+
if (ye === D) {
|
|
41454
41454
|
me = !0, D = Y, M = re;
|
|
41455
41455
|
break;
|
|
41456
41456
|
}
|
|
41457
|
-
if (
|
|
41457
|
+
if (ye === M) {
|
|
41458
41458
|
me = !0, M = Y, D = re;
|
|
41459
41459
|
break;
|
|
41460
41460
|
}
|
|
41461
|
-
|
|
41461
|
+
ye = ye.sibling;
|
|
41462
41462
|
}
|
|
41463
41463
|
if (!me) {
|
|
41464
|
-
for (
|
|
41465
|
-
if (
|
|
41464
|
+
for (ye = re.child; ye; ) {
|
|
41465
|
+
if (ye === D) {
|
|
41466
41466
|
me = !0, D = re, M = Y;
|
|
41467
41467
|
break;
|
|
41468
41468
|
}
|
|
41469
|
-
if (
|
|
41469
|
+
if (ye === M) {
|
|
41470
41470
|
me = !0, M = re, D = Y;
|
|
41471
41471
|
break;
|
|
41472
41472
|
}
|
|
41473
|
-
|
|
41473
|
+
ye = ye.sibling;
|
|
41474
41474
|
}
|
|
41475
41475
|
if (!me)
|
|
41476
41476
|
throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
|
|
@@ -41654,18 +41654,18 @@ function requireReactReconciler_development() {
|
|
|
41654
41654
|
if (Ge && D && typeof Ge.stack == "string") {
|
|
41655
41655
|
for (var ae = Ge.stack.split(`
|
|
41656
41656
|
`), le = D.stack.split(`
|
|
41657
|
-
`), me = ae.length - 1,
|
|
41658
|
-
|
|
41659
|
-
for (; me >= 1 &&
|
|
41660
|
-
if (ae[me] !== le[
|
|
41661
|
-
if (me !== 1 ||
|
|
41657
|
+
`), me = ae.length - 1, ye = le.length - 1; me >= 1 && ye >= 0 && ae[me] !== le[ye]; )
|
|
41658
|
+
ye--;
|
|
41659
|
+
for (; me >= 1 && ye >= 0; me--, ye--)
|
|
41660
|
+
if (ae[me] !== le[ye]) {
|
|
41661
|
+
if (me !== 1 || ye !== 1)
|
|
41662
41662
|
do
|
|
41663
|
-
if (me--,
|
|
41663
|
+
if (me--, ye--, ye < 0 || ae[me] !== le[ye]) {
|
|
41664
41664
|
var Ee = `
|
|
41665
41665
|
` + ae[me].replace(" at new ", " at ");
|
|
41666
41666
|
return s.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", s.displayName)), typeof s == "function" && xs.set(s, Ee), Ee;
|
|
41667
41667
|
}
|
|
41668
|
-
while (me >= 1 &&
|
|
41668
|
+
while (me >= 1 && ye >= 0);
|
|
41669
41669
|
break;
|
|
41670
41670
|
}
|
|
41671
41671
|
}
|
|
@@ -41702,7 +41702,7 @@ function requireReactReconciler_development() {
|
|
|
41702
41702
|
switch (s.$$typeof) {
|
|
41703
41703
|
case qe:
|
|
41704
41704
|
return Wo(s.render);
|
|
41705
|
-
case
|
|
41705
|
+
case at:
|
|
41706
41706
|
return $a(s.type, d, N);
|
|
41707
41707
|
case ht: {
|
|
41708
41708
|
var D = s, M = D._payload, Y = D._init;
|
|
@@ -42102,14 +42102,14 @@ function requireReactReconciler_development() {
|
|
|
42102
42102
|
if (d !== Ue && d !== D && // If we already suspended with a delay, then interrupting is fine. Don't
|
|
42103
42103
|
// bother waiting until the root is complete.
|
|
42104
42104
|
(d & M) === Ue) {
|
|
42105
|
-
var
|
|
42105
|
+
var ye = xa(D), Ee = xa(d);
|
|
42106
42106
|
if (
|
|
42107
42107
|
// Tests whether the next lane is equal or lower priority than the wip
|
|
42108
42108
|
// one. This works because the bits decrease in priority as you go left.
|
|
42109
|
-
|
|
42109
|
+
ye >= Ee || // Default priority updates should not interrupt transition updates. The
|
|
42110
42110
|
// only difference between default updates and transition updates is that
|
|
42111
42111
|
// default updates do not support refresh transitions.
|
|
42112
|
-
|
|
42112
|
+
ye === xi && (Ee & Ki) !== Ue
|
|
42113
42113
|
)
|
|
42114
42114
|
return d;
|
|
42115
42115
|
}
|
|
@@ -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 Me = Sa(Ge), vt = 1 << Me;
|
|
42121
|
+
D |= Fe[Me], Ge &= ~vt;
|
|
42122
42122
|
}
|
|
42123
42123
|
return D;
|
|
42124
42124
|
}
|
|
@@ -42344,7 +42344,7 @@ function requireReactReconciler_development() {
|
|
|
42344
42344
|
}), re.clear()), d &= ~Y;
|
|
42345
42345
|
}
|
|
42346
42346
|
}
|
|
42347
|
-
function
|
|
42347
|
+
function ot(s, d) {
|
|
42348
42348
|
return null;
|
|
42349
42349
|
}
|
|
42350
42350
|
var En = At, Ka = Ni, ks = xi, Cu = _a, qi = Br;
|
|
@@ -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 & Ie) === Ie;
|
|
42409
42409
|
if (A) {
|
|
42410
42410
|
var D;
|
|
42411
42411
|
switch (d) {
|
|
@@ -42595,7 +42595,7 @@ function requireReactReconciler_development() {
|
|
|
42595
42595
|
Xn(), ai[Vr++] = Li, ai[Vr++] = Ei, ai[Vr++] = Ea, Ea = s;
|
|
42596
42596
|
var D = Li, M = Ei, 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,
|
|
42598
|
+
var me = Y - Y % 5, ye = (1 << me) - 1, Ee = (re & ye).toString(32), Pe = re >> me, Fe = Y - me, Ge = El(d) + Fe, Me = ae << Fe, vt = Me | Pe, Pt = Ee + M;
|
|
42599
42599
|
Li = 1 << Ge | vt, Ei = Pt;
|
|
42600
42600
|
} else {
|
|
42601
42601
|
var Et = ae << Y, dr = Et | re, Zt = M;
|
|
@@ -42711,13 +42711,13 @@ 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,
|
|
42714
|
+
var me = d.type, ye = d.pendingProps, Ee = (s.mode & Wt) !== Tt;
|
|
42715
42715
|
Ac(
|
|
42716
42716
|
re,
|
|
42717
42717
|
ae,
|
|
42718
42718
|
le,
|
|
42719
42719
|
me,
|
|
42720
|
-
|
|
42720
|
+
ye,
|
|
42721
42721
|
// TODO: Delete this argument when we remove the legacy root API.
|
|
42722
42722
|
Ee
|
|
42723
42723
|
);
|
|
@@ -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, Me = Ge.dehydrated;
|
|
42747
|
+
if (Me !== null)
|
|
42748
42748
|
switch (d.tag) {
|
|
42749
42749
|
case F:
|
|
42750
42750
|
var vt = d.type, Pt = d.pendingProps;
|
|
42751
|
-
vs(
|
|
42751
|
+
vs(Me, vt, Pt);
|
|
42752
42752
|
break;
|
|
42753
42753
|
case G:
|
|
42754
42754
|
var Et = d.pendingProps;
|
|
42755
|
-
ou(
|
|
42755
|
+
ou(Me, Et);
|
|
42756
42756
|
break;
|
|
42757
42757
|
case I:
|
|
42758
|
-
lu(
|
|
42758
|
+
lu(Me);
|
|
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) !== Tt && (s.flags &
|
|
42800
|
+
return (s.mode & Wt) !== Tt && (s.flags & Ie) === $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.");
|
|
@@ -42847,11 +42847,11 @@ function requireReactReconciler_development() {
|
|
|
42847
42847
|
break;
|
|
42848
42848
|
}
|
|
42849
42849
|
case F: {
|
|
42850
|
-
var le = Y.type, me = Y.memoizedProps,
|
|
42850
|
+
var le = Y.type, me = Y.memoizedProps, ye = Y.stateNode, Ee = (Y.mode & Wt) !== Tt;
|
|
42851
42851
|
su(
|
|
42852
42852
|
le,
|
|
42853
42853
|
me,
|
|
42854
|
-
|
|
42854
|
+
ye,
|
|
42855
42855
|
d,
|
|
42856
42856
|
N,
|
|
42857
42857
|
// TODO: Delete this argument when we remove the legacy root API.
|
|
@@ -42973,7 +42973,7 @@ Error generating stack: ` + D.message + `
|
|
|
42973
42973
|
` + D.stack;
|
|
42974
42974
|
}
|
|
42975
42975
|
}
|
|
42976
|
-
var
|
|
42976
|
+
var lt = a.ReactDebugCurrentFrame, xt = null, et = !1;
|
|
42977
42977
|
function Sr() {
|
|
42978
42978
|
{
|
|
42979
42979
|
if (xt === null)
|
|
@@ -42988,10 +42988,10 @@ Error generating stack: ` + D.message + `
|
|
|
42988
42988
|
return xt === null ? "" : Ye(xt);
|
|
42989
42989
|
}
|
|
42990
42990
|
function ur() {
|
|
42991
|
-
|
|
42991
|
+
lt.getCurrentStack = null, xt = null, et = !1;
|
|
42992
42992
|
}
|
|
42993
42993
|
function or(s) {
|
|
42994
|
-
|
|
42994
|
+
lt.getCurrentStack = s === null ? null : mr, xt = s, et = !1;
|
|
42995
42995
|
}
|
|
42996
42996
|
function Ae() {
|
|
42997
42997
|
return xt;
|
|
@@ -43084,14 +43084,14 @@ Please update the following components: %s`, le);
|
|
|
43084
43084
|
Please update the following components: %s`, me);
|
|
43085
43085
|
}
|
|
43086
43086
|
if (N.size > 0) {
|
|
43087
|
-
var
|
|
43087
|
+
var ye = gt(N);
|
|
43088
43088
|
f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
43089
43089
|
|
|
43090
43090
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
43091
43091
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
43092
43092
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
43093
43093
|
|
|
43094
|
-
Please update the following components: %s`,
|
|
43094
|
+
Please update the following components: %s`, ye);
|
|
43095
43095
|
}
|
|
43096
43096
|
if (M.size > 0) {
|
|
43097
43097
|
var Ee = gt(M);
|
|
@@ -43216,8 +43216,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43216
43216
|
le.tag = ud;
|
|
43217
43217
|
var me = D.updateQueue;
|
|
43218
43218
|
if (me !== null) {
|
|
43219
|
-
var
|
|
43220
|
-
Ee === null ? le.next = le : (le.next = Ee.next, Ee.next = le),
|
|
43219
|
+
var ye = me.shared, Ee = ye.pending;
|
|
43220
|
+
Ee === null ? le.next = le : (le.next = Ee.next, Ee.next = le), ye.pending = le;
|
|
43221
43221
|
}
|
|
43222
43222
|
}
|
|
43223
43223
|
D.lanes = Ct(D.lanes, N);
|
|
@@ -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 Me = M.sibling;
|
|
43250
|
+
if (Me !== null) {
|
|
43251
|
+
Me.return = M.return, M = Me;
|
|
43252
43252
|
break;
|
|
43253
43253
|
}
|
|
43254
43254
|
M = M.return;
|
|
@@ -43429,8 +43429,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43429
43429
|
return;
|
|
43430
43430
|
}
|
|
43431
43431
|
}
|
|
43432
|
-
var
|
|
43433
|
-
|
|
43432
|
+
var ye = N.lastBaseUpdate;
|
|
43433
|
+
ye === null ? N.firstBaseUpdate = d : ye.next = d, N.lastBaseUpdate = d;
|
|
43434
43434
|
}
|
|
43435
43435
|
function Iv(s, d, N, D, M, Y) {
|
|
43436
43436
|
switch (N.tag) {
|
|
@@ -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 & ~kr |
|
|
43458
|
+
s.flags = s.flags & ~kr | Ie;
|
|
43459
43459
|
case Qp: {
|
|
43460
43460
|
var le = N.payload, me;
|
|
43461
43461
|
if (typeof le == "function") {
|
|
@@ -43488,14 +43488,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43488
43488
|
M.shared.pending = null;
|
|
43489
43489
|
var le = ae, me = le.next;
|
|
43490
43490
|
le.next = null, re === null ? Y = me : re.next = me, re = le;
|
|
43491
|
-
var
|
|
43492
|
-
if (
|
|
43493
|
-
var Ee =
|
|
43491
|
+
var ye = s.alternate;
|
|
43492
|
+
if (ye !== null) {
|
|
43493
|
+
var Ee = ye.updateQueue, Pe = Ee.lastBaseUpdate;
|
|
43494
43494
|
Pe !== re && (Pe === null ? Ee.firstBaseUpdate = me : Pe.next = me, Ee.lastBaseUpdate = le);
|
|
43495
43495
|
}
|
|
43496
43496
|
}
|
|
43497
43497
|
if (Y !== null) {
|
|
43498
|
-
var Fe = M.baseState, Ge = Ue,
|
|
43498
|
+
var Fe = M.baseState, Ge = Ue, Me = null, vt = null, Pt = null, Et = Y;
|
|
43499
43499
|
do {
|
|
43500
43500
|
var dr = Et.lane, Zt = Et.eventTime;
|
|
43501
43501
|
if (Ps(D, dr)) {
|
|
@@ -43531,16 +43531,16 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43531
43531
|
callback: Et.callback,
|
|
43532
43532
|
next: null
|
|
43533
43533
|
};
|
|
43534
|
-
Pt === null ? (vt = Pt = Te,
|
|
43534
|
+
Pt === null ? (vt = Pt = Te, Me = Fe) : Pt = Pt.next = Te, Ge = Ct(Ge, dr);
|
|
43535
43535
|
}
|
|
43536
43536
|
if (Et = Et.next, Et === null) {
|
|
43537
43537
|
if (ae = M.shared.pending, ae === null)
|
|
43538
43538
|
break;
|
|
43539
|
-
var ft = ae,
|
|
43540
|
-
ft.next = null, Et =
|
|
43539
|
+
var ft = ae, it = ft.next;
|
|
43540
|
+
ft.next = null, Et = it, M.lastBaseUpdate = ft, M.shared.pending = null;
|
|
43541
43541
|
}
|
|
43542
43542
|
} while (!0);
|
|
43543
|
-
Pt === null && (
|
|
43543
|
+
Pt === null && (Me = Fe), M.baseState = Me, M.firstBaseUpdate = vt, M.lastBaseUpdate = Pt;
|
|
43544
43544
|
var Jt = M.shared.interleaved;
|
|
43545
43545
|
if (Jt !== null) {
|
|
43546
43546
|
var Nt = Jt;
|
|
@@ -43686,25 +43686,25 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43686
43686
|
var me = d.contextTypes;
|
|
43687
43687
|
D = me != null, Y = D ? Yi(s, M) : On;
|
|
43688
43688
|
}
|
|
43689
|
-
var
|
|
43689
|
+
var ye = new d(N, Y);
|
|
43690
43690
|
if (s.mode & ar) {
|
|
43691
43691
|
Dr(!0);
|
|
43692
43692
|
try {
|
|
43693
|
-
|
|
43693
|
+
ye = new d(N, Y);
|
|
43694
43694
|
} finally {
|
|
43695
43695
|
Dr(!1);
|
|
43696
43696
|
}
|
|
43697
43697
|
}
|
|
43698
|
-
var Ee = s.memoizedState =
|
|
43699
|
-
sm(s,
|
|
43698
|
+
var Ee = s.memoizedState = ye.state !== null && ye.state !== void 0 ? ye.state : null;
|
|
43699
|
+
sm(s, ye);
|
|
43700
43700
|
{
|
|
43701
43701
|
if (typeof d.getDerivedStateFromProps == "function" && Ee === null) {
|
|
43702
43702
|
var Pe = Ce(d) || "Component";
|
|
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,
|
|
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, ye.state === null ? "null" : "undefined", Pe));
|
|
43704
43704
|
}
|
|
43705
|
-
if (typeof d.getDerivedStateFromProps == "function" || typeof
|
|
43706
|
-
var Fe = null, Ge = null,
|
|
43707
|
-
if (typeof
|
|
43705
|
+
if (typeof d.getDerivedStateFromProps == "function" || typeof ye.getSnapshotBeforeUpdate == "function") {
|
|
43706
|
+
var Fe = null, Ge = null, Me = null;
|
|
43707
|
+
if (typeof ye.componentWillMount == "function" && ye.componentWillMount.__suppressDeprecationWarning !== !0 ? Fe = "componentWillMount" : typeof ye.UNSAFE_componentWillMount == "function" && (Fe = "UNSAFE_componentWillMount"), typeof ye.componentWillReceiveProps == "function" && ye.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? Ge = "componentWillReceiveProps" : typeof ye.UNSAFE_componentWillReceiveProps == "function" && (Ge = "UNSAFE_componentWillReceiveProps"), typeof ye.componentWillUpdate == "function" && ye.componentWillUpdate.__suppressDeprecationWarning !== !0 ? Me = "componentWillUpdate" : typeof ye.UNSAFE_componentWillUpdate == "function" && (Me = "UNSAFE_componentWillUpdate"), Fe !== null || Ge !== null || Me !== null) {
|
|
43708
43708
|
var vt = Ce(d) || "Component", Pt = typeof d.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
43709
43709
|
Qf.has(vt) || (Qf.add(vt), c(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
43710
43710
|
|
|
@@ -43713,12 +43713,12 @@ 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`, vt, Pt, Fe !== null ? `
|
|
43715
43715
|
` + Fe : "", Ge !== null ? `
|
|
43716
|
-
` + Ge : "",
|
|
43717
|
-
` +
|
|
43716
|
+
` + Ge : "", Me !== null ? `
|
|
43717
|
+
` + Me : ""));
|
|
43718
43718
|
}
|
|
43719
43719
|
}
|
|
43720
43720
|
}
|
|
43721
|
-
return D && Yo(s, M, Y),
|
|
43721
|
+
return D && Yo(s, M, Y), ye;
|
|
43722
43722
|
}
|
|
43723
43723
|
function Bv(s, d) {
|
|
43724
43724
|
var N = d.state;
|
|
@@ -43755,7 +43755,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, vt, Pt, Fe !== null ? `
|
|
|
43755
43755
|
M.state = s.memoizedState;
|
|
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
|
-
var me =
|
|
43758
|
+
var me = dt;
|
|
43759
43759
|
me |= St, (s.mode & kn) !== Tt && (me |= Ht), s.flags |= me;
|
|
43760
43760
|
}
|
|
43761
43761
|
}
|
|
@@ -43769,56 +43769,56 @@ https://reactjs.org/link/unsafe-component-lifecycles`, vt, Pt, Fe !== null ? `
|
|
|
43769
43769
|
var me = ma(s, d, !0);
|
|
43770
43770
|
le = Yi(s, me);
|
|
43771
43771
|
}
|
|
43772
|
-
var
|
|
43772
|
+
var ye = d.getDerivedStateFromProps, Ee = typeof ye == "function" || typeof M.getSnapshotBeforeUpdate == "function";
|
|
43773
43773
|
!Ee && (typeof M.UNSAFE_componentWillReceiveProps == "function" || typeof M.componentWillReceiveProps == "function") && (Y !== N || re !== le) && lm(s, M, N, le), em();
|
|
43774
43774
|
var Pe = s.memoizedState, Fe = M.state = Pe;
|
|
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
|
-
var Ge =
|
|
43777
|
+
var Ge = dt;
|
|
43778
43778
|
Ge |= St, (s.mode & kn) !== Tt && (Ge |= Ht), s.flags |= Ge;
|
|
43779
43779
|
}
|
|
43780
43780
|
return !1;
|
|
43781
43781
|
}
|
|
43782
|
-
typeof
|
|
43783
|
-
var
|
|
43784
|
-
if (
|
|
43782
|
+
typeof ye == "function" && (rh(s, d, ye, N), Fe = s.memoizedState);
|
|
43783
|
+
var Me = pd() || am(s, d, Y, N, Pe, Fe, le);
|
|
43784
|
+
if (Me) {
|
|
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
|
-
var vt =
|
|
43786
|
+
var vt = dt;
|
|
43787
43787
|
vt |= St, (s.mode & kn) !== Tt && (vt |= Ht), s.flags |= vt;
|
|
43788
43788
|
}
|
|
43789
43789
|
} else {
|
|
43790
43790
|
if (typeof M.componentDidMount == "function") {
|
|
43791
|
-
var Pt =
|
|
43791
|
+
var Pt = dt;
|
|
43792
43792
|
Pt |= St, (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, Me;
|
|
43797
43797
|
}
|
|
43798
43798
|
function $v(s, d, N, D, M) {
|
|
43799
43799
|
var Y = d.stateNode;
|
|
43800
43800
|
Zp(s, d);
|
|
43801
43801
|
var re = d.memoizedProps, ae = d.type === d.elementType ? re : ea(d.type, re);
|
|
43802
43802
|
Y.props = ae;
|
|
43803
|
-
var le = d.pendingProps, me = Y.context,
|
|
43804
|
-
if (typeof
|
|
43805
|
-
Ee = Jr(
|
|
43803
|
+
var le = d.pendingProps, me = Y.context, ye = N.contextType, Ee = On;
|
|
43804
|
+
if (typeof ye == "object" && ye !== null)
|
|
43805
|
+
Ee = Jr(ye);
|
|
43806
43806
|
else {
|
|
43807
43807
|
var Pe = ma(d, N, !0);
|
|
43808
43808
|
Ee = Yi(d, Pe);
|
|
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), vt = d.memoizedState, re === le &&
|
|
43814
|
-
return typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps ||
|
|
43812
|
+
var Me = d.memoizedState, vt = Y.state = Me;
|
|
43813
|
+
if (hd(d, D, Y, M), vt = d.memoizedState, re === le && Me === vt && !Es() && !pd() && !p)
|
|
43814
|
+
return typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Me !== s.memoizedState) && (d.flags |= dt), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Me !== s.memoizedState) && (d.flags |= st), !1;
|
|
43815
43815
|
typeof Fe == "function" && (rh(d, N, Fe, D), vt = d.memoizedState);
|
|
43816
|
-
var Pt = pd() || am(d, N, ae, D,
|
|
43816
|
+
var Pt = pd() || am(d, N, ae, D, Me, vt, 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, vt, Ee), typeof Y.UNSAFE_componentWillUpdate == "function" && Y.UNSAFE_componentWillUpdate(D, vt, Ee)), typeof Y.componentDidUpdate == "function" && (d.flags |=
|
|
43821
|
+
return Pt ? (!Ge && (typeof Y.UNSAFE_componentWillUpdate == "function" || typeof Y.componentWillUpdate == "function") && (typeof Y.componentWillUpdate == "function" && Y.componentWillUpdate(D, vt, Ee), typeof Y.UNSAFE_componentWillUpdate == "function" && Y.UNSAFE_componentWillUpdate(D, vt, Ee)), typeof Y.componentDidUpdate == "function" && (d.flags |= dt), typeof Y.getSnapshotBeforeUpdate == "function" && (d.flags |= st)) : (typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Me !== s.memoizedState) && (d.flags |= dt), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Me !== s.memoizedState) && (d.flags |= st), d.memoizedProps = D, d.memoizedState = vt), Y.props = D, Y.state = vt, Y.context = Ee, Pt;
|
|
43822
43822
|
}
|
|
43823
43823
|
var ah, sh, oh, lh, uh, um = function(s, d) {
|
|
43824
43824
|
};
|
|
@@ -43856,11 +43856,11 @@ https://reactjs.org/link/unsafe-component-lifecycles`, vt, Pt, Fe !== null ? `
|
|
|
43856
43856
|
var me = "" + D;
|
|
43857
43857
|
if (d !== null && d.ref !== null && typeof d.ref == "function" && d.ref._stringRef === me)
|
|
43858
43858
|
return d.ref;
|
|
43859
|
-
var
|
|
43859
|
+
var ye = function(Ee) {
|
|
43860
43860
|
var Pe = le.refs;
|
|
43861
43861
|
Pe === rm && (Pe = le.refs = {}), Ee === null ? delete Pe[me] : Pe[me] = Ee;
|
|
43862
43862
|
};
|
|
43863
|
-
return
|
|
43863
|
+
return ye._stringRef = me, ye;
|
|
43864
43864
|
} else {
|
|
43865
43865
|
if (typeof D != "string")
|
|
43866
43866
|
throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
|
|
@@ -43931,22 +43931,22 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43931
43931
|
var ft = Up(be, Te.mode, Xe);
|
|
43932
43932
|
return ft.return = Te, ft;
|
|
43933
43933
|
} else {
|
|
43934
|
-
var
|
|
43935
|
-
return
|
|
43934
|
+
var it = M(ke, be);
|
|
43935
|
+
return it.return = Te, it;
|
|
43936
43936
|
}
|
|
43937
43937
|
}
|
|
43938
43938
|
function le(Te, ke, be, Xe) {
|
|
43939
43939
|
var ft = be.type;
|
|
43940
43940
|
if (ft === xe)
|
|
43941
|
-
return
|
|
43941
|
+
return ye(Te, ke, be.props.children, Xe, be.key);
|
|
43942
43942
|
if (ke !== null && (ke.elementType === ft || // Keep this check inline so it only runs on the false path:
|
|
43943
43943
|
tv(ke, be) || // Lazy types should reconcile their resolved type.
|
|
43944
43944
|
// We need to do this after the Hot Reloading check above,
|
|
43945
43945
|
// because hot reloading has different semantics than prod because
|
|
43946
43946
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
43947
43947
|
typeof ft == "object" && ft !== null && ft.$$typeof === ht && cm(ft) === ke.type)) {
|
|
43948
|
-
var
|
|
43949
|
-
return
|
|
43948
|
+
var it = M(ke, be.props);
|
|
43949
|
+
return it.ref = Uu(Te, ke, be), it.return = Te, it._debugSource = be._source, it._debugOwner = be._owner, it;
|
|
43950
43950
|
}
|
|
43951
43951
|
var Jt = Ip(be, Te.mode, Xe);
|
|
43952
43952
|
return Jt.ref = Uu(Te, ke, be), Jt.return = Te, Jt;
|
|
@@ -43956,14 +43956,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43956
43956
|
var ft = Gp(be, Te.mode, Xe);
|
|
43957
43957
|
return ft.return = Te, ft;
|
|
43958
43958
|
} else {
|
|
43959
|
-
var
|
|
43960
|
-
return
|
|
43959
|
+
var it = M(ke, be.children || []);
|
|
43960
|
+
return it.return = Te, it;
|
|
43961
43961
|
}
|
|
43962
43962
|
}
|
|
43963
|
-
function
|
|
43963
|
+
function ye(Te, ke, be, Xe, ft) {
|
|
43964
43964
|
if (ke === null || ke.tag !== H) {
|
|
43965
|
-
var
|
|
43966
|
-
return
|
|
43965
|
+
var it = Ys(be, Te.mode, Xe, ft);
|
|
43966
|
+
return it.return = Te, it;
|
|
43967
43967
|
} else {
|
|
43968
43968
|
var Jt = M(ke, be);
|
|
43969
43969
|
return Jt.return = Te, Jt;
|
|
@@ -43981,8 +43981,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43981
43981
|
return ft.ref = Uu(Te, null, ke), ft.return = Te, ft;
|
|
43982
43982
|
}
|
|
43983
43983
|
case ce: {
|
|
43984
|
-
var
|
|
43985
|
-
return
|
|
43984
|
+
var it = Gp(ke, Te.mode, be);
|
|
43985
|
+
return it.return = Te, it;
|
|
43986
43986
|
}
|
|
43987
43987
|
case ht: {
|
|
43988
43988
|
var Jt = ke._payload, Nt = ke._init;
|
|
@@ -44008,20 +44008,20 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44008
44008
|
case ce:
|
|
44009
44009
|
return be.key === ft ? me(Te, ke, be, Xe) : null;
|
|
44010
44010
|
case ht: {
|
|
44011
|
-
var
|
|
44012
|
-
return Pe(Te, ke, Jt(
|
|
44011
|
+
var it = be._payload, Jt = be._init;
|
|
44012
|
+
return Pe(Te, ke, Jt(it), Xe);
|
|
44013
44013
|
}
|
|
44014
44014
|
}
|
|
44015
44015
|
if (Vt(be) || he(be))
|
|
44016
|
-
return ft !== null ? null :
|
|
44016
|
+
return ft !== null ? null : ye(Te, ke, be, Xe, null);
|
|
44017
44017
|
gd(Te, be);
|
|
44018
44018
|
}
|
|
44019
44019
|
return typeof be == "function" && vd(Te), null;
|
|
44020
44020
|
}
|
|
44021
44021
|
function Fe(Te, ke, be, Xe, ft) {
|
|
44022
44022
|
if (typeof Xe == "string" && Xe !== "" || typeof Xe == "number") {
|
|
44023
|
-
var
|
|
44024
|
-
return ae(ke,
|
|
44023
|
+
var it = Te.get(be) || null;
|
|
44024
|
+
return ae(ke, it, "" + Xe, ft);
|
|
44025
44025
|
}
|
|
44026
44026
|
if (typeof Xe == "object" && Xe !== null) {
|
|
44027
44027
|
switch (Xe.$$typeof) {
|
|
@@ -44039,7 +44039,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44039
44039
|
}
|
|
44040
44040
|
if (Vt(Xe) || he(Xe)) {
|
|
44041
44041
|
var Er = Te.get(be) || null;
|
|
44042
|
-
return
|
|
44042
|
+
return ye(ke, Er, Xe, ft, null);
|
|
44043
44043
|
}
|
|
44044
44044
|
gd(ke, Xe);
|
|
44045
44045
|
}
|
|
@@ -44067,16 +44067,16 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44067
44067
|
c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", Xe);
|
|
44068
44068
|
break;
|
|
44069
44069
|
case ht:
|
|
44070
|
-
var ft = Te._payload,
|
|
44071
|
-
Ge(
|
|
44070
|
+
var ft = Te._payload, it = Te._init;
|
|
44071
|
+
Ge(it(ft), ke, be);
|
|
44072
44072
|
break;
|
|
44073
44073
|
}
|
|
44074
44074
|
}
|
|
44075
44075
|
return ke;
|
|
44076
44076
|
}
|
|
44077
|
-
function
|
|
44078
|
-
for (var ft = null,
|
|
44079
|
-
var Jt = be[
|
|
44077
|
+
function Me(Te, ke, be, Xe) {
|
|
44078
|
+
for (var ft = null, it = 0; it < be.length; it++) {
|
|
44079
|
+
var Jt = be[it];
|
|
44080
44080
|
ft = Ge(Jt, ft, Te);
|
|
44081
44081
|
}
|
|
44082
44082
|
for (var Nt = null, nr = null, Yt = ke, Er = 0, Rt = 0, Ir = null; Yt !== null && Rt < be.length; Rt++) {
|
|
@@ -44125,9 +44125,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44125
44125
|
{
|
|
44126
44126
|
typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
|
|
44127
44127
|
be[Symbol.toStringTag] === "Generator" && (sh || c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), sh = !0), be.entries === ft && (ah || c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), ah = !0);
|
|
44128
|
-
var
|
|
44129
|
-
if (
|
|
44130
|
-
for (var Jt = null, Nt =
|
|
44128
|
+
var it = ft.call(be);
|
|
44129
|
+
if (it)
|
|
44130
|
+
for (var Jt = null, Nt = it.next(); !Nt.done; Nt = it.next()) {
|
|
44131
44131
|
var nr = Nt.value;
|
|
44132
44132
|
Jt = Ge(nr, Jt, Te);
|
|
44133
44133
|
}
|
|
@@ -44181,34 +44181,34 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44181
44181
|
return ft.return = Te, ft;
|
|
44182
44182
|
}
|
|
44183
44183
|
N(Te, ke);
|
|
44184
|
-
var
|
|
44185
|
-
return
|
|
44184
|
+
var it = Up(be, Te.mode, Xe);
|
|
44185
|
+
return it.return = Te, it;
|
|
44186
44186
|
}
|
|
44187
44187
|
function Et(Te, ke, be, Xe) {
|
|
44188
|
-
for (var ft = be.key,
|
|
44189
|
-
if (
|
|
44188
|
+
for (var ft = be.key, it = ke; it !== null; ) {
|
|
44189
|
+
if (it.key === ft) {
|
|
44190
44190
|
var Jt = be.type;
|
|
44191
44191
|
if (Jt === xe) {
|
|
44192
|
-
if (
|
|
44193
|
-
N(Te,
|
|
44194
|
-
var Nt = M(
|
|
44192
|
+
if (it.tag === H) {
|
|
44193
|
+
N(Te, it.sibling);
|
|
44194
|
+
var Nt = M(it, be.props.children);
|
|
44195
44195
|
return Nt.return = Te, Nt._debugSource = be._source, Nt._debugOwner = be._owner, Nt;
|
|
44196
44196
|
}
|
|
44197
|
-
} else if (
|
|
44198
|
-
tv(
|
|
44197
|
+
} else if (it.elementType === Jt || // Keep this check inline so it only runs on the false path:
|
|
44198
|
+
tv(it, be) || // Lazy types should reconcile their resolved type.
|
|
44199
44199
|
// We need to do this after the Hot Reloading check above,
|
|
44200
44200
|
// because hot reloading has different semantics than prod because
|
|
44201
44201
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
44202
|
-
typeof Jt == "object" && Jt !== null && Jt.$$typeof === ht && cm(Jt) ===
|
|
44203
|
-
N(Te,
|
|
44204
|
-
var nr = M(
|
|
44205
|
-
return nr.ref = Uu(Te,
|
|
44202
|
+
typeof Jt == "object" && Jt !== null && Jt.$$typeof === ht && cm(Jt) === it.type) {
|
|
44203
|
+
N(Te, it.sibling);
|
|
44204
|
+
var nr = M(it, be.props);
|
|
44205
|
+
return nr.ref = Uu(Te, it, be), nr.return = Te, nr._debugSource = be._source, nr._debugOwner = be._owner, nr;
|
|
44206
44206
|
}
|
|
44207
|
-
N(Te,
|
|
44207
|
+
N(Te, it);
|
|
44208
44208
|
break;
|
|
44209
44209
|
} else
|
|
44210
|
-
d(Te,
|
|
44211
|
-
|
|
44210
|
+
d(Te, it);
|
|
44211
|
+
it = it.sibling;
|
|
44212
44212
|
}
|
|
44213
44213
|
if (be.type === xe) {
|
|
44214
44214
|
var Yt = Ys(be.props.children, Te.mode, Xe, be.key);
|
|
@@ -44219,19 +44219,19 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44219
44219
|
}
|
|
44220
44220
|
}
|
|
44221
44221
|
function dr(Te, ke, be, Xe) {
|
|
44222
|
-
for (var ft = be.key,
|
|
44223
|
-
if (
|
|
44224
|
-
if (
|
|
44225
|
-
N(Te,
|
|
44226
|
-
var Jt = M(
|
|
44222
|
+
for (var ft = be.key, it = ke; it !== null; ) {
|
|
44223
|
+
if (it.key === ft)
|
|
44224
|
+
if (it.tag === L && it.stateNode.containerInfo === be.containerInfo && it.stateNode.implementation === be.implementation) {
|
|
44225
|
+
N(Te, it.sibling);
|
|
44226
|
+
var Jt = M(it, be.children || []);
|
|
44227
44227
|
return Jt.return = Te, Jt;
|
|
44228
44228
|
} else {
|
|
44229
|
-
N(Te,
|
|
44229
|
+
N(Te, it);
|
|
44230
44230
|
break;
|
|
44231
44231
|
}
|
|
44232
44232
|
else
|
|
44233
|
-
d(Te,
|
|
44234
|
-
|
|
44233
|
+
d(Te, it);
|
|
44234
|
+
it = it.sibling;
|
|
44235
44235
|
}
|
|
44236
44236
|
var Nt = Gp(be, Te.mode, Xe);
|
|
44237
44237
|
return Nt.return = Te, Nt;
|
|
@@ -44245,11 +44245,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44245
44245
|
case ce:
|
|
44246
44246
|
return re(dr(Te, ke, be, Xe));
|
|
44247
44247
|
case ht:
|
|
44248
|
-
var
|
|
44249
|
-
return Zt(Te, ke, Jt(
|
|
44248
|
+
var it = be._payload, Jt = be._init;
|
|
44249
|
+
return Zt(Te, ke, Jt(it), Xe);
|
|
44250
44250
|
}
|
|
44251
44251
|
if (Vt(be))
|
|
44252
|
-
return
|
|
44252
|
+
return Me(Te, ke, be, Xe);
|
|
44253
44253
|
if (he(be))
|
|
44254
44254
|
return vt(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 & Ie) !== $e;
|
|
44341
44341
|
if (M)
|
|
44342
44342
|
return d;
|
|
44343
44343
|
} else if (d.child !== null) {
|
|
@@ -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) !== Tt ? d.flags &= ~(Gt | Ht | It |
|
|
44470
|
+
d.updateQueue = s.updateQueue, (d.mode & kn) !== Tt ? d.flags &= ~(Gt | Ht | It | dt) : d.flags &= ~(It | dt), 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
|
|
44555
|
+
var ye = re.next, Ee = Y.baseState, Pe = null, Fe = null, Ge = null, Me = ye;
|
|
44556
44556
|
do {
|
|
44557
|
-
var vt =
|
|
44557
|
+
var vt = Me.lane;
|
|
44558
44558
|
if (Ps(So, vt)) {
|
|
44559
44559
|
if (Ge !== null) {
|
|
44560
44560
|
var Et = {
|
|
@@ -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: Br,
|
|
44565
|
-
action:
|
|
44566
|
-
hasEagerState:
|
|
44567
|
-
eagerState:
|
|
44565
|
+
action: Me.action,
|
|
44566
|
+
hasEagerState: Me.hasEagerState,
|
|
44567
|
+
eagerState: Me.eagerState,
|
|
44568
44568
|
next: null
|
|
44569
44569
|
};
|
|
44570
44570
|
Ge = Ge.next = Et;
|
|
44571
44571
|
}
|
|
44572
|
-
if (
|
|
44573
|
-
Ee =
|
|
44572
|
+
if (Me.hasEagerState)
|
|
44573
|
+
Ee = Me.eagerState;
|
|
44574
44574
|
else {
|
|
44575
|
-
var dr =
|
|
44575
|
+
var dr = Me.action;
|
|
44576
44576
|
Ee = s(Ee, dr);
|
|
44577
44577
|
}
|
|
44578
44578
|
} else {
|
|
44579
44579
|
var Pt = {
|
|
44580
44580
|
lane: vt,
|
|
44581
|
-
action:
|
|
44582
|
-
hasEagerState:
|
|
44583
|
-
eagerState:
|
|
44581
|
+
action: Me.action,
|
|
44582
|
+
hasEagerState: Me.hasEagerState,
|
|
44583
|
+
eagerState: Me.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, vt), hc(vt);
|
|
44587
44587
|
}
|
|
44588
|
-
|
|
44589
|
-
} while (
|
|
44588
|
+
Me = Me.next;
|
|
44589
|
+
} while (Me !== null && Me !== ye);
|
|
44590
44590
|
Ge === null ? Pe = Ee : Ge.next = Fe, Mr(Ee, D.memoizedState) || Zu(), D.memoizedState = Ee, D.baseState = Pe, D.baseQueue = Ge, M.lastRenderedState = Ee;
|
|
44591
44591
|
}
|
|
44592
44592
|
var Zt = M.interleaved;
|
|
@@ -44611,8 +44611,8 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44611
44611
|
M.pending = null;
|
|
44612
44612
|
var le = re.next, me = le;
|
|
44613
44613
|
do {
|
|
44614
|
-
var
|
|
44615
|
-
ae = s(ae,
|
|
44614
|
+
var ye = me.action;
|
|
44615
|
+
ae = s(ae, ye), me = me.next;
|
|
44616
44616
|
} while (me !== le);
|
|
44617
44617
|
Mr(ae, D.memoizedState) || Zu(), D.memoizedState = ae, D.baseQueue === null && (D.baseState = ae), M.lastRenderedState = ae;
|
|
44618
44618
|
}
|
|
@@ -44658,10 +44658,10 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44658
44658
|
// checking whether we scheduled a subscription effect above.
|
|
44659
44659
|
fn !== null && fn.memoizedState.tag & un) {
|
|
44660
44660
|
D.flags |= It, Yu(un | Tn, xm.bind(null, D, me, Y, d), void 0, null);
|
|
44661
|
-
var
|
|
44662
|
-
if (
|
|
44661
|
+
var ye = uf();
|
|
44662
|
+
if (ye === null)
|
|
44663
44663
|
throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
|
|
44664
|
-
Cs(
|
|
44664
|
+
Cs(ye, So) || _m(D, d, Y);
|
|
44665
44665
|
}
|
|
44666
44666
|
return Y;
|
|
44667
44667
|
}
|
|
@@ -44781,17 +44781,17 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44781
44781
|
return Rd(It, Tn, s, d);
|
|
44782
44782
|
}
|
|
44783
44783
|
function Ph(s, d) {
|
|
44784
|
-
return Ku(
|
|
44784
|
+
return Ku(dt, Ra, s, d);
|
|
44785
44785
|
}
|
|
44786
44786
|
function Ad(s, d) {
|
|
44787
|
-
return Rd(
|
|
44787
|
+
return Rd(dt, Ra, s, d);
|
|
44788
44788
|
}
|
|
44789
44789
|
function wh(s, d) {
|
|
44790
|
-
var N =
|
|
44790
|
+
var N = dt;
|
|
44791
44791
|
return N |= St, (cr.mode & kn) !== Tt && (N |= Ht), Ku(N, cn, s, d);
|
|
44792
44792
|
}
|
|
44793
44793
|
function Pd(s, d) {
|
|
44794
|
-
return Rd(
|
|
44794
|
+
return Rd(dt, cn, s, d);
|
|
44795
44795
|
}
|
|
44796
44796
|
function Tm(s, d) {
|
|
44797
44797
|
if (typeof d == "function") {
|
|
@@ -44810,13 +44810,13 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44810
44810
|
}
|
|
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
|
-
var D = N != null ? N.concat([s]) : null, M =
|
|
44813
|
+
var D = N != null ? N.concat([s]) : null, M = dt;
|
|
44814
44814
|
return M |= St, (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");
|
|
44818
44818
|
var D = N != null ? N.concat([s]) : null;
|
|
44819
|
-
return Rd(
|
|
44819
|
+
return Rd(dt, cn, Tm.bind(null, d, s), D);
|
|
44820
44820
|
}
|
|
44821
44821
|
function Zv(s, d) {
|
|
44822
44822
|
}
|
|
@@ -44973,10 +44973,10 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44973
44973
|
}
|
|
44974
44974
|
}
|
|
44975
44975
|
}
|
|
44976
|
-
var
|
|
44977
|
-
if (
|
|
44976
|
+
var ye = qp(s, d, M, D);
|
|
44977
|
+
if (ye !== null) {
|
|
44978
44978
|
var Ee = Un();
|
|
44979
|
-
en(
|
|
44979
|
+
en(ye, s, D, Ee), Lm(ye, d, D);
|
|
44980
44980
|
}
|
|
44981
44981
|
}
|
|
44982
44982
|
Dm(s, D);
|
|
@@ -45661,8 +45661,8 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45661
45661
|
me = `Consider adding an error boundary to your tree to customize error handling behavior.
|
|
45662
45662
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
|
|
45663
45663
|
else {
|
|
45664
|
-
var
|
|
45665
|
-
me = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " +
|
|
45664
|
+
var ye = je(s) || "Anonymous";
|
|
45665
|
+
me = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + ye + ".");
|
|
45666
45666
|
}
|
|
45667
45667
|
var Ee = le + `
|
|
45668
45668
|
` + re + `
|
|
@@ -45744,7 +45744,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45744
45744
|
if (s === d)
|
|
45745
45745
|
s.flags |= kr;
|
|
45746
45746
|
else {
|
|
45747
|
-
if (s.flags |=
|
|
45747
|
+
if (s.flags |= Ie, 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;
|
|
@@ -45765,7 +45765,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45765
45765
|
c0(N), j() && N.mode & Wt && ju();
|
|
45766
45766
|
var re = Wm(d);
|
|
45767
45767
|
if (re !== null) {
|
|
45768
|
-
re.flags &= ~
|
|
45768
|
+
re.flags &= ~nt, Ym(re, d, N, s, M), re.mode & Wt && Vm(s, Y, M), u0(re, s, Y);
|
|
45769
45769
|
return;
|
|
45770
45770
|
} else {
|
|
45771
45771
|
if (!Mc(M)) {
|
|
@@ -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 & kr) === $e && (le.flags |=
|
|
45782
|
+
(le.flags & kr) === $e && (le.flags |= nt), Ym(le, d, N, s, M), $(Eo(D, N));
|
|
45783
45783
|
return;
|
|
45784
45784
|
}
|
|
45785
45785
|
}
|
|
@@ -45788,17 +45788,17 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45788
45788
|
do {
|
|
45789
45789
|
switch (me.tag) {
|
|
45790
45790
|
case k: {
|
|
45791
|
-
var
|
|
45791
|
+
var ye = D;
|
|
45792
45792
|
me.flags |= kr;
|
|
45793
45793
|
var Ee = Ya(M);
|
|
45794
45794
|
me.lanes = Ct(me.lanes, Ee);
|
|
45795
|
-
var Pe = Hm(me,
|
|
45795
|
+
var Pe = Hm(me, ye, Ee);
|
|
45796
45796
|
Wf(me, Pe);
|
|
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, Me = me.stateNode;
|
|
45801
|
+
if ((me.flags & Ie) === $e && (typeof Ge.getDerivedStateFromError == "function" || Me !== null && typeof Me.componentDidCatch == "function" && !Yg(Me))) {
|
|
45802
45802
|
me.flags |= kr;
|
|
45803
45803
|
var vt = Ya(M);
|
|
45804
45804
|
me.lanes = Ct(me.lanes, vt);
|
|
@@ -45870,9 +45870,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45870
45870
|
return le.ref = d.ref, le.return = d, d.child = le, le;
|
|
45871
45871
|
}
|
|
45872
45872
|
{
|
|
45873
|
-
var me = N.type,
|
|
45874
|
-
|
|
45875
|
-
|
|
45873
|
+
var me = N.type, ye = me.propTypes;
|
|
45874
|
+
ye && ni(
|
|
45875
|
+
ye,
|
|
45876
45876
|
D,
|
|
45877
45877
|
// Resolved props
|
|
45878
45878
|
"prop",
|
|
@@ -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 Me = Po(Ee, D);
|
|
45890
|
+
return Me.ref = d.ref, Me.return = d, d.child = Me, Me;
|
|
45891
45891
|
}
|
|
45892
45892
|
function qm(s, d, N, D, M) {
|
|
45893
45893
|
if (d.type !== d.elementType) {
|
|
@@ -45910,10 +45910,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45910
45910
|
}
|
|
45911
45911
|
}
|
|
45912
45912
|
if (s !== null) {
|
|
45913
|
-
var
|
|
45914
|
-
if (_e(
|
|
45913
|
+
var ye = s.memoizedProps;
|
|
45914
|
+
if (_e(ye, D) && s.ref === d.ref && // Prevent bailout if the implementation changed due to hot reload.
|
|
45915
45915
|
d.type === s.type)
|
|
45916
|
-
if (na = !1, d.pendingProps = D =
|
|
45916
|
+
if (na = !1, d.pendingProps = D = ye, ip(s, M))
|
|
45917
45917
|
(s.flags & ge) !== $e && (na = !0);
|
|
45918
45918
|
else
|
|
45919
45919
|
return d.lanes = s.lanes, ss(s, d, M);
|
|
@@ -45947,12 +45947,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45947
45947
|
} else
|
|
45948
45948
|
le = N;
|
|
45949
45949
|
d.lanes = d.childLanes = Ln;
|
|
45950
|
-
var
|
|
45950
|
+
var ye = {
|
|
45951
45951
|
baseLanes: le,
|
|
45952
45952
|
cachePool: ae,
|
|
45953
45953
|
transitions: null
|
|
45954
45954
|
};
|
|
45955
|
-
return d.memoizedState =
|
|
45955
|
+
return d.memoizedState = ye, d.updateQueue = null, df(d, le), null;
|
|
45956
45956
|
}
|
|
45957
45957
|
else {
|
|
45958
45958
|
var Fe;
|
|
@@ -45970,7 +45970,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45970
45970
|
}
|
|
45971
45971
|
function g0(s, d, N) {
|
|
45972
45972
|
{
|
|
45973
|
-
d.flags |=
|
|
45973
|
+
d.flags |= dt;
|
|
45974
45974
|
{
|
|
45975
45975
|
var D = d.stateNode;
|
|
45976
45976
|
D.effectDuration = 0, D.passiveEffectDuration = 0;
|
|
@@ -46023,10 +46023,10 @@ 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 |=
|
|
46027
|
-
var me = new Error("Simulated error coming from DevTools"),
|
|
46028
|
-
d.lanes = Ct(d.lanes,
|
|
46029
|
-
var Ee = Hh(d, Eo(me, d),
|
|
46026
|
+
d.flags |= Ie, d.flags |= kr;
|
|
46027
|
+
var me = new Error("Simulated error coming from DevTools"), ye = Ya(M);
|
|
46028
|
+
d.lanes = Ct(d.lanes, ye);
|
|
46029
|
+
var Ee = Hh(d, Eo(me, d), ye);
|
|
46030
46030
|
Wf(d, Ee);
|
|
46031
46031
|
break;
|
|
46032
46032
|
}
|
|
@@ -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 vt = Qh(s, d, N,
|
|
46047
|
+
var Ge = d.stateNode, Me;
|
|
46048
|
+
Ge === null ? (zd(s, d), om(d, N, D), ih(d, N, D, M), Me = !0) : s === null ? Me = zv(d, N, D, M) : Me = $v(s, d, N, D, M);
|
|
46049
|
+
var vt = Qh(s, d, N, Me, Fe, M);
|
|
46050
46050
|
{
|
|
46051
46051
|
var Pt = d.stateNode;
|
|
46052
|
-
|
|
46052
|
+
Me && 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 vt;
|
|
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 & Ie) !== $e;
|
|
46059
46059
|
if (!D && !re)
|
|
46060
46060
|
return M && bs(d, N, !1), ss(s, d, Y);
|
|
46061
46061
|
var ae = d.stateNode;
|
|
@@ -46100,9 +46100,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46100
46100
|
pendingSuspenseBoundaries: re.pendingSuspenseBoundaries,
|
|
46101
46101
|
transitions: re.transitions
|
|
46102
46102
|
}, me = d.updateQueue;
|
|
46103
|
-
if (me.baseState = le, d.memoizedState = le, d.flags &
|
|
46104
|
-
var
|
|
46105
|
-
return tg(s, d, ae, N,
|
|
46103
|
+
if (me.baseState = le, d.memoizedState = le, d.flags & nt) {
|
|
46104
|
+
var ye = Eo(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), d);
|
|
46105
|
+
return tg(s, d, ae, N, ye);
|
|
46106
46106
|
} else if (ae !== Y) {
|
|
46107
46107
|
var Ee = Eo(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), d);
|
|
46108
46108
|
return tg(s, d, ae, N, Ee);
|
|
@@ -46121,7 +46121,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46121
46121
|
return d.child;
|
|
46122
46122
|
}
|
|
46123
46123
|
function tg(s, d, N, D, M) {
|
|
46124
|
-
return v(), $(M), d.flags |=
|
|
46124
|
+
return v(), $(M), d.flags |= nt, Qn(s, d, N, D), d.child;
|
|
46125
46125
|
}
|
|
46126
46126
|
function y0(s, d, N) {
|
|
46127
46127
|
hm(d), s === null && _o(d);
|
|
@@ -46135,20 +46135,20 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46135
46135
|
zd(s, d);
|
|
46136
46136
|
var M = d.pendingProps, Y = N, re = Y._payload, ae = Y._init, le = ae(re);
|
|
46137
46137
|
d.type = le;
|
|
46138
|
-
var me = d.tag = j_(le),
|
|
46138
|
+
var me = d.tag = j_(le), ye = ea(le, M), Ee;
|
|
46139
46139
|
switch (me) {
|
|
46140
46140
|
case P:
|
|
46141
|
-
return Jh(d, le), d.type = le = zl(le), Ee = qh(null, d, le,
|
|
46141
|
+
return Jh(d, le), d.type = le = zl(le), Ee = qh(null, d, le, ye, D), Ee;
|
|
46142
46142
|
case w:
|
|
46143
|
-
return d.type = le = Op(le), Ee = Zm(null, d, le,
|
|
46143
|
+
return d.type = le = Op(le), Ee = Zm(null, d, le, ye, D), Ee;
|
|
46144
46144
|
case z:
|
|
46145
|
-
return d.type = le = kp(le), Ee = Km(null, d, le,
|
|
46145
|
+
return d.type = le = kp(le), Ee = Km(null, d, le, ye, D), Ee;
|
|
46146
46146
|
case U: {
|
|
46147
46147
|
if (d.type !== d.elementType) {
|
|
46148
46148
|
var Pe = le.propTypes;
|
|
46149
46149
|
Pe && ni(
|
|
46150
46150
|
Pe,
|
|
46151
|
-
|
|
46151
|
+
ye,
|
|
46152
46152
|
// Resolved for outer only
|
|
46153
46153
|
"prop",
|
|
46154
46154
|
Ce(le)
|
|
@@ -46158,7 +46158,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46158
46158
|
null,
|
|
46159
46159
|
d,
|
|
46160
46160
|
le,
|
|
46161
|
-
ea(le.type,
|
|
46161
|
+
ea(le.type, ye),
|
|
46162
46162
|
// The inner type can have defaults too
|
|
46163
46163
|
D
|
|
46164
46164
|
), Ee;
|
|
@@ -46190,8 +46190,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46190
46190
|
d.mode & ar && Ne.recordLegacyContextWarning(d, null), Se(!0), Qu.current = d, ae = Ll(null, d, N, M, Y, D), le = Dl(), Se(!1);
|
|
46191
46191
|
}
|
|
46192
46192
|
if (_r(), d.flags |= jt, typeof ae == "object" && ae !== null && typeof ae.render == "function" && ae.$$typeof === void 0) {
|
|
46193
|
-
var
|
|
46194
|
-
Ju[
|
|
46193
|
+
var ye = Ce(N) || "Unknown";
|
|
46194
|
+
Ju[ye] || (c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", ye, ye, ye), Ju[ye] = !0);
|
|
46195
46195
|
}
|
|
46196
46196
|
if (
|
|
46197
46197
|
// Run these checks in production only if the flag is off.
|
|
@@ -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 |= Ie);
|
|
46274
|
+
var M = ta.current, Y = !1, re = (d.flags & Ie) !== $e;
|
|
46275
|
+
if (re || T0(M, s) ? (Y = !0, d.flags &= ~Ie) : (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) {
|
|
@@ -46280,9 +46280,9 @@ Check the render method of \`` + D + "`.");
|
|
|
46280
46280
|
if (le !== null)
|
|
46281
46281
|
return N0(d, le);
|
|
46282
46282
|
}
|
|
46283
|
-
var me = D.children,
|
|
46283
|
+
var me = D.children, ye = D.fallback;
|
|
46284
46284
|
if (Y) {
|
|
46285
|
-
var Ee = C0(d, me,
|
|
46285
|
+
var Ee = C0(d, me, ye, N), Pe = d.child;
|
|
46286
46286
|
return Pe.memoizedState = ep(N), d.memoizedState = Zh, Ee;
|
|
46287
46287
|
} else
|
|
46288
46288
|
return tp(d, me);
|
|
@@ -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 Me = D.fallback, vt = D.children, Pt = P0(s, d, vt, Me, N), Et = d.child, dr = s.child.memoizedState;
|
|
46298
46298
|
return Et.memoizedState = dr === null ? ep(N) : b0(dr, N), Et.childLanes = R0(s, N), d.memoizedState = Zh, Pt;
|
|
46299
46299
|
} else {
|
|
46300
46300
|
var Zt = D.children, Te = A0(s, d, Zt, N);
|
|
@@ -46349,8 +46349,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46349
46349
|
// only codepath.)
|
|
46350
46350
|
d.child !== re
|
|
46351
46351
|
) {
|
|
46352
|
-
var
|
|
46353
|
-
me =
|
|
46352
|
+
var ye = d.child;
|
|
46353
|
+
me = ye, me.childLanes = Ue, me.pendingProps = le, d.mode & Bt && (me.actualDuration = 0, me.actualStartTime = -1, me.selfBaseDuration = re.selfBaseDuration, me.treeBaseDuration = re.treeBaseDuration), d.deletions = null;
|
|
46354
46354
|
} else
|
|
46355
46355
|
me = ng(re, le), me.subtreeFlags = re.subtreeFlags & Tr;
|
|
46356
46356
|
var Ee;
|
|
@@ -46373,13 +46373,13 @@ Check the render method of \`` + D + "`.");
|
|
|
46373
46373
|
}
|
|
46374
46374
|
function O0(s, d, N, D, M, Y, re) {
|
|
46375
46375
|
if (N)
|
|
46376
|
-
if (d.flags &
|
|
46377
|
-
d.flags &= ~
|
|
46376
|
+
if (d.flags & nt) {
|
|
46377
|
+
d.flags &= ~nt;
|
|
46378
46378
|
var Te = zh(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));
|
|
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 |= Ie, null;
|
|
46383
46383
|
var ke = D.children, be = D.fallback, Xe = w0(s, d, ke, be, re), ft = d.child;
|
|
46384
46384
|
return ft.memoizedState = ep(re), d.memoizedState = Zh, Xe;
|
|
46385
46385
|
}
|
|
@@ -46397,8 +46397,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46397
46397
|
if ($i(M)) {
|
|
46398
46398
|
var ae, le, me;
|
|
46399
46399
|
{
|
|
46400
|
-
var
|
|
46401
|
-
ae =
|
|
46400
|
+
var ye = Ec(M);
|
|
46401
|
+
ae = ye.digest, le = ye.message, me = ye.stack;
|
|
46402
46402
|
}
|
|
46403
46403
|
var Ee;
|
|
46404
46404
|
le ? Ee = new Error(le) : Ee = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
|
|
@@ -46409,18 +46409,18 @@ Check the render method of \`` + D + "`.");
|
|
|
46409
46409
|
if (na || Fe) {
|
|
46410
46410
|
var Ge = uf();
|
|
46411
46411
|
if (Ge !== null) {
|
|
46412
|
-
var
|
|
46413
|
-
if (
|
|
46414
|
-
Y.retryLane =
|
|
46412
|
+
var Me = fl(Ge, re);
|
|
46413
|
+
if (Me !== Br && Me !== Y.retryLane) {
|
|
46414
|
+
Y.retryLane = Me;
|
|
46415
46415
|
var vt = pr;
|
|
46416
|
-
qn(s,
|
|
46416
|
+
qn(s, Me), en(Ge, s, Me, vt);
|
|
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 (Pi(M)) {
|
|
46423
|
-
d.flags |=
|
|
46423
|
+
d.flags |= Ie, d.child = s.child;
|
|
46424
46424
|
var Et = __.bind(null, s);
|
|
46425
46425
|
return nu(M, Et), null;
|
|
46426
46426
|
} else {
|
|
@@ -46534,9 +46534,9 @@ 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 |= Ie;
|
|
46538
46538
|
else {
|
|
46539
|
-
var me = s !== null && (s.flags &
|
|
46539
|
+
var me = s !== null && (s.flags & Ie) !== $e;
|
|
46540
46540
|
me && k0(d, d.child, N), ae = wl(ae);
|
|
46541
46541
|
}
|
|
46542
46542
|
if (Gs(d, ae), (d.mode & Wt) === Tt)
|
|
@@ -46544,13 +46544,13 @@ Check the render method of \`` + D + "`.");
|
|
|
46544
46544
|
else
|
|
46545
46545
|
switch (M) {
|
|
46546
46546
|
case "forwards": {
|
|
46547
|
-
var
|
|
46548
|
-
|
|
46547
|
+
var ye = L0(d.child), Ee;
|
|
46548
|
+
ye === null ? (Ee = d.child, d.child = null) : (Ee = ye.sibling, ye.sibling = null), np(
|
|
46549
46549
|
d,
|
|
46550
46550
|
!1,
|
|
46551
46551
|
// isBackwards
|
|
46552
46552
|
Ee,
|
|
46553
|
-
|
|
46553
|
+
ye,
|
|
46554
46554
|
Y
|
|
46555
46555
|
);
|
|
46556
46556
|
break;
|
|
@@ -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 Me = Fe.sibling;
|
|
46567
|
+
Fe.sibling = Pe, Pe = Fe, Fe = Me;
|
|
46568
46568
|
}
|
|
46569
46569
|
np(
|
|
46570
46570
|
d,
|
|
@@ -46616,8 +46616,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46616
46616
|
} else
|
|
46617
46617
|
kv(d, M, N);
|
|
46618
46618
|
}
|
|
46619
|
-
var
|
|
46620
|
-
return Qn(s, d,
|
|
46619
|
+
var ye = Y.children;
|
|
46620
|
+
return Qn(s, d, ye, N), d.child;
|
|
46621
46621
|
}
|
|
46622
46622
|
var lg = !1;
|
|
46623
46623
|
function U0(s, d, N) {
|
|
@@ -46687,7 +46687,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46687
46687
|
case B:
|
|
46688
46688
|
{
|
|
46689
46689
|
var re = wr(N, d.childLanes);
|
|
46690
|
-
re && (d.flags |=
|
|
46690
|
+
re && (d.flags |= dt);
|
|
46691
46691
|
{
|
|
46692
46692
|
var ae = d.stateNode;
|
|
46693
46693
|
ae.effectDuration = 0, ae.passiveEffectDuration = 0;
|
|
@@ -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 |=
|
|
46702
|
-
var me = d.child,
|
|
46703
|
-
if (wr(N,
|
|
46701
|
+
return Gs(d, wl(ta.current)), d.flags |= Ie, null;
|
|
46702
|
+
var me = d.child, ye = me.childLanes;
|
|
46703
|
+
if (wr(N, ye))
|
|
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 & Ie) !== $e, Fe = wr(N, d.childLanes);
|
|
46714
46714
|
if (Pe) {
|
|
46715
46715
|
if (Fe)
|
|
46716
46716
|
return sg(s, d, N);
|
|
46717
|
-
d.flags |=
|
|
46717
|
+
d.flags |= Ie;
|
|
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,7 +46739,7 @@ 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 & Ie) === $e)
|
|
46743
46743
|
return na = !1, B0(s, d, N);
|
|
46744
46744
|
(s.flags & ge) !== $e ? na = !0 : na = !1;
|
|
46745
46745
|
}
|
|
@@ -46755,7 +46755,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46755
46755
|
return x0(s, d, le, N);
|
|
46756
46756
|
}
|
|
46757
46757
|
case P: {
|
|
46758
|
-
var me = d.type,
|
|
46758
|
+
var me = d.type, ye = d.pendingProps, Ee = d.elementType === me ? ye : ea(me, ye);
|
|
46759
46759
|
return qh(s, d, me, Ee, N);
|
|
46760
46760
|
}
|
|
46761
46761
|
case w: {
|
|
@@ -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 Me = d.type, vt = d.pendingProps, Pt = d.elementType === Me ? vt : ea(Me, vt);
|
|
46777
|
+
return Km(s, d, Me, Pt, N);
|
|
46778
46778
|
}
|
|
46779
46779
|
case H:
|
|
46780
46780
|
return p0(s, d, N);
|
|
@@ -46816,7 +46816,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46816
46816
|
throw new Error("Unknown unit of work tag (" + d.tag + "). This error is likely caused by a bug in React. Please file an issue.");
|
|
46817
46817
|
}
|
|
46818
46818
|
function Na(s) {
|
|
46819
|
-
s.flags |=
|
|
46819
|
+
s.flags |= dt;
|
|
46820
46820
|
}
|
|
46821
46821
|
function cg(s) {
|
|
46822
46822
|
s.flags |= bt, s.flags |= Je;
|
|
@@ -46884,8 +46884,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46884
46884
|
gn(s, le);
|
|
46885
46885
|
} else if (M.tag !== L) {
|
|
46886
46886
|
if (M.tag === Z && M.memoizedState !== null) {
|
|
46887
|
-
var
|
|
46888
|
-
|
|
46887
|
+
var ye = M.child;
|
|
46888
|
+
ye !== null && (ye.return = M), ec(s, M, !0, !0);
|
|
46889
46889
|
} else if (M.child !== null) {
|
|
46890
46890
|
M.child.return = M, M = M.child;
|
|
46891
46891
|
continue;
|
|
@@ -46919,8 +46919,8 @@ Check the render method of \`` + D + "`.");
|
|
|
46919
46919
|
Ba(s, le);
|
|
46920
46920
|
} else if (M.tag !== L) {
|
|
46921
46921
|
if (M.tag === Z && M.memoizedState !== null) {
|
|
46922
|
-
var
|
|
46923
|
-
|
|
46922
|
+
var ye = M.child;
|
|
46923
|
+
ye !== null && (ye.return = M), fg(s, M, !0, !0);
|
|
46924
46924
|
} else if (M.child !== null) {
|
|
46925
46925
|
M.child.return = M, M = M.child;
|
|
46926
46926
|
continue;
|
|
@@ -46948,12 +46948,12 @@ Check the render method of \`` + D + "`.");
|
|
|
46948
46948
|
d.stateNode = Y;
|
|
46949
46949
|
return;
|
|
46950
46950
|
}
|
|
46951
|
-
var le = d.stateNode, me = zu(),
|
|
46952
|
-
if (re !== D && (
|
|
46951
|
+
var le = d.stateNode, me = zu(), ye = null;
|
|
46952
|
+
if (re !== D && (ye = Yl(le, N, re, D, M, me)), ae && ye === null) {
|
|
46953
46953
|
d.stateNode = Y;
|
|
46954
46954
|
return;
|
|
46955
46955
|
}
|
|
46956
|
-
var Ee = Cf(Y,
|
|
46956
|
+
var Ee = Cf(Y, ye, N, re, D, d, ae, le);
|
|
46957
46957
|
Xs(Ee, N, D, M, me) && Na(d), d.stateNode = Ee, ae ? Na(d) : ec(Ee, d, !1, !1);
|
|
46958
46958
|
}, Hd = function(s, d, N, D) {
|
|
46959
46959
|
if (N !== D) {
|
|
@@ -46992,8 +46992,8 @@ Check the render method of \`` + D + "`.");
|
|
|
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;
|
|
46994
46994
|
} else
|
|
46995
|
-
for (var
|
|
46996
|
-
N = Ct(N, Ct(
|
|
46995
|
+
for (var ye = s.child; ye !== null; )
|
|
46996
|
+
N = Ct(N, Ct(ye.lanes, ye.childLanes)), D |= ye.subtreeFlags & Tr, D |= ye.flags & Tr, ye.return = s, ye = ye.sibling;
|
|
46997
46997
|
s.subtreeFlags |= D;
|
|
46998
46998
|
} else {
|
|
46999
46999
|
if ((s.mode & Bt) !== Tt) {
|
|
@@ -47008,8 +47008,8 @@ 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) !== Tt && (d.flags &
|
|
47012
|
-
return rd(d), v(), d.flags |=
|
|
47011
|
+
if (Mf() && (d.mode & Wt) !== Tt && (d.flags & Ie) === $e)
|
|
47012
|
+
return rd(d), v(), d.flags |= nt | Gi | kr, !1;
|
|
47013
47013
|
var D = ns(d);
|
|
47014
47014
|
if (N !== null && N.dehydrated !== null)
|
|
47015
47015
|
if (s === null) {
|
|
@@ -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 & Ie) === $e && (d.memoizedState = null), d.flags |= dt, Rn(d), (d.mode & Bt) !== Tt) {
|
|
47028
47028
|
var re = N !== null;
|
|
47029
47029
|
if (re) {
|
|
47030
47030
|
var ae = d.child;
|
|
@@ -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 &
|
|
47067
|
+
(d.flags & nt) !== $e) && (d.flags |= st, b());
|
|
47068
47068
|
}
|
|
47069
47069
|
}
|
|
47070
47070
|
return tc(s, d), Rn(d), null;
|
|
@@ -47080,12 +47080,12 @@ Check the render method of \`` + D + "`.");
|
|
|
47080
47080
|
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.");
|
|
47081
47081
|
return Rn(d), null;
|
|
47082
47082
|
}
|
|
47083
|
-
var
|
|
47083
|
+
var ye = zu(), Ee = ns(d);
|
|
47084
47084
|
if (Ee)
|
|
47085
|
-
jf(d, le,
|
|
47085
|
+
jf(d, le, ye) && Na(d);
|
|
47086
47086
|
else {
|
|
47087
|
-
var Pe = ds(me, D, le,
|
|
47088
|
-
ec(Pe, d, !1, !1), d.stateNode = Pe, Xs(Pe, me, D, le,
|
|
47087
|
+
var Pe = ds(me, D, le, ye, d);
|
|
47088
|
+
ec(Pe, d, !1, !1), d.stateNode = Pe, Xs(Pe, me, D, le, ye) && Na(d);
|
|
47089
47089
|
}
|
|
47090
47090
|
d.ref !== null && cg(d);
|
|
47091
47091
|
}
|
|
@@ -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 Me = ch(), vt = zu(), Pt = ns(d);
|
|
47103
|
+
Pt ? Zc(d) && Na(d) : d.stateNode = qs(Fe, Me, vt, d);
|
|
47104
47104
|
}
|
|
47105
47105
|
return Rn(d), null;
|
|
47106
47106
|
}
|
|
@@ -47112,7 +47112,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47112
47112
|
if (!dr)
|
|
47113
47113
|
return d.flags & kr ? d : null;
|
|
47114
47114
|
}
|
|
47115
|
-
if ((d.flags &
|
|
47115
|
+
if ((d.flags & Ie) !== $e)
|
|
47116
47116
|
return d.lanes = N, (d.mode & Bt) !== Tt && Bh(d), d;
|
|
47117
47117
|
var Zt = Et !== null, Te = s !== null && s.memoizedState !== null;
|
|
47118
47118
|
if (Zt !== Te && Zt) {
|
|
@@ -47123,7 +47123,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47123
47123
|
}
|
|
47124
47124
|
}
|
|
47125
47125
|
var Xe = d.updateQueue;
|
|
47126
|
-
if (Xe !== null && (d.flags |=
|
|
47126
|
+
if (Xe !== null && (d.flags |= dt), Rn(d), (d.mode & Bt) !== Tt && Zt) {
|
|
47127
47127
|
var ft = d.child;
|
|
47128
47128
|
ft !== null && (d.treeBaseDuration -= ft.treeBaseDuration);
|
|
47129
47129
|
}
|
|
@@ -47132,8 +47132,8 @@ Check the render method of \`` + D + "`.");
|
|
|
47132
47132
|
case L:
|
|
47133
47133
|
return Pl(d), tc(s, d), s === null && yf(d.stateNode.containerInfo), Rn(d), null;
|
|
47134
47134
|
case q:
|
|
47135
|
-
var
|
|
47136
|
-
return Gf(
|
|
47135
|
+
var it = d.type._context;
|
|
47136
|
+
return Gf(it, d), Rn(d), null;
|
|
47137
47137
|
case Q: {
|
|
47138
47138
|
var Jt = d.type;
|
|
47139
47139
|
return xn(Jt) && yr(d), Rn(d), null;
|
|
@@ -47143,37 +47143,37 @@ 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 nr = (d.flags &
|
|
47146
|
+
var nr = (d.flags & Ie) !== $e, Yt = Nt.rendering;
|
|
47147
47147
|
if (Yt === null)
|
|
47148
47148
|
if (nr)
|
|
47149
47149
|
rc(Nt, !1);
|
|
47150
47150
|
else {
|
|
47151
|
-
var Er = l_() && (s === null || (s.flags &
|
|
47151
|
+
var Er = l_() && (s === null || (s.flags & Ie) === $e);
|
|
47152
47152
|
if (!Er)
|
|
47153
47153
|
for (var Rt = d.child; Rt !== null; ) {
|
|
47154
47154
|
var Ir = xd(Rt);
|
|
47155
47155
|
if (Ir !== null) {
|
|
47156
|
-
nr = !0, d.flags |=
|
|
47156
|
+
nr = !0, d.flags |= Ie, rc(Nt, !1);
|
|
47157
47157
|
var Gn = Ir.updateQueue;
|
|
47158
|
-
return Gn !== null && (d.updateQueue = Gn, d.flags |=
|
|
47158
|
+
return Gn !== null && (d.updateQueue = Gn, d.flags |= dt), 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 && $r() > Mg() && (d.flags |=
|
|
47162
|
+
Nt.tail !== null && $r() > Mg() && (d.flags |= Ie, nr = !0, rc(Nt, !1), d.lanes = ol);
|
|
47163
47163
|
}
|
|
47164
47164
|
else {
|
|
47165
47165
|
if (!nr) {
|
|
47166
47166
|
var wn = xd(Yt);
|
|
47167
47167
|
if (wn !== null) {
|
|
47168
|
-
d.flags |=
|
|
47168
|
+
d.flags |= Ie, nr = !0;
|
|
47169
47169
|
var Ri = wn.updateQueue;
|
|
47170
|
-
if (Ri !== null && (d.updateQueue = Ri, d.flags |=
|
|
47170
|
+
if (Ri !== null && (d.updateQueue = Ri, d.flags |= dt), rc(Nt, !0), Nt.tail === null && Nt.tailMode === "hidden" && !Yt.alternate && !j())
|
|
47171
47171
|
return Rn(d), null;
|
|
47172
47172
|
} else
|
|
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
|
-
$r() * 2 - Nt.renderingStartTime > Mg() && N !== Ln && (d.flags |=
|
|
47176
|
+
$r() * 2 - Nt.renderingStartTime > Mg() && N !== Ln && (d.flags |= Ie, nr = !0, rc(Nt, !1), d.lanes = ol);
|
|
47177
47177
|
}
|
|
47178
47178
|
if (Nt.isBackwards)
|
|
47179
47179
|
Yt.sibling = d.child, d.child = Yt;
|
|
@@ -47201,7 +47201,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47201
47201
|
Fa !== $l && // LegacyHidden doesn't do any hiding — it only pre-renders.
|
|
47202
47202
|
!x && (d.flags |= Yr);
|
|
47203
47203
|
}
|
|
47204
|
-
return !$l || (d.mode & Wt) === Tt ? Rn(d) : wr(La, Ln) && (Rn(d), vn && d.subtreeFlags & (Mt |
|
|
47204
|
+
return !$l || (d.mode & Wt) === Tt ? Rn(d) : wr(La, Ln) && (Rn(d), vn && d.subtreeFlags & (Mt | dt) && (d.flags |= Yr)), 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 & kr ? (d.flags = M & ~kr |
|
|
47219
|
+
return M & kr ? (d.flags = M & ~kr | Ie, (d.mode & Bt) !== Tt && Bh(d), d) : null;
|
|
47220
47220
|
}
|
|
47221
47221
|
case k: {
|
|
47222
47222
|
d.stateNode, Pl(d), Ar(d), gh();
|
|
47223
47223
|
var Y = d.flags;
|
|
47224
|
-
return (Y & kr) !== $e && (Y &
|
|
47224
|
+
return (Y & kr) !== $e && (Y & Ie) === $e ? (d.flags = Y & ~kr | Ie, 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 & kr ? (d.flags = ae & ~kr |
|
|
47237
|
+
return ae & kr ? (d.flags = ae & ~kr | Ie, (d.mode & Bt) !== Tt && Bh(d), d) : null;
|
|
47238
47238
|
}
|
|
47239
47239
|
case ie:
|
|
47240
47240
|
return Nl(d), null;
|
|
@@ -47290,8 +47290,8 @@ Check the render method of \`` + D + "`.");
|
|
|
47290
47290
|
var me = Array.prototype.slice.call(arguments, 3);
|
|
47291
47291
|
try {
|
|
47292
47292
|
d.apply(N, me);
|
|
47293
|
-
} catch (
|
|
47294
|
-
this.onError(
|
|
47293
|
+
} catch (ye) {
|
|
47294
|
+
this.onError(ye);
|
|
47295
47295
|
}
|
|
47296
47296
|
}
|
|
47297
47297
|
var gg = mg;
|
|
@@ -47300,13 +47300,13 @@ Check the render method of \`` + D + "`.");
|
|
|
47300
47300
|
gg = function(d, N, D, M, Y, re, ae, le, me) {
|
|
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
|
-
var
|
|
47304
|
-
function
|
|
47303
|
+
var ye = document.createEvent("Event"), Ee = !1, Pe = !0, Fe = window.event, Ge = Object.getOwnPropertyDescriptor(window, "event");
|
|
47304
|
+
function Me() {
|
|
47305
47305
|
ap.removeEventListener(ke, Pt, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = Fe);
|
|
47306
47306
|
}
|
|
47307
47307
|
var vt = Array.prototype.slice.call(arguments, 3);
|
|
47308
47308
|
function Pt() {
|
|
47309
|
-
Ee = !0,
|
|
47309
|
+
Ee = !0, Me(), N.apply(D, vt), Pe = !1;
|
|
47310
47310
|
}
|
|
47311
47311
|
var Et, dr = !1, Zt = !1;
|
|
47312
47312
|
function Te(be) {
|
|
@@ -47317,8 +47317,8 @@ Check the render method of \`` + D + "`.");
|
|
|
47317
47317
|
}
|
|
47318
47318
|
}
|
|
47319
47319
|
var ke = "react-" + (d || "invokeguardedcallback");
|
|
47320
|
-
if (window.addEventListener("error", Te), ap.addEventListener(ke, Pt, !1),
|
|
47321
|
-
return
|
|
47320
|
+
if (window.addEventListener("error", Te), ap.addEventListener(ke, Pt, !1), ye.initEvent(ke, !1, !1), ap.dispatchEvent(ye), Ge && Object.defineProperty(window, "event", Ge), Ee && Pe && (dr ? Zt && (Et = 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.")) : Et = 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(Et)), window.removeEventListener("error", Te), !Ee)
|
|
47321
|
+
return Me(), mg.apply(this, arguments);
|
|
47322
47322
|
};
|
|
47323
47323
|
}
|
|
47324
47324
|
var H0 = gg, nc = !1, Vd = null, V0 = {
|
|
@@ -47341,7 +47341,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47341
47341
|
}
|
|
47342
47342
|
var _g = null;
|
|
47343
47343
|
_g = /* @__PURE__ */ new Set();
|
|
47344
|
-
var Wd = !1, Cn = !1, Y0 = typeof WeakSet == "function" ? WeakSet : Set,
|
|
47344
|
+
var Wd = !1, Cn = !1, Y0 = typeof WeakSet == "function" ? WeakSet : Set, ut = null, Fl = null, jl = null;
|
|
47345
47345
|
function K0(s) {
|
|
47346
47346
|
vg(null, function() {
|
|
47347
47347
|
throw s;
|
|
@@ -47415,19 +47415,19 @@ Check the render method of \`` + D + "`.");
|
|
|
47415
47415
|
}
|
|
47416
47416
|
var Eg = !1;
|
|
47417
47417
|
function Q0(s, d) {
|
|
47418
|
-
Nn(s.containerInfo),
|
|
47418
|
+
Nn(s.containerInfo), ut = d, J0();
|
|
47419
47419
|
var N = Eg;
|
|
47420
47420
|
return Eg = !1, N;
|
|
47421
47421
|
}
|
|
47422
47422
|
function J0() {
|
|
47423
|
-
for (;
|
|
47424
|
-
var s =
|
|
47425
|
-
(s.subtreeFlags & Ut) !== $e && d !== null ? (d.return = s,
|
|
47423
|
+
for (; ut !== null; ) {
|
|
47424
|
+
var s = ut, d = s.child;
|
|
47425
|
+
(s.subtreeFlags & Ut) !== $e && d !== null ? (d.return = s, ut = d) : Z0();
|
|
47426
47426
|
}
|
|
47427
47427
|
}
|
|
47428
47428
|
function Z0() {
|
|
47429
|
-
for (;
|
|
47430
|
-
var s =
|
|
47429
|
+
for (; ut !== null; ) {
|
|
47430
|
+
var s = ut;
|
|
47431
47431
|
or(s);
|
|
47432
47432
|
try {
|
|
47433
47433
|
ey(s);
|
|
@@ -47437,15 +47437,15 @@ Check the render method of \`` + D + "`.");
|
|
|
47437
47437
|
ur();
|
|
47438
47438
|
var d = s.sibling;
|
|
47439
47439
|
if (d !== null) {
|
|
47440
|
-
d.return = s.return,
|
|
47440
|
+
d.return = s.return, ut = d;
|
|
47441
47441
|
return;
|
|
47442
47442
|
}
|
|
47443
|
-
|
|
47443
|
+
ut = s.return;
|
|
47444
47444
|
}
|
|
47445
47445
|
}
|
|
47446
47446
|
function ey(s) {
|
|
47447
47447
|
var d = s.alternate, N = s.flags;
|
|
47448
|
-
if ((N &
|
|
47448
|
+
if ((N & st) !== $e) {
|
|
47449
47449
|
switch (or(s), s.tag) {
|
|
47450
47450
|
case P:
|
|
47451
47451
|
case z:
|
|
@@ -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 &
|
|
47535
|
+
if ((d.flags & dt) !== $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";
|
|
@@ -47546,8 +47546,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47546
47546
|
me.passiveEffectDuration += N;
|
|
47547
47547
|
break e;
|
|
47548
47548
|
case B:
|
|
47549
|
-
var
|
|
47550
|
-
|
|
47549
|
+
var ye = le.stateNode;
|
|
47550
|
+
ye.passiveEffectDuration += N;
|
|
47551
47551
|
break e;
|
|
47552
47552
|
}
|
|
47553
47553
|
le = le.return;
|
|
@@ -47575,7 +47575,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47575
47575
|
}
|
|
47576
47576
|
case w: {
|
|
47577
47577
|
var M = N.stateNode;
|
|
47578
|
-
if (N.flags &
|
|
47578
|
+
if (N.flags & dt && !Cn)
|
|
47579
47579
|
if (d === null)
|
|
47580
47580
|
if (N.type === N.elementType && !bo && (M.props !== N.memoizedProps && c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", je(N) || "instance"), M.state !== N.memoizedState && c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", je(N) || "instance")), N.mode & Bt)
|
|
47581
47581
|
try {
|
|
@@ -47618,10 +47618,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47618
47618
|
break;
|
|
47619
47619
|
}
|
|
47620
47620
|
case F: {
|
|
47621
|
-
var
|
|
47622
|
-
if (d === null && N.flags &
|
|
47621
|
+
var ye = N.stateNode;
|
|
47622
|
+
if (d === null && N.flags & dt) {
|
|
47623
47623
|
var Ee = N.type, Pe = N.memoizedProps;
|
|
47624
|
-
bf(
|
|
47624
|
+
bf(ye, Ee, Pe, N);
|
|
47625
47625
|
}
|
|
47626
47626
|
break;
|
|
47627
47627
|
}
|
|
@@ -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() && (Et = "nested-update"), typeof
|
|
47634
|
+
var Fe = N.memoizedProps, Ge = Fe.onCommit, Me = Fe.onRender, vt = N.stateNode.effectDuration, Pt = Bm(), Et = d === null ? "mount" : "update";
|
|
47635
|
+
Gm() && (Et = "nested-update"), typeof Me == "function" && Me(N.memoizedProps.id, Et, N.actualDuration, N.treeBaseDuration, N.actualStartTime, Pt);
|
|
47636
47636
|
{
|
|
47637
47637
|
typeof Ge == "function" && Ge(N.memoizedProps.id, Et, vt, Pt), h_(N);
|
|
47638
47638
|
var dr = N.return;
|
|
@@ -47926,11 +47926,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47926
47926
|
if (ae !== null) {
|
|
47927
47927
|
var le = ae.lastEffect;
|
|
47928
47928
|
if (le !== null) {
|
|
47929
|
-
var me = le.next,
|
|
47929
|
+
var me = le.next, ye = me;
|
|
47930
47930
|
do {
|
|
47931
|
-
var Ee =
|
|
47932
|
-
Pe !== void 0 && ((Fe & Ra) !== li ? Yd(N, d, Pe) : (Fe & cn) !== li && (jr(N), N.mode & Bt ? (wa(), Yd(N, d, Pe), Pa(N)) : Yd(N, d, Pe), Ds())),
|
|
47933
|
-
} while (
|
|
47931
|
+
var Ee = ye, Pe = Ee.destroy, Fe = Ee.tag;
|
|
47932
|
+
Pe !== void 0 && ((Fe & Ra) !== li ? Yd(N, d, Pe) : (Fe & cn) !== li && (jr(N), N.mode & Bt ? (wa(), Yd(N, d, Pe), Pa(N)) : Yd(N, d, Pe), Ds())), ye = ye.next;
|
|
47933
|
+
} while (ye !== me);
|
|
47934
47934
|
}
|
|
47935
47935
|
}
|
|
47936
47936
|
}
|
|
@@ -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 Me = Cn;
|
|
47959
|
+
Cn = Me || N.memoizedState !== null, Oa(s, d, N), Cn = Me;
|
|
47960
47960
|
} else
|
|
47961
47961
|
Oa(s, d, N);
|
|
47962
47962
|
break;
|
|
@@ -48030,7 +48030,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48030
48030
|
case z:
|
|
48031
48031
|
case U:
|
|
48032
48032
|
case V: {
|
|
48033
|
-
if (sa(d, s), ka(s), M &
|
|
48033
|
+
if (sa(d, s), ka(s), M & dt) {
|
|
48034
48034
|
try {
|
|
48035
48035
|
ia(Ra | un, s, s.return), $s(Ra | un, s);
|
|
48036
48036
|
} catch (Rt) {
|
|
@@ -48066,13 +48066,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48066
48066
|
gr(s, s.return, Rt);
|
|
48067
48067
|
}
|
|
48068
48068
|
}
|
|
48069
|
-
if (M &
|
|
48069
|
+
if (M & dt) {
|
|
48070
48070
|
var re = s.stateNode;
|
|
48071
48071
|
if (re != null) {
|
|
48072
|
-
var ae = s.memoizedProps, le = D !== null ? D.memoizedProps : ae, me = s.type,
|
|
48073
|
-
if (s.updateQueue = null,
|
|
48072
|
+
var ae = s.memoizedProps, le = D !== null ? D.memoizedProps : ae, me = s.type, ye = s.updateQueue;
|
|
48073
|
+
if (s.updateQueue = null, ye !== null)
|
|
48074
48074
|
try {
|
|
48075
|
-
tu(re,
|
|
48075
|
+
tu(re, ye, me, le, ae, s);
|
|
48076
48076
|
} catch (Rt) {
|
|
48077
48077
|
gr(s, s.return, Rt);
|
|
48078
48078
|
}
|
|
@@ -48082,7 +48082,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48082
48082
|
return;
|
|
48083
48083
|
}
|
|
48084
48084
|
case G: {
|
|
48085
|
-
if (sa(d, s), ka(s), M &
|
|
48085
|
+
if (sa(d, s), ka(s), M & dt && vn) {
|
|
48086
48086
|
if (s.stateNode === null)
|
|
48087
48087
|
throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");
|
|
48088
48088
|
var Ee = s.stateNode, Pe = s.memoizedProps, Fe = D !== null ? D.memoizedProps : Pe;
|
|
@@ -48095,7 +48095,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48095
48095
|
return;
|
|
48096
48096
|
}
|
|
48097
48097
|
case k: {
|
|
48098
|
-
if (sa(d, s), ka(s), M &
|
|
48098
|
+
if (sa(d, s), ka(s), M & dt) {
|
|
48099
48099
|
if (vn && yn && D !== null) {
|
|
48100
48100
|
var Ge = D.memoizedState;
|
|
48101
48101
|
if (Ge.isDehydrated)
|
|
@@ -48106,9 +48106,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48106
48106
|
}
|
|
48107
48107
|
}
|
|
48108
48108
|
if (Ga) {
|
|
48109
|
-
var
|
|
48109
|
+
var Me = d.containerInfo, vt = d.pendingChildren;
|
|
48110
48110
|
try {
|
|
48111
|
-
ps(
|
|
48111
|
+
ps(Me, vt);
|
|
48112
48112
|
} catch (Rt) {
|
|
48113
48113
|
gr(s, s.return, Rt);
|
|
48114
48114
|
}
|
|
@@ -48117,7 +48117,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48117
48117
|
return;
|
|
48118
48118
|
}
|
|
48119
48119
|
case L: {
|
|
48120
|
-
if (sa(d, s), ka(s), M &
|
|
48120
|
+
if (sa(d, s), ka(s), M & dt && Ga) {
|
|
48121
48121
|
var Pt = s.stateNode, Et = Pt.containerInfo, dr = Pt.pendingChildren;
|
|
48122
48122
|
try {
|
|
48123
48123
|
ps(Et, dr);
|
|
@@ -48137,7 +48137,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48137
48137
|
Xe || a_();
|
|
48138
48138
|
}
|
|
48139
48139
|
}
|
|
48140
|
-
if (M &
|
|
48140
|
+
if (M & dt) {
|
|
48141
48141
|
try {
|
|
48142
48142
|
cy(s);
|
|
48143
48143
|
} catch (Rt) {
|
|
@@ -48153,23 +48153,23 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48153
48153
|
// TODO: Remove this dead flag
|
|
48154
48154
|
s.mode & Wt
|
|
48155
48155
|
) {
|
|
48156
|
-
var
|
|
48157
|
-
Cn =
|
|
48156
|
+
var it = Cn;
|
|
48157
|
+
Cn = it || ft, sa(d, s), Cn = it;
|
|
48158
48158
|
} else
|
|
48159
48159
|
sa(d, s);
|
|
48160
48160
|
if (ka(s), M & Yr) {
|
|
48161
48161
|
var Jt = s.stateNode, Nt = s.memoizedState, nr = Nt !== null, Yt = s;
|
|
48162
48162
|
if (Jt.isHidden = nr, nr && !ft && (Yt.mode & Wt) !== Tt) {
|
|
48163
|
-
|
|
48163
|
+
ut = Yt;
|
|
48164
48164
|
for (var Er = Yt.child; Er !== null; )
|
|
48165
|
-
|
|
48165
|
+
ut = Er, py(Er), Er = Er.sibling;
|
|
48166
48166
|
}
|
|
48167
48167
|
vn && iy(Yt, nr);
|
|
48168
48168
|
}
|
|
48169
48169
|
return;
|
|
48170
48170
|
}
|
|
48171
48171
|
case ie: {
|
|
48172
|
-
sa(d, s), ka(s), M &
|
|
48172
|
+
sa(d, s), ka(s), M & dt && Ag(s);
|
|
48173
48173
|
return;
|
|
48174
48174
|
}
|
|
48175
48175
|
case ne:
|
|
@@ -48193,36 +48193,36 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48193
48193
|
d & ir && (s.flags &= ~ir);
|
|
48194
48194
|
}
|
|
48195
48195
|
function hy(s, d, N) {
|
|
48196
|
-
Fl = N, jl = d,
|
|
48196
|
+
Fl = N, jl = d, ut = 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) !== Tt;
|
|
48200
|
-
var M =
|
|
48199
|
+
for (var D = (s.mode & Wt) !== Tt; ut !== null; ) {
|
|
48200
|
+
var M = ut, Y = M.child;
|
|
48201
48201
|
if (M.tag === Z && D) {
|
|
48202
48202
|
var re = M.memoizedState !== null, ae = re || Wd;
|
|
48203
48203
|
if (ae) {
|
|
48204
48204
|
cp(s, d, N);
|
|
48205
48205
|
continue;
|
|
48206
48206
|
} else {
|
|
48207
|
-
var le = M.alternate, me = le !== null && le.memoizedState !== null,
|
|
48208
|
-
Wd = ae, Cn =
|
|
48207
|
+
var le = M.alternate, me = le !== null && le.memoizedState !== null, ye = me || Cn, Ee = Wd, Pe = Cn;
|
|
48208
|
+
Wd = ae, Cn = ye, Cn && !Pe && (ut = M, my(M));
|
|
48209
48209
|
for (var Fe = Y; Fe !== null; )
|
|
48210
|
-
|
|
48210
|
+
ut = Fe, wg(
|
|
48211
48211
|
Fe,
|
|
48212
48212
|
// New root; bubble back up to here and stop.
|
|
48213
48213
|
d,
|
|
48214
48214
|
N
|
|
48215
48215
|
), Fe = Fe.sibling;
|
|
48216
|
-
|
|
48216
|
+
ut = M, Wd = Ee, Cn = Pe, cp(s, d, N);
|
|
48217
48217
|
continue;
|
|
48218
48218
|
}
|
|
48219
48219
|
}
|
|
48220
|
-
(M.subtreeFlags & fr) !== $e && Y !== null ? (Y.return = M,
|
|
48220
|
+
(M.subtreeFlags & fr) !== $e && Y !== null ? (Y.return = M, ut = Y) : cp(s, d, N);
|
|
48221
48221
|
}
|
|
48222
48222
|
}
|
|
48223
48223
|
function cp(s, d, N) {
|
|
48224
|
-
for (;
|
|
48225
|
-
var D =
|
|
48224
|
+
for (; ut !== null; ) {
|
|
48225
|
+
var D = ut;
|
|
48226
48226
|
if ((D.flags & fr) !== $e) {
|
|
48227
48227
|
var M = D.alternate;
|
|
48228
48228
|
or(D);
|
|
@@ -48234,20 +48234,20 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48234
48234
|
ur();
|
|
48235
48235
|
}
|
|
48236
48236
|
if (D === s) {
|
|
48237
|
-
|
|
48237
|
+
ut = null;
|
|
48238
48238
|
return;
|
|
48239
48239
|
}
|
|
48240
48240
|
var Y = D.sibling;
|
|
48241
48241
|
if (Y !== null) {
|
|
48242
|
-
Y.return = D.return,
|
|
48242
|
+
Y.return = D.return, ut = Y;
|
|
48243
48243
|
return;
|
|
48244
48244
|
}
|
|
48245
|
-
|
|
48245
|
+
ut = D.return;
|
|
48246
48246
|
}
|
|
48247
48247
|
}
|
|
48248
48248
|
function py(s) {
|
|
48249
|
-
for (;
|
|
48250
|
-
var d =
|
|
48249
|
+
for (; ut !== null; ) {
|
|
48250
|
+
var d = ut, N = d.child;
|
|
48251
48251
|
switch (d.tag) {
|
|
48252
48252
|
case P:
|
|
48253
48253
|
case z:
|
|
@@ -48282,27 +48282,27 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48282
48282
|
break;
|
|
48283
48283
|
}
|
|
48284
48284
|
}
|
|
48285
|
-
N !== null ? (N.return = d,
|
|
48285
|
+
N !== null ? (N.return = d, ut = N) : Ng(s);
|
|
48286
48286
|
}
|
|
48287
48287
|
}
|
|
48288
48288
|
function Ng(s) {
|
|
48289
|
-
for (;
|
|
48290
|
-
var d =
|
|
48289
|
+
for (; ut !== null; ) {
|
|
48290
|
+
var d = ut;
|
|
48291
48291
|
if (d === s) {
|
|
48292
|
-
|
|
48292
|
+
ut = null;
|
|
48293
48293
|
return;
|
|
48294
48294
|
}
|
|
48295
48295
|
var N = d.sibling;
|
|
48296
48296
|
if (N !== null) {
|
|
48297
|
-
N.return = d.return,
|
|
48297
|
+
N.return = d.return, ut = N;
|
|
48298
48298
|
return;
|
|
48299
48299
|
}
|
|
48300
|
-
|
|
48300
|
+
ut = d.return;
|
|
48301
48301
|
}
|
|
48302
48302
|
}
|
|
48303
48303
|
function my(s) {
|
|
48304
|
-
for (;
|
|
48305
|
-
var d =
|
|
48304
|
+
for (; ut !== null; ) {
|
|
48305
|
+
var d = ut, N = d.child;
|
|
48306
48306
|
if (d.tag === Z) {
|
|
48307
48307
|
var D = d.memoizedState !== null;
|
|
48308
48308
|
if (D) {
|
|
@@ -48310,12 +48310,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48310
48310
|
continue;
|
|
48311
48311
|
}
|
|
48312
48312
|
}
|
|
48313
|
-
N !== null ? (N.return = d,
|
|
48313
|
+
N !== null ? (N.return = d, ut = N) : Og(s);
|
|
48314
48314
|
}
|
|
48315
48315
|
}
|
|
48316
48316
|
function Og(s) {
|
|
48317
|
-
for (;
|
|
48318
|
-
var d =
|
|
48317
|
+
for (; ut !== null; ) {
|
|
48318
|
+
var d = ut;
|
|
48319
48319
|
or(d);
|
|
48320
48320
|
try {
|
|
48321
48321
|
ny(d);
|
|
@@ -48323,29 +48323,29 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48323
48323
|
gr(d, d.return, D);
|
|
48324
48324
|
}
|
|
48325
48325
|
if (ur(), d === s) {
|
|
48326
|
-
|
|
48326
|
+
ut = null;
|
|
48327
48327
|
return;
|
|
48328
48328
|
}
|
|
48329
48329
|
var N = d.sibling;
|
|
48330
48330
|
if (N !== null) {
|
|
48331
|
-
N.return = d.return,
|
|
48331
|
+
N.return = d.return, ut = N;
|
|
48332
48332
|
return;
|
|
48333
48333
|
}
|
|
48334
|
-
|
|
48334
|
+
ut = d.return;
|
|
48335
48335
|
}
|
|
48336
48336
|
}
|
|
48337
48337
|
function gy(s, d, N, D) {
|
|
48338
|
-
|
|
48338
|
+
ut = d, vy(d, s, N, D);
|
|
48339
48339
|
}
|
|
48340
48340
|
function vy(s, d, N, D) {
|
|
48341
|
-
for (;
|
|
48342
|
-
var M =
|
|
48343
|
-
(M.subtreeFlags & hr) !== $e && Y !== null ? (Y.return = M,
|
|
48341
|
+
for (; ut !== null; ) {
|
|
48342
|
+
var M = ut, Y = M.child;
|
|
48343
|
+
(M.subtreeFlags & hr) !== $e && Y !== null ? (Y.return = M, ut = Y) : yy(s, d, N, D);
|
|
48344
48344
|
}
|
|
48345
48345
|
}
|
|
48346
48346
|
function yy(s, d, N, D) {
|
|
48347
|
-
for (;
|
|
48348
|
-
var M =
|
|
48347
|
+
for (; ut !== null; ) {
|
|
48348
|
+
var M = ut;
|
|
48349
48349
|
if ((M.flags & It) !== $e) {
|
|
48350
48350
|
or(M);
|
|
48351
48351
|
try {
|
|
@@ -48356,15 +48356,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48356
48356
|
ur();
|
|
48357
48357
|
}
|
|
48358
48358
|
if (M === s) {
|
|
48359
|
-
|
|
48359
|
+
ut = null;
|
|
48360
48360
|
return;
|
|
48361
48361
|
}
|
|
48362
48362
|
var Y = M.sibling;
|
|
48363
48363
|
if (Y !== null) {
|
|
48364
|
-
Y.return = M.return,
|
|
48364
|
+
Y.return = M.return, ut = Y;
|
|
48365
48365
|
return;
|
|
48366
48366
|
}
|
|
48367
|
-
|
|
48367
|
+
ut = M.return;
|
|
48368
48368
|
}
|
|
48369
48369
|
}
|
|
48370
48370
|
function _y(s, d, N, D) {
|
|
@@ -48386,17 +48386,17 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48386
48386
|
}
|
|
48387
48387
|
}
|
|
48388
48388
|
function xy(s) {
|
|
48389
|
-
|
|
48389
|
+
ut = s, Sy();
|
|
48390
48390
|
}
|
|
48391
48391
|
function Sy() {
|
|
48392
|
-
for (;
|
|
48393
|
-
var s =
|
|
48394
|
-
if ((
|
|
48392
|
+
for (; ut !== null; ) {
|
|
48393
|
+
var s = ut, d = s.child;
|
|
48394
|
+
if ((ut.flags & vr) !== $e) {
|
|
48395
48395
|
var N = s.deletions;
|
|
48396
48396
|
if (N !== null) {
|
|
48397
48397
|
for (var D = 0; D < N.length; D++) {
|
|
48398
48398
|
var M = N[D];
|
|
48399
|
-
|
|
48399
|
+
ut = M, Ty(M, s);
|
|
48400
48400
|
}
|
|
48401
48401
|
{
|
|
48402
48402
|
var Y = s.alternate;
|
|
@@ -48411,22 +48411,22 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48411
48411
|
}
|
|
48412
48412
|
}
|
|
48413
48413
|
}
|
|
48414
|
-
|
|
48414
|
+
ut = s;
|
|
48415
48415
|
}
|
|
48416
48416
|
}
|
|
48417
|
-
(s.subtreeFlags & hr) !== $e && d !== null ? (d.return = s,
|
|
48417
|
+
(s.subtreeFlags & hr) !== $e && d !== null ? (d.return = s, ut = d) : Ey();
|
|
48418
48418
|
}
|
|
48419
48419
|
}
|
|
48420
48420
|
function Ey() {
|
|
48421
|
-
for (;
|
|
48422
|
-
var s =
|
|
48421
|
+
for (; ut !== null; ) {
|
|
48422
|
+
var s = ut;
|
|
48423
48423
|
(s.flags & It) !== $e && (or(s), by(s), ur());
|
|
48424
48424
|
var d = s.sibling;
|
|
48425
48425
|
if (d !== null) {
|
|
48426
|
-
d.return = s.return,
|
|
48426
|
+
d.return = s.return, ut = d;
|
|
48427
48427
|
return;
|
|
48428
48428
|
}
|
|
48429
|
-
|
|
48429
|
+
ut = s.return;
|
|
48430
48430
|
}
|
|
48431
48431
|
}
|
|
48432
48432
|
function by(s) {
|
|
@@ -48440,25 +48440,25 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48440
48440
|
}
|
|
48441
48441
|
}
|
|
48442
48442
|
function Ty(s, d) {
|
|
48443
|
-
for (;
|
|
48444
|
-
var N =
|
|
48443
|
+
for (; ut !== null; ) {
|
|
48444
|
+
var N = ut;
|
|
48445
48445
|
or(N), Cy(N, d), ur();
|
|
48446
48446
|
var D = N.child;
|
|
48447
|
-
D !== null ? (D.return = N,
|
|
48447
|
+
D !== null ? (D.return = N, ut = D) : Ry(s);
|
|
48448
48448
|
}
|
|
48449
48449
|
}
|
|
48450
48450
|
function Ry(s) {
|
|
48451
|
-
for (;
|
|
48452
|
-
var d =
|
|
48451
|
+
for (; ut !== null; ) {
|
|
48452
|
+
var d = ut, N = d.sibling, D = d.return;
|
|
48453
48453
|
if (Tg(d), d === s) {
|
|
48454
|
-
|
|
48454
|
+
ut = null;
|
|
48455
48455
|
return;
|
|
48456
48456
|
}
|
|
48457
48457
|
if (N !== null) {
|
|
48458
|
-
N.return = D,
|
|
48458
|
+
N.return = D, ut = N;
|
|
48459
48459
|
return;
|
|
48460
48460
|
}
|
|
48461
|
-
|
|
48461
|
+
ut = D;
|
|
48462
48462
|
}
|
|
48463
48463
|
}
|
|
48464
48464
|
function Cy(s, d) {
|
|
@@ -48688,8 +48688,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48688
48688
|
for (var N = dp(s), D = 0, M = [], Y = [N, 0], re = 0; re < Y.length; ) {
|
|
48689
48689
|
var ae = Y[re++], le = Y[re++], me = d[le];
|
|
48690
48690
|
if (!(ae.tag === F && fs(ae)) && (fp(ae, me) && (M.push(hp(me)), le++, le > D && (D = le)), le < d.length))
|
|
48691
|
-
for (var
|
|
48692
|
-
Y.push(
|
|
48691
|
+
for (var ye = ae.child; ye !== null; )
|
|
48692
|
+
Y.push(ye, le), ye = ye.sibling;
|
|
48693
48693
|
}
|
|
48694
48694
|
if (D < d.length) {
|
|
48695
48695
|
for (var Ee = [], Pe = D; Pe < d.length; Pe++)
|
|
@@ -48708,16 +48708,16 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48708
48708
|
for (var N = Zd(s, d), D = [], M = 0; M < N.length; M++)
|
|
48709
48709
|
D.push(Jl(N[M]));
|
|
48710
48710
|
for (var Y = D.length - 1; Y > 0; Y--)
|
|
48711
|
-
for (var re = D[Y], ae = re.x, le = ae + re.width, me = re.y,
|
|
48711
|
+
for (var re = D[Y], ae = re.x, le = ae + re.width, me = re.y, ye = 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, Me = Pe.y, vt = Me + Pe.height;
|
|
48714
|
+
if (ae >= Fe && me >= Me && le <= Ge && ye <= vt) {
|
|
48715
48715
|
D.splice(Y, 1);
|
|
48716
48716
|
break;
|
|
48717
|
-
} else if (ae === Fe && re.width === Pe.width && !(vt < me) && !(
|
|
48718
|
-
|
|
48717
|
+
} else if (ae === Fe && re.width === Pe.width && !(vt < me) && !(Me > ye)) {
|
|
48718
|
+
Me > me && (Pe.height += Me - me, Pe.y = me), vt < ye && (Pe.height = ye - Me), D.splice(Y, 1);
|
|
48719
48719
|
break;
|
|
48720
|
-
} else if (me ===
|
|
48720
|
+
} else if (me === Me && 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
|
}
|
|
@@ -48751,17 +48751,17 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48751
48751
|
if (!Ci)
|
|
48752
48752
|
throw new Error("Test selector API is not supported by this renderer.");
|
|
48753
48753
|
var M = Zd(s, d), Y = Sf(M, N, D), re = Y.disconnect, ae = Y.observe, le = Y.unobserve, me = function() {
|
|
48754
|
-
var
|
|
48754
|
+
var ye = Zd(s, d);
|
|
48755
48755
|
M.forEach(function(Ee) {
|
|
48756
|
-
|
|
48757
|
-
}),
|
|
48756
|
+
ye.indexOf(Ee) < 0 && le(Ee);
|
|
48757
|
+
}), ye.forEach(function(Ee) {
|
|
48758
48758
|
M.indexOf(Ee) < 0 && ae(Ee);
|
|
48759
48759
|
});
|
|
48760
48760
|
};
|
|
48761
48761
|
return ef.push(me), {
|
|
48762
48762
|
disconnect: function() {
|
|
48763
|
-
var
|
|
48764
|
-
|
|
48763
|
+
var ye = ef.indexOf(me);
|
|
48764
|
+
ye >= 0 && ef.splice(ye, 1), re();
|
|
48765
48765
|
}
|
|
48766
48766
|
};
|
|
48767
48767
|
}
|
|
@@ -48916,8 +48916,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48916
48916
|
if (re === vp)
|
|
48917
48917
|
Ws(s, M);
|
|
48918
48918
|
else {
|
|
48919
|
-
var me = !Cs(s, M),
|
|
48920
|
-
if (me && !Jy(
|
|
48919
|
+
var me = !Cs(s, M), ye = s.current.alternate;
|
|
48920
|
+
if (me && !Jy(ye)) {
|
|
48921
48921
|
if (re = ff(s, M), re === To) {
|
|
48922
48922
|
var Ee = ao(s);
|
|
48923
48923
|
Ee !== Ue && (M = Ee, re = Rp(s, Ee));
|
|
@@ -48927,7 +48927,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48927
48927
|
throw Co(s, Ue), Ws(s, M), ci(s, $r()), Pe;
|
|
48928
48928
|
}
|
|
48929
48929
|
}
|
|
48930
|
-
s.finishedWork =
|
|
48930
|
+
s.finishedWork = ye, s.finishedLanes = M, Qy(s, re, M);
|
|
48931
48931
|
}
|
|
48932
48932
|
}
|
|
48933
48933
|
return ci(s, $r()), s.callbackNode === N ? Ug.bind(null, s) : null;
|
|
@@ -48936,7 +48936,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48936
48936
|
var N = uc;
|
|
48937
48937
|
if (Kn(s)) {
|
|
48938
48938
|
var D = Co(s, d);
|
|
48939
|
-
D.flags |=
|
|
48939
|
+
D.flags |= nt, ys(s.containerInfo);
|
|
48940
48940
|
}
|
|
48941
48941
|
var M = ff(s, d);
|
|
48942
48942
|
if (M !== To) {
|
|
@@ -49183,7 +49183,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49183
49183
|
var M = s.memoizedUpdaters;
|
|
49184
49184
|
M.size > 0 && (pc(s, hn), M.clear()), Gc(s, d);
|
|
49185
49185
|
}
|
|
49186
|
-
ls =
|
|
49186
|
+
ls = ot(), Co(s, d);
|
|
49187
49187
|
}
|
|
49188
49188
|
yl(d);
|
|
49189
49189
|
do
|
|
@@ -49211,7 +49211,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49211
49211
|
var M = s.memoizedUpdaters;
|
|
49212
49212
|
M.size > 0 && (pc(s, hn), M.clear()), Gc(s, d);
|
|
49213
49213
|
}
|
|
49214
|
-
ls =
|
|
49214
|
+
ls = ot(), Il(), Co(s, d);
|
|
49215
49215
|
}
|
|
49216
49216
|
yl(d);
|
|
49217
49217
|
do
|
|
@@ -49302,17 +49302,17 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49302
49302
|
if (ae || le) {
|
|
49303
49303
|
var me = Nr.transition;
|
|
49304
49304
|
Nr.transition = null;
|
|
49305
|
-
var
|
|
49305
|
+
var ye = Dn();
|
|
49306
49306
|
Lr(En);
|
|
49307
49307
|
var Ee = zt;
|
|
49308
|
-
zt |= Mi, 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, Lr(
|
|
49308
|
+
zt |= Mi, 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, Lr(ye), Nr.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, $r()), d !== null)
|
|
49313
49313
|
for (var Fe = s.onRecoverableError, Ge = 0; Ge < d.length; Ge++) {
|
|
49314
|
-
var
|
|
49315
|
-
Fe(
|
|
49314
|
+
var Me = d[Ge], vt = Me.stack, Pt = Me.digest;
|
|
49315
|
+
Fe(Me.value, {
|
|
49316
49316
|
componentStack: vt,
|
|
49317
49317
|
digest: Pt
|
|
49318
49318
|
});
|
|
@@ -49638,7 +49638,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49638
49638
|
}
|
|
49639
49639
|
case U:
|
|
49640
49640
|
case V: {
|
|
49641
|
-
(Y ===
|
|
49641
|
+
(Y === at || Y === ht) && (M = !0);
|
|
49642
49642
|
break;
|
|
49643
49643
|
}
|
|
49644
49644
|
default:
|
|
@@ -49692,16 +49692,16 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49692
49692
|
}
|
|
49693
49693
|
if (Ii === null)
|
|
49694
49694
|
throw new Error("Expected resolveFamily to be set during hot reload.");
|
|
49695
|
-
var me = !1,
|
|
49695
|
+
var me = !1, ye = !1;
|
|
49696
49696
|
if (le !== null) {
|
|
49697
49697
|
var Ee = Ii(le);
|
|
49698
|
-
Ee !== void 0 && (N.has(Ee) ?
|
|
49698
|
+
Ee !== void 0 && (N.has(Ee) ? ye = !0 : d.has(Ee) && (re === w ? ye = !0 : me = !0));
|
|
49699
49699
|
}
|
|
49700
|
-
if (Bl !== null && (Bl.has(s) || D !== null && Bl.has(D)) && (
|
|
49700
|
+
if (Bl !== null && (Bl.has(s) || D !== null && Bl.has(D)) && (ye = !0), ye && (s._debugNeedsRemount = !0), ye || me) {
|
|
49701
49701
|
var Pe = qn(s, At);
|
|
49702
49702
|
Pe !== null && en(Pe, s, At, pr);
|
|
49703
49703
|
}
|
|
49704
|
-
M !== null && !
|
|
49704
|
+
M !== null && !ye && Lp(M, d, N), Y !== null && Lp(Y, d, N);
|
|
49705
49705
|
}
|
|
49706
49706
|
}
|
|
49707
49707
|
var O_ = function(s, d) {
|
|
@@ -49800,7 +49800,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49800
49800
|
var d = s.$$typeof;
|
|
49801
49801
|
if (d === qe)
|
|
49802
49802
|
return z;
|
|
49803
|
-
if (d ===
|
|
49803
|
+
if (d === at)
|
|
49804
49804
|
return U;
|
|
49805
49805
|
}
|
|
49806
49806
|
return O;
|
|
@@ -49885,7 +49885,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49885
49885
|
case qe:
|
|
49886
49886
|
re = z, ae = kp(ae);
|
|
49887
49887
|
break e;
|
|
49888
|
-
case
|
|
49888
|
+
case at:
|
|
49889
49889
|
re = U;
|
|
49890
49890
|
break e;
|
|
49891
49891
|
case ht:
|
|
@@ -49903,8 +49903,8 @@ Check the render method of \`` + me + "`.");
|
|
|
49903
49903
|
throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (s == null ? s : typeof s) + "." + le));
|
|
49904
49904
|
}
|
|
49905
49905
|
}
|
|
49906
|
-
var
|
|
49907
|
-
return
|
|
49906
|
+
var ye = Ti(re, N, d, M);
|
|
49907
|
+
return ye.elementType = s, ye.type = ae, ye.lanes = Y, ye._debugOwner = D, ye;
|
|
49908
49908
|
}
|
|
49909
49909
|
function Ip(s, d, N) {
|
|
49910
49910
|
var D = null;
|
|
@@ -49981,8 +49981,8 @@ Check the render method of \`` + me + "`.");
|
|
|
49981
49981
|
}
|
|
49982
49982
|
}
|
|
49983
49983
|
function sv(s, d, N, D, M, Y, re, ae, le, me) {
|
|
49984
|
-
var
|
|
49985
|
-
|
|
49984
|
+
var ye = new H_(s, d, N, ae, le), Ee = I_(d, Y);
|
|
49985
|
+
ye.current = Ee, Ee.stateNode = ye;
|
|
49986
49986
|
{
|
|
49987
49987
|
var Pe = {
|
|
49988
49988
|
element: D,
|
|
@@ -49994,7 +49994,7 @@ Check the render method of \`` + me + "`.");
|
|
|
49994
49994
|
};
|
|
49995
49995
|
Ee.memoizedState = Pe;
|
|
49996
49996
|
}
|
|
49997
|
-
return Vf(Ee),
|
|
49997
|
+
return Vf(Ee), ye;
|
|
49998
49998
|
}
|
|
49999
49999
|
var V_ = "18.2.0";
|
|
50000
50000
|
function W_(s, d, N) {
|
|
@@ -50064,10 +50064,10 @@ Check the render method of \`` + me + "`.");
|
|
|
50064
50064
|
return sv(s, d, le, me, N, D, M, Y, re);
|
|
50065
50065
|
}
|
|
50066
50066
|
function q_(s, d, N, D, M, Y, re, ae, le, me) {
|
|
50067
|
-
var
|
|
50067
|
+
var ye = !0, Ee = sv(N, D, ye, 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), Me = as(Fe, Ge);
|
|
50070
|
+
return Me.callback = d ?? null, Is(Pe, Me, Ge), Xy(Ee, Ge, Fe), Ee;
|
|
50071
50071
|
}
|
|
50072
50072
|
function lv(s, d, N, D) {
|
|
50073
50073
|
gl(d, s);
|
|
@@ -50985,7 +50985,7 @@ function ImageReview() {
|
|
|
50985
50985
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "puzzle--image__preview", children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { alt: "img", src: "https://min.gamelearn.io/css-resources/gamelearn/resources/image-click.jpg" }) });
|
|
50986
50986
|
}
|
|
50987
50987
|
function ImageClickWrapperComponent(o) {
|
|
50988
|
-
var
|
|
50988
|
+
var ve, Ce;
|
|
50989
50989
|
const {
|
|
50990
50990
|
soundActions: e,
|
|
50991
50991
|
emitEvent: r,
|
|
@@ -51023,7 +51023,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51023
51023
|
index: We,
|
|
51024
51024
|
shape: "poly",
|
|
51025
51025
|
...Le
|
|
51026
|
-
})),
|
|
51026
|
+
})), at = c.map((Le, We) => ({
|
|
51027
51027
|
index: We,
|
|
51028
51028
|
shape: "poly",
|
|
51029
51029
|
...Le
|
|
@@ -51064,7 +51064,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51064
51064
|
rewards: (We = l == null ? void 0 : l.timerFeedback) == null ? void 0 : We.rewards
|
|
51065
51065
|
};
|
|
51066
51066
|
}), J(!0), _t(), Ot();
|
|
51067
|
-
}, [_t, Ot, (
|
|
51067
|
+
}, [_t, Ot, (ve = l.timerFeedback) == null ? void 0 : ve.desc, (Ce = l.timerFeedback) == null ? void 0 : Ce.rewards]), Ke = useCallback(() => {
|
|
51068
51068
|
clearInterval(Z.current), Z.current = setInterval(() => {
|
|
51069
51069
|
ne.current = Date.now(), ne.current > se.current && Ft();
|
|
51070
51070
|
}, 250);
|
|
@@ -51119,17 +51119,17 @@ function ImageClickWrapperComponent(o) {
|
|
|
51119
51119
|
var je, $e;
|
|
51120
51120
|
if (!W) {
|
|
51121
51121
|
const { rewards: jt, desc: Mt } = qe.wrong;
|
|
51122
|
-
let
|
|
51122
|
+
let dt = Mt, vr = jt;
|
|
51123
51123
|
const Wr = (je = A == null ? void 0 : A.wrongFeedbacks) == null ? void 0 : je.find((ze) => ze.id === Le.id);
|
|
51124
|
-
Wr && (
|
|
51124
|
+
Wr && (dt = Wr.desc, vr = Wr.rewards), h && (H([]), We && ($e = l == null ? void 0 : l.orderFeedback) != null && $e.desc && (dt = l.orderFeedback.desc, vr = l.orderFeedback.rewards)), y && (_t(), kt()), I((ze) => ({
|
|
51125
51125
|
...ze,
|
|
51126
51126
|
show: !0,
|
|
51127
51127
|
success: !1,
|
|
51128
|
-
text:
|
|
51128
|
+
text: dt,
|
|
51129
51129
|
rewards: vr
|
|
51130
51130
|
})), Be("fail");
|
|
51131
51131
|
}
|
|
51132
|
-
},
|
|
51132
|
+
}, ct = useCallback(() => {
|
|
51133
51133
|
de.current = Date.now();
|
|
51134
51134
|
const Le = de.current + fe.current;
|
|
51135
51135
|
ne.current = null, se.current = Le, (y || Q) && (B.success ? f.length === G.length || E && G.length > 0 ? _t() : (Re(fe.current * 1e-3), ht(), Ke()) : (H([]), X(!0), P())), er(B.rewards, B.success), Be("click-ui"), I((We) => ({
|
|
@@ -51161,8 +51161,8 @@ function ImageClickWrapperComponent(o) {
|
|
|
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
|
-
const
|
|
51165
|
-
|
|
51164
|
+
const dt = (je = A.correctFeedbacks) == null ? void 0 : je.find((vr) => vr.id === Le.id);
|
|
51165
|
+
dt && ($e = dt.desc, jt = dt.rewards), !$e && f.length > Mt.length && !E ? er(jt, !0) : $e && !E && (I((vr) => ({
|
|
51166
51166
|
...vr,
|
|
51167
51167
|
show: !0,
|
|
51168
51168
|
success: !0,
|
|
@@ -51200,7 +51200,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51200
51200
|
translate: Ve,
|
|
51201
51201
|
hasTimeout: !B.text,
|
|
51202
51202
|
delay: y ? 1e3 : 2e3,
|
|
51203
|
-
functionOnClose:
|
|
51203
|
+
functionOnClose: ct,
|
|
51204
51204
|
timeExpired: Q,
|
|
51205
51205
|
keyboardControl: F
|
|
51206
51206
|
}
|
|
@@ -51211,7 +51211,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51211
51211
|
completed: W,
|
|
51212
51212
|
imageUrl: pt,
|
|
51213
51213
|
areas: E && G.length ? [G[0]] : yt,
|
|
51214
|
-
badAreas:
|
|
51214
|
+
badAreas: at,
|
|
51215
51215
|
clickedZones: G,
|
|
51216
51216
|
onClick: he,
|
|
51217
51217
|
onClickOutside: mt,
|
|
@@ -53528,19 +53528,19 @@ function WriterPuzzleComponent({
|
|
|
53528
53528
|
}
|
|
53529
53529
|
}), [O, k] = useState(!1), [L, F] = useState([]), [G, H] = useState(!1), [W, ee] = useState(!1), [q, z] = useState(!1), [B, I] = useState(!0), [U, V] = useState([]), [X, Q] = useState(!0), [J] = y, ie = useRef({}), ne = (Ke) => {
|
|
53530
53530
|
let mt;
|
|
53531
|
-
return Ke.electionTexts.forEach((
|
|
53532
|
-
|
|
53531
|
+
return Ke.electionTexts.forEach((ct, he) => {
|
|
53532
|
+
ct.correct && (mt = he);
|
|
53533
53533
|
}), mt;
|
|
53534
53534
|
}, Z = useCallback(
|
|
53535
|
-
(Ke) => L.filter((
|
|
53535
|
+
(Ke) => L.filter((ct) => ct.currenTextParagraph === Ke)[0].fullText_labelId,
|
|
53536
53536
|
[L]
|
|
53537
53537
|
), se = useCallback(
|
|
53538
53538
|
() => h.map((Ke, mt) => {
|
|
53539
53539
|
if (Ke.type === "fixed")
|
|
53540
53540
|
return Ke.fullText_labelId ?? Ke.fullText;
|
|
53541
53541
|
if (Ke.type === "election") {
|
|
53542
|
-
const
|
|
53543
|
-
return
|
|
53542
|
+
const ct = ne(Ke);
|
|
53543
|
+
return ct >= 0 ? Ke.electionTexts[ct].fullText_labelId : Z(mt);
|
|
53544
53544
|
}
|
|
53545
53545
|
return "";
|
|
53546
53546
|
}),
|
|
@@ -53549,8 +53549,8 @@ function WriterPuzzleComponent({
|
|
|
53549
53549
|
if (L) {
|
|
53550
53550
|
const Ke = L.length;
|
|
53551
53551
|
let mt = 0;
|
|
53552
|
-
for (let
|
|
53553
|
-
L[
|
|
53552
|
+
for (let ct = 0; ct < Ke; ct += 1)
|
|
53553
|
+
L[ct].isCorrect === "none" && (mt += 1);
|
|
53554
53554
|
return mt === Ke;
|
|
53555
53555
|
}
|
|
53556
53556
|
return !0;
|
|
@@ -53558,8 +53558,8 @@ function WriterPuzzleComponent({
|
|
|
53558
53558
|
if (L) {
|
|
53559
53559
|
const Ke = L.length;
|
|
53560
53560
|
let mt = 0;
|
|
53561
|
-
for (let
|
|
53562
|
-
L[
|
|
53561
|
+
for (let ct = 0; ct < Ke; ct += 1)
|
|
53562
|
+
L[ct].isCorrect === "green" && (mt += 1);
|
|
53563
53563
|
return mt === Ke;
|
|
53564
53564
|
}
|
|
53565
53565
|
return !0;
|
|
@@ -53611,11 +53611,11 @@ function WriterPuzzleComponent({
|
|
|
53611
53611
|
}, Be = () => {
|
|
53612
53612
|
ce() ? de() && (H(!0), Re()) : (H(!0), z(!0), Re()), G ? (I(!1), q && !W ? ee(!0) : (W || !q && !W) && (!q && !W && t ? fe() ? Re() : Ve() : Re())) : (H(!0), xe() && z(!0));
|
|
53613
53613
|
}, qe = () => {
|
|
53614
|
-
const Ke = h[A].electionTexts.filter((
|
|
53614
|
+
const Ke = h[A].electionTexts.filter((ct) => ct.correct).length, mt = h[A].electionTexts;
|
|
53615
53615
|
return Ke === 0 || Ke === mt;
|
|
53616
53616
|
}, pt = (Ke) => {
|
|
53617
|
-
const mt = h[A].electionTexts[Ke],
|
|
53618
|
-
|
|
53617
|
+
const mt = h[A].electionTexts[Ke], ct = mt.feedback.rewards;
|
|
53618
|
+
ct && ct[0] && ct[0].points && (ie.current[`t${A}_e${Ke}`] || (mt.correct && (ie.current[`t${A}_e${Ke}`] = !0), V([...U, ...ct])));
|
|
53619
53619
|
const he = () => qe() ? "none" : mt.correct ? "green" : "red", pe = {
|
|
53620
53620
|
currenTextParagraph: A,
|
|
53621
53621
|
fullText: mt.fullText,
|
|
@@ -53632,7 +53632,7 @@ function WriterPuzzleComponent({
|
|
|
53632
53632
|
}), F([...L, pe]);
|
|
53633
53633
|
}, yt = () => {
|
|
53634
53634
|
p.current.scrollTop = p.current.scrollHeight + 100;
|
|
53635
|
-
},
|
|
53635
|
+
}, at = () => {
|
|
53636
53636
|
if (p.current.querySelector(".wrapfixed").offsetHeight > p.current.offsetHeight) {
|
|
53637
53637
|
const Ke = p.current.querySelector(".wrapfixed").offsetHeight;
|
|
53638
53638
|
p.current.scrollTo({
|
|
@@ -53640,28 +53640,28 @@ function WriterPuzzleComponent({
|
|
|
53640
53640
|
behavior: "smooth"
|
|
53641
53641
|
});
|
|
53642
53642
|
}
|
|
53643
|
-
}, ht = (Ke, mt,
|
|
53644
|
-
const he = Ke.fullText, pe = h[
|
|
53643
|
+
}, ht = (Ke, mt, ct) => {
|
|
53644
|
+
const he = Ke.fullText, pe = h[ct + 1] ? h[ct + 1].type : "", ve = (
|
|
53645
53645
|
// its magic
|
|
53646
|
-
P[`text_${
|
|
53646
|
+
P[`text_${ct + 1}`] && P[`text_${ct + 1}`].type ? P[`text_${ct + 1}`].type : pe
|
|
53647
53647
|
);
|
|
53648
53648
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
53649
53649
|
FixedComponent,
|
|
53650
53650
|
{
|
|
53651
53651
|
length: mt,
|
|
53652
53652
|
doneTyping: O,
|
|
53653
|
-
index:
|
|
53653
|
+
index: ct,
|
|
53654
53654
|
delay: oe,
|
|
53655
53655
|
setDoneTyping: k,
|
|
53656
|
-
nextParagraphType:
|
|
53657
|
-
isWriting:
|
|
53656
|
+
nextParagraphType: ve,
|
|
53657
|
+
isWriting: at,
|
|
53658
53658
|
textToPrint: he
|
|
53659
53659
|
},
|
|
53660
|
-
|
|
53660
|
+
ct.toString()
|
|
53661
53661
|
);
|
|
53662
53662
|
}, er = (Ke, mt) => {
|
|
53663
|
-
const
|
|
53664
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(FinishedTextComponent, { textToPrint:
|
|
53663
|
+
const ct = Ke.fullText;
|
|
53664
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FinishedTextComponent, { textToPrint: ct, correct: Ke.correct }, mt);
|
|
53665
53665
|
}, Ot = (Ke) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
53666
53666
|
ElectionComponent,
|
|
53667
53667
|
{
|
|
@@ -53672,7 +53672,7 @@ function WriterPuzzleComponent({
|
|
|
53672
53672
|
disableExit: X
|
|
53673
53673
|
},
|
|
53674
53674
|
Ke.electionTexts
|
|
53675
|
-
), _t = (Ke, mt,
|
|
53675
|
+
), _t = (Ke, mt, ct) => Ke.type === "fixed" ? ht(Ke, mt, ct) : Ot(Ke);
|
|
53676
53676
|
useEffect(() => {
|
|
53677
53677
|
O === !0 && (() => {
|
|
53678
53678
|
h[A + 1] ? (w({
|
|
@@ -57416,30 +57416,30 @@ function DialogComponent({
|
|
|
57416
57416
|
voiceOver: !1,
|
|
57417
57417
|
avatar: "",
|
|
57418
57418
|
show: !1
|
|
57419
|
-
}), Oe = useMemo(() => r.reduce((ze,
|
|
57419
|
+
}), Oe = useMemo(() => r.reduce((ze, Ie) => (Ie.slots && Ie.slots.filter((bt) => bt.uid).forEach((bt) => {
|
|
57420
57420
|
ze.includes(bt.uid) || ze.push(bt.uid);
|
|
57421
57421
|
}), ze), []), [r]), Re = useCallback((ze) => e({ type: "translate", payload: ze }), [e]), [Ve, Be] = useState([]), qe = useMemo(() => Ve[Ve.length - 1], [Ve]), pt = useCallback(() => {
|
|
57422
|
-
const ze = n.find((
|
|
57423
|
-
return !qe && (h == null ? void 0 : h.line) >= 0 ? { decision: !0 } :
|
|
57422
|
+
const ze = n.find((nt) => nt.fromId === qe) || n.find((nt) => nt.toId === qe), Ie = r.find((nt) => nt.id === (ze == null ? void 0 : ze.fromId));
|
|
57423
|
+
return !qe && (h == null ? void 0 : h.line) >= 0 ? { decision: !0 } : Ie;
|
|
57424
57424
|
}, [n, r, qe]), yt = useCallback(() => {
|
|
57425
57425
|
if (W) {
|
|
57426
|
-
const
|
|
57427
|
-
return
|
|
57426
|
+
const Ie = pt();
|
|
57427
|
+
return Ie == null ? void 0 : Ie.decision;
|
|
57428
57428
|
}
|
|
57429
57429
|
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57430
57430
|
return E > 0 && (ze == null ? void 0 : ze.decision);
|
|
57431
|
-
}, [F, W, r, qe, n]),
|
|
57431
|
+
}, [F, W, r, qe, n]), at = useCallback(() => {
|
|
57432
57432
|
if (W) {
|
|
57433
|
-
const
|
|
57434
|
-
return (
|
|
57433
|
+
const Ie = pt();
|
|
57434
|
+
return (Ie == null ? void 0 : Ie.type) === "conversationalCamera";
|
|
57435
57435
|
}
|
|
57436
57436
|
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57437
57437
|
return E > 0 && (ze == null ? void 0 : ze.type) === "conversationalCamera";
|
|
57438
57438
|
}, [F, W, r, qe, n]), ht = useCallback(
|
|
57439
57439
|
(ze) => {
|
|
57440
|
-
var
|
|
57441
|
-
const
|
|
57442
|
-
return ((bt = (
|
|
57440
|
+
var nt, bt;
|
|
57441
|
+
const Ie = t.find((st) => (st == null ? void 0 : st.uid) === (ze == null ? void 0 : ze.uid) ? st : "");
|
|
57442
|
+
return ((bt = (nt = ze == null ? void 0 : ze.character) == null ? void 0 : nt.resource) == null ? void 0 : bt.url) || (Ie == null ? void 0 : Ie.completeUrl) || "";
|
|
57443
57443
|
},
|
|
57444
57444
|
[t]
|
|
57445
57445
|
), er = (ze = () => {
|
|
@@ -57448,11 +57448,11 @@ function DialogComponent({
|
|
|
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 Ie = L.current.child ? L.current.pos : k.position.toArray();
|
|
57452
|
+
if (animationTarget.position.fromArray(Ie), L.current.parent) {
|
|
57453
57453
|
animationTarget.quaternion.equals(R.quaternion) || animationTarget.applyQuaternion(R.quaternion);
|
|
57454
|
-
const
|
|
57455
|
-
animationTarget.translateX(-10 *
|
|
57454
|
+
const nt = L.current.isLeft ? -1 : 1, bt = headSize * nt;
|
|
57455
|
+
animationTarget.translateX(-10 * nt + bt), animationTarget.translateY(-2), animationTarget.translateZ(30);
|
|
57456
57456
|
}
|
|
57457
57457
|
gsapWithCSS.to(R.position, {
|
|
57458
57458
|
duration: 0.9,
|
|
@@ -57461,17 +57461,17 @@ function DialogComponent({
|
|
|
57461
57461
|
I.current = !0;
|
|
57462
57462
|
},
|
|
57463
57463
|
onUpdate: () => {
|
|
57464
|
-
O.current.length && O.current.forEach((
|
|
57465
|
-
const { object: bt } =
|
|
57464
|
+
O.current.length && O.current.forEach((nt) => {
|
|
57465
|
+
const { object: bt } = nt;
|
|
57466
57466
|
bt.material.visible = !0;
|
|
57467
57467
|
});
|
|
57468
57468
|
},
|
|
57469
57469
|
onComplete: () => {
|
|
57470
57470
|
ze(), raycast.set(R.getWorldPosition(new Vector3(0, 0, 0)), R.getWorldDirection(new Vector3()));
|
|
57471
|
-
const
|
|
57472
|
-
O.current =
|
|
57473
|
-
const { object:
|
|
57474
|
-
|
|
57471
|
+
const nt = raycast.intersectObjects(A.children, !0);
|
|
57472
|
+
O.current = nt.filter((bt) => bt.distance < 10), O.current.length && O.current.forEach((bt) => {
|
|
57473
|
+
const { object: st } = bt;
|
|
57474
|
+
st.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,9 +57479,9 @@ function DialogComponent({
|
|
|
57479
57479
|
}
|
|
57480
57480
|
}, Ot = useCallback(() => {
|
|
57481
57481
|
L.current.child = null, L.current.parent = null, l && er();
|
|
57482
|
-
}, [l]), _t = (ze,
|
|
57483
|
-
const
|
|
57484
|
-
|
|
57482
|
+
}, [l]), _t = (ze, Ie, nt, bt = !1) => {
|
|
57483
|
+
const st = Ie.includes("seated");
|
|
57484
|
+
nt ? V(ze, nt.url, Ie.includes("talking")).then((It) => {
|
|
57485
57485
|
if (It) {
|
|
57486
57486
|
const ir = It.setLoop(LoopRepeat, 1 / 0).getMixer(), Yr = () => {
|
|
57487
57487
|
H.current ? U(ze, "idle").then(() => {
|
|
@@ -57490,31 +57490,31 @@ function DialogComponent({
|
|
|
57490
57490
|
ir.removeEventListener("loop", Yr);
|
|
57491
57491
|
});
|
|
57492
57492
|
};
|
|
57493
|
-
It && BASIC_ACTIONS_TYPES_WHITELIST.includes(
|
|
57493
|
+
It && BASIC_ACTIONS_TYPES_WHITELIST.includes(nt.animationId) ? ir.addEventListener("loop", Yr) : ir._listeners && (ir._listeners.loop = []);
|
|
57494
57494
|
}
|
|
57495
|
-
}) : U(ze, bt && !
|
|
57495
|
+
}) : U(ze, bt && !st ? `${Ie}-seated` : Ie);
|
|
57496
57496
|
}, kt = () => {
|
|
57497
57497
|
if (!(B != null && B.emotion) || H.current)
|
|
57498
57498
|
return;
|
|
57499
|
-
const { emotion: ze, uid:
|
|
57499
|
+
const { emotion: ze, uid: Ie, animation: nt } = B, bt = getCurrentVisible(Ie, A);
|
|
57500
57500
|
if (bt) {
|
|
57501
|
-
const { isSeated:
|
|
57502
|
-
Q(
|
|
57501
|
+
const { isSeated: st } = bt;
|
|
57502
|
+
Q(Ie).then(() => {
|
|
57503
57503
|
_t(
|
|
57504
|
-
|
|
57505
|
-
|
|
57506
|
-
|
|
57507
|
-
|
|
57508
|
-
),
|
|
57504
|
+
Ie,
|
|
57505
|
+
st && !ze.includes("seated") ? `${ze}-seated_talking` : `${ze}_talking`,
|
|
57506
|
+
nt,
|
|
57507
|
+
st
|
|
57508
|
+
), nt && BASIC_ACTIONS_TYPES_WHITELIST.includes(nt.animationId) && (ie.current = Ie);
|
|
57509
57509
|
});
|
|
57510
57510
|
}
|
|
57511
57511
|
}, Ft = () => {
|
|
57512
57512
|
if (!(B != null && B.uid) || H.current)
|
|
57513
57513
|
return;
|
|
57514
|
-
const { emotion: ze, uid:
|
|
57514
|
+
const { emotion: ze, uid: Ie, animation: nt } = B, bt = getCurrentVisible(Ie, A);
|
|
57515
57515
|
if (bt) {
|
|
57516
|
-
const { isSeated:
|
|
57517
|
-
ie.current ===
|
|
57516
|
+
const { isSeated: st } = bt;
|
|
57517
|
+
ie.current === Ie ? (_t(Ie, "neutral", null, st), ie.current = null) : _t(Ie, ze, nt, st);
|
|
57518
57518
|
}
|
|
57519
57519
|
}, Ke = useCallback(() => {
|
|
57520
57520
|
H.current = !0, xe({ show: !1 }), Ot(), X(), l || e({ type: "success" });
|
|
@@ -57524,56 +57524,56 @@ function DialogComponent({
|
|
|
57524
57524
|
}, []);
|
|
57525
57525
|
const mt = (ze) => {
|
|
57526
57526
|
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57527
|
-
},
|
|
57527
|
+
}, ct = useCallback(
|
|
57528
57528
|
(ze = !0) => {
|
|
57529
|
-
const
|
|
57530
|
-
if (!(bt != null && bt[
|
|
57529
|
+
const Ie = ze ? ["fromId", "toId"] : ["toId", "fromId"], nt = n.filter((It) => It[Ie[0]] === F.id), bt = nt.length === 1 ? nt[0] : nt.find((It) => It[Ie[1]] === qe);
|
|
57530
|
+
if (!(bt != null && bt[Ie[0]])) {
|
|
57531
57531
|
Ke();
|
|
57532
57532
|
return;
|
|
57533
57533
|
}
|
|
57534
57534
|
ze || Be(Ve.slice(0, Ve.length - 1));
|
|
57535
|
-
const
|
|
57536
|
-
|
|
57535
|
+
const st = r.findIndex((It) => It.id === bt[Ie[1]]);
|
|
57536
|
+
st >= 0 ? mt(st) : Ke();
|
|
57537
57537
|
},
|
|
57538
57538
|
[F == null ? void 0 : F.id, e, n, Ke, r]
|
|
57539
57539
|
), he = useCallback(
|
|
57540
|
-
(ze,
|
|
57541
|
-
const
|
|
57542
|
-
It >= 0 ? (
|
|
57540
|
+
(ze, Ie) => {
|
|
57541
|
+
const nt = [3, 2, 1][ze.id], st = n.filter((ir) => ir.fromId === (F == null ? void 0 : F.id)).find((ir) => parseInt(ir.fromPointIndex) === nt), It = r.findIndex((ir) => ir.id === (st == null ? void 0 : st.toId));
|
|
57542
|
+
It >= 0 ? (st == null ? void 0 : st.fromId) === (st == null ? void 0 : st.toId) ? Ie() : mt(It) : Ke();
|
|
57543
57543
|
},
|
|
57544
57544
|
[F == null ? void 0 : F.id, n, Ke, r]
|
|
57545
57545
|
), pe = useCallback(() => {
|
|
57546
57546
|
if (z.current = { ...B }, S(!1), Ft(), W)
|
|
57547
|
-
|
|
57547
|
+
ct(!1);
|
|
57548
57548
|
else if (!yt()) {
|
|
57549
57549
|
const ze = E - 1;
|
|
57550
57550
|
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57551
57551
|
}
|
|
57552
|
-
}, [
|
|
57552
|
+
}, [ct, e, W, G, E, B]), ve = useCallback(
|
|
57553
57553
|
(ze) => {
|
|
57554
57554
|
if (W) {
|
|
57555
57555
|
if (ze) {
|
|
57556
|
-
const
|
|
57556
|
+
const Ie = [3, 2, 1][ze.id], bt = n.filter((st) => st.fromId === F.id).find((st) => parseInt(st.fromPointIndex) === Ie);
|
|
57557
57557
|
if (bt) {
|
|
57558
|
-
const
|
|
57559
|
-
|
|
57558
|
+
const st = r.findIndex((It) => It.id === bt.toId);
|
|
57559
|
+
st >= 0 && e({ type: "notifyProgress", payload: { line: st } });
|
|
57560
57560
|
} else
|
|
57561
57561
|
e({ type: "saveNode" });
|
|
57562
57562
|
}
|
|
57563
57563
|
} else if (E < r.length - 1) {
|
|
57564
|
-
const
|
|
57565
|
-
e({ type: "notifyProgress", payload: { line:
|
|
57564
|
+
const Ie = E + 1;
|
|
57565
|
+
e({ type: "notifyProgress", payload: { line: Ie } });
|
|
57566
57566
|
} else
|
|
57567
57567
|
e({ type: "saveNode" });
|
|
57568
57568
|
},
|
|
57569
57569
|
[n, E, r, e, F.id, W]
|
|
57570
57570
|
), Ce = useCallback(
|
|
57571
|
-
(ze,
|
|
57571
|
+
(ze, Ie) => {
|
|
57572
57572
|
if (z.current = { ...B }, Be([...Ve, F.id]), S(!1), Ft(), W)
|
|
57573
|
-
ze ? he(ze,
|
|
57573
|
+
ze ? he(ze, Ie) : ct();
|
|
57574
57574
|
else if (E < r.length - 1) {
|
|
57575
|
-
const
|
|
57576
|
-
mt(
|
|
57575
|
+
const nt = E + 1;
|
|
57576
|
+
mt(nt);
|
|
57577
57577
|
} else
|
|
57578
57578
|
(f || oe || de) && Ke();
|
|
57579
57579
|
},
|
|
@@ -57586,7 +57586,7 @@ function DialogComponent({
|
|
|
57586
57586
|
E,
|
|
57587
57587
|
r.length,
|
|
57588
57588
|
he,
|
|
57589
|
-
|
|
57589
|
+
ct,
|
|
57590
57590
|
Ke,
|
|
57591
57591
|
B
|
|
57592
57592
|
]
|
|
@@ -57602,9 +57602,9 @@ function DialogComponent({
|
|
|
57602
57602
|
C(!0), g(ze);
|
|
57603
57603
|
return;
|
|
57604
57604
|
}
|
|
57605
|
-
const
|
|
57606
|
-
if (
|
|
57607
|
-
const
|
|
57605
|
+
const Ie = r.filter((nt) => !n.find((bt) => bt.toId === nt.id));
|
|
57606
|
+
if (Ie.length) {
|
|
57607
|
+
const nt = Ie[0], bt = r.indexOf(nt);
|
|
57608
57608
|
bt >= 0 && (C(!0), g(bt));
|
|
57609
57609
|
}
|
|
57610
57610
|
}
|
|
@@ -57612,16 +57612,16 @@ function DialogComponent({
|
|
|
57612
57612
|
const $e = (ze) => {
|
|
57613
57613
|
if (z.current.uid === ze.uid || L.current.parent === ze)
|
|
57614
57614
|
return;
|
|
57615
|
-
const
|
|
57616
|
-
|
|
57617
|
-
const bt = l ? 2.5 : 2,
|
|
57618
|
-
|
|
57615
|
+
const Ie = new Object3D(), nt = ze.getObjectByName("Head_M");
|
|
57616
|
+
nt.updateMatrixWorld(!0), Ie.applyMatrix4(nt.matrixWorld), Ie.applyQuaternion(R.quaternion);
|
|
57617
|
+
const bt = l ? 2.5 : 2, st = l ? 1.2 : 1.5;
|
|
57618
|
+
Ie.translateY(bt), Ie.translateX(st);
|
|
57619
57619
|
const It = new Vector3();
|
|
57620
|
-
It.setFromMatrixPosition(
|
|
57620
|
+
It.setFromMatrixPosition(nt.matrixWorld);
|
|
57621
57621
|
const Yr = It.project(R).x < 0;
|
|
57622
57622
|
L.current = {
|
|
57623
|
-
pos:
|
|
57624
|
-
child:
|
|
57623
|
+
pos: Ie.position.toArray(),
|
|
57624
|
+
child: nt,
|
|
57625
57625
|
parent: ze,
|
|
57626
57626
|
isLeft: Yr
|
|
57627
57627
|
};
|
|
@@ -57642,22 +57642,22 @@ function DialogComponent({
|
|
|
57642
57642
|
show: !0
|
|
57643
57643
|
});
|
|
57644
57644
|
else if (!H.current && !oe && !de) {
|
|
57645
|
-
const
|
|
57646
|
-
if (Oe.filter((
|
|
57647
|
-
U(
|
|
57648
|
-
}),
|
|
57649
|
-
const It = getCurrentVisible(
|
|
57645
|
+
const Ie = F == null ? void 0 : F.slots.filter((st) => st.uid && !st.talking), nt = [...Ie.map((st) => st.uid) || [], B == null ? void 0 : B.uid];
|
|
57646
|
+
if (Oe.filter((st) => !nt.includes(st)).forEach((st) => {
|
|
57647
|
+
U(st, "idle");
|
|
57648
|
+
}), Ie.forEach((st) => {
|
|
57649
|
+
const It = getCurrentVisible(st.uid, A);
|
|
57650
57650
|
if (It) {
|
|
57651
57651
|
const { isSeated: ir } = It;
|
|
57652
|
-
_t(
|
|
57652
|
+
_t(st.uid, st.emotion, st.animation, ir);
|
|
57653
57653
|
}
|
|
57654
57654
|
}), B) {
|
|
57655
|
-
const
|
|
57656
|
-
|
|
57655
|
+
const st = getCurrentVisible(B.uid, A), It = t.find((ir) => ir.uid === B.uid);
|
|
57656
|
+
st && !H.current ? setTimeout(() => {
|
|
57657
57657
|
var ir, Yr;
|
|
57658
|
-
if (B.uid ===
|
|
57659
|
-
$e(
|
|
57660
|
-
const { isSeated: Ui, userData: ja } =
|
|
57658
|
+
if (B.uid === st.uid) {
|
|
57659
|
+
$e(st);
|
|
57660
|
+
const { isSeated: Ui, userData: ja } = st, { emotion: la, animation: Gi } = B;
|
|
57661
57661
|
!((ir = ja._active) != null && ir.includes("talking")) && !((Yr = ja._active) != null && Yr.includes(la)) && _t(B.uid, la, Gi, Ui);
|
|
57662
57662
|
const kr = () => {
|
|
57663
57663
|
var ge;
|
|
@@ -57725,19 +57725,19 @@ function DialogComponent({
|
|
|
57725
57725
|
var ze;
|
|
57726
57726
|
if (((F == null ? void 0 : F.audioType) === "none" || T) && (ce != null && ce.show) && !(B != null && B.emotion.includes("think"))) {
|
|
57727
57727
|
kt();
|
|
57728
|
-
const
|
|
57728
|
+
const Ie = characterMs * (((ze = ce == null ? void 0 : ce.text) == null ? void 0 : ze.length) || 0);
|
|
57729
57729
|
setTimeout(
|
|
57730
57730
|
() => {
|
|
57731
57731
|
Ft();
|
|
57732
57732
|
},
|
|
57733
|
-
|
|
57733
|
+
Ie < minMs ? minMs : Ie
|
|
57734
57734
|
);
|
|
57735
57735
|
}
|
|
57736
57736
|
}, [T, F == null ? void 0 : F.audioType, B == null ? void 0 : B.emotion, ce]), useEffect(() => {
|
|
57737
57737
|
var ze;
|
|
57738
57738
|
if (fe && ce.show && ((F == null ? void 0 : F.audioType) === "none" || T) && !c) {
|
|
57739
|
-
const
|
|
57740
|
-
(!We() || We() && f) && P(Ce,
|
|
57739
|
+
const Ie = characterMs * (((ze = ce == null ? void 0 : ce.text) == null ? void 0 : ze.length) || 0);
|
|
57740
|
+
(!We() || We() && f) && P(Ce, Ie < minMs ? minMs : Ie);
|
|
57741
57741
|
}
|
|
57742
57742
|
return () => {
|
|
57743
57743
|
w();
|
|
@@ -57754,9 +57754,9 @@ function DialogComponent({
|
|
|
57754
57754
|
Z,
|
|
57755
57755
|
T
|
|
57756
57756
|
]);
|
|
57757
|
-
const
|
|
57757
|
+
const dt = useMemo(() => E === 0 || yt() || at(), [E, yt, at]);
|
|
57758
57758
|
o(
|
|
57759
|
-
oe ||
|
|
57759
|
+
oe || dt || !ce.show ? null : Le,
|
|
57760
57760
|
oe || !ce.show ? null : je
|
|
57761
57761
|
);
|
|
57762
57762
|
const vr = document.querySelector(".screens--container");
|
|
@@ -57772,16 +57772,16 @@ function DialogComponent({
|
|
|
57772
57772
|
`change-camera-${E}`
|
|
57773
57773
|
);
|
|
57774
57774
|
if (oe) {
|
|
57775
|
-
const ze = {
|
|
57775
|
+
const ze = F.id ? r.filter((nt) => nt.decision).findIndex((nt) => nt.id === F.id) + 1 : r.filter((nt) => nt.decision).findIndex((nt) => nt === F) + 1, Ie = {
|
|
57776
57776
|
...F.payload,
|
|
57777
|
-
decisionNumber:
|
|
57777
|
+
decisionNumber: ze,
|
|
57778
57778
|
inheritProps: {
|
|
57779
57779
|
slots: [],
|
|
57780
57780
|
disableBackground: !0
|
|
57781
57781
|
},
|
|
57782
57782
|
required: !W,
|
|
57783
57783
|
branched: W,
|
|
57784
|
-
onAddPoints:
|
|
57784
|
+
onAddPoints: ve,
|
|
57785
57785
|
onFinish: Ce,
|
|
57786
57786
|
emitEvent: e,
|
|
57787
57787
|
pause: c,
|
|
@@ -57794,7 +57794,7 @@ function DialogComponent({
|
|
|
57794
57794
|
I.current = !1, jt(!1);
|
|
57795
57795
|
}
|
|
57796
57796
|
};
|
|
57797
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(DialogDecision, { ...
|
|
57797
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(DialogDecision, { ...Ie });
|
|
57798
57798
|
}
|
|
57799
57799
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57800
57800
|
ce.text ? /* @__PURE__ */ jsxRuntimeExports.jsx(BubbleWrapper, { translate: Re, currentMessage: ce }) : null,
|
|
@@ -57814,8 +57814,8 @@ function DialogComponent({
|
|
|
57814
57814
|
{
|
|
57815
57815
|
type: "button",
|
|
57816
57816
|
onClick: Le,
|
|
57817
|
-
disabled:
|
|
57818
|
-
className: `gat--btn__round ${
|
|
57817
|
+
disabled: dt || !ce.show,
|
|
57818
|
+
className: `gat--btn__round ${dt || !ce.show ? "disabled" : ""}`,
|
|
57819
57819
|
"aria-label": LangIsRtl() ? Re("storylines.misc.forward") : Re("storylines.misc.rewind"),
|
|
57820
57820
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: LangIsRtl() ? "icon-next" : "icon-back" })
|
|
57821
57821
|
}
|
|
@@ -57839,29 +57839,27 @@ function DialogComponent({
|
|
|
57839
57839
|
] });
|
|
57840
57840
|
}
|
|
57841
57841
|
function AnimationComponent({ animation: o, loopTimes: e, resource: r, enableInteraction: t, makeDefault: n, emitEvent: a }) {
|
|
57842
|
-
const [l, u] = useState(!1), f = useThree((
|
|
57842
|
+
const [l, u] = useState(!1), f = useThree((y) => y.scene), c = useMemo(() => new GLTFLoader(), []), h = useRef(0);
|
|
57843
57843
|
return useEffect(() => {
|
|
57844
57844
|
u(!1);
|
|
57845
57845
|
}, [r.uid, o == null ? void 0 : o.url]), useEffect(() => {
|
|
57846
57846
|
if (!l) {
|
|
57847
|
-
|
|
57848
|
-
if (
|
|
57849
|
-
r.uid && y.uid === r.uid && !h && (h = y);
|
|
57850
|
-
}), h && o && h.skeletonId === o.skeletonId)
|
|
57847
|
+
const y = f.getObjectByProperty("uid", r.uid);
|
|
57848
|
+
if (y && o && y.skeletonId === o.skeletonId)
|
|
57851
57849
|
if (n)
|
|
57852
57850
|
a({
|
|
57853
57851
|
type: "saveAnimation",
|
|
57854
|
-
payload: { uid: r.uid, animation: o.id, index:
|
|
57852
|
+
payload: { uid: r.uid, animation: o.id, index: y.index }
|
|
57855
57853
|
}), a({ type: "success" });
|
|
57856
57854
|
else {
|
|
57857
|
-
const
|
|
57858
|
-
|
|
57859
|
-
const { mixer:
|
|
57860
|
-
|
|
57861
|
-
|
|
57862
|
-
|
|
57863
|
-
}
|
|
57864
|
-
|
|
57855
|
+
const E = t;
|
|
57856
|
+
E || a({ type: "success" }), c.load(o.url, (g) => {
|
|
57857
|
+
const { mixer: _, clipAction: p, defaultAnim: x } = y.userData.animation;
|
|
57858
|
+
p(g.animations[0], y).setLoop(LoopRepeat, 1 / 0), h.current = 0;
|
|
57859
|
+
function T() {
|
|
57860
|
+
h.current += 1, h.current >= e && (p(x, y), E && a({ type: "success" }), _.removeEventListener("loop", T));
|
|
57861
|
+
}
|
|
57862
|
+
_._listeners && (_._listeners.loop = []), _.addEventListener("loop", T), u(!0);
|
|
57865
57863
|
});
|
|
57866
57864
|
}
|
|
57867
57865
|
else
|