@streamlayer/react 1.9.6 → 1.9.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/advertisement.js +1 -1
- package/lib/cjs/useStreamLayerApp2.js +2 -2
- package/lib/dist/cjs/masters.js +17 -17
- package/lib/dist/es/masters.js +157 -157
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +16 -16
- package/lib/es/useStreamLayerApp2.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +13 -13
package/lib/dist/es/masters.js
CHANGED
|
@@ -10017,19 +10017,19 @@ function RV() {
|
|
|
10017
10017
|
if (oo) e: {
|
|
10018
10018
|
switch (r) {
|
|
10019
10019
|
case "compositionstart":
|
|
10020
|
-
var
|
|
10020
|
+
var it = "onCompositionStart";
|
|
10021
10021
|
break e;
|
|
10022
10022
|
case "compositionend":
|
|
10023
|
-
|
|
10023
|
+
it = "onCompositionEnd";
|
|
10024
10024
|
break e;
|
|
10025
10025
|
case "compositionupdate":
|
|
10026
|
-
|
|
10026
|
+
it = "onCompositionUpdate";
|
|
10027
10027
|
break e;
|
|
10028
10028
|
}
|
|
10029
|
-
|
|
10029
|
+
it = void 0;
|
|
10030
10030
|
}
|
|
10031
|
-
else El ? Kf(r, d) && (
|
|
10032
|
-
|
|
10031
|
+
else El ? Kf(r, d) && (it = "onCompositionEnd") : r === "keydown" && d.keyCode === 229 && (it = "onCompositionStart");
|
|
10032
|
+
it && (Qf && d.locale !== "ko" && (El || it !== "onCompositionStart" ? it === "onCompositionEnd" && El && (Ke = Ym()) : (Ho = he, qu = "value" in Ho ? Ho.value : Ho.textContent, El = !0)), Ue = nc(re, it), 0 < Ue.length && (it = new Xm(it, r, null, d, he), ve.push({ event: it, listeners: Ue }), Ke ? it.data = Ke : (Ke = Nd(d), Ke !== null && (it.data = Ke)))), (Ke = Id ? i4(r, d) : s4(r, d)) && (re = nc(re, "onBeforeInput"), 0 < re.length && (he = new Xm("onBeforeInput", "beforeinput", null, d, he), ve.push({ event: he, listeners: re }), he.data = Ke));
|
|
10033
10033
|
}
|
|
10034
10034
|
Ad(ve, i);
|
|
10035
10035
|
});
|
|
@@ -10157,7 +10157,7 @@ function RV() {
|
|
|
10157
10157
|
function Ut(r, i) {
|
|
10158
10158
|
Xt++, Ii[Xt] = r.current, r.current = i;
|
|
10159
10159
|
}
|
|
10160
|
-
var wo = {},
|
|
10160
|
+
var wo = {}, rt = ht(wo), pn = ht(!1), Wa = wo;
|
|
10161
10161
|
function Ar(r, i) {
|
|
10162
10162
|
var d = r.type.contextTypes;
|
|
10163
10163
|
if (!d) return wo;
|
|
@@ -10171,11 +10171,11 @@ function RV() {
|
|
|
10171
10171
|
return r = r.childContextTypes, r != null;
|
|
10172
10172
|
}
|
|
10173
10173
|
function xr() {
|
|
10174
|
-
Dt(pn), Dt(
|
|
10174
|
+
Dt(pn), Dt(rt);
|
|
10175
10175
|
}
|
|
10176
10176
|
function Ni(r, i, d) {
|
|
10177
|
-
if (
|
|
10178
|
-
Ut(
|
|
10177
|
+
if (rt.current !== wo) throw Error(o(168));
|
|
10178
|
+
Ut(rt, i), Ut(pn, d);
|
|
10179
10179
|
}
|
|
10180
10180
|
function ic(r, i, d) {
|
|
10181
10181
|
var h = r.stateNode;
|
|
@@ -10185,12 +10185,12 @@ function RV() {
|
|
|
10185
10185
|
return we({}, d, h);
|
|
10186
10186
|
}
|
|
10187
10187
|
function Dd(r) {
|
|
10188
|
-
return r = (r = r.stateNode) && r.__reactInternalMemoizedMergedChildContext || wo, Wa =
|
|
10188
|
+
return r = (r = r.stateNode) && r.__reactInternalMemoizedMergedChildContext || wo, Wa = rt.current, Ut(rt, r), Ut(pn, pn.current), !0;
|
|
10189
10189
|
}
|
|
10190
10190
|
function vp(r, i, d) {
|
|
10191
10191
|
var h = r.stateNode;
|
|
10192
10192
|
if (!h) throw Error(o(169));
|
|
10193
|
-
d ? (r = ic(r, i, Wa), h.__reactInternalMemoizedMergedChildContext = r, Dt(pn), Dt(
|
|
10193
|
+
d ? (r = ic(r, i, Wa), h.__reactInternalMemoizedMergedChildContext = r, Dt(pn), Dt(rt), Ut(rt, r)) : Dt(pn), Ut(pn, d);
|
|
10194
10194
|
}
|
|
10195
10195
|
var dr = null, jn = !1, sc = !1;
|
|
10196
10196
|
function T0(r) {
|
|
@@ -10445,50 +10445,50 @@ function RV() {
|
|
|
10445
10445
|
return null;
|
|
10446
10446
|
}
|
|
10447
10447
|
function De(Y, q, J, ke) {
|
|
10448
|
-
for (var Ge = null, Ue = null, Ke = q,
|
|
10449
|
-
Ke.index >
|
|
10450
|
-
var At = ge(Y, Ke, J[
|
|
10448
|
+
for (var Ge = null, Ue = null, Ke = q, it = q = 0, Yn = null; Ke !== null && it < J.length; it++) {
|
|
10449
|
+
Ke.index > it ? (Yn = Ke, Ke = null) : Yn = Ke.sibling;
|
|
10450
|
+
var At = ge(Y, Ke, J[it], ke);
|
|
10451
10451
|
if (At === null) {
|
|
10452
10452
|
Ke === null && (Ke = Yn);
|
|
10453
10453
|
break;
|
|
10454
10454
|
}
|
|
10455
|
-
r && Ke && At.alternate === null && i(Y, Ke), q = S(At, q,
|
|
10455
|
+
r && Ke && At.alternate === null && i(Y, Ke), q = S(At, q, it), Ue === null ? Ge = At : Ue.sibling = At, Ue = At, Ke = Yn;
|
|
10456
10456
|
}
|
|
10457
|
-
if (
|
|
10457
|
+
if (it === J.length) return d(Y, Ke), Jt && mr(Y, it), Ge;
|
|
10458
10458
|
if (Ke === null) {
|
|
10459
|
-
for (;
|
|
10460
|
-
return Jt && mr(Y,
|
|
10459
|
+
for (; it < J.length; it++) Ke = ve(Y, J[it], ke), Ke !== null && (q = S(Ke, q, it), Ue === null ? Ge = Ke : Ue.sibling = Ke, Ue = Ke);
|
|
10460
|
+
return Jt && mr(Y, it), Ge;
|
|
10461
10461
|
}
|
|
10462
|
-
for (Ke = h(Y, Ke);
|
|
10462
|
+
for (Ke = h(Y, Ke); it < J.length; it++) Yn = Le(Ke, Y, it, J[it], ke), Yn !== null && (r && Yn.alternate !== null && Ke.delete(Yn.key === null ? it : Yn.key), q = S(Yn, q, it), Ue === null ? Ge = Yn : Ue.sibling = Yn, Ue = Yn);
|
|
10463
10463
|
return r && Ke.forEach(function(Vi) {
|
|
10464
10464
|
return i(Y, Vi);
|
|
10465
|
-
}), Jt && mr(Y,
|
|
10465
|
+
}), Jt && mr(Y, it), Ge;
|
|
10466
10466
|
}
|
|
10467
10467
|
function Ve(Y, q, J, ke) {
|
|
10468
10468
|
var Ge = Pe(J);
|
|
10469
10469
|
if (typeof Ge != "function") throw Error(o(150));
|
|
10470
10470
|
if (J = Ge.call(J), J == null) throw Error(o(151));
|
|
10471
|
-
for (var Ue = Ge = null, Ke = q,
|
|
10472
|
-
Ke.index >
|
|
10471
|
+
for (var Ue = Ge = null, Ke = q, it = q = 0, Yn = null, At = J.next(); Ke !== null && !At.done; it++, At = J.next()) {
|
|
10472
|
+
Ke.index > it ? (Yn = Ke, Ke = null) : Yn = Ke.sibling;
|
|
10473
10473
|
var Vi = ge(Y, Ke, At.value, ke);
|
|
10474
10474
|
if (Vi === null) {
|
|
10475
10475
|
Ke === null && (Ke = Yn);
|
|
10476
10476
|
break;
|
|
10477
10477
|
}
|
|
10478
|
-
r && Ke && Vi.alternate === null && i(Y, Ke), q = S(Vi, q,
|
|
10478
|
+
r && Ke && Vi.alternate === null && i(Y, Ke), q = S(Vi, q, it), Ue === null ? Ge = Vi : Ue.sibling = Vi, Ue = Vi, Ke = Yn;
|
|
10479
10479
|
}
|
|
10480
10480
|
if (At.done) return d(
|
|
10481
10481
|
Y,
|
|
10482
10482
|
Ke
|
|
10483
|
-
), Jt && mr(Y,
|
|
10483
|
+
), Jt && mr(Y, it), Ge;
|
|
10484
10484
|
if (Ke === null) {
|
|
10485
|
-
for (; !At.done;
|
|
10486
|
-
return Jt && mr(Y,
|
|
10485
|
+
for (; !At.done; it++, At = J.next()) At = ve(Y, At.value, ke), At !== null && (q = S(At, q, it), Ue === null ? Ge = At : Ue.sibling = At, Ue = At);
|
|
10486
|
+
return Jt && mr(Y, it), Ge;
|
|
10487
10487
|
}
|
|
10488
|
-
for (Ke = h(Y, Ke); !At.done;
|
|
10488
|
+
for (Ke = h(Y, Ke); !At.done; it++, At = J.next()) At = Le(Ke, Y, it, At.value, ke), At !== null && (r && At.alternate !== null && Ke.delete(At.key === null ? it : At.key), q = S(At, q, it), Ue === null ? Ge = At : Ue.sibling = At, Ue = At);
|
|
10489
10489
|
return r && Ke.forEach(function(x4) {
|
|
10490
10490
|
return i(Y, x4);
|
|
10491
|
-
}), Jt && mr(Y,
|
|
10491
|
+
}), Jt && mr(Y, it), Ge;
|
|
10492
10492
|
}
|
|
10493
10493
|
function vn(Y, q, J, ke) {
|
|
10494
10494
|
if (typeof J == "object" && J !== null && J.type === ne && J.key === null && (J = J.props.children), typeof J == "object" && J !== null) {
|
|
@@ -10745,7 +10745,7 @@ function RV() {
|
|
|
10745
10745
|
for (var r = 0; r < Wd.length; r++) Wd[r]._workInProgressVersionPrimary = null;
|
|
10746
10746
|
Wd.length = 0;
|
|
10747
10747
|
}
|
|
10748
|
-
var Qd = W.ReactCurrentDispatcher, cc = W.ReactCurrentBatchConfig, ze = 0, He = null,
|
|
10748
|
+
var Qd = W.ReactCurrentDispatcher, cc = W.ReactCurrentBatchConfig, ze = 0, He = null, ot = null, kt = null, hr = !1, Ul = !1, dc = 0, y4 = 0;
|
|
10749
10749
|
function ya() {
|
|
10750
10750
|
throw Error(o(321));
|
|
10751
10751
|
}
|
|
@@ -10759,10 +10759,10 @@ function RV() {
|
|
|
10759
10759
|
S = 0;
|
|
10760
10760
|
do {
|
|
10761
10761
|
if (Ul = !1, dc = 0, 25 <= S) throw Error(o(301));
|
|
10762
|
-
S += 1, kt =
|
|
10762
|
+
S += 1, kt = ot = null, i.updateQueue = null, Qd.current = u1, r = d(h, v);
|
|
10763
10763
|
} while (Ul);
|
|
10764
10764
|
}
|
|
10765
|
-
if (Qd.current = va, i =
|
|
10765
|
+
if (Qd.current = va, i = ot !== null && ot.next !== null, ze = 0, kt = ot = He = null, hr = !1, i) throw Error(o(300));
|
|
10766
10766
|
return r;
|
|
10767
10767
|
}
|
|
10768
10768
|
function In() {
|
|
@@ -10774,15 +10774,15 @@ function RV() {
|
|
|
10774
10774
|
return kt === null ? He.memoizedState = kt = r : kt = kt.next = r, kt;
|
|
10775
10775
|
}
|
|
10776
10776
|
function ea() {
|
|
10777
|
-
if (
|
|
10777
|
+
if (ot === null) {
|
|
10778
10778
|
var r = He.alternate;
|
|
10779
10779
|
r = r !== null ? r.memoizedState : null;
|
|
10780
|
-
} else r =
|
|
10780
|
+
} else r = ot.next;
|
|
10781
10781
|
var i = kt === null ? He.memoizedState : kt.next;
|
|
10782
|
-
if (i !== null) kt = i,
|
|
10782
|
+
if (i !== null) kt = i, ot = r;
|
|
10783
10783
|
else {
|
|
10784
10784
|
if (r === null) throw Error(o(310));
|
|
10785
|
-
|
|
10785
|
+
ot = r, r = { memoizedState: ot.memoizedState, baseState: ot.baseState, baseQueue: ot.baseQueue, queue: ot.queue, next: null }, kt === null ? He.memoizedState = kt = r : kt = kt.next = r;
|
|
10786
10786
|
}
|
|
10787
10787
|
return kt;
|
|
10788
10788
|
}
|
|
@@ -10793,7 +10793,7 @@ function RV() {
|
|
|
10793
10793
|
var i = ea(), d = i.queue;
|
|
10794
10794
|
if (d === null) throw Error(o(311));
|
|
10795
10795
|
d.lastRenderedReducer = r;
|
|
10796
|
-
var h =
|
|
10796
|
+
var h = ot, v = h.baseQueue, S = d.pending;
|
|
10797
10797
|
if (S !== null) {
|
|
10798
10798
|
if (v !== null) {
|
|
10799
10799
|
var R = v.next;
|
|
@@ -10897,8 +10897,8 @@ function RV() {
|
|
|
10897
10897
|
var v = ea();
|
|
10898
10898
|
h = h === void 0 ? null : h;
|
|
10899
10899
|
var S = void 0;
|
|
10900
|
-
if (
|
|
10901
|
-
var R =
|
|
10900
|
+
if (ot !== null) {
|
|
10901
|
+
var R = ot.memoizedState;
|
|
10902
10902
|
if (S = R.destroy, h !== null && mc(h, R.deps)) {
|
|
10903
10903
|
v.memoizedState = _s(i, d, S, h);
|
|
10904
10904
|
return;
|
|
@@ -11070,7 +11070,7 @@ function RV() {
|
|
|
11070
11070
|
useDebugValue: zl,
|
|
11071
11071
|
useDeferredValue: function(r) {
|
|
11072
11072
|
var i = ea();
|
|
11073
|
-
return s1(i,
|
|
11073
|
+
return s1(i, ot.memoizedState, r);
|
|
11074
11074
|
},
|
|
11075
11075
|
useTransition: function() {
|
|
11076
11076
|
var r = Jo(gr)[0], i = ea().memoizedState;
|
|
@@ -11084,7 +11084,7 @@ function RV() {
|
|
|
11084
11084
|
return Fr(gr);
|
|
11085
11085
|
}, useDebugValue: zl, useDeferredValue: function(r) {
|
|
11086
11086
|
var i = ea();
|
|
11087
|
-
return
|
|
11087
|
+
return ot === null ? i.memoizedState = r : s1(i, ot.memoizedState, r);
|
|
11088
11088
|
}, useTransition: function() {
|
|
11089
11089
|
var r = Fr(gr)[0], i = ea().memoizedState;
|
|
11090
11090
|
return [r, i];
|
|
@@ -11120,7 +11120,7 @@ function RV() {
|
|
|
11120
11120
|
}
|
|
11121
11121
|
function Op(r, i, d) {
|
|
11122
11122
|
var h = !1, v = wo, S = i.contextType;
|
|
11123
|
-
return typeof S == "object" && S !== null ? S = Ur(S) : (v = tn(i) ? Wa :
|
|
11123
|
+
return typeof S == "object" && S !== null ? S = Ur(S) : (v = tn(i) ? Wa : rt.current, h = i.contextTypes, S = (h = h != null) ? Ar(r, v) : wo), i = new i(d, S), r.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null, i.updater = Rs, r.stateNode = i, i._reactInternals = r, h && (r = r.stateNode, r.__reactInternalMemoizedUnmaskedChildContext = v, r.__reactInternalMemoizedMaskedChildContext = S), i;
|
|
11124
11124
|
}
|
|
11125
11125
|
function Lp(r, i, d, h) {
|
|
11126
11126
|
r = i.state, typeof i.componentWillReceiveProps == "function" && i.componentWillReceiveProps(d, h), typeof i.UNSAFE_componentWillReceiveProps == "function" && i.UNSAFE_componentWillReceiveProps(d, h), i.state !== r && Rs.enqueueReplaceState(i, i.state, null);
|
|
@@ -11129,7 +11129,7 @@ function RV() {
|
|
|
11129
11129
|
var v = r.stateNode;
|
|
11130
11130
|
v.props = d, v.state = r.memoizedState, v.refs = {}, Hd(r);
|
|
11131
11131
|
var S = i.contextType;
|
|
11132
|
-
typeof S == "object" && S !== null ? v.context = Ur(S) : (S = tn(i) ? Wa :
|
|
11132
|
+
typeof S == "object" && S !== null ? v.context = Ur(S) : (S = tn(i) ? Wa : rt.current, v.context = Ar(r, S)), v.state = r.memoizedState, S = i.getDerivedStateFromProps, typeof S == "function" && (Ns(r, i, S, d), v.state = r.memoizedState), typeof i.getDerivedStateFromProps == "function" || typeof v.getSnapshotBeforeUpdate == "function" || typeof v.UNSAFE_componentWillMount != "function" && typeof v.componentWillMount != "function" || (i = v.state, typeof v.componentWillMount == "function" && v.componentWillMount(), typeof v.UNSAFE_componentWillMount == "function" && v.UNSAFE_componentWillMount(), i !== v.state && Rs.enqueueReplaceState(v, v.state, null), qd(r, d, v, h), v.state = r.memoizedState), typeof v.componentDidMount == "function" && (r.flags |= 4194308);
|
|
11133
11133
|
}
|
|
11134
11134
|
function xi(r, i) {
|
|
11135
11135
|
try {
|
|
@@ -11246,7 +11246,7 @@ Error generating stack: ` + S.message + `
|
|
|
11246
11246
|
(r === null && d !== null || r !== null && r.ref !== d) && (i.flags |= 512, i.flags |= 2097152);
|
|
11247
11247
|
}
|
|
11248
11248
|
function pt(r, i, d, h, v) {
|
|
11249
|
-
var S = tn(d) ? Wa :
|
|
11249
|
+
var S = tn(d) ? Wa : rt.current;
|
|
11250
11250
|
return S = Ar(i, S), xl(i, v), d = fe(r, i, d, h, S, v), h = In(), r !== null && !er ? (i.updateQueue = r.updateQueue, i.flags &= -2053, r.lanes &= ~v, ta(r, i, v)) : (Jt && h && Ud(i), i.flags |= 1, yn(r, i, d, v), i.child);
|
|
11251
11251
|
}
|
|
11252
11252
|
function yc(r, i, d, h, v) {
|
|
@@ -11259,13 +11259,13 @@ Error generating stack: ` + S.message + `
|
|
|
11259
11259
|
var R = i.stateNode, F = i.memoizedProps;
|
|
11260
11260
|
R.props = F;
|
|
11261
11261
|
var z = R.context, re = d.contextType;
|
|
11262
|
-
typeof re == "object" && re !== null ? re = Ur(re) : (re = tn(d) ? Wa :
|
|
11262
|
+
typeof re == "object" && re !== null ? re = Ur(re) : (re = tn(d) ? Wa : rt.current, re = Ar(i, re));
|
|
11263
11263
|
var he = d.getDerivedStateFromProps, ve = typeof he == "function" || typeof R.getSnapshotBeforeUpdate == "function";
|
|
11264
11264
|
ve || typeof R.UNSAFE_componentWillReceiveProps != "function" && typeof R.componentWillReceiveProps != "function" || (F !== h || z !== re) && Lp(i, R, h, re), Oi = !1;
|
|
11265
11265
|
var ge = i.memoizedState;
|
|
11266
11266
|
R.state = ge, qd(i, h, R, v), z = i.memoizedState, F !== h || ge !== z || pn.current || Oi ? (typeof he == "function" && (Ns(i, d, he, h), z = i.memoizedState), (F = Oi || Rp(i, d, F, h, ge, z, re)) ? (ve || typeof R.UNSAFE_componentWillMount != "function" && typeof R.componentWillMount != "function" || (typeof R.componentWillMount == "function" && R.componentWillMount(), typeof R.UNSAFE_componentWillMount == "function" && R.UNSAFE_componentWillMount()), typeof R.componentDidMount == "function" && (i.flags |= 4194308)) : (typeof R.componentDidMount == "function" && (i.flags |= 4194308), i.memoizedProps = h, i.memoizedState = z), R.props = h, R.state = z, R.context = re, h = F) : (typeof R.componentDidMount == "function" && (i.flags |= 4194308), h = !1);
|
|
11267
11267
|
} else {
|
|
11268
|
-
R = i.stateNode, Pl(r, i), F = i.memoizedProps, re = i.type === i.elementType ? F : Ja(i.type, F), R.props = re, ve = i.pendingProps, ge = R.context, z = d.contextType, typeof z == "object" && z !== null ? z = Ur(z) : (z = tn(d) ? Wa :
|
|
11268
|
+
R = i.stateNode, Pl(r, i), F = i.memoizedProps, re = i.type === i.elementType ? F : Ja(i.type, F), R.props = re, ve = i.pendingProps, ge = R.context, z = d.contextType, typeof z == "object" && z !== null ? z = Ur(z) : (z = tn(d) ? Wa : rt.current, z = Ar(i, z));
|
|
11269
11269
|
var Le = d.getDerivedStateFromProps;
|
|
11270
11270
|
(he = typeof Le == "function" || typeof R.getSnapshotBeforeUpdate == "function") || typeof R.UNSAFE_componentWillReceiveProps != "function" && typeof R.componentWillReceiveProps != "function" || (F !== ve || ge !== z) && Lp(i, R, h, z), Oi = !1, ge = i.memoizedState, R.state = ge, qd(i, h, R, v);
|
|
11271
11271
|
var De = i.memoizedState;
|
|
@@ -11558,7 +11558,7 @@ Error generating stack: ` + S.message + `
|
|
|
11558
11558
|
case 1:
|
|
11559
11559
|
return tn(i.type) && xr(), ba(i), null;
|
|
11560
11560
|
case 3:
|
|
11561
|
-
return h = i.stateNode, Dl(), Dt(pn), Dt(
|
|
11561
|
+
return h = i.stateNode, Dl(), Dt(pn), Dt(rt), R0(), h.pendingContext && (h.context = h.pendingContext, h.pendingContext = null), (r === null || r.child === null) && (Bd(i) ? i.flags |= 4 : r === null || r.memoizedState.isDehydrated && !(i.flags & 256) || (i.flags |= 1024, Mr !== null && (Ec(Mr), Mr = null))), As(r, i), ba(i), null;
|
|
11562
11562
|
case 5:
|
|
11563
11563
|
N0(i);
|
|
11564
11564
|
var v = Cs(uc.current);
|
|
@@ -11792,7 +11792,7 @@ Error generating stack: ` + S.message + `
|
|
|
11792
11792
|
case 1:
|
|
11793
11793
|
return tn(i.type) && xr(), r = i.flags, r & 65536 ? (i.flags = r & -65537 | 128, i) : null;
|
|
11794
11794
|
case 3:
|
|
11795
|
-
return Dl(), Dt(pn), Dt(
|
|
11795
|
+
return Dl(), Dt(pn), Dt(rt), R0(), r = i.flags, r & 65536 && !(r & 128) ? (i.flags = r & -65537 | 128, i) : null;
|
|
11796
11796
|
case 5:
|
|
11797
11797
|
return N0(i), null;
|
|
11798
11798
|
case 13:
|
|
@@ -12653,7 +12653,7 @@ Error generating stack: ` + S.message + `
|
|
|
12653
12653
|
h = h.type.childContextTypes, h != null && xr();
|
|
12654
12654
|
break;
|
|
12655
12655
|
case 3:
|
|
12656
|
-
Dl(), Dt(pn), Dt(
|
|
12656
|
+
Dl(), Dt(pn), Dt(rt), R0();
|
|
12657
12657
|
break;
|
|
12658
12658
|
case 5:
|
|
12659
12659
|
N0(h);
|
|
@@ -12701,7 +12701,7 @@ Error generating stack: ` + S.message + `
|
|
|
12701
12701
|
}
|
|
12702
12702
|
hr = !1;
|
|
12703
12703
|
}
|
|
12704
|
-
if (ze = 0, kt =
|
|
12704
|
+
if (ze = 0, kt = ot = He = null, Ul = !1, dc = 0, G0.current = null, d === null || d.return === null) {
|
|
12705
12705
|
Fn = 1, Cc = i, hn = null;
|
|
12706
12706
|
break;
|
|
12707
12707
|
}
|
|
@@ -13027,7 +13027,7 @@ Error generating stack: ` + S.message + `
|
|
|
13027
13027
|
case 2:
|
|
13028
13028
|
var h = i.type;
|
|
13029
13029
|
Ta(r, i), r = i.pendingProps;
|
|
13030
|
-
var v = Ar(i,
|
|
13030
|
+
var v = Ar(i, rt.current);
|
|
13031
13031
|
xl(i, d), v = fe(null, i, h, r, v, d);
|
|
13032
13032
|
var S = In();
|
|
13033
13033
|
return i.flags |= 1, typeof v == "object" && v !== null && typeof v.render == "function" && v.$$typeof === void 0 ? (i.tag = 1, i.memoizedState = null, i.updateQueue = null, tn(h) ? (S = !0, Dd(i)) : S = !1, i.memoizedState = v.state !== null && v.state !== void 0 ? v.state : null, Hd(i), v.updater = Rs, i.stateNode = v, v._reactInternals = i, A0(i, h, r, d), i = d1(null, i, h, !0, S, d)) : (i.tag = 0, Jt && S && Ud(i), yn(null, i, v, d), i = i.child), i;
|
|
@@ -15898,7 +15898,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
15898
15898
|
), wo = (
|
|
15899
15899
|
/* */
|
|
15900
15900
|
64
|
|
15901
|
-
),
|
|
15901
|
+
), rt = (
|
|
15902
15902
|
/* */
|
|
15903
15903
|
128
|
|
15904
15904
|
), pn = (
|
|
@@ -16133,7 +16133,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16133
16133
|
function xl(e, t) {
|
|
16134
16134
|
if (Mn && typeof Mn.onCommitFiberRoot == "function")
|
|
16135
16135
|
try {
|
|
16136
|
-
var s = (e.current.flags &
|
|
16136
|
+
var s = (e.current.flags & rt) === rt;
|
|
16137
16137
|
if (gt) {
|
|
16138
16138
|
var u;
|
|
16139
16139
|
switch (t) {
|
|
@@ -16273,7 +16273,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16273
16273
|
), He = (
|
|
16274
16274
|
/* */
|
|
16275
16275
|
1
|
|
16276
|
-
),
|
|
16276
|
+
), ot = (
|
|
16277
16277
|
/* */
|
|
16278
16278
|
2
|
|
16279
16279
|
), kt = (
|
|
@@ -17759,7 +17759,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17759
17759
|
}
|
|
17760
17760
|
return !0;
|
|
17761
17761
|
}
|
|
17762
|
-
function
|
|
17762
|
+
function it(e) {
|
|
17763
17763
|
for (; e && e.firstChild; )
|
|
17764
17764
|
e = e.firstChild;
|
|
17765
17765
|
return e;
|
|
@@ -17772,7 +17772,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17772
17772
|
}
|
|
17773
17773
|
}
|
|
17774
17774
|
function At(e, t) {
|
|
17775
|
-
for (var s =
|
|
17775
|
+
for (var s = it(e), u = 0, m = 0; s; ) {
|
|
17776
17776
|
if (s.nodeType === qo) {
|
|
17777
17777
|
if (m = u + s.textContent.length, u <= t && m >= t)
|
|
17778
17778
|
return {
|
|
@@ -17781,7 +17781,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17781
17781
|
};
|
|
17782
17782
|
u = m;
|
|
17783
17783
|
}
|
|
17784
|
-
s =
|
|
17784
|
+
s = it(Yn(s));
|
|
17785
17785
|
}
|
|
17786
17786
|
}
|
|
17787
17787
|
function Vi(e) {
|
|
@@ -19649,7 +19649,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
19649
19649
|
}
|
|
19650
19650
|
}
|
|
19651
19651
|
function d8(e) {
|
|
19652
|
-
return (e.mode & He) !== ze && (e.flags &
|
|
19652
|
+
return (e.mode & He) !== ze && (e.flags & rt) === Ze;
|
|
19653
19653
|
}
|
|
19654
19654
|
function m8(e) {
|
|
19655
19655
|
throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
|
|
@@ -20649,7 +20649,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20649
20649
|
return T;
|
|
20650
20650
|
}
|
|
20651
20651
|
case _8:
|
|
20652
|
-
e.flags = e.flags & ~jn |
|
|
20652
|
+
e.flags = e.flags & ~jn | rt;
|
|
20653
20653
|
case G7: {
|
|
20654
20654
|
var _ = s.payload, A;
|
|
20655
20655
|
if (typeof _ == "function") {
|
|
@@ -20830,7 +20830,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20830
20830
|
} else if (t.tag === $e && // revealOrder undefined can't be trusted because it don't
|
|
20831
20831
|
// keep track of whether it suspended or not.
|
|
20832
20832
|
t.memoizedProps.revealOrder !== void 0) {
|
|
20833
|
-
var m = (t.flags &
|
|
20833
|
+
var m = (t.flags & rt) !== Ze;
|
|
20834
20834
|
if (m)
|
|
20835
20835
|
return t;
|
|
20836
20836
|
} else if (t.child !== null) {
|
|
@@ -22497,7 +22497,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
22497
22497
|
if (e === t)
|
|
22498
22498
|
e.flags |= jn;
|
|
22499
22499
|
else {
|
|
22500
|
-
if (e.flags |=
|
|
22500
|
+
if (e.flags |= rt, s.flags |= sc, s.flags &= ~(Dd | dr), s.tag === w) {
|
|
22501
22501
|
var g = s.alternate;
|
|
22502
22502
|
if (g === null)
|
|
22503
22503
|
s.tag = Se;
|
|
@@ -22551,7 +22551,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
22551
22551
|
}
|
|
22552
22552
|
case w:
|
|
22553
22553
|
var te = u, oe = A.type, ue = A.stateNode;
|
|
22554
|
-
if ((A.flags &
|
|
22554
|
+
if ((A.flags & rt) === Ze && (typeof oe.getDerivedStateFromError == "function" || ue !== null && typeof ue.componentDidCatch == "function" && !MT(ue))) {
|
|
22555
22555
|
A.flags |= jn;
|
|
22556
22556
|
var Ie = Gl(m);
|
|
22557
22557
|
A.lanes = pt(A.lanes, Ie);
|
|
@@ -22778,7 +22778,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
22778
22778
|
break;
|
|
22779
22779
|
}
|
|
22780
22780
|
case !0: {
|
|
22781
|
-
t.flags |=
|
|
22781
|
+
t.flags |= rt, t.flags |= jn;
|
|
22782
22782
|
var A = new Error("Simulated error coming from DevTools"), M = Gl(m);
|
|
22783
22783
|
t.lanes = pt(t.lanes, M);
|
|
22784
22784
|
var j = Sg(t, Bc(A, t), M);
|
|
@@ -22810,7 +22810,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
22810
22810
|
}
|
|
22811
22811
|
function Rg(e, t, s, u, m, g) {
|
|
22812
22812
|
$v(e, t);
|
|
22813
|
-
var T = (t.flags &
|
|
22813
|
+
var T = (t.flags & rt) !== Ze;
|
|
22814
22814
|
if (!u && !T)
|
|
22815
22815
|
return m && w7(t, s, !1), Ws(e, t, g);
|
|
22816
22816
|
var C = t.stateNode;
|
|
@@ -23029,9 +23029,9 @@ Check the render method of \`` + u + "`.");
|
|
|
23029
23029
|
}
|
|
23030
23030
|
function qv(e, t, s) {
|
|
23031
23031
|
var u = t.pendingProps;
|
|
23032
|
-
CL(t) && (t.flags |=
|
|
23033
|
-
var m = li.current, g = !1, T = (t.flags &
|
|
23034
|
-
if (T || pR(m, e) ? (g = !0, t.flags &= ~
|
|
23032
|
+
CL(t) && (t.flags |= rt);
|
|
23033
|
+
var m = li.current, g = !1, T = (t.flags & rt) !== Ze;
|
|
23034
|
+
if (T || pR(m, e) ? (g = !0, t.flags &= ~rt) : (e === null || e.memoizedState !== null) && (m = xN(m, X7)), m = j1(m), fu(t, m), e === null) {
|
|
23035
23035
|
f8(t);
|
|
23036
23036
|
var C = t.memoizedState;
|
|
23037
23037
|
if (C !== null) {
|
|
@@ -23073,7 +23073,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23073
23073
|
mode: "hidden",
|
|
23074
23074
|
children: t
|
|
23075
23075
|
}, C, _;
|
|
23076
|
-
return (m & He) === ze && g !== null ? (C = g, C.childLanes = fe, C.pendingProps = T, e.mode &
|
|
23076
|
+
return (m & He) === ze && g !== null ? (C = g, C.childLanes = fe, C.pendingProps = T, e.mode & ot && (C.actualDuration = 0, C.actualStartTime = -1, C.selfBaseDuration = 0, C.treeBaseDuration = 0), _ = ku(s, m, u, null)) : (C = Pg(T, m), _ = ku(s, m, u, null)), C.return = e, _.return = e, C.sibling = _, e.child = C, _;
|
|
23077
23077
|
}
|
|
23078
23078
|
function Pg(e, t, s) {
|
|
23079
23079
|
return qT(e, t, fe, null);
|
|
@@ -23109,7 +23109,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23109
23109
|
t.child !== T
|
|
23110
23110
|
) {
|
|
23111
23111
|
var M = t.child;
|
|
23112
|
-
A = M, A.childLanes = fe, A.pendingProps = _, t.mode &
|
|
23112
|
+
A = M, A.childLanes = fe, A.pendingProps = _, t.mode & ot && (A.actualDuration = 0, A.actualStartTime = -1, A.selfBaseDuration = T.selfBaseDuration, A.treeBaseDuration = T.treeBaseDuration), t.deletions = null;
|
|
23113
23113
|
} else
|
|
23114
23114
|
A = jv(T, _), A.subtreeFlags = T.subtreeFlags & Jn;
|
|
23115
23115
|
var j;
|
|
@@ -23138,7 +23138,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23138
23138
|
return mh(e, t, T, C);
|
|
23139
23139
|
} else {
|
|
23140
23140
|
if (t.memoizedState !== null)
|
|
23141
|
-
return t.child = e.child, t.flags |=
|
|
23141
|
+
return t.child = e.child, t.flags |= rt, null;
|
|
23142
23142
|
var _ = u.children, A = u.fallback, M = TR(e, t, _, A, T), j = t.child;
|
|
23143
23143
|
return j.memoizedState = Ag(T), t.memoizedState = Lg, M;
|
|
23144
23144
|
}
|
|
@@ -23179,7 +23179,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23179
23179
|
var le = bg(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
|
|
23180
23180
|
return mh(e, t, T, le);
|
|
23181
23181
|
} else if (h7(m)) {
|
|
23182
|
-
t.flags |=
|
|
23182
|
+
t.flags |= rt, t.child = e.child;
|
|
23183
23183
|
var X = jO.bind(null, e);
|
|
23184
23184
|
return _I(m, X), null;
|
|
23185
23185
|
} else {
|
|
@@ -23293,9 +23293,9 @@ Check the render method of \`` + u + "`.");
|
|
|
23293
23293
|
CR(m), ER(g, m), _R(T, m), vr(e, t, T, s);
|
|
23294
23294
|
var C = li.current, _ = x8(C, _2);
|
|
23295
23295
|
if (_)
|
|
23296
|
-
C = P8(C, _2), t.flags |=
|
|
23296
|
+
C = P8(C, _2), t.flags |= rt;
|
|
23297
23297
|
else {
|
|
23298
|
-
var A = e !== null && (e.flags &
|
|
23298
|
+
var A = e !== null && (e.flags & rt) !== Ze;
|
|
23299
23299
|
A && SR(t, t.child, s), C = j1(C);
|
|
23300
23300
|
}
|
|
23301
23301
|
if (fu(t, C), (t.mode & He) === ze)
|
|
@@ -23457,7 +23457,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23457
23457
|
var _ = t.memoizedState;
|
|
23458
23458
|
if (_ !== null) {
|
|
23459
23459
|
if (_.dehydrated !== null)
|
|
23460
|
-
return fu(t, j1(li.current)), t.flags |=
|
|
23460
|
+
return fu(t, j1(li.current)), t.flags |= rt, null;
|
|
23461
23461
|
var A = t.child, M = A.childLanes;
|
|
23462
23462
|
if (tr(s, M))
|
|
23463
23463
|
return qv(e, t, s);
|
|
@@ -23469,11 +23469,11 @@ Check the render method of \`` + u + "`.");
|
|
|
23469
23469
|
break;
|
|
23470
23470
|
}
|
|
23471
23471
|
case $e: {
|
|
23472
|
-
var G = (e.flags &
|
|
23472
|
+
var G = (e.flags & rt) !== Ze, te = tr(s, t.childLanes);
|
|
23473
23473
|
if (G) {
|
|
23474
23474
|
if (te)
|
|
23475
23475
|
return Yv(e, t, s);
|
|
23476
|
-
t.flags |=
|
|
23476
|
+
t.flags |= rt;
|
|
23477
23477
|
}
|
|
23478
23478
|
var oe = t.memoizedState;
|
|
23479
23479
|
if (oe !== null && (oe.rendering = null, oe.tail = null, oe.lastEffect = null), fu(t, li.current), te)
|
|
@@ -23498,7 +23498,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23498
23498
|
var g = Dg(e, s);
|
|
23499
23499
|
if (!g && // If this is the second pass of an error or suspense boundary, there
|
|
23500
23500
|
// may not be work scheduled on `current`, so we check for this flag.
|
|
23501
|
-
(t.flags &
|
|
23501
|
+
(t.flags & rt) === Ze)
|
|
23502
23502
|
return di = !1, LR(e, t, s);
|
|
23503
23503
|
(e.flags & sc) !== Ze ? di = !0 : di = !1;
|
|
23504
23504
|
}
|
|
@@ -23628,7 +23628,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23628
23628
|
function Pa(e) {
|
|
23629
23629
|
var t = e.alternate !== null && e.alternate.child === e.child, s = fe, u = Ze;
|
|
23630
23630
|
if (t) {
|
|
23631
|
-
if ((e.mode &
|
|
23631
|
+
if ((e.mode & ot) !== ze) {
|
|
23632
23632
|
for (var m = e.selfBaseDuration, g = e.child; g !== null; )
|
|
23633
23633
|
s = pt(s, pt(g.lanes, g.childLanes)), u |= g.subtreeFlags & Jn, u |= g.flags & Jn, m += g.treeBaseDuration, g = g.sibling;
|
|
23634
23634
|
e.treeBaseDuration = m;
|
|
@@ -23637,7 +23637,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23637
23637
|
s = pt(s, pt(T.lanes, T.childLanes)), u |= T.subtreeFlags & Jn, u |= T.flags & Jn, T.return = e, T = T.sibling;
|
|
23638
23638
|
e.subtreeFlags |= u;
|
|
23639
23639
|
} else {
|
|
23640
|
-
if ((e.mode &
|
|
23640
|
+
if ((e.mode & ot) !== ze) {
|
|
23641
23641
|
for (var C = e.actualDuration, _ = e.selfBaseDuration, A = e.child; A !== null; )
|
|
23642
23642
|
s = pt(s, pt(A.lanes, A.childLanes)), u |= A.subtreeFlags, u |= A.flags, C += A.actualDuration, _ += A.treeBaseDuration, A = A.sibling;
|
|
23643
23643
|
e.actualDuration = C, e.treeBaseDuration = _;
|
|
@@ -23649,14 +23649,14 @@ Check the render method of \`` + u + "`.");
|
|
|
23649
23649
|
return e.childLanes = s, t;
|
|
23650
23650
|
}
|
|
23651
23651
|
function AR(e, t, s) {
|
|
23652
|
-
if (gN() && (t.mode & He) !== ze && (t.flags &
|
|
23652
|
+
if (gN() && (t.mode & He) !== ze && (t.flags & rt) === Ze)
|
|
23653
23653
|
return x7(t), $1(), t.flags |= pn | dr | jn, !1;
|
|
23654
23654
|
var u = N3(t);
|
|
23655
23655
|
if (s !== null && s.dehydrated !== null)
|
|
23656
23656
|
if (e === null) {
|
|
23657
23657
|
if (!u)
|
|
23658
23658
|
throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");
|
|
23659
|
-
if (pN(t), Pa(t), (t.mode &
|
|
23659
|
+
if (pN(t), Pa(t), (t.mode & ot) !== ze) {
|
|
23660
23660
|
var m = s !== null;
|
|
23661
23661
|
if (m) {
|
|
23662
23662
|
var g = t.child;
|
|
@@ -23665,7 +23665,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23665
23665
|
}
|
|
23666
23666
|
return !1;
|
|
23667
23667
|
} else {
|
|
23668
|
-
if ($1(), (t.flags &
|
|
23668
|
+
if ($1(), (t.flags & rt) === Ze && (t.memoizedState = null), t.flags |= ht, Pa(t), (t.mode & ot) !== ze) {
|
|
23669
23669
|
var T = s !== null;
|
|
23670
23670
|
if (T) {
|
|
23671
23671
|
var C = t.child;
|
|
@@ -23752,8 +23752,8 @@ Check the render method of \`` + u + "`.");
|
|
|
23752
23752
|
if (!St)
|
|
23753
23753
|
return t.flags & jn ? t : null;
|
|
23754
23754
|
}
|
|
23755
|
-
if ((t.flags &
|
|
23756
|
-
return t.lanes = s, (t.mode &
|
|
23755
|
+
if ((t.flags & rt) !== Ze)
|
|
23756
|
+
return t.lanes = s, (t.mode & ot) !== ze && sg(t), t;
|
|
23757
23757
|
var bt = Je !== null, Z = e !== null && e.memoizedState !== null;
|
|
23758
23758
|
if (bt !== Z && bt) {
|
|
23759
23759
|
var le = t.child;
|
|
@@ -23763,7 +23763,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23763
23763
|
}
|
|
23764
23764
|
}
|
|
23765
23765
|
var Te = t.updateQueue;
|
|
23766
|
-
if (Te !== null && (t.flags |= ht), Pa(t), (t.mode &
|
|
23766
|
+
if (Te !== null && (t.flags |= ht), Pa(t), (t.mode & ot) !== ze && bt) {
|
|
23767
23767
|
var xe = t.child;
|
|
23768
23768
|
xe !== null && (t.treeBaseDuration -= xe.treeBaseDuration);
|
|
23769
23769
|
}
|
|
@@ -23783,34 +23783,34 @@ Check the render method of \`` + u + "`.");
|
|
|
23783
23783
|
var dt = t.memoizedState;
|
|
23784
23784
|
if (dt === null)
|
|
23785
23785
|
return Pa(t), null;
|
|
23786
|
-
var Gt = (t.flags &
|
|
23786
|
+
var Gt = (t.flags & rt) !== Ze, Pt = dt.rendering;
|
|
23787
23787
|
if (Pt === null)
|
|
23788
23788
|
if (Gt)
|
|
23789
23789
|
V2(dt, !1);
|
|
23790
23790
|
else {
|
|
23791
|
-
var Vn = MO() && (e === null || (e.flags &
|
|
23791
|
+
var Vn = MO() && (e === null || (e.flags & rt) === Ze);
|
|
23792
23792
|
if (!Vn)
|
|
23793
23793
|
for (var Mt = t.child; Mt !== null; ) {
|
|
23794
23794
|
var Rn = G3(Mt);
|
|
23795
23795
|
if (Rn !== null) {
|
|
23796
|
-
Gt = !0, t.flags |=
|
|
23796
|
+
Gt = !0, t.flags |= rt, V2(dt, !1);
|
|
23797
23797
|
var or = Rn.updateQueue;
|
|
23798
23798
|
return or !== null && (t.updateQueue = or, t.flags |= ht), t.subtreeFlags = Ze, wN(t, s), fu(t, P8(li.current, _2)), t.child;
|
|
23799
23799
|
}
|
|
23800
23800
|
Mt = Mt.sibling;
|
|
23801
23801
|
}
|
|
23802
|
-
dt.tail !== null && on() > CT() && (t.flags |=
|
|
23802
|
+
dt.tail !== null && on() > CT() && (t.flags |= rt, Gt = !0, V2(dt, !1), t.lanes = Np);
|
|
23803
23803
|
}
|
|
23804
23804
|
else {
|
|
23805
23805
|
if (!Gt) {
|
|
23806
23806
|
var Va = G3(Pt);
|
|
23807
23807
|
if (Va !== null) {
|
|
23808
|
-
t.flags |=
|
|
23808
|
+
t.flags |= rt, Gt = !0;
|
|
23809
23809
|
var fo = Va.updateQueue;
|
|
23810
23810
|
if (fo !== null && (t.updateQueue = fo, t.flags |= ht), V2(dt, !0), dt.tail === null && dt.tailMode === "hidden" && !Pt.alternate && !Aa())
|
|
23811
23811
|
return Pa(t), null;
|
|
23812
23812
|
} else
|
|
23813
|
-
on() * 2 - dt.renderingStartTime > CT() && s !== va && (t.flags |=
|
|
23813
|
+
on() * 2 - dt.renderingStartTime > CT() && s !== va && (t.flags |= rt, Gt = !0, V2(dt, !1), t.lanes = Np);
|
|
23814
23814
|
}
|
|
23815
23815
|
if (dt.isBackwards)
|
|
23816
23816
|
Pt.sibling = t.child, t.child = Pt;
|
|
@@ -23853,12 +23853,12 @@ Check the render method of \`` + u + "`.");
|
|
|
23853
23853
|
var u = t.type;
|
|
23854
23854
|
$i(u) && S3(t);
|
|
23855
23855
|
var m = t.flags;
|
|
23856
|
-
return m & jn ? (t.flags = m & ~jn |
|
|
23856
|
+
return m & jn ? (t.flags = m & ~jn | rt, (t.mode & ot) !== ze && sg(t), t) : null;
|
|
23857
23857
|
}
|
|
23858
23858
|
case I: {
|
|
23859
23859
|
t.stateNode, q1(t), o8(t), D8();
|
|
23860
23860
|
var g = t.flags;
|
|
23861
|
-
return (g & jn) !== Ze && (g &
|
|
23861
|
+
return (g & jn) !== Ze && (g & rt) === Ze ? (t.flags = g & ~jn | rt, t) : null;
|
|
23862
23862
|
}
|
|
23863
23863
|
case L:
|
|
23864
23864
|
return A8(t), null;
|
|
@@ -23871,7 +23871,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23871
23871
|
$1();
|
|
23872
23872
|
}
|
|
23873
23873
|
var C = t.flags;
|
|
23874
|
-
return C & jn ? (t.flags = C & ~jn |
|
|
23874
|
+
return C & jn ? (t.flags = C & ~jn | rt, (t.mode & ot) !== ze && sg(t), t) : null;
|
|
23875
23875
|
}
|
|
23876
23876
|
case $e:
|
|
23877
23877
|
return W1(t), null;
|
|
@@ -23932,7 +23932,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23932
23932
|
}), v0();
|
|
23933
23933
|
}
|
|
23934
23934
|
var DR = function(e, t) {
|
|
23935
|
-
if (t.props = e.memoizedProps, t.state = e.memoizedState, e.mode &
|
|
23935
|
+
if (t.props = e.memoizedProps, t.state = e.memoizedState, e.mode & ot)
|
|
23936
23936
|
try {
|
|
23937
23937
|
ji(), t.componentWillUnmount();
|
|
23938
23938
|
} finally {
|
|
@@ -23975,7 +23975,7 @@ Check the render method of \`` + u + "`.");
|
|
|
23975
23975
|
if (typeof s == "function") {
|
|
23976
23976
|
var u;
|
|
23977
23977
|
try {
|
|
23978
|
-
if (gt && st && e.mode &
|
|
23978
|
+
if (gt && st && e.mode & ot)
|
|
23979
23979
|
try {
|
|
23980
23980
|
ji(), u = s(null);
|
|
23981
23981
|
} finally {
|
|
@@ -24146,7 +24146,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24146
24146
|
case K:
|
|
24147
24147
|
case ne: {
|
|
24148
24148
|
if (!Ma)
|
|
24149
|
-
if (s.mode &
|
|
24149
|
+
if (s.mode & ot)
|
|
24150
24150
|
try {
|
|
24151
24151
|
ji(), gu(aa | na, s);
|
|
24152
24152
|
} finally {
|
|
@@ -24160,7 +24160,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24160
24160
|
var m = s.stateNode;
|
|
24161
24161
|
if (s.flags & ht && !Ma)
|
|
24162
24162
|
if (t === null)
|
|
24163
|
-
if (s.type === s.elementType && !$c && (m.props !== s.memoizedProps && f("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", ft(s) || "instance"), m.state !== s.memoizedState && f("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", ft(s) || "instance")), s.mode &
|
|
24163
|
+
if (s.type === s.elementType && !$c && (m.props !== s.memoizedProps && f("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", ft(s) || "instance"), m.state !== s.memoizedState && f("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", ft(s) || "instance")), s.mode & ot)
|
|
24164
24164
|
try {
|
|
24165
24165
|
ji(), m.componentDidMount();
|
|
24166
24166
|
} finally {
|
|
@@ -24170,7 +24170,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24170
24170
|
m.componentDidMount();
|
|
24171
24171
|
else {
|
|
24172
24172
|
var g = s.elementType === s.type ? t.memoizedProps : ci(s.type, t.memoizedProps), T = t.memoizedState;
|
|
24173
|
-
if (s.type === s.elementType && !$c && (m.props !== s.memoizedProps && f("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", ft(s) || "instance"), m.state !== s.memoizedState && f("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", ft(s) || "instance")), s.mode &
|
|
24173
|
+
if (s.type === s.elementType && !$c && (m.props !== s.memoizedProps && f("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", ft(s) || "instance"), m.state !== s.memoizedState && f("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", ft(s) || "instance")), s.mode & ot)
|
|
24174
24174
|
try {
|
|
24175
24175
|
ji(), m.componentDidUpdate(g, T, m.__reactInternalSnapshotBeforeUpdate);
|
|
24176
24176
|
} finally {
|
|
@@ -24257,7 +24257,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24257
24257
|
case b:
|
|
24258
24258
|
case K:
|
|
24259
24259
|
case ne: {
|
|
24260
|
-
if (e.mode &
|
|
24260
|
+
if (e.mode & ot)
|
|
24261
24261
|
try {
|
|
24262
24262
|
ji(), iT(e, e.return);
|
|
24263
24263
|
} finally {
|
|
@@ -24325,7 +24325,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24325
24325
|
}
|
|
24326
24326
|
if (typeof t == "function") {
|
|
24327
24327
|
var m;
|
|
24328
|
-
if (e.mode &
|
|
24328
|
+
if (e.mode & ot)
|
|
24329
24329
|
try {
|
|
24330
24330
|
ji(), m = t(u);
|
|
24331
24331
|
} finally {
|
|
@@ -24494,7 +24494,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24494
24494
|
var A = _.next, M = A;
|
|
24495
24495
|
do {
|
|
24496
24496
|
var j = M, G = j.destroy, te = j.tag;
|
|
24497
|
-
G !== void 0 && ((te & zi) !== qr ? hh(s, t, G) : (te & aa) !== qr && (lo(s), s.mode &
|
|
24497
|
+
G !== void 0 && ((te & zi) !== qr ? hh(s, t, G) : (te & aa) !== qr && (lo(s), s.mode & ot ? (ji(), hh(s, t, G), qi(s)) : hh(s, t, G), Ml())), M = M.next;
|
|
24498
24498
|
} while (M !== A);
|
|
24499
24499
|
}
|
|
24500
24500
|
}
|
|
@@ -24599,7 +24599,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24599
24599
|
} catch (nt) {
|
|
24600
24600
|
en(e, e.return, nt);
|
|
24601
24601
|
}
|
|
24602
|
-
if (e.mode &
|
|
24602
|
+
if (e.mode & ot) {
|
|
24603
24603
|
try {
|
|
24604
24604
|
ji(), mi(aa | na, e, e.return);
|
|
24605
24605
|
} catch (nt) {
|
|
@@ -24800,7 +24800,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24800
24800
|
case K:
|
|
24801
24801
|
case se:
|
|
24802
24802
|
case ne: {
|
|
24803
|
-
if (t.mode &
|
|
24803
|
+
if (t.mode & ot)
|
|
24804
24804
|
try {
|
|
24805
24805
|
ji(), mi(aa, t, t.return);
|
|
24806
24806
|
} finally {
|
|
@@ -24919,7 +24919,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24919
24919
|
case b:
|
|
24920
24920
|
case K:
|
|
24921
24921
|
case ne: {
|
|
24922
|
-
if (t.mode &
|
|
24922
|
+
if (t.mode & ot) {
|
|
24923
24923
|
ig();
|
|
24924
24924
|
try {
|
|
24925
24925
|
gu(xa | na, t);
|
|
@@ -24981,7 +24981,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24981
24981
|
case b:
|
|
24982
24982
|
case K:
|
|
24983
24983
|
case ne: {
|
|
24984
|
-
e.mode &
|
|
24984
|
+
e.mode & ot ? (ig(), mi(xa | na, e, e.return), og(e)) : mi(xa | na, e, e.return);
|
|
24985
24985
|
break;
|
|
24986
24986
|
}
|
|
24987
24987
|
}
|
|
@@ -25013,7 +25013,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25013
25013
|
case b:
|
|
25014
25014
|
case K:
|
|
25015
25015
|
case ne: {
|
|
25016
|
-
e.mode &
|
|
25016
|
+
e.mode & ot ? (ig(), mi(xa, e, t), og(e)) : mi(xa, e, t);
|
|
25017
25017
|
break;
|
|
25018
25018
|
}
|
|
25019
25019
|
}
|
|
@@ -25448,7 +25448,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25448
25448
|
la = $2, H2 = t, Tn = null;
|
|
25449
25449
|
return;
|
|
25450
25450
|
}
|
|
25451
|
-
if (gt && s.mode &
|
|
25451
|
+
if (gt && s.mode & ot && uh(s, !0), We)
|
|
25452
25452
|
if (Xa(), t !== null && typeof t == "object" && typeof t.then == "function") {
|
|
25453
25453
|
var u = t;
|
|
25454
25454
|
Cs(s, u, sa);
|
|
@@ -25545,7 +25545,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25545
25545
|
var t = e.alternate;
|
|
25546
25546
|
zt(e);
|
|
25547
25547
|
var s;
|
|
25548
|
-
(e.mode &
|
|
25548
|
+
(e.mode & ot) !== ze ? (rg(e), s = n5(t, e, Qi), uh(e, !0)) : s = n5(t, e, Qi), Pn(), e.memoizedProps = e.pendingProps, s === null ? PT(e) : Tn = s, Hg.current = null;
|
|
25549
25549
|
}
|
|
25550
25550
|
function PT(e) {
|
|
25551
25551
|
var t = e;
|
|
@@ -25554,7 +25554,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25554
25554
|
if ((t.flags & dr) === Ze) {
|
|
25555
25555
|
zt(t);
|
|
25556
25556
|
var m = void 0;
|
|
25557
|
-
if ((t.mode &
|
|
25557
|
+
if ((t.mode & ot) === ze ? m = aT(s, t, Qi) : (rg(t), m = aT(s, t, Qi), uh(t, !1)), Pn(), m !== null) {
|
|
25558
25558
|
Tn = m;
|
|
25559
25559
|
return;
|
|
25560
25560
|
}
|
|
@@ -25564,7 +25564,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
25564
25564
|
g.flags &= vp, Tn = g;
|
|
25565
25565
|
return;
|
|
25566
25566
|
}
|
|
25567
|
-
if ((t.mode &
|
|
25567
|
+
if ((t.mode & ot) !== ze) {
|
|
25568
25568
|
uh(t, !1);
|
|
25569
25569
|
for (var T = t.actualDuration, C = t.child; C !== null; )
|
|
25570
25570
|
T += C.actualDuration, C = C.sibling;
|
|
@@ -25803,7 +25803,7 @@ Error message:
|
|
|
25803
25803
|
} catch (g) {
|
|
25804
25804
|
if (uN() || g !== null && typeof g == "object" && typeof g.then == "function")
|
|
25805
25805
|
throw g;
|
|
25806
|
-
if (P3(), ev(), rT(e, t), jT(t, u), t.mode &
|
|
25806
|
+
if (P3(), ev(), rT(e, t), jT(t, u), t.mode & ot && rg(t), bs(null, Xv, null, e, t, s), g4()) {
|
|
25807
25807
|
var m = v0();
|
|
25808
25808
|
typeof m == "object" && m !== null && m._suppressLogging && typeof g == "object" && g !== null && !g._suppressLogging && (g._suppressLogging = !0);
|
|
25809
25809
|
}
|
|
@@ -26157,7 +26157,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
26157
26157
|
}
|
|
26158
26158
|
function dL(e, t, s) {
|
|
26159
26159
|
var u;
|
|
26160
|
-
return e === C3 ? (u = He, t === !0 && (u |= kt, u |= hr)) : u = ze, pr && (u |=
|
|
26160
|
+
return e === C3 ? (u = He, t === !0 && (u |= kt, u |= hr)) : u = ze, pr && (u |= ot), mo(I, null, null, u);
|
|
26161
26161
|
}
|
|
26162
26162
|
function m5(e, t, s, u, m, g) {
|
|
26163
26163
|
var T = E, C = e;
|
|
@@ -26230,7 +26230,7 @@ Check the render method of \`` + A + "`.");
|
|
|
26230
26230
|
}
|
|
26231
26231
|
function mL(e, t, s, u) {
|
|
26232
26232
|
typeof e.id != "string" && f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof e.id);
|
|
26233
|
-
var m = mo(W, e, u, t |
|
|
26233
|
+
var m = mo(W, e, u, t | ot);
|
|
26234
26234
|
return m.elementType = Du, m.lanes = s, m.stateNode = {
|
|
26235
26235
|
effectDuration: 0,
|
|
26236
26236
|
passiveEffectDuration: 0
|
|
@@ -30843,12 +30843,12 @@ const Vj = "m1ojpy2l", jC = ({ children: n, style: a }) => /* @__PURE__ */ N("di
|
|
|
30843
30843
|
}), _ne = () => Tf(Jj);
|
|
30844
30844
|
dw(() => import("./gamification-feature2.js"));
|
|
30845
30845
|
let O9 = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((a, o) => (o &= 63, o < 36 ? a += o.toString(36) : o < 62 ? a += (o - 26).toString(36).toUpperCase() : o > 62 ? a += "-" : a += "_", a), "");
|
|
30846
|
-
var
|
|
30846
|
+
var at;
|
|
30847
30847
|
(function(n) {
|
|
30848
30848
|
n[n.Canceled = 1] = "Canceled", n[n.Unknown = 2] = "Unknown", n[n.InvalidArgument = 3] = "InvalidArgument", n[n.DeadlineExceeded = 4] = "DeadlineExceeded", n[n.NotFound = 5] = "NotFound", n[n.AlreadyExists = 6] = "AlreadyExists", n[n.PermissionDenied = 7] = "PermissionDenied", n[n.ResourceExhausted = 8] = "ResourceExhausted", n[n.FailedPrecondition = 9] = "FailedPrecondition", n[n.Aborted = 10] = "Aborted", n[n.OutOfRange = 11] = "OutOfRange", n[n.Unimplemented = 12] = "Unimplemented", n[n.Internal = 13] = "Internal", n[n.Unavailable = 14] = "Unavailable", n[n.DataLoss = 15] = "DataLoss", n[n.Unauthenticated = 16] = "Unauthenticated";
|
|
30849
|
-
})(
|
|
30849
|
+
})(at || (at = {}));
|
|
30850
30850
|
function Bk(n) {
|
|
30851
|
-
const a =
|
|
30851
|
+
const a = at[n];
|
|
30852
30852
|
return typeof a != "string" ? n.toString() : a[0].toLowerCase() + a.substring(1).replace(/[A-Z]/g, (o) => "_" + o.toLowerCase());
|
|
30853
30853
|
}
|
|
30854
30854
|
class qt extends Error {
|
|
@@ -30859,7 +30859,7 @@ class qt extends Error {
|
|
|
30859
30859
|
* raise an error with details, and it is up to the protocol implementation
|
|
30860
30860
|
* to encode and send the details along with error.
|
|
30861
30861
|
*/
|
|
30862
|
-
constructor(a, o =
|
|
30862
|
+
constructor(a, o = at.Unknown, l, c, p) {
|
|
30863
30863
|
super(eW(a, o)), this.name = "ConnectError", Object.setPrototypeOf(this, new.target.prototype), this.rawMessage = a, this.code = o, this.metadata = new Headers(l ?? {}), this.details = c ?? [], this.cause = p;
|
|
30864
30864
|
}
|
|
30865
30865
|
/**
|
|
@@ -30874,8 +30874,8 @@ class qt extends Error {
|
|
|
30874
30874
|
* The original value will be used for the "cause" property for the new
|
|
30875
30875
|
* ConnectError.
|
|
30876
30876
|
*/
|
|
30877
|
-
static from(a, o =
|
|
30878
|
-
return a instanceof qt ? a : a instanceof Error ? a.name == "AbortError" ? new qt(a.message,
|
|
30877
|
+
static from(a, o = at.Unknown) {
|
|
30878
|
+
return a instanceof qt ? a : a instanceof Error ? a.name == "AbortError" ? new qt(a.message, at.Canceled) : new qt(a.message, o, void 0, void 0, a) : new qt(String(a), o, void 0, void 0, a);
|
|
30879
30879
|
}
|
|
30880
30880
|
static [Symbol.hasInstance](a) {
|
|
30881
30881
|
return a instanceof Error ? Object.getPrototypeOf(a) === qt.prototype ? !0 : a.name === "ConnectError" && "code" in a && typeof a.code == "number" && "metadata" in a && "details" in a && Array.isArray(a.details) && "rawMessage" in a && typeof a.rawMessage == "string" && "cause" in a : !1;
|
|
@@ -30907,7 +30907,7 @@ function tW(n, a, o) {
|
|
|
30907
30907
|
const l = oy.dec(n);
|
|
30908
30908
|
return a ? a.fromBinary(l, o) : l;
|
|
30909
30909
|
} catch (l) {
|
|
30910
|
-
throw qt.from(l,
|
|
30910
|
+
throw qt.from(l, at.DataLoss);
|
|
30911
30911
|
}
|
|
30912
30912
|
}
|
|
30913
30913
|
function nW(n, a) {
|
|
@@ -30953,7 +30953,7 @@ function zk(n) {
|
|
|
30953
30953
|
c.close();
|
|
30954
30954
|
return;
|
|
30955
30955
|
}
|
|
30956
|
-
c.error(new qt("premature end of stream",
|
|
30956
|
+
c.error(new qt("premature end of stream", at.DataLoss));
|
|
30957
30957
|
return;
|
|
30958
30958
|
}
|
|
30959
30959
|
const f = o.subarray(5, 5 + p.length);
|
|
@@ -31162,9 +31162,9 @@ function dW(n, a, o) {
|
|
|
31162
31162
|
}
|
|
31163
31163
|
}
|
|
31164
31164
|
if (!O)
|
|
31165
|
-
throw new qt("protocol error: missing response message",
|
|
31165
|
+
throw new qt("protocol error: missing response message", at.Unimplemented);
|
|
31166
31166
|
if (L > 1)
|
|
31167
|
-
throw new qt("protocol error: received extra messages for client streaming method",
|
|
31167
|
+
throw new qt("protocol error: received extra messages for client streaming method", at.Unimplemented);
|
|
31168
31168
|
return (E = c == null ? void 0 : c.onTrailer) === null || E === void 0 || E.call(c, I.trailer), O;
|
|
31169
31169
|
};
|
|
31170
31170
|
}
|
|
@@ -31205,7 +31205,7 @@ function fW(...n) {
|
|
|
31205
31205
|
}
|
|
31206
31206
|
function pW(n) {
|
|
31207
31207
|
const a = new AbortController(), o = () => {
|
|
31208
|
-
a.abort(new qt("the operation timed out",
|
|
31208
|
+
a.abort(new qt("the operation timed out", at.DeadlineExceeded));
|
|
31209
31209
|
};
|
|
31210
31210
|
let l;
|
|
31211
31211
|
return n !== void 0 && (n <= 0 ? o() : l = setTimeout(o, n)), {
|
|
@@ -31308,7 +31308,7 @@ function ZC(n) {
|
|
|
31308
31308
|
if (l === SW)
|
|
31309
31309
|
return;
|
|
31310
31310
|
const c = parseInt(l, 10);
|
|
31311
|
-
return c in
|
|
31311
|
+
return c in at ? new qt(decodeURIComponent((a = n.get(KC)) !== null && a !== void 0 ? a : ""), c, n) : new qt(`invalid grpc-status: ${l}`, at.Internal, n);
|
|
31312
31312
|
}
|
|
31313
31313
|
}
|
|
31314
31314
|
function jk(n, a, o) {
|
|
@@ -31358,7 +31358,7 @@ function Qk(n, a) {
|
|
|
31358
31358
|
return n.fromBinary(o, a);
|
|
31359
31359
|
} catch (l) {
|
|
31360
31360
|
const c = l instanceof Error ? l.message : String(l);
|
|
31361
|
-
throw new qt(`parse binary: ${c}`,
|
|
31361
|
+
throw new qt(`parse binary: ${c}`, at.Internal);
|
|
31362
31362
|
}
|
|
31363
31363
|
},
|
|
31364
31364
|
serialize(o) {
|
|
@@ -31366,7 +31366,7 @@ function Qk(n, a) {
|
|
|
31366
31366
|
return o.toBinary(a);
|
|
31367
31367
|
} catch (l) {
|
|
31368
31368
|
const c = l instanceof Error ? l.message : String(l);
|
|
31369
|
-
throw new qt(`serialize binary: ${c}`,
|
|
31369
|
+
throw new qt(`serialize binary: ${c}`, at.Internal);
|
|
31370
31370
|
}
|
|
31371
31371
|
}
|
|
31372
31372
|
};
|
|
@@ -31380,7 +31380,7 @@ function Yk(n, a) {
|
|
|
31380
31380
|
const b = p.decode(y);
|
|
31381
31381
|
return n.fromJsonString(b, f);
|
|
31382
31382
|
} catch (b) {
|
|
31383
|
-
throw qt.from(b,
|
|
31383
|
+
throw qt.from(b, at.InvalidArgument);
|
|
31384
31384
|
}
|
|
31385
31385
|
},
|
|
31386
31386
|
serialize(y) {
|
|
@@ -31388,7 +31388,7 @@ function Yk(n, a) {
|
|
|
31388
31388
|
const b = y.toJsonString(f);
|
|
31389
31389
|
return c.encode(b);
|
|
31390
31390
|
} catch (b) {
|
|
31391
|
-
throw qt.from(b,
|
|
31391
|
+
throw qt.from(b, at.Internal);
|
|
31392
31392
|
}
|
|
31393
31393
|
}
|
|
31394
31394
|
};
|
|
@@ -31445,7 +31445,7 @@ function Kk(n, a) {
|
|
|
31445
31445
|
o.metadata.append(c, l);
|
|
31446
31446
|
}), o;
|
|
31447
31447
|
if (!a.has(Im) && !n.has(Im))
|
|
31448
|
-
throw new qt("protocol error: missing status",
|
|
31448
|
+
throw new qt("protocol error: missing status", at.Internal);
|
|
31449
31449
|
}
|
|
31450
31450
|
function Zk(n, a, o, l) {
|
|
31451
31451
|
const c = new Headers(o ?? {});
|
|
@@ -31454,23 +31454,23 @@ function Zk(n, a, o, l) {
|
|
|
31454
31454
|
function NW(n) {
|
|
31455
31455
|
switch (n) {
|
|
31456
31456
|
case 400:
|
|
31457
|
-
return
|
|
31457
|
+
return at.Internal;
|
|
31458
31458
|
case 401:
|
|
31459
|
-
return
|
|
31459
|
+
return at.Unauthenticated;
|
|
31460
31460
|
case 403:
|
|
31461
|
-
return
|
|
31461
|
+
return at.PermissionDenied;
|
|
31462
31462
|
case 404:
|
|
31463
|
-
return
|
|
31463
|
+
return at.Unimplemented;
|
|
31464
31464
|
case 429:
|
|
31465
|
-
return
|
|
31465
|
+
return at.Unavailable;
|
|
31466
31466
|
case 502:
|
|
31467
|
-
return
|
|
31467
|
+
return at.Unavailable;
|
|
31468
31468
|
case 503:
|
|
31469
|
-
return
|
|
31469
|
+
return at.Unavailable;
|
|
31470
31470
|
case 504:
|
|
31471
|
-
return
|
|
31471
|
+
return at.Unavailable;
|
|
31472
31472
|
default:
|
|
31473
|
-
return
|
|
31473
|
+
return at.Unknown;
|
|
31474
31474
|
}
|
|
31475
31475
|
}
|
|
31476
31476
|
function Xk(n, a) {
|
|
@@ -31562,7 +31562,7 @@ function Jk(n) {
|
|
|
31562
31562
|
break;
|
|
31563
31563
|
const { flags: se, data: ne } = ee.value;
|
|
31564
31564
|
if ((se & $k) === $k)
|
|
31565
|
-
throw new qt("protocol error: received unsupported compressed output",
|
|
31565
|
+
throw new qt("protocol error: received unsupported compressed output", at.Internal);
|
|
31566
31566
|
if (se === $5) {
|
|
31567
31567
|
if (K !== void 0)
|
|
31568
31568
|
throw "extra trailer";
|
|
@@ -31570,13 +31570,13 @@ function Jk(n) {
|
|
|
31570
31570
|
continue;
|
|
31571
31571
|
}
|
|
31572
31572
|
if (W !== void 0)
|
|
31573
|
-
throw new qt("extra message",
|
|
31573
|
+
throw new qt("extra message", at.Unimplemented);
|
|
31574
31574
|
W = O(ne);
|
|
31575
31575
|
}
|
|
31576
31576
|
if (K === void 0)
|
|
31577
|
-
throw V !== void 0 ? V : new qt("missing trailer", B.headers.has(Im) ?
|
|
31577
|
+
throw V !== void 0 ? V : new qt("missing trailer", B.headers.has(Im) ? at.Unimplemented : at.Unknown);
|
|
31578
31578
|
if (Kk(K, B.headers), W === void 0)
|
|
31579
|
-
throw new qt("missing message", K.has(Im) ?
|
|
31579
|
+
throw new qt("missing message", K.has(Im) ? at.Unimplemented : at.Unknown);
|
|
31580
31580
|
return {
|
|
31581
31581
|
stream: !1,
|
|
31582
31582
|
service: l,
|
|
@@ -31873,7 +31873,7 @@ var lS;
|
|
|
31873
31873
|
n.Init = "init", n.Ready = "ready", n.Connecting = "connecting", n.Connected = "connected", n.Disconnected = "disconnected", n.Failed = "failed", n.Reconnect = "reconnect", n.Reconnecting = "reconnecting";
|
|
31874
31874
|
})(lS || (lS = {}));
|
|
31875
31875
|
Lm("grpc:stream");
|
|
31876
|
-
|
|
31876
|
+
at.Unknown, at.Internal, at.DeadlineExceeded, at.ResourceExhausted, at.FailedPrecondition, at.Unavailable, at.DataLoss;
|
|
31877
31877
|
Lm("grpc:retry");
|
|
31878
31878
|
v6(10, { description: "Number of attempts to retry" }), v6(3e4, { description: "Max delay between retries in milliseconds" });
|
|
31879
31879
|
const nE = /* @__PURE__ */ k.makeEnum(
|
|
@@ -37440,7 +37440,7 @@ class cX {
|
|
|
37440
37440
|
for await (const c of l)
|
|
37441
37441
|
this.attempt = 0, this.onData(c);
|
|
37442
37442
|
} catch (o) {
|
|
37443
|
-
o instanceof qt && o.code !=
|
|
37443
|
+
o instanceof qt && o.code != at.Canceled && this.onStreamError(o);
|
|
37444
37444
|
}
|
|
37445
37445
|
})(), this.updateState(gi.Connected);
|
|
37446
37446
|
});
|
|
@@ -37484,8 +37484,8 @@ class cX {
|
|
|
37484
37484
|
*/
|
|
37485
37485
|
U(this, "onStreamError", (a) => {
|
|
37486
37486
|
if (this.addStateLog(`error => ${a ? JSON.stringify(a) : "undefined"}}`), a !== void 0) {
|
|
37487
|
-
if (a instanceof qt && a.code !==
|
|
37488
|
-
this.updateState(gi.Failed), this.state.setValue("error", a), this.reconnect();
|
|
37487
|
+
if (a instanceof qt && a.code !== at.Canceled) {
|
|
37488
|
+
this.updateState(gi.Failed), this.state.setValue("error", a), a.code === at.Unknown && a.cause === "missing trailer" && (this.attempt = 0), this.reconnect();
|
|
37489
37489
|
return;
|
|
37490
37490
|
}
|
|
37491
37491
|
this.disconnect();
|
|
@@ -37508,13 +37508,13 @@ class cX {
|
|
|
37508
37508
|
}
|
|
37509
37509
|
}
|
|
37510
37510
|
const dX = /* @__PURE__ */ new Set([
|
|
37511
|
-
|
|
37512
|
-
|
|
37513
|
-
|
|
37514
|
-
|
|
37515
|
-
|
|
37516
|
-
|
|
37517
|
-
|
|
37511
|
+
at.Unknown,
|
|
37512
|
+
at.Internal,
|
|
37513
|
+
at.DeadlineExceeded,
|
|
37514
|
+
at.ResourceExhausted,
|
|
37515
|
+
at.FailedPrecondition,
|
|
37516
|
+
at.Unavailable,
|
|
37517
|
+
at.DataLoss
|
|
37518
37518
|
]), MS = ls("grpc:retry"), mX = (n) => async (a) => {
|
|
37519
37519
|
const o = a.contextValues.get(D9.retryAttempts), l = 300, c = a.contextValues.get(D9.retryDelay);
|
|
37520
37520
|
if (a.stream || o === 0)
|
|
@@ -38491,7 +38491,7 @@ const YX = async (n, a) => {
|
|
|
38491
38491
|
try {
|
|
38492
38492
|
return await o.submitAnswer({ data: a }, { contextValues: c });
|
|
38493
38493
|
} catch (f) {
|
|
38494
|
-
throw ((p = qt.from(f)) == null ? void 0 : p.code) ===
|
|
38494
|
+
throw ((p = qt.from(f)) == null ? void 0 : p.code) === at.AlreadyExists ? new Error(vf.ALREADY_VOTED) : new Error(vf.UNKNOWN);
|
|
38495
38495
|
}
|
|
38496
38496
|
}, KX = (n, a) => {
|
|
38497
38497
|
const { client: o, createRequestOptions: l } = n.createPromiseClient(Fo, { method: "submitInplay" }), c = l({ retryAttempts: 0 });
|
|
@@ -42461,7 +42461,7 @@ const une = ({
|
|
|
42461
42461
|
O = !0;
|
|
42462
42462
|
};
|
|
42463
42463
|
const L = lne(n, o, l, {
|
|
42464
|
-
version: "1.9.
|
|
42464
|
+
version: "1.9.8",
|
|
42465
42465
|
onDeepLinkHandled: c,
|
|
42466
42466
|
videoPlayerController: p,
|
|
42467
42467
|
onContentActivate: f,
|