@streamlayer/react 0.41.6 → 0.41.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/useStreamLayerApp.js +1 -1
- package/lib/dist/cjs/masters.js +40 -40
- package/lib/dist/es/masters.js +1016 -1016
- package/lib/dist/index.d.ts +1 -3
- package/lib/dist/style.css +1 -1
- package/lib/es/useStreamLayerApp.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +6 -6
package/lib/dist/es/masters.js
CHANGED
|
@@ -306,31 +306,31 @@ function oO(n, r, s) {
|
|
|
306
306
|
function D(de) {
|
|
307
307
|
return w = de, T = setTimeout(W, r), C ? A(de) : p;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function B(de) {
|
|
310
310
|
var se = de - b, Re = de - w, Ce = r - se;
|
|
311
311
|
return R ? rO(Ce, f - Re) : Ce;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function z(de) {
|
|
314
314
|
var se = de - b, Re = de - w;
|
|
315
315
|
return b === void 0 || se >= r || se < 0 || R && Re >= f;
|
|
316
316
|
}
|
|
317
317
|
function W() {
|
|
318
318
|
var de = E8();
|
|
319
|
-
if (
|
|
320
|
-
return
|
|
321
|
-
T = setTimeout(W,
|
|
319
|
+
if (z(de))
|
|
320
|
+
return G(de);
|
|
321
|
+
T = setTimeout(W, B(de));
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function G(de) {
|
|
324
324
|
return T = void 0, L && c ? A(de) : (c = u = void 0, p);
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function ee() {
|
|
327
327
|
T !== void 0 && clearTimeout(T), w = 0, c = b = u = T = void 0;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
330
|
-
return T === void 0 ? p :
|
|
329
|
+
function ne() {
|
|
330
|
+
return T === void 0 ? p : G(E8());
|
|
331
331
|
}
|
|
332
|
-
function
|
|
333
|
-
var de = E8(), se =
|
|
332
|
+
function J() {
|
|
333
|
+
var de = E8(), se = z(de);
|
|
334
334
|
if (c = arguments, u = this, b = de, se) {
|
|
335
335
|
if (T === void 0)
|
|
336
336
|
return D(b);
|
|
@@ -339,7 +339,7 @@ function oO(n, r, s) {
|
|
|
339
339
|
}
|
|
340
340
|
return T === void 0 && (T = setTimeout(W, r)), p;
|
|
341
341
|
}
|
|
342
|
-
return
|
|
342
|
+
return J.cancel = ee, J.flush = ne, J;
|
|
343
343
|
}
|
|
344
344
|
function sO(n, r, s) {
|
|
345
345
|
var c = !0, u = !0;
|
|
@@ -503,8 +503,8 @@ function ul(n) {
|
|
|
503
503
|
let f = n.browser.serialize;
|
|
504
504
|
Array.isArray(n.browser.serialize) && n.browser.serialize.indexOf("!stdSerializers.err") > -1 && (f = !1);
|
|
505
505
|
const p = Object.keys(n.customLevels || {}), T = ["error", "fatal", "warn", "info", "debug", "trace"].concat(p);
|
|
506
|
-
typeof s == "function" && T.forEach(function(
|
|
507
|
-
s[
|
|
506
|
+
typeof s == "function" && T.forEach(function(B) {
|
|
507
|
+
s[B] = s;
|
|
508
508
|
}), (n.enabled === !1 || n.browser.disabled) && (n.level = "silent");
|
|
509
509
|
const b = n.level || "info", w = Object.create(s);
|
|
510
510
|
w.log || (w.log = m0), hO(w, T, s), Tk({}, w), Object.defineProperty(w, "levelVal", {
|
|
@@ -528,30 +528,30 @@ function ul(n) {
|
|
|
528
528
|
function L() {
|
|
529
529
|
return this._level;
|
|
530
530
|
}
|
|
531
|
-
function A(
|
|
532
|
-
if (
|
|
533
|
-
throw Error("unknown level " +
|
|
534
|
-
this._level =
|
|
535
|
-
qu(this, C, w,
|
|
531
|
+
function A(B) {
|
|
532
|
+
if (B !== "silent" && !this.levels.values[B])
|
|
533
|
+
throw Error("unknown level " + B);
|
|
534
|
+
this._level = B, qu(this, C, w, "error"), qu(this, C, w, "fatal"), qu(this, C, w, "warn"), qu(this, C, w, "info"), qu(this, C, w, "debug"), qu(this, C, w, "trace"), p.forEach((z) => {
|
|
535
|
+
qu(this, C, w, z);
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
|
-
function D(
|
|
539
|
-
if (!
|
|
538
|
+
function D(B, z) {
|
|
539
|
+
if (!B)
|
|
540
540
|
throw new Error("missing bindings for child Pino");
|
|
541
|
-
|
|
542
|
-
const W =
|
|
541
|
+
z = z || {}, u && B.serializers && (z.serializers = B.serializers);
|
|
542
|
+
const W = z.serializers;
|
|
543
543
|
if (u && W) {
|
|
544
|
-
var
|
|
545
|
-
delete
|
|
544
|
+
var G = Object.assign({}, c, W), ee = n.browser.serialize === !0 ? Object.keys(G) : u;
|
|
545
|
+
delete B.serializers, _y([B], ee, G, this._stdErrSerialize);
|
|
546
546
|
}
|
|
547
|
-
function
|
|
548
|
-
this._childLevel = (de._childLevel | 0) + 1, this.bindings =
|
|
549
|
-
[].concat(de._logEvent.bindings,
|
|
547
|
+
function ne(de) {
|
|
548
|
+
this._childLevel = (de._childLevel | 0) + 1, this.bindings = B, G && (this.serializers = G, this._serialize = ee), r && (this._logEvent = m9(
|
|
549
|
+
[].concat(de._logEvent.bindings, B)
|
|
550
550
|
));
|
|
551
551
|
}
|
|
552
|
-
|
|
553
|
-
const
|
|
554
|
-
return Tk(this,
|
|
552
|
+
ne.prototype = this;
|
|
553
|
+
const J = new ne(this);
|
|
554
|
+
return Tk(this, J), J.level = this.level, J;
|
|
555
555
|
}
|
|
556
556
|
return w;
|
|
557
557
|
}
|
|
@@ -7771,13 +7771,13 @@ function ZD(n) {
|
|
|
7771
7771
|
const { vars: R } = s;
|
|
7772
7772
|
if (R) {
|
|
7773
7773
|
const L = {};
|
|
7774
|
-
for (const
|
|
7775
|
-
const
|
|
7776
|
-
KD(
|
|
7774
|
+
for (const B in R) {
|
|
7775
|
+
const z = R[B], W = z[0], G = z[1] || "", ee = typeof W == "function" ? W(f) : W;
|
|
7776
|
+
KD(ee, s.name), L[`--${B}`] = `${ee}${G}`;
|
|
7777
7777
|
}
|
|
7778
7778
|
const A = C.style || {}, D = Object.keys(A);
|
|
7779
|
-
D.length > 0 && D.forEach((
|
|
7780
|
-
L[
|
|
7779
|
+
D.length > 0 && D.forEach((B) => {
|
|
7780
|
+
L[B] = A[B];
|
|
7781
7781
|
}), C.style = L;
|
|
7782
7782
|
}
|
|
7783
7783
|
return n.__wyw_meta && n !== T ? (C.as = T, po.createElement(n, C)) : po.createElement(T, C);
|
|
@@ -8428,9 +8428,9 @@ function qF() {
|
|
|
8428
8428
|
return p.now() - T;
|
|
8429
8429
|
};
|
|
8430
8430
|
}
|
|
8431
|
-
var b = [], w = [], C = 1, R = null, L = 3, A = !1, D = !1,
|
|
8431
|
+
var b = [], w = [], C = 1, R = null, L = 3, A = !1, D = !1, B = !1, z = typeof setTimeout == "function" ? setTimeout : null, W = typeof clearTimeout == "function" ? clearTimeout : null, G = typeof setImmediate < "u" ? setImmediate : null;
|
|
8432
8432
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
8433
|
-
function
|
|
8433
|
+
function ee(Te) {
|
|
8434
8434
|
for (var xe = s(w); xe !== null; ) {
|
|
8435
8435
|
if (xe.callback === null)
|
|
8436
8436
|
c(w);
|
|
@@ -8441,25 +8441,25 @@ function qF() {
|
|
|
8441
8441
|
xe = s(w);
|
|
8442
8442
|
}
|
|
8443
8443
|
}
|
|
8444
|
-
function
|
|
8445
|
-
if (
|
|
8444
|
+
function ne(Te) {
|
|
8445
|
+
if (B = !1, ee(Te), !D)
|
|
8446
8446
|
if (s(b) !== null)
|
|
8447
|
-
D = !0, Nt(
|
|
8447
|
+
D = !0, Nt(J);
|
|
8448
8448
|
else {
|
|
8449
8449
|
var xe = s(w);
|
|
8450
|
-
xe !== null && na(
|
|
8450
|
+
xe !== null && na(ne, xe.startTime - Te);
|
|
8451
8451
|
}
|
|
8452
8452
|
}
|
|
8453
|
-
function
|
|
8454
|
-
D = !1,
|
|
8453
|
+
function J(Te, xe) {
|
|
8454
|
+
D = !1, B && (B = !1, W(Re), Re = -1), A = !0;
|
|
8455
8455
|
var be = L;
|
|
8456
8456
|
try {
|
|
8457
|
-
for (
|
|
8457
|
+
for (ee(xe), R = s(b); R !== null && (!(R.expirationTime > xe) || Te && !qe()); ) {
|
|
8458
8458
|
var lt = R.callback;
|
|
8459
8459
|
if (typeof lt == "function") {
|
|
8460
8460
|
R.callback = null, L = R.priorityLevel;
|
|
8461
8461
|
var V = lt(R.expirationTime <= xe);
|
|
8462
|
-
xe = n.unstable_now(), typeof V == "function" ? R.callback = V : R === s(b) && c(b),
|
|
8462
|
+
xe = n.unstable_now(), typeof V == "function" ? R.callback = V : R === s(b) && c(b), ee(xe);
|
|
8463
8463
|
} else
|
|
8464
8464
|
c(b);
|
|
8465
8465
|
R = s(b);
|
|
@@ -8468,7 +8468,7 @@ function qF() {
|
|
|
8468
8468
|
var oe = !0;
|
|
8469
8469
|
else {
|
|
8470
8470
|
var pe = s(w);
|
|
8471
|
-
pe !== null && na(
|
|
8471
|
+
pe !== null && na(ne, pe.startTime - xe), oe = !1;
|
|
8472
8472
|
}
|
|
8473
8473
|
return oe;
|
|
8474
8474
|
} finally {
|
|
@@ -8493,9 +8493,9 @@ function qF() {
|
|
|
8493
8493
|
de = !1;
|
|
8494
8494
|
}
|
|
8495
8495
|
var _e;
|
|
8496
|
-
if (typeof
|
|
8496
|
+
if (typeof G == "function")
|
|
8497
8497
|
_e = function() {
|
|
8498
|
-
|
|
8498
|
+
G(je);
|
|
8499
8499
|
};
|
|
8500
8500
|
else if (typeof MessageChannel < "u") {
|
|
8501
8501
|
var Ze = new MessageChannel(), pt = Ze.port2;
|
|
@@ -8504,20 +8504,20 @@ function qF() {
|
|
|
8504
8504
|
};
|
|
8505
8505
|
} else
|
|
8506
8506
|
_e = function() {
|
|
8507
|
-
|
|
8507
|
+
z(je, 0);
|
|
8508
8508
|
};
|
|
8509
8509
|
function Nt(Te) {
|
|
8510
8510
|
se = Te, de || (de = !0, _e());
|
|
8511
8511
|
}
|
|
8512
8512
|
function na(Te, xe) {
|
|
8513
|
-
Re =
|
|
8513
|
+
Re = z(function() {
|
|
8514
8514
|
Te(n.unstable_now());
|
|
8515
8515
|
}, xe);
|
|
8516
8516
|
}
|
|
8517
8517
|
n.unstable_IdlePriority = 5, n.unstable_ImmediatePriority = 1, n.unstable_LowPriority = 4, n.unstable_NormalPriority = 3, n.unstable_Profiling = null, n.unstable_UserBlockingPriority = 2, n.unstable_cancelCallback = function(Te) {
|
|
8518
8518
|
Te.callback = null;
|
|
8519
8519
|
}, n.unstable_continueExecution = function() {
|
|
8520
|
-
D || A || (D = !0, Nt(
|
|
8520
|
+
D || A || (D = !0, Nt(J));
|
|
8521
8521
|
}, n.unstable_forceFrameRate = function(Te) {
|
|
8522
8522
|
0 > Te || 125 < Te ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : Ce = 0 < Te ? Math.floor(1e3 / Te) : 5;
|
|
8523
8523
|
}, n.unstable_getCurrentPriorityLevel = function() {
|
|
@@ -8579,7 +8579,7 @@ function qF() {
|
|
|
8579
8579
|
default:
|
|
8580
8580
|
V = 5e3;
|
|
8581
8581
|
}
|
|
8582
|
-
return V = be + V, Te = { id: C++, callback: xe, priorityLevel: Te, startTime: be, expirationTime: V, sortIndex: -1 }, be > lt ? (Te.sortIndex = be, r(w, Te), s(b) === null && Te === s(w) && (
|
|
8582
|
+
return V = be + V, Te = { id: C++, callback: xe, priorityLevel: Te, startTime: be, expirationTime: V, sortIndex: -1 }, be > lt ? (Te.sortIndex = be, r(w, Te), s(b) === null && Te === s(w) && (B ? (W(Re), Re = -1) : B = !0, na(ne, be - lt))) : (Te.sortIndex = V, r(b, Te), D || A || (D = !0, Nt(J))), Te;
|
|
8583
8583
|
}, n.unstable_shouldYield = qe, n.unstable_wrapCallback = function(Te) {
|
|
8584
8584
|
var xe = L;
|
|
8585
8585
|
return function() {
|
|
@@ -8637,19 +8637,19 @@ function HF() {
|
|
|
8637
8637
|
var ht = Ie.sortIndex - Qe.sortIndex;
|
|
8638
8638
|
return ht !== 0 ? ht : Ie.id - Qe.id;
|
|
8639
8639
|
}
|
|
8640
|
-
var C = 1, R = 2, L = 3, A = 4, D = 5,
|
|
8641
|
-
if (
|
|
8642
|
-
var
|
|
8640
|
+
var C = 1, R = 2, L = 3, A = 4, D = 5, B = typeof performance == "object" && typeof performance.now == "function";
|
|
8641
|
+
if (B) {
|
|
8642
|
+
var z = performance;
|
|
8643
8643
|
n.unstable_now = function() {
|
|
8644
|
-
return
|
|
8644
|
+
return z.now();
|
|
8645
8645
|
};
|
|
8646
8646
|
} else {
|
|
8647
|
-
var W = Date,
|
|
8647
|
+
var W = Date, G = W.now();
|
|
8648
8648
|
n.unstable_now = function() {
|
|
8649
|
-
return W.now() -
|
|
8649
|
+
return W.now() - G;
|
|
8650
8650
|
};
|
|
8651
8651
|
}
|
|
8652
|
-
var
|
|
8652
|
+
var ee = 1073741823, ne = -1, J = 250, de = 5e3, se = 1e4, Re = ee, Ce = [], We = [], qe = 1, je = null, _e = L, Ze = !1, pt = !1, Nt = !1, na = typeof setTimeout == "function" ? setTimeout : null, Te = typeof clearTimeout == "function" ? clearTimeout : null, xe = typeof setImmediate < "u" ? setImmediate : null;
|
|
8653
8653
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
8654
8654
|
function be(Ie) {
|
|
8655
8655
|
for (var Qe = f(We); Qe !== null; ) {
|
|
@@ -8760,10 +8760,10 @@ function HF() {
|
|
|
8760
8760
|
var Dn;
|
|
8761
8761
|
switch (Ie) {
|
|
8762
8762
|
case C:
|
|
8763
|
-
Dn =
|
|
8763
|
+
Dn = ne;
|
|
8764
8764
|
break;
|
|
8765
8765
|
case R:
|
|
8766
|
-
Dn =
|
|
8766
|
+
Dn = J;
|
|
8767
8767
|
break;
|
|
8768
8768
|
case D:
|
|
8769
8769
|
Dn = Re;
|
|
@@ -8923,56 +8923,56 @@ function GF() {
|
|
|
8923
8923
|
}
|
|
8924
8924
|
return !1;
|
|
8925
8925
|
}
|
|
8926
|
-
function
|
|
8926
|
+
function B(a, o, d, h, v, S, N) {
|
|
8927
8927
|
this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = h, this.attributeNamespace = v, this.mustUseProperty = d, this.propertyName = a, this.type = o, this.sanitizeURL = S, this.removeEmptyString = N;
|
|
8928
8928
|
}
|
|
8929
|
-
var
|
|
8929
|
+
var z = {};
|
|
8930
8930
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
|
|
8931
|
-
|
|
8931
|
+
z[a] = new B(a, 0, !1, a, null, !1, !1);
|
|
8932
8932
|
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
|
|
8933
8933
|
var o = a[0];
|
|
8934
|
-
|
|
8934
|
+
z[o] = new B(o, 1, !1, a[1], null, !1, !1);
|
|
8935
8935
|
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
|
|
8936
|
-
|
|
8936
|
+
z[a] = new B(a, 2, !1, a.toLowerCase(), null, !1, !1);
|
|
8937
8937
|
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
|
|
8938
|
-
|
|
8938
|
+
z[a] = new B(a, 2, !1, a, null, !1, !1);
|
|
8939
8939
|
}), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) {
|
|
8940
|
-
|
|
8940
|
+
z[a] = new B(a, 3, !1, a.toLowerCase(), null, !1, !1);
|
|
8941
8941
|
}), ["checked", "multiple", "muted", "selected"].forEach(function(a) {
|
|
8942
|
-
|
|
8942
|
+
z[a] = new B(a, 3, !0, a, null, !1, !1);
|
|
8943
8943
|
}), ["capture", "download"].forEach(function(a) {
|
|
8944
|
-
|
|
8944
|
+
z[a] = new B(a, 4, !1, a, null, !1, !1);
|
|
8945
8945
|
}), ["cols", "rows", "size", "span"].forEach(function(a) {
|
|
8946
|
-
|
|
8946
|
+
z[a] = new B(a, 6, !1, a, null, !1, !1);
|
|
8947
8947
|
}), ["rowSpan", "start"].forEach(function(a) {
|
|
8948
|
-
|
|
8948
|
+
z[a] = new B(a, 5, !1, a.toLowerCase(), null, !1, !1);
|
|
8949
8949
|
});
|
|
8950
8950
|
var W = /[\-:]([a-z])/g;
|
|
8951
|
-
function
|
|
8951
|
+
function G(a) {
|
|
8952
8952
|
return a[1].toUpperCase();
|
|
8953
8953
|
}
|
|
8954
8954
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) {
|
|
8955
8955
|
var o = a.replace(
|
|
8956
8956
|
W,
|
|
8957
|
-
|
|
8957
|
+
G
|
|
8958
8958
|
);
|
|
8959
|
-
|
|
8959
|
+
z[o] = new B(o, 1, !1, a, null, !1, !1);
|
|
8960
8960
|
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
|
|
8961
|
-
var o = a.replace(W,
|
|
8962
|
-
|
|
8961
|
+
var o = a.replace(W, G);
|
|
8962
|
+
z[o] = new B(o, 1, !1, a, "http://www.w3.org/1999/xlink", !1, !1);
|
|
8963
8963
|
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
|
|
8964
|
-
var o = a.replace(W,
|
|
8965
|
-
|
|
8964
|
+
var o = a.replace(W, G);
|
|
8965
|
+
z[o] = new B(o, 1, !1, a, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
8966
8966
|
}), ["tabIndex", "crossOrigin"].forEach(function(a) {
|
|
8967
|
-
|
|
8968
|
-
}),
|
|
8969
|
-
|
|
8967
|
+
z[a] = new B(a, 1, !1, a.toLowerCase(), null, !1, !1);
|
|
8968
|
+
}), z.xlinkHref = new B("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(a) {
|
|
8969
|
+
z[a] = new B(a, 1, !1, a.toLowerCase(), null, !0, !0);
|
|
8970
8970
|
});
|
|
8971
|
-
function
|
|
8972
|
-
var v =
|
|
8971
|
+
function ee(a, o, d, h) {
|
|
8972
|
+
var v = z.hasOwnProperty(o) ? z[o] : null;
|
|
8973
8973
|
(v !== null ? v.type !== 0 : h || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (D(o, d, v, h) && (d = null), h || v === null ? L(o) && (d === null ? a.removeAttribute(o) : a.setAttribute(o, "" + d)) : v.mustUseProperty ? a[v.propertyName] = d === null ? v.type === 3 ? !1 : "" : d : (o = v.attributeName, h = v.attributeNamespace, d === null ? a.removeAttribute(o) : (v = v.type, d = v === 3 || v === 4 && d === !0 ? "" : "" + d, h ? a.setAttributeNS(h, o, d) : a.setAttribute(o, d))));
|
|
8974
8974
|
}
|
|
8975
|
-
var
|
|
8975
|
+
var ne = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, J = Symbol.for("react.element"), de = Symbol.for("react.portal"), se = Symbol.for("react.fragment"), Re = Symbol.for("react.strict_mode"), Ce = Symbol.for("react.profiler"), We = Symbol.for("react.provider"), qe = Symbol.for("react.context"), je = Symbol.for("react.forward_ref"), _e = Symbol.for("react.suspense"), Ze = Symbol.for("react.suspense_list"), pt = Symbol.for("react.memo"), Nt = Symbol.for("react.lazy"), na = Symbol.for("react.offscreen"), Te = Symbol.iterator;
|
|
8976
8976
|
function xe(a) {
|
|
8977
8977
|
return a === null || typeof a != "object" ? null : (a = Te && a[Te] || a["@@iterator"], typeof a == "function" ? a : null);
|
|
8978
8978
|
}
|
|
@@ -9227,7 +9227,7 @@ function GF() {
|
|
|
9227
9227
|
d = et(o.value != null ? o.value : d), a._wrapperState = { initialChecked: h, initialValue: d, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null };
|
|
9228
9228
|
}
|
|
9229
9229
|
function mn(a, o) {
|
|
9230
|
-
o = o.checked, o != null &&
|
|
9230
|
+
o = o.checked, o != null && ee(a, "checked", o, !1);
|
|
9231
9231
|
}
|
|
9232
9232
|
function xn(a, o) {
|
|
9233
9233
|
mn(a, o);
|
|
@@ -9910,7 +9910,7 @@ function GF() {
|
|
|
9910
9910
|
for (; 0 < Bt.length && (d = Bt[0], d.blockedOn === null); )
|
|
9911
9911
|
x0(d), d.blockedOn === null && Bt.shift();
|
|
9912
9912
|
}
|
|
9913
|
-
var bl =
|
|
9913
|
+
var bl = ne.ReactCurrentBatchConfig, ui = !0;
|
|
9914
9914
|
function U0(a, o, d, h) {
|
|
9915
9915
|
var v = Vt, S = bl.transition;
|
|
9916
9916
|
bl.transition = null;
|
|
@@ -10598,10 +10598,10 @@ function GF() {
|
|
|
10598
10598
|
}
|
|
10599
10599
|
var Ve = (o & 4) !== 0, Sn = !Ve && a === "scroll", Q = Ve ? ge !== null ? ge + "Capture" : null : ge;
|
|
10600
10600
|
Ve = [];
|
|
10601
|
-
for (var q = ae,
|
|
10602
|
-
|
|
10603
|
-
var ke =
|
|
10604
|
-
if (
|
|
10601
|
+
for (var q = ae, Z; q !== null; ) {
|
|
10602
|
+
Z = q;
|
|
10603
|
+
var ke = Z.stateNode;
|
|
10604
|
+
if (Z.tag === 5 && ke !== null && (Z = ke, Q !== null && (ke = Nc(q, Q), ke != null && Ve.push(Yc(q, ke, Z)))), Sn)
|
|
10605
10605
|
break;
|
|
10606
10606
|
q = q.return;
|
|
10607
10607
|
}
|
|
@@ -10613,16 +10613,16 @@ function GF() {
|
|
|
10613
10613
|
if (ge = a === "mouseover" || a === "pointerover", Oe = a === "mouseout" || a === "pointerout", ge && d !== Cn && (Ue = d.relatedTarget || d.fromElement) && (Lr(Ue) || Ue[Go]))
|
|
10614
10614
|
break e;
|
|
10615
10615
|
if ((Oe || ge) && (ge = he.window === he ? he : (ge = he.ownerDocument) ? ge.defaultView || ge.parentWindow : window, Oe ? (Ue = d.relatedTarget || d.toElement, Oe = ae, Ue = Ue ? Lr(Ue) : null, Ue !== null && (Sn = yo(Ue), Ue !== Sn || Ue.tag !== 5 && Ue.tag !== 6) && (Ue = null)) : (Oe = null, Ue = ae), Oe !== Ue)) {
|
|
10616
|
-
if (Ve = kd, ke = "onMouseLeave", Q = "onMouseEnter", q = "mouse", (a === "pointerout" || a === "pointerover") && (Ve = bd, ke = "onPointerLeave", Q = "onPointerEnter", q = "pointer"), Sn = Oe == null ? ge : Ll(Oe),
|
|
10616
|
+
if (Ve = kd, ke = "onMouseLeave", Q = "onMouseEnter", q = "mouse", (a === "pointerout" || a === "pointerover") && (Ve = bd, ke = "onPointerLeave", Q = "onPointerEnter", q = "pointer"), Sn = Oe == null ? ge : Ll(Oe), Z = Ue == null ? ge : Ll(Ue), ge = new Ve(ke, q + "leave", Oe, d, he), ge.target = Sn, ge.relatedTarget = Z, ke = null, Lr(he) === ae && (Ve = new Ve(Q, q + "enter", Ue, d, he), Ve.target = Z, Ve.relatedTarget = Sn, ke = Ve), Sn = ke, Oe && Ue)
|
|
10617
10617
|
t: {
|
|
10618
|
-
for (Ve = Oe, Q = Ue, q = 0,
|
|
10618
|
+
for (Ve = Oe, Q = Ue, q = 0, Z = Ve; Z; Z = fi(Z))
|
|
10619
10619
|
q++;
|
|
10620
|
-
for (
|
|
10621
|
-
|
|
10622
|
-
for (; 0 < q -
|
|
10620
|
+
for (Z = 0, ke = Q; ke; ke = fi(ke))
|
|
10621
|
+
Z++;
|
|
10622
|
+
for (; 0 < q - Z; )
|
|
10623
10623
|
Ve = fi(Ve), q--;
|
|
10624
|
-
for (; 0 <
|
|
10625
|
-
Q = fi(Q),
|
|
10624
|
+
for (; 0 < Z - q; )
|
|
10625
|
+
Q = fi(Q), Z--;
|
|
10626
10626
|
for (; q--; ) {
|
|
10627
10627
|
if (Ve === Q || Q !== null && Ve === Q.alternate)
|
|
10628
10628
|
break t;
|
|
@@ -11023,7 +11023,7 @@ function GF() {
|
|
|
11023
11023
|
function Sp(a) {
|
|
11024
11024
|
Pr === null ? Pr = [a] : Pr.push(a);
|
|
11025
11025
|
}
|
|
11026
|
-
var Ud =
|
|
11026
|
+
var Ud = ne.ReactCurrentBatchConfig;
|
|
11027
11027
|
function dr(a, o) {
|
|
11028
11028
|
if (a && a.defaultProps) {
|
|
11029
11029
|
o = be({}, o), a = a.defaultProps;
|
|
@@ -11265,8 +11265,8 @@ function GF() {
|
|
|
11265
11265
|
function R2(a) {
|
|
11266
11266
|
function o(Q, q) {
|
|
11267
11267
|
if (a) {
|
|
11268
|
-
var
|
|
11269
|
-
|
|
11268
|
+
var Z = Q.deletions;
|
|
11269
|
+
Z === null ? (Q.deletions = [q], Q.flags |= 16) : Z.push(q);
|
|
11270
11270
|
}
|
|
11271
11271
|
}
|
|
11272
11272
|
function d(Q, q) {
|
|
@@ -11284,117 +11284,117 @@ function GF() {
|
|
|
11284
11284
|
function v(Q, q) {
|
|
11285
11285
|
return Q = Ds(Q, q), Q.index = 0, Q.sibling = null, Q;
|
|
11286
11286
|
}
|
|
11287
|
-
function S(Q, q,
|
|
11288
|
-
return Q.index =
|
|
11287
|
+
function S(Q, q, Z) {
|
|
11288
|
+
return Q.index = Z, a ? (Z = Q.alternate, Z !== null ? (Z = Z.index, Z < q ? (Q.flags |= 2, q) : Z) : (Q.flags |= 2, q)) : (Q.flags |= 1048576, q);
|
|
11289
11289
|
}
|
|
11290
11290
|
function N(Q) {
|
|
11291
11291
|
return a && Q.alternate === null && (Q.flags |= 2), Q;
|
|
11292
11292
|
}
|
|
11293
|
-
function x(Q, q,
|
|
11294
|
-
return q === null || q.tag !== 6 ? (q = Fi(
|
|
11293
|
+
function x(Q, q, Z, ke) {
|
|
11294
|
+
return q === null || q.tag !== 6 ? (q = Fi(Z, Q.mode, ke), q.return = Q, q) : (q = v(q, Z), q.return = Q, q);
|
|
11295
11295
|
}
|
|
11296
|
-
function F(Q, q,
|
|
11297
|
-
var Ae =
|
|
11298
|
-
return Ae === se ? he(Q, q,
|
|
11296
|
+
function F(Q, q, Z, ke) {
|
|
11297
|
+
var Ae = Z.type;
|
|
11298
|
+
return Ae === se ? he(Q, q, Z.props.children, ke, Z.key) : q !== null && (q.elementType === Ae || typeof Ae == "object" && Ae !== null && Ae.$$typeof === Nt && _2(Ae) === q.type) ? (ke = v(q, Z.props), ke.ref = Ol(Q, q, Z), ke.return = Q, ke) : (ke = S1(Z.type, Z.key, Z.props, null, Q.mode, ke), ke.ref = Ol(Q, q, Z), ke.return = Q, ke);
|
|
11299
11299
|
}
|
|
11300
|
-
function ae(Q, q,
|
|
11301
|
-
return q === null || q.tag !== 4 || q.stateNode.containerInfo !==
|
|
11300
|
+
function ae(Q, q, Z, ke) {
|
|
11301
|
+
return q === null || q.tag !== 4 || q.stateNode.containerInfo !== Z.containerInfo || q.stateNode.implementation !== Z.implementation ? (q = Yp(Z, Q.mode, ke), q.return = Q, q) : (q = v(q, Z.children || []), q.return = Q, q);
|
|
11302
11302
|
}
|
|
11303
|
-
function he(Q, q,
|
|
11304
|
-
return q === null || q.tag !== 7 ? (q = Us(
|
|
11303
|
+
function he(Q, q, Z, ke, Ae) {
|
|
11304
|
+
return q === null || q.tag !== 7 ? (q = Us(Z, Q.mode, ke, Ae), q.return = Q, q) : (q = v(q, Z), q.return = Q, q);
|
|
11305
11305
|
}
|
|
11306
|
-
function ye(Q, q,
|
|
11306
|
+
function ye(Q, q, Z) {
|
|
11307
11307
|
if (typeof q == "string" && q !== "" || typeof q == "number")
|
|
11308
|
-
return q = Fi("" + q, Q.mode,
|
|
11308
|
+
return q = Fi("" + q, Q.mode, Z), q.return = Q, q;
|
|
11309
11309
|
if (typeof q == "object" && q !== null) {
|
|
11310
11310
|
switch (q.$$typeof) {
|
|
11311
|
-
case
|
|
11312
|
-
return
|
|
11311
|
+
case J:
|
|
11312
|
+
return Z = S1(q.type, q.key, q.props, null, Q.mode, Z), Z.ref = Ol(Q, null, q), Z.return = Q, Z;
|
|
11313
11313
|
case de:
|
|
11314
|
-
return q = Yp(q, Q.mode,
|
|
11314
|
+
return q = Yp(q, Q.mode, Z), q.return = Q, q;
|
|
11315
11315
|
case Nt:
|
|
11316
11316
|
var ke = q._init;
|
|
11317
|
-
return ye(Q, ke(q._payload),
|
|
11317
|
+
return ye(Q, ke(q._payload), Z);
|
|
11318
11318
|
}
|
|
11319
11319
|
if (xo(q) || xe(q))
|
|
11320
|
-
return q = Us(q, Q.mode,
|
|
11320
|
+
return q = Us(q, Q.mode, Z, null), q.return = Q, q;
|
|
11321
11321
|
$d(Q, q);
|
|
11322
11322
|
}
|
|
11323
11323
|
return null;
|
|
11324
11324
|
}
|
|
11325
|
-
function ge(Q, q,
|
|
11325
|
+
function ge(Q, q, Z, ke) {
|
|
11326
11326
|
var Ae = q !== null ? q.key : null;
|
|
11327
|
-
if (typeof
|
|
11328
|
-
return Ae !== null ? null : x(Q, q, "" +
|
|
11329
|
-
if (typeof
|
|
11330
|
-
switch (
|
|
11331
|
-
case
|
|
11332
|
-
return
|
|
11327
|
+
if (typeof Z == "string" && Z !== "" || typeof Z == "number")
|
|
11328
|
+
return Ae !== null ? null : x(Q, q, "" + Z, ke);
|
|
11329
|
+
if (typeof Z == "object" && Z !== null) {
|
|
11330
|
+
switch (Z.$$typeof) {
|
|
11331
|
+
case J:
|
|
11332
|
+
return Z.key === Ae ? F(Q, q, Z, ke) : null;
|
|
11333
11333
|
case de:
|
|
11334
|
-
return
|
|
11334
|
+
return Z.key === Ae ? ae(Q, q, Z, ke) : null;
|
|
11335
11335
|
case Nt:
|
|
11336
|
-
return Ae =
|
|
11336
|
+
return Ae = Z._init, ge(
|
|
11337
11337
|
Q,
|
|
11338
11338
|
q,
|
|
11339
|
-
Ae(
|
|
11339
|
+
Ae(Z._payload),
|
|
11340
11340
|
ke
|
|
11341
11341
|
);
|
|
11342
11342
|
}
|
|
11343
|
-
if (xo(
|
|
11344
|
-
return Ae !== null ? null : he(Q, q,
|
|
11345
|
-
$d(Q,
|
|
11343
|
+
if (xo(Z) || xe(Z))
|
|
11344
|
+
return Ae !== null ? null : he(Q, q, Z, ke, null);
|
|
11345
|
+
$d(Q, Z);
|
|
11346
11346
|
}
|
|
11347
11347
|
return null;
|
|
11348
11348
|
}
|
|
11349
|
-
function Oe(Q, q,
|
|
11349
|
+
function Oe(Q, q, Z, ke, Ae) {
|
|
11350
11350
|
if (typeof ke == "string" && ke !== "" || typeof ke == "number")
|
|
11351
|
-
return Q = Q.get(
|
|
11351
|
+
return Q = Q.get(Z) || null, x(q, Q, "" + ke, Ae);
|
|
11352
11352
|
if (typeof ke == "object" && ke !== null) {
|
|
11353
11353
|
switch (ke.$$typeof) {
|
|
11354
|
-
case
|
|
11355
|
-
return Q = Q.get(ke.key === null ?
|
|
11354
|
+
case J:
|
|
11355
|
+
return Q = Q.get(ke.key === null ? Z : ke.key) || null, F(q, Q, ke, Ae);
|
|
11356
11356
|
case de:
|
|
11357
|
-
return Q = Q.get(ke.key === null ?
|
|
11357
|
+
return Q = Q.get(ke.key === null ? Z : ke.key) || null, ae(q, Q, ke, Ae);
|
|
11358
11358
|
case Nt:
|
|
11359
11359
|
var He = ke._init;
|
|
11360
|
-
return Oe(Q, q,
|
|
11360
|
+
return Oe(Q, q, Z, He(ke._payload), Ae);
|
|
11361
11361
|
}
|
|
11362
11362
|
if (xo(ke) || xe(ke))
|
|
11363
|
-
return Q = Q.get(
|
|
11363
|
+
return Q = Q.get(Z) || null, he(q, Q, ke, Ae, null);
|
|
11364
11364
|
$d(q, ke);
|
|
11365
11365
|
}
|
|
11366
11366
|
return null;
|
|
11367
11367
|
}
|
|
11368
|
-
function Ue(Q, q,
|
|
11369
|
-
for (var Ae = null, He = null, Ye = q, ot = q = 0, $n = null; Ye !== null && ot <
|
|
11368
|
+
function Ue(Q, q, Z, ke) {
|
|
11369
|
+
for (var Ae = null, He = null, Ye = q, ot = q = 0, $n = null; Ye !== null && ot < Z.length; ot++) {
|
|
11370
11370
|
Ye.index > ot ? ($n = Ye, Ye = null) : $n = Ye.sibling;
|
|
11371
|
-
var Mt = ge(Q, Ye,
|
|
11371
|
+
var Mt = ge(Q, Ye, Z[ot], ke);
|
|
11372
11372
|
if (Mt === null) {
|
|
11373
11373
|
Ye === null && (Ye = $n);
|
|
11374
11374
|
break;
|
|
11375
11375
|
}
|
|
11376
11376
|
a && Ye && Mt.alternate === null && o(Q, Ye), q = S(Mt, q, ot), He === null ? Ae = Mt : He.sibling = Mt, He = Mt, Ye = $n;
|
|
11377
11377
|
}
|
|
11378
|
-
if (ot ===
|
|
11378
|
+
if (ot === Z.length)
|
|
11379
11379
|
return d(Q, Ye), en && cr(Q, ot), Ae;
|
|
11380
11380
|
if (Ye === null) {
|
|
11381
|
-
for (; ot <
|
|
11382
|
-
Ye = ye(Q,
|
|
11381
|
+
for (; ot < Z.length; ot++)
|
|
11382
|
+
Ye = ye(Q, Z[ot], ke), Ye !== null && (q = S(Ye, q, ot), He === null ? Ae = Ye : He.sibling = Ye, He = Ye);
|
|
11383
11383
|
return en && cr(Q, ot), Ae;
|
|
11384
11384
|
}
|
|
11385
|
-
for (Ye = h(Q, Ye); ot <
|
|
11386
|
-
$n = Oe(Ye, Q, ot,
|
|
11385
|
+
for (Ye = h(Q, Ye); ot < Z.length; ot++)
|
|
11386
|
+
$n = Oe(Ye, Q, ot, Z[ot], ke), $n !== null && (a && $n.alternate !== null && Ye.delete($n.key === null ? ot : $n.key), q = S($n, q, ot), He === null ? Ae = $n : He.sibling = $n, He = $n);
|
|
11387
11387
|
return a && Ye.forEach(function(Vs) {
|
|
11388
11388
|
return o(Q, Vs);
|
|
11389
11389
|
}), en && cr(Q, ot), Ae;
|
|
11390
11390
|
}
|
|
11391
|
-
function Ve(Q, q,
|
|
11392
|
-
var Ae = xe(
|
|
11391
|
+
function Ve(Q, q, Z, ke) {
|
|
11392
|
+
var Ae = xe(Z);
|
|
11393
11393
|
if (typeof Ae != "function")
|
|
11394
11394
|
throw Error(s(150));
|
|
11395
|
-
if (
|
|
11395
|
+
if (Z = Ae.call(Z), Z == null)
|
|
11396
11396
|
throw Error(s(151));
|
|
11397
|
-
for (var He = Ae = null, Ye = q, ot = q = 0, $n = null, Mt =
|
|
11397
|
+
for (var He = Ae = null, Ye = q, ot = q = 0, $n = null, Mt = Z.next(); Ye !== null && !Mt.done; ot++, Mt = Z.next()) {
|
|
11398
11398
|
Ye.index > ot ? ($n = Ye, Ye = null) : $n = Ye.sibling;
|
|
11399
11399
|
var Vs = ge(Q, Ye, Mt.value, ke);
|
|
11400
11400
|
if (Vs === null) {
|
|
@@ -11409,30 +11409,30 @@ function GF() {
|
|
|
11409
11409
|
Ye
|
|
11410
11410
|
), en && cr(Q, ot), Ae;
|
|
11411
11411
|
if (Ye === null) {
|
|
11412
|
-
for (; !Mt.done; ot++, Mt =
|
|
11412
|
+
for (; !Mt.done; ot++, Mt = Z.next())
|
|
11413
11413
|
Mt = ye(Q, Mt.value, ke), Mt !== null && (q = S(Mt, q, ot), He === null ? Ae = Mt : He.sibling = Mt, He = Mt);
|
|
11414
11414
|
return en && cr(Q, ot), Ae;
|
|
11415
11415
|
}
|
|
11416
|
-
for (Ye = h(Q, Ye); !Mt.done; ot++, Mt =
|
|
11416
|
+
for (Ye = h(Q, Ye); !Mt.done; ot++, Mt = Z.next())
|
|
11417
11417
|
Mt = Oe(Ye, Q, ot, Mt.value, ke), Mt !== null && (a && Mt.alternate !== null && Ye.delete(Mt.key === null ? ot : Mt.key), q = S(Mt, q, ot), He === null ? Ae = Mt : He.sibling = Mt, He = Mt);
|
|
11418
11418
|
return a && Ye.forEach(function(A3) {
|
|
11419
11419
|
return o(Q, A3);
|
|
11420
11420
|
}), en && cr(Q, ot), Ae;
|
|
11421
11421
|
}
|
|
11422
|
-
function Sn(Q, q,
|
|
11423
|
-
if (typeof
|
|
11424
|
-
switch (
|
|
11425
|
-
case
|
|
11422
|
+
function Sn(Q, q, Z, ke) {
|
|
11423
|
+
if (typeof Z == "object" && Z !== null && Z.type === se && Z.key === null && (Z = Z.props.children), typeof Z == "object" && Z !== null) {
|
|
11424
|
+
switch (Z.$$typeof) {
|
|
11425
|
+
case J:
|
|
11426
11426
|
e: {
|
|
11427
|
-
for (var Ae =
|
|
11427
|
+
for (var Ae = Z.key, He = q; He !== null; ) {
|
|
11428
11428
|
if (He.key === Ae) {
|
|
11429
|
-
if (Ae =
|
|
11429
|
+
if (Ae = Z.type, Ae === se) {
|
|
11430
11430
|
if (He.tag === 7) {
|
|
11431
|
-
d(Q, He.sibling), q = v(He,
|
|
11431
|
+
d(Q, He.sibling), q = v(He, Z.props.children), q.return = Q, Q = q;
|
|
11432
11432
|
break e;
|
|
11433
11433
|
}
|
|
11434
11434
|
} else if (He.elementType === Ae || typeof Ae == "object" && Ae !== null && Ae.$$typeof === Nt && _2(Ae) === He.type) {
|
|
11435
|
-
d(Q, He.sibling), q = v(He,
|
|
11435
|
+
d(Q, He.sibling), q = v(He, Z.props), q.ref = Ol(Q, He, Z), q.return = Q, Q = q;
|
|
11436
11436
|
break e;
|
|
11437
11437
|
}
|
|
11438
11438
|
d(Q, He);
|
|
@@ -11441,15 +11441,15 @@ function GF() {
|
|
|
11441
11441
|
o(Q, He);
|
|
11442
11442
|
He = He.sibling;
|
|
11443
11443
|
}
|
|
11444
|
-
|
|
11444
|
+
Z.type === se ? (q = Us(Z.props.children, Q.mode, ke, Z.key), q.return = Q, Q = q) : (ke = S1(Z.type, Z.key, Z.props, null, Q.mode, ke), ke.ref = Ol(Q, q, Z), ke.return = Q, Q = ke);
|
|
11445
11445
|
}
|
|
11446
11446
|
return N(Q);
|
|
11447
11447
|
case de:
|
|
11448
11448
|
e: {
|
|
11449
|
-
for (He =
|
|
11449
|
+
for (He = Z.key; q !== null; ) {
|
|
11450
11450
|
if (q.key === He)
|
|
11451
|
-
if (q.tag === 4 && q.stateNode.containerInfo ===
|
|
11452
|
-
d(Q, q.sibling), q = v(q,
|
|
11451
|
+
if (q.tag === 4 && q.stateNode.containerInfo === Z.containerInfo && q.stateNode.implementation === Z.implementation) {
|
|
11452
|
+
d(Q, q.sibling), q = v(q, Z.children || []), q.return = Q, Q = q;
|
|
11453
11453
|
break e;
|
|
11454
11454
|
} else {
|
|
11455
11455
|
d(Q, q);
|
|
@@ -11459,19 +11459,19 @@ function GF() {
|
|
|
11459
11459
|
o(Q, q);
|
|
11460
11460
|
q = q.sibling;
|
|
11461
11461
|
}
|
|
11462
|
-
q = Yp(
|
|
11462
|
+
q = Yp(Z, Q.mode, ke), q.return = Q, Q = q;
|
|
11463
11463
|
}
|
|
11464
11464
|
return N(Q);
|
|
11465
11465
|
case Nt:
|
|
11466
|
-
return He =
|
|
11466
|
+
return He = Z._init, Sn(Q, q, He(Z._payload), ke);
|
|
11467
11467
|
}
|
|
11468
|
-
if (xo(
|
|
11469
|
-
return Ue(Q, q,
|
|
11470
|
-
if (xe(
|
|
11471
|
-
return Ve(Q, q,
|
|
11472
|
-
$d(Q,
|
|
11468
|
+
if (xo(Z))
|
|
11469
|
+
return Ue(Q, q, Z, ke);
|
|
11470
|
+
if (xe(Z))
|
|
11471
|
+
return Ve(Q, q, Z, ke);
|
|
11472
|
+
$d(Q, Z);
|
|
11473
11473
|
}
|
|
11474
|
-
return typeof
|
|
11474
|
+
return typeof Z == "string" && Z !== "" || typeof Z == "number" ? (Z = "" + Z, q !== null && q.tag === 6 ? (d(Q, q.sibling), q = v(q, Z), q.return = Q, Q = q) : (d(Q, q), q = Fi(Z, Q.mode, ke), q.return = Q, Q = q), N(Q)) : d(Q, q);
|
|
11475
11475
|
}
|
|
11476
11476
|
return Sn;
|
|
11477
11477
|
}
|
|
@@ -11534,7 +11534,7 @@ function GF() {
|
|
|
11534
11534
|
xr[a]._workInProgressVersionPrimary = null;
|
|
11535
11535
|
xr.length = 0;
|
|
11536
11536
|
}
|
|
11537
|
-
var Hd =
|
|
11537
|
+
var Hd = ne.ReactCurrentDispatcher, Lp = ne.ReactCurrentBatchConfig, bi = 0, tn = null, ce = null, _t = null, tt = !1, bo = !1, mr = 0, Si = 0;
|
|
11538
11538
|
function nn() {
|
|
11539
11539
|
throw Error(s(321));
|
|
11540
11540
|
}
|
|
@@ -11973,7 +11973,7 @@ Error generating stack: ` + S.message + `
|
|
|
11973
11973
|
function Pp(a, o, d, h, v) {
|
|
11974
11974
|
return a.mode & 1 ? (a.flags |= 65536, a.lanes = v, a) : (a === o ? a.flags |= 65536 : (a.flags |= 128, d.flags |= 131072, d.flags &= -52805, d.tag === 1 && (d.alternate === null ? d.tag = 17 : (o = Qo(-1, 1), o.tag = 2, _s(d, o, 1))), d.lanes |= 1), a);
|
|
11975
11975
|
}
|
|
11976
|
-
var T3 =
|
|
11976
|
+
var T3 = ne.ReactCurrentOwner, Nn = !1;
|
|
11977
11977
|
function Vn(a, o, d, h) {
|
|
11978
11978
|
o.child = a === null ? I2(o, null, d, h) : Ml(o, a.child, d, h);
|
|
11979
11979
|
}
|
|
@@ -12504,7 +12504,7 @@ Error generating stack: ` + S.message + `
|
|
|
12504
12504
|
for (S in x)
|
|
12505
12505
|
if (x.hasOwnProperty(S)) {
|
|
12506
12506
|
var F = x[S];
|
|
12507
|
-
S === "style" ? pn(a, F) : S === "dangerouslySetInnerHTML" ? (F = F ? F.__html : void 0, F != null && Rc(a, F)) : S === "children" ? typeof F == "string" ? (d !== "textarea" || F !== "") && Ie(a, F) : typeof F == "number" && Ie(a, "" + F) : S !== "suppressContentEditableWarning" && S !== "suppressHydrationWarning" && S !== "autoFocus" && (u.hasOwnProperty(S) ? F != null && S === "onScroll" && Ht("scroll", a) : F != null &&
|
|
12507
|
+
S === "style" ? pn(a, F) : S === "dangerouslySetInnerHTML" ? (F = F ? F.__html : void 0, F != null && Rc(a, F)) : S === "children" ? typeof F == "string" ? (d !== "textarea" || F !== "") && Ie(a, F) : typeof F == "number" && Ie(a, "" + F) : S !== "suppressContentEditableWarning" && S !== "suppressHydrationWarning" && S !== "autoFocus" && (u.hasOwnProperty(S) ? F != null && S === "onScroll" && Ht("scroll", a) : F != null && ee(a, S, F, N));
|
|
12508
12508
|
}
|
|
12509
12509
|
switch (d) {
|
|
12510
12510
|
case "input":
|
|
@@ -12741,8 +12741,8 @@ Error generating stack: ` + S.message + `
|
|
|
12741
12741
|
}
|
|
12742
12742
|
break;
|
|
12743
12743
|
case 3:
|
|
12744
|
-
var
|
|
12745
|
-
|
|
12744
|
+
var Z = o.stateNode.containerInfo;
|
|
12745
|
+
Z.nodeType === 1 ? Z.textContent = "" : Z.nodeType === 9 && Z.documentElement && Z.removeChild(Z.documentElement);
|
|
12746
12746
|
break;
|
|
12747
12747
|
case 5:
|
|
12748
12748
|
case 6:
|
|
@@ -12984,7 +12984,7 @@ Error generating stack: ` + S.message + `
|
|
|
12984
12984
|
var ae = Kr(x, S);
|
|
12985
12985
|
for (N = 0; N < F.length; N += 2) {
|
|
12986
12986
|
var he = F[N], ye = F[N + 1];
|
|
12987
|
-
he === "style" ? pn(v, ye) : he === "dangerouslySetInnerHTML" ? Rc(v, ye) : he === "children" ? Ie(v, ye) :
|
|
12987
|
+
he === "style" ? pn(v, ye) : he === "dangerouslySetInnerHTML" ? Rc(v, ye) : he === "children" ? Ie(v, ye) : ee(v, he, ye, ae);
|
|
12988
12988
|
}
|
|
12989
12989
|
switch (x) {
|
|
12990
12990
|
case "input":
|
|
@@ -13348,7 +13348,7 @@ Error generating stack: ` + S.message + `
|
|
|
13348
13348
|
De = o.return;
|
|
13349
13349
|
}
|
|
13350
13350
|
}
|
|
13351
|
-
var $2 = Math.ceil, y1 =
|
|
13351
|
+
var $2 = Math.ceil, y1 = ne.ReactCurrentDispatcher, Li = ne.ReactCurrentOwner, Ta = ne.ReactCurrentBatchConfig, Tt = 0, Ln = null, bn = null, ia = 0, fr = 0, ql = dt(0), zn = 0, Ai = null, Oi = 0, Mi = 0, hu = 0, Hl = null, Ja = null, $p = 0, Gl = 1 / 0, Zo = null, Ms = !1, gu = null, Vr = null, v1 = !1, Ps = null, yu = 0, jl = 0, Wl = null, Pi = -1, vu = 0;
|
|
13352
13352
|
function jt() {
|
|
13353
13353
|
return Tt & 6 ? hn() : Pi !== -1 ? Pi : Pi = hn();
|
|
13354
13354
|
}
|
|
@@ -13663,8 +13663,8 @@ Error generating stack: ` + S.message + `
|
|
|
13663
13663
|
break e;
|
|
13664
13664
|
case 1:
|
|
13665
13665
|
x = F;
|
|
13666
|
-
var q = S.type,
|
|
13667
|
-
if (!(S.flags & 128) && (typeof q.getDerivedStateFromError == "function" ||
|
|
13666
|
+
var q = S.type, Z = S.stateNode;
|
|
13667
|
+
if (!(S.flags & 128) && (typeof q.getDerivedStateFromError == "function" || Z !== null && typeof Z.componentDidCatch == "function" && (Vr === null || !Vr.has(Z)))) {
|
|
13668
13668
|
S.flags |= 65536, o &= -o, S.lanes |= o;
|
|
13669
13669
|
var ke = cu(S, x, o);
|
|
13670
13670
|
Rp(S, ke);
|
|
@@ -13866,9 +13866,9 @@ Error generating stack: ` + S.message + `
|
|
|
13866
13866
|
var q = a.current;
|
|
13867
13867
|
for (De = q; De !== null; ) {
|
|
13868
13868
|
N = De;
|
|
13869
|
-
var
|
|
13870
|
-
if (N.subtreeFlags & 2064 &&
|
|
13871
|
-
|
|
13869
|
+
var Z = N.child;
|
|
13870
|
+
if (N.subtreeFlags & 2064 && Z !== null)
|
|
13871
|
+
Z.return = N, De = Z;
|
|
13872
13872
|
else
|
|
13873
13873
|
e:
|
|
13874
13874
|
for (N = q; De !== null; ) {
|
|
@@ -14428,7 +14428,7 @@ Error generating stack: ` + S.message + `
|
|
|
14428
14428
|
o = d.value, o != null && ho(a, !!d.multiple, o, !1);
|
|
14429
14429
|
}
|
|
14430
14430
|
}, E0 = T1, C0 = xi;
|
|
14431
|
-
var th = { usingClientEntryPoint: !1, Events: [Xc, Ll, Ge, id, ld, T1] }, wu = { findFiberByHostInstance: Lr, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }, L3 = { bundleType: wu.bundleType, version: wu.version, rendererPackageName: wu.rendererPackageName, rendererConfig: wu.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef:
|
|
14431
|
+
var th = { usingClientEntryPoint: !1, Events: [Xc, Ll, Ge, id, ld, T1] }, wu = { findFiberByHostInstance: Lr, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }, L3 = { bundleType: wu.bundleType, version: wu.version, rendererPackageName: wu.rendererPackageName, rendererConfig: wu.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ne.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) {
|
|
14432
14432
|
return a = _0(a), a === null ? null : a.stateNode;
|
|
14433
14433
|
}, findFiberByHostInstance: wu.findFiberByHostInstance || X2, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
|
|
14434
14434
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
|
@@ -14527,7 +14527,7 @@ function jF() {
|
|
|
14527
14527
|
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
14528
14528
|
}
|
|
14529
14529
|
}
|
|
14530
|
-
var b = 0, w = 1, C = 2, R = 3, L = 4, A = 5, D = 6,
|
|
14530
|
+
var b = 0, w = 1, C = 2, R = 3, L = 4, A = 5, D = 6, B = 7, z = 8, W = 9, G = 10, ee = 11, ne = 12, J = 13, de = 14, se = 15, Re = 16, Ce = 17, We = 18, qe = 19, je = 21, _e = 22, Ze = 23, pt = 24, Nt = 25, na = !0, Te = !1, xe = !1, be = !1, lt = !1, V = !0, oe = !1, pe = !1, $e = !0, ft = !0, rt = !0, et = /* @__PURE__ */ new Set(), st = {}, Ct = {};
|
|
14531
14531
|
function Jt(e, t) {
|
|
14532
14532
|
Pn(e, t), Pn(e + "Capture", t);
|
|
14533
14533
|
}
|
|
@@ -15061,8 +15061,8 @@ function jF() {
|
|
|
15061
15061
|
if (i === null)
|
|
15062
15062
|
e.removeAttribute(O);
|
|
15063
15063
|
else {
|
|
15064
|
-
var
|
|
15065
|
-
|
|
15064
|
+
var H = m.type, $;
|
|
15065
|
+
H === sr || H === go && i === !0 ? $ = "" : (Yr(i, O), $ = "" + i, m.sanitizeURL && xm($.toString())), M ? e.setAttributeNS(M, O, $) : e.setAttribute(O, $);
|
|
15066
15066
|
}
|
|
15067
15067
|
}
|
|
15068
15068
|
}
|
|
@@ -15180,29 +15180,29 @@ function jF() {
|
|
|
15180
15180
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
15181
15181
|
try {
|
|
15182
15182
|
Reflect.construct(k, []);
|
|
15183
|
-
} catch (
|
|
15184
|
-
l =
|
|
15183
|
+
} catch (te) {
|
|
15184
|
+
l = te;
|
|
15185
15185
|
}
|
|
15186
15186
|
Reflect.construct(e, [], k);
|
|
15187
15187
|
} else {
|
|
15188
15188
|
try {
|
|
15189
15189
|
k.call();
|
|
15190
|
-
} catch (
|
|
15191
|
-
l =
|
|
15190
|
+
} catch (te) {
|
|
15191
|
+
l = te;
|
|
15192
15192
|
}
|
|
15193
15193
|
e.call(k.prototype);
|
|
15194
15194
|
}
|
|
15195
15195
|
} else {
|
|
15196
15196
|
try {
|
|
15197
15197
|
throw Error();
|
|
15198
|
-
} catch (
|
|
15199
|
-
l =
|
|
15198
|
+
} catch (te) {
|
|
15199
|
+
l = te;
|
|
15200
15200
|
}
|
|
15201
15201
|
e();
|
|
15202
15202
|
}
|
|
15203
|
-
} catch (
|
|
15204
|
-
if (
|
|
15205
|
-
for (var E =
|
|
15203
|
+
} catch (te) {
|
|
15204
|
+
if (te && l && typeof te.stack == "string") {
|
|
15205
|
+
for (var E = te.stack.split(`
|
|
15206
15206
|
`), _ = l.stack.split(`
|
|
15207
15207
|
`), O = E.length - 1, M = _.length - 1; O >= 1 && M >= 0 && E[O] !== _[M]; )
|
|
15208
15208
|
M--;
|
|
@@ -15211,9 +15211,9 @@ function jF() {
|
|
|
15211
15211
|
if (O !== 1 || M !== 1)
|
|
15212
15212
|
do
|
|
15213
15213
|
if (O--, M--, M < 0 || E[O] !== _[M]) {
|
|
15214
|
-
var
|
|
15214
|
+
var H = `
|
|
15215
15215
|
` + E[O].replace(" at new ", " at ");
|
|
15216
|
-
return e.displayName &&
|
|
15216
|
+
return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && md.set(e, H), H;
|
|
15217
15217
|
}
|
|
15218
15218
|
while (O >= 1 && M >= 0);
|
|
15219
15219
|
break;
|
|
@@ -15222,8 +15222,8 @@ function jF() {
|
|
|
15222
15222
|
} finally {
|
|
15223
15223
|
Bm = !1, Tl.current = g, dd(), Error.prepareStackTrace = m;
|
|
15224
15224
|
}
|
|
15225
|
-
var $ = e ? e.displayName || e.name : "",
|
|
15226
|
-
return typeof e == "function" && md.set(e,
|
|
15225
|
+
var $ = e ? e.displayName || e.name : "", X = $ ? Xr($) : "";
|
|
15226
|
+
return typeof e == "function" && md.set(e, X), X;
|
|
15227
15227
|
}
|
|
15228
15228
|
function $m(e, t, i) {
|
|
15229
15229
|
return pd(e, !0);
|
|
@@ -15270,7 +15270,7 @@ function jF() {
|
|
|
15270
15270
|
return Xr(e.type);
|
|
15271
15271
|
case Re:
|
|
15272
15272
|
return Xr("Lazy");
|
|
15273
|
-
case
|
|
15273
|
+
case J:
|
|
15274
15274
|
return Xr("Suspense");
|
|
15275
15275
|
case qe:
|
|
15276
15276
|
return Xr("SuspenseList");
|
|
@@ -15278,7 +15278,7 @@ function jF() {
|
|
|
15278
15278
|
case C:
|
|
15279
15279
|
case se:
|
|
15280
15280
|
return ci(e.type);
|
|
15281
|
-
case
|
|
15281
|
+
case ee:
|
|
15282
15282
|
return ci(e.type.render);
|
|
15283
15283
|
case w:
|
|
15284
15284
|
return $m(e.type);
|
|
@@ -15369,14 +15369,14 @@ Error generating stack: ` + l.message + `
|
|
|
15369
15369
|
case W:
|
|
15370
15370
|
var l = i;
|
|
15371
15371
|
return Hm(l) + ".Consumer";
|
|
15372
|
-
case
|
|
15372
|
+
case G:
|
|
15373
15373
|
var m = i;
|
|
15374
15374
|
return Hm(m._context) + ".Provider";
|
|
15375
15375
|
case We:
|
|
15376
15376
|
return "DehydratedFragment";
|
|
15377
|
-
case
|
|
15377
|
+
case ee:
|
|
15378
15378
|
return P0(i, i.render, "ForwardRef");
|
|
15379
|
-
case
|
|
15379
|
+
case B:
|
|
15380
15380
|
return "Fragment";
|
|
15381
15381
|
case A:
|
|
15382
15382
|
return i;
|
|
@@ -15388,15 +15388,15 @@ Error generating stack: ` + l.message + `
|
|
|
15388
15388
|
return "Text";
|
|
15389
15389
|
case Re:
|
|
15390
15390
|
return qt(i);
|
|
15391
|
-
case
|
|
15391
|
+
case z:
|
|
15392
15392
|
return i === gl ? "StrictMode" : "Mode";
|
|
15393
15393
|
case _e:
|
|
15394
15394
|
return "Offscreen";
|
|
15395
|
-
case
|
|
15395
|
+
case ne:
|
|
15396
15396
|
return "Profiler";
|
|
15397
15397
|
case je:
|
|
15398
15398
|
return "Scope";
|
|
15399
|
-
case
|
|
15399
|
+
case J:
|
|
15400
15400
|
return "Suspense";
|
|
15401
15401
|
case qe:
|
|
15402
15402
|
return "SuspenseList";
|
|
@@ -15661,14 +15661,14 @@ Check the render method of \`` + e + "`." : "";
|
|
|
15661
15661
|
m[_].selected !== O && (m[_].selected = O), O && l && (m[_].defaultSelected = !0);
|
|
15662
15662
|
}
|
|
15663
15663
|
} else {
|
|
15664
|
-
for (var M = ga(fs(i)),
|
|
15664
|
+
for (var M = ga(fs(i)), H = null, $ = 0; $ < m.length; $++) {
|
|
15665
15665
|
if (m[$].value === M) {
|
|
15666
15666
|
m[$].selected = !0, l && (m[$].defaultSelected = !0);
|
|
15667
15667
|
return;
|
|
15668
15668
|
}
|
|
15669
|
-
|
|
15669
|
+
H === null && !m[$].disabled && (H = m[$]);
|
|
15670
15670
|
}
|
|
15671
|
-
|
|
15671
|
+
H !== null && (H.selected = !0);
|
|
15672
15672
|
}
|
|
15673
15673
|
}
|
|
15674
15674
|
function Ym(e, t) {
|
|
@@ -16806,13 +16806,13 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16806
16806
|
pp = function(e, t, i, l, m, g, k, E, _) {
|
|
16807
16807
|
if (typeof document > "u" || document === null)
|
|
16808
16808
|
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.");
|
|
16809
|
-
var O = document.createEvent("Event"), M = !1,
|
|
16810
|
-
function
|
|
16809
|
+
var O = document.createEvent("Event"), M = !1, H = !0, $ = window.event, X = Object.getOwnPropertyDescriptor(window, "event");
|
|
16810
|
+
function te() {
|
|
16811
16811
|
fp.removeEventListener(Y, Ne, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = $);
|
|
16812
16812
|
}
|
|
16813
16813
|
var le = Array.prototype.slice.call(arguments, 3);
|
|
16814
16814
|
function Ne() {
|
|
16815
|
-
M = !0,
|
|
16815
|
+
M = !0, te(), t.apply(i, le), H = !1;
|
|
16816
16816
|
}
|
|
16817
16817
|
var ze, Ke = !1, kt = !1;
|
|
16818
16818
|
function gt(ie) {
|
|
@@ -16823,8 +16823,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16823
16823
|
}
|
|
16824
16824
|
}
|
|
16825
16825
|
var Y = "react-" + (e || "invokeguardedcallback");
|
|
16826
|
-
if (window.addEventListener("error", gt), fp.addEventListener(Y, Ne, !1), O.initEvent(Y, !1, !1), fp.dispatchEvent(O),
|
|
16827
|
-
return
|
|
16826
|
+
if (window.addEventListener("error", gt), fp.addEventListener(Y, Ne, !1), O.initEvent(Y, !1, !1), fp.dispatchEvent(O), X && Object.defineProperty(window, "event", X), M && H && (Ke ? kt && (ze = 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.")) : ze = 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(ze)), window.removeEventListener("error", gt), !M)
|
|
16827
|
+
return te(), g2.apply(this, arguments);
|
|
16828
16828
|
};
|
|
16829
16829
|
}
|
|
16830
16830
|
var p3 = pp, vs = !1, ao = null, Jc = !1, Ts = null, vo = {
|
|
@@ -16960,7 +16960,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16960
16960
|
return t.tag === R ? i : null;
|
|
16961
16961
|
}
|
|
16962
16962
|
function Tp(e) {
|
|
16963
|
-
if (e.tag ===
|
|
16963
|
+
if (e.tag === J) {
|
|
16964
16964
|
var t = e.memoizedState;
|
|
16965
16965
|
if (t === null) {
|
|
16966
16966
|
var i = e.alternate;
|
|
@@ -17485,23 +17485,23 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17485
17485
|
if (t !== ce && t !== l && // If we already suspended with a delay, then interrupting is fine. Don't
|
|
17486
17486
|
// bother waiting until the root is complete.
|
|
17487
17487
|
(t & m) === ce) {
|
|
17488
|
-
var M = Nn(l),
|
|
17488
|
+
var M = Nn(l), H = Nn(t);
|
|
17489
17489
|
if (
|
|
17490
17490
|
// Tests whether the next lane is equal or lower priority than the wip
|
|
17491
17491
|
// one. This works because the bits decrease in priority as you go left.
|
|
17492
|
-
M >=
|
|
17492
|
+
M >= H || // Default priority updates should not interrupt transition updates. The
|
|
17493
17493
|
// only difference between default updates and transition updates is that
|
|
17494
17494
|
// default updates do not support refresh transitions.
|
|
17495
|
-
M === nn && (
|
|
17495
|
+
M === nn && (H & Ns) !== ce
|
|
17496
17496
|
)
|
|
17497
17497
|
return t;
|
|
17498
17498
|
}
|
|
17499
17499
|
(l & mr) !== ce && (l |= i & nn);
|
|
17500
17500
|
var $ = e.entangledLanes;
|
|
17501
17501
|
if ($ !== ce)
|
|
17502
|
-
for (var
|
|
17503
|
-
var le = As(
|
|
17504
|
-
l |=
|
|
17502
|
+
for (var X = e.entanglements, te = l & $; te > 0; ) {
|
|
17503
|
+
var le = As(te), Ne = 1 << le;
|
|
17504
|
+
l |= X[le], te &= ~Ne;
|
|
17505
17505
|
}
|
|
17506
17506
|
return l;
|
|
17507
17507
|
}
|
|
@@ -17884,8 +17884,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17884
17884
|
return _a.set(O, pu(_a.get(O) || null, e, t, i, l, _)), !0;
|
|
17885
17885
|
}
|
|
17886
17886
|
case "gotpointercapture": {
|
|
17887
|
-
var M = m,
|
|
17888
|
-
return Fr.set(
|
|
17887
|
+
var M = m, H = M.pointerId;
|
|
17888
|
+
return Fr.set(H, pu(Fr.get(H) || null, e, t, i, l, M)), !0;
|
|
17889
17889
|
}
|
|
17890
17890
|
}
|
|
17891
17891
|
return !1;
|
|
@@ -17896,7 +17896,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17896
17896
|
var i = cr(t);
|
|
17897
17897
|
if (i !== null) {
|
|
17898
17898
|
var l = i.tag;
|
|
17899
|
-
if (l ===
|
|
17899
|
+
if (l === J) {
|
|
17900
17900
|
var m = Tp(i);
|
|
17901
17901
|
if (m !== null) {
|
|
17902
17902
|
e.blockedOn = m, h1(e.priority, function() {
|
|
@@ -18051,7 +18051,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18051
18051
|
g = null;
|
|
18052
18052
|
else {
|
|
18053
18053
|
var E = k.tag;
|
|
18054
|
-
if (E ===
|
|
18054
|
+
if (E === J) {
|
|
18055
18055
|
var _ = Tp(k);
|
|
18056
18056
|
if (_ !== null)
|
|
18057
18057
|
return _;
|
|
@@ -18692,7 +18692,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18692
18692
|
function q() {
|
|
18693
18693
|
Pn("onMouseEnter", ["mouseout", "mouseover"]), Pn("onMouseLeave", ["mouseout", "mouseover"]), Pn("onPointerEnter", ["pointerout", "pointerover"]), Pn("onPointerLeave", ["pointerout", "pointerover"]);
|
|
18694
18694
|
}
|
|
18695
|
-
function
|
|
18695
|
+
function Z(e, t, i, l, m, g, k) {
|
|
18696
18696
|
var E = t === "mouseover" || t === "pointerover", _ = t === "mouseout" || t === "pointerout";
|
|
18697
18697
|
if (E && !f2(l)) {
|
|
18698
18698
|
var O = l.relatedTarget || l.fromElement;
|
|
@@ -18704,29 +18704,29 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18704
18704
|
if (m.window === m)
|
|
18705
18705
|
M = m;
|
|
18706
18706
|
else {
|
|
18707
|
-
var
|
|
18708
|
-
|
|
18707
|
+
var H = m.ownerDocument;
|
|
18708
|
+
H ? M = H.defaultView || H.parentWindow : M = window;
|
|
18709
18709
|
}
|
|
18710
|
-
var $,
|
|
18710
|
+
var $, X;
|
|
18711
18711
|
if (_) {
|
|
18712
|
-
var
|
|
18713
|
-
if ($ = i,
|
|
18714
|
-
var le = cr(
|
|
18715
|
-
(
|
|
18712
|
+
var te = l.relatedTarget || l.toElement;
|
|
18713
|
+
if ($ = i, X = te ? Ru(te) : null, X !== null) {
|
|
18714
|
+
var le = cr(X);
|
|
18715
|
+
(X !== le || X.tag !== A && X.tag !== D) && (X = null);
|
|
18716
18716
|
}
|
|
18717
18717
|
} else
|
|
18718
|
-
$ = null,
|
|
18719
|
-
if ($ !==
|
|
18718
|
+
$ = null, X = i;
|
|
18719
|
+
if ($ !== X) {
|
|
18720
18720
|
var Ne = T1, ze = "onMouseLeave", Ke = "onMouseEnter", kt = "mouse";
|
|
18721
18721
|
(t === "pointerout" || t === "pointerover") && (Ne = Wp, ze = "onPointerLeave", Ke = "onPointerEnter", kt = "pointer");
|
|
18722
|
-
var gt = $ == null ? M : x1($), Y =
|
|
18722
|
+
var gt = $ == null ? M : x1($), Y = X == null ? M : x1(X), ie = new Ne(ze, kt + "leave", $, l, m);
|
|
18723
18723
|
ie.target = gt, ie.relatedTarget = Y;
|
|
18724
18724
|
var K = null, ve = Ru(m);
|
|
18725
18725
|
if (ve === i) {
|
|
18726
|
-
var Pe = new Ne(Ke, kt + "enter",
|
|
18726
|
+
var Pe = new Ne(Ke, kt + "enter", X, l, m);
|
|
18727
18727
|
Pe.target = Y, Pe.relatedTarget = gt, K = Pe;
|
|
18728
18728
|
}
|
|
18729
|
-
e_(e, ie, K, $,
|
|
18729
|
+
e_(e, ie, K, $, X);
|
|
18730
18730
|
}
|
|
18731
18731
|
}
|
|
18732
18732
|
}
|
|
@@ -18787,17 +18787,17 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18787
18787
|
return Vs(e, m, g, k, E);
|
|
18788
18788
|
}
|
|
18789
18789
|
function Vs(e, t, i, l, m) {
|
|
18790
|
-
var g = 0, k = -1, E = -1, _ = 0, O = 0, M = e,
|
|
18790
|
+
var g = 0, k = -1, E = -1, _ = 0, O = 0, M = e, H = null;
|
|
18791
18791
|
e:
|
|
18792
18792
|
for (; ; ) {
|
|
18793
18793
|
for (var $ = null; M === t && (i === 0 || M.nodeType === zo) && (k = g + i), M === l && (m === 0 || M.nodeType === zo) && (E = g + m), M.nodeType === zo && (g += M.nodeValue.length), ($ = M.firstChild) !== null; )
|
|
18794
|
-
|
|
18794
|
+
H = M, M = $;
|
|
18795
18795
|
for (; ; ) {
|
|
18796
18796
|
if (M === e)
|
|
18797
18797
|
break e;
|
|
18798
|
-
if (
|
|
18798
|
+
if (H === t && ++_ === i && (k = g), H === l && ++O === m && (E = g), ($ = M.nextSibling) !== null)
|
|
18799
18799
|
break;
|
|
18800
|
-
M =
|
|
18800
|
+
M = H, H = M.parentNode;
|
|
18801
18801
|
}
|
|
18802
18802
|
M = $;
|
|
18803
18803
|
}
|
|
@@ -18818,8 +18818,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18818
18818
|
if (O && M) {
|
|
18819
18819
|
if (m.rangeCount === 1 && m.anchorNode === O.node && m.anchorOffset === O.offset && m.focusNode === M.node && m.focusOffset === M.offset)
|
|
18820
18820
|
return;
|
|
18821
|
-
var
|
|
18822
|
-
|
|
18821
|
+
var H = i.createRange();
|
|
18822
|
+
H.setStart(O.node, O.offset), m.removeAllRanges(), k > E ? (m.addRange(H), m.extend(M.node, M.offset)) : (H.setEnd(M.node, M.offset), m.addRange(H));
|
|
18823
18823
|
}
|
|
18824
18824
|
}
|
|
18825
18825
|
}
|
|
@@ -19071,15 +19071,15 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19071
19071
|
}
|
|
19072
19072
|
var M = (g & pi) !== 0;
|
|
19073
19073
|
{
|
|
19074
|
-
var
|
|
19074
|
+
var H = !M && // TODO: ideally, we'd eventually add all events from
|
|
19075
19075
|
// nonDelegatedEvents list in DOMPluginEventSystem.
|
|
19076
19076
|
// Then we can remove this special list.
|
|
19077
19077
|
// This is a breaking change that can wait until React 18.
|
|
19078
|
-
t === "scroll", $ = JC(i, E, l.type, M,
|
|
19078
|
+
t === "scroll", $ = JC(i, E, l.type, M, H);
|
|
19079
19079
|
if ($.length > 0) {
|
|
19080
|
-
var
|
|
19080
|
+
var X = new _(E, O, null, l, m);
|
|
19081
19081
|
e.push({
|
|
19082
|
-
event:
|
|
19082
|
+
event: X,
|
|
19083
19083
|
listeners: $
|
|
19084
19084
|
});
|
|
19085
19085
|
}
|
|
@@ -19090,7 +19090,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19090
19090
|
function YC(e, t, i, l, m, g, k) {
|
|
19091
19091
|
QC(e, t, i, l, m, g);
|
|
19092
19092
|
var E = (g & u3) === 0;
|
|
19093
|
-
E && (
|
|
19093
|
+
E && (Z(e, t, i, l, m), Q(e, t, i, l, m), jC(e, t, i, l, m), N3(e, t, i, l, m));
|
|
19094
19094
|
}
|
|
19095
19095
|
var ef = ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "encrypted", "ended", "error", "loadeddata", "loadedmetadata", "loadstart", "pause", "play", "playing", "progress", "ratechange", "resize", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange", "waiting"], D3 = new Set(["cancel", "close", "invalid", "load", "scroll", "toggle"].concat(ef));
|
|
19096
19096
|
function G4(e, t, i) {
|
|
@@ -19108,10 +19108,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19108
19108
|
}
|
|
19109
19109
|
else
|
|
19110
19110
|
for (var O = 0; O < t.length; O++) {
|
|
19111
|
-
var M = t[O],
|
|
19112
|
-
if (
|
|
19111
|
+
var M = t[O], H = M.instance, $ = M.currentTarget, X = M.listener;
|
|
19112
|
+
if (H !== l && e.isPropagationStopped())
|
|
19113
19113
|
return;
|
|
19114
|
-
G4(e,
|
|
19114
|
+
G4(e, X, $), l = H;
|
|
19115
19115
|
}
|
|
19116
19116
|
}
|
|
19117
19117
|
function j4(e, t) {
|
|
@@ -19169,8 +19169,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19169
19169
|
break;
|
|
19170
19170
|
if (_ === L)
|
|
19171
19171
|
for (var M = E.return; M !== null; ) {
|
|
19172
|
-
var
|
|
19173
|
-
if (
|
|
19172
|
+
var H = M.tag;
|
|
19173
|
+
if (H === R || H === L) {
|
|
19174
19174
|
var $ = M.stateNode.containerInfo;
|
|
19175
19175
|
if (Q4($, k))
|
|
19176
19176
|
return;
|
|
@@ -19178,12 +19178,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19178
19178
|
M = M.return;
|
|
19179
19179
|
}
|
|
19180
19180
|
for (; O !== null; ) {
|
|
19181
|
-
var
|
|
19182
|
-
if (
|
|
19181
|
+
var X = Ru(O);
|
|
19182
|
+
if (X === null)
|
|
19183
19183
|
return;
|
|
19184
|
-
var
|
|
19185
|
-
if (
|
|
19186
|
-
E = g =
|
|
19184
|
+
var te = X.tag;
|
|
19185
|
+
if (te === A || te === D) {
|
|
19186
|
+
E = g = X;
|
|
19187
19187
|
continue e;
|
|
19188
19188
|
}
|
|
19189
19189
|
O = O.parentNode;
|
|
@@ -19206,10 +19206,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19206
19206
|
}
|
|
19207
19207
|
function JC(e, t, i, l, m, g) {
|
|
19208
19208
|
for (var k = t !== null ? t + "Capture" : null, E = l ? k : t, _ = [], O = e, M = null; O !== null; ) {
|
|
19209
|
-
var
|
|
19210
|
-
if (
|
|
19211
|
-
var
|
|
19212
|
-
|
|
19209
|
+
var H = O, $ = H.stateNode, X = H.tag;
|
|
19210
|
+
if (X === A && $ !== null && (M = $, E !== null)) {
|
|
19211
|
+
var te = hi(O, E);
|
|
19212
|
+
te != null && _.push(nf(O, te, M));
|
|
19213
19213
|
}
|
|
19214
19214
|
if (m)
|
|
19215
19215
|
break;
|
|
@@ -19256,17 +19256,17 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19256
19256
|
}
|
|
19257
19257
|
function Y4(e, t, i, l, m) {
|
|
19258
19258
|
for (var g = t._reactName, k = [], E = i; E !== null && E !== l; ) {
|
|
19259
|
-
var _ = E, O = _.alternate, M = _.stateNode,
|
|
19259
|
+
var _ = E, O = _.alternate, M = _.stateNode, H = _.tag;
|
|
19260
19260
|
if (O !== null && O === l)
|
|
19261
19261
|
break;
|
|
19262
|
-
if (
|
|
19262
|
+
if (H === A && M !== null) {
|
|
19263
19263
|
var $ = M;
|
|
19264
19264
|
if (m) {
|
|
19265
|
-
var
|
|
19266
|
-
|
|
19265
|
+
var X = hi(E, g);
|
|
19266
|
+
X != null && k.unshift(nf(E, X, $));
|
|
19267
19267
|
} else if (!m) {
|
|
19268
|
-
var
|
|
19269
|
-
|
|
19268
|
+
var te = hi(E, g);
|
|
19269
|
+
te != null && k.push(nf(E, te, $));
|
|
19270
19270
|
}
|
|
19271
19271
|
}
|
|
19272
19272
|
E = E.return;
|
|
@@ -19470,27 +19470,27 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19470
19470
|
for (_ in k)
|
|
19471
19471
|
if (!(E.hasOwnProperty(_) || !k.hasOwnProperty(_) || k[_] == null))
|
|
19472
19472
|
if (_ === _u) {
|
|
19473
|
-
var
|
|
19474
|
-
for (O in
|
|
19475
|
-
|
|
19473
|
+
var H = k[_];
|
|
19474
|
+
for (O in H)
|
|
19475
|
+
H.hasOwnProperty(O) && (M || (M = {}), M[O] = "");
|
|
19476
19476
|
} else
|
|
19477
19477
|
_ === af || _ === Cu || _ === sh || _ === Zl || _ === K4 || (st.hasOwnProperty(_) ? g || (g = []) : (g = g || []).push(_, null));
|
|
19478
19478
|
for (_ in E) {
|
|
19479
|
-
var $ = E[_],
|
|
19480
|
-
if (!(!E.hasOwnProperty(_) || $ ===
|
|
19479
|
+
var $ = E[_], X = k != null ? k[_] : void 0;
|
|
19480
|
+
if (!(!E.hasOwnProperty(_) || $ === X || $ == null && X == null))
|
|
19481
19481
|
if (_ === _u)
|
|
19482
|
-
if ($ && Object.freeze($),
|
|
19483
|
-
for (O in
|
|
19484
|
-
|
|
19482
|
+
if ($ && Object.freeze($), X) {
|
|
19483
|
+
for (O in X)
|
|
19484
|
+
X.hasOwnProperty(O) && (!$ || !$.hasOwnProperty(O)) && (M || (M = {}), M[O] = "");
|
|
19485
19485
|
for (O in $)
|
|
19486
|
-
$.hasOwnProperty(O) &&
|
|
19486
|
+
$.hasOwnProperty(O) && X[O] !== $[O] && (M || (M = {}), M[O] = $[O]);
|
|
19487
19487
|
} else
|
|
19488
19488
|
M || (g || (g = []), g.push(_, M)), M = $;
|
|
19489
19489
|
else if (_ === af) {
|
|
19490
|
-
var
|
|
19491
|
-
|
|
19490
|
+
var te = $ ? $[ih] : void 0, le = X ? X[ih] : void 0;
|
|
19491
|
+
te != null && le !== te && (g = g || []).push(_, te);
|
|
19492
19492
|
} else
|
|
19493
|
-
_ === Cu ? (typeof $ == "string" || typeof $ == "number") && (g = g || []).push(_, "" + $) : _ === sh || _ === Zl || (st.hasOwnProperty(_) ? ($ != null && (typeof $ != "function" && ch(_, $), _ === "onScroll" && un("scroll", e)), !g &&
|
|
19493
|
+
_ === Cu ? (typeof $ == "string" || typeof $ == "number") && (g = g || []).push(_, "" + $) : _ === sh || _ === Zl || (st.hasOwnProperty(_) ? ($ != null && (typeof $ != "function" && ch(_, $), _ === "onScroll" && un("scroll", e)), !g && X !== $ && (g = [])) : (g = g || []).push(_, $));
|
|
19494
19494
|
}
|
|
19495
19495
|
return M && (Hc(M, E[_u]), (g = g || []).push(_u, M)), g;
|
|
19496
19496
|
}
|
|
@@ -19558,8 +19558,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19558
19558
|
Cd(t, i);
|
|
19559
19559
|
{
|
|
19560
19560
|
_ = /* @__PURE__ */ new Set();
|
|
19561
|
-
for (var M = e.attributes,
|
|
19562
|
-
var $ = M[
|
|
19561
|
+
for (var M = e.attributes, H = 0; H < M.length; H++) {
|
|
19562
|
+
var $ = M[H].name.toLowerCase();
|
|
19563
19563
|
switch ($) {
|
|
19564
19564
|
case "value":
|
|
19565
19565
|
break;
|
|
@@ -19568,53 +19568,53 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19568
19568
|
case "selected":
|
|
19569
19569
|
break;
|
|
19570
19570
|
default:
|
|
19571
|
-
_.add(M[
|
|
19571
|
+
_.add(M[H].name);
|
|
19572
19572
|
}
|
|
19573
19573
|
}
|
|
19574
19574
|
}
|
|
19575
|
-
var
|
|
19576
|
-
for (var
|
|
19577
|
-
if (i.hasOwnProperty(
|
|
19578
|
-
var le = i[
|
|
19579
|
-
if (
|
|
19580
|
-
typeof le == "string" ? e.textContent !== le && (i[Zl] !== !0 && dh(e.textContent, le, g, k),
|
|
19581
|
-
else if (st.hasOwnProperty(
|
|
19582
|
-
le != null && (typeof le != "function" && ch(
|
|
19575
|
+
var X = null;
|
|
19576
|
+
for (var te in i)
|
|
19577
|
+
if (i.hasOwnProperty(te)) {
|
|
19578
|
+
var le = i[te];
|
|
19579
|
+
if (te === Cu)
|
|
19580
|
+
typeof le == "string" ? e.textContent !== le && (i[Zl] !== !0 && dh(e.textContent, le, g, k), X = [Cu, le]) : typeof le == "number" && e.textContent !== "" + le && (i[Zl] !== !0 && dh(e.textContent, le, g, k), X = [Cu, "" + le]);
|
|
19581
|
+
else if (st.hasOwnProperty(te))
|
|
19582
|
+
le != null && (typeof le != "function" && ch(te, le), te === "onScroll" && un("scroll", e));
|
|
19583
19583
|
else if (k && // Convince Flow we've calculated it (it's DEV-only in this method.)
|
|
19584
19584
|
typeof E == "boolean") {
|
|
19585
|
-
var Ne = void 0, ze = E && oe ? null : Ic(
|
|
19586
|
-
if (i[Zl] !== !0 && !(
|
|
19585
|
+
var Ne = void 0, ze = E && oe ? null : Ic(te);
|
|
19586
|
+
if (i[Zl] !== !0 && !(te === sh || te === Zl || // Controlled attributes are not validated
|
|
19587
19587
|
// TODO: Only ignore them on controlled tags.
|
|
19588
|
-
|
|
19589
|
-
if (
|
|
19588
|
+
te === "value" || te === "checked" || te === "selected")) {
|
|
19589
|
+
if (te === af) {
|
|
19590
19590
|
var Ke = e.innerHTML, kt = le ? le[ih] : void 0;
|
|
19591
19591
|
if (kt != null) {
|
|
19592
19592
|
var gt = X4(e, kt);
|
|
19593
|
-
gt !== Ke && rf(
|
|
19593
|
+
gt !== Ke && rf(te, Ke, gt);
|
|
19594
19594
|
}
|
|
19595
|
-
} else if (
|
|
19596
|
-
if (_.delete(
|
|
19595
|
+
} else if (te === _u) {
|
|
19596
|
+
if (_.delete(te), J4) {
|
|
19597
19597
|
var Y = l3(le);
|
|
19598
|
-
Ne = e.getAttribute("style"), Y !== Ne && rf(
|
|
19598
|
+
Ne = e.getAttribute("style"), Y !== Ne && rf(te, Ne, Y);
|
|
19599
19599
|
}
|
|
19600
19600
|
} else if (E && !oe)
|
|
19601
|
-
_.delete(
|
|
19602
|
-
else if (!Kr(
|
|
19601
|
+
_.delete(te.toLowerCase()), Ne = ud(e, te, le), le !== Ne && rf(te, Ne, le);
|
|
19602
|
+
else if (!Kr(te, ze, E) && !Cr(te, le, ze, E)) {
|
|
19603
19603
|
var ie = !1;
|
|
19604
19604
|
if (ze !== null)
|
|
19605
|
-
_.delete(ze.attributeName), Ne = Nc(e,
|
|
19605
|
+
_.delete(ze.attributeName), Ne = Nc(e, te, le, ze);
|
|
19606
19606
|
else {
|
|
19607
19607
|
var K = l;
|
|
19608
19608
|
if (K === Bo && (K = bd(t)), K === Bo)
|
|
19609
|
-
_.delete(
|
|
19609
|
+
_.delete(te.toLowerCase());
|
|
19610
19610
|
else {
|
|
19611
|
-
var ve = m_(
|
|
19612
|
-
ve !== null && ve !==
|
|
19611
|
+
var ve = m_(te);
|
|
19612
|
+
ve !== null && ve !== te && (ie = !0, _.delete(ve)), _.delete(te);
|
|
19613
19613
|
}
|
|
19614
|
-
Ne = ud(e,
|
|
19614
|
+
Ne = ud(e, te, le);
|
|
19615
19615
|
}
|
|
19616
19616
|
var Pe = oe;
|
|
19617
|
-
!Pe && le !== Ne && !ie && rf(
|
|
19617
|
+
!Pe && le !== Ne && !ie && rf(te, Ne, le);
|
|
19618
19618
|
}
|
|
19619
19619
|
}
|
|
19620
19620
|
}
|
|
@@ -19634,7 +19634,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19634
19634
|
typeof i.onClick == "function" && mh(e);
|
|
19635
19635
|
break;
|
|
19636
19636
|
}
|
|
19637
|
-
return
|
|
19637
|
+
return X;
|
|
19638
19638
|
}
|
|
19639
19639
|
function f_(e, t, i) {
|
|
19640
19640
|
var l = e.nodeValue !== t;
|
|
@@ -19835,10 +19835,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19835
19835
|
var _ = E.tag, O = !!g + "|" + e + "|" + _;
|
|
19836
19836
|
if (!a5[O]) {
|
|
19837
19837
|
a5[O] = !0;
|
|
19838
|
-
var M = e,
|
|
19839
|
-
if (e === "#text" ? /\S/.test(t) ? M = "Text nodes" : (M = "Whitespace text nodes",
|
|
19838
|
+
var M = e, H = "";
|
|
19839
|
+
if (e === "#text" ? /\S/.test(t) ? M = "Text nodes" : (M = "Whitespace text nodes", H = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : M = "<" + e + ">", g) {
|
|
19840
19840
|
var $ = "";
|
|
19841
|
-
_ === "table" && e === "tr" && ($ += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", M, _,
|
|
19841
|
+
_ === "table" && e === "tr" && ($ += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", M, _, H, $);
|
|
19842
19842
|
} else
|
|
19843
19843
|
p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", M, _);
|
|
19844
19844
|
}
|
|
@@ -20232,7 +20232,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20232
20232
|
}
|
|
20233
20233
|
function Jl(e) {
|
|
20234
20234
|
var t = e[P1] || e[df];
|
|
20235
|
-
return t && (t.tag === A || t.tag === D || t.tag ===
|
|
20235
|
+
return t && (t.tag === A || t.tag === D || t.tag === J || t.tag === R) ? t : null;
|
|
20236
20236
|
}
|
|
20237
20237
|
function x1(e) {
|
|
20238
20238
|
if (e.tag === A || e.tag === D)
|
|
@@ -20457,8 +20457,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20457
20457
|
Lu(), Eo[Co++] = $i, Eo[Co++] = qi, Eo[Co++] = Iu, Iu = e;
|
|
20458
20458
|
var l = $i, m = qi, g = Rh(l) - 1, k = l & ~(1 << g), E = i + 1, _ = Rh(t) + g;
|
|
20459
20459
|
if (_ > 30) {
|
|
20460
|
-
var O = g - g % 5, M = (1 << O) - 1,
|
|
20461
|
-
$i = 1 <<
|
|
20460
|
+
var O = g - g % 5, M = (1 << O) - 1, H = (k & M).toString(32), $ = k >> O, X = g - O, te = Rh(t) + X, le = E << X, Ne = le | $, ze = H + m;
|
|
20461
|
+
$i = 1 << te | Ne, qi = ze;
|
|
20462
20462
|
} else {
|
|
20463
20463
|
var Ke = E << g, kt = Ke | k, gt = m;
|
|
20464
20464
|
$i = 1 << _ | kt, qi = gt;
|
|
@@ -20531,7 +20531,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20531
20531
|
);
|
|
20532
20532
|
break;
|
|
20533
20533
|
}
|
|
20534
|
-
case
|
|
20534
|
+
case J: {
|
|
20535
20535
|
var l = e.memoizedState;
|
|
20536
20536
|
l.dehydrated !== null && fR(l.dehydrated, t);
|
|
20537
20537
|
break;
|
|
@@ -20581,12 +20581,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20581
20581
|
break;
|
|
20582
20582
|
}
|
|
20583
20583
|
case D: {
|
|
20584
|
-
var
|
|
20584
|
+
var H = t.pendingProps, $ = (e.mode & yt) !== Je;
|
|
20585
20585
|
bR(
|
|
20586
20586
|
g,
|
|
20587
20587
|
k,
|
|
20588
20588
|
E,
|
|
20589
|
-
|
|
20589
|
+
H,
|
|
20590
20590
|
// TODO: Delete this argument when we remove the legacy root API.
|
|
20591
20591
|
$
|
|
20592
20592
|
);
|
|
@@ -20595,17 +20595,17 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20595
20595
|
}
|
|
20596
20596
|
break;
|
|
20597
20597
|
}
|
|
20598
|
-
case
|
|
20599
|
-
var
|
|
20600
|
-
if (
|
|
20598
|
+
case J: {
|
|
20599
|
+
var X = e.memoizedState, te = X.dehydrated;
|
|
20600
|
+
if (te !== null)
|
|
20601
20601
|
switch (t.tag) {
|
|
20602
20602
|
case A:
|
|
20603
20603
|
var le = t.type;
|
|
20604
|
-
t.pendingProps, vR(
|
|
20604
|
+
t.pendingProps, vR(te, le);
|
|
20605
20605
|
break;
|
|
20606
20606
|
case D:
|
|
20607
20607
|
var Ne = t.pendingProps;
|
|
20608
|
-
TR(
|
|
20608
|
+
TR(te, Ne);
|
|
20609
20609
|
break;
|
|
20610
20610
|
}
|
|
20611
20611
|
break;
|
|
@@ -20630,7 +20630,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20630
20630
|
var m = e.pendingProps, g = Z_(t, m);
|
|
20631
20631
|
return g !== null ? (e.stateNode = g, Ra = e, _o = null, !0) : !1;
|
|
20632
20632
|
}
|
|
20633
|
-
case
|
|
20633
|
+
case J: {
|
|
20634
20634
|
var k = J_(t);
|
|
20635
20635
|
if (k !== null) {
|
|
20636
20636
|
var E = {
|
|
@@ -20724,7 +20724,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20724
20724
|
return iR(i);
|
|
20725
20725
|
}
|
|
20726
20726
|
function w5(e) {
|
|
20727
|
-
for (var t = e.return; t !== null && t.tag !== A && t.tag !== R && t.tag !==
|
|
20727
|
+
for (var t = e.return; t !== null && t.tag !== A && t.tag !== R && t.tag !== J; )
|
|
20728
20728
|
t = t.return;
|
|
20729
20729
|
Ra = t;
|
|
20730
20730
|
}
|
|
@@ -20742,7 +20742,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
20742
20742
|
for (; t; )
|
|
20743
20743
|
k5(e, t), t = uf(t);
|
|
20744
20744
|
}
|
|
20745
|
-
return w5(e), e.tag ===
|
|
20745
|
+
return w5(e), e.tag === J ? _o = qR(e) : _o = Ra ? uf(e.stateNode) : null, !0;
|
|
20746
20746
|
}
|
|
20747
20747
|
function HR() {
|
|
20748
20748
|
return Xo && _o !== null;
|
|
@@ -20862,13 +20862,13 @@ Please update the following components: %s`, O);
|
|
|
20862
20862
|
Please update the following components: %s`, M);
|
|
20863
20863
|
}
|
|
20864
20864
|
if (m.size > 0) {
|
|
20865
|
-
var
|
|
20865
|
+
var H = Ou(m);
|
|
20866
20866
|
f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
20867
20867
|
|
|
20868
20868
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
20869
20869
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate 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.
|
|
20870
20870
|
|
|
20871
|
-
Please update the following components: %s`,
|
|
20871
|
+
Please update the following components: %s`, H);
|
|
20872
20872
|
}
|
|
20873
20873
|
};
|
|
20874
20874
|
var Nh = /* @__PURE__ */ new Map(), _5 = /* @__PURE__ */ new Set();
|
|
@@ -20960,8 +20960,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
20960
20960
|
_.tag = Ph;
|
|
20961
20961
|
var O = l.updateQueue;
|
|
20962
20962
|
if (O !== null) {
|
|
20963
|
-
var M = O.shared,
|
|
20964
|
-
|
|
20963
|
+
var M = O.shared, H = M.pending;
|
|
20964
|
+
H === null ? _.next = _ : (_.next = H.next, H.next = _), M.pending = _;
|
|
20965
20965
|
}
|
|
20966
20966
|
}
|
|
20967
20967
|
l.lanes = mt(l.lanes, i);
|
|
@@ -20971,15 +20971,15 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
20971
20971
|
}
|
|
20972
20972
|
k = k.next;
|
|
20973
20973
|
}
|
|
20974
|
-
} else if (l.tag ===
|
|
20974
|
+
} else if (l.tag === G)
|
|
20975
20975
|
m = l.type === e.type ? null : l.child;
|
|
20976
20976
|
else if (l.tag === We) {
|
|
20977
|
-
var
|
|
20978
|
-
if (
|
|
20977
|
+
var X = l.return;
|
|
20978
|
+
if (X === null)
|
|
20979
20979
|
throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");
|
|
20980
|
-
|
|
20981
|
-
var
|
|
20982
|
-
|
|
20980
|
+
X.lanes = mt(X.lanes, i);
|
|
20981
|
+
var te = X.alternate;
|
|
20982
|
+
te !== null && (te.lanes = mt(te.lanes, i)), y6(X, i, e), m = l.sibling;
|
|
20983
20983
|
} else
|
|
20984
20984
|
m = l.child;
|
|
20985
20985
|
if (m !== null)
|
|
@@ -21234,12 +21234,12 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
21234
21234
|
_.next = null, k === null ? g = O : k.next = O, k = _;
|
|
21235
21235
|
var M = e.alternate;
|
|
21236
21236
|
if (M !== null) {
|
|
21237
|
-
var
|
|
21238
|
-
$ !== k && ($ === null ?
|
|
21237
|
+
var H = M.updateQueue, $ = H.lastBaseUpdate;
|
|
21238
|
+
$ !== k && ($ === null ? H.firstBaseUpdate = O : $.next = O, H.lastBaseUpdate = _);
|
|
21239
21239
|
}
|
|
21240
21240
|
}
|
|
21241
21241
|
if (g !== null) {
|
|
21242
|
-
var
|
|
21242
|
+
var X = m.baseState, te = ce, le = null, Ne = null, ze = null, Ke = g;
|
|
21243
21243
|
do {
|
|
21244
21244
|
var kt = Ke.lane, gt = Ke.eventTime;
|
|
21245
21245
|
if (Ii(l, kt)) {
|
|
@@ -21257,7 +21257,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
21257
21257
|
};
|
|
21258
21258
|
ze = ze.next = Y;
|
|
21259
21259
|
}
|
|
21260
|
-
|
|
21260
|
+
X = tI(e, m, Ke, X, t, i);
|
|
21261
21261
|
var ie = Ke.callback;
|
|
21262
21262
|
if (ie !== null && // If the update was already committed, we should not queue its
|
|
21263
21263
|
// callback again.
|
|
@@ -21275,7 +21275,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
21275
21275
|
callback: Ke.callback,
|
|
21276
21276
|
next: null
|
|
21277
21277
|
};
|
|
21278
|
-
ze === null ? (Ne = ze = ve, le =
|
|
21278
|
+
ze === null ? (Ne = ze = ve, le = X) : ze = ze.next = ve, te = mt(te, kt);
|
|
21279
21279
|
}
|
|
21280
21280
|
if (Ke = Ke.next, Ke === null) {
|
|
21281
21281
|
if (E = m.shared.pending, E === null)
|
|
@@ -21284,16 +21284,16 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
21284
21284
|
Pe.next = null, Ke = Le, m.lastBaseUpdate = Pe, m.shared.pending = null;
|
|
21285
21285
|
}
|
|
21286
21286
|
} while (!0);
|
|
21287
|
-
ze === null && (le =
|
|
21287
|
+
ze === null && (le = X), m.baseState = le, m.firstBaseUpdate = Ne, m.lastBaseUpdate = ze;
|
|
21288
21288
|
var nt = m.shared.interleaved;
|
|
21289
21289
|
if (nt !== null) {
|
|
21290
21290
|
var ct = nt;
|
|
21291
21291
|
do
|
|
21292
|
-
|
|
21292
|
+
te = mt(te, ct.lane), ct = ct.next;
|
|
21293
21293
|
while (ct !== nt);
|
|
21294
21294
|
} else
|
|
21295
21295
|
g === null && (m.shared.lanes = ce);
|
|
21296
|
-
Hf(
|
|
21296
|
+
Hf(te), e.lanes = te, e.memoizedState = X;
|
|
21297
21297
|
}
|
|
21298
21298
|
Dh = null;
|
|
21299
21299
|
}
|
|
@@ -21439,25 +21439,25 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, m)
|
|
|
21439
21439
|
Fn(!1);
|
|
21440
21440
|
}
|
|
21441
21441
|
}
|
|
21442
|
-
var
|
|
21442
|
+
var H = e.memoizedState = M.state !== null && M.state !== void 0 ? M.state : null;
|
|
21443
21443
|
B5(e, M);
|
|
21444
21444
|
{
|
|
21445
|
-
if (typeof t.getDerivedStateFromProps == "function" &&
|
|
21445
|
+
if (typeof t.getDerivedStateFromProps == "function" && H === null) {
|
|
21446
21446
|
var $ = qt(t) || "Component";
|
|
21447
21447
|
C6.has($) || (C6.add($), p("`%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.", $, M.state === null ? "null" : "undefined", $));
|
|
21448
21448
|
}
|
|
21449
21449
|
if (typeof t.getDerivedStateFromProps == "function" || typeof M.getSnapshotBeforeUpdate == "function") {
|
|
21450
|
-
var
|
|
21451
|
-
if (typeof M.componentWillMount == "function" && M.componentWillMount.__suppressDeprecationWarning !== !0 ?
|
|
21450
|
+
var X = null, te = null, le = null;
|
|
21451
|
+
if (typeof M.componentWillMount == "function" && M.componentWillMount.__suppressDeprecationWarning !== !0 ? X = "componentWillMount" : typeof M.UNSAFE_componentWillMount == "function" && (X = "UNSAFE_componentWillMount"), typeof M.componentWillReceiveProps == "function" && M.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? te = "componentWillReceiveProps" : typeof M.UNSAFE_componentWillReceiveProps == "function" && (te = "UNSAFE_componentWillReceiveProps"), typeof M.componentWillUpdate == "function" && M.componentWillUpdate.__suppressDeprecationWarning !== !0 ? le = "componentWillUpdate" : typeof M.UNSAFE_componentWillUpdate == "function" && (le = "UNSAFE_componentWillUpdate"), X !== null || te !== null || le !== null) {
|
|
21452
21452
|
var Ne = qt(t) || "Component", ze = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
21453
21453
|
R6.has(Ne) || (R6.add(Ne), p(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
21454
21454
|
|
|
21455
21455
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
21456
21456
|
|
|
21457
21457
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
21458
|
-
https://reactjs.org/link/unsafe-component-lifecycles`, Ne, ze,
|
|
21459
|
-
` +
|
|
21460
|
-
` +
|
|
21458
|
+
https://reactjs.org/link/unsafe-component-lifecycles`, Ne, ze, X !== null ? `
|
|
21459
|
+
` + X : "", te !== null ? `
|
|
21460
|
+
` + te : "", le !== null ? `
|
|
21461
21461
|
` + le : ""));
|
|
21462
21462
|
}
|
|
21463
21463
|
}
|
|
@@ -21513,20 +21513,20 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ne, ze, ee !== null ? `
|
|
|
21513
21513
|
var O = D1(e, t, !0);
|
|
21514
21514
|
_ = U1(e, O);
|
|
21515
21515
|
}
|
|
21516
|
-
var M = t.getDerivedStateFromProps,
|
|
21517
|
-
!
|
|
21518
|
-
var $ = e.memoizedState,
|
|
21519
|
-
if (Fh(e, i, m, l),
|
|
21516
|
+
var M = t.getDerivedStateFromProps, H = typeof M == "function" || typeof m.getSnapshotBeforeUpdate == "function";
|
|
21517
|
+
!H && (typeof m.UNSAFE_componentWillReceiveProps == "function" || typeof m.componentWillReceiveProps == "function") && (g !== i || k !== _) && $5(e, m, i, _), P5();
|
|
21518
|
+
var $ = e.memoizedState, X = m.state = $;
|
|
21519
|
+
if (Fh(e, i, m, l), X = e.memoizedState, g === i && $ === X && !bh() && !Vh()) {
|
|
21520
21520
|
if (typeof m.componentDidMount == "function") {
|
|
21521
|
-
var
|
|
21522
|
-
|
|
21521
|
+
var te = dt;
|
|
21522
|
+
te |= Ha, (e.mode & xr) !== Je && (te |= Ga), e.flags |= te;
|
|
21523
21523
|
}
|
|
21524
21524
|
return !1;
|
|
21525
21525
|
}
|
|
21526
|
-
typeof M == "function" && (O6(e, t, M, i),
|
|
21527
|
-
var le = Vh() || V5(e, t, g, i, $,
|
|
21526
|
+
typeof M == "function" && (O6(e, t, M, i), X = e.memoizedState);
|
|
21527
|
+
var le = Vh() || V5(e, t, g, i, $, X, _);
|
|
21528
21528
|
if (le) {
|
|
21529
|
-
if (!
|
|
21529
|
+
if (!H && (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") {
|
|
21530
21530
|
var Ne = dt;
|
|
21531
21531
|
Ne |= Ha, (e.mode & xr) !== Je && (Ne |= Ga), e.flags |= Ne;
|
|
21532
21532
|
}
|
|
@@ -21535,34 +21535,34 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ne, ze, ee !== null ? `
|
|
|
21535
21535
|
var ze = dt;
|
|
21536
21536
|
ze |= Ha, (e.mode & xr) !== Je && (ze |= Ga), e.flags |= ze;
|
|
21537
21537
|
}
|
|
21538
|
-
e.memoizedProps = i, e.memoizedState =
|
|
21538
|
+
e.memoizedProps = i, e.memoizedState = X;
|
|
21539
21539
|
}
|
|
21540
|
-
return m.props = i, m.state =
|
|
21540
|
+
return m.props = i, m.state = X, m.context = _, le;
|
|
21541
21541
|
}
|
|
21542
21542
|
function sI(e, t, i, l, m) {
|
|
21543
21543
|
var g = t.stateNode;
|
|
21544
21544
|
M5(e, t);
|
|
21545
21545
|
var k = t.memoizedProps, E = t.type === t.elementType ? k : ts(t.type, k);
|
|
21546
21546
|
g.props = E;
|
|
21547
|
-
var _ = t.pendingProps, O = g.context, M = i.contextType,
|
|
21547
|
+
var _ = t.pendingProps, O = g.context, M = i.contextType, H = io;
|
|
21548
21548
|
if (typeof M == "object" && M !== null)
|
|
21549
|
-
|
|
21549
|
+
H = Xn(M);
|
|
21550
21550
|
else {
|
|
21551
21551
|
var $ = D1(t, i, !0);
|
|
21552
|
-
|
|
21552
|
+
H = U1(t, $);
|
|
21553
21553
|
}
|
|
21554
|
-
var
|
|
21555
|
-
!
|
|
21554
|
+
var X = i.getDerivedStateFromProps, te = typeof X == "function" || typeof g.getSnapshotBeforeUpdate == "function";
|
|
21555
|
+
!te && (typeof g.UNSAFE_componentWillReceiveProps == "function" || typeof g.componentWillReceiveProps == "function") && (k !== _ || O !== H) && $5(t, g, l, H), P5();
|
|
21556
21556
|
var le = t.memoizedState, Ne = g.state = le;
|
|
21557
21557
|
if (Fh(t, l, g, m), Ne = t.memoizedState, k === _ && le === Ne && !bh() && !Vh() && !xe)
|
|
21558
21558
|
return typeof g.componentDidUpdate == "function" && (k !== e.memoizedProps || le !== e.memoizedState) && (t.flags |= dt), typeof g.getSnapshotBeforeUpdate == "function" && (k !== e.memoizedProps || le !== e.memoizedState) && (t.flags |= Ar), !1;
|
|
21559
|
-
typeof
|
|
21560
|
-
var ze = Vh() || V5(t, i, E, l, le, Ne,
|
|
21559
|
+
typeof X == "function" && (O6(t, i, X, l), Ne = t.memoizedState);
|
|
21560
|
+
var ze = Vh() || V5(t, i, E, l, le, Ne, H) || // TODO: In some cases, we'll end up checking if context has changed twice,
|
|
21561
21561
|
// both before and after `shouldComponentUpdate` has been called. Not ideal,
|
|
21562
21562
|
// but I'm loath to refactor this function. This only happens for memoized
|
|
21563
21563
|
// components so it's not that common.
|
|
21564
21564
|
xe;
|
|
21565
|
-
return ze ? (!
|
|
21565
|
+
return ze ? (!te && (typeof g.UNSAFE_componentWillUpdate == "function" || typeof g.componentWillUpdate == "function") && (typeof g.componentWillUpdate == "function" && g.componentWillUpdate(l, Ne, H), typeof g.UNSAFE_componentWillUpdate == "function" && g.UNSAFE_componentWillUpdate(l, Ne, H)), typeof g.componentDidUpdate == "function" && (t.flags |= dt), typeof g.getSnapshotBeforeUpdate == "function" && (t.flags |= Ar)) : (typeof g.componentDidUpdate == "function" && (k !== e.memoizedProps || le !== e.memoizedState) && (t.flags |= dt), typeof g.getSnapshotBeforeUpdate == "function" && (k !== e.memoizedProps || le !== e.memoizedState) && (t.flags |= Ar), t.memoizedProps = l, t.memoizedState = Ne), g.props = l, g.state = Ne, g.context = H, ze;
|
|
21566
21566
|
}
|
|
21567
21567
|
var x6, D6, U6, F6, V6, q5 = function(e, t) {
|
|
21568
21568
|
};
|
|
@@ -21600,9 +21600,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ne, ze, ee !== null ? `
|
|
|
21600
21600
|
var O = "" + l;
|
|
21601
21601
|
if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === O)
|
|
21602
21602
|
return t.ref;
|
|
21603
|
-
var M = function(
|
|
21603
|
+
var M = function(H) {
|
|
21604
21604
|
var $ = _.refs;
|
|
21605
|
-
$ === D5 && ($ = _.refs = {}),
|
|
21605
|
+
$ === D5 && ($ = _.refs = {}), H === null ? delete $[O] : $[O] = H;
|
|
21606
21606
|
};
|
|
21607
21607
|
return M._stringRef = O, M;
|
|
21608
21608
|
} else {
|
|
@@ -21705,7 +21705,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21705
21705
|
}
|
|
21706
21706
|
}
|
|
21707
21707
|
function M(Y, ie, K, ve, Pe) {
|
|
21708
|
-
if (ie === null || ie.tag !==
|
|
21708
|
+
if (ie === null || ie.tag !== B) {
|
|
21709
21709
|
var Le = pc(K, Y.mode, ve, Pe);
|
|
21710
21710
|
return Le.return = Y, Le;
|
|
21711
21711
|
} else {
|
|
@@ -21713,7 +21713,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21713
21713
|
return nt.return = Y, nt;
|
|
21714
21714
|
}
|
|
21715
21715
|
}
|
|
21716
|
-
function
|
|
21716
|
+
function H(Y, ie, K) {
|
|
21717
21717
|
if (typeof ie == "string" && ie !== "" || typeof ie == "number") {
|
|
21718
21718
|
var ve = m8("" + ie, Y.mode, K);
|
|
21719
21719
|
return ve.return = Y, ve;
|
|
@@ -21730,7 +21730,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21730
21730
|
}
|
|
21731
21731
|
case Ca: {
|
|
21732
21732
|
var nt = ie._payload, ct = ie._init;
|
|
21733
|
-
return
|
|
21733
|
+
return H(Y, ct(nt), K);
|
|
21734
21734
|
}
|
|
21735
21735
|
}
|
|
21736
21736
|
if (Qn(ie) || Fo(ie)) {
|
|
@@ -21762,7 +21762,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21762
21762
|
}
|
|
21763
21763
|
return typeof K == "function" && $h(Y), null;
|
|
21764
21764
|
}
|
|
21765
|
-
function
|
|
21765
|
+
function X(Y, ie, K, ve, Pe) {
|
|
21766
21766
|
if (typeof ve == "string" && ve !== "" || typeof ve == "number") {
|
|
21767
21767
|
var Le = Y.get(K) || null;
|
|
21768
21768
|
return E(ie, Le, "" + ve, Pe);
|
|
@@ -21779,7 +21779,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21779
21779
|
}
|
|
21780
21780
|
case Ca:
|
|
21781
21781
|
var $t = ve._payload, Pt = ve._init;
|
|
21782
|
-
return
|
|
21782
|
+
return X(Y, ie, K, Pt($t), Pe);
|
|
21783
21783
|
}
|
|
21784
21784
|
if (Qn(ve) || Fo(ve)) {
|
|
21785
21785
|
var qn = Y.get(K) || null;
|
|
@@ -21789,7 +21789,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21789
21789
|
}
|
|
21790
21790
|
return typeof ve == "function" && $h(ie), null;
|
|
21791
21791
|
}
|
|
21792
|
-
function
|
|
21792
|
+
function te(Y, ie, K) {
|
|
21793
21793
|
{
|
|
21794
21794
|
if (typeof Y != "object" || Y === null)
|
|
21795
21795
|
return ie;
|
|
@@ -21812,7 +21812,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21812
21812
|
break;
|
|
21813
21813
|
case Ca:
|
|
21814
21814
|
var Pe = Y._payload, Le = Y._init;
|
|
21815
|
-
|
|
21815
|
+
te(Le(Pe), ie, K);
|
|
21816
21816
|
break;
|
|
21817
21817
|
}
|
|
21818
21818
|
}
|
|
@@ -21821,7 +21821,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21821
21821
|
function le(Y, ie, K, ve) {
|
|
21822
21822
|
for (var Pe = null, Le = 0; Le < K.length; Le++) {
|
|
21823
21823
|
var nt = K[Le];
|
|
21824
|
-
Pe =
|
|
21824
|
+
Pe = te(nt, Pe, Y);
|
|
21825
21825
|
}
|
|
21826
21826
|
for (var ct = null, $t = null, Pt = ie, qn = 0, xt = 0, An = null; Pt !== null && xt < K.length; xt++) {
|
|
21827
21827
|
Pt.index > xt ? (An = Pt, Pt = null) : An = Pt.sibling;
|
|
@@ -21841,7 +21841,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21841
21841
|
}
|
|
21842
21842
|
if (Pt === null) {
|
|
21843
21843
|
for (; xt < K.length; xt++) {
|
|
21844
|
-
var co =
|
|
21844
|
+
var co = H(Y, K[xt], ve);
|
|
21845
21845
|
co !== null && (qn = g(co, qn, xt), $t === null ? ct = co : $t.sibling = co, $t = co);
|
|
21846
21846
|
}
|
|
21847
21847
|
if (Ia()) {
|
|
@@ -21851,7 +21851,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21851
21851
|
return ct;
|
|
21852
21852
|
}
|
|
21853
21853
|
for (var br = l(Y, Pt); xt < K.length; xt++) {
|
|
21854
|
-
var ar =
|
|
21854
|
+
var ar = X(br, Y, xt, K[xt], ve);
|
|
21855
21855
|
ar !== null && (e && ar.alternate !== null && br.delete(ar.key === null ? xt : ar.key), qn = g(ar, qn, xt), $t === null ? ct = ar : $t.sibling = ar, $t = ar);
|
|
21856
21856
|
}
|
|
21857
21857
|
if (e && br.forEach(function(om) {
|
|
@@ -21873,7 +21873,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21873
21873
|
if (Le)
|
|
21874
21874
|
for (var nt = null, ct = Le.next(); !ct.done; ct = Le.next()) {
|
|
21875
21875
|
var $t = ct.value;
|
|
21876
|
-
nt =
|
|
21876
|
+
nt = te($t, nt, Y);
|
|
21877
21877
|
}
|
|
21878
21878
|
}
|
|
21879
21879
|
var Pt = Pe.call(K);
|
|
@@ -21897,7 +21897,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21897
21897
|
}
|
|
21898
21898
|
if (An === null) {
|
|
21899
21899
|
for (; !kr.done; xa++, kr = Pt.next()) {
|
|
21900
|
-
var Ki =
|
|
21900
|
+
var Ki = H(Y, kr.value, ve);
|
|
21901
21901
|
Ki !== null && (nr = g(Ki, nr, xa), xt === null ? qn = Ki : xt.sibling = Ki, xt = Ki);
|
|
21902
21902
|
}
|
|
21903
21903
|
if (Ia()) {
|
|
@@ -21907,7 +21907,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21907
21907
|
return qn;
|
|
21908
21908
|
}
|
|
21909
21909
|
for (var Yf = l(Y, An); !kr.done; xa++, kr = Pt.next()) {
|
|
21910
|
-
var Ys =
|
|
21910
|
+
var Ys = X(Yf, Y, xa, kr.value, ve);
|
|
21911
21911
|
Ys !== null && (e && Ys.alternate !== null && Yf.delete(Ys.key === null ? xa : Ys.key), nr = g(Ys, nr, xa), xt === null ? qn = Ys : xt.sibling = Ys, xt = Ys);
|
|
21912
21912
|
}
|
|
21913
21913
|
if (e && Yf.forEach(function(kA) {
|
|
@@ -21933,7 +21933,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
21933
21933
|
if (Le.key === Pe) {
|
|
21934
21934
|
var nt = K.type;
|
|
21935
21935
|
if (nt === Uo) {
|
|
21936
|
-
if (Le.tag ===
|
|
21936
|
+
if (Le.tag === B) {
|
|
21937
21937
|
i(Y, Le.sibling);
|
|
21938
21938
|
var ct = m(Le, K.props.children);
|
|
21939
21939
|
return ct.return = Y, ct._debugSource = K._source, ct._debugOwner = K._owner, ct;
|
|
@@ -22072,7 +22072,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
22072
22072
|
}
|
|
22073
22073
|
function Gh(e) {
|
|
22074
22074
|
for (var t = e; t !== null; ) {
|
|
22075
|
-
if (t.tag ===
|
|
22075
|
+
if (t.tag === J) {
|
|
22076
22076
|
var i = t.memoizedState;
|
|
22077
22077
|
if (i !== null) {
|
|
22078
22078
|
var l = i.dehydrated;
|
|
@@ -22297,11 +22297,11 @@ Incoming: %s`, ue, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
22297
22297
|
g.baseQueue !== k && p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), g.baseQueue = k = E, m.pending = null;
|
|
22298
22298
|
}
|
|
22299
22299
|
if (k !== null) {
|
|
22300
|
-
var M = k.next,
|
|
22300
|
+
var M = k.next, H = g.baseState, $ = null, X = null, te = null, le = M;
|
|
22301
22301
|
do {
|
|
22302
22302
|
var Ne = le.lane;
|
|
22303
22303
|
if (Ii(xu, Ne)) {
|
|
22304
|
-
if (
|
|
22304
|
+
if (te !== null) {
|
|
22305
22305
|
var ze = {
|
|
22306
22306
|
// This update is going to be committed so we never want uncommit
|
|
22307
22307
|
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
@@ -22312,13 +22312,13 @@ Incoming: %s`, ue, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
22312
22312
|
eagerState: le.eagerState,
|
|
22313
22313
|
next: null
|
|
22314
22314
|
};
|
|
22315
|
-
|
|
22315
|
+
te = te.next = ze;
|
|
22316
22316
|
}
|
|
22317
22317
|
if (le.hasEagerState)
|
|
22318
|
-
|
|
22318
|
+
H = le.eagerState;
|
|
22319
22319
|
else {
|
|
22320
22320
|
var Ke = le.action;
|
|
22321
|
-
|
|
22321
|
+
H = e(H, Ke);
|
|
22322
22322
|
}
|
|
22323
22323
|
} else {
|
|
22324
22324
|
var kt = {
|
|
@@ -22328,11 +22328,11 @@ Incoming: %s`, ue, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
22328
22328
|
eagerState: le.eagerState,
|
|
22329
22329
|
next: null
|
|
22330
22330
|
};
|
|
22331
|
-
|
|
22331
|
+
te === null ? (X = te = kt, $ = H) : te = te.next = kt, zt.lanes = mt(zt.lanes, Ne), Hf(Ne);
|
|
22332
22332
|
}
|
|
22333
22333
|
le = le.next;
|
|
22334
22334
|
} while (le !== null && le !== M);
|
|
22335
|
-
|
|
22335
|
+
te === null ? $ = H : te.next = X, Ae(H, l.memoizedState) || Mf(), l.memoizedState = H, l.baseState = $, l.baseQueue = te, m.lastRenderedState = H;
|
|
22336
22336
|
}
|
|
22337
22337
|
var gt = m.interleaved;
|
|
22338
22338
|
if (gt !== null) {
|
|
@@ -22716,8 +22716,8 @@ Incoming: %s`, ue, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
22716
22716
|
}
|
|
22717
22717
|
var M = L5(e, t, m, l);
|
|
22718
22718
|
if (M !== null) {
|
|
22719
|
-
var
|
|
22720
|
-
ha(M, e, l,
|
|
22719
|
+
var H = Tr();
|
|
22720
|
+
ha(M, e, l, H), f7(M, t, l);
|
|
22721
22721
|
}
|
|
22722
22722
|
}
|
|
22723
22723
|
h7(e, l);
|
|
@@ -23329,7 +23329,7 @@ Incoming: %s`, ue, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
23329
23329
|
var l = i.stateNode;
|
|
23330
23330
|
l.effectDuration += t;
|
|
23331
23331
|
return;
|
|
23332
|
-
case
|
|
23332
|
+
case ne:
|
|
23333
23333
|
var m = i.stateNode;
|
|
23334
23334
|
m.effectDuration += t;
|
|
23335
23335
|
return;
|
|
@@ -23348,7 +23348,7 @@ Incoming: %s`, ue, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
23348
23348
|
var l = i.stateNode;
|
|
23349
23349
|
l !== null && (l.passiveEffectDuration += t);
|
|
23350
23350
|
return;
|
|
23351
|
-
case
|
|
23351
|
+
case ne:
|
|
23352
23352
|
var m = i.stateNode;
|
|
23353
23353
|
m !== null && (m.passiveEffectDuration += t);
|
|
23354
23354
|
return;
|
|
@@ -23405,11 +23405,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23405
23405
|
var M = ut(e) || "Anonymous";
|
|
23406
23406
|
O = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + M + ".");
|
|
23407
23407
|
}
|
|
23408
|
-
var
|
|
23408
|
+
var H = _ + `
|
|
23409
23409
|
` + k + `
|
|
23410
23410
|
|
|
23411
23411
|
` + ("" + O);
|
|
23412
|
-
console.error(
|
|
23412
|
+
console.error(H);
|
|
23413
23413
|
} catch ($) {
|
|
23414
23414
|
setTimeout(function() {
|
|
23415
23415
|
throw $;
|
|
@@ -23466,7 +23466,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23466
23466
|
}
|
|
23467
23467
|
function RI(e, t) {
|
|
23468
23468
|
var i = e.tag;
|
|
23469
|
-
if ((e.mode & yt) === Je && (i === b || i ===
|
|
23469
|
+
if ((e.mode & yt) === Je && (i === b || i === ee || i === se)) {
|
|
23470
23470
|
var l = e.alternate;
|
|
23471
23471
|
l ? (e.updateQueue = l.updateQueue, e.memoizedState = l.memoizedState, e.lanes = l.lanes) : (e.updateQueue = null, e.memoizedState = null);
|
|
23472
23472
|
}
|
|
@@ -23474,7 +23474,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23474
23474
|
function R7(e) {
|
|
23475
23475
|
var t = e;
|
|
23476
23476
|
do {
|
|
23477
|
-
if (t.tag ===
|
|
23477
|
+
if (t.tag === J && dI(t))
|
|
23478
23478
|
return t;
|
|
23479
23479
|
t = t.return;
|
|
23480
23480
|
} while (t !== null);
|
|
@@ -23531,19 +23531,19 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23531
23531
|
case R: {
|
|
23532
23532
|
var M = l;
|
|
23533
23533
|
O.flags |= Kn;
|
|
23534
|
-
var
|
|
23535
|
-
O.lanes = mt(O.lanes,
|
|
23536
|
-
var $ = C7(O, M,
|
|
23534
|
+
var H = Vn(m);
|
|
23535
|
+
O.lanes = mt(O.lanes, H);
|
|
23536
|
+
var $ = C7(O, M, H);
|
|
23537
23537
|
S6(O, $);
|
|
23538
23538
|
return;
|
|
23539
23539
|
}
|
|
23540
23540
|
case w:
|
|
23541
|
-
var
|
|
23542
|
-
if ((O.flags & at) === Ge && (typeof
|
|
23541
|
+
var X = l, te = O.type, le = O.stateNode;
|
|
23542
|
+
if ((O.flags & at) === Ge && (typeof te.getDerivedStateFromError == "function" || le !== null && typeof le.componentDidCatch == "function" && !RT(le))) {
|
|
23543
23543
|
O.flags |= Kn;
|
|
23544
23544
|
var Ne = Vn(m);
|
|
23545
23545
|
O.lanes = mt(O.lanes, Ne);
|
|
23546
|
-
var ze = kv(O,
|
|
23546
|
+
var ze = kv(O, X, Ne);
|
|
23547
23547
|
S6(O, ze);
|
|
23548
23548
|
return;
|
|
23549
23549
|
}
|
|
@@ -23620,14 +23620,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23620
23620
|
qt(O)
|
|
23621
23621
|
);
|
|
23622
23622
|
}
|
|
23623
|
-
var
|
|
23623
|
+
var H = e.child, $ = Pv(e, m);
|
|
23624
23624
|
if (!$) {
|
|
23625
|
-
var
|
|
23626
|
-
if (
|
|
23625
|
+
var X = H.memoizedProps, te = i.compare;
|
|
23626
|
+
if (te = te !== null ? te : He, te(X, l) && e.ref === t.ref)
|
|
23627
23627
|
return Gi(e, t, m);
|
|
23628
23628
|
}
|
|
23629
23629
|
t.flags |= ks;
|
|
23630
|
-
var le = $u(
|
|
23630
|
+
var le = $u(H, l);
|
|
23631
23631
|
return le.ref = t.ref, le.return = t, t.child = le, le;
|
|
23632
23632
|
}
|
|
23633
23633
|
function A7(e, t, i, l, m) {
|
|
@@ -23683,8 +23683,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23683
23683
|
} else {
|
|
23684
23684
|
var O = null, M;
|
|
23685
23685
|
if (g !== null) {
|
|
23686
|
-
var
|
|
23687
|
-
M = mt(
|
|
23686
|
+
var H = g.baseLanes;
|
|
23687
|
+
M = mt(H, i);
|
|
23688
23688
|
} else
|
|
23689
23689
|
M = i;
|
|
23690
23690
|
t.lanes = t.childLanes = Ya;
|
|
@@ -23696,8 +23696,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23696
23696
|
return t.memoizedState = $, t.updateQueue = null, Cg(t, M), null;
|
|
23697
23697
|
}
|
|
23698
23698
|
else {
|
|
23699
|
-
var
|
|
23700
|
-
g !== null ? (
|
|
23699
|
+
var X;
|
|
23700
|
+
g !== null ? (X = mt(g.baseLanes, i), t.memoizedState = null) : X = i, Cg(t, X);
|
|
23701
23701
|
}
|
|
23702
23702
|
return yr(e, t, m, i), t.child;
|
|
23703
23703
|
}
|
|
@@ -23767,8 +23767,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23767
23767
|
t.flags |= at, t.flags |= Kn;
|
|
23768
23768
|
var O = new Error("Simulated error coming from DevTools"), M = Vn(m);
|
|
23769
23769
|
t.lanes = mt(t.lanes, M);
|
|
23770
|
-
var
|
|
23771
|
-
S6(t,
|
|
23770
|
+
var H = kv(t, Du(O, t), M);
|
|
23771
|
+
S6(t, H);
|
|
23772
23772
|
break;
|
|
23773
23773
|
}
|
|
23774
23774
|
}
|
|
@@ -23783,11 +23783,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23783
23783
|
);
|
|
23784
23784
|
}
|
|
23785
23785
|
}
|
|
23786
|
-
var
|
|
23787
|
-
zs(i) ? (
|
|
23788
|
-
var
|
|
23789
|
-
|
|
23790
|
-
var Ne = Rv(e, t, i, le,
|
|
23786
|
+
var X;
|
|
23787
|
+
zs(i) ? (X = !0, wh(t)) : X = !1, $1(t, m);
|
|
23788
|
+
var te = t.stateNode, le;
|
|
23789
|
+
te === null ? (pg(e, t), z5(t, i, l), P6(t, i, l, m), le = !0) : e === null ? le = oI(t, i, l, m) : le = sI(e, t, i, l, m);
|
|
23790
|
+
var Ne = Rv(e, t, i, le, X, m);
|
|
23791
23791
|
{
|
|
23792
23792
|
var ze = t.stateNode;
|
|
23793
23793
|
le && ze.props !== l && (Uu || p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", ut(t) || "a component"), Uu = !0);
|
|
@@ -23845,14 +23845,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23845
23845
|
var M = Du(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."), t);
|
|
23846
23846
|
return D7(e, t, E, i, M);
|
|
23847
23847
|
} else if (E !== g) {
|
|
23848
|
-
var
|
|
23849
|
-
return D7(e, t, E, i,
|
|
23848
|
+
var H = Du(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), t);
|
|
23849
|
+
return D7(e, t, E, i, H);
|
|
23850
23850
|
} else {
|
|
23851
23851
|
FR(t);
|
|
23852
23852
|
var $ = j5(t, null, E, i);
|
|
23853
23853
|
t.child = $;
|
|
23854
|
-
for (var
|
|
23855
|
-
|
|
23854
|
+
for (var X = $; X; )
|
|
23855
|
+
X.flags = X.flags & ~Xt | Or, X = X.sibling;
|
|
23856
23856
|
}
|
|
23857
23857
|
} else {
|
|
23858
23858
|
if (B1(), E === g)
|
|
@@ -23876,14 +23876,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23876
23876
|
pg(e, t);
|
|
23877
23877
|
var m = t.pendingProps, g = i, k = g._payload, E = g._init, _ = E(k);
|
|
23878
23878
|
t.type = _;
|
|
23879
|
-
var O = t.tag = DL(_), M = ts(_, m),
|
|
23879
|
+
var O = t.tag = DL(_), M = ts(_, m), H;
|
|
23880
23880
|
switch (O) {
|
|
23881
23881
|
case b:
|
|
23882
|
-
return Iv(t, _), t.type = _ = rm(_),
|
|
23882
|
+
return Iv(t, _), t.type = _ = rm(_), H = _v(null, t, _, M, l), H;
|
|
23883
23883
|
case w:
|
|
23884
|
-
return t.type = _ = r8(_),
|
|
23885
|
-
case
|
|
23886
|
-
return t.type = _ = o8(_),
|
|
23884
|
+
return t.type = _ = r8(_), H = P7(null, t, _, M, l), H;
|
|
23885
|
+
case ee:
|
|
23886
|
+
return t.type = _ = o8(_), H = N7(null, t, _, M, l), H;
|
|
23887
23887
|
case de: {
|
|
23888
23888
|
if (t.type !== t.elementType) {
|
|
23889
23889
|
var $ = _.propTypes;
|
|
@@ -23895,18 +23895,18 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23895
23895
|
qt(_)
|
|
23896
23896
|
);
|
|
23897
23897
|
}
|
|
23898
|
-
return
|
|
23898
|
+
return H = L7(
|
|
23899
23899
|
null,
|
|
23900
23900
|
t,
|
|
23901
23901
|
_,
|
|
23902
23902
|
ts(_.type, M),
|
|
23903
23903
|
// The inner type can have defaults too
|
|
23904
23904
|
l
|
|
23905
|
-
),
|
|
23905
|
+
), H;
|
|
23906
23906
|
}
|
|
23907
23907
|
}
|
|
23908
|
-
var
|
|
23909
|
-
throw _ !== null && typeof _ == "object" && _.$$typeof === Ca && (
|
|
23908
|
+
var X = "";
|
|
23909
|
+
throw _ !== null && typeof _ == "object" && _.$$typeof === Ca && (X = " Did you wrap a component in React.lazy() more than once?"), new Error("Element type is invalid. Received a promise that resolves to: " + _ + ". " + ("Lazy element type must resolve to a class or function." + X));
|
|
23910
23910
|
}
|
|
23911
23911
|
function FI(e, t, i, l, m) {
|
|
23912
23912
|
pg(e, t), t.tag = w;
|
|
@@ -23940,8 +23940,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
23940
23940
|
typeof E == "object" && E !== null && typeof E.render == "function" && E.$$typeof === void 0
|
|
23941
23941
|
) {
|
|
23942
23942
|
{
|
|
23943
|
-
var
|
|
23944
|
-
Of[
|
|
23943
|
+
var H = qt(i) || "Unknown";
|
|
23944
|
+
Of[H] || (p("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.", H, H, H), Of[H] = !0);
|
|
23945
23945
|
}
|
|
23946
23946
|
t.tag = w, t.memoizedState = null, t.updateQueue = null;
|
|
23947
23947
|
var $ = !1;
|
|
@@ -24023,16 +24023,16 @@ Check the render method of \`` + l + "`.");
|
|
|
24023
24023
|
}
|
|
24024
24024
|
var O = l.children, M = l.fallback;
|
|
24025
24025
|
if (g) {
|
|
24026
|
-
var
|
|
24027
|
-
return $.memoizedState = Lv(i), t.memoizedState = Nv,
|
|
24026
|
+
var H = qI(t, O, M, i), $ = t.child;
|
|
24027
|
+
return $.memoizedState = Lv(i), t.memoizedState = Nv, H;
|
|
24028
24028
|
} else
|
|
24029
24029
|
return Av(t, O);
|
|
24030
24030
|
} else {
|
|
24031
|
-
var
|
|
24032
|
-
if (
|
|
24033
|
-
var
|
|
24034
|
-
if (
|
|
24035
|
-
return QI(e, t, k, l,
|
|
24031
|
+
var X = e.memoizedState;
|
|
24032
|
+
if (X !== null) {
|
|
24033
|
+
var te = X.dehydrated;
|
|
24034
|
+
if (te !== null)
|
|
24035
|
+
return QI(e, t, k, l, te, X, i);
|
|
24036
24036
|
}
|
|
24037
24037
|
if (g) {
|
|
24038
24038
|
var le = l.fallback, Ne = l.children, ze = GI(e, t, Ne, le, i), Ke = t.child, kt = e.child.memoizedState;
|
|
@@ -24094,8 +24094,8 @@ Check the render method of \`` + l + "`.");
|
|
|
24094
24094
|
O = M, O.childLanes = ce, O.pendingProps = _, t.mode & Xe && (O.actualDuration = 0, O.actualStartTime = -1, O.selfBaseDuration = k.selfBaseDuration, O.treeBaseDuration = k.treeBaseDuration), t.deletions = null;
|
|
24095
24095
|
} else
|
|
24096
24096
|
O = F7(k, _), O.subtreeFlags = k.subtreeFlags & aa;
|
|
24097
|
-
var
|
|
24098
|
-
return E !== null ?
|
|
24097
|
+
var H;
|
|
24098
|
+
return E !== null ? H = $u(E, l) : (H = pc(l, g, m, null), H.flags |= Xt), H.return = t, O.return = t, O.sibling = H, t.child = O, H;
|
|
24099
24099
|
}
|
|
24100
24100
|
function mg(e, t, i, l) {
|
|
24101
24101
|
l !== null && m6(l), q1(t, e.child, null, i);
|
|
@@ -24121,8 +24121,8 @@ Check the render method of \`` + l + "`.");
|
|
|
24121
24121
|
} else {
|
|
24122
24122
|
if (t.memoizedState !== null)
|
|
24123
24123
|
return t.child = e.child, t.flags |= at, null;
|
|
24124
|
-
var _ = l.children, O = l.fallback, M = jI(e, t, _, O, k),
|
|
24125
|
-
return
|
|
24124
|
+
var _ = l.children, O = l.fallback, M = jI(e, t, _, O, k), H = t.child;
|
|
24125
|
+
return H.memoizedState = Lv(k), t.memoizedState = Nv, M;
|
|
24126
24126
|
}
|
|
24127
24127
|
else {
|
|
24128
24128
|
if (DR(), (t.mode & yt) === Je)
|
|
@@ -24136,14 +24136,14 @@ Check the render method of \`` + l + "`.");
|
|
|
24136
24136
|
null
|
|
24137
24137
|
);
|
|
24138
24138
|
if (K3(m)) {
|
|
24139
|
-
var $,
|
|
24139
|
+
var $, X, te;
|
|
24140
24140
|
{
|
|
24141
24141
|
var le = X_(m);
|
|
24142
|
-
$ = le.digest,
|
|
24142
|
+
$ = le.digest, X = le.message, te = le.stack;
|
|
24143
24143
|
}
|
|
24144
24144
|
var Ne;
|
|
24145
|
-
|
|
24146
|
-
var ze = vv(Ne, $,
|
|
24145
|
+
X ? Ne = new Error(X) : Ne = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
|
|
24146
|
+
var ze = vv(Ne, $, te);
|
|
24147
24147
|
return mg(e, t, k, ze);
|
|
24148
24148
|
}
|
|
24149
24149
|
var Ke = Ka(k, e.childLanes);
|
|
@@ -24178,7 +24178,7 @@ Check the render method of \`` + l + "`.");
|
|
|
24178
24178
|
}
|
|
24179
24179
|
function YI(e, t, i) {
|
|
24180
24180
|
for (var l = t; l !== null; ) {
|
|
24181
|
-
if (l.tag ===
|
|
24181
|
+
if (l.tag === J) {
|
|
24182
24182
|
var m = l.memoizedState;
|
|
24183
24183
|
m !== null && V7(l, i, e);
|
|
24184
24184
|
} else if (l.tag === qe)
|
|
@@ -24285,27 +24285,27 @@ Check the render method of \`` + l + "`.");
|
|
|
24285
24285
|
else
|
|
24286
24286
|
switch (m) {
|
|
24287
24287
|
case "forwards": {
|
|
24288
|
-
var M = KI(t.child),
|
|
24289
|
-
M === null ? (
|
|
24288
|
+
var M = KI(t.child), H;
|
|
24289
|
+
M === null ? (H = t.child, t.child = null) : (H = M.sibling, M.sibling = null), Mv(
|
|
24290
24290
|
t,
|
|
24291
24291
|
!1,
|
|
24292
24292
|
// isBackwards
|
|
24293
|
-
|
|
24293
|
+
H,
|
|
24294
24294
|
M,
|
|
24295
24295
|
g
|
|
24296
24296
|
);
|
|
24297
24297
|
break;
|
|
24298
24298
|
}
|
|
24299
24299
|
case "backwards": {
|
|
24300
|
-
var $ = null,
|
|
24301
|
-
for (t.child = null;
|
|
24302
|
-
var
|
|
24303
|
-
if (
|
|
24304
|
-
t.child =
|
|
24300
|
+
var $ = null, X = t.child;
|
|
24301
|
+
for (t.child = null; X !== null; ) {
|
|
24302
|
+
var te = X.alternate;
|
|
24303
|
+
if (te !== null && Gh(te) === null) {
|
|
24304
|
+
t.child = X;
|
|
24305
24305
|
break;
|
|
24306
24306
|
}
|
|
24307
|
-
var le =
|
|
24308
|
-
|
|
24307
|
+
var le = X.sibling;
|
|
24308
|
+
X.sibling = $, $ = X, X = le;
|
|
24309
24309
|
}
|
|
24310
24310
|
Mv(
|
|
24311
24311
|
t,
|
|
@@ -24420,12 +24420,12 @@ Check the render method of \`` + l + "`.");
|
|
|
24420
24420
|
case L:
|
|
24421
24421
|
B6(t, t.stateNode.containerInfo);
|
|
24422
24422
|
break;
|
|
24423
|
-
case
|
|
24423
|
+
case G: {
|
|
24424
24424
|
var m = t.memoizedProps.value, g = t.type._context;
|
|
24425
24425
|
N5(t, g, m);
|
|
24426
24426
|
break;
|
|
24427
24427
|
}
|
|
24428
|
-
case
|
|
24428
|
+
case ne:
|
|
24429
24429
|
{
|
|
24430
24430
|
var k = Ka(i, t.childLanes);
|
|
24431
24431
|
k && (t.flags |= dt);
|
|
@@ -24435,7 +24435,7 @@ Check the render method of \`` + l + "`.");
|
|
|
24435
24435
|
}
|
|
24436
24436
|
}
|
|
24437
24437
|
break;
|
|
24438
|
-
case
|
|
24438
|
+
case J: {
|
|
24439
24439
|
var _ = t.memoizedState;
|
|
24440
24440
|
if (_ !== null) {
|
|
24441
24441
|
if (_.dehydrated !== null)
|
|
@@ -24444,21 +24444,21 @@ Check the render method of \`` + l + "`.");
|
|
|
24444
24444
|
if (Ka(i, M))
|
|
24445
24445
|
return U7(e, t, i);
|
|
24446
24446
|
oc(t, G1(ns.current));
|
|
24447
|
-
var
|
|
24448
|
-
return
|
|
24447
|
+
var H = Gi(e, t, i);
|
|
24448
|
+
return H !== null ? H.sibling : null;
|
|
24449
24449
|
} else
|
|
24450
24450
|
oc(t, G1(ns.current));
|
|
24451
24451
|
break;
|
|
24452
24452
|
}
|
|
24453
24453
|
case qe: {
|
|
24454
|
-
var $ = (e.flags & at) !== Ge,
|
|
24454
|
+
var $ = (e.flags & at) !== Ge, X = Ka(i, t.childLanes);
|
|
24455
24455
|
if ($) {
|
|
24456
|
-
if (
|
|
24456
|
+
if (X)
|
|
24457
24457
|
return z7(e, t, i);
|
|
24458
24458
|
t.flags |= at;
|
|
24459
24459
|
}
|
|
24460
|
-
var
|
|
24461
|
-
if (
|
|
24460
|
+
var te = t.memoizedState;
|
|
24461
|
+
if (te !== null && (te.rendering = null, te.tail = null, te.lastEffect = null), oc(t, ns.current), X)
|
|
24462
24462
|
break;
|
|
24463
24463
|
return null;
|
|
24464
24464
|
}
|
|
@@ -24496,12 +24496,12 @@ Check the render method of \`` + l + "`.");
|
|
|
24496
24496
|
return UI(e, t, _, i);
|
|
24497
24497
|
}
|
|
24498
24498
|
case b: {
|
|
24499
|
-
var O = t.type, M = t.pendingProps,
|
|
24500
|
-
return _v(e, t, O,
|
|
24499
|
+
var O = t.type, M = t.pendingProps, H = t.elementType === O ? M : ts(O, M);
|
|
24500
|
+
return _v(e, t, O, H, i);
|
|
24501
24501
|
}
|
|
24502
24502
|
case w: {
|
|
24503
|
-
var $ = t.type,
|
|
24504
|
-
return P7(e, t, $,
|
|
24503
|
+
var $ = t.type, X = t.pendingProps, te = t.elementType === $ ? X : ts($, X);
|
|
24504
|
+
return P7(e, t, $, te, i);
|
|
24505
24505
|
}
|
|
24506
24506
|
case R:
|
|
24507
24507
|
return PI(e, t, i);
|
|
@@ -24509,21 +24509,21 @@ Check the render method of \`` + l + "`.");
|
|
|
24509
24509
|
return xI(e, t, i);
|
|
24510
24510
|
case D:
|
|
24511
24511
|
return DI(e, t);
|
|
24512
|
-
case
|
|
24512
|
+
case J:
|
|
24513
24513
|
return U7(e, t, i);
|
|
24514
24514
|
case L:
|
|
24515
24515
|
return eN(e, t, i);
|
|
24516
|
-
case
|
|
24516
|
+
case ee: {
|
|
24517
24517
|
var le = t.type, Ne = t.pendingProps, ze = t.elementType === le ? Ne : ts(le, Ne);
|
|
24518
24518
|
return N7(e, t, le, ze, i);
|
|
24519
24519
|
}
|
|
24520
|
-
case z:
|
|
24521
|
-
return AI(e, t, i);
|
|
24522
24520
|
case B:
|
|
24521
|
+
return AI(e, t, i);
|
|
24522
|
+
case z:
|
|
24523
24523
|
return OI(e, t, i);
|
|
24524
|
-
case
|
|
24524
|
+
case ne:
|
|
24525
24525
|
return MI(e, t, i);
|
|
24526
|
-
case
|
|
24526
|
+
case G:
|
|
24527
24527
|
return tN(e, t, i);
|
|
24528
24528
|
case W:
|
|
24529
24529
|
return nN(e, t, i);
|
|
@@ -24666,10 +24666,10 @@ Check the render method of \`` + l + "`.");
|
|
|
24666
24666
|
case Re:
|
|
24667
24667
|
case se:
|
|
24668
24668
|
case b:
|
|
24669
|
-
case
|
|
24670
|
-
case z:
|
|
24669
|
+
case ee:
|
|
24671
24670
|
case B:
|
|
24672
|
-
case
|
|
24671
|
+
case z:
|
|
24672
|
+
case ne:
|
|
24673
24673
|
case W:
|
|
24674
24674
|
case de:
|
|
24675
24675
|
return La(t), null;
|
|
@@ -24702,8 +24702,8 @@ Check the render method of \`` + l + "`.");
|
|
|
24702
24702
|
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.");
|
|
24703
24703
|
return La(t), null;
|
|
24704
24704
|
}
|
|
24705
|
-
var M = z6(),
|
|
24706
|
-
if (
|
|
24705
|
+
var M = z6(), H = Ih(t);
|
|
24706
|
+
if (H)
|
|
24707
24707
|
BR(t, _, M) && Z1(t);
|
|
24708
24708
|
else {
|
|
24709
24709
|
var $ = __(O, l, _, M, t);
|
|
@@ -24714,19 +24714,19 @@ Check the render method of \`` + l + "`.");
|
|
|
24714
24714
|
return La(t), null;
|
|
24715
24715
|
}
|
|
24716
24716
|
case D: {
|
|
24717
|
-
var
|
|
24717
|
+
var X = l;
|
|
24718
24718
|
if (e && t.stateNode != null) {
|
|
24719
|
-
var
|
|
24720
|
-
Q7(e, t,
|
|
24719
|
+
var te = e.memoizedProps;
|
|
24720
|
+
Q7(e, t, te, X);
|
|
24721
24721
|
} else {
|
|
24722
|
-
if (typeof
|
|
24722
|
+
if (typeof X != "string" && t.stateNode === null)
|
|
24723
24723
|
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.");
|
|
24724
24724
|
var le = W5(), Ne = z6(), ze = Ih(t);
|
|
24725
|
-
ze ? zR(t) && Z1(t) : t.stateNode = L_(
|
|
24725
|
+
ze ? zR(t) && Z1(t) : t.stateNode = L_(X, le, Ne, t);
|
|
24726
24726
|
}
|
|
24727
24727
|
return La(t), null;
|
|
24728
24728
|
}
|
|
24729
|
-
case
|
|
24729
|
+
case J: {
|
|
24730
24730
|
j1(t);
|
|
24731
24731
|
var Ke = t.memoizedState;
|
|
24732
24732
|
if (e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
|
|
@@ -24753,7 +24753,7 @@ Check the render method of \`` + l + "`.");
|
|
|
24753
24753
|
}
|
|
24754
24754
|
case L:
|
|
24755
24755
|
return H1(t), xv(e, t), e === null && wR(t.stateNode.containerInfo), La(t), null;
|
|
24756
|
-
case
|
|
24756
|
+
case G:
|
|
24757
24757
|
var Le = t.type._context;
|
|
24758
24758
|
return g6(Le, t), La(t), null;
|
|
24759
24759
|
case Ce: {
|
|
@@ -24844,7 +24844,7 @@ Check the render method of \`` + l + "`.");
|
|
|
24844
24844
|
}
|
|
24845
24845
|
case A:
|
|
24846
24846
|
return $6(t), null;
|
|
24847
|
-
case
|
|
24847
|
+
case J: {
|
|
24848
24848
|
j1(t);
|
|
24849
24849
|
var k = t.memoizedState;
|
|
24850
24850
|
if (k !== null && k.dehydrated !== null) {
|
|
@@ -24859,7 +24859,7 @@ Check the render method of \`` + l + "`.");
|
|
|
24859
24859
|
return j1(t), null;
|
|
24860
24860
|
case L:
|
|
24861
24861
|
return H1(t), null;
|
|
24862
|
-
case
|
|
24862
|
+
case G:
|
|
24863
24863
|
var _ = t.type._context;
|
|
24864
24864
|
return g6(_, t), null;
|
|
24865
24865
|
case _e:
|
|
@@ -24889,13 +24889,13 @@ Check the render method of \`` + l + "`.");
|
|
|
24889
24889
|
case L:
|
|
24890
24890
|
H1(t);
|
|
24891
24891
|
break;
|
|
24892
|
-
case
|
|
24892
|
+
case J:
|
|
24893
24893
|
j1(t);
|
|
24894
24894
|
break;
|
|
24895
24895
|
case qe:
|
|
24896
24896
|
j1(t);
|
|
24897
24897
|
break;
|
|
24898
|
-
case
|
|
24898
|
+
case G:
|
|
24899
24899
|
var m = t.type._context;
|
|
24900
24900
|
g6(m, t);
|
|
24901
24901
|
break;
|
|
@@ -25014,7 +25014,7 @@ Check the render method of \`` + l + "`.");
|
|
|
25014
25014
|
if ((i & Ar) !== Ge) {
|
|
25015
25015
|
switch (Bt(e), e.tag) {
|
|
25016
25016
|
case b:
|
|
25017
|
-
case
|
|
25017
|
+
case ee:
|
|
25018
25018
|
case se:
|
|
25019
25019
|
break;
|
|
25020
25020
|
case w: {
|
|
@@ -25100,7 +25100,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25100
25100
|
function hN(e, t) {
|
|
25101
25101
|
if ((t.flags & dt) !== Ge)
|
|
25102
25102
|
switch (t.tag) {
|
|
25103
|
-
case
|
|
25103
|
+
case ne: {
|
|
25104
25104
|
var i = t.stateNode.passiveEffectDuration, l = t.memoizedProps, m = l.id, g = l.onPostCommit, k = S7(), E = t.alternate === null ? "mount" : "update";
|
|
25105
25105
|
b7() && (E = "nested-update"), typeof g == "function" && g(m, E, i, k);
|
|
25106
25106
|
var _ = t.return;
|
|
@@ -25111,7 +25111,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25111
25111
|
var O = _.stateNode;
|
|
25112
25112
|
O.passiveEffectDuration += i;
|
|
25113
25113
|
break e;
|
|
25114
|
-
case
|
|
25114
|
+
case ne:
|
|
25115
25115
|
var M = _.stateNode;
|
|
25116
25116
|
M.passiveEffectDuration += i;
|
|
25117
25117
|
break e;
|
|
@@ -25126,7 +25126,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25126
25126
|
if ((i.flags & ya) !== Ge)
|
|
25127
25127
|
switch (i.tag) {
|
|
25128
25128
|
case b:
|
|
25129
|
-
case
|
|
25129
|
+
case ee:
|
|
25130
25130
|
case se: {
|
|
25131
25131
|
if (!Aa)
|
|
25132
25132
|
if (i.mode & Xe)
|
|
@@ -25186,8 +25186,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25186
25186
|
case A: {
|
|
25187
25187
|
var M = i.stateNode;
|
|
25188
25188
|
if (t === null && i.flags & dt) {
|
|
25189
|
-
var
|
|
25190
|
-
x_(M,
|
|
25189
|
+
var H = i.type, $ = i.memoizedProps;
|
|
25190
|
+
x_(M, H, $);
|
|
25191
25191
|
}
|
|
25192
25192
|
break;
|
|
25193
25193
|
}
|
|
@@ -25195,12 +25195,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25195
25195
|
break;
|
|
25196
25196
|
case L:
|
|
25197
25197
|
break;
|
|
25198
|
-
case
|
|
25198
|
+
case ne: {
|
|
25199
25199
|
{
|
|
25200
|
-
var
|
|
25200
|
+
var X = i.memoizedProps, te = X.onCommit, le = X.onRender, Ne = i.stateNode.effectDuration, ze = S7(), Ke = t === null ? "mount" : "update";
|
|
25201
25201
|
b7() && (Ke = "nested-update"), typeof le == "function" && le(i.memoizedProps.id, Ke, i.actualDuration, i.treeBaseDuration, i.actualStartTime, ze);
|
|
25202
25202
|
{
|
|
25203
|
-
typeof
|
|
25203
|
+
typeof te == "function" && te(i.memoizedProps.id, Ke, Ne, ze), pL(i);
|
|
25204
25204
|
var kt = i.return;
|
|
25205
25205
|
e:
|
|
25206
25206
|
for (; kt !== null; ) {
|
|
@@ -25209,7 +25209,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25209
25209
|
var gt = kt.stateNode;
|
|
25210
25210
|
gt.effectDuration += Ne;
|
|
25211
25211
|
break e;
|
|
25212
|
-
case
|
|
25212
|
+
case ne:
|
|
25213
25213
|
var Y = kt.stateNode;
|
|
25214
25214
|
Y.effectDuration += Ne;
|
|
25215
25215
|
break e;
|
|
@@ -25220,7 +25220,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25220
25220
|
}
|
|
25221
25221
|
break;
|
|
25222
25222
|
}
|
|
25223
|
-
case
|
|
25223
|
+
case J: {
|
|
25224
25224
|
EN(e, i);
|
|
25225
25225
|
break;
|
|
25226
25226
|
}
|
|
@@ -25239,7 +25239,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25239
25239
|
function yN(e) {
|
|
25240
25240
|
switch (e.tag) {
|
|
25241
25241
|
case b:
|
|
25242
|
-
case
|
|
25242
|
+
case ee:
|
|
25243
25243
|
case se: {
|
|
25244
25244
|
if (e.mode & Xe)
|
|
25245
25245
|
try {
|
|
@@ -25469,7 +25469,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25469
25469
|
return;
|
|
25470
25470
|
}
|
|
25471
25471
|
case b:
|
|
25472
|
-
case
|
|
25472
|
+
case ee:
|
|
25473
25473
|
case de:
|
|
25474
25474
|
case se: {
|
|
25475
25475
|
if (!Aa) {
|
|
@@ -25479,8 +25479,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25479
25479
|
if (_ !== null) {
|
|
25480
25480
|
var O = _.next, M = O;
|
|
25481
25481
|
do {
|
|
25482
|
-
var
|
|
25483
|
-
$ !== void 0 && ((
|
|
25482
|
+
var H = M, $ = H.destroy, X = H.tag;
|
|
25483
|
+
$ !== void 0 && ((X & $s) !== qr ? hg(i, t, $) : (X & ca) !== qr && (zd(i), i.mode & Xe ? (js(), hg(i, t, $), Gs(i)) : hg(i, t, $), Ol())), M = M.next;
|
|
25484
25484
|
} while (M !== O);
|
|
25485
25485
|
}
|
|
25486
25486
|
}
|
|
@@ -25491,8 +25491,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25491
25491
|
case w: {
|
|
25492
25492
|
if (!Aa) {
|
|
25493
25493
|
em(i, t);
|
|
25494
|
-
var
|
|
25495
|
-
typeof
|
|
25494
|
+
var te = i.stateNode;
|
|
25495
|
+
typeof te.componentWillUnmount == "function" && Dv(i, t, te);
|
|
25496
25496
|
}
|
|
25497
25497
|
cc(e, t, i);
|
|
25498
25498
|
return;
|
|
@@ -25576,7 +25576,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25576
25576
|
var l = e.alternate, m = e.flags;
|
|
25577
25577
|
switch (e.tag) {
|
|
25578
25578
|
case b:
|
|
25579
|
-
case
|
|
25579
|
+
case ee:
|
|
25580
25580
|
case de:
|
|
25581
25581
|
case se: {
|
|
25582
25582
|
if (is(t, e), Ws(e), m & dt) {
|
|
@@ -25635,9 +25635,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25635
25635
|
if (is(t, e), Ws(e), m & dt) {
|
|
25636
25636
|
if (e.stateNode === null)
|
|
25637
25637
|
throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");
|
|
25638
|
-
var
|
|
25638
|
+
var H = e.stateNode, $ = e.memoizedProps, X = l !== null ? l.memoizedProps : $;
|
|
25639
25639
|
try {
|
|
25640
|
-
U_(
|
|
25640
|
+
U_(H, X, $);
|
|
25641
25641
|
} catch (nt) {
|
|
25642
25642
|
an(e, e.return, nt);
|
|
25643
25643
|
}
|
|
@@ -25646,8 +25646,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25646
25646
|
}
|
|
25647
25647
|
case R: {
|
|
25648
25648
|
if (is(t, e), Ws(e), m & dt && l !== null) {
|
|
25649
|
-
var
|
|
25650
|
-
if (
|
|
25649
|
+
var te = l.memoizedState;
|
|
25650
|
+
if (te.isDehydrated)
|
|
25651
25651
|
try {
|
|
25652
25652
|
lR(t.containerInfo);
|
|
25653
25653
|
} catch (nt) {
|
|
@@ -25660,7 +25660,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25660
25660
|
is(t, e), Ws(e);
|
|
25661
25661
|
return;
|
|
25662
25662
|
}
|
|
25663
|
-
case
|
|
25663
|
+
case J: {
|
|
25664
25664
|
is(t, e), Ws(e);
|
|
25665
25665
|
var le = e.child;
|
|
25666
25666
|
if (le.flags & bs) {
|
|
@@ -25737,16 +25737,16 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25737
25737
|
Vv(e, t, i);
|
|
25738
25738
|
continue;
|
|
25739
25739
|
} else {
|
|
25740
|
-
var _ = m.alternate, O = _ !== null && _.memoizedState !== null, M = O || Aa,
|
|
25740
|
+
var _ = m.alternate, O = _ !== null && _.memoizedState !== null, M = O || Aa, H = fg, $ = Aa;
|
|
25741
25741
|
fg = E, Aa = M, Aa && !$ && (Fe = m, IN(m));
|
|
25742
|
-
for (var
|
|
25743
|
-
Fe =
|
|
25744
|
-
|
|
25742
|
+
for (var X = g; X !== null; )
|
|
25743
|
+
Fe = X, lT(
|
|
25744
|
+
X,
|
|
25745
25745
|
// New root; bubble back up to here and stop.
|
|
25746
25746
|
t,
|
|
25747
25747
|
i
|
|
25748
|
-
),
|
|
25749
|
-
Fe = m, fg =
|
|
25748
|
+
), X = X.sibling;
|
|
25749
|
+
Fe = m, fg = H, Aa = $, Vv(e, t, i);
|
|
25750
25750
|
continue;
|
|
25751
25751
|
}
|
|
25752
25752
|
}
|
|
@@ -25783,7 +25783,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25783
25783
|
var t = Fe, i = t.child;
|
|
25784
25784
|
switch (t.tag) {
|
|
25785
25785
|
case b:
|
|
25786
|
-
case
|
|
25786
|
+
case ee:
|
|
25787
25787
|
case de:
|
|
25788
25788
|
case se: {
|
|
25789
25789
|
if (t.mode & Xe)
|
|
@@ -25903,7 +25903,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25903
25903
|
function ON(e, t, i, l) {
|
|
25904
25904
|
switch (t.tag) {
|
|
25905
25905
|
case b:
|
|
25906
|
-
case
|
|
25906
|
+
case ee:
|
|
25907
25907
|
case se: {
|
|
25908
25908
|
if (t.mode & Xe) {
|
|
25909
25909
|
gv();
|
|
@@ -25965,7 +25965,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25965
25965
|
function DN(e) {
|
|
25966
25966
|
switch (e.tag) {
|
|
25967
25967
|
case b:
|
|
25968
|
-
case
|
|
25968
|
+
case ee:
|
|
25969
25969
|
case se: {
|
|
25970
25970
|
e.mode & Xe ? (gv(), os(Na | la, e, e.return), hv(e)) : os(Na | la, e, e.return);
|
|
25971
25971
|
break;
|
|
@@ -25997,7 +25997,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25997
25997
|
function VN(e, t) {
|
|
25998
25998
|
switch (e.tag) {
|
|
25999
25999
|
case b:
|
|
26000
|
-
case
|
|
26000
|
+
case ee:
|
|
26001
26001
|
case se: {
|
|
26002
26002
|
e.mode & Xe ? (gv(), os(Na, e, t), hv(e)) : os(Na, e, t);
|
|
26003
26003
|
break;
|
|
@@ -26007,7 +26007,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
26007
26007
|
function BN(e) {
|
|
26008
26008
|
switch (e.tag) {
|
|
26009
26009
|
case b:
|
|
26010
|
-
case
|
|
26010
|
+
case ee:
|
|
26011
26011
|
case se: {
|
|
26012
26012
|
try {
|
|
26013
26013
|
lc(ca | la, e);
|
|
@@ -26030,7 +26030,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
26030
26030
|
function zN(e) {
|
|
26031
26031
|
switch (e.tag) {
|
|
26032
26032
|
case b:
|
|
26033
|
-
case
|
|
26033
|
+
case ee:
|
|
26034
26034
|
case se: {
|
|
26035
26035
|
try {
|
|
26036
26036
|
lc(Na | la, e);
|
|
@@ -26044,7 +26044,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
26044
26044
|
function $N(e) {
|
|
26045
26045
|
switch (e.tag) {
|
|
26046
26046
|
case b:
|
|
26047
|
-
case
|
|
26047
|
+
case ee:
|
|
26048
26048
|
case se: {
|
|
26049
26049
|
try {
|
|
26050
26050
|
os(ca | la, e, e.return);
|
|
@@ -26063,7 +26063,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
26063
26063
|
function qN(e) {
|
|
26064
26064
|
switch (e.tag) {
|
|
26065
26065
|
case b:
|
|
26066
|
-
case
|
|
26066
|
+
case ee:
|
|
26067
26067
|
case se:
|
|
26068
26068
|
try {
|
|
26069
26069
|
os(Na | la, e, e.return);
|
|
@@ -26236,8 +26236,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
26236
26236
|
var O = !cu(e, m), M = e.current.alternate;
|
|
26237
26237
|
if (O && !nL(M)) {
|
|
26238
26238
|
if (k = _g(e, m), k === Fu) {
|
|
26239
|
-
var
|
|
26240
|
-
|
|
26239
|
+
var H = Op(e);
|
|
26240
|
+
H !== ce && (m = H, k = Kv(e, H));
|
|
26241
26241
|
}
|
|
26242
26242
|
if (k === Df) {
|
|
26243
26243
|
var $ = Ff;
|
|
@@ -26603,15 +26603,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
26603
26603
|
Ma.transition = null;
|
|
26604
26604
|
var M = pr();
|
|
26605
26605
|
Bn(Za);
|
|
26606
|
-
var
|
|
26607
|
-
Rt |= No, zv.current = null, dN(e, m), w7(), CN(e, m, g), C_(e.containerInfo), e.current = m, R2(g), _N(m, e, g), Ml(), k2(), Rt =
|
|
26606
|
+
var H = Rt;
|
|
26607
|
+
Rt |= No, zv.current = null, dN(e, m), w7(), CN(e, m, g), C_(e.containerInfo), e.current = m, R2(g), _N(m, e, g), Ml(), k2(), Rt = H, Bn(M), Ma.transition = O;
|
|
26608
26608
|
} else
|
|
26609
26609
|
e.current = m, w7();
|
|
26610
26610
|
var $ = Vu;
|
|
26611
26611
|
if (Vu ? (Vu = !1, uc = e, $f = g) : (nm = 0, bg = null), k = e.pendingLanes, k === ce && (tm = null), $ || LT(e.current, !1), Wo(m.stateNode, l), ra && e.memoizedUpdaters.clear(), GN(), Gr(e, ln()), t !== null)
|
|
26612
|
-
for (var
|
|
26613
|
-
var le = t[
|
|
26614
|
-
|
|
26612
|
+
for (var X = e.onRecoverableError, te = 0; te < t.length; te++) {
|
|
26613
|
+
var le = t[te], Ne = le.stack, ze = le.digest;
|
|
26614
|
+
X(le.value, {
|
|
26615
26615
|
componentStack: Ne,
|
|
26616
26616
|
digest: ze
|
|
26617
26617
|
});
|
|
@@ -26723,7 +26723,7 @@ Error message:
|
|
|
26723
26723
|
function kL(e, t) {
|
|
26724
26724
|
var i = _t, l;
|
|
26725
26725
|
switch (e.tag) {
|
|
26726
|
-
case
|
|
26726
|
+
case J:
|
|
26727
26727
|
l = e.stateNode;
|
|
26728
26728
|
var m = e.memoizedState;
|
|
26729
26729
|
m !== null && (i = m.retryLane);
|
|
@@ -26762,7 +26762,7 @@ Error message:
|
|
|
26762
26762
|
if ((Rt & Pa) !== ma || !(e.mode & yt))
|
|
26763
26763
|
return;
|
|
26764
26764
|
var t = e.tag;
|
|
26765
|
-
if (t !== C && t !== R && t !== w && t !== b && t !==
|
|
26765
|
+
if (t !== C && t !== R && t !== w && t !== b && t !== ee && t !== de && t !== se)
|
|
26766
26766
|
return;
|
|
26767
26767
|
var i = ut(e) || "ReactComponent";
|
|
26768
26768
|
if (Ig !== null) {
|
|
@@ -26803,7 +26803,7 @@ Error message:
|
|
|
26803
26803
|
if (Rr && !vI())
|
|
26804
26804
|
switch (e.tag) {
|
|
26805
26805
|
case b:
|
|
26806
|
-
case
|
|
26806
|
+
case ee:
|
|
26807
26807
|
case se: {
|
|
26808
26808
|
var t = wn && ut(wn) || "Unknown", i = t;
|
|
26809
26809
|
if (!t8.has(i)) {
|
|
@@ -26846,7 +26846,7 @@ Error message:
|
|
|
26846
26846
|
if (e.mode & yt) {
|
|
26847
26847
|
if (!dT())
|
|
26848
26848
|
return;
|
|
26849
|
-
} else if (!WN() || Rt !== ma || e.tag !== b && e.tag !==
|
|
26849
|
+
} else if (!WN() || Rt !== ma || e.tag !== b && e.tag !== ee && e.tag !== se)
|
|
26850
26850
|
return;
|
|
26851
26851
|
if (ls.current === null) {
|
|
26852
26852
|
var t = Rn;
|
|
@@ -26931,7 +26931,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
26931
26931
|
(typeof l == "function" || g === Ca) && (m = !0);
|
|
26932
26932
|
break;
|
|
26933
26933
|
}
|
|
26934
|
-
case
|
|
26934
|
+
case ee: {
|
|
26935
26935
|
(g === yl || g === Ca) && (m = !0);
|
|
26936
26936
|
break;
|
|
26937
26937
|
}
|
|
@@ -26985,7 +26985,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
26985
26985
|
case w:
|
|
26986
26986
|
_ = E;
|
|
26987
26987
|
break;
|
|
26988
|
-
case
|
|
26988
|
+
case ee:
|
|
26989
26989
|
_ = E.render;
|
|
26990
26990
|
break;
|
|
26991
26991
|
}
|
|
@@ -26993,8 +26993,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
26993
26993
|
throw new Error("Expected resolveFamily to be set during hot reload.");
|
|
26994
26994
|
var O = !1, M = !1;
|
|
26995
26995
|
if (_ !== null) {
|
|
26996
|
-
var
|
|
26997
|
-
|
|
26996
|
+
var H = Lo(_);
|
|
26997
|
+
H !== void 0 && (i.has(H) ? M = !0 : t.has(H) && (k === w ? M = !0 : O = !0));
|
|
26998
26998
|
}
|
|
26999
26999
|
if (am !== null && (am.has(e) || l !== null && am.has(l)) && (M = !0), M && (e._debugNeedsRemount = !0), M || O) {
|
|
27000
27000
|
var $ = $r(e, tt);
|
|
@@ -27020,7 +27020,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
27020
27020
|
case w:
|
|
27021
27021
|
E = k;
|
|
27022
27022
|
break;
|
|
27023
|
-
case
|
|
27023
|
+
case ee:
|
|
27024
27024
|
E = k.render;
|
|
27025
27025
|
break;
|
|
27026
27026
|
}
|
|
@@ -27098,7 +27098,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
27098
27098
|
if (e != null) {
|
|
27099
27099
|
var t = e.$$typeof;
|
|
27100
27100
|
if (t === yl)
|
|
27101
|
-
return
|
|
27101
|
+
return ee;
|
|
27102
27102
|
if (t === vl)
|
|
27103
27103
|
return de;
|
|
27104
27104
|
}
|
|
@@ -27120,7 +27120,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
27120
27120
|
case w:
|
|
27121
27121
|
i.type = r8(e.type);
|
|
27122
27122
|
break;
|
|
27123
|
-
case
|
|
27123
|
+
case ee:
|
|
27124
27124
|
i.type = o8(e.type);
|
|
27125
27125
|
break;
|
|
27126
27126
|
}
|
|
@@ -27157,7 +27157,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
27157
27157
|
case Uo:
|
|
27158
27158
|
return pc(i.children, m, g, t);
|
|
27159
27159
|
case gl:
|
|
27160
|
-
k =
|
|
27160
|
+
k = z, m |= cn, (m & yt) !== Je && (m |= xr);
|
|
27161
27161
|
break;
|
|
27162
27162
|
case Lc:
|
|
27163
27163
|
return VL(i, m, g, t);
|
|
@@ -27176,13 +27176,13 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
27176
27176
|
if (typeof e == "object" && e !== null)
|
|
27177
27177
|
switch (e.$$typeof) {
|
|
27178
27178
|
case Dm:
|
|
27179
|
-
k =
|
|
27179
|
+
k = G;
|
|
27180
27180
|
break e;
|
|
27181
27181
|
case Um:
|
|
27182
27182
|
k = W;
|
|
27183
27183
|
break e;
|
|
27184
27184
|
case yl:
|
|
27185
|
-
k =
|
|
27185
|
+
k = ee, E = o8(E);
|
|
27186
27186
|
break e;
|
|
27187
27187
|
case vl:
|
|
27188
27188
|
k = de;
|
|
@@ -27212,19 +27212,19 @@ Check the render method of \`` + O + "`.");
|
|
|
27212
27212
|
return E._debugSource = e._source, E._debugOwner = e._owner, E;
|
|
27213
27213
|
}
|
|
27214
27214
|
function pc(e, t, i, l) {
|
|
27215
|
-
var m = lo(
|
|
27215
|
+
var m = lo(B, e, l, t);
|
|
27216
27216
|
return m.lanes = i, m;
|
|
27217
27217
|
}
|
|
27218
27218
|
function VL(e, t, i, l) {
|
|
27219
27219
|
typeof e.id != "string" && p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof e.id);
|
|
27220
|
-
var m = lo(
|
|
27220
|
+
var m = lo(ne, e, l, t | Xe);
|
|
27221
27221
|
return m.elementType = Lc, m.lanes = i, m.stateNode = {
|
|
27222
27222
|
effectDuration: 0,
|
|
27223
27223
|
passiveEffectDuration: 0
|
|
27224
27224
|
}, m;
|
|
27225
27225
|
}
|
|
27226
27226
|
function BL(e, t, i, l) {
|
|
27227
|
-
var m = lo(
|
|
27227
|
+
var m = lo(J, e, l, t);
|
|
27228
27228
|
return m.elementType = yo, m.lanes = i, m;
|
|
27229
27229
|
}
|
|
27230
27230
|
function zL(e, t, i, l) {
|
|
@@ -27280,8 +27280,8 @@ Check the render method of \`` + O + "`.");
|
|
|
27280
27280
|
}
|
|
27281
27281
|
}
|
|
27282
27282
|
function VT(e, t, i, l, m, g, k, E, _, O) {
|
|
27283
|
-
var M = new HL(e, t, i, E, _),
|
|
27284
|
-
M.current =
|
|
27283
|
+
var M = new HL(e, t, i, E, _), H = FL(t, g);
|
|
27284
|
+
M.current = H, H.stateNode = M;
|
|
27285
27285
|
{
|
|
27286
27286
|
var $ = {
|
|
27287
27287
|
element: l,
|
|
@@ -27291,9 +27291,9 @@ Check the render method of \`` + O + "`.");
|
|
|
27291
27291
|
transitions: null,
|
|
27292
27292
|
pendingSuspenseBoundaries: null
|
|
27293
27293
|
};
|
|
27294
|
-
|
|
27294
|
+
H.memoizedState = $;
|
|
27295
27295
|
}
|
|
27296
|
-
return b6(
|
|
27296
|
+
return b6(H), M;
|
|
27297
27297
|
}
|
|
27298
27298
|
var f8 = "18.2.0";
|
|
27299
27299
|
function GL(e, t, i) {
|
|
@@ -27352,10 +27352,10 @@ Check the render method of \`` + O + "`.");
|
|
|
27352
27352
|
return VT(e, t, _, O, i, l, m, g, k);
|
|
27353
27353
|
}
|
|
27354
27354
|
function $T(e, t, i, l, m, g, k, E, _, O) {
|
|
27355
|
-
var M = !0,
|
|
27356
|
-
|
|
27357
|
-
var $ =
|
|
27358
|
-
return le.callback = t ?? null, ac($, le,
|
|
27355
|
+
var M = !0, H = VT(i, l, M, e, m, g, k, E, _);
|
|
27356
|
+
H.context = BT(null);
|
|
27357
|
+
var $ = H.current, X = Tr(), te = dc($), le = Hi(X, te);
|
|
27358
|
+
return le.callback = t ?? null, ac($, le, te), XN(H, te, X), H;
|
|
27359
27359
|
}
|
|
27360
27360
|
function Wf(e, t, i, l) {
|
|
27361
27361
|
b2(t, e);
|
|
@@ -27393,7 +27393,7 @@ Check the render method of %s.`, ut(Rn) || "Unknown"));
|
|
|
27393
27393
|
}
|
|
27394
27394
|
break;
|
|
27395
27395
|
}
|
|
27396
|
-
case
|
|
27396
|
+
case J: {
|
|
27397
27397
|
Qi(function() {
|
|
27398
27398
|
var m = $r(e, tt);
|
|
27399
27399
|
if (m !== null) {
|
|
@@ -27417,7 +27417,7 @@ Check the render method of %s.`, ut(Rn) || "Unknown"));
|
|
|
27417
27417
|
i && qT(i, t);
|
|
27418
27418
|
}
|
|
27419
27419
|
function QL(e) {
|
|
27420
|
-
if (e.tag ===
|
|
27420
|
+
if (e.tag === J) {
|
|
27421
27421
|
var t = xl, i = $r(e, t);
|
|
27422
27422
|
if (i !== null) {
|
|
27423
27423
|
var l = Tr();
|
|
@@ -27427,7 +27427,7 @@ Check the render method of %s.`, ut(Rn) || "Unknown"));
|
|
|
27427
27427
|
}
|
|
27428
27428
|
}
|
|
27429
27429
|
function YL(e) {
|
|
27430
|
-
if (e.tag ===
|
|
27430
|
+
if (e.tag === J) {
|
|
27431
27431
|
var t = dc(e), i = $r(e, t);
|
|
27432
27432
|
if (i !== null) {
|
|
27433
27433
|
var l = Tr();
|
|
@@ -27646,8 +27646,8 @@ Check the render method of %s.`, ut(Rn) || "Unknown"));
|
|
|
27646
27646
|
var O = $T(t, null, e, Eh, l, g, k, E, _);
|
|
27647
27647
|
if (yh(O.current, e), tf(e), m)
|
|
27648
27648
|
for (var M = 0; M < m.length; M++) {
|
|
27649
|
-
var
|
|
27650
|
-
mI(O,
|
|
27649
|
+
var H = m[M];
|
|
27650
|
+
mI(O, H);
|
|
27651
27651
|
}
|
|
27652
27652
|
return new Lg(O);
|
|
27653
27653
|
}
|
|
@@ -27725,8 +27725,8 @@ Check the render method of %s.`, ut(Rn) || "Unknown"));
|
|
|
27725
27725
|
dk
|
|
27726
27726
|
);
|
|
27727
27727
|
e._reactRootContainer = M, yh(M.current, e);
|
|
27728
|
-
var
|
|
27729
|
-
return tf(
|
|
27728
|
+
var H = e.nodeType === In ? e.parentNode : e;
|
|
27729
|
+
return tf(H), Qi(function() {
|
|
27730
27730
|
Wf(t, M, i, l);
|
|
27731
27731
|
}), M;
|
|
27732
27732
|
}
|
|
@@ -28045,9 +28045,9 @@ const WF = /* @__PURE__ */ P("div")({
|
|
|
28045
28045
|
marketClosed: R,
|
|
28046
28046
|
percentsAnimated: L
|
|
28047
28047
|
}) => {
|
|
28048
|
-
const A = s && (c === Se.TRIVIA || c === Se.PREDICTION), D = c === Se.PREDICTION && !u,
|
|
28049
|
-
return f || p ||
|
|
28050
|
-
w && !
|
|
28048
|
+
const A = s && (c === Se.TRIVIA || c === Se.PREDICTION), D = c === Se.PREDICTION && !u, B = R && c === Se.PREDICTION && !s && !C || c === Se.PREDICTION && b && T && C, z = A && D, W = A && u, G = c === Se.PREDICTION && s && T && u, ee = s && c === Se.POLL && T, ne = r ? "correct" : "incorrect", J = r ? n == null ? void 0 : n.correctFeedback : n == null ? void 0 : n.incorrectFeedback;
|
|
28049
|
+
return f || p || z || W || B || ee || G || w ? /* @__PURE__ */ I(uV, { enabled: T, animate: L, children: /* @__PURE__ */ re(dV, { "data-prediction": D, children: [
|
|
28050
|
+
w && !B && /* @__PURE__ */ re(Hu, { children: [
|
|
28051
28051
|
/* @__PURE__ */ I(Zk, { name: "questionExpired" }),
|
|
28052
28052
|
/* @__PURE__ */ I(Gu, { children: w })
|
|
28053
28053
|
] }),
|
|
@@ -28065,29 +28065,29 @@ const WF = /* @__PURE__ */ P("div")({
|
|
|
28065
28065
|
/* @__PURE__ */ I(M8, { children: "This question was answered after the moderator closed the question. So the points for this answer won’t tally." })
|
|
28066
28066
|
] })
|
|
28067
28067
|
] }),
|
|
28068
|
-
|
|
28068
|
+
B && /* @__PURE__ */ re(Hu, { children: [
|
|
28069
28069
|
/* @__PURE__ */ I(Xf, { children: /* @__PURE__ */ I(Ot, { name: "questionExpired" }) }),
|
|
28070
28070
|
/* @__PURE__ */ re("div", { children: [
|
|
28071
28071
|
/* @__PURE__ */ I(Bg, { children: /* @__PURE__ */ I(Gu, { children: "Question Closed" }) }),
|
|
28072
28072
|
/* @__PURE__ */ I(M8, { children: "This event has already taken place, so the ability to make a prediction on its outcome is no longer available." })
|
|
28073
28073
|
] })
|
|
28074
28074
|
] }),
|
|
28075
|
-
!w &&
|
|
28075
|
+
!w && z && /* @__PURE__ */ re(Hu, { children: [
|
|
28076
28076
|
/* @__PURE__ */ I(Zk, { name: "icon-prediction" }),
|
|
28077
28077
|
/* @__PURE__ */ re(Gu, { children: [
|
|
28078
28078
|
"Your pick has been recorded. ",
|
|
28079
28079
|
/* @__PURE__ */ I(fV, { children: "We’ll notify you of the result." })
|
|
28080
28080
|
] })
|
|
28081
28081
|
] }),
|
|
28082
|
-
!w &&
|
|
28082
|
+
!w && ee && /* @__PURE__ */ re(Hu, { children: [
|
|
28083
28083
|
/* @__PURE__ */ I(Xf, { "data-feedback-type": "correct", children: /* @__PURE__ */ I(Ot, { name: "correct" }) }),
|
|
28084
28084
|
/* @__PURE__ */ I(Gu, { children: "Thanks for answering. Please stay tuned for the next question." })
|
|
28085
28085
|
] }),
|
|
28086
|
-
!w && (W ||
|
|
28087
|
-
/* @__PURE__ */ I(Xf, { "data-feedback-type":
|
|
28086
|
+
!w && (W || G) && /* @__PURE__ */ re(Hu, { children: [
|
|
28087
|
+
/* @__PURE__ */ I(Xf, { "data-feedback-type": ne, children: /* @__PURE__ */ I(Ot, { name: ne }) }),
|
|
28088
28088
|
/* @__PURE__ */ I("div", { children: /* @__PURE__ */ re(Bg, { children: [
|
|
28089
|
-
/* @__PURE__ */ I(pV, { "data-feedback-type":
|
|
28090
|
-
/* @__PURE__ */ I(Gu, { children:
|
|
28089
|
+
/* @__PURE__ */ I(pV, { "data-feedback-type": ne, children: J == null ? void 0 : J.title }),
|
|
28090
|
+
/* @__PURE__ */ I(Gu, { children: J == null ? void 0 : J.description })
|
|
28091
28091
|
] }) })
|
|
28092
28092
|
] })
|
|
28093
28093
|
] }) }) : null;
|
|
@@ -28138,14 +28138,14 @@ var o4 = {}, hy = function() {
|
|
|
28138
28138
|
var R = (p += "").split(".");
|
|
28139
28139
|
if (T = R[0], b = R.length > 1 ? u.options.decimal + R[1] : "", u.options.useGrouping) {
|
|
28140
28140
|
w = "";
|
|
28141
|
-
for (var L = 3, A = 0, D = 0,
|
|
28142
|
-
u.options.useIndianSeparators && D === 4 && (L = 2, A = 1), D !== 0 && A % L == 0 && (w = u.options.separator + w), A++, w = T[
|
|
28141
|
+
for (var L = 3, A = 0, D = 0, B = T.length; D < B; ++D)
|
|
28142
|
+
u.options.useIndianSeparators && D === 4 && (L = 2, A = 1), D !== 0 && A % L == 0 && (w = u.options.separator + w), A++, w = T[B - D - 1] + w;
|
|
28143
28143
|
T = w;
|
|
28144
28144
|
}
|
|
28145
|
-
return u.options.numerals && u.options.numerals.length && (T = T.replace(/[0-9]/g, function(
|
|
28146
|
-
return u.options.numerals[+
|
|
28147
|
-
}), b = b.replace(/[0-9]/g, function(
|
|
28148
|
-
return u.options.numerals[+
|
|
28145
|
+
return u.options.numerals && u.options.numerals.length && (T = T.replace(/[0-9]/g, function(z) {
|
|
28146
|
+
return u.options.numerals[+z];
|
|
28147
|
+
}), b = b.replace(/[0-9]/g, function(z) {
|
|
28148
|
+
return u.options.numerals[+z];
|
|
28149
28149
|
})), C + u.options.prefix + T + b + u.options.suffix;
|
|
28150
28150
|
}, this.easeOutExpo = function(f, p, T, b) {
|
|
28151
28151
|
return T * (1 - Math.pow(2, -10 * f / b)) * 1024 / 1023 + p;
|
|
@@ -28344,7 +28344,7 @@ function us(n) {
|
|
|
28344
28344
|
}, []);
|
|
28345
28345
|
}
|
|
28346
28346
|
var xV = function(r, s) {
|
|
28347
|
-
var c = s.decimal, u = s.decimals, f = s.duration, p = s.easingFn, T = s.end, b = s.formattingFn, w = s.numerals, C = s.prefix, R = s.separator, L = s.start, A = s.suffix, D = s.useEasing,
|
|
28347
|
+
var c = s.decimal, u = s.decimals, f = s.duration, p = s.easingFn, T = s.end, b = s.formattingFn, w = s.numerals, C = s.prefix, R = s.separator, L = s.start, A = s.suffix, D = s.useEasing, B = s.useGrouping, z = s.useIndianSeparators, W = s.enableScrollSpy, G = s.scrollSpyDelay, ee = s.scrollSpyOnce, ne = s.plugin;
|
|
28348
28348
|
return new EV.CountUp(r, T, {
|
|
28349
28349
|
startVal: L,
|
|
28350
28350
|
duration: f,
|
|
@@ -28356,13 +28356,13 @@ var xV = function(r, s) {
|
|
|
28356
28356
|
separator: R,
|
|
28357
28357
|
prefix: C,
|
|
28358
28358
|
suffix: A,
|
|
28359
|
-
plugin:
|
|
28359
|
+
plugin: ne,
|
|
28360
28360
|
useEasing: D,
|
|
28361
|
-
useIndianSeparators:
|
|
28362
|
-
useGrouping:
|
|
28361
|
+
useIndianSeparators: z,
|
|
28362
|
+
useGrouping: B,
|
|
28363
28363
|
enableScrollSpy: W,
|
|
28364
|
-
scrollSpyDelay:
|
|
28365
|
-
scrollSpyOnce:
|
|
28364
|
+
scrollSpyDelay: G,
|
|
28365
|
+
scrollSpyOnce: ee
|
|
28366
28366
|
});
|
|
28367
28367
|
}, DV = ["ref", "startOnMount", "enableReinitialize", "delay", "onEnd", "onStart", "onPauseResume", "onReset", "onUpdate"], UV = {
|
|
28368
28368
|
decimal: ".",
|
|
@@ -28384,65 +28384,65 @@ var xV = function(r, s) {
|
|
|
28384
28384
|
return qe !== void 0;
|
|
28385
28385
|
})), c = ba.useMemo(function() {
|
|
28386
28386
|
return gy(gy({}, UV), s);
|
|
28387
|
-
}, [r]), u = c.ref, f = c.startOnMount, p = c.enableReinitialize, T = c.delay, b = c.onEnd, w = c.onStart, C = c.onPauseResume, R = c.onReset, L = c.onUpdate, A = lE(c, DV), D = ba.useRef(),
|
|
28387
|
+
}, [r]), u = c.ref, f = c.startOnMount, p = c.enableReinitialize, T = c.delay, b = c.onEnd, w = c.onStart, C = c.onPauseResume, R = c.onReset, L = c.onUpdate, A = lE(c, DV), D = ba.useRef(), B = ba.useRef(), z = ba.useRef(!1), W = us(function() {
|
|
28388
28388
|
return xV(typeof u == "string" ? u : u.current, A);
|
|
28389
|
-
}),
|
|
28389
|
+
}), G = us(function(Ce) {
|
|
28390
28390
|
var We = D.current;
|
|
28391
28391
|
if (We && !Ce)
|
|
28392
28392
|
return We;
|
|
28393
28393
|
var qe = W();
|
|
28394
28394
|
return D.current = qe, qe;
|
|
28395
|
-
}),
|
|
28395
|
+
}), ee = us(function() {
|
|
28396
28396
|
var Ce = function() {
|
|
28397
|
-
return
|
|
28397
|
+
return G(!0).start(function() {
|
|
28398
28398
|
b == null || b({
|
|
28399
|
-
pauseResume:
|
|
28400
|
-
reset:
|
|
28399
|
+
pauseResume: ne,
|
|
28400
|
+
reset: J,
|
|
28401
28401
|
start: se,
|
|
28402
28402
|
update: de
|
|
28403
28403
|
});
|
|
28404
28404
|
});
|
|
28405
28405
|
};
|
|
28406
|
-
T && T > 0 ?
|
|
28407
|
-
pauseResume:
|
|
28408
|
-
reset:
|
|
28406
|
+
T && T > 0 ? B.current = setTimeout(Ce, T * 1e3) : Ce(), w == null || w({
|
|
28407
|
+
pauseResume: ne,
|
|
28408
|
+
reset: J,
|
|
28409
28409
|
update: de
|
|
28410
28410
|
});
|
|
28411
|
-
}),
|
|
28412
|
-
|
|
28413
|
-
reset:
|
|
28411
|
+
}), ne = us(function() {
|
|
28412
|
+
G().pauseResume(), C == null || C({
|
|
28413
|
+
reset: J,
|
|
28414
28414
|
start: se,
|
|
28415
28415
|
update: de
|
|
28416
28416
|
});
|
|
28417
|
-
}),
|
|
28418
|
-
|
|
28419
|
-
pauseResume:
|
|
28417
|
+
}), J = us(function() {
|
|
28418
|
+
G().el && (B.current && clearTimeout(B.current), G().reset(), R == null || R({
|
|
28419
|
+
pauseResume: ne,
|
|
28420
28420
|
start: se,
|
|
28421
28421
|
update: de
|
|
28422
28422
|
}));
|
|
28423
28423
|
}), de = us(function(Ce) {
|
|
28424
|
-
|
|
28425
|
-
pauseResume:
|
|
28426
|
-
reset:
|
|
28424
|
+
G().update(Ce), L == null || L({
|
|
28425
|
+
pauseResume: ne,
|
|
28426
|
+
reset: J,
|
|
28427
28427
|
start: se
|
|
28428
28428
|
});
|
|
28429
28429
|
}), se = us(function() {
|
|
28430
|
-
|
|
28430
|
+
J(), ee();
|
|
28431
28431
|
}), Re = us(function(Ce) {
|
|
28432
|
-
f && (Ce &&
|
|
28432
|
+
f && (Ce && J(), ee());
|
|
28433
28433
|
});
|
|
28434
28434
|
return ba.useEffect(function() {
|
|
28435
|
-
|
|
28436
|
-
}, [p,
|
|
28435
|
+
z.current ? p && Re(!0) : (z.current = !0, Re());
|
|
28436
|
+
}, [p, z, Re, T, r.start, r.suffix, r.prefix, r.duration, r.separator, r.decimals, r.decimal, r.formattingFn]), ba.useEffect(function() {
|
|
28437
28437
|
return function() {
|
|
28438
|
-
|
|
28438
|
+
J();
|
|
28439
28439
|
};
|
|
28440
|
-
}, [
|
|
28440
|
+
}, [J]), {
|
|
28441
28441
|
start: se,
|
|
28442
|
-
pauseResume:
|
|
28443
|
-
reset:
|
|
28442
|
+
pauseResume: ne,
|
|
28443
|
+
reset: J,
|
|
28444
28444
|
update: de,
|
|
28445
|
-
getCountUp:
|
|
28445
|
+
getCountUp: G
|
|
28446
28446
|
};
|
|
28447
28447
|
}, FV = ["className", "redraw", "containerProps", "children", "style"], VV = function(r) {
|
|
28448
28448
|
var s = r.className, c = r.redraw, u = r.containerProps, f = r.children, p = r.style, T = lE(r, FV), b = ba.useRef(null), w = ba.useRef(!1), C = cE(gy(gy({}, T), {}, {
|
|
@@ -28450,28 +28450,28 @@ var xV = function(r, s) {
|
|
|
28450
28450
|
startOnMount: typeof f != "function" || r.delay === 0,
|
|
28451
28451
|
// component manually restarts
|
|
28452
28452
|
enableReinitialize: !1
|
|
28453
|
-
})), R = C.start, L = C.reset, A = C.update, D = C.pauseResume,
|
|
28453
|
+
})), R = C.start, L = C.reset, A = C.update, D = C.pauseResume, B = C.getCountUp, z = us(function() {
|
|
28454
28454
|
R();
|
|
28455
|
-
}), W = us(function(
|
|
28456
|
-
r.preserveValue || L(), A(
|
|
28457
|
-
}),
|
|
28455
|
+
}), W = us(function(ne) {
|
|
28456
|
+
r.preserveValue || L(), A(ne);
|
|
28457
|
+
}), G = us(function() {
|
|
28458
28458
|
if (typeof r.children == "function" && !(b.current instanceof Element)) {
|
|
28459
28459
|
console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);
|
|
28460
28460
|
return;
|
|
28461
28461
|
}
|
|
28462
|
-
|
|
28462
|
+
B();
|
|
28463
28463
|
});
|
|
28464
28464
|
ba.useEffect(function() {
|
|
28465
|
-
|
|
28466
|
-
}, [
|
|
28465
|
+
G();
|
|
28466
|
+
}, [G]), ba.useEffect(function() {
|
|
28467
28467
|
w.current && W(r.end);
|
|
28468
28468
|
}, [r.end, W]);
|
|
28469
|
-
var
|
|
28469
|
+
var ee = c && r;
|
|
28470
28470
|
return ba.useEffect(function() {
|
|
28471
|
-
c && w.current &&
|
|
28472
|
-
}, [
|
|
28473
|
-
!c && w.current &&
|
|
28474
|
-
}, [
|
|
28471
|
+
c && w.current && z();
|
|
28472
|
+
}, [z, c, ee]), ba.useEffect(function() {
|
|
28473
|
+
!c && w.current && z();
|
|
28474
|
+
}, [z, c, r.start, r.suffix, r.prefix, r.duration, r.separator, r.decimals, r.decimal, r.className, r.formattingFn]), ba.useEffect(function() {
|
|
28475
28475
|
w.current = !0;
|
|
28476
28476
|
}, []), typeof f == "function" ? f({
|
|
28477
28477
|
countUpRef: b,
|
|
@@ -28479,12 +28479,12 @@ var xV = function(r, s) {
|
|
|
28479
28479
|
reset: L,
|
|
28480
28480
|
update: A,
|
|
28481
28481
|
pauseResume: D,
|
|
28482
|
-
getCountUp:
|
|
28482
|
+
getCountUp: B
|
|
28483
28483
|
}) : /* @__PURE__ */ ba.createElement("span", T9({
|
|
28484
28484
|
className: s,
|
|
28485
28485
|
ref: b,
|
|
28486
28486
|
style: p
|
|
28487
|
-
}, u), typeof r.start < "u" ?
|
|
28487
|
+
}, u), typeof r.start < "u" ? B().formattingFn(r.start) : "");
|
|
28488
28488
|
}, BV = o4.default = VV;
|
|
28489
28489
|
o4.useCountUp = cE;
|
|
28490
28490
|
const My = ({ value: n = 0, decimals: r, duration: s = 1, preserveValue: c = !0, ...u }) => {
|
|
@@ -28596,14 +28596,14 @@ const My = ({ value: n = 0, decimals: r, duration: s = 1, preserveValue: c = !0,
|
|
|
28596
28596
|
imageMode: L,
|
|
28597
28597
|
answerTimeExpired: A,
|
|
28598
28598
|
questionStatus: D,
|
|
28599
|
-
isLoading:
|
|
28600
|
-
questionType:
|
|
28599
|
+
isLoading: B,
|
|
28600
|
+
questionType: z,
|
|
28601
28601
|
correct: W,
|
|
28602
|
-
hasCorrectAnswer:
|
|
28603
|
-
votedAfterQuestionClosed:
|
|
28604
|
-
enteredAnActiveQuestion:
|
|
28605
|
-
marketClosed:
|
|
28606
|
-
} = n, [de, se] = Et(0), Re = aB(n), Ce = rB({ questionType:
|
|
28602
|
+
hasCorrectAnswer: G,
|
|
28603
|
+
votedAfterQuestionClosed: ee,
|
|
28604
|
+
enteredAnActiveQuestion: ne,
|
|
28605
|
+
marketClosed: J
|
|
28606
|
+
} = n, [de, se] = Et(0), Re = aB(n), Ce = rB({ questionType: z, questionVoted: R, correct: W, hasCorrectAnswer: G, questionStatus: D }), We = J && z === Se.PREDICTION, qe = R || We, je = z === Se.PREDICTION && !R && !J, _e = R && !C && Re !== "incorrect";
|
|
28607
28607
|
return $9(() => {
|
|
28608
28608
|
se(0), requestAnimationFrame(() => {
|
|
28609
28609
|
se(f);
|
|
@@ -28614,11 +28614,11 @@ const My = ({ value: n = 0, decimals: r, duration: s = 1, preserveValue: c = !0,
|
|
|
28614
28614
|
value: s,
|
|
28615
28615
|
"data-selected": C,
|
|
28616
28616
|
"data-answer-state": Re,
|
|
28617
|
-
disabled: R ||
|
|
28617
|
+
disabled: R || B || A || We && !ne || We && ne && ee,
|
|
28618
28618
|
"data-is-not-checked": _e,
|
|
28619
28619
|
onClick: (Ze) => {
|
|
28620
28620
|
b(
|
|
28621
|
-
|
|
28621
|
+
z === Se.PREDICTION ? J : D === Mn.RESOLVED
|
|
28622
28622
|
), T(Ze);
|
|
28623
28623
|
},
|
|
28624
28624
|
children: [
|
|
@@ -28650,29 +28650,29 @@ const My = ({ value: n = 0, decimals: r, duration: s = 1, preserveValue: c = !0,
|
|
|
28650
28650
|
};
|
|
28651
28651
|
var tb = typeof window > "u" ? St : $9, sB = ({ isPlaying: n, duration: r, startAt: s = 0, updateInterval: c = 0, onComplete: u, onUpdate: f }) => {
|
|
28652
28652
|
let [p, T] = Et(s), b = vn(0), w = vn(s), C = vn(s * -1e3), R = vn(null), L = vn(null), A = vn(null), D = (W) => {
|
|
28653
|
-
let
|
|
28653
|
+
let G = W / 1e3;
|
|
28654
28654
|
if (L.current === null) {
|
|
28655
|
-
L.current =
|
|
28655
|
+
L.current = G, R.current = requestAnimationFrame(D);
|
|
28656
28656
|
return;
|
|
28657
28657
|
}
|
|
28658
|
-
let
|
|
28659
|
-
L.current =
|
|
28660
|
-
let
|
|
28661
|
-
T(se ? r :
|
|
28662
|
-
},
|
|
28658
|
+
let ee = G - L.current, ne = b.current + ee;
|
|
28659
|
+
L.current = G, b.current = ne;
|
|
28660
|
+
let J = w.current + (c === 0 ? ne : (ne / c | 0) * c), de = w.current + ne, se = typeof r == "number" && de >= r;
|
|
28661
|
+
T(se ? r : J), se || (R.current = requestAnimationFrame(D));
|
|
28662
|
+
}, B = () => {
|
|
28663
28663
|
R.current && cancelAnimationFrame(R.current), A.current && clearTimeout(A.current), L.current = null;
|
|
28664
|
-
},
|
|
28665
|
-
|
|
28666
|
-
let
|
|
28667
|
-
w.current =
|
|
28664
|
+
}, z = ta((W) => {
|
|
28665
|
+
B(), b.current = 0;
|
|
28666
|
+
let G = typeof W == "number" ? W : s;
|
|
28667
|
+
w.current = G, T(G), n && (R.current = requestAnimationFrame(D));
|
|
28668
28668
|
}, [n, s]);
|
|
28669
28669
|
return tb(() => {
|
|
28670
28670
|
if (f == null || f(p), r && p >= r) {
|
|
28671
28671
|
C.current += r * 1e3;
|
|
28672
|
-
let { shouldRepeat: W = !1, delay:
|
|
28673
|
-
W && (A.current = setTimeout(() =>
|
|
28672
|
+
let { shouldRepeat: W = !1, delay: G = 0, newStartAt: ee } = (u == null ? void 0 : u(C.current / 1e3)) || {};
|
|
28673
|
+
W && (A.current = setTimeout(() => z(ee), G * 1e3));
|
|
28674
28674
|
}
|
|
28675
|
-
}, [p, r]), tb(() => (n && (R.current = requestAnimationFrame(D)),
|
|
28675
|
+
}, [p, r]), tb(() => (n && (R.current = requestAnimationFrame(D)), B), [n, r, c]), { elapsedTime: p, reset: z };
|
|
28676
28676
|
}, iB = (n, r, s) => {
|
|
28677
28677
|
let c = n / 2, u = r / 2, f = c - u, p = 2 * f, T = s === "clockwise" ? "1,0" : "0,1", b = 2 * Math.PI * f;
|
|
28678
28678
|
return { path: `m ${c},${u} a ${f},${f} 0 ${T} 0,${p} a ${f},${f} 0 ${T} 0,-${p}`, pathLength: b };
|
|
@@ -28697,16 +28697,16 @@ var tb = typeof window > "u" ? St : $9, sB = ({ isPlaying: n, duration: r, start
|
|
|
28697
28697
|
let T = u[p] - r, b = u[p] - u[p + 1], w = ab(c[p]), C = ab(c[p + 1]), R = !!n.isGrowing;
|
|
28698
28698
|
return `rgb(${w.map((L, A) => dE(T, L, C[A] - L, b, R) | 0).join(",")})`;
|
|
28699
28699
|
}, dB = (n) => {
|
|
28700
|
-
let { duration: r, initialRemainingTime: s, updateInterval: c, size: u = 180, strokeWidth: f = 12, trailStrokeWidth: p, isPlaying: T = !1, isGrowing: b = !1, rotation: w = "clockwise", onComplete: C, onUpdate: R } = n, L = vn(), A = Math.max(f, p ?? 0), { path: D, pathLength:
|
|
28701
|
-
let
|
|
28702
|
-
|
|
28703
|
-
} : void 0, onComplete: typeof C == "function" ? (
|
|
28704
|
-
var
|
|
28705
|
-
let { shouldRepeat:
|
|
28706
|
-
if (
|
|
28707
|
-
return { shouldRepeat:
|
|
28708
|
-
} : void 0 }), W = r -
|
|
28709
|
-
return { elapsedTime:
|
|
28700
|
+
let { duration: r, initialRemainingTime: s, updateInterval: c, size: u = 180, strokeWidth: f = 12, trailStrokeWidth: p, isPlaying: T = !1, isGrowing: b = !1, rotation: w = "clockwise", onComplete: C, onUpdate: R } = n, L = vn(), A = Math.max(f, p ?? 0), { path: D, pathLength: B } = iB(u, A, w), { elapsedTime: z } = sB({ isPlaying: T, duration: r, startAt: nb(r, s), updateInterval: c, onUpdate: typeof R == "function" ? (G) => {
|
|
28701
|
+
let ee = Math.ceil(r - G);
|
|
28702
|
+
ee !== L.current && (L.current = ee, R(ee));
|
|
28703
|
+
} : void 0, onComplete: typeof C == "function" ? (G) => {
|
|
28704
|
+
var ee;
|
|
28705
|
+
let { shouldRepeat: ne, delay: J, newInitialRemainingTime: de } = (ee = C(G)) != null ? ee : {};
|
|
28706
|
+
if (ne)
|
|
28707
|
+
return { shouldRepeat: ne, delay: J, newStartAt: nb(r, de) };
|
|
28708
|
+
} : void 0 }), W = r - z;
|
|
28709
|
+
return { elapsedTime: z, path: D, pathLength: B, remainingTime: Math.ceil(W), rotation: w, size: u, stroke: uB(n, W), strokeDashoffset: dE(z, 0, B, r, b), strokeWidth: f };
|
|
28710
28710
|
}, mE = (n) => {
|
|
28711
28711
|
let { children: r, strokeLinecap: s, trailColor: c, trailStrokeWidth: u } = n, { path: f, pathLength: p, stroke: T, strokeDashoffset: b, remainingTime: w, elapsedTime: C, size: R, strokeWidth: L } = dB(n);
|
|
28712
28712
|
return po.createElement("div", { style: lB(R) }, po.createElement("svg", { viewBox: `0 0 ${R} ${R}`, width: R, height: R, xmlns: "http://www.w3.org/2000/svg" }, po.createElement("path", { d: f, fill: "none", stroke: c ?? "#d9d9d9", strokeWidth: u ?? L }), po.createElement("path", { d: f, fill: "none", stroke: T, strokeLinecap: s ?? "round", strokeWidth: L, strokeDasharray: p, strokeDashoffset: b })), typeof r == "function" && po.createElement("div", { style: cB }, r({ remainingTime: w, elapsedTime: C, color: T })));
|
|
@@ -28830,14 +28830,14 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28830
28830
|
/* @__PURE__ */ I(iE, { children: Array.from({ length: 5 }).map((n, r) => /* @__PURE__ */ I(fo, { loading: !0, style: { height: "44px" } }, r)) })
|
|
28831
28831
|
] }) }), LB = ({ openedQuestion: n, isLoading: r, vote: s, close: c }) => {
|
|
28832
28832
|
var u, f;
|
|
28833
|
-
const p = n.subject, T = n.type, b = n.status, w = (u = n.options) == null ? void 0 : u.options, C = n.marketClosed, R = n.id, L = vn(), [A, D] = Et(!1), [
|
|
28833
|
+
const p = n.subject, T = n.type, b = n.status, w = (u = n.options) == null ? void 0 : u.options, C = n.marketClosed, R = n.id, L = vn(), [A, D] = Et(!1), [B, z] = Et(!1), [W, G] = Et(!0), [ee, ne] = Et(!1), [J, de] = Et(!1), [se, Re] = Et(""), [Ce, We] = Et(""), [qe, je] = Et(!1), [_e, Ze] = Et(!1), { runAnimation: pt, finished: Nt } = $w();
|
|
28834
28834
|
St(() => {
|
|
28835
28835
|
Nt && c();
|
|
28836
28836
|
}, [c, Nt]), St(() => {
|
|
28837
|
-
T === Se.PREDICTION ? C &&
|
|
28837
|
+
T === Se.PREDICTION ? C && G(!1) : b === Mn.RESOLVED && G(!1);
|
|
28838
28838
|
}, []);
|
|
28839
28839
|
const na = ta((It) => {
|
|
28840
|
-
|
|
28840
|
+
z(It), D(!0);
|
|
28841
28841
|
}, []), Te = vn(!1), xe = ta(
|
|
28842
28842
|
async (It) => {
|
|
28843
28843
|
if (!Te.current && (Te.current = !0, R)) {
|
|
@@ -28852,7 +28852,7 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28852
28852
|
},
|
|
28853
28853
|
[T, R, Re, s]
|
|
28854
28854
|
), be = ta(() => {
|
|
28855
|
-
|
|
28855
|
+
ne(!0), pt({ delay: 3500 });
|
|
28856
28856
|
}, [pt]), lt = ta(() => {
|
|
28857
28857
|
de(!0), pt({ delay: 3500 });
|
|
28858
28858
|
}, [pt]), V = Sr(
|
|
@@ -28879,14 +28879,14 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28879
28879
|
isLoading: r,
|
|
28880
28880
|
hasCorrectAnswer: oe,
|
|
28881
28881
|
questionType: n.type,
|
|
28882
|
-
answerTimeExpired:
|
|
28882
|
+
answerTimeExpired: ee,
|
|
28883
28883
|
questionStatus: b,
|
|
28884
28884
|
imageMode: (mn = n.appearance) == null ? void 0 : mn.images,
|
|
28885
28885
|
onVote: xe
|
|
28886
28886
|
};
|
|
28887
28887
|
}) : [], [
|
|
28888
28888
|
oe,
|
|
28889
|
-
|
|
28889
|
+
ee,
|
|
28890
28890
|
r,
|
|
28891
28891
|
n,
|
|
28892
28892
|
V,
|
|
@@ -28898,12 +28898,12 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28898
28898
|
const It = $e.some(({ percentageDecimal: xn }) => xn !== 0), mn = V && T === Se.PREDICTION;
|
|
28899
28899
|
Ce && (!It || C && mn) && je(!0);
|
|
28900
28900
|
}, [$e, Ce, C, T, V]);
|
|
28901
|
-
const ft = w && (w.case === "trivia" || w.case === "prediction") ? w.value : void 0, rt = b === Mn.RESOLVED && T === Se.TRIVIA && !V && !W, et = T === Se.TRIVIA &&
|
|
28901
|
+
const ft = w && (w.case === "trivia" || w.case === "prediction") ? w.value : void 0, rt = b === Mn.RESOLVED && T === Se.TRIVIA && !V && !W, et = T === Se.TRIVIA && B, st = Sr(() => T === Se.PREDICTION ? !!(V && !oe || V && oe && pe != null && pe.youVoted) : !0, [T, V, oe, pe]), Ct = Sr(() => {
|
|
28902
28902
|
if (T === Se.PREDICTION && V && (!oe || oe && pe != null && pe.youVoted))
|
|
28903
28903
|
return V.points;
|
|
28904
|
-
if (!(rt ||
|
|
28904
|
+
if (!(rt || ee))
|
|
28905
28905
|
return V ? V.correct ? V.pointsEarned : 0 : pe == null ? void 0 : pe.points;
|
|
28906
|
-
}, [
|
|
28906
|
+
}, [ee, V, pe, rt, T, oe]), Jt = Sr(() => T === Se.PREDICTION && V ? oe ? oe && pe != null && pe.youVoted ? "You won" : "" : "To win" : rt || ee ? "Time expired" : T === Se.POLL ? "Time remaining" : V ? "You won" : "To win", [ee, T, V, rt, oe, pe]), Pn = !st || st && T === Se.PREDICTION && A && !qe, Qt = (T === Se.TRIVIA || T === Se.PREDICTION) && V && oe && (pe == null ? void 0 : pe.youVoted), sn = V || rt || et || T === Se.TRIVIA && b === Mn.RESOLVED && W;
|
|
28907
28907
|
return /* @__PURE__ */ I(yV, { children: /* @__PURE__ */ I(oE, { children: /* @__PURE__ */ re(sE, { children: [
|
|
28908
28908
|
/* @__PURE__ */ I(
|
|
28909
28909
|
hV,
|
|
@@ -28916,7 +28916,7 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28916
28916
|
showExpiredNotification: rt,
|
|
28917
28917
|
showClosedNotificationTrivia: et,
|
|
28918
28918
|
votedInCurrentRender: A,
|
|
28919
|
-
votedAfterQuestionClosed:
|
|
28919
|
+
votedAfterQuestionClosed: B,
|
|
28920
28920
|
enteredAnActiveQuestion: W,
|
|
28921
28921
|
marketClosed: C,
|
|
28922
28922
|
percentsAnimated: qe,
|
|
@@ -28938,12 +28938,12 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28938
28938
|
percentsAnimated: qe
|
|
28939
28939
|
}
|
|
28940
28940
|
),
|
|
28941
|
-
|
|
28941
|
+
ee || J ? /* @__PURE__ */ I(kV, { children: /* @__PURE__ */ I(
|
|
28942
28942
|
lV,
|
|
28943
28943
|
{
|
|
28944
28944
|
icon: "icon-check-circle",
|
|
28945
28945
|
title: "More to come...",
|
|
28946
|
-
description:
|
|
28946
|
+
description: J ? /* @__PURE__ */ re(or, { children: [
|
|
28947
28947
|
"Stay tuned for more questions ",
|
|
28948
28948
|
/* @__PURE__ */ I("br", {}),
|
|
28949
28949
|
" and insights."
|
|
@@ -28961,7 +28961,7 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
28961
28961
|
...It,
|
|
28962
28962
|
markThatVoted: na,
|
|
28963
28963
|
onPercentsAnimated: () => je(!0),
|
|
28964
|
-
votedAfterQuestionClosed:
|
|
28964
|
+
votedAfterQuestionClosed: B,
|
|
28965
28965
|
enteredAnActiveQuestion: W,
|
|
28966
28966
|
marketClosed: C
|
|
28967
28967
|
},
|
|
@@ -29010,7 +29010,7 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
29010
29010
|
const D = c == null ? void 0 : c.current;
|
|
29011
29011
|
if (!D)
|
|
29012
29012
|
return;
|
|
29013
|
-
fE(), UB(D), D.play().catch((
|
|
29013
|
+
fE(), UB(D), D.play().catch((B) => console.log(B)), T(!1);
|
|
29014
29014
|
}
|
|
29015
29015
|
Am.emit("interactions", {
|
|
29016
29016
|
action: "tap",
|
|
@@ -29201,9 +29201,9 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
29201
29201
|
isDetail: f,
|
|
29202
29202
|
controlVideo: p
|
|
29203
29203
|
}) => {
|
|
29204
|
-
var T, b, w, C, R, L, A, D,
|
|
29205
|
-
const
|
|
29206
|
-
({ contentType:
|
|
29204
|
+
var T, b, w, C, R, L, A, D, B;
|
|
29205
|
+
const z = (b = (T = u == null ? void 0 : u.meta) == null ? void 0 : T.extendedEntities) == null ? void 0 : b.media, W = z == null ? void 0 : z.find(({ type: ee }) => ee === "photo"), G = (L = (R = (C = (w = z == null ? void 0 : z[0]) == null ? void 0 : w.videoInfo) == null ? void 0 : C.variants) == null ? void 0 : R.find(
|
|
29206
|
+
({ contentType: ee }) => ee === "video/mp4"
|
|
29207
29207
|
)) == null ? void 0 : L.url;
|
|
29208
29208
|
return /* @__PURE__ */ re(nz, { children: [
|
|
29209
29209
|
/* @__PURE__ */ re(az, { children: [
|
|
@@ -29218,33 +29218,33 @@ const mB = [al.PRIMARY_GREEN1, al.SECONDARY_RED1, al.SECONDARY_RED1, al.NEUTRALS
|
|
|
29218
29218
|
}
|
|
29219
29219
|
),
|
|
29220
29220
|
/* @__PURE__ */ I(rz, { children: lz(r) }),
|
|
29221
|
-
!f && W && /* @__PURE__ */ I(e0, { children: /* @__PURE__ */ I(hc, { src:
|
|
29221
|
+
!f && W && /* @__PURE__ */ I(e0, { children: /* @__PURE__ */ I(hc, { src: z == null ? void 0 : z[0].mediaUrlHttps }) }),
|
|
29222
29222
|
f && W && /* @__PURE__ */ re(or, { children: [
|
|
29223
|
-
(
|
|
29224
|
-
(
|
|
29225
|
-
/* @__PURE__ */ I(x8, { src:
|
|
29226
|
-
/* @__PURE__ */ I(x8, { src:
|
|
29223
|
+
(z == null ? void 0 : z.length) === 1 && /* @__PURE__ */ I(e0, { children: /* @__PURE__ */ I(hc, { src: z[0].mediaUrlHttps }) }),
|
|
29224
|
+
(z == null ? void 0 : z.length) === 2 && /* @__PURE__ */ re(e0, { children: [
|
|
29225
|
+
/* @__PURE__ */ I(x8, { src: z[0].mediaUrlHttps }),
|
|
29226
|
+
/* @__PURE__ */ I(x8, { src: z[1].mediaUrlHttps })
|
|
29227
29227
|
] }),
|
|
29228
|
-
(
|
|
29229
|
-
/* @__PURE__ */ I(x8, { src:
|
|
29228
|
+
(z == null ? void 0 : z.length) === 3 && /* @__PURE__ */ re(e0, { children: [
|
|
29229
|
+
/* @__PURE__ */ I(x8, { src: z[0].mediaUrlHttps }),
|
|
29230
29230
|
/* @__PURE__ */ re(P8, { children: [
|
|
29231
|
-
/* @__PURE__ */ I(hc, { src:
|
|
29232
|
-
/* @__PURE__ */ I(hc, { src:
|
|
29231
|
+
/* @__PURE__ */ I(hc, { src: z[1].mediaUrlHttps }),
|
|
29232
|
+
/* @__PURE__ */ I(hc, { src: z[2].mediaUrlHttps })
|
|
29233
29233
|
] })
|
|
29234
29234
|
] }),
|
|
29235
|
-
(
|
|
29235
|
+
(z == null ? void 0 : z.length) === 4 && /* @__PURE__ */ re(e0, { children: [
|
|
29236
29236
|
/* @__PURE__ */ re(P8, { children: [
|
|
29237
|
-
/* @__PURE__ */ I(hc, { src:
|
|
29238
|
-
/* @__PURE__ */ I(hc, { src:
|
|
29237
|
+
/* @__PURE__ */ I(hc, { src: z[0].mediaUrlHttps }),
|
|
29238
|
+
/* @__PURE__ */ I(hc, { src: z[1].mediaUrlHttps })
|
|
29239
29239
|
] }),
|
|
29240
29240
|
/* @__PURE__ */ re(P8, { children: [
|
|
29241
|
-
/* @__PURE__ */ I(hc, { src:
|
|
29242
|
-
/* @__PURE__ */ I(hc, { src:
|
|
29241
|
+
/* @__PURE__ */ I(hc, { src: z[2].mediaUrlHttps }),
|
|
29242
|
+
/* @__PURE__ */ I(hc, { src: z[3].mediaUrlHttps })
|
|
29243
29243
|
] })
|
|
29244
29244
|
] })
|
|
29245
29245
|
] })
|
|
29246
29246
|
] }),
|
|
29247
|
-
!W && (((D =
|
|
29247
|
+
!W && (((D = z == null ? void 0 : z[0]) == null ? void 0 : D.type) === "video" || ((B = z == null ? void 0 : z[0]) == null ? void 0 : B.type) === "animated_gif") && G && /* @__PURE__ */ I(i4, { source: G, poster: z[0].mediaUrlHttps, controlVideo: p })
|
|
29248
29248
|
] });
|
|
29249
29249
|
}, cz = /* @__PURE__ */ P("div")({
|
|
29250
29250
|
name: "Container",
|
|
@@ -29555,30 +29555,30 @@ function Fz(n) {
|
|
|
29555
29555
|
const b = typeof document < "u" && document.attachEvent;
|
|
29556
29556
|
if (!b) {
|
|
29557
29557
|
p = function(W) {
|
|
29558
|
-
const
|
|
29559
|
-
|
|
29558
|
+
const G = W.__resizeTriggers__, ee = G.firstElementChild, ne = G.lastElementChild, J = ee.firstElementChild;
|
|
29559
|
+
ne.scrollLeft = ne.scrollWidth, ne.scrollTop = ne.scrollHeight, J.style.width = ee.offsetWidth + 1 + "px", J.style.height = ee.offsetHeight + 1 + "px", ee.scrollLeft = ee.scrollWidth, ee.scrollTop = ee.scrollHeight;
|
|
29560
29560
|
}, f = function(W) {
|
|
29561
29561
|
return W.offsetWidth !== W.__resizeLast__.width || W.offsetHeight !== W.__resizeLast__.height;
|
|
29562
29562
|
}, T = function(W) {
|
|
29563
29563
|
if (W.target.className && typeof W.target.className.indexOf == "function" && W.target.className.indexOf("contract-trigger") < 0 && W.target.className.indexOf("expand-trigger") < 0)
|
|
29564
29564
|
return;
|
|
29565
|
-
const
|
|
29565
|
+
const G = this;
|
|
29566
29566
|
p(this), this.__resizeRAF__ && b9(this.__resizeRAF__), this.__resizeRAF__ = S9(function() {
|
|
29567
|
-
f(
|
|
29568
|
-
|
|
29567
|
+
f(G) && (G.__resizeLast__.width = G.offsetWidth, G.__resizeLast__.height = G.offsetHeight, G.__resizeListeners__.forEach(function(J) {
|
|
29568
|
+
J.call(G, W);
|
|
29569
29569
|
}));
|
|
29570
29570
|
});
|
|
29571
29571
|
};
|
|
29572
29572
|
let L = !1, A = "";
|
|
29573
29573
|
c = "animationstart";
|
|
29574
29574
|
const D = "Webkit Moz O ms".split(" ");
|
|
29575
|
-
let
|
|
29575
|
+
let B = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), z = "";
|
|
29576
29576
|
{
|
|
29577
29577
|
const W = document.createElement("fakeelement");
|
|
29578
29578
|
if (W.style.animationName !== void 0 && (L = !0), L === !1) {
|
|
29579
|
-
for (let
|
|
29580
|
-
if (W.style[D[
|
|
29581
|
-
|
|
29579
|
+
for (let G = 0; G < D.length; G++)
|
|
29580
|
+
if (W.style[D[G] + "AnimationName"] !== void 0) {
|
|
29581
|
+
z = D[G], A = "-" + z.toLowerCase() + "-", c = B[G], L = !0;
|
|
29582
29582
|
break;
|
|
29583
29583
|
}
|
|
29584
29584
|
}
|
|
@@ -29587,8 +29587,8 @@ function Fz(n) {
|
|
|
29587
29587
|
}
|
|
29588
29588
|
const w = function(L) {
|
|
29589
29589
|
if (!L.getElementById("detectElementResize")) {
|
|
29590
|
-
const A = (r || "") + ".resize-triggers { " + (u || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', D = L.head || L.getElementsByTagName("head")[0],
|
|
29591
|
-
|
|
29590
|
+
const A = (r || "") + ".resize-triggers { " + (u || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', D = L.head || L.getElementsByTagName("head")[0], B = L.createElement("style");
|
|
29591
|
+
B.id = "detectElementResize", B.type = "text/css", n != null && B.setAttribute("nonce", n), B.styleSheet ? B.styleSheet.cssText = A : B.appendChild(L.createTextNode(A)), D.appendChild(B);
|
|
29592
29592
|
}
|
|
29593
29593
|
};
|
|
29594
29594
|
return {
|
|
@@ -29597,13 +29597,13 @@ function Fz(n) {
|
|
|
29597
29597
|
L.attachEvent("onresize", A);
|
|
29598
29598
|
else {
|
|
29599
29599
|
if (!L.__resizeTriggers__) {
|
|
29600
|
-
const D = L.ownerDocument,
|
|
29601
|
-
|
|
29602
|
-
const
|
|
29603
|
-
|
|
29600
|
+
const D = L.ownerDocument, B = Mo.getComputedStyle(L);
|
|
29601
|
+
B && B.position === "static" && (L.style.position = "relative"), w(D), L.__resizeLast__ = {}, L.__resizeListeners__ = [], (L.__resizeTriggers__ = D.createElement("div")).className = "resize-triggers";
|
|
29602
|
+
const z = D.createElement("div");
|
|
29603
|
+
z.className = "expand-trigger", z.appendChild(D.createElement("div"));
|
|
29604
29604
|
const W = D.createElement("div");
|
|
29605
|
-
W.className = "contract-trigger", L.__resizeTriggers__.appendChild(
|
|
29606
|
-
|
|
29605
|
+
W.className = "contract-trigger", L.__resizeTriggers__.appendChild(z), L.__resizeTriggers__.appendChild(W), L.appendChild(L.__resizeTriggers__), p(L), L.addEventListener("scroll", T, !0), c && (L.__resizeTriggers__.__animationListener__ = function(ee) {
|
|
29606
|
+
ee.animationName === s && p(L);
|
|
29607
29607
|
}, L.__resizeTriggers__.addEventListener(c, L.__resizeTriggers__.__animationListener__));
|
|
29608
29608
|
}
|
|
29609
29609
|
L.__resizeListeners__.push(A);
|
|
@@ -29686,19 +29686,19 @@ class Vz extends q9 {
|
|
|
29686
29686
|
height: L,
|
|
29687
29687
|
scaledHeight: A,
|
|
29688
29688
|
scaledWidth: D,
|
|
29689
|
-
width:
|
|
29690
|
-
} = this.state,
|
|
29689
|
+
width: B
|
|
29690
|
+
} = this.state, z = {
|
|
29691
29691
|
overflow: "visible"
|
|
29692
29692
|
}, W = {};
|
|
29693
|
-
let
|
|
29694
|
-
return u || (L === 0 && (
|
|
29693
|
+
let G = !1;
|
|
29694
|
+
return u || (L === 0 && (G = !0), z.height = 0, W.height = L, W.scaledHeight = A), f || (B === 0 && (G = !0), z.width = 0, W.width = B, W.scaledWidth = D), p && (G = !1), EA(C, {
|
|
29695
29695
|
ref: this._setRef,
|
|
29696
29696
|
style: {
|
|
29697
|
-
...
|
|
29697
|
+
...z,
|
|
29698
29698
|
...w
|
|
29699
29699
|
},
|
|
29700
29700
|
...R
|
|
29701
|
-
}, !
|
|
29701
|
+
}, !G && r(W));
|
|
29702
29702
|
}
|
|
29703
29703
|
}
|
|
29704
29704
|
function Bz(n) {
|
|
@@ -30026,13 +30026,13 @@ class w9 extends q9 {
|
|
|
30026
30026
|
useCapture: L,
|
|
30027
30027
|
useWindow: A,
|
|
30028
30028
|
getScrollParent: D,
|
|
30029
|
-
...
|
|
30029
|
+
...B
|
|
30030
30030
|
} = r;
|
|
30031
|
-
|
|
30031
|
+
B.ref = (W) => {
|
|
30032
30032
|
this.scrollComponent = W, C && C(W);
|
|
30033
30033
|
};
|
|
30034
|
-
const
|
|
30035
|
-
return u && (T ? p ?
|
|
30034
|
+
const z = [s];
|
|
30035
|
+
return u && (T ? p ? z.unshift(T) : z.push(T) : this.defaultLoader && (p ? z.unshift(this.defaultLoader) : z.push(this.defaultLoader))), po.createElement(c, B, z);
|
|
30036
30036
|
}
|
|
30037
30037
|
}
|
|
30038
30038
|
U(w9, "propTypes", {
|
|
@@ -30378,18 +30378,18 @@ const o$ = ({
|
|
|
30378
30378
|
};
|
|
30379
30379
|
}, [n]), /* @__PURE__ */ I(Qw, { loading: !(s != null && s.summary), ...s == null ? void 0 : s.summary, successRate: (r = s == null ? void 0 : s.percentage) == null ? void 0 : r.correct });
|
|
30380
30380
|
}, Z$ = ({ gamification: n, className: r, scrollStore: s, scrollNode: c, appNode: u, style: f, responsiveStore: p }) => {
|
|
30381
|
-
const { tabsShown: T } = Kt(s, { keys: ["tabsShown"] }), [b, w] = Et(ty.HOME), [, C] = _A(), { sdkInDesktopView: R, screen: L } = Kt(p, { keys: ["sdkInDesktopView"] }), A = (
|
|
30381
|
+
const { tabsShown: T } = Kt(s, { keys: ["tabsShown"] }), [b, w] = Et(ty.HOME), [, C] = _A(), { sdkInDesktopView: R, screen: L } = Kt(p, { keys: ["sdkInDesktopView"] }), A = (B) => {
|
|
30382
30382
|
C(() => {
|
|
30383
|
-
var
|
|
30384
|
-
w(
|
|
30383
|
+
var z;
|
|
30384
|
+
w(B), R === !1 && (((z = u.current) == null ? void 0 : z.getBoundingClientRect().y) || 0) < 0 && c4(u, L.size, { behavior: "instant" });
|
|
30385
30385
|
});
|
|
30386
30386
|
};
|
|
30387
|
-
St(() => s.subscribe((
|
|
30388
|
-
if (
|
|
30387
|
+
St(() => s.subscribe((B) => {
|
|
30388
|
+
if (B.scrollPosition === 0) {
|
|
30389
30389
|
s.setKey("tabsShown", !0);
|
|
30390
30390
|
return;
|
|
30391
30391
|
}
|
|
30392
|
-
p.get().sdkInDesktopView ? s.setKey("tabsShown",
|
|
30392
|
+
p.get().sdkInDesktopView ? s.setKey("tabsShown", B.scrollDirection === "backward") : s.setKey("tabsShown", B.scrollDirection === "forward");
|
|
30393
30393
|
}), [s, p]);
|
|
30394
30394
|
let D = "0px";
|
|
30395
30395
|
return R ? D = T ? "0px" : "calc(8px - var(--header-height) - var(--header-offset))" : D = T ? "calc(var(--header-height) + var(--header-offset) - 2px)" : "0px", /* @__PURE__ */ re(sU, { className: r, style: f, children: [
|
|
@@ -31192,43 +31192,43 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31192
31192
|
loading: L,
|
|
31193
31193
|
inviterName: A,
|
|
31194
31194
|
sdk: D,
|
|
31195
|
-
onClose:
|
|
31195
|
+
onClose: B
|
|
31196
31196
|
}) => {
|
|
31197
|
-
const [
|
|
31197
|
+
const [z, W] = Et(0), [G, ee] = Et(!1), [ne, J] = Et(cm);
|
|
31198
31198
|
St(() => {
|
|
31199
|
-
r != null && r.length ?
|
|
31199
|
+
r != null && r.length ? J({ ...cm, steps: !0 }) : s != null && s.length ? J({ ...cm, rules: !0 }) : J({ ...cm, inviteCard: !0 });
|
|
31200
31200
|
}, []);
|
|
31201
|
-
const de = Sr(() =>
|
|
31202
|
-
r != null && r.length &&
|
|
31203
|
-
}, [
|
|
31204
|
-
|
|
31201
|
+
const de = Sr(() => ne.steps && z === 0 ? "Continue" : ne.rules ? G || !c ? "Got it" : c : ne.inviteCard ? R || "Play Now" : "Next", [ne, z, G, c, R]), se = ta(() => {
|
|
31202
|
+
r != null && r.length && z < r.length - 1 ? W((Ce) => ++Ce) : s != null && s.length && ne.steps ? J({ ...cm, rules: !0 }) : ne.rules && J({ ...cm, inviteCard: !0 });
|
|
31203
|
+
}, [z, r == null ? void 0 : r.length, s == null ? void 0 : s.length, ne, W, J]), Re = async () => {
|
|
31204
|
+
ne.inviteCard ? await n.onboardingStatus.submitInplay() : ne.rules && G ? ee(!1) : se();
|
|
31205
31205
|
};
|
|
31206
31206
|
return St(() => {
|
|
31207
31207
|
!L && A && D.inviteDisplayed();
|
|
31208
31208
|
}, [L, A, D]), /* @__PURE__ */ I(Vz, { children: ({ width: Ce, height: We }) => /* @__PURE__ */ re(iG, { style: { width: Ce, height: We, maxHeight: We }, children: [
|
|
31209
|
-
/* @__PURE__ */ I(cG, { children: /* @__PURE__ */ I(uG, { onClick:
|
|
31209
|
+
/* @__PURE__ */ I(cG, { children: /* @__PURE__ */ I(uG, { onClick: B, children: /* @__PURE__ */ I(mG, { name: "icon-close-btn-gray" }) }) }),
|
|
31210
31210
|
/* @__PURE__ */ re(lG, { children: [
|
|
31211
|
-
|
|
31211
|
+
ne.steps && (r == null ? void 0 : r.length) && /* @__PURE__ */ I(
|
|
31212
31212
|
qH,
|
|
31213
31213
|
{
|
|
31214
31214
|
loading: L,
|
|
31215
31215
|
steps: r,
|
|
31216
|
-
currentStep:
|
|
31216
|
+
currentStep: z,
|
|
31217
31217
|
inviterName: A
|
|
31218
31218
|
}
|
|
31219
31219
|
),
|
|
31220
|
-
|
|
31220
|
+
ne.rules && !G && /* @__PURE__ */ I(
|
|
31221
31221
|
JH,
|
|
31222
31222
|
{
|
|
31223
31223
|
rules: s,
|
|
31224
31224
|
rulesTitle: u,
|
|
31225
31225
|
termsText: p,
|
|
31226
31226
|
primaryColor: T,
|
|
31227
|
-
openTerms: () =>
|
|
31227
|
+
openTerms: () => ee(!0)
|
|
31228
31228
|
}
|
|
31229
31229
|
),
|
|
31230
|
-
|
|
31231
|
-
|
|
31230
|
+
ne.rules && G && /* @__PURE__ */ I(aG, { termsTitle: f, termsText: p }),
|
|
31231
|
+
ne.inviteCard && /* @__PURE__ */ I(
|
|
31232
31232
|
SE,
|
|
31233
31233
|
{
|
|
31234
31234
|
inviteLink: b,
|
|
@@ -31328,19 +31328,19 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31328
31328
|
sdk: p
|
|
31329
31329
|
}) => {
|
|
31330
31330
|
var T, b, w, C, R, L, A;
|
|
31331
|
-
const D = Kt(c.friends.getStore()), [
|
|
31332
|
-
var
|
|
31333
|
-
const
|
|
31334
|
-
return
|
|
31335
|
-
slId:
|
|
31336
|
-
}) =>
|
|
31331
|
+
const D = Kt(c.friends.getStore()), [B, z] = Et(void 0), W = Sr(() => {
|
|
31332
|
+
var G, ee;
|
|
31333
|
+
const ne = p.getInviter();
|
|
31334
|
+
return ne ? (ee = (G = D.data) == null ? void 0 : G.find(({
|
|
31335
|
+
slId: J
|
|
31336
|
+
}) => J === ne)) == null ? void 0 : ee.name : "";
|
|
31337
31337
|
}, [D.data, p]);
|
|
31338
31338
|
return St(() => {
|
|
31339
|
-
const
|
|
31340
|
-
|
|
31339
|
+
const G = n.$store.subscribe((ee) => {
|
|
31340
|
+
ee && z(ee.data);
|
|
31341
31341
|
});
|
|
31342
31342
|
return () => {
|
|
31343
|
-
|
|
31343
|
+
G();
|
|
31344
31344
|
};
|
|
31345
31345
|
}, [n.$store]), /* @__PURE__ */ I(IG, {
|
|
31346
31346
|
children: /* @__PURE__ */ I(gG, {
|
|
@@ -31362,13 +31362,13 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31362
31362
|
termsText: (w = r.rules) == null ? void 0 : w.terms,
|
|
31363
31363
|
steps: E9,
|
|
31364
31364
|
primaryColor: (C = r.inviteCard) == null ? void 0 : C.iconColor,
|
|
31365
|
-
inviteLink:
|
|
31365
|
+
inviteLink: B,
|
|
31366
31366
|
inviteCardTitle: (R = r.inviteCard) == null ? void 0 : R.heading,
|
|
31367
31367
|
inviteCardSubtext: (L = r.inviteCard) == null ? void 0 : L.subtext,
|
|
31368
31368
|
inviteCardBtnLabel: (A = r.inviteCard) == null ? void 0 : A.buttonLabel,
|
|
31369
31369
|
onClose: () => {
|
|
31370
|
-
var
|
|
31371
|
-
(
|
|
31370
|
+
var G;
|
|
31371
|
+
(G = s.close) == null || G.call(s);
|
|
31372
31372
|
},
|
|
31373
31373
|
gamification: c,
|
|
31374
31374
|
sdk: p,
|
|
@@ -31397,10 +31397,10 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31397
31397
|
s(((W = b.current) == null ? void 0 : W.getBoundingClientRect().height) || 0);
|
|
31398
31398
|
}, [s]);
|
|
31399
31399
|
const {
|
|
31400
|
-
loading:
|
|
31401
|
-
throttled:
|
|
31400
|
+
loading: B,
|
|
31401
|
+
throttled: z
|
|
31402
31402
|
} = _H(A);
|
|
31403
|
-
return C && L && w && u.current && !
|
|
31403
|
+
return C && L && w && u.current && !z ? /* @__PURE__ */ I(nE, {
|
|
31404
31404
|
container: u,
|
|
31405
31405
|
useContainer: !f,
|
|
31406
31406
|
children: /* @__PURE__ */ I(AG, {
|
|
@@ -31409,7 +31409,7 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31409
31409
|
gamification: L,
|
|
31410
31410
|
onboardingOpts: w,
|
|
31411
31411
|
deepLink: L.deepLink,
|
|
31412
|
-
loading:
|
|
31412
|
+
loading: B,
|
|
31413
31413
|
renderToNode: u,
|
|
31414
31414
|
sdk: n
|
|
31415
31415
|
})
|
|
@@ -31626,8 +31626,8 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31626
31626
|
});
|
|
31627
31627
|
}, YG = (n) => {
|
|
31628
31628
|
const r = vn(""), [s, c] = Et(!1), u = Kt(n.status), f = Kt(n.sdkStore.slStreamId), p = Kt(n.userId()), T = Kt(n.getActiveFeature()), b = u === "ready" && !!f.data, [w, C] = Et(yc), R = ta(
|
|
31629
|
-
(D,
|
|
31630
|
-
C(
|
|
31629
|
+
(D, B) => {
|
|
31630
|
+
C(B), D && n.createEventSession(D), B === yc ? window.requestAnimationFrame(() => {
|
|
31631
31631
|
n.openFeature(vt.GAMES);
|
|
31632
31632
|
}) : n.closeFeature(!1);
|
|
31633
31633
|
},
|
|
@@ -31641,12 +31641,12 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31641
31641
|
D && (D.closeQuestion(), D.closeUser());
|
|
31642
31642
|
}, [T, n]);
|
|
31643
31643
|
const L = (D) => {
|
|
31644
|
-
r.current = D, c(!0), n.initializeApp({ skipOrganizationSettings: !0 }).then(({ enabled:
|
|
31645
|
-
if (
|
|
31644
|
+
r.current = D, c(!0), n.initializeApp({ skipOrganizationSettings: !0 }).then(({ enabled: B, err: z }) => {
|
|
31645
|
+
if (z) {
|
|
31646
31646
|
R(D, Xi);
|
|
31647
31647
|
return;
|
|
31648
31648
|
}
|
|
31649
|
-
if (
|
|
31649
|
+
if (B) {
|
|
31650
31650
|
n.isUserAuthorized().then((W) => {
|
|
31651
31651
|
if (W) {
|
|
31652
31652
|
R(D, Xi);
|
|
@@ -31776,10 +31776,10 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31776
31776
|
listener: qD,
|
|
31777
31777
|
useDomNode: !0
|
|
31778
31778
|
});
|
|
31779
|
-
const
|
|
31779
|
+
const B = Sr(() => ({ sdk: n }), [n]);
|
|
31780
31780
|
return St(() => {
|
|
31781
31781
|
import("./gamification-feature.js");
|
|
31782
|
-
}, []), /* @__PURE__ */ I(rE.Provider, { value:
|
|
31782
|
+
}, []), /* @__PURE__ */ I(rE.Provider, { value: B, children: /* @__PURE__ */ re(rU, { ref: c, children: [
|
|
31783
31783
|
b && /* @__PURE__ */ I(
|
|
31784
31784
|
wq,
|
|
31785
31785
|
{
|
|
@@ -31787,10 +31787,10 @@ const Eq = /* @__PURE__ */ P("div")({
|
|
|
31787
31787
|
sdkReady: w,
|
|
31788
31788
|
activeOverlay: C,
|
|
31789
31789
|
className: Wg,
|
|
31790
|
-
setActiveOverlay: (
|
|
31790
|
+
setActiveOverlay: (z) => R("", z),
|
|
31791
31791
|
scrollToTop: () => {
|
|
31792
|
-
var
|
|
31793
|
-
return (
|
|
31792
|
+
var z;
|
|
31793
|
+
return (z = p.current) == null ? void 0 : z.scrollTo(0, 0);
|
|
31794
31794
|
},
|
|
31795
31795
|
responsiveStore: f
|
|
31796
31796
|
}
|
|
@@ -31992,17 +31992,17 @@ var rj = function(n) {
|
|
|
31992
31992
|
};
|
|
31993
31993
|
}
|
|
31994
31994
|
function T(A, D) {
|
|
31995
|
-
c[A] && (u[A] = function(
|
|
31996
|
-
return new Promise(function(
|
|
31997
|
-
f.push([A,
|
|
31995
|
+
c[A] && (u[A] = function(B) {
|
|
31996
|
+
return new Promise(function(z, W) {
|
|
31997
|
+
f.push([A, B, z, W]) > 1 || b(A, B);
|
|
31998
31998
|
});
|
|
31999
31999
|
}, D && (u[A] = D(u[A])));
|
|
32000
32000
|
}
|
|
32001
32001
|
function b(A, D) {
|
|
32002
32002
|
try {
|
|
32003
32003
|
w(c[A](D));
|
|
32004
|
-
} catch (
|
|
32005
|
-
L(f[0][3],
|
|
32004
|
+
} catch (B) {
|
|
32005
|
+
L(f[0][3], B);
|
|
32006
32006
|
}
|
|
32007
32007
|
}
|
|
32008
32008
|
function w(A) {
|
|
@@ -32081,17 +32081,17 @@ var CE = function(n) {
|
|
|
32081
32081
|
};
|
|
32082
32082
|
}
|
|
32083
32083
|
function T(A, D) {
|
|
32084
|
-
c[A] && (u[A] = function(
|
|
32085
|
-
return new Promise(function(
|
|
32086
|
-
f.push([A,
|
|
32084
|
+
c[A] && (u[A] = function(B) {
|
|
32085
|
+
return new Promise(function(z, W) {
|
|
32086
|
+
f.push([A, B, z, W]) > 1 || b(A, B);
|
|
32087
32087
|
});
|
|
32088
32088
|
}, D && (u[A] = D(u[A])));
|
|
32089
32089
|
}
|
|
32090
32090
|
function b(A, D) {
|
|
32091
32091
|
try {
|
|
32092
32092
|
w(c[A](D));
|
|
32093
|
-
} catch (
|
|
32094
|
-
L(f[0][3],
|
|
32093
|
+
} catch (B) {
|
|
32094
|
+
L(f[0][3], B);
|
|
32095
32095
|
}
|
|
32096
32096
|
}
|
|
32097
32097
|
function w(A) {
|
|
@@ -32142,10 +32142,10 @@ function mj(n, r, s) {
|
|
|
32142
32142
|
(w = u == null ? void 0 : u.onHeader) === null || w === void 0 || w.call(u, R.header);
|
|
32143
32143
|
let L;
|
|
32144
32144
|
try {
|
|
32145
|
-
for (var A = !0, D = CE(R.message),
|
|
32146
|
-
b =
|
|
32147
|
-
} catch (
|
|
32148
|
-
p = { error:
|
|
32145
|
+
for (var A = !0, D = CE(R.message), B; B = await D.next(), f = B.done, !f; A = !0)
|
|
32146
|
+
b = B.value, A = !1, L = b;
|
|
32147
|
+
} catch (z) {
|
|
32148
|
+
p = { error: z };
|
|
32149
32149
|
} finally {
|
|
32150
32150
|
try {
|
|
32151
32151
|
!A && !f && (T = D.return) && await T.call(D);
|
|
@@ -32487,17 +32487,17 @@ var Ku = function(n) {
|
|
|
32487
32487
|
};
|
|
32488
32488
|
}
|
|
32489
32489
|
function T(A, D) {
|
|
32490
|
-
c[A] && (u[A] = function(
|
|
32491
|
-
return new Promise(function(
|
|
32492
|
-
f.push([A,
|
|
32490
|
+
c[A] && (u[A] = function(B) {
|
|
32491
|
+
return new Promise(function(z, W) {
|
|
32492
|
+
f.push([A, B, z, W]) > 1 || b(A, B);
|
|
32493
32493
|
});
|
|
32494
32494
|
}, D && (u[A] = D(u[A])));
|
|
32495
32495
|
}
|
|
32496
32496
|
function b(A, D) {
|
|
32497
32497
|
try {
|
|
32498
32498
|
w(c[A](D));
|
|
32499
|
-
} catch (
|
|
32500
|
-
L(f[0][3],
|
|
32499
|
+
} catch (B) {
|
|
32500
|
+
L(f[0][3], B);
|
|
32501
32501
|
}
|
|
32502
32502
|
}
|
|
32503
32503
|
function w(A) {
|
|
@@ -32542,37 +32542,37 @@ function qb(n) {
|
|
|
32542
32542
|
},
|
|
32543
32543
|
next: async (A) => {
|
|
32544
32544
|
var D;
|
|
32545
|
-
const
|
|
32546
|
-
if ($b(
|
|
32545
|
+
const z = await ((D = n.fetch) !== null && D !== void 0 ? D : globalThis.fetch)(A.url, Object.assign(Object.assign({}, A.init), { headers: A.header, signal: A.signal, body: Ob(0, R(A.message)) }));
|
|
32546
|
+
if ($b(z.status, z.headers), !z.body)
|
|
32547
32547
|
throw "missing response body";
|
|
32548
|
-
const W = Ab(
|
|
32549
|
-
let
|
|
32548
|
+
const W = Ab(z.body).getReader();
|
|
32549
|
+
let G, ee;
|
|
32550
32550
|
for (; ; ) {
|
|
32551
|
-
const
|
|
32552
|
-
if (
|
|
32551
|
+
const ne = await W.read();
|
|
32552
|
+
if (ne.done)
|
|
32553
32553
|
break;
|
|
32554
|
-
const { flags:
|
|
32555
|
-
if (
|
|
32556
|
-
if (
|
|
32554
|
+
const { flags: J, data: de } = ne.value;
|
|
32555
|
+
if (J === B8) {
|
|
32556
|
+
if (G !== void 0)
|
|
32557
32557
|
throw "extra trailer";
|
|
32558
|
-
|
|
32558
|
+
G = xb(de);
|
|
32559
32559
|
continue;
|
|
32560
32560
|
}
|
|
32561
|
-
if (
|
|
32561
|
+
if (ee !== void 0)
|
|
32562
32562
|
throw "extra message";
|
|
32563
|
-
|
|
32563
|
+
ee = L(de);
|
|
32564
32564
|
}
|
|
32565
|
-
if (
|
|
32565
|
+
if (G === void 0)
|
|
32566
32566
|
throw "missing trailer";
|
|
32567
|
-
if (Bb(
|
|
32567
|
+
if (Bb(G, z.headers), ee === void 0)
|
|
32568
32568
|
throw "missing message";
|
|
32569
32569
|
return {
|
|
32570
32570
|
stream: !1,
|
|
32571
32571
|
service: c,
|
|
32572
32572
|
method: u,
|
|
32573
|
-
header:
|
|
32574
|
-
message:
|
|
32575
|
-
trailer:
|
|
32573
|
+
header: z.headers,
|
|
32574
|
+
message: ee,
|
|
32575
|
+
trailer: G
|
|
32576
32576
|
};
|
|
32577
32577
|
}
|
|
32578
32578
|
});
|
|
@@ -32580,43 +32580,43 @@ function qb(n) {
|
|
|
32580
32580
|
async stream(c, u, f, p, T, b, w) {
|
|
32581
32581
|
var C;
|
|
32582
32582
|
const { serialize: R, parse: L } = Ub(u, s, n.jsonOptions, n.binaryOptions);
|
|
32583
|
-
function A(
|
|
32583
|
+
function A(B, z, W, G) {
|
|
32584
32584
|
return Aj(this, arguments, function* () {
|
|
32585
|
-
const
|
|
32586
|
-
if (
|
|
32587
|
-
if (!(yield Ku(
|
|
32585
|
+
const ne = Ab(B).getReader();
|
|
32586
|
+
if (z) {
|
|
32587
|
+
if (!(yield Ku(ne.read())).done)
|
|
32588
32588
|
throw "extra data for trailers-only";
|
|
32589
32589
|
return yield Ku(void 0);
|
|
32590
32590
|
}
|
|
32591
|
-
let
|
|
32591
|
+
let J = !1;
|
|
32592
32592
|
for (; ; ) {
|
|
32593
|
-
const de = yield Ku(
|
|
32593
|
+
const de = yield Ku(ne.read());
|
|
32594
32594
|
if (de.done)
|
|
32595
32595
|
break;
|
|
32596
32596
|
const { flags: se, data: Re } = de.value;
|
|
32597
32597
|
if ((se & B8) === B8) {
|
|
32598
|
-
if (
|
|
32598
|
+
if (J)
|
|
32599
32599
|
throw "extra trailer";
|
|
32600
|
-
|
|
32600
|
+
J = !0;
|
|
32601
32601
|
const Ce = xb(Re);
|
|
32602
|
-
Bb(Ce,
|
|
32602
|
+
Bb(Ce, G), Ce.forEach((We, qe) => W.set(qe, We));
|
|
32603
32603
|
continue;
|
|
32604
32604
|
}
|
|
32605
|
-
if (
|
|
32605
|
+
if (J)
|
|
32606
32606
|
throw "extra message";
|
|
32607
32607
|
yield yield Ku(L(Re));
|
|
32608
32608
|
}
|
|
32609
|
-
if (!
|
|
32609
|
+
if (!J)
|
|
32610
32610
|
throw "missing trailer";
|
|
32611
32611
|
});
|
|
32612
32612
|
}
|
|
32613
|
-
async function D(
|
|
32613
|
+
async function D(B) {
|
|
32614
32614
|
if (u.kind != Be.ServerStreaming)
|
|
32615
32615
|
throw "The fetch API does not support streaming request bodies";
|
|
32616
|
-
const
|
|
32617
|
-
if (
|
|
32616
|
+
const z = await B[Symbol.asyncIterator]().next();
|
|
32617
|
+
if (z.done == !0)
|
|
32618
32618
|
throw "missing request message";
|
|
32619
|
-
return Ob(0, R(
|
|
32619
|
+
return Ob(0, R(z.value));
|
|
32620
32620
|
}
|
|
32621
32621
|
return p = p === void 0 ? n.defaultTimeoutMs : p <= 0 ? void 0 : p, Ij({
|
|
32622
32622
|
interceptors: n.interceptors,
|
|
@@ -32637,13 +32637,13 @@ function qb(n) {
|
|
|
32637
32637
|
contextValues: w ?? _9(),
|
|
32638
32638
|
message: b
|
|
32639
32639
|
},
|
|
32640
|
-
next: async (
|
|
32641
|
-
var
|
|
32642
|
-
const
|
|
32643
|
-
if (!
|
|
32640
|
+
next: async (B) => {
|
|
32641
|
+
var z;
|
|
32642
|
+
const G = await ((z = n.fetch) !== null && z !== void 0 ? z : globalThis.fetch)(B.url, Object.assign(Object.assign({}, B.init), { headers: B.header, signal: B.signal, body: await D(B.message) })), { foundStatus: ee } = $b(G.status, G.headers);
|
|
32643
|
+
if (!G.body)
|
|
32644
32644
|
throw "missing response body";
|
|
32645
|
-
const
|
|
32646
|
-
return Object.assign(Object.assign({},
|
|
32645
|
+
const ne = new Headers();
|
|
32646
|
+
return Object.assign(Object.assign({}, B), { header: G.headers, trailer: ne, message: A(G.body, ee, ne, G.headers) });
|
|
32647
32647
|
}
|
|
32648
32648
|
});
|
|
32649
32649
|
}
|
|
@@ -32676,67 +32676,67 @@ const Hb = ({
|
|
|
32676
32676
|
}), Yb("online", () => c.emit(Wb));
|
|
32677
32677
|
const f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map();
|
|
32678
32678
|
let b = {};
|
|
32679
|
-
const w = async ([W,
|
|
32679
|
+
const w = async ([W, G], ee, ne, J) => {
|
|
32680
32680
|
var de;
|
|
32681
32681
|
if (!u)
|
|
32682
32682
|
return;
|
|
32683
32683
|
const se = (_e) => {
|
|
32684
|
-
|
|
32684
|
+
ee.key === W && (ee.set(_e), c.emit(z8, W, _e, !0));
|
|
32685
32685
|
}, Re = () => {
|
|
32686
32686
|
se({
|
|
32687
|
-
...
|
|
32687
|
+
...ee.value,
|
|
32688
32688
|
...Zb,
|
|
32689
32689
|
promise: T.get(W)
|
|
32690
32690
|
});
|
|
32691
32691
|
}, { dedupeTime: Ce = 4e3, fetcher: We } = {
|
|
32692
|
-
...
|
|
32692
|
+
...ne,
|
|
32693
32693
|
...b
|
|
32694
32694
|
}, qe = Kb();
|
|
32695
32695
|
if (T.has(W)) {
|
|
32696
|
-
|
|
32696
|
+
ee.value.loading || Re();
|
|
32697
32697
|
return;
|
|
32698
32698
|
}
|
|
32699
|
-
if (!
|
|
32699
|
+
if (!J) {
|
|
32700
32700
|
const _e = n.get(W);
|
|
32701
|
-
_e &&
|
|
32701
|
+
_e && ee.value.data !== _e && se({ data: _e, ...gc });
|
|
32702
32702
|
const Ze = p.get(W);
|
|
32703
32703
|
if (Ze && Ze + Ce > qe)
|
|
32704
32704
|
return;
|
|
32705
32705
|
}
|
|
32706
32706
|
const je = DA();
|
|
32707
32707
|
try {
|
|
32708
|
-
const _e = We(...
|
|
32708
|
+
const _e = We(...G);
|
|
32709
32709
|
p.set(W, qe), T.set(W, _e), Re();
|
|
32710
32710
|
const Ze = await _e;
|
|
32711
32711
|
n.set(W, Ze), se({ data: Ze, ...gc }), p.set(W, Kb());
|
|
32712
32712
|
} catch (_e) {
|
|
32713
|
-
(de =
|
|
32713
|
+
(de = ne.onError) == null || de.call(ne, _e), se({ data: ee.value.data, error: _e, ...gc });
|
|
32714
32714
|
} finally {
|
|
32715
32715
|
je(), T.delete(W);
|
|
32716
32716
|
}
|
|
32717
32717
|
}, C = (W, {
|
|
32718
|
-
fetcher:
|
|
32719
|
-
...
|
|
32718
|
+
fetcher: G = r,
|
|
32719
|
+
...ee
|
|
32720
32720
|
} = {}) => {
|
|
32721
|
-
const
|
|
32721
|
+
const ne = u9({
|
|
32722
32722
|
...gc
|
|
32723
|
-
}),
|
|
32724
|
-
|
|
32725
|
-
const { key: Ze } =
|
|
32723
|
+
}), J = { ...s, ...ee, fetcher: G };
|
|
32724
|
+
ne._ = PE, ne.invalidate = () => {
|
|
32725
|
+
const { key: Ze } = ne;
|
|
32726
32726
|
Ze && A(Ze);
|
|
32727
|
-
},
|
|
32728
|
-
const { key: pt } =
|
|
32727
|
+
}, ne.mutate = (Ze) => {
|
|
32728
|
+
const { key: pt } = ne;
|
|
32729
32729
|
pt && D(pt, Ze);
|
|
32730
32730
|
};
|
|
32731
32731
|
let de, se, Re, Ce, We, qe = [];
|
|
32732
|
-
BA(
|
|
32732
|
+
BA(ne, () => {
|
|
32733
32733
|
const Ze = !de;
|
|
32734
32734
|
[We, de] = Mj(W), Ce = We.subscribe((be) => {
|
|
32735
32735
|
if (be) {
|
|
32736
32736
|
const [lt, V] = be;
|
|
32737
|
-
|
|
32737
|
+
ne.key = lt, w([lt, V], ne, J), se = lt, Re = V;
|
|
32738
32738
|
} else
|
|
32739
|
-
|
|
32739
|
+
ne.key = se = Re = void 0, ne.set({ ...gc });
|
|
32740
32740
|
});
|
|
32741
32741
|
const pt = We.get();
|
|
32742
32742
|
pt && ([se, Re] = pt, Ze && je());
|
|
@@ -32744,57 +32744,57 @@ const Hb = ({
|
|
|
32744
32744
|
refetchInterval: Nt = 0,
|
|
32745
32745
|
refetchOnFocus: na,
|
|
32746
32746
|
refetchOnReconnect: Te
|
|
32747
|
-
} =
|
|
32748
|
-
se && w([se, Re],
|
|
32747
|
+
} = J, xe = () => {
|
|
32748
|
+
se && w([se, Re], ne, J);
|
|
32749
32749
|
};
|
|
32750
32750
|
Nt > 0 && f.set(
|
|
32751
32751
|
W,
|
|
32752
32752
|
setInterval(xe, Nt)
|
|
32753
32753
|
), na && qe.push(c.on(jb, xe)), Te && qe.push(c.on(Wb, xe)), qe.push(
|
|
32754
32754
|
c.on(Qb, (be) => {
|
|
32755
|
-
se && $8(se, be) && w([se, Re],
|
|
32755
|
+
se && $8(se, be) && w([se, Re], ne, J, !0);
|
|
32756
32756
|
}),
|
|
32757
32757
|
c.on(z8, (be, lt, V) => {
|
|
32758
|
-
se && $8(se, be) &&
|
|
32758
|
+
se && $8(se, be) && ne.value !== lt && ne.value.data !== lt && ne.set(
|
|
32759
32759
|
V ? lt : { data: lt, ...gc }
|
|
32760
32760
|
);
|
|
32761
32761
|
})
|
|
32762
32762
|
);
|
|
32763
32763
|
});
|
|
32764
32764
|
const je = () => {
|
|
32765
|
-
se && Re && w([se, Re],
|
|
32766
|
-
}, _e =
|
|
32767
|
-
return
|
|
32765
|
+
se && Re && w([se, Re], ne, J);
|
|
32766
|
+
}, _e = ne.listen;
|
|
32767
|
+
return ne.listen = (Ze) => {
|
|
32768
32768
|
const pt = _e(Ze);
|
|
32769
|
-
return Ze(
|
|
32770
|
-
}, zA(
|
|
32771
|
-
|
|
32772
|
-
}),
|
|
32769
|
+
return Ze(ne.value), je(), pt;
|
|
32770
|
+
}, zA(ne, () => {
|
|
32771
|
+
ne.value = { ...gc }, de == null || de(), qe.forEach((Ze) => Ze()), qe = [], Ce == null || Ce(), clearInterval(f.get(W));
|
|
32772
|
+
}), ne;
|
|
32773
32773
|
}, R = (W) => {
|
|
32774
32774
|
n.delete(W), p.delete(W);
|
|
32775
|
-
}, L = (W,
|
|
32776
|
-
for (const
|
|
32777
|
-
$8(
|
|
32775
|
+
}, L = (W, G) => {
|
|
32776
|
+
for (const ee of n.keys())
|
|
32777
|
+
$8(ee, W) && G(ee);
|
|
32778
32778
|
}, A = (W) => {
|
|
32779
32779
|
L(W, R), c.emit(Qb, W);
|
|
32780
|
-
}, D = (W,
|
|
32781
|
-
L(W, (
|
|
32782
|
-
|
|
32783
|
-
}), c.emit(z8, W,
|
|
32780
|
+
}, D = (W, G) => {
|
|
32781
|
+
L(W, (ee) => {
|
|
32782
|
+
G === void 0 ? R(ee) : n.set(ee, G);
|
|
32783
|
+
}), c.emit(z8, W, G);
|
|
32784
32784
|
};
|
|
32785
|
-
function
|
|
32786
|
-
const
|
|
32787
|
-
var
|
|
32785
|
+
function B(W) {
|
|
32786
|
+
const G = async (ne) => {
|
|
32787
|
+
var J;
|
|
32788
32788
|
const de = b.fetcher ?? W, se = [];
|
|
32789
32789
|
try {
|
|
32790
|
-
|
|
32790
|
+
ee.set({
|
|
32791
32791
|
error: void 0,
|
|
32792
32792
|
data: void 0,
|
|
32793
|
-
mutate:
|
|
32793
|
+
mutate: G,
|
|
32794
32794
|
...Zb
|
|
32795
32795
|
});
|
|
32796
32796
|
const Re = await de({
|
|
32797
|
-
data:
|
|
32797
|
+
data: ne,
|
|
32798
32798
|
invalidate: (Ce) => {
|
|
32799
32799
|
se.push(Ce);
|
|
32800
32800
|
},
|
|
@@ -32805,21 +32805,21 @@ const Hb = ({
|
|
|
32805
32805
|
n.get(Ce)
|
|
32806
32806
|
]
|
|
32807
32807
|
});
|
|
32808
|
-
return
|
|
32808
|
+
return ee.setKey("data", Re), Re;
|
|
32809
32809
|
} catch (Re) {
|
|
32810
|
-
(
|
|
32810
|
+
(J = s == null ? void 0 : s.onError) == null || J.call(s, Re), ee.setKey("error", Re);
|
|
32811
32811
|
} finally {
|
|
32812
|
-
|
|
32812
|
+
ee.setKey("loading", !1), se.forEach(A);
|
|
32813
32813
|
}
|
|
32814
|
-
},
|
|
32815
|
-
mutate:
|
|
32814
|
+
}, ee = u9({
|
|
32815
|
+
mutate: G,
|
|
32816
32816
|
...gc
|
|
32817
32817
|
});
|
|
32818
|
-
return
|
|
32818
|
+
return ee.mutate = G, ee;
|
|
32819
32819
|
}
|
|
32820
32820
|
return [
|
|
32821
32821
|
C,
|
|
32822
|
-
|
|
32822
|
+
B,
|
|
32823
32823
|
{ __unsafeOverruleSettings: (W) => {
|
|
32824
32824
|
console.warn(
|
|
32825
32825
|
"You should only use __unsafeOverruleSettings in test environment"
|
|
@@ -41263,23 +41263,23 @@ const NJ = {
|
|
|
41263
41263
|
error: void 0
|
|
41264
41264
|
}), b = fJ(n), w = async () => {
|
|
41265
41265
|
var D;
|
|
41266
|
-
const L = r.get(), A = ((D = c.getStore().get().data) == null ? void 0 : D.map((
|
|
41266
|
+
const L = r.get(), A = ((D = c.getStore().get().data) == null ? void 0 : D.map((B) => B.slId)) || [];
|
|
41267
41267
|
if (L && (A != null && A.length)) {
|
|
41268
|
-
const
|
|
41269
|
-
|
|
41270
|
-
const
|
|
41268
|
+
const B = s.get();
|
|
41269
|
+
B && A.push(B), T.setKey("loading", !0), T.setKey("data", []);
|
|
41270
|
+
const z = await b({
|
|
41271
41271
|
eventId: L,
|
|
41272
41272
|
usersIds: A
|
|
41273
41273
|
});
|
|
41274
41274
|
T.set({
|
|
41275
|
-
data:
|
|
41275
|
+
data: z.data.map((W, G) => ({
|
|
41276
41276
|
...W.attributes,
|
|
41277
|
-
friendsRank:
|
|
41277
|
+
friendsRank: G + 1
|
|
41278
41278
|
})),
|
|
41279
41279
|
hasMore: !1,
|
|
41280
41280
|
key: Date.now(),
|
|
41281
41281
|
loading: !1
|
|
41282
|
-
}),
|
|
41282
|
+
}), z.meta && (f = Math.round(z.meta.count / z.meta.pageSize));
|
|
41283
41283
|
}
|
|
41284
41284
|
}, C = () => {
|
|
41285
41285
|
w();
|
|
@@ -41580,9 +41580,9 @@ const n0 = new fm(), FJ = (n, r, s) => {
|
|
|
41580
41580
|
};
|
|
41581
41581
|
if (!T && b) {
|
|
41582
41582
|
u.setKey("loading", !0);
|
|
41583
|
-
let D = window.location.search,
|
|
41584
|
-
D &&
|
|
41585
|
-
const
|
|
41583
|
+
let D = window.location.search, B = window.location.hash;
|
|
41584
|
+
D && B || B ? D = `?${wS(D, L)}` : B = `#${wS("", L)}`;
|
|
41585
|
+
const z = window.location.origin + window.location.pathname + D + B, W = await $J(n, { web: z, mobile: b });
|
|
41586
41586
|
u.set({
|
|
41587
41587
|
data: (A = W.data) == null ? void 0 : A.link,
|
|
41588
41588
|
loading: !1
|
|
@@ -41674,16 +41674,16 @@ const HJ = (n, r, s, c) => {
|
|
|
41674
41674
|
} };
|
|
41675
41675
|
}, jJ = (n, r, s, c) => {
|
|
41676
41676
|
const u = oi(void 0), f = XE(c), p = async () => {
|
|
41677
|
-
var
|
|
41678
|
-
const b = n.get(), w = r.get(), C = (
|
|
41677
|
+
var A, D;
|
|
41678
|
+
const b = n.get(), w = r.get(), C = (A = s.getStore().get().data) == null ? void 0 : A.map((B) => B.slId);
|
|
41679
41679
|
if (!C)
|
|
41680
41680
|
return;
|
|
41681
41681
|
const R = {
|
|
41682
41682
|
eventId: b,
|
|
41683
41683
|
userId: w,
|
|
41684
41684
|
usersIds: [...C, w]
|
|
41685
|
-
}, L = await f(R)
|
|
41686
|
-
|
|
41685
|
+
}, L = await f(R);
|
|
41686
|
+
u.set((D = L.data) == null ? void 0 : D.attributes);
|
|
41687
41687
|
}, T = () => {
|
|
41688
41688
|
p();
|
|
41689
41689
|
};
|
|
@@ -41744,7 +41744,7 @@ class YJ extends JE {
|
|
|
41744
41744
|
});
|
|
41745
41745
|
U(this, "connect", () => {
|
|
41746
41746
|
this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-prediction-close", async (s) => {
|
|
41747
|
-
var w, C, R, L, A, D,
|
|
41747
|
+
var w, C, R, L, A, D, B, z, W, G, ee;
|
|
41748
41748
|
if (!this.isInteractiveAllowed)
|
|
41749
41749
|
return;
|
|
41750
41750
|
const c = (C = (w = s.data) == null ? void 0 : w.attributes) == null ? void 0 : C.question, u = (L = (R = s.data) == null ? void 0 : R.attributes) == null ? void 0 : L.feedItem;
|
|
@@ -41752,33 +41752,33 @@ class YJ extends JE {
|
|
|
41752
41752
|
return;
|
|
41753
41753
|
const { status: f, type: p, id: T, answers: b } = c;
|
|
41754
41754
|
if (f === Mn.RESOLVED && p === Se.PREDICTION) {
|
|
41755
|
-
const
|
|
41755
|
+
const ne = this.background.getCurrentSessionId({
|
|
41756
41756
|
prefix: `notification-id:${T}`
|
|
41757
|
-
}),
|
|
41758
|
-
let Re = (
|
|
41757
|
+
}), J = [...this.feedList.getValues().data || []], de = J.findIndex((pt) => pt.id === T), se = J[de];
|
|
41758
|
+
let Re = (B = (D = (A = se == null ? void 0 : se.attributes) == null ? void 0 : A.attributes) == null ? void 0 : D.value) == null ? void 0 : B.answerId;
|
|
41759
41759
|
const Ce = L9(T, this.transport), We = Ce.subscribe(() => {
|
|
41760
41760
|
});
|
|
41761
41761
|
await Ce.get().promise;
|
|
41762
41762
|
const qe = Ce.get().data;
|
|
41763
41763
|
We(), window.requestAnimationFrame(() => {
|
|
41764
41764
|
Ce.invalidate();
|
|
41765
|
-
}), Re || (Re = (
|
|
41765
|
+
}), Re || (Re = (z = qe == null ? void 0 : qe.answers.find(({ youVoted: pt }) => pt)) == null ? void 0 : z.id);
|
|
41766
41766
|
const je = b.find(({ correct: pt }) => pt), _e = Re ? b.find(({ id: pt }) => pt === Re) : void 0, Ze = !!(_e != null && _e.correct);
|
|
41767
|
-
if (se && ((
|
|
41767
|
+
if (se && ((G = (W = J[de]) == null ? void 0 : W.attributes) == null ? void 0 : G.attributes.case) === "question") {
|
|
41768
41768
|
try {
|
|
41769
|
-
|
|
41769
|
+
J[de].attributes.attributes.value.answerId = Re, J[de].attributes.attributes.value.openForVoting = !1, Re && (J[de].attributes.attributes.value.status = Ze ? ol.WON : ol.LOST);
|
|
41770
41770
|
} catch {
|
|
41771
41771
|
}
|
|
41772
|
-
this.feedList.getStore().mutate(
|
|
41772
|
+
this.feedList.getStore().mutate(J);
|
|
41773
41773
|
}
|
|
41774
41774
|
if (!_e || !je)
|
|
41775
41775
|
return;
|
|
41776
|
-
((
|
|
41776
|
+
((ee = this.openedQuestionId.get()) == null ? void 0 : ee.questionId) !== c.id && this.notifications.add({
|
|
41777
41777
|
type: vc.QUESTION_RESOLVED,
|
|
41778
41778
|
action: () => this.openQuestion(c.id, u),
|
|
41779
41779
|
close: () => this.closeQuestion(T),
|
|
41780
41780
|
autoHideDuration: Ze ? 15e3 : 12e3,
|
|
41781
|
-
id:
|
|
41781
|
+
id: ne,
|
|
41782
41782
|
emitEvent: !1,
|
|
41783
41783
|
data: {
|
|
41784
41784
|
questionId: T,
|
|
@@ -41878,10 +41878,10 @@ class YJ extends JE {
|
|
|
41878
41878
|
});
|
|
41879
41879
|
const A = u.get().data;
|
|
41880
41880
|
if (f(), A) {
|
|
41881
|
-
const D = A.answers.find((
|
|
41882
|
-
b[w].attributes.attributes.value.answerId = c, b[w].attributes.attributes.value.openForVoting = !1, b[w].attributes.attributes.value.text = (
|
|
41883
|
-
|
|
41884
|
-
}), (D == null ? void 0 : D.id) === c && (A.answers[
|
|
41881
|
+
const D = A.answers.find((G) => G.correct === !0), B = A.answers.findIndex((G) => G.id === c), z = A.answers[B], W = A.answers.every(({ percentageDecimal: G }, ee) => G === (p == null ? void 0 : p.answers[ee].percentageDecimal));
|
|
41882
|
+
b[w].attributes.attributes.value.answerId = c, b[w].attributes.attributes.value.openForVoting = !1, b[w].attributes.attributes.value.text = (z == null ? void 0 : z.text) || "", D && (b[w].attributes.attributes.value.status = D.id === c ? ol.WON : ol.LOST), this.feedList.getStore().mutate([...b]), A.answers[B].correct = (D == null ? void 0 : D.id) === c, A.answers[B].youVoted = !0, W && A.answers.forEach((G) => {
|
|
41883
|
+
G.percentageDecimal = 0;
|
|
41884
|
+
}), (D == null ? void 0 : D.id) === c && (A.answers[B].pointsEarned = A.status === Mn.RESOLVED ? 0 : D.points), u.mutate({ ...A });
|
|
41885
41885
|
}
|
|
41886
41886
|
this.submitAnswerTimeout && clearTimeout(this.submitAnswerTimeout), this.submitAnswerTimeout = setTimeout(() => {
|
|
41887
41887
|
this.userSummary.invalidate();
|
|
@@ -41952,19 +41952,19 @@ class YJ extends JE {
|
|
|
41952
41952
|
* skipping questions with inAppSilence === ON
|
|
41953
41953
|
*/
|
|
41954
41954
|
U(this, "showInApp", (s) => {
|
|
41955
|
-
var u, f, p, T, b, w, C, R, L, A, D,
|
|
41955
|
+
var u, f, p, T, b, w, C, R, L, A, D, B, z, W;
|
|
41956
41956
|
const c = this.onboardingStatus.$store.get();
|
|
41957
41957
|
if (s && s.data && c && c !== Sa.Unset && ((u = s.data.question) == null ? void 0 : u.id) !== void 0 && s.data.question.notification !== void 0 && ((p = (f = s.data.question) == null ? void 0 : f.bypassNotifications) == null ? void 0 : p.inAppSilence) !== _w.ON && s.data.question.status === Mn.ACTIVE && !s.data.question.marketClosed) {
|
|
41958
41958
|
if (QJ.has(s.data.question.type))
|
|
41959
41959
|
this.isInteractiveAllowed && this.notifications.add({
|
|
41960
41960
|
type: vc.QUESTION,
|
|
41961
41961
|
action: () => {
|
|
41962
|
-
var
|
|
41963
|
-
return this.openQuestion((
|
|
41962
|
+
var G, ee, ne;
|
|
41963
|
+
return this.openQuestion((ee = (G = s.data) == null ? void 0 : G.question) == null ? void 0 : ee.id, (ne = s.data) == null ? void 0 : ne.feedItem);
|
|
41964
41964
|
},
|
|
41965
41965
|
close: () => {
|
|
41966
|
-
var
|
|
41967
|
-
return this.closeQuestion((
|
|
41966
|
+
var G, ee;
|
|
41967
|
+
return this.closeQuestion((ee = (G = s.data) == null ? void 0 : G.question) == null ? void 0 : ee.id);
|
|
41968
41968
|
},
|
|
41969
41969
|
autoHideDuration: 1e3 * 60,
|
|
41970
41970
|
id: this.background.getCurrentSessionId({
|
|
@@ -41981,15 +41981,15 @@ class YJ extends JE {
|
|
|
41981
41981
|
}
|
|
41982
41982
|
});
|
|
41983
41983
|
else if (s.data.question.type === Se.FACTOID) {
|
|
41984
|
-
const
|
|
41984
|
+
const G = (T = s.data.question.options) == null ? void 0 : T.options.value, ee = {
|
|
41985
41985
|
heading: s.data.question.notification.title,
|
|
41986
41986
|
body: s.data.question.notification.body,
|
|
41987
|
-
imageMode:
|
|
41988
|
-
image:
|
|
41987
|
+
imageMode: G == null ? void 0 : G.imageMode,
|
|
41988
|
+
image: G == null ? void 0 : G.image,
|
|
41989
41989
|
video: {
|
|
41990
|
-
id: ((b =
|
|
41991
|
-
url: ((w =
|
|
41992
|
-
thumbnailUrl: ((C =
|
|
41990
|
+
id: ((b = G == null ? void 0 : G.video) == null ? void 0 : b.id) || "",
|
|
41991
|
+
url: ((w = G == null ? void 0 : G.video) == null ? void 0 : w.url) || "",
|
|
41992
|
+
thumbnailUrl: ((C = G == null ? void 0 : G.video) == null ? void 0 : C.thumbnailUrl) || ""
|
|
41993
41993
|
},
|
|
41994
41994
|
webLink: {
|
|
41995
41995
|
label: "",
|
|
@@ -41999,12 +41999,12 @@ class YJ extends JE {
|
|
|
41999
41999
|
this.notifications.add({
|
|
42000
42000
|
type: vc.QUESTION,
|
|
42001
42001
|
action: () => {
|
|
42002
|
-
var
|
|
42003
|
-
return this.openQuestion((
|
|
42002
|
+
var ne, J, de;
|
|
42003
|
+
return this.openQuestion((J = (ne = s == null ? void 0 : s.data) == null ? void 0 : ne.question) == null ? void 0 : J.id, (de = s == null ? void 0 : s.data) == null ? void 0 : de.feedItem);
|
|
42004
42004
|
},
|
|
42005
42005
|
close: () => {
|
|
42006
|
-
var
|
|
42007
|
-
return this.closeQuestion((
|
|
42006
|
+
var ne, J;
|
|
42007
|
+
return this.closeQuestion((J = (ne = s == null ? void 0 : s.data) == null ? void 0 : ne.question) == null ? void 0 : J.id);
|
|
42008
42008
|
},
|
|
42009
42009
|
autoHideDuration: 1e3 * 120,
|
|
42010
42010
|
emitEvent: !0,
|
|
@@ -42012,28 +42012,28 @@ class YJ extends JE {
|
|
|
42012
42012
|
data: {
|
|
42013
42013
|
questionId: s.data.question.id,
|
|
42014
42014
|
questionType: s.data.question.type,
|
|
42015
|
-
insight:
|
|
42015
|
+
insight: ee
|
|
42016
42016
|
}
|
|
42017
42017
|
});
|
|
42018
42018
|
} else if (s.data.question.type === Se.TWEET) {
|
|
42019
|
-
const
|
|
42019
|
+
const G = (R = s.data.question.options) == null ? void 0 : R.options.value, ee = {
|
|
42020
42020
|
title: (L = s.data.question.notification) == null ? void 0 : L.title,
|
|
42021
42021
|
body: (A = s.data.question.notification) == null ? void 0 : A.body,
|
|
42022
42022
|
image: (D = s.data.question.notification) == null ? void 0 : D.image,
|
|
42023
|
-
account: ((
|
|
42024
|
-
accountVerified: !!((
|
|
42025
|
-
tweet: (W =
|
|
42023
|
+
account: ((B = G == null ? void 0 : G.tweetMeta) == null ? void 0 : B.account) || "",
|
|
42024
|
+
accountVerified: !!((z = G == null ? void 0 : G.tweetMeta) != null && z.accountVerified),
|
|
42025
|
+
tweet: (W = G == null ? void 0 : G.tweetMeta) == null ? void 0 : W.tweet,
|
|
42026
42026
|
tweetId: s.data.question.id
|
|
42027
42027
|
};
|
|
42028
42028
|
this.notifications.add({
|
|
42029
42029
|
type: vc.QUESTION,
|
|
42030
42030
|
action: () => {
|
|
42031
|
-
var
|
|
42032
|
-
return this.openQuestion((
|
|
42031
|
+
var ne, J, de;
|
|
42032
|
+
return this.openQuestion((J = (ne = s.data) == null ? void 0 : ne.question) == null ? void 0 : J.id, (de = s.data) == null ? void 0 : de.feedItem);
|
|
42033
42033
|
},
|
|
42034
42034
|
close: () => {
|
|
42035
|
-
var
|
|
42036
|
-
return this.closeQuestion((
|
|
42035
|
+
var ne, J;
|
|
42036
|
+
return this.closeQuestion((J = (ne = s.data) == null ? void 0 : ne.question) == null ? void 0 : J.id);
|
|
42037
42037
|
},
|
|
42038
42038
|
autoHideDuration: 1e3 * 120,
|
|
42039
42039
|
emitEvent: !0,
|
|
@@ -42041,14 +42041,14 @@ class YJ extends JE {
|
|
|
42041
42041
|
data: {
|
|
42042
42042
|
questionId: s.data.question.id,
|
|
42043
42043
|
questionType: s.data.question.type,
|
|
42044
|
-
tweet:
|
|
42044
|
+
tweet: ee
|
|
42045
42045
|
}
|
|
42046
42046
|
});
|
|
42047
42047
|
}
|
|
42048
42048
|
}
|
|
42049
42049
|
});
|
|
42050
42050
|
this.background = new SJ(u), this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new eC(), this.feedList = this.background.feedList, this.friends = new dl(hJ(this.background.userId, u.transport), "gamification:friends"), this.currentUserId = this.background.userId, this.openedUser = Va(void 0), this.leaderboardId = new Po(Va(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = GJ(this, this.background, u.transport, u.notifications), this.notifications = u.notifications, this.transport = u.transport, this.closeFeature = () => u.sdk.closeFeature(!0), this.openFeature = () => u.sdk.openFeature(vt.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = qJ(this.transport, this.background.slStreamId, u.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = jJ(this.background.slStreamId, this.background.userId, this.friends, this.transport), this.leaderboardList = LJ(this.transport, this.background.slStreamId, this.background.userId, this.friends), this.connect(), this.cancels.add(this.userSummary.$store.listen((f, p) => {
|
|
42051
|
-
p != null && p.summary && (f != null && f.summary) &&
|
|
42051
|
+
p != null && p.summary && (f != null && f.summary) && this.leaderboardList.invalidate();
|
|
42052
42052
|
})), this.cancels.add(this.background.activeQuestionId.listen(this.showInApp)), this.cancels.add(this.onboardingStatus.$store.listen(this.checkInteractiveFlag)), this.cancels.add(this.background.moderation.getStore().listen(this.checkInteractiveFlag)), this.cancels.add(this.settings.subscribe(this.checkInteractiveFlag)), u.sdk.onMount({ name: "gamification", clear: !0 }, () => () => {
|
|
42053
42053
|
for (const f of this.cancels)
|
|
42054
42054
|
f(), this.cancels.delete(f);
|
|
@@ -42489,7 +42489,7 @@ function aC(n, r, s) {
|
|
|
42489
42489
|
if (typeof n == "function" && (s = r, r = n, n = null), s < 1)
|
|
42490
42490
|
throw new Error("fastqueue concurrency must be greater than 1");
|
|
42491
42491
|
var c = dX(mX), u = null, f = null, p = 0, T = null, b = {
|
|
42492
|
-
push:
|
|
42492
|
+
push: B,
|
|
42493
42493
|
drain: Oo,
|
|
42494
42494
|
saturated: Oo,
|
|
42495
42495
|
pause: C,
|
|
@@ -42500,11 +42500,11 @@ function aC(n, r, s) {
|
|
|
42500
42500
|
idle: D,
|
|
42501
42501
|
length: R,
|
|
42502
42502
|
getQueue: L,
|
|
42503
|
-
unshift:
|
|
42503
|
+
unshift: z,
|
|
42504
42504
|
empty: Oo,
|
|
42505
|
-
kill:
|
|
42506
|
-
killAndDrain:
|
|
42507
|
-
error:
|
|
42505
|
+
kill: G,
|
|
42506
|
+
killAndDrain: ee,
|
|
42507
|
+
error: ne
|
|
42508
42508
|
};
|
|
42509
42509
|
return b;
|
|
42510
42510
|
function w() {
|
|
@@ -42514,46 +42514,46 @@ function aC(n, r, s) {
|
|
|
42514
42514
|
b.paused = !0;
|
|
42515
42515
|
}
|
|
42516
42516
|
function R() {
|
|
42517
|
-
for (var
|
|
42518
|
-
|
|
42517
|
+
for (var J = u, de = 0; J; )
|
|
42518
|
+
J = J.next, de++;
|
|
42519
42519
|
return de;
|
|
42520
42520
|
}
|
|
42521
42521
|
function L() {
|
|
42522
|
-
for (var
|
|
42523
|
-
de.push(
|
|
42522
|
+
for (var J = u, de = []; J; )
|
|
42523
|
+
de.push(J.value), J = J.next;
|
|
42524
42524
|
return de;
|
|
42525
42525
|
}
|
|
42526
42526
|
function A() {
|
|
42527
42527
|
if (b.paused) {
|
|
42528
42528
|
b.paused = !1;
|
|
42529
|
-
for (var
|
|
42529
|
+
for (var J = 0; J < b.concurrency; J++)
|
|
42530
42530
|
p++, W();
|
|
42531
42531
|
}
|
|
42532
42532
|
}
|
|
42533
42533
|
function D() {
|
|
42534
42534
|
return p === 0 && b.length() === 0;
|
|
42535
42535
|
}
|
|
42536
|
-
function
|
|
42536
|
+
function B(J, de) {
|
|
42537
42537
|
var se = c.get();
|
|
42538
|
-
se.context = n, se.release = W, se.value =
|
|
42538
|
+
se.context = n, se.release = W, se.value = J, se.callback = de || Oo, se.errorHandler = T, p === b.concurrency || b.paused ? f ? (f.next = se, f = se) : (u = se, f = se, b.saturated()) : (p++, r.call(n, se.value, se.worked));
|
|
42539
42539
|
}
|
|
42540
|
-
function
|
|
42540
|
+
function z(J, de) {
|
|
42541
42541
|
var se = c.get();
|
|
42542
|
-
se.context = n, se.release = W, se.value =
|
|
42542
|
+
se.context = n, se.release = W, se.value = J, se.callback = de || Oo, se.errorHandler = T, p === b.concurrency || b.paused ? u ? (se.next = u, u = se) : (u = se, f = se, b.saturated()) : (p++, r.call(n, se.value, se.worked));
|
|
42543
42543
|
}
|
|
42544
|
-
function W(
|
|
42545
|
-
|
|
42544
|
+
function W(J) {
|
|
42545
|
+
J && c.release(J);
|
|
42546
42546
|
var de = u;
|
|
42547
42547
|
de ? b.paused ? p-- : (f === u && (f = null), u = de.next, de.next = null, r.call(n, de.value, de.worked), f === null && b.empty()) : --p === 0 && b.drain();
|
|
42548
42548
|
}
|
|
42549
|
-
function
|
|
42549
|
+
function G() {
|
|
42550
42550
|
u = null, f = null, b.drain = Oo;
|
|
42551
42551
|
}
|
|
42552
|
-
function
|
|
42552
|
+
function ee() {
|
|
42553
42553
|
u = null, f = null, b.drain(), b.drain = Oo;
|
|
42554
42554
|
}
|
|
42555
|
-
function
|
|
42556
|
-
T =
|
|
42555
|
+
function ne(J) {
|
|
42556
|
+
T = J;
|
|
42557
42557
|
}
|
|
42558
42558
|
}
|
|
42559
42559
|
function Oo() {
|
|
@@ -42577,24 +42577,24 @@ function pX(n, r, s) {
|
|
|
42577
42577
|
return u.push = T, u.unshift = b, u.drained = w, u;
|
|
42578
42578
|
function T(C) {
|
|
42579
42579
|
var R = new Promise(function(L, A) {
|
|
42580
|
-
f(C, function(D,
|
|
42580
|
+
f(C, function(D, B) {
|
|
42581
42581
|
if (D) {
|
|
42582
42582
|
A(D);
|
|
42583
42583
|
return;
|
|
42584
42584
|
}
|
|
42585
|
-
L(
|
|
42585
|
+
L(B);
|
|
42586
42586
|
});
|
|
42587
42587
|
});
|
|
42588
42588
|
return R.catch(Oo), R;
|
|
42589
42589
|
}
|
|
42590
42590
|
function b(C) {
|
|
42591
42591
|
var R = new Promise(function(L, A) {
|
|
42592
|
-
p(C, function(D,
|
|
42592
|
+
p(C, function(D, B) {
|
|
42593
42593
|
if (D) {
|
|
42594
42594
|
A(D);
|
|
42595
42595
|
return;
|
|
42596
42596
|
}
|
|
42597
|
-
L(
|
|
42597
|
+
L(B);
|
|
42598
42598
|
});
|
|
42599
42599
|
});
|
|
42600
42600
|
return R.catch(Oo), R;
|
|
@@ -43491,34 +43491,34 @@ var Zee = function(n) {
|
|
|
43491
43491
|
}
|
|
43492
43492
|
}
|
|
43493
43493
|
n.isArgumentsObject = r, n.isGeneratorFunction = s, n.isTypedArray = u;
|
|
43494
|
-
function
|
|
43494
|
+
function B(me) {
|
|
43495
43495
|
return typeof Promise < "u" && me instanceof Promise || me !== null && typeof me == "object" && typeof me.then == "function" && typeof me.catch == "function";
|
|
43496
43496
|
}
|
|
43497
|
-
n.isPromise =
|
|
43498
|
-
function
|
|
43497
|
+
n.isPromise = B;
|
|
43498
|
+
function z(me) {
|
|
43499
43499
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(me) : u(me) || oe(me);
|
|
43500
43500
|
}
|
|
43501
|
-
n.isArrayBufferView =
|
|
43501
|
+
n.isArrayBufferView = z;
|
|
43502
43502
|
function W(me) {
|
|
43503
43503
|
return c(me) === "Uint8Array";
|
|
43504
43504
|
}
|
|
43505
43505
|
n.isUint8Array = W;
|
|
43506
|
-
function
|
|
43506
|
+
function G(me) {
|
|
43507
43507
|
return c(me) === "Uint8ClampedArray";
|
|
43508
43508
|
}
|
|
43509
|
-
n.isUint8ClampedArray =
|
|
43510
|
-
function
|
|
43509
|
+
n.isUint8ClampedArray = G;
|
|
43510
|
+
function ee(me) {
|
|
43511
43511
|
return c(me) === "Uint16Array";
|
|
43512
43512
|
}
|
|
43513
|
-
n.isUint16Array =
|
|
43514
|
-
function
|
|
43513
|
+
n.isUint16Array = ee;
|
|
43514
|
+
function ne(me) {
|
|
43515
43515
|
return c(me) === "Uint32Array";
|
|
43516
43516
|
}
|
|
43517
|
-
n.isUint32Array =
|
|
43518
|
-
function
|
|
43517
|
+
n.isUint32Array = ne;
|
|
43518
|
+
function J(me) {
|
|
43519
43519
|
return c(me) === "Int8Array";
|
|
43520
43520
|
}
|
|
43521
|
-
n.isInt8Array =
|
|
43521
|
+
n.isInt8Array = J;
|
|
43522
43522
|
function de(me) {
|
|
43523
43523
|
return c(me) === "Int16Array";
|
|
43524
43524
|
}
|
|
@@ -43683,7 +43683,7 @@ var ate = F9.exports;
|
|
|
43683
43683
|
return pe;
|
|
43684
43684
|
}, s = /%[sdj%]/g;
|
|
43685
43685
|
n.format = function(V) {
|
|
43686
|
-
if (!
|
|
43686
|
+
if (!J(V)) {
|
|
43687
43687
|
for (var oe = [], pe = 0; pe < arguments.length; pe++)
|
|
43688
43688
|
oe.push(p(arguments[pe]));
|
|
43689
43689
|
return oe.join(" ");
|
|
@@ -43708,7 +43708,7 @@ var ate = F9.exports;
|
|
|
43708
43708
|
return Ct;
|
|
43709
43709
|
}
|
|
43710
43710
|
}), et = $e[pe]; pe < ft; et = $e[++pe])
|
|
43711
|
-
|
|
43711
|
+
G(et) || !Ce(et) ? rt += " " + et : rt += " " + p(et);
|
|
43712
43712
|
return rt;
|
|
43713
43713
|
}, n.deprecate = function(V, oe) {
|
|
43714
43714
|
if (typeof bt < "u" && bt.noDeprecation === !0)
|
|
@@ -43796,7 +43796,7 @@ var ate = F9.exports;
|
|
|
43796
43796
|
oe.inspect !== n.inspect && // Also filter out any prototype objects using the circular check.
|
|
43797
43797
|
!(oe.constructor && oe.constructor.prototype === oe)) {
|
|
43798
43798
|
var $e = oe.inspect(pe, V);
|
|
43799
|
-
return
|
|
43799
|
+
return J($e) || ($e = C(V, $e, pe)), $e;
|
|
43800
43800
|
}
|
|
43801
43801
|
var ft = R(V, oe);
|
|
43802
43802
|
if (ft)
|
|
@@ -43817,7 +43817,7 @@ var ate = F9.exports;
|
|
|
43817
43817
|
return L(oe);
|
|
43818
43818
|
}
|
|
43819
43819
|
var Ct = "", Jt = !1, Pn = ["{", "}"];
|
|
43820
|
-
if (
|
|
43820
|
+
if (z(oe) && (Jt = !0, Pn = ["[", "]"]), je(oe)) {
|
|
43821
43821
|
var Qt = oe.name ? ": " + oe.name : "";
|
|
43822
43822
|
Ct = " [Function" + Qt + "]";
|
|
43823
43823
|
}
|
|
@@ -43829,20 +43829,20 @@ var ate = F9.exports;
|
|
|
43829
43829
|
var sn;
|
|
43830
43830
|
return Jt ? sn = A(V, oe, pe, et, rt) : sn = rt.map(function(It) {
|
|
43831
43831
|
return D(V, oe, pe, et, It, Jt);
|
|
43832
|
-
}), V.seen.pop(),
|
|
43832
|
+
}), V.seen.pop(), B(sn, Ct, Pn);
|
|
43833
43833
|
}
|
|
43834
43834
|
function R(V, oe) {
|
|
43835
43835
|
if (se(oe))
|
|
43836
43836
|
return V.stylize("undefined", "undefined");
|
|
43837
|
-
if (
|
|
43837
|
+
if (J(oe)) {
|
|
43838
43838
|
var pe = "'" + JSON.stringify(oe).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
43839
43839
|
return V.stylize(pe, "string");
|
|
43840
43840
|
}
|
|
43841
|
-
if (
|
|
43841
|
+
if (ne(oe))
|
|
43842
43842
|
return V.stylize("" + oe, "number");
|
|
43843
43843
|
if (W(oe))
|
|
43844
43844
|
return V.stylize("" + oe, "boolean");
|
|
43845
|
-
if (
|
|
43845
|
+
if (G(oe))
|
|
43846
43846
|
return V.stylize("null", "null");
|
|
43847
43847
|
}
|
|
43848
43848
|
function L(V) {
|
|
@@ -43871,7 +43871,7 @@ var ate = F9.exports;
|
|
|
43871
43871
|
}
|
|
43872
43872
|
function D(V, oe, pe, $e, ft, rt) {
|
|
43873
43873
|
var et, st, Ct;
|
|
43874
|
-
if (Ct = Object.getOwnPropertyDescriptor(oe, ft) || { value: oe[ft] }, Ct.get ? Ct.set ? st = V.stylize("[Getter/Setter]", "special") : st = V.stylize("[Getter]", "special") : Ct.set && (st = V.stylize("[Setter]", "special")), Te($e, ft) || (et = "[" + ft + "]"), st || (V.seen.indexOf(Ct.value) < 0 ? (
|
|
43874
|
+
if (Ct = Object.getOwnPropertyDescriptor(oe, ft) || { value: oe[ft] }, Ct.get ? Ct.set ? st = V.stylize("[Getter/Setter]", "special") : st = V.stylize("[Getter]", "special") : Ct.set && (st = V.stylize("[Setter]", "special")), Te($e, ft) || (et = "[" + ft + "]"), st || (V.seen.indexOf(Ct.value) < 0 ? (G(pe) ? st = C(V, Ct.value, null) : st = C(V, Ct.value, pe - 1), st.indexOf(`
|
|
43875
43875
|
`) > -1 && (rt ? st = st.split(`
|
|
43876
43876
|
`).map(function(Jt) {
|
|
43877
43877
|
return " " + Jt;
|
|
@@ -43888,7 +43888,7 @@ var ate = F9.exports;
|
|
|
43888
43888
|
}
|
|
43889
43889
|
return et + ": " + st;
|
|
43890
43890
|
}
|
|
43891
|
-
function
|
|
43891
|
+
function B(V, oe, pe) {
|
|
43892
43892
|
var $e = V.reduce(function(ft, rt) {
|
|
43893
43893
|
return rt.indexOf(`
|
|
43894
43894
|
`) >= 0, ft + rt.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
@@ -43898,30 +43898,30 @@ var ate = F9.exports;
|
|
|
43898
43898
|
`) + " " + pe[1] : pe[0] + oe + " " + V.join(", ") + " " + pe[1];
|
|
43899
43899
|
}
|
|
43900
43900
|
n.types = fC;
|
|
43901
|
-
function
|
|
43901
|
+
function z(V) {
|
|
43902
43902
|
return Array.isArray(V);
|
|
43903
43903
|
}
|
|
43904
|
-
n.isArray =
|
|
43904
|
+
n.isArray = z;
|
|
43905
43905
|
function W(V) {
|
|
43906
43906
|
return typeof V == "boolean";
|
|
43907
43907
|
}
|
|
43908
43908
|
n.isBoolean = W;
|
|
43909
|
-
function
|
|
43909
|
+
function G(V) {
|
|
43910
43910
|
return V === null;
|
|
43911
43911
|
}
|
|
43912
|
-
n.isNull =
|
|
43913
|
-
function
|
|
43912
|
+
n.isNull = G;
|
|
43913
|
+
function ee(V) {
|
|
43914
43914
|
return V == null;
|
|
43915
43915
|
}
|
|
43916
|
-
n.isNullOrUndefined =
|
|
43917
|
-
function
|
|
43916
|
+
n.isNullOrUndefined = ee;
|
|
43917
|
+
function ne(V) {
|
|
43918
43918
|
return typeof V == "number";
|
|
43919
43919
|
}
|
|
43920
|
-
n.isNumber =
|
|
43921
|
-
function
|
|
43920
|
+
n.isNumber = ne;
|
|
43921
|
+
function J(V) {
|
|
43922
43922
|
return typeof V == "string";
|
|
43923
43923
|
}
|
|
43924
|
-
n.isString =
|
|
43924
|
+
n.isString = J;
|
|
43925
43925
|
function de(V) {
|
|
43926
43926
|
return typeof V == "symbol";
|
|
43927
43927
|
}
|
|
@@ -44287,32 +44287,32 @@ function ute(n) {
|
|
|
44287
44287
|
s.selectColor = r;
|
|
44288
44288
|
function s(C) {
|
|
44289
44289
|
let R, L = null, A, D;
|
|
44290
|
-
function
|
|
44291
|
-
if (!
|
|
44290
|
+
function B(...z) {
|
|
44291
|
+
if (!B.enabled)
|
|
44292
44292
|
return;
|
|
44293
|
-
const W =
|
|
44294
|
-
W.diff =
|
|
44295
|
-
let
|
|
44296
|
-
|
|
44297
|
-
if (
|
|
44293
|
+
const W = B, G = Number(/* @__PURE__ */ new Date()), ee = G - (R || G);
|
|
44294
|
+
W.diff = ee, W.prev = R, W.curr = G, R = G, z[0] = s.coerce(z[0]), typeof z[0] != "string" && z.unshift("%O");
|
|
44295
|
+
let ne = 0;
|
|
44296
|
+
z[0] = z[0].replace(/%([a-zA-Z%])/g, (J, de) => {
|
|
44297
|
+
if (J === "%%")
|
|
44298
44298
|
return "%";
|
|
44299
|
-
|
|
44299
|
+
ne++;
|
|
44300
44300
|
const se = s.formatters[de];
|
|
44301
44301
|
if (typeof se == "function") {
|
|
44302
|
-
const Re =
|
|
44303
|
-
|
|
44302
|
+
const Re = z[ne];
|
|
44303
|
+
J = se.call(W, Re), z.splice(ne, 1), ne--;
|
|
44304
44304
|
}
|
|
44305
|
-
return
|
|
44306
|
-
}), s.formatArgs.call(W,
|
|
44305
|
+
return J;
|
|
44306
|
+
}), s.formatArgs.call(W, z), (W.log || s.log).apply(W, z);
|
|
44307
44307
|
}
|
|
44308
|
-
return
|
|
44308
|
+
return B.namespace = C, B.useColors = s.useColors(), B.color = s.selectColor(C), B.extend = c, B.destroy = s.destroy, Object.defineProperty(B, "enabled", {
|
|
44309
44309
|
enumerable: !0,
|
|
44310
44310
|
configurable: !1,
|
|
44311
44311
|
get: () => L !== null ? L : (A !== s.namespaces && (A = s.namespaces, D = s.enabled(C)), D),
|
|
44312
|
-
set: (
|
|
44313
|
-
L =
|
|
44312
|
+
set: (z) => {
|
|
44313
|
+
L = z;
|
|
44314
44314
|
}
|
|
44315
|
-
}), typeof s.init == "function" && s.init(
|
|
44315
|
+
}), typeof s.init == "function" && s.init(B), B;
|
|
44316
44316
|
}
|
|
44317
44317
|
function c(C, R) {
|
|
44318
44318
|
const L = s(this.namespace + (typeof R > "u" ? ":" : R) + C);
|
|
@@ -44891,7 +44891,7 @@ const Dte = ({
|
|
|
44891
44891
|
b = !0;
|
|
44892
44892
|
};
|
|
44893
44893
|
const w = xte(n, s, c, {
|
|
44894
|
-
version: "0.41.
|
|
44894
|
+
version: "0.41.8",
|
|
44895
44895
|
onDeepLinkHandled: u,
|
|
44896
44896
|
videoPlayerController: f
|
|
44897
44897
|
});
|