livevegas-ui-kit 1.0.183 → 1.0.184
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.
|
@@ -14,11 +14,11 @@ function Xr() {
|
|
|
14
14
|
if (mn) return ct;
|
|
15
15
|
mn = 1;
|
|
16
16
|
var e = Ue, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
-
function o(l,
|
|
17
|
+
function o(l, d, c) {
|
|
18
18
|
var h, f = {}, b = null, p = null;
|
|
19
|
-
|
|
20
|
-
for (h in
|
|
21
|
-
if (l && l.defaultProps) for (h in
|
|
19
|
+
c !== void 0 && (b = "" + c), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (p = d.ref);
|
|
20
|
+
for (h in d) i.call(d, h) && !s.hasOwnProperty(h) && (f[h] = d[h]);
|
|
21
|
+
if (l && l.defaultProps) for (h in d = l.defaultProps, d) f[h] === void 0 && (f[h] = d[h]);
|
|
22
22
|
return { $$typeof: t, type: l, key: b, ref: p, props: f, _owner: r.current };
|
|
23
23
|
}
|
|
24
24
|
return ct.Fragment = n, ct.jsx = o, ct.jsxs = o, ct;
|
|
@@ -36,7 +36,7 @@ var dt = {};
|
|
|
36
36
|
var gn;
|
|
37
37
|
function Jr() {
|
|
38
38
|
return gn || (gn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
-
var e = Ue, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"),
|
|
39
|
+
var e = Ue, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), g = Symbol.iterator, x = "@@iterator";
|
|
40
40
|
function v(u) {
|
|
41
41
|
if (u === null || typeof u != "object")
|
|
42
42
|
return null;
|
|
@@ -64,7 +64,7 @@ function Jr() {
|
|
|
64
64
|
var j = !1, I = !1, B = !1, A = !1, D = !1, N;
|
|
65
65
|
N = Symbol.for("react.module.reference");
|
|
66
66
|
function O(u) {
|
|
67
|
-
return !!(typeof u == "string" || typeof u == "function" || u === i || u === s || D || u === r || u ===
|
|
67
|
+
return !!(typeof u == "string" || typeof u == "function" || u === i || u === s || D || u === r || u === c || u === h || A || u === p || j || I || B || typeof u == "object" && u !== null && (u.$$typeof === b || u.$$typeof === f || u.$$typeof === o || u.$$typeof === l || u.$$typeof === d || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
@@ -96,7 +96,7 @@ function Jr() {
|
|
|
96
96
|
return "Profiler";
|
|
97
97
|
case r:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case c:
|
|
100
100
|
return "Suspense";
|
|
101
101
|
case h:
|
|
102
102
|
return "SuspenseList";
|
|
@@ -109,7 +109,7 @@ function Jr() {
|
|
|
109
109
|
case o:
|
|
110
110
|
var k = u;
|
|
111
111
|
return te(k._context) + ".Provider";
|
|
112
|
-
case
|
|
112
|
+
case d:
|
|
113
113
|
return _(u, u.render, "ForwardRef");
|
|
114
114
|
case f:
|
|
115
115
|
var L = u.displayName || null;
|
|
@@ -125,14 +125,14 @@ function Jr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var V = Object.assign, se = 0,
|
|
128
|
+
var V = Object.assign, se = 0, X, ee, le, J, ne, q, Y;
|
|
129
129
|
function ce() {
|
|
130
130
|
}
|
|
131
131
|
ce.__reactDisabledLog = !0;
|
|
132
132
|
function Ce() {
|
|
133
133
|
{
|
|
134
134
|
if (se === 0) {
|
|
135
|
-
|
|
135
|
+
X = console.log, ee = console.info, le = console.warn, J = console.error, ne = console.group, q = console.groupCollapsed, Y = console.groupEnd;
|
|
136
136
|
var u = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
@@ -162,7 +162,7 @@ function Jr() {
|
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
164
|
log: V({}, u, {
|
|
165
|
-
value:
|
|
165
|
+
value: X
|
|
166
166
|
}),
|
|
167
167
|
info: V({}, u, {
|
|
168
168
|
value: ee
|
|
@@ -171,7 +171,7 @@ function Jr() {
|
|
|
171
171
|
value: le
|
|
172
172
|
}),
|
|
173
173
|
error: V({}, u, {
|
|
174
|
-
value:
|
|
174
|
+
value: J
|
|
175
175
|
}),
|
|
176
176
|
group: V({}, u, {
|
|
177
177
|
value: ne
|
|
@@ -292,14 +292,14 @@ function Jr() {
|
|
|
292
292
|
if (typeof u == "string")
|
|
293
293
|
return de(u);
|
|
294
294
|
switch (u) {
|
|
295
|
-
case
|
|
295
|
+
case c:
|
|
296
296
|
return de("Suspense");
|
|
297
297
|
case h:
|
|
298
298
|
return de("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof u == "object")
|
|
301
301
|
switch (u.$$typeof) {
|
|
302
|
-
case
|
|
302
|
+
case d:
|
|
303
303
|
return kr(u.render);
|
|
304
304
|
case f:
|
|
305
305
|
return vt(u.type, C, k);
|
|
@@ -539,7 +539,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
539
539
|
var k;
|
|
540
540
|
if (typeof C == "function")
|
|
541
541
|
k = C.propTypes;
|
|
542
|
-
else if (typeof C == "object" && (C.$$typeof ===
|
|
542
|
+
else if (typeof C == "object" && (C.$$typeof === d || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
544
|
C.$$typeof === f))
|
|
545
545
|
k = C.propTypes;
|
|
@@ -626,14 +626,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
process.env.NODE_ENV === "production" ? Ca.exports = Xr() : Ca.exports = Jr();
|
|
627
627
|
var a = Ca.exports;
|
|
628
628
|
const $r = (e, t, n, i) => {
|
|
629
|
-
var s, o, l,
|
|
629
|
+
var s, o, l, d;
|
|
630
630
|
const r = [n, {
|
|
631
631
|
code: t,
|
|
632
632
|
...i || {}
|
|
633
633
|
}];
|
|
634
634
|
if ((o = (s = e == null ? void 0 : e.services) == null ? void 0 : s.logger) != null && o.forward)
|
|
635
635
|
return e.services.logger.forward(r, "warn", "react-i18next::", !0);
|
|
636
|
-
We(r[0]) && (r[0] = `react-i18next:: ${r[0]}`), (
|
|
636
|
+
We(r[0]) && (r[0] = `react-i18next:: ${r[0]}`), (d = (l = e == null ? void 0 : e.services) == null ? void 0 : l.logger) != null && d.warn ? e.services.logger.warn(...r) : console != null && console.warn && console.warn(...r);
|
|
637
637
|
}, bn = {}, va = (e, t, n, i) => {
|
|
638
638
|
We(n) && bn[n] || (We(n) && (bn[n] = /* @__PURE__ */ new Date()), $r(e, t, n, i));
|
|
639
639
|
}, pi = (e, t) => () => {
|
|
@@ -746,12 +746,12 @@ const us = (e, t) => {
|
|
|
746
746
|
...t
|
|
747
747
|
}, {
|
|
748
748
|
useSuspense: l,
|
|
749
|
-
keyPrefix:
|
|
749
|
+
keyPrefix: d
|
|
750
750
|
} = o;
|
|
751
|
-
let
|
|
752
|
-
|
|
753
|
-
const h = (s.isInitialized || s.initializedStoreOnce) &&
|
|
754
|
-
let v =
|
|
751
|
+
let c = r || ((I = s.options) == null ? void 0 : I.defaultNS);
|
|
752
|
+
c = We(c) ? [c] : c || ["translation"], (A = (B = s.reportNamespaces).addUsedNamespaces) == null || A.call(B, c);
|
|
753
|
+
const h = (s.isInitialized || s.initializedStoreOnce) && c.every((D) => _r(D, s, o)), f = fs(s, t.lng || null, o.nsMode === "fallback" ? c : c[0], d), b = () => f, p = () => gi(s, t.lng || null, o.nsMode === "fallback" ? c : c[0], d), [g, x] = G(b);
|
|
754
|
+
let v = c.join();
|
|
755
755
|
t.lng && (v = `${t.lng}${v}`);
|
|
756
756
|
const w = us(v), y = _e(!0);
|
|
757
757
|
pe(() => {
|
|
@@ -759,9 +759,9 @@ const us = (e, t) => {
|
|
|
759
759
|
bindI18n: D,
|
|
760
760
|
bindI18nStore: N
|
|
761
761
|
} = o;
|
|
762
|
-
y.current = !0, !h && !l && (t.lng ? yn(s, t.lng,
|
|
762
|
+
y.current = !0, !h && !l && (t.lng ? yn(s, t.lng, c, () => {
|
|
763
763
|
y.current && x(p);
|
|
764
|
-
}) : ka(s,
|
|
764
|
+
}) : ka(s, c, () => {
|
|
765
765
|
y.current && x(p);
|
|
766
766
|
})), h && w && w !== v && y.current && x(p);
|
|
767
767
|
const O = () => {
|
|
@@ -772,11 +772,11 @@ const us = (e, t) => {
|
|
|
772
772
|
};
|
|
773
773
|
}, [s, v]), pe(() => {
|
|
774
774
|
y.current && h && x(b);
|
|
775
|
-
}, [s,
|
|
775
|
+
}, [s, d, h]);
|
|
776
776
|
const S = [g, s, h];
|
|
777
777
|
if (S.t = g, S.i18n = s, S.ready = h, h || !h && !l) return S;
|
|
778
778
|
throw new Promise((D) => {
|
|
779
|
-
t.lng ? yn(s, t.lng,
|
|
779
|
+
t.lng ? yn(s, t.lng, c, () => D()) : ka(s, c, () => D());
|
|
780
780
|
});
|
|
781
781
|
};
|
|
782
782
|
var be = function() {
|
|
@@ -804,7 +804,7 @@ var ms = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
804
804
|
return ms.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
805
805
|
}
|
|
806
806
|
/* Z+1 */
|
|
807
|
-
),
|
|
807
|
+
), $ = "-ms-", mt = "-moz-", K = "-webkit-", bi = "comm", ta = "rule", Va = "decl", bs = "@import", yi = "@keyframes", ys = "@layer", xi = Math.abs, Ga = String.fromCharCode, ja = Object.assign;
|
|
808
808
|
function xs(e, t) {
|
|
809
809
|
return oe(e, 0) ^ 45 ? (((t << 2 ^ oe(e, 0)) << 2 ^ oe(e, 1)) << 2 ^ oe(e, 2)) << 2 ^ oe(e, 3) : 0;
|
|
810
810
|
}
|
|
@@ -956,12 +956,12 @@ function Bs(e) {
|
|
|
956
956
|
function Ls(e) {
|
|
957
957
|
return As(Vt("", null, null, null, [""], e = ks(e), 0, [0], e));
|
|
958
958
|
}
|
|
959
|
-
function Vt(e, t, n, i, r, s, o, l,
|
|
960
|
-
for (var
|
|
959
|
+
function Vt(e, t, n, i, r, s, o, l, d) {
|
|
960
|
+
for (var c = 0, h = 0, f = o, b = 0, p = 0, g = 0, x = 1, v = 1, w = 1, y = 0, S = "", j = r, I = s, B = i, A = S; v; )
|
|
961
961
|
switch (g = y, y = Be()) {
|
|
962
962
|
case 40:
|
|
963
963
|
if (g != 108 && oe(A, f - 1) == 58) {
|
|
964
|
-
Rt(A += P(ma(y), "&", "&\f"), "&\f", xi(
|
|
964
|
+
Rt(A += P(ma(y), "&", "&\f"), "&\f", xi(c ? l[c - 1] : 0)) != -1 && (w = -1);
|
|
965
965
|
break;
|
|
966
966
|
}
|
|
967
967
|
case 34:
|
|
@@ -982,14 +982,14 @@ function Vt(e, t, n, i, r, s, o, l, c) {
|
|
|
982
982
|
switch (Ve()) {
|
|
983
983
|
case 42:
|
|
984
984
|
case 47:
|
|
985
|
-
pt(Ts(Is(Be(), Wt()), t, n,
|
|
985
|
+
pt(Ts(Is(Be(), Wt()), t, n, d), d);
|
|
986
986
|
break;
|
|
987
987
|
default:
|
|
988
988
|
A += "/";
|
|
989
989
|
}
|
|
990
990
|
break;
|
|
991
991
|
case 123 * x:
|
|
992
|
-
l[
|
|
992
|
+
l[c++] = Te(A) * w;
|
|
993
993
|
case 125 * x:
|
|
994
994
|
case 59:
|
|
995
995
|
case 0:
|
|
@@ -998,12 +998,12 @@ function Vt(e, t, n, i, r, s, o, l, c) {
|
|
|
998
998
|
case 125:
|
|
999
999
|
v = 0;
|
|
1000
1000
|
case 59 + h:
|
|
1001
|
-
w == -1 && (A = P(A, /\f/g, "")), p > 0 && Te(A) - f && pt(p > 32 ? Cn(A + ";", i, n, f - 1,
|
|
1001
|
+
w == -1 && (A = P(A, /\f/g, "")), p > 0 && Te(A) - f && pt(p > 32 ? Cn(A + ";", i, n, f - 1, d) : Cn(P(A, " ", "") + ";", i, n, f - 2, d), d);
|
|
1002
1002
|
break;
|
|
1003
1003
|
case 59:
|
|
1004
1004
|
A += ";";
|
|
1005
1005
|
default:
|
|
1006
|
-
if (pt(B = wn(A, t, n,
|
|
1006
|
+
if (pt(B = wn(A, t, n, c, h, r, l, S, j = [], I = [], f, s), s), y === 123)
|
|
1007
1007
|
if (h === 0)
|
|
1008
1008
|
Vt(A, t, B, B, j, s, f, l, I);
|
|
1009
1009
|
else
|
|
@@ -1018,7 +1018,7 @@ function Vt(e, t, n, i, r, s, o, l, c) {
|
|
|
1018
1018
|
Vt(A, B, B, B, [""], I, 0, l, I);
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
|
|
1021
|
+
c = h = p = 0, x = w = 1, S = A = "", f = o;
|
|
1022
1022
|
break;
|
|
1023
1023
|
case 58:
|
|
1024
1024
|
f = 1 + Te(A), p = g;
|
|
@@ -1034,7 +1034,7 @@ function Vt(e, t, n, i, r, s, o, l, c) {
|
|
|
1034
1034
|
w = h > 0 ? 1 : (A += "\f", -1);
|
|
1035
1035
|
break;
|
|
1036
1036
|
case 44:
|
|
1037
|
-
l[
|
|
1037
|
+
l[c++] = (Te(A) - 1) * w, w = 1;
|
|
1038
1038
|
break;
|
|
1039
1039
|
case 64:
|
|
1040
1040
|
Ve() === 45 && (A += ma(Be())), b = Ve(), h = f = Te(S = A += Bs(Wt())), y++;
|
|
@@ -1045,11 +1045,11 @@ function Vt(e, t, n, i, r, s, o, l, c) {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
return s;
|
|
1047
1047
|
}
|
|
1048
|
-
function wn(e, t, n, i, r, s, o, l,
|
|
1048
|
+
function wn(e, t, n, i, r, s, o, l, d, c, h, f) {
|
|
1049
1049
|
for (var b = r - 1, p = r === 0 ? s : [""], g = Ci(p), x = 0, v = 0, w = 0; x < i; ++x)
|
|
1050
1050
|
for (var y = 0, S = et(e, b + 1, b = xi(v = o[x])), j = e; y < g; ++y)
|
|
1051
|
-
(j = wi(v > 0 ? p[y] + " " + S : P(S, /&\f/g, p[y]))) && (
|
|
1052
|
-
return na(e, t, n, r === 0 ? ta : l,
|
|
1051
|
+
(j = wi(v > 0 ? p[y] + " " + S : P(S, /&\f/g, p[y]))) && (d[w++] = j);
|
|
1052
|
+
return na(e, t, n, r === 0 ? ta : l, d, c, h, f);
|
|
1053
1053
|
}
|
|
1054
1054
|
function Ts(e, t, n, i) {
|
|
1055
1055
|
return na(e, t, n, bi, Ga(Cs()), et(e, 2, -2), 0, i);
|
|
@@ -1094,34 +1094,34 @@ function ki(e, t, n) {
|
|
|
1094
1094
|
case 4810:
|
|
1095
1095
|
case 6968:
|
|
1096
1096
|
case 2756:
|
|
1097
|
-
return K + e + mt + e +
|
|
1097
|
+
return K + e + mt + e + $ + e + e;
|
|
1098
1098
|
case 5936:
|
|
1099
1099
|
switch (oe(e, t + 11)) {
|
|
1100
1100
|
case 114:
|
|
1101
|
-
return K + e +
|
|
1101
|
+
return K + e + $ + P(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1102
1102
|
case 108:
|
|
1103
|
-
return K + e +
|
|
1103
|
+
return K + e + $ + P(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1104
1104
|
case 45:
|
|
1105
|
-
return K + e +
|
|
1105
|
+
return K + e + $ + P(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1106
1106
|
}
|
|
1107
1107
|
case 6828:
|
|
1108
1108
|
case 4268:
|
|
1109
1109
|
case 2903:
|
|
1110
|
-
return K + e +
|
|
1110
|
+
return K + e + $ + e + e;
|
|
1111
1111
|
case 6165:
|
|
1112
|
-
return K + e +
|
|
1112
|
+
return K + e + $ + "flex-" + e + e;
|
|
1113
1113
|
case 5187:
|
|
1114
|
-
return K + e + P(e, /(\w+).+(:[^]+)/, K + "box-$1$2" +
|
|
1114
|
+
return K + e + P(e, /(\w+).+(:[^]+)/, K + "box-$1$2" + $ + "flex-$1$2") + e;
|
|
1115
1115
|
case 5443:
|
|
1116
|
-
return K + e +
|
|
1116
|
+
return K + e + $ + "flex-item-" + P(e, /flex-|-self/g, "") + (De(e, /flex-|baseline/) ? "" : $ + "grid-row-" + P(e, /flex-|-self/g, "")) + e;
|
|
1117
1117
|
case 4675:
|
|
1118
|
-
return K + e +
|
|
1118
|
+
return K + e + $ + "flex-line-pack" + P(e, /align-content|flex-|-self/g, "") + e;
|
|
1119
1119
|
case 5548:
|
|
1120
|
-
return K + e +
|
|
1120
|
+
return K + e + $ + P(e, "shrink", "negative") + e;
|
|
1121
1121
|
case 5292:
|
|
1122
|
-
return K + e +
|
|
1122
|
+
return K + e + $ + P(e, "basis", "preferred-size") + e;
|
|
1123
1123
|
case 6060:
|
|
1124
|
-
return K + "box-" + P(e, "-grow", "") + K + e +
|
|
1124
|
+
return K + "box-" + P(e, "-grow", "") + K + e + $ + P(e, "grow", "positive") + e;
|
|
1125
1125
|
case 4554:
|
|
1126
1126
|
return K + P(e, /([^-])(transform)/g, "$1" + K + "$2") + e;
|
|
1127
1127
|
case 6187:
|
|
@@ -1130,23 +1130,23 @@ function ki(e, t, n) {
|
|
|
1130
1130
|
case 3959:
|
|
1131
1131
|
return P(e, /(image-set\([^]*)/, K + "$1$`$1");
|
|
1132
1132
|
case 4968:
|
|
1133
|
-
return P(P(e, /(.+:)(flex-)?(.*)/, K + "box-pack:$3" +
|
|
1133
|
+
return P(P(e, /(.+:)(flex-)?(.*)/, K + "box-pack:$3" + $ + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + K + e + e;
|
|
1134
1134
|
case 4200:
|
|
1135
|
-
if (!De(e, /flex-|baseline/)) return
|
|
1135
|
+
if (!De(e, /flex-|baseline/)) return $ + "grid-column-align" + et(e, t) + e;
|
|
1136
1136
|
break;
|
|
1137
1137
|
case 2592:
|
|
1138
1138
|
case 3360:
|
|
1139
|
-
return
|
|
1139
|
+
return $ + P(e, "template-", "") + e;
|
|
1140
1140
|
case 4384:
|
|
1141
1141
|
case 3616:
|
|
1142
1142
|
return n && n.some(function(i, r) {
|
|
1143
1143
|
return t = r, De(i.props, /grid-\w+-end/);
|
|
1144
|
-
}) ? ~Rt(e + (n = n[t].value), "span", 0) ? e :
|
|
1144
|
+
}) ? ~Rt(e + (n = n[t].value), "span", 0) ? e : $ + P(e, "-start", "") + e + $ + "grid-row-span:" + (~Rt(n, "span", 0) ? De(n, /\d+/) : +De(n, /\d+/) - +De(e, /\d+/)) + ";" : $ + P(e, "-start", "") + e;
|
|
1145
1145
|
case 4896:
|
|
1146
1146
|
case 4128:
|
|
1147
1147
|
return n && n.some(function(i) {
|
|
1148
1148
|
return De(i.props, /grid-\w+-start/);
|
|
1149
|
-
}) ? e :
|
|
1149
|
+
}) ? e : $ + P(P(e, "-end", "-span"), "span ", "") + e;
|
|
1150
1150
|
case 4095:
|
|
1151
1151
|
case 3583:
|
|
1152
1152
|
case 4068:
|
|
@@ -1177,8 +1177,8 @@ function ki(e, t, n) {
|
|
|
1177
1177
|
break;
|
|
1178
1178
|
case 5152:
|
|
1179
1179
|
case 5920:
|
|
1180
|
-
return P(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(i, r, s, o, l,
|
|
1181
|
-
return
|
|
1180
|
+
return P(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(i, r, s, o, l, d, c) {
|
|
1181
|
+
return $ + r + ":" + s + c + (o ? $ + r + "-span:" + (l ? d : +d - +s) + c : "") + e;
|
|
1182
1182
|
});
|
|
1183
1183
|
case 4949:
|
|
1184
1184
|
if (oe(e, t + 6) === 121)
|
|
@@ -1187,9 +1187,9 @@ function ki(e, t, n) {
|
|
|
1187
1187
|
case 6444:
|
|
1188
1188
|
switch (oe(e, oe(e, 14) === 45 ? 18 : 11)) {
|
|
1189
1189
|
case 120:
|
|
1190
|
-
return P(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + K + (oe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + K + "$2$3$1" +
|
|
1190
|
+
return P(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + K + (oe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + K + "$2$3$1" + $ + "$2box$3") + e;
|
|
1191
1191
|
case 100:
|
|
1192
|
-
return P(e, ":", ":" +
|
|
1192
|
+
return P(e, ":", ":" + $) + e;
|
|
1193
1193
|
}
|
|
1194
1194
|
break;
|
|
1195
1195
|
case 5719:
|
|
@@ -1252,7 +1252,7 @@ function Hs(e, t, n, i) {
|
|
|
1252
1252
|
Qe(Fe(e, { props: [P(r, /:(read-\w+)/, ":" + mt + "$1")] })), Qe(Fe(e, { props: [r] })), ja(e, { props: xn(n, i) });
|
|
1253
1253
|
break;
|
|
1254
1254
|
case "::placeholder":
|
|
1255
|
-
Qe(Fe(e, { props: [P(r, /:(plac\w+)/, ":" + K + "input-$1")] })), Qe(Fe(e, { props: [P(r, /:(plac\w+)/, ":" + mt + "$1")] })), Qe(Fe(e, { props: [P(r, /:(plac\w+)/,
|
|
1255
|
+
Qe(Fe(e, { props: [P(r, /:(plac\w+)/, ":" + K + "input-$1")] })), Qe(Fe(e, { props: [P(r, /:(plac\w+)/, ":" + mt + "$1")] })), Qe(Fe(e, { props: [P(r, /:(plac\w+)/, $ + "input-$1")] })), Qe(Fe(e, { props: [r] })), ja(e, { props: xn(n, i) });
|
|
1256
1256
|
break;
|
|
1257
1257
|
}
|
|
1258
1258
|
return "";
|
|
@@ -1318,7 +1318,7 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
|
|
|
1318
1318
|
try {
|
|
1319
1319
|
var s = !0;
|
|
1320
1320
|
console.error = function(o) {
|
|
1321
|
-
for (var l = [],
|
|
1321
|
+
for (var l = [], d = 1; d < arguments.length; d++) l[d - 1] = arguments[d];
|
|
1322
1322
|
vn.test(o) ? (s = !1, At.delete(i)) : r.apply(void 0, Ke([o], l, !1));
|
|
1323
1323
|
}, _e(), s && !At.has(i) && (console.warn(i), At.add(i));
|
|
1324
1324
|
} catch (o) {
|
|
@@ -1373,11 +1373,11 @@ function Di(e, t, n) {
|
|
|
1373
1373
|
var r = Ys(t);
|
|
1374
1374
|
Sn && (r = r.concat(Sn(t)));
|
|
1375
1375
|
for (var s = jn(e), o = jn(t), l = 0; l < r.length; ++l) {
|
|
1376
|
-
var
|
|
1377
|
-
if (!(
|
|
1378
|
-
var
|
|
1376
|
+
var d = r[l];
|
|
1377
|
+
if (!(d in Us || n && n[d] || o && d in o || s && d in s)) {
|
|
1378
|
+
var c = Zs(t, d);
|
|
1379
1379
|
try {
|
|
1380
|
-
qs(e,
|
|
1380
|
+
qs(e, d, c);
|
|
1381
1381
|
} catch {
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
@@ -1477,7 +1477,7 @@ var $s = function() {
|
|
|
1477
1477
|
this.groupSizes = new Uint32Array(s), this.groupSizes.set(i), this.length = s;
|
|
1478
1478
|
for (var o = r; o < s; o++) this.groupSizes[o] = 0;
|
|
1479
1479
|
}
|
|
1480
|
-
for (var l = this.indexOfGroup(t + 1),
|
|
1480
|
+
for (var l = this.indexOfGroup(t + 1), d = (o = 0, n.length); o < d; o++) this.tag.insertRule(l, n[o]) && (this.groupSizes[t]++, l++);
|
|
1481
1481
|
}, e.prototype.clearGroup = function(t) {
|
|
1482
1482
|
if (t < this.length) {
|
|
1483
1483
|
var n = this.groupSizes[t], i = this.indexOfGroup(t), r = i + n;
|
|
@@ -1504,10 +1504,10 @@ var $s = function() {
|
|
|
1504
1504
|
for (var n, i = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Ea), r = [], s = 0, o = i.length; s < o; s++) {
|
|
1505
1505
|
var l = i[s].trim();
|
|
1506
1506
|
if (l) {
|
|
1507
|
-
var
|
|
1508
|
-
if (
|
|
1509
|
-
var
|
|
1510
|
-
|
|
1507
|
+
var d = l.match(ao);
|
|
1508
|
+
if (d) {
|
|
1509
|
+
var c = 0 | parseInt(d[1], 10), h = d[2];
|
|
1510
|
+
c !== 0 && (eo(h, c), no(e, h, d[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
1511
1511
|
} else r.push(l);
|
|
1512
1512
|
}
|
|
1513
1513
|
}
|
|
@@ -1522,8 +1522,8 @@ function ro() {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
var Hi = function(e) {
|
|
1524
1524
|
var t = document.head, n = e || t, i = document.createElement("style"), r = function(l) {
|
|
1525
|
-
var
|
|
1526
|
-
return
|
|
1525
|
+
var d = Array.from(l.querySelectorAll("style[".concat(qe, "]")));
|
|
1526
|
+
return d[d.length - 1];
|
|
1527
1527
|
}(n), s = r !== void 0 ? r.nextSibling : null;
|
|
1528
1528
|
i.setAttribute(qe, Ai), i.setAttribute(ji, ra);
|
|
1529
1529
|
var o = ro();
|
|
@@ -1583,7 +1583,7 @@ var Hi = function(e) {
|
|
|
1583
1583
|
var r = this;
|
|
1584
1584
|
this.options = be(be({}, co), t), this.gs = n, this.names = new Map(i), this.server = !!t.isServer, !this.server && qt && Ln && (Ln = !1, Bn(this)), Ka(this, function() {
|
|
1585
1585
|
return function(s) {
|
|
1586
|
-
for (var o = s.getTag(), l = o.length,
|
|
1586
|
+
for (var o = s.getTag(), l = o.length, d = "", c = function(f) {
|
|
1587
1587
|
var b = function(w) {
|
|
1588
1588
|
return Yt.get(w);
|
|
1589
1589
|
}(f);
|
|
@@ -1593,9 +1593,9 @@ var Hi = function(e) {
|
|
|
1593
1593
|
var x = "".concat(qe, ".g").concat(f, '[id="').concat(b, '"]'), v = "";
|
|
1594
1594
|
p !== void 0 && p.forEach(function(w) {
|
|
1595
1595
|
w.length > 0 && (v += "".concat(w, ","));
|
|
1596
|
-
}),
|
|
1597
|
-
}, h = 0; h < l; h++)
|
|
1598
|
-
return
|
|
1596
|
+
}), d += "".concat(g).concat(x, '{content:"').concat(v, '"}').concat(Ea);
|
|
1597
|
+
}, h = 0; h < l; h++) c(h);
|
|
1598
|
+
return d;
|
|
1599
1599
|
}(r);
|
|
1600
1600
|
});
|
|
1601
1601
|
}
|
|
@@ -1639,11 +1639,11 @@ function zi(e, t) {
|
|
|
1639
1639
|
});
|
|
1640
1640
|
}
|
|
1641
1641
|
function fo(e) {
|
|
1642
|
-
var t, n, i, r = at, s = r.options, o = s === void 0 ? at : s, l = r.plugins,
|
|
1642
|
+
var t, n, i, r = at, s = r.options, o = s === void 0 ? at : s, l = r.plugins, d = l === void 0 ? sa : l, c = function(b, p, g) {
|
|
1643
1643
|
return g.startsWith(n) && g.endsWith(n) && g.replaceAll(n, "").length > 0 ? ".".concat(t) : b;
|
|
1644
|
-
}, h =
|
|
1644
|
+
}, h = d.slice();
|
|
1645
1645
|
h.push(function(b) {
|
|
1646
|
-
b.type === ta && b.value.includes("&") && (b.props[0] = b.props[0].replace(ho, n).replace(i,
|
|
1646
|
+
b.type === ta && b.value.includes("&") && (b.props[0] = b.props[0].replace(ho, n).replace(i, c));
|
|
1647
1647
|
}), o.prefix && h.push(Hs), h.push(Ns);
|
|
1648
1648
|
var f = function(b, p, g, x) {
|
|
1649
1649
|
p === void 0 && (p = ""), g === void 0 && (g = ""), x === void 0 && (x = "&"), t = x, n = p, i = new RegExp("\\".concat(n, "\\b"), "g");
|
|
@@ -1654,7 +1654,7 @@ function fo(e) {
|
|
|
1654
1654
|
return y.push(S);
|
|
1655
1655
|
})))), y;
|
|
1656
1656
|
};
|
|
1657
|
-
return f.hash =
|
|
1657
|
+
return f.hash = d.length ? d.reduce(function(b, p) {
|
|
1658
1658
|
return p.name || st(15), Me(b, p.name);
|
|
1659
1659
|
}, Si).toString() : "", f;
|
|
1660
1660
|
}
|
|
@@ -1735,17 +1735,17 @@ var bo = Ii(ra), yo = function() {
|
|
|
1735
1735
|
r = Re(r, o), this.staticRulesId = o;
|
|
1736
1736
|
}
|
|
1737
1737
|
else {
|
|
1738
|
-
for (var
|
|
1738
|
+
for (var d = Me(this.baseHash, i.hash), c = "", h = 0; h < this.rules.length; h++) {
|
|
1739
1739
|
var f = this.rules[h];
|
|
1740
|
-
if (typeof f == "string")
|
|
1740
|
+
if (typeof f == "string") c += f, process.env.NODE_ENV !== "production" && (d = Me(d, f));
|
|
1741
1741
|
else if (f) {
|
|
1742
1742
|
var b = Ta(Ge(f, t, n, i));
|
|
1743
|
-
|
|
1743
|
+
d = Me(d, b + h), c += b;
|
|
1744
1744
|
}
|
|
1745
1745
|
}
|
|
1746
|
-
if (
|
|
1747
|
-
var p = La(
|
|
1748
|
-
n.hasNameForId(this.componentId, p) || n.insertRules(this.componentId, p, i(
|
|
1746
|
+
if (c) {
|
|
1747
|
+
var p = La(d >>> 0);
|
|
1748
|
+
n.hasNameForId(this.componentId, p) || n.insertRules(this.componentId, p, i(c, ".".concat(p), void 0, this.componentId)), r = Re(r, p);
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
1751
|
return r;
|
|
@@ -1754,14 +1754,14 @@ var bo = Ii(ra), yo = function() {
|
|
|
1754
1754
|
Wi.Consumer;
|
|
1755
1755
|
var ya = {}, Pn = /* @__PURE__ */ new Set();
|
|
1756
1756
|
function xo(e, t, n) {
|
|
1757
|
-
var i = Ua(e), r = e, s = !ba(e), o = t.attrs, l = o === void 0 ? sa : o,
|
|
1757
|
+
var i = Ua(e), r = e, s = !ba(e), o = t.attrs, l = o === void 0 ? sa : o, d = t.componentId, c = d === void 0 ? function(j, I) {
|
|
1758
1758
|
var B = typeof j != "string" ? "sc" : kn(j);
|
|
1759
1759
|
ya[B] = (ya[B] || 0) + 1;
|
|
1760
1760
|
var A = "".concat(B, "-").concat(Bi(ra + B + ya[B]));
|
|
1761
1761
|
return I ? "".concat(I, "-").concat(A) : A;
|
|
1762
|
-
}(t.displayName, t.parentComponentId) :
|
|
1762
|
+
}(t.displayName, t.parentComponentId) : d, h = t.displayName, f = h === void 0 ? function(j) {
|
|
1763
1763
|
return ba(j) ? "styled.".concat(j) : "Styled(".concat(Li(j), ")");
|
|
1764
|
-
}(e) : h, b = t.displayName && t.componentId ? "".concat(kn(t.displayName), "-").concat(t.componentId) : t.componentId ||
|
|
1764
|
+
}(e) : h, b = t.displayName && t.componentId ? "".concat(kn(t.displayName), "-").concat(t.componentId) : t.componentId || c, p = i && r.attrs ? r.attrs.concat(l).filter(Boolean) : l, g = t.shouldForwardProp;
|
|
1765
1765
|
if (i && r.shouldForwardProp) {
|
|
1766
1766
|
var x = r.shouldForwardProp;
|
|
1767
1767
|
if (t.shouldForwardProp) {
|
|
@@ -1774,23 +1774,23 @@ function xo(e, t, n) {
|
|
|
1774
1774
|
var w = new yo(n, b, i ? r.componentStyle : void 0);
|
|
1775
1775
|
function y(j, I) {
|
|
1776
1776
|
return function(B, A, D) {
|
|
1777
|
-
var N = B.attrs, O = B.componentStyle, _ = B.defaultProps, te = B.foldedComponentIds, Q = B.styledComponentId, V = B.target, se = Ue.useContext(Wi),
|
|
1777
|
+
var N = B.attrs, O = B.componentStyle, _ = B.defaultProps, te = B.foldedComponentIds, Q = B.styledComponentId, V = B.target, se = Ue.useContext(Wi), X = Tn(), ee = B.shouldForwardProp || X.shouldForwardProp;
|
|
1778
1778
|
process.env.NODE_ENV !== "production" && pn(Q);
|
|
1779
|
-
var le = Ms(A, se, _) || at,
|
|
1779
|
+
var le = Ms(A, se, _) || at, J = function(E, ue, me) {
|
|
1780
1780
|
for (var de, xe = be(be({}, ue), { className: void 0, theme: me }), Le = 0; Le < E.length; Le += 1) {
|
|
1781
1781
|
var M = nt(de = E[Le]) ? de(xe) : de;
|
|
1782
1782
|
for (var je in M) xe[je] = je === "className" ? Re(xe[je], M[je]) : je === "style" ? be(be({}, xe[je]), M[je]) : M[je];
|
|
1783
1783
|
}
|
|
1784
1784
|
return ue.className && (xe.className = Re(xe.className, ue.className)), xe;
|
|
1785
|
-
}(N, A, le), ne =
|
|
1786
|
-
for (var Y in
|
|
1785
|
+
}(N, A, le), ne = J.as || V, q = {};
|
|
1786
|
+
for (var Y in J) J[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && J.theme === le || (Y === "forwardedAs" ? q.as = J.forwardedAs : ee && !ee(Y, ne) || (q[Y] = J[Y], ee || process.env.NODE_ENV !== "development" || gs(Y) || Pn.has(Y) || !Ba.has(ne) || (Pn.add(Y), console.warn('styled-components: it looks like an unknown prop "'.concat(Y, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1787
1787
|
var ce = function(E, ue) {
|
|
1788
1788
|
var me = Tn(), de = E.generateAndInjectStyles(ue, me.styleSheet, me.stylis);
|
|
1789
1789
|
return process.env.NODE_ENV !== "production" && pn(de), de;
|
|
1790
|
-
}(O,
|
|
1790
|
+
}(O, J);
|
|
1791
1791
|
process.env.NODE_ENV !== "production" && B.warnTooManyClasses && B.warnTooManyClasses(ce);
|
|
1792
1792
|
var Ce = Re(te, Q);
|
|
1793
|
-
return ce && (Ce += " " + ce),
|
|
1793
|
+
return ce && (Ce += " " + ce), J.className && (Ce += " " + J.className), q[ba(ne) && !Ba.has(ne) ? "class" : "className"] = Ce, D && (q.ref = D), Qr(ne, q);
|
|
1794
1794
|
}(S, j, I);
|
|
1795
1795
|
}
|
|
1796
1796
|
y.displayName = f;
|
|
@@ -2130,8 +2130,8 @@ const wo = m.div`
|
|
|
2130
2130
|
width: s = 32,
|
|
2131
2131
|
height: o = 32,
|
|
2132
2132
|
text: l,
|
|
2133
|
-
textStyle:
|
|
2134
|
-
isActiveBlue:
|
|
2133
|
+
textStyle: d,
|
|
2134
|
+
isActiveBlue: c,
|
|
2135
2135
|
streamVolume: h,
|
|
2136
2136
|
setStreamVolume: f,
|
|
2137
2137
|
isHoverActive: b = !0,
|
|
@@ -2153,7 +2153,7 @@ const wo = m.div`
|
|
|
2153
2153
|
height: o,
|
|
2154
2154
|
$isValueButton: r,
|
|
2155
2155
|
$isActive: i,
|
|
2156
|
-
$isActiveBlue:
|
|
2156
|
+
$isActiveBlue: c,
|
|
2157
2157
|
onMouseEnter: () => x(!0),
|
|
2158
2158
|
onMouseLeave: () => x(!1),
|
|
2159
2159
|
onClick: t,
|
|
@@ -2161,7 +2161,7 @@ const wo = m.div`
|
|
|
2161
2161
|
$isTournament: n === "Tournament",
|
|
2162
2162
|
$isHoverActive: b,
|
|
2163
2163
|
children: [
|
|
2164
|
-
|
|
2164
|
+
d && l && /* @__PURE__ */ a.jsx("p", { className: d, children: v(l) }),
|
|
2165
2165
|
e,
|
|
2166
2166
|
g && !i && w()
|
|
2167
2167
|
]
|
|
@@ -2230,7 +2230,7 @@ const wo = m.div`
|
|
|
2230
2230
|
isDisabled: r = !1,
|
|
2231
2231
|
onClick: s
|
|
2232
2232
|
}) => {
|
|
2233
|
-
const o = Lo(e, t), l = Gi(t),
|
|
2233
|
+
const o = Lo(e, t), l = Gi(t), d = No(l);
|
|
2234
2234
|
return /* @__PURE__ */ a.jsxs(
|
|
2235
2235
|
Do,
|
|
2236
2236
|
{
|
|
@@ -3023,7 +3023,7 @@ const wo = m.div`
|
|
|
3023
3023
|
}
|
|
3024
3024
|
)
|
|
3025
3025
|
] }),
|
|
3026
|
-
/* @__PURE__ */ a.jsx(Po, { $fontSize:
|
|
3026
|
+
/* @__PURE__ */ a.jsx(Po, { $fontSize: d == null ? void 0 : d.size, fill: "#fff", children: /* @__PURE__ */ a.jsx("tspan", { className: "chipAmount", y: d == null ? void 0 : d.y, x: d == null ? void 0 : d.x, children: l }) })
|
|
3027
3027
|
]
|
|
3028
3028
|
},
|
|
3029
3029
|
t
|
|
@@ -3033,19 +3033,19 @@ var Ei = /* @__PURE__ */ ((e) => (e.Launch = "launch", e.GameChange = "GameChang
|
|
|
3033
3033
|
const Ho = {
|
|
3034
3034
|
undoArray: "undoArray"
|
|
3035
3035
|
}, Fo = "https://livelobby8.livevegas.live", Za = (e, t, n) => {
|
|
3036
|
-
const { tableId: i, gameId: r, lang: s, playerId: o, token: l, exitUrl:
|
|
3036
|
+
const { tableId: i, gameId: r, lang: s, playerId: o, token: l, exitUrl: d } = n;
|
|
3037
3037
|
localStorage.setItem(Ho.undoArray, JSON.stringify([])), t == null || t.invoke(Ei.SitOutPlayer, {
|
|
3038
3038
|
tableId: Number(i),
|
|
3039
3039
|
gameId: Number(r)
|
|
3040
3040
|
});
|
|
3041
|
-
const
|
|
3041
|
+
const c = {
|
|
3042
3042
|
name: "closed",
|
|
3043
3043
|
sender: "game"
|
|
3044
3044
|
}, f = {
|
|
3045
3045
|
name: "closeFrame",
|
|
3046
|
-
url: `${Fo}/?lang=${s}&playerId=${o}&token=${l}&gameId=${r}&gameType=8&exitUrl=${
|
|
3046
|
+
url: `${Fo}/?lang=${s}&playerId=${o}&token=${l}&gameId=${r}&gameType=8&exitUrl=${d}&partnerId=${e}`
|
|
3047
3047
|
};
|
|
3048
|
-
window.parent.postMessage(
|
|
3048
|
+
window.parent.postMessage(c, "*"), window.parent.postMessage(f, "*"), window.parent.postMessage("closeGame", "*");
|
|
3049
3049
|
}, On = (e) => {
|
|
3050
3050
|
const t = new Date(e.calculationEndDate), n = /* @__PURE__ */ new Date(), i = t.getTime() - n.getTime();
|
|
3051
3051
|
return i <= 0 ? { days: 0, hours: 0, minutes: 0, seconds: 0 } : {
|
|
@@ -3508,11 +3508,11 @@ const t1 = [" ", ",", "?", "!", ";"], a1 = new e1(20), n1 = (e, t, n) => {
|
|
|
3508
3508
|
if (!r || typeof r != "object")
|
|
3509
3509
|
return;
|
|
3510
3510
|
let o, l = "";
|
|
3511
|
-
for (let
|
|
3512
|
-
if (
|
|
3513
|
-
if (["string", "number", "boolean"].indexOf(typeof o) > -1 &&
|
|
3511
|
+
for (let d = s; d < i.length; ++d)
|
|
3512
|
+
if (d !== s && (l += n), l += i[d], o = r[l], o !== void 0) {
|
|
3513
|
+
if (["string", "number", "boolean"].indexOf(typeof o) > -1 && d < i.length - 1)
|
|
3514
3514
|
continue;
|
|
3515
|
-
s +=
|
|
3515
|
+
s += d - s + 1;
|
|
3516
3516
|
break;
|
|
3517
3517
|
}
|
|
3518
3518
|
r = o;
|
|
@@ -3612,12 +3612,12 @@ class En extends oa {
|
|
|
3612
3612
|
n > -1 && this.options.ns.splice(n, 1);
|
|
3613
3613
|
}
|
|
3614
3614
|
getResource(t, n, i, r = {}) {
|
|
3615
|
-
var
|
|
3615
|
+
var c, h;
|
|
3616
3616
|
const s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, o = r.ignoreJSONStructure !== void 0 ? r.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
3617
3617
|
let l;
|
|
3618
3618
|
t.indexOf(".") > -1 ? l = t.split(".") : (l = [t, n], i && (Array.isArray(i) ? l.push(...i) : T(i) && s ? l.push(...i.split(s)) : l.push(i)));
|
|
3619
|
-
const
|
|
3620
|
-
return !
|
|
3619
|
+
const d = Qt(this.data, l);
|
|
3620
|
+
return !d && !n && !i && t.indexOf(".") > -1 && (t = l[0], n = l[1], i = l.slice(2).join(".")), d || !o || !T(i) ? d : za((h = (c = this.data) == null ? void 0 : c[t]) == null ? void 0 : h[n], i, s);
|
|
3621
3621
|
}
|
|
3622
3622
|
addResource(t, n, i, r, s = {
|
|
3623
3623
|
silent: !1
|
|
@@ -3641,11 +3641,11 @@ class En extends oa {
|
|
|
3641
3641
|
}) {
|
|
3642
3642
|
let l = [t, n];
|
|
3643
3643
|
t.indexOf(".") > -1 && (l = t.split("."), r = i, i = n, n = l[1]), this.addNamespaces(n);
|
|
3644
|
-
let
|
|
3645
|
-
o.skipCopy || (i = JSON.parse(JSON.stringify(i))), r ? Qi(
|
|
3646
|
-
...
|
|
3644
|
+
let d = Qt(this.data, l) || {};
|
|
3645
|
+
o.skipCopy || (i = JSON.parse(JSON.stringify(i))), r ? Qi(d, i, s) : d = {
|
|
3646
|
+
...d,
|
|
3647
3647
|
...i
|
|
3648
|
-
}, Gn(this.data, l,
|
|
3648
|
+
}, Gn(this.data, l, d), o.silent || this.emit("added", t, n, i);
|
|
3649
3649
|
}
|
|
3650
3650
|
removeResourceBundle(t, n) {
|
|
3651
3651
|
this.hasResourceBundle(t, n) && delete this.data[t][n], this.removeNamespaces(n), this.emit("removed", t, n);
|
|
@@ -3719,14 +3719,14 @@ class Jt extends oa {
|
|
|
3719
3719
|
let s = n.ns || this.options.defaultNS || [];
|
|
3720
3720
|
const o = i && t.indexOf(i) > -1, l = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !n1(t, i, r);
|
|
3721
3721
|
if (o && !l) {
|
|
3722
|
-
const
|
|
3723
|
-
if (
|
|
3722
|
+
const d = t.match(this.interpolator.nestingRegexp);
|
|
3723
|
+
if (d && d.length > 0)
|
|
3724
3724
|
return {
|
|
3725
3725
|
key: t,
|
|
3726
3726
|
namespaces: T(s) ? [s] : s
|
|
3727
3727
|
};
|
|
3728
|
-
const
|
|
3729
|
-
(i !== r || i === r && this.options.ns.indexOf(
|
|
3728
|
+
const c = t.split(i);
|
|
3729
|
+
(i !== r || i === r && this.options.ns.indexOf(c[0]) > -1) && (s = c.shift()), t = c.join(r);
|
|
3730
3730
|
}
|
|
3731
3731
|
return {
|
|
3732
3732
|
key: t,
|
|
@@ -3746,25 +3746,25 @@ class Jt extends oa {
|
|
|
3746
3746
|
})), Array.isArray(t) || (t = [String(t)]);
|
|
3747
3747
|
const s = r.returnDetails !== void 0 ? r.returnDetails : this.options.returnDetails, o = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, {
|
|
3748
3748
|
key: l,
|
|
3749
|
-
namespaces:
|
|
3750
|
-
} = this.extractFromKey(t[t.length - 1], r),
|
|
3749
|
+
namespaces: d
|
|
3750
|
+
} = this.extractFromKey(t[t.length - 1], r), c = d[d.length - 1];
|
|
3751
3751
|
let h = r.nsSeparator !== void 0 ? r.nsSeparator : this.options.nsSeparator;
|
|
3752
3752
|
h === void 0 && (h = ":");
|
|
3753
3753
|
const f = r.lng || this.language, b = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
3754
3754
|
if ((f == null ? void 0 : f.toLowerCase()) === "cimode")
|
|
3755
3755
|
return b ? s ? {
|
|
3756
|
-
res: `${
|
|
3756
|
+
res: `${c}${h}${l}`,
|
|
3757
3757
|
usedKey: l,
|
|
3758
3758
|
exactUsedKey: l,
|
|
3759
3759
|
usedLng: f,
|
|
3760
|
-
usedNS:
|
|
3760
|
+
usedNS: c,
|
|
3761
3761
|
usedParams: this.getUsedParamsDetails(r)
|
|
3762
|
-
} : `${
|
|
3762
|
+
} : `${c}${h}${l}` : s ? {
|
|
3763
3763
|
res: l,
|
|
3764
3764
|
usedKey: l,
|
|
3765
3765
|
exactUsedKey: l,
|
|
3766
3766
|
usedLng: f,
|
|
3767
|
-
usedNS:
|
|
3767
|
+
usedNS: c,
|
|
3768
3768
|
usedParams: this.getUsedParamsDetails(r)
|
|
3769
3769
|
} : l;
|
|
3770
3770
|
const p = this.resolve(t, r);
|
|
@@ -3780,25 +3780,25 @@ class Jt extends oa {
|
|
|
3780
3780
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
3781
3781
|
const Q = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(x, O, {
|
|
3782
3782
|
...r,
|
|
3783
|
-
ns:
|
|
3783
|
+
ns: d
|
|
3784
3784
|
}) : `key '${l} (${this.language})' returned an object instead of string.`;
|
|
3785
3785
|
return s ? (p.res = Q, p.usedParams = this.getUsedParamsDetails(r), p) : Q;
|
|
3786
3786
|
}
|
|
3787
3787
|
if (o) {
|
|
3788
3788
|
const Q = Array.isArray(O), V = Q ? [] : {}, se = Q ? v : x;
|
|
3789
|
-
for (const
|
|
3790
|
-
if (Object.prototype.hasOwnProperty.call(O,
|
|
3791
|
-
const ee = `${se}${o}${
|
|
3792
|
-
I && !g ? V[
|
|
3789
|
+
for (const X in O)
|
|
3790
|
+
if (Object.prototype.hasOwnProperty.call(O, X)) {
|
|
3791
|
+
const ee = `${se}${o}${X}`;
|
|
3792
|
+
I && !g ? V[X] = this.translate(ee, {
|
|
3793
3793
|
...r,
|
|
3794
|
-
defaultValue: Kn(N) ? N[
|
|
3794
|
+
defaultValue: Kn(N) ? N[X] : void 0,
|
|
3795
3795
|
joinArrays: !1,
|
|
3796
|
-
ns:
|
|
3797
|
-
}) : V[
|
|
3796
|
+
ns: d
|
|
3797
|
+
}) : V[X] = this.translate(ee, {
|
|
3798
3798
|
...r,
|
|
3799
3799
|
joinArrays: !1,
|
|
3800
|
-
ns:
|
|
3801
|
-
}), V[
|
|
3800
|
+
ns: d
|
|
3801
|
+
}), V[X] === ee && (V[X] = O[X]);
|
|
3802
3802
|
}
|
|
3803
3803
|
g = V;
|
|
3804
3804
|
}
|
|
@@ -3807,9 +3807,9 @@ class Jt extends oa {
|
|
|
3807
3807
|
else {
|
|
3808
3808
|
let Q = !1, V = !1;
|
|
3809
3809
|
!this.isValidLookup(g) && I && (Q = !0, g = N), this.isValidLookup(g) || (V = !0, g = l);
|
|
3810
|
-
const
|
|
3810
|
+
const X = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && V ? void 0 : g, ee = I && N !== g && this.options.updateMissing;
|
|
3811
3811
|
if (V || Q || ee) {
|
|
3812
|
-
if (this.logger.log(ee ? "updateKey" : "missingKey", f,
|
|
3812
|
+
if (this.logger.log(ee ? "updateKey" : "missingKey", f, c, l, ee ? N : g), o) {
|
|
3813
3813
|
const q = this.resolve(l, {
|
|
3814
3814
|
...r,
|
|
3815
3815
|
keySeparator: !1
|
|
@@ -3817,15 +3817,15 @@ class Jt extends oa {
|
|
|
3817
3817
|
q && q.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
3818
3818
|
}
|
|
3819
3819
|
let le = [];
|
|
3820
|
-
const
|
|
3821
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
3822
|
-
for (let q = 0; q <
|
|
3823
|
-
le.push(
|
|
3820
|
+
const J = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
|
|
3821
|
+
if (this.options.saveMissingTo === "fallback" && J && J[0])
|
|
3822
|
+
for (let q = 0; q < J.length; q++)
|
|
3823
|
+
le.push(J[q]);
|
|
3824
3824
|
else this.options.saveMissingTo === "all" ? le = this.languageUtils.toResolveHierarchy(r.lng || this.language) : le.push(r.lng || this.language);
|
|
3825
3825
|
const ne = (q, Y, ce) => {
|
|
3826
3826
|
var E;
|
|
3827
|
-
const Ce = I && ce !== g ? ce :
|
|
3828
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(q,
|
|
3827
|
+
const Ce = I && ce !== g ? ce : X;
|
|
3828
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(q, c, Y, Ce, ee, r) : (E = this.backendConnector) != null && E.saveMissing && this.backendConnector.saveMissing(q, c, Y, Ce, ee, r), this.emit("missingKey", q, c, Y, g);
|
|
3829
3829
|
};
|
|
3830
3830
|
this.options.saveMissing && (this.options.saveMissingPlurals && j ? le.forEach((q) => {
|
|
3831
3831
|
const Y = this.pluralResolver.getSuffixes(q, r);
|
|
@@ -3834,13 +3834,13 @@ class Jt extends oa {
|
|
|
3834
3834
|
});
|
|
3835
3835
|
}) : ne(le, l, N));
|
|
3836
3836
|
}
|
|
3837
|
-
g = this.extendTranslation(g, t, r, p, i), V && g === l && this.options.appendNamespaceToMissingKey && (g = `${
|
|
3837
|
+
g = this.extendTranslation(g, t, r, p, i), V && g === l && this.options.appendNamespaceToMissingKey && (g = `${c}${h}${l}`), (V || Q) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${h}${l}` : l, Q ? g : void 0, r));
|
|
3838
3838
|
}
|
|
3839
3839
|
return s ? (p.res = g, p.usedParams = this.getUsedParamsDetails(r), p) : g;
|
|
3840
3840
|
}
|
|
3841
3841
|
extendTranslation(t, n, i, r, s) {
|
|
3842
|
-
var
|
|
3843
|
-
if ((
|
|
3842
|
+
var d, c;
|
|
3843
|
+
if ((d = this.i18nFormat) != null && d.parse)
|
|
3844
3844
|
t = this.i18nFormat.parse(t, {
|
|
3845
3845
|
...this.options.interpolation.defaultVariables,
|
|
3846
3846
|
...i
|
|
@@ -3855,7 +3855,7 @@ class Jt extends oa {
|
|
|
3855
3855
|
...i.interpolation
|
|
3856
3856
|
}
|
|
3857
3857
|
});
|
|
3858
|
-
const h = T(t) && (((
|
|
3858
|
+
const h = T(t) && (((c = i == null ? void 0 : i.interpolation) == null ? void 0 : c.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
3859
3859
|
let f;
|
|
3860
3860
|
if (h) {
|
|
3861
3861
|
const p = t.match(this.interpolator.nestingRegexp);
|
|
@@ -3882,11 +3882,11 @@ class Jt extends oa {
|
|
|
3882
3882
|
}
|
|
3883
3883
|
resolve(t, n = {}) {
|
|
3884
3884
|
let i, r, s, o, l;
|
|
3885
|
-
return T(t) && (t = [t]), t.forEach((
|
|
3885
|
+
return T(t) && (t = [t]), t.forEach((d) => {
|
|
3886
3886
|
if (this.isValidLookup(i)) return;
|
|
3887
|
-
const
|
|
3887
|
+
const c = this.extractFromKey(d, n), h = c.key;
|
|
3888
3888
|
r = h;
|
|
3889
|
-
let f =
|
|
3889
|
+
let f = c.namespaces;
|
|
3890
3890
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
3891
3891
|
const b = n.count !== void 0 && !T(n.count), p = b && !n.ordinal && n.count === 0, g = n.context !== void 0 && (T(n.context) || typeof n.context == "number") && n.context !== "", x = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
3892
3892
|
f.forEach((v) => {
|
|
@@ -4053,8 +4053,8 @@ class s1 {
|
|
|
4053
4053
|
if (!Intl)
|
|
4054
4054
|
return this.logger.error("No Intl support, please use an Intl polyfill!"), Zn;
|
|
4055
4055
|
if (!t.match(/-|_/)) return Zn;
|
|
4056
|
-
const
|
|
4057
|
-
o = this.getRule(
|
|
4056
|
+
const d = this.languageUtils.getLanguagePartFromCode(t);
|
|
4057
|
+
o = this.getRule(d, n);
|
|
4058
4058
|
}
|
|
4059
4059
|
return this.pluralRulesCache[s] = o, o;
|
|
4060
4060
|
}
|
|
@@ -4094,8 +4094,8 @@ class o1 {
|
|
|
4094
4094
|
prefix: s,
|
|
4095
4095
|
prefixEscaped: o,
|
|
4096
4096
|
suffix: l,
|
|
4097
|
-
suffixEscaped:
|
|
4098
|
-
formatSeparator:
|
|
4097
|
+
suffixEscaped: d,
|
|
4098
|
+
formatSeparator: c,
|
|
4099
4099
|
unescapeSuffix: h,
|
|
4100
4100
|
unescapePrefix: f,
|
|
4101
4101
|
nestingPrefix: b,
|
|
@@ -4106,7 +4106,7 @@ class o1 {
|
|
|
4106
4106
|
maxReplaces: w,
|
|
4107
4107
|
alwaysFormat: y
|
|
4108
4108
|
} = t.interpolation;
|
|
4109
|
-
this.escape = n !== void 0 ? n : _o, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = r !== void 0 ? r : !1, this.prefix = s ? Xe(s) : o || "{{", this.suffix = l ? Xe(l) :
|
|
4109
|
+
this.escape = n !== void 0 ? n : _o, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = r !== void 0 ? r : !1, this.prefix = s ? Xe(s) : o || "{{", this.suffix = l ? Xe(l) : d || "}}", this.formatSeparator = c || ",", this.unescapePrefix = h ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : h || "", this.nestingPrefix = b ? Xe(b) : p || Xe("$t("), this.nestingSuffix = g ? Xe(g) : x || Xe(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
|
4110
4110
|
}
|
|
4111
4111
|
reset() {
|
|
4112
4112
|
this.options && this.init(this.options);
|
|
@@ -4118,9 +4118,9 @@ class o1 {
|
|
|
4118
4118
|
interpolate(t, n, i, r) {
|
|
4119
4119
|
var p;
|
|
4120
4120
|
let s, o, l;
|
|
4121
|
-
const
|
|
4121
|
+
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (g) => {
|
|
4122
4122
|
if (g.indexOf(this.formatSeparator) < 0) {
|
|
4123
|
-
const y = Qn(n,
|
|
4123
|
+
const y = Qn(n, d, g, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
4124
4124
|
return this.alwaysFormat ? this.format(y, void 0, i, {
|
|
4125
4125
|
...r,
|
|
4126
4126
|
...n,
|
|
@@ -4128,7 +4128,7 @@ class o1 {
|
|
|
4128
4128
|
}) : y;
|
|
4129
4129
|
}
|
|
4130
4130
|
const x = g.split(this.formatSeparator), v = x.shift().trim(), w = x.join(this.formatSeparator).trim();
|
|
4131
|
-
return this.format(Qn(n,
|
|
4131
|
+
return this.format(Qn(n, d, v, this.options.keySeparator, this.options.ignoreJSONStructure), w, i, {
|
|
4132
4132
|
...r,
|
|
4133
4133
|
...n,
|
|
4134
4134
|
interpolationkey: v
|
|
@@ -4145,7 +4145,7 @@ class o1 {
|
|
|
4145
4145
|
}].forEach((g) => {
|
|
4146
4146
|
for (l = 0; s = g.regex.exec(t); ) {
|
|
4147
4147
|
const x = s[1].trim();
|
|
4148
|
-
if (o =
|
|
4148
|
+
if (o = c(x), o === void 0)
|
|
4149
4149
|
if (typeof h == "function") {
|
|
4150
4150
|
const w = h(t, s, r);
|
|
4151
4151
|
o = T(w) ? w : "";
|
|
@@ -4165,32 +4165,32 @@ class o1 {
|
|
|
4165
4165
|
}
|
|
4166
4166
|
nest(t, n, i = {}) {
|
|
4167
4167
|
let r, s, o;
|
|
4168
|
-
const l = (
|
|
4168
|
+
const l = (d, c) => {
|
|
4169
4169
|
const h = this.nestingOptionsSeparator;
|
|
4170
|
-
if (
|
|
4171
|
-
const f =
|
|
4170
|
+
if (d.indexOf(h) < 0) return d;
|
|
4171
|
+
const f = d.split(new RegExp(`${h}[ ]*{`));
|
|
4172
4172
|
let b = `{${f[1]}`;
|
|
4173
|
-
|
|
4173
|
+
d = f[0], b = this.interpolate(b, o);
|
|
4174
4174
|
const p = b.match(/'/g), g = b.match(/"/g);
|
|
4175
4175
|
(((p == null ? void 0 : p.length) ?? 0) % 2 === 0 && !g || g.length % 2 !== 0) && (b = b.replace(/'/g, '"'));
|
|
4176
4176
|
try {
|
|
4177
|
-
o = JSON.parse(b),
|
|
4178
|
-
...
|
|
4177
|
+
o = JSON.parse(b), c && (o = {
|
|
4178
|
+
...c,
|
|
4179
4179
|
...o
|
|
4180
4180
|
});
|
|
4181
4181
|
} catch (x) {
|
|
4182
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${
|
|
4182
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${d}`, x), `${d}${h}${b}`;
|
|
4183
4183
|
}
|
|
4184
|
-
return o.defaultValue && o.defaultValue.indexOf(this.prefix) > -1 && delete o.defaultValue,
|
|
4184
|
+
return o.defaultValue && o.defaultValue.indexOf(this.prefix) > -1 && delete o.defaultValue, d;
|
|
4185
4185
|
};
|
|
4186
4186
|
for (; r = this.nestingRegexp.exec(t); ) {
|
|
4187
|
-
let
|
|
4187
|
+
let d = [];
|
|
4188
4188
|
o = {
|
|
4189
4189
|
...i
|
|
4190
4190
|
}, o = o.replace && !T(o.replace) ? o.replace : o, o.applyPostProcessor = !1, delete o.defaultValue;
|
|
4191
|
-
const
|
|
4192
|
-
if (
|
|
4193
|
-
T(s) || (s = Rn(s)), s || (this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`), s = ""),
|
|
4191
|
+
const c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
|
|
4192
|
+
if (c !== -1 && (d = r[1].slice(c).split(this.formatSeparator).map((h) => h.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), s = n(l.call(this, r[1].trim(), o), o), s && r[0] === t && !T(s)) return s;
|
|
4193
|
+
T(s) || (s = Rn(s)), s || (this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`), s = ""), d.length && (s = d.reduce((h, f) => this.format(h, f, i.lng, {
|
|
4194
4194
|
...i,
|
|
4195
4195
|
interpolationkey: r[1].trim()
|
|
4196
4196
|
}), s.trim())), t = t.replace(r[0], s), this.regexp.lastIndex = 0;
|
|
@@ -4207,8 +4207,8 @@ const l1 = (e) => {
|
|
|
4207
4207
|
const r = i[1].substring(0, i[1].length - 1);
|
|
4208
4208
|
t === "currency" && r.indexOf(":") < 0 ? n.currency || (n.currency = r.trim()) : t === "relativetime" && r.indexOf(":") < 0 ? n.range || (n.range = r.trim()) : r.split(";").forEach((o) => {
|
|
4209
4209
|
if (o) {
|
|
4210
|
-
const [l, ...
|
|
4211
|
-
n[h] || (n[h] =
|
|
4210
|
+
const [l, ...d] = o.split(":"), c = d.join(":").trim().replace(/^'+|'+$/g, ""), h = l.trim();
|
|
4211
|
+
n[h] || (n[h] = c), c === "false" && (n[h] = !1), c === "true" && (n[h] = !0), isNaN(c) || (n[h] = parseInt(c, 10));
|
|
4212
4212
|
}
|
|
4213
4213
|
});
|
|
4214
4214
|
}
|
|
@@ -4281,20 +4281,20 @@ class d1 {
|
|
|
4281
4281
|
format(t, n, i, r = {}) {
|
|
4282
4282
|
const s = n.split(this.formatSeparator);
|
|
4283
4283
|
if (s.length > 1 && s[0].indexOf("(") > 1 && s[0].indexOf(")") < 0 && s.find((l) => l.indexOf(")") > -1)) {
|
|
4284
|
-
const l = s.findIndex((
|
|
4284
|
+
const l = s.findIndex((d) => d.indexOf(")") > -1);
|
|
4285
4285
|
s[0] = [s[0], ...s.splice(1, l)].join(this.formatSeparator);
|
|
4286
4286
|
}
|
|
4287
|
-
return s.reduce((l,
|
|
4287
|
+
return s.reduce((l, d) => {
|
|
4288
4288
|
var f;
|
|
4289
4289
|
const {
|
|
4290
|
-
formatName:
|
|
4290
|
+
formatName: c,
|
|
4291
4291
|
formatOptions: h
|
|
4292
|
-
} = l1(
|
|
4293
|
-
if (this.formats[
|
|
4292
|
+
} = l1(d);
|
|
4293
|
+
if (this.formats[c]) {
|
|
4294
4294
|
let b = l;
|
|
4295
4295
|
try {
|
|
4296
4296
|
const p = ((f = r == null ? void 0 : r.formatParams) == null ? void 0 : f[r.interpolationkey]) || {}, g = p.locale || p.lng || r.locale || r.lng || i;
|
|
4297
|
-
b = this.formats[
|
|
4297
|
+
b = this.formats[c](l, g, {
|
|
4298
4298
|
...h,
|
|
4299
4299
|
...r,
|
|
4300
4300
|
...p
|
|
@@ -4304,7 +4304,7 @@ class d1 {
|
|
|
4304
4304
|
}
|
|
4305
4305
|
return b;
|
|
4306
4306
|
} else
|
|
4307
|
-
this.logger.warn(`there was no format function for ${
|
|
4307
|
+
this.logger.warn(`there was no format function for ${c}`);
|
|
4308
4308
|
return l;
|
|
4309
4309
|
}, t);
|
|
4310
4310
|
}
|
|
@@ -4318,13 +4318,13 @@ class u1 extends oa {
|
|
|
4318
4318
|
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = r, this.logger = Ne.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], (o = (s = this.backend) == null ? void 0 : s.init) == null || o.call(s, i, r.backend, r);
|
|
4319
4319
|
}
|
|
4320
4320
|
queueLoad(t, n, i, r) {
|
|
4321
|
-
const s = {}, o = {}, l = {},
|
|
4322
|
-
return t.forEach((
|
|
4321
|
+
const s = {}, o = {}, l = {}, d = {};
|
|
4322
|
+
return t.forEach((c) => {
|
|
4323
4323
|
let h = !0;
|
|
4324
4324
|
n.forEach((f) => {
|
|
4325
|
-
const b = `${
|
|
4326
|
-
!i.reload && this.store.hasResourceBundle(
|
|
4327
|
-
}), h || (l[
|
|
4325
|
+
const b = `${c}|${f}`;
|
|
4326
|
+
!i.reload && this.store.hasResourceBundle(c, f) ? this.state[b] = 2 : this.state[b] < 0 || (this.state[b] === 1 ? o[b] === void 0 && (o[b] = !0) : (this.state[b] = 1, h = !1, o[b] === void 0 && (o[b] = !0), s[b] === void 0 && (s[b] = !0), d[f] === void 0 && (d[f] = !0)));
|
|
4327
|
+
}), h || (l[c] = !0);
|
|
4328
4328
|
}), (Object.keys(s).length || Object.keys(o).length) && this.queue.push({
|
|
4329
4329
|
pending: o,
|
|
4330
4330
|
pendingCount: Object.keys(o).length,
|
|
@@ -4335,7 +4335,7 @@ class u1 extends oa {
|
|
|
4335
4335
|
toLoad: Object.keys(s),
|
|
4336
4336
|
pending: Object.keys(o),
|
|
4337
4337
|
toLoadLanguages: Object.keys(l),
|
|
4338
|
-
toLoadNamespaces: Object.keys(
|
|
4338
|
+
toLoadNamespaces: Object.keys(d)
|
|
4339
4339
|
};
|
|
4340
4340
|
}
|
|
4341
4341
|
loaded(t, n, i) {
|
|
@@ -4344,15 +4344,15 @@ class u1 extends oa {
|
|
|
4344
4344
|
skipCopy: !0
|
|
4345
4345
|
}), this.state[t] = n ? -1 : 2, n && i && (this.state[t] = 0);
|
|
4346
4346
|
const l = {};
|
|
4347
|
-
this.queue.forEach((
|
|
4348
|
-
Xo(
|
|
4349
|
-
l[
|
|
4350
|
-
const h =
|
|
4347
|
+
this.queue.forEach((d) => {
|
|
4348
|
+
Xo(d.loaded, [s], o), h1(d, t), n && d.errors.push(n), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((c) => {
|
|
4349
|
+
l[c] || (l[c] = {});
|
|
4350
|
+
const h = d.loaded[c];
|
|
4351
4351
|
h.length && h.forEach((f) => {
|
|
4352
|
-
l[
|
|
4352
|
+
l[c][f] === void 0 && (l[c][f] = !0);
|
|
4353
4353
|
});
|
|
4354
|
-
}),
|
|
4355
|
-
}), this.emit("loaded", l), this.queue = this.queue.filter((
|
|
4354
|
+
}), d.done = !0, d.errors.length ? d.callback(d.errors) : d.callback());
|
|
4355
|
+
}), this.emit("loaded", l), this.queue = this.queue.filter((d) => !d.done);
|
|
4356
4356
|
}
|
|
4357
4357
|
read(t, n, i, r = 0, s = this.retryTimeout, o) {
|
|
4358
4358
|
if (!t.length) return o(null, {});
|
|
@@ -4368,29 +4368,29 @@ class u1 extends oa {
|
|
|
4368
4368
|
return;
|
|
4369
4369
|
}
|
|
4370
4370
|
this.readingCalls++;
|
|
4371
|
-
const l = (
|
|
4371
|
+
const l = (c, h) => {
|
|
4372
4372
|
if (this.readingCalls--, this.waitingReads.length > 0) {
|
|
4373
4373
|
const f = this.waitingReads.shift();
|
|
4374
4374
|
this.read(f.lng, f.ns, f.fcName, f.tried, f.wait, f.callback);
|
|
4375
4375
|
}
|
|
4376
|
-
if (
|
|
4376
|
+
if (c && h && r < this.maxRetries) {
|
|
4377
4377
|
setTimeout(() => {
|
|
4378
4378
|
this.read.call(this, t, n, i, r + 1, s * 2, o);
|
|
4379
4379
|
}, s);
|
|
4380
4380
|
return;
|
|
4381
4381
|
}
|
|
4382
|
-
o(
|
|
4383
|
-
},
|
|
4384
|
-
if (
|
|
4382
|
+
o(c, h);
|
|
4383
|
+
}, d = this.backend[i].bind(this.backend);
|
|
4384
|
+
if (d.length === 2) {
|
|
4385
4385
|
try {
|
|
4386
|
-
const
|
|
4387
|
-
|
|
4388
|
-
} catch (
|
|
4389
|
-
l(
|
|
4386
|
+
const c = d(t, n);
|
|
4387
|
+
c && typeof c.then == "function" ? c.then((h) => l(null, h)).catch(l) : l(null, c);
|
|
4388
|
+
} catch (c) {
|
|
4389
|
+
l(c);
|
|
4390
4390
|
}
|
|
4391
4391
|
return;
|
|
4392
4392
|
}
|
|
4393
|
-
return
|
|
4393
|
+
return d(t, n, l);
|
|
4394
4394
|
}
|
|
4395
4395
|
prepareLoading(t, n, i = {}, r) {
|
|
4396
4396
|
if (!this.backend)
|
|
@@ -4419,8 +4419,8 @@ class u1 extends oa {
|
|
|
4419
4419
|
}
|
|
4420
4420
|
saveMissing(t, n, i, r, s, o = {}, l = () => {
|
|
4421
4421
|
}) {
|
|
4422
|
-
var
|
|
4423
|
-
if ((
|
|
4422
|
+
var d, c, h, f, b;
|
|
4423
|
+
if ((c = (d = this.services) == null ? void 0 : d.utils) != null && c.hasLoadedNamespace && !((f = (h = this.services) == null ? void 0 : h.utils) != null && f.hasLoadedNamespace(n))) {
|
|
4424
4424
|
this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
|
|
4425
4425
|
return;
|
|
4426
4426
|
}
|
|
@@ -4533,18 +4533,18 @@ class yt extends oa {
|
|
|
4533
4533
|
...i.interpolation,
|
|
4534
4534
|
...this.options.interpolation
|
|
4535
4535
|
}, t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
|
4536
|
-
const r = (
|
|
4536
|
+
const r = (c) => c ? typeof c == "function" ? new c() : c : null;
|
|
4537
4537
|
if (!this.options.isClone) {
|
|
4538
4538
|
this.modules.logger ? Ne.init(r(this.modules.logger), this.options) : Ne.init(null, this.options);
|
|
4539
|
-
let
|
|
4540
|
-
this.modules.formatter ?
|
|
4539
|
+
let c;
|
|
4540
|
+
this.modules.formatter ? c = this.modules.formatter : c = d1;
|
|
4541
4541
|
const h = new qn(this.options);
|
|
4542
4542
|
this.store = new En(this.options.resources, this.options);
|
|
4543
4543
|
const f = this.services;
|
|
4544
4544
|
f.logger = Ne, f.resourceStore = this.store, f.languageUtils = h, f.pluralResolver = new s1(h, {
|
|
4545
4545
|
prepend: this.options.pluralSeparator,
|
|
4546
4546
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
4547
|
-
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),
|
|
4547
|
+
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), c && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (f.formatter = r(c), f.formatter.init && f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new o1(this.options), f.utils = {
|
|
4548
4548
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
4549
4549
|
}, f.backendConnector = new u1(r(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (p, ...g) => {
|
|
4550
4550
|
this.emit(p, ...g);
|
|
@@ -4555,22 +4555,22 @@ class yt extends oa {
|
|
|
4555
4555
|
});
|
|
4556
4556
|
}
|
|
4557
4557
|
if (this.format = this.options.interpolation.format, n || (n = Lt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
4558
|
-
const
|
|
4559
|
-
|
|
4558
|
+
const c = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
4559
|
+
c.length > 0 && c[0] !== "dev" && (this.options.lng = c[0]);
|
|
4560
4560
|
}
|
|
4561
|
-
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((
|
|
4562
|
-
this[
|
|
4563
|
-
}), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((
|
|
4564
|
-
this[
|
|
4561
|
+
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((c) => {
|
|
4562
|
+
this[c] = (...h) => this.store[c](...h);
|
|
4563
|
+
}), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
|
|
4564
|
+
this[c] = (...h) => (this.store[c](...h), this);
|
|
4565
4565
|
});
|
|
4566
|
-
const l = ht(),
|
|
4567
|
-
const
|
|
4566
|
+
const l = ht(), d = () => {
|
|
4567
|
+
const c = (h, f) => {
|
|
4568
4568
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(f), n(h, f);
|
|
4569
4569
|
};
|
|
4570
|
-
if (this.languages && !this.isInitialized) return
|
|
4571
|
-
this.changeLanguage(this.options.lng,
|
|
4570
|
+
if (this.languages && !this.isInitialized) return c(null, this.t.bind(this));
|
|
4571
|
+
this.changeLanguage(this.options.lng, c);
|
|
4572
4572
|
};
|
|
4573
|
-
return this.options.resources || !this.options.initAsync ?
|
|
4573
|
+
return this.options.resources || !this.options.initAsync ? d() : setTimeout(d, 0), l;
|
|
4574
4574
|
}
|
|
4575
4575
|
loadResources(t, n = Lt) {
|
|
4576
4576
|
var s, o;
|
|
@@ -4578,14 +4578,14 @@ class yt extends oa {
|
|
|
4578
4578
|
const r = T(t) ? t : this.language;
|
|
4579
4579
|
if (typeof t == "function" && (i = t), !this.options.resources || this.options.partialBundledLanguages) {
|
|
4580
4580
|
if ((r == null ? void 0 : r.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return i();
|
|
4581
|
-
const l = [],
|
|
4582
|
-
if (!
|
|
4583
|
-
this.services.languageUtils.toResolveHierarchy(
|
|
4581
|
+
const l = [], d = (c) => {
|
|
4582
|
+
if (!c || c === "cimode") return;
|
|
4583
|
+
this.services.languageUtils.toResolveHierarchy(c).forEach((f) => {
|
|
4584
4584
|
f !== "cimode" && l.indexOf(f) < 0 && l.push(f);
|
|
4585
4585
|
});
|
|
4586
4586
|
};
|
|
4587
|
-
r ?
|
|
4588
|
-
!
|
|
4587
|
+
r ? d(r) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((h) => d(h)), (o = (s = this.options.preload) == null ? void 0 : s.forEach) == null || o.call(s, (c) => d(c)), this.services.backendConnector.load(l, this.options.ns, (c) => {
|
|
4588
|
+
!c && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), i(c);
|
|
4589
4589
|
});
|
|
4590
4590
|
} else
|
|
4591
4591
|
i(null);
|
|
@@ -4619,33 +4619,33 @@ class yt extends oa {
|
|
|
4619
4619
|
this.emit("languageChanging", t);
|
|
4620
4620
|
const r = (l) => {
|
|
4621
4621
|
this.language = l, this.languages = this.services.languageUtils.toResolveHierarchy(l), this.resolvedLanguage = void 0, this.setResolvedLanguage(l);
|
|
4622
|
-
}, s = (l,
|
|
4623
|
-
|
|
4622
|
+
}, s = (l, d) => {
|
|
4623
|
+
d ? this.isLanguageChangingTo === t && (r(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, i.resolve((...c) => this.t(...c)), n && n(l, (...c) => this.t(...c));
|
|
4624
4624
|
}, o = (l) => {
|
|
4625
4625
|
var h, f;
|
|
4626
4626
|
!t && !l && this.services.languageDetector && (l = []);
|
|
4627
|
-
const
|
|
4628
|
-
|
|
4629
|
-
s(b,
|
|
4627
|
+
const d = T(l) ? l : l && l[0], c = this.store.hasLanguageSomeTranslations(d) ? d : this.services.languageUtils.getBestMatchFromCodes(T(l) ? [l] : l);
|
|
4628
|
+
c && (this.language || r(c), this.translator.language || this.translator.changeLanguage(c), (f = (h = this.services.languageDetector) == null ? void 0 : h.cacheUserLanguage) == null || f.call(h, c)), this.loadResources(c, (b) => {
|
|
4629
|
+
s(b, c);
|
|
4630
4630
|
});
|
|
4631
4631
|
};
|
|
4632
4632
|
return !t && this.services.languageDetector && !this.services.languageDetector.async ? o(this.services.languageDetector.detect()) : !t && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(o) : this.services.languageDetector.detect(o) : o(t), i;
|
|
4633
4633
|
}
|
|
4634
4634
|
getFixedT(t, n, i) {
|
|
4635
4635
|
const r = (s, o, ...l) => {
|
|
4636
|
-
let
|
|
4637
|
-
typeof o != "object" ?
|
|
4636
|
+
let d;
|
|
4637
|
+
typeof o != "object" ? d = this.options.overloadTranslationOptionHandler([s, o].concat(l)) : d = {
|
|
4638
4638
|
...o
|
|
4639
|
-
},
|
|
4640
|
-
const
|
|
4639
|
+
}, d.lng = d.lng || r.lng, d.lngs = d.lngs || r.lngs, d.ns = d.ns || r.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || i || r.keyPrefix);
|
|
4640
|
+
const c = this.options.keySeparator || ".";
|
|
4641
4641
|
let h;
|
|
4642
|
-
return
|
|
4642
|
+
return d.keyPrefix && Array.isArray(s) ? h = s.map((f) => (typeof f == "function" && (f = Oa(f, {
|
|
4643
4643
|
...this.options,
|
|
4644
4644
|
...o
|
|
4645
|
-
})), `${
|
|
4645
|
+
})), `${d.keyPrefix}${c}${f}`)) : (typeof s == "function" && (s = Oa(s, {
|
|
4646
4646
|
...this.options,
|
|
4647
4647
|
...o
|
|
4648
|
-
})), h =
|
|
4648
|
+
})), h = d.keyPrefix ? `${d.keyPrefix}${c}${s}` : s), this.t(h, d);
|
|
4649
4649
|
};
|
|
4650
4650
|
return T(t) ? r.lng = t : r.lngs = t, r.ns = n, r.keyPrefix = i, r;
|
|
4651
4651
|
}
|
|
@@ -4667,9 +4667,9 @@ class yt extends oa {
|
|
|
4667
4667
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
4668
4668
|
const i = n.lng || this.resolvedLanguage || this.languages[0], r = this.options ? this.options.fallbackLng : !1, s = this.languages[this.languages.length - 1];
|
|
4669
4669
|
if (i.toLowerCase() === "cimode") return !0;
|
|
4670
|
-
const o = (l,
|
|
4671
|
-
const
|
|
4672
|
-
return
|
|
4670
|
+
const o = (l, d) => {
|
|
4671
|
+
const c = this.services.backendConnector.state[`${l}|${d}`];
|
|
4672
|
+
return c === -1 || c === 0 || c === 2;
|
|
4673
4673
|
};
|
|
4674
4674
|
if (n.precheck) {
|
|
4675
4675
|
const l = n.precheck(this, o);
|
|
@@ -4725,15 +4725,15 @@ class yt extends oa {
|
|
|
4725
4725
|
}, s.services.utils = {
|
|
4726
4726
|
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
4727
4727
|
}, i) {
|
|
4728
|
-
const l = Object.keys(this.store.data).reduce((
|
|
4729
|
-
...this.store.data[
|
|
4730
|
-
}, c
|
|
4731
|
-
...c
|
|
4732
|
-
}, h), c
|
|
4728
|
+
const l = Object.keys(this.store.data).reduce((d, c) => (d[c] = {
|
|
4729
|
+
...this.store.data[c]
|
|
4730
|
+
}, d[c] = Object.keys(d[c]).reduce((h, f) => (h[f] = {
|
|
4731
|
+
...d[c][f]
|
|
4732
|
+
}, h), d[c]), d), {});
|
|
4733
4733
|
s.store = new En(l, r), s.services.resourceStore = s.store;
|
|
4734
4734
|
}
|
|
4735
|
-
return s.translator = new Jt(s.services, r), s.translator.on("*", (l, ...
|
|
4736
|
-
s.emit(l, ...
|
|
4735
|
+
return s.translator = new Jt(s.services, r), s.translator.on("*", (l, ...d) => {
|
|
4736
|
+
s.emit(l, ...d);
|
|
4737
4737
|
}), s.init(r, n), s.translator.options = r, s.translator.backendConnector.services.utils = {
|
|
4738
4738
|
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
4739
4739
|
}, s;
|
|
@@ -4817,7 +4817,7 @@ const p1 = {
|
|
|
4817
4817
|
}
|
|
4818
4818
|
), g1 = m.div`
|
|
4819
4819
|
border-radius: 0px;
|
|
4820
|
-
background-color: #111111fe;
|
|
4820
|
+
background-color: ${({ $active: e }) => e === 1 ? "rgba(17,17,17,0.8)" : "#111111fe"};
|
|
4821
4821
|
position: absolute;
|
|
4822
4822
|
width: ${({ $width: e }) => e}%;
|
|
4823
4823
|
height: ${({ $height: e }) => e}%;
|
|
@@ -4878,8 +4878,8 @@ const p1 = {
|
|
|
4878
4878
|
const t = _e(null), n = () => (t.current || (t.current = new AudioContext()), t.current), i = async (s) => {
|
|
4879
4879
|
const o = n();
|
|
4880
4880
|
if (!o) return;
|
|
4881
|
-
const
|
|
4882
|
-
h.buffer =
|
|
4881
|
+
const d = await (await fetch(s)).arrayBuffer(), c = await o.decodeAudioData(d), h = o.createBufferSource();
|
|
4882
|
+
h.buffer = c;
|
|
4883
4883
|
const f = o.createGain();
|
|
4884
4884
|
f.gain.value = 0.3, h.playbackRate.value = 1.2;
|
|
4885
4885
|
const b = o.createBiquadFilter();
|
|
@@ -4896,10 +4896,11 @@ const p1 = {
|
|
|
4896
4896
|
children: r,
|
|
4897
4897
|
isLandscape: s,
|
|
4898
4898
|
headerClick: o,
|
|
4899
|
-
dealerName: l
|
|
4899
|
+
dealerName: l,
|
|
4900
|
+
active: d
|
|
4900
4901
|
}) => {
|
|
4901
4902
|
const { clickSound: c } = Pe({ effectsVolume: 50 });
|
|
4902
|
-
return /* @__PURE__ */ a.jsxs(g1, { $height: i, $width: n, $isLandscape: s, children: [
|
|
4903
|
+
return /* @__PURE__ */ a.jsxs(g1, { $height: i, $width: n, $isLandscape: s, $active: d, children: [
|
|
4903
4904
|
/* @__PURE__ */ a.jsxs("div", { className: "header", children: [
|
|
4904
4905
|
/* @__PURE__ */ a.jsxs(
|
|
4905
4906
|
"div",
|
|
@@ -5009,10 +5010,10 @@ const _i = {
|
|
|
5009
5010
|
color: ${({ $isActive: e }) => e ? "#111111" : "#ffffff"};
|
|
5010
5011
|
}
|
|
5011
5012
|
`, A1 = ({ count: e, active: t, setActive: n }) => {
|
|
5012
|
-
const [i, r] = G([]), [s, o] = G([]), [l,
|
|
5013
|
-
t !== e && (
|
|
5013
|
+
const [i, r] = G([]), [s, o] = G([]), [l, d] = G([]), { clickSound: c } = Pe({ effectsVolume: 50 }), h = Array.from({ length: e }, (x, v) => v + 1), f = () => {
|
|
5014
|
+
t !== e && (c(), n(t + 1));
|
|
5014
5015
|
}, b = () => {
|
|
5015
|
-
t !== 1 && (
|
|
5016
|
+
t !== 1 && (c(), n(t - 1));
|
|
5016
5017
|
};
|
|
5017
5018
|
pe(() => {
|
|
5018
5019
|
p();
|
|
@@ -5029,12 +5030,12 @@ const _i = {
|
|
|
5029
5030
|
o(x);
|
|
5030
5031
|
} else
|
|
5031
5032
|
o(["...", e]);
|
|
5032
|
-
t >= 3 && t <= e - 3 ?
|
|
5033
|
+
t >= 3 && t <= e - 3 ? d([t]) : d([]);
|
|
5033
5034
|
} else
|
|
5034
|
-
|
|
5035
|
+
d([...h]);
|
|
5035
5036
|
}, g = (x, v) => {
|
|
5036
5037
|
if (x !== t)
|
|
5037
|
-
if (
|
|
5038
|
+
if (c(), typeof x == "string") {
|
|
5038
5039
|
if (v === 4 || v === 5) {
|
|
5039
5040
|
const w = h.slice(t, e), y = (w.length / 2).toFixed();
|
|
5040
5041
|
n(w[+y - 1]);
|
|
@@ -5484,20 +5485,20 @@ const _i = {
|
|
|
5484
5485
|
/* @__PURE__ */ a.jsx("p", { className: "text", children: s("Bet") }),
|
|
5485
5486
|
/* @__PURE__ */ a.jsx("p", { className: "text", children: s("Win/Lose") })
|
|
5486
5487
|
] }),
|
|
5487
|
-
r == null ? void 0 : r.rounds.map((l,
|
|
5488
|
-
var
|
|
5488
|
+
r == null ? void 0 : r.rounds.map((l, d) => {
|
|
5489
|
+
var c;
|
|
5489
5490
|
return /* @__PURE__ */ a.jsxs(
|
|
5490
5491
|
P1,
|
|
5491
5492
|
{
|
|
5492
5493
|
onClick: () => {
|
|
5493
|
-
o(), i(
|
|
5494
|
+
o(), i(d);
|
|
5494
5495
|
},
|
|
5495
5496
|
children: [
|
|
5496
5497
|
/* @__PURE__ */ a.jsx("p", { className: "p", children: C1(l.roundEndTime) }),
|
|
5497
5498
|
/* @__PURE__ */ a.jsx("p", { className: "p", children: w1(l.tableId) }),
|
|
5498
5499
|
/* @__PURE__ */ a.jsx("p", { className: "p", children: l.currentRoundId }),
|
|
5499
5500
|
/* @__PURE__ */ a.jsxs("p", { className: "p", children: [
|
|
5500
|
-
(
|
|
5501
|
+
(c = l.player.boxes) == null ? void 0 : c.reduce(
|
|
5501
5502
|
(h, f) => h + f.totalBet,
|
|
5502
5503
|
0
|
|
5503
5504
|
),
|
|
@@ -5509,7 +5510,7 @@ const _i = {
|
|
|
5509
5510
|
] }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: s("Lost") }) }) })
|
|
5510
5511
|
]
|
|
5511
5512
|
},
|
|
5512
|
-
|
|
5513
|
+
d
|
|
5513
5514
|
);
|
|
5514
5515
|
})
|
|
5515
5516
|
] }),
|
|
@@ -5604,7 +5605,7 @@ const ir = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5604
5605
|
cardWidth: t
|
|
5605
5606
|
}
|
|
5606
5607
|
);
|
|
5607
|
-
const s = wt[e - 1].value, o = M1(e), l = z1(e),
|
|
5608
|
+
const s = wt[e - 1].value, o = M1(e), l = z1(e), d = t / 54, c = t / 2, h = +s == 10, f = {
|
|
5608
5609
|
textX: { top: h ? 30 : 25, bottom: h ? 18 : 20 },
|
|
5609
5610
|
textY: { top: 23, bottom: 23 },
|
|
5610
5611
|
iconX: { top: -2.5, bottom: 0.71 },
|
|
@@ -5616,7 +5617,7 @@ const ir = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5616
5617
|
x: `${x}%`,
|
|
5617
5618
|
y: `${v}%`,
|
|
5618
5619
|
fill: l,
|
|
5619
|
-
style: { fontSize:
|
|
5620
|
+
style: { fontSize: c },
|
|
5620
5621
|
dominantBaseline: "middle",
|
|
5621
5622
|
textAnchor: "middle",
|
|
5622
5623
|
transform: `${h ? "scale(0.9, 1)" : ""} ${w || ""}`,
|
|
@@ -5625,7 +5626,7 @@ const ir = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5625
5626
|
), g = (x, v, w = "") => /* @__PURE__ */ a.jsx(
|
|
5626
5627
|
"path",
|
|
5627
5628
|
{
|
|
5628
|
-
transform: `translate(${t / x} ${n / v}) scale(${
|
|
5629
|
+
transform: `translate(${t / x} ${n / v}) scale(${d}) ${w}`,
|
|
5629
5630
|
d: o,
|
|
5630
5631
|
fill: l
|
|
5631
5632
|
}
|
|
@@ -5745,7 +5746,7 @@ const ir = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5745
5746
|
indexHistory: n,
|
|
5746
5747
|
isMobile: i = !0
|
|
5747
5748
|
}) => {
|
|
5748
|
-
var
|
|
5749
|
+
var d, c, h, f, b, p;
|
|
5749
5750
|
const { t: r } = W(), s = [
|
|
5750
5751
|
z.Ante,
|
|
5751
5752
|
z.Insurance,
|
|
@@ -5758,7 +5759,7 @@ const ir = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5758
5759
|
/* @__PURE__ */ a.jsxs(S1, { children: [
|
|
5759
5760
|
/* @__PURE__ */ a.jsxs("div", { className: "item", children: [
|
|
5760
5761
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: r("Dealer") }),
|
|
5761
|
-
/* @__PURE__ */ a.jsx("p", { className: "text", children: (
|
|
5762
|
+
/* @__PURE__ */ a.jsx("p", { className: "text", children: (d = e == null ? void 0 : e.dealer) == null ? void 0 : d.nickname })
|
|
5762
5763
|
] }),
|
|
5763
5764
|
/* @__PURE__ */ a.jsxs("div", { className: "item", children: [
|
|
5764
5765
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: r("Round") }),
|
|
@@ -5768,7 +5769,7 @@ const ir = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5768
5769
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: r("Bet Amount") }),
|
|
5769
5770
|
/* @__PURE__ */ a.jsxs("p", { className: "text", children: [
|
|
5770
5771
|
e.player.gameCurrencyId,
|
|
5771
|
-
(
|
|
5772
|
+
(c = e.player.boxes) == null ? void 0 : c.reduce(
|
|
5772
5773
|
(g, x) => g + x.totalBet,
|
|
5773
5774
|
0
|
|
5774
5775
|
)
|
|
@@ -6421,12 +6422,12 @@ const al = m.div`
|
|
|
6421
6422
|
cardWidth: t
|
|
6422
6423
|
}
|
|
6423
6424
|
);
|
|
6424
|
-
const o = sl[e - 1].value, l = hl(e),
|
|
6425
|
+
const o = sl[e - 1].value, l = hl(e), d = cl(e), c = 1.2 * t / 54, h = (f, b, p = "") => /* @__PURE__ */ a.jsx(
|
|
6425
6426
|
"path",
|
|
6426
6427
|
{
|
|
6427
|
-
transform: `translate(${t / f} ${n / b}) scale(${
|
|
6428
|
+
transform: `translate(${t / f} ${n / b}) scale(${c}) ${p}`,
|
|
6428
6429
|
d: l,
|
|
6429
|
-
fill:
|
|
6430
|
+
fill: d
|
|
6430
6431
|
}
|
|
6431
6432
|
);
|
|
6432
6433
|
return /* @__PURE__ */ a.jsx(pl, { $cardHeight: n, $cardWidth: t, children: /* @__PURE__ */ a.jsxs(
|
|
@@ -6456,7 +6457,7 @@ const al = m.div`
|
|
|
6456
6457
|
{
|
|
6457
6458
|
transform: `translate(${t / 20} ${n / 24}) scale(${t / 80})`,
|
|
6458
6459
|
d: fl(o),
|
|
6459
|
-
fill:
|
|
6460
|
+
fill: d
|
|
6460
6461
|
}
|
|
6461
6462
|
),
|
|
6462
6463
|
h(-1.42, 2.6)
|
|
@@ -6474,7 +6475,7 @@ const al = m.div`
|
|
|
6474
6475
|
isMobile: i = !0,
|
|
6475
6476
|
isLandscape: r = !0
|
|
6476
6477
|
}) => {
|
|
6477
|
-
var
|
|
6478
|
+
var d, c, h, f, b, p, g, x, v;
|
|
6478
6479
|
const { t: s } = W();
|
|
6479
6480
|
z.Ante, z.Insurance, z.PerfectPairs, z.TwentyOnePlusThree;
|
|
6480
6481
|
const o = 32, l = 26;
|
|
@@ -6482,7 +6483,7 @@ const al = m.div`
|
|
|
6482
6483
|
/* @__PURE__ */ a.jsxs(el, { children: [
|
|
6483
6484
|
/* @__PURE__ */ a.jsxs("div", { className: "item", children: [
|
|
6484
6485
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: s("Dealer") }),
|
|
6485
|
-
/* @__PURE__ */ a.jsx("p", { className: "text", children: (
|
|
6486
|
+
/* @__PURE__ */ a.jsx("p", { className: "text", children: (d = e.dealer) == null ? void 0 : d.nickname })
|
|
6486
6487
|
] }),
|
|
6487
6488
|
/* @__PURE__ */ a.jsxs("div", { className: "item", children: [
|
|
6488
6489
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: s("Round") }),
|
|
@@ -6492,7 +6493,7 @@ const al = m.div`
|
|
|
6492
6493
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: s("Bet Amount") }),
|
|
6493
6494
|
/* @__PURE__ */ a.jsxs("p", { className: "text", children: [
|
|
6494
6495
|
e.player.gameCurrencyId,
|
|
6495
|
-
(
|
|
6496
|
+
(c = e.player.boxes) == null ? void 0 : c.reduce(
|
|
6496
6497
|
(w, y) => w + y.totalBet,
|
|
6497
6498
|
0
|
|
6498
6499
|
)
|
|
@@ -6643,21 +6644,21 @@ const al = m.div`
|
|
|
6643
6644
|
isMobile: r = !0,
|
|
6644
6645
|
isLandscape: s = !0
|
|
6645
6646
|
}) => {
|
|
6646
|
-
const [o, l] = G(1), [
|
|
6647
|
+
const [o, l] = G(1), [d, c] = G(null), [h, f] = G(null), { clickSound: b } = Pe({ effectsVolume: 50 });
|
|
6647
6648
|
pe(() => {
|
|
6648
6649
|
t(o);
|
|
6649
6650
|
}, [o]);
|
|
6650
6651
|
const p = (g) => {
|
|
6651
|
-
b(),
|
|
6652
|
+
b(), c(e.rounds[g]), f(g), n(1);
|
|
6652
6653
|
};
|
|
6653
6654
|
return pe(() => {
|
|
6654
6655
|
(h === null || h < 0) && n(0);
|
|
6655
6656
|
}, [h]), pe(() => {
|
|
6656
|
-
i === 2 && (n(0),
|
|
6657
|
-
}, [i]), /* @__PURE__ */ a.jsx(tr, { children:
|
|
6657
|
+
i === 2 && (n(0), c(null), f(null));
|
|
6658
|
+
}, [i]), /* @__PURE__ */ a.jsx(tr, { children: d ? (e == null ? void 0 : e.rounds[0].gameId) === 3 ? /* @__PURE__ */ a.jsx(
|
|
6658
6659
|
bl,
|
|
6659
6660
|
{
|
|
6660
|
-
roundData:
|
|
6661
|
+
roundData: d,
|
|
6661
6662
|
handleClickRound: p,
|
|
6662
6663
|
indexHistory: h,
|
|
6663
6664
|
isMobile: r,
|
|
@@ -6666,7 +6667,7 @@ const al = m.div`
|
|
|
6666
6667
|
) : /* @__PURE__ */ a.jsx(
|
|
6667
6668
|
$1,
|
|
6668
6669
|
{
|
|
6669
|
-
roundData:
|
|
6670
|
+
roundData: d,
|
|
6670
6671
|
handleClickRound: p,
|
|
6671
6672
|
indexHistory: h,
|
|
6672
6673
|
isMobile: r
|
|
@@ -6747,19 +6748,19 @@ const al = m.div`
|
|
|
6747
6748
|
sendTip: i,
|
|
6748
6749
|
currencyId: r
|
|
6749
6750
|
}) => {
|
|
6750
|
-
const [s, o] = G(e[0]), { t: l } = W(), { clickSound:
|
|
6751
|
+
const [s, o] = G(e[0]), { t: l } = W(), { clickSound: d } = Pe({ effectsVolume: 50 });
|
|
6751
6752
|
return /* @__PURE__ */ a.jsxs(xl, { children: [
|
|
6752
|
-
/* @__PURE__ */ a.jsx("div", { className: "chip-wrapper", children: e.map((
|
|
6753
|
+
/* @__PURE__ */ a.jsx("div", { className: "chip-wrapper", children: e.map((c, h) => /* @__PURE__ */ a.jsx(
|
|
6753
6754
|
Zt,
|
|
6754
6755
|
{
|
|
6755
6756
|
onClick: () => {
|
|
6756
|
-
o(
|
|
6757
|
+
o(c), d();
|
|
6757
6758
|
},
|
|
6758
|
-
amount:
|
|
6759
|
+
amount: c,
|
|
6759
6760
|
chipAmounts: e,
|
|
6760
|
-
height: s ===
|
|
6761
|
-
width: s ===
|
|
6762
|
-
isDisabled:
|
|
6761
|
+
height: s === c ? t ? 82 : 48 : t ? 64 : 36,
|
|
6762
|
+
width: s === c ? t ? 82 : 48 : t ? 64 : 36,
|
|
6763
|
+
isDisabled: c > n
|
|
6763
6764
|
},
|
|
6764
6765
|
h
|
|
6765
6766
|
)) }),
|
|
@@ -6944,7 +6945,7 @@ const or = ({
|
|
|
6944
6945
|
const [r, s] = G(
|
|
6945
6946
|
"Leaderboard"
|
|
6946
6947
|
/* Leaderboard */
|
|
6947
|
-
), [o, l] = G(On(e)), { clickSound:
|
|
6948
|
+
), [o, l] = G(On(e)), { clickSound: d } = Pe({ effectsVolume: 50 }), { t: c } = W();
|
|
6948
6949
|
pe(() => {
|
|
6949
6950
|
const p = setInterval(() => {
|
|
6950
6951
|
l(On(e));
|
|
@@ -6970,17 +6971,17 @@ const or = ({
|
|
|
6970
6971
|
{
|
|
6971
6972
|
active: r === p,
|
|
6972
6973
|
onClick: () => {
|
|
6973
|
-
|
|
6974
|
+
d(), s(p);
|
|
6974
6975
|
},
|
|
6975
|
-
children:
|
|
6976
|
+
children: c(`tabs.${p}`, { defaultValue: p })
|
|
6976
6977
|
},
|
|
6977
6978
|
p
|
|
6978
6979
|
)) }),
|
|
6979
6980
|
/* @__PURE__ */ a.jsxs(Sl, { fromIcon: t, children: [
|
|
6980
6981
|
r === "Prizes" && /* @__PURE__ */ a.jsxs("div", { children: [
|
|
6981
6982
|
/* @__PURE__ */ a.jsxs(ft, { children: [
|
|
6982
|
-
/* @__PURE__ */ a.jsx(we, { align: "left", children: /* @__PURE__ */ a.jsx("span", { children:
|
|
6983
|
-
/* @__PURE__ */ a.jsx(we, { align: "right", children: /* @__PURE__ */ a.jsx("span", { children:
|
|
6983
|
+
/* @__PURE__ */ a.jsx(we, { align: "left", children: /* @__PURE__ */ a.jsx("span", { children: c("Place") }) }),
|
|
6984
|
+
/* @__PURE__ */ a.jsx(we, { align: "right", children: /* @__PURE__ */ a.jsx("span", { children: c("Score") }) })
|
|
6984
6985
|
] }),
|
|
6985
6986
|
e.prizes.map((p, g) => /* @__PURE__ */ a.jsxs(ft, { children: [
|
|
6986
6987
|
/* @__PURE__ */ a.jsx(we, { align: "left", children: p.positionStart === p.positionEnd ? p.positionStart : `${p.positionStart} - ${p.positionEnd}` }),
|
|
@@ -6989,9 +6990,9 @@ const or = ({
|
|
|
6989
6990
|
] }),
|
|
6990
6991
|
r === "Leaderboard" && /* @__PURE__ */ a.jsxs(Il, { children: [
|
|
6991
6992
|
/* @__PURE__ */ a.jsxs(ft, { header: !0, children: [
|
|
6992
|
-
/* @__PURE__ */ a.jsx(we, { align: "left", children:
|
|
6993
|
-
/* @__PURE__ */ a.jsx(we, { align: "left", children:
|
|
6994
|
-
/* @__PURE__ */ a.jsx(we, { children:
|
|
6993
|
+
/* @__PURE__ */ a.jsx(we, { align: "left", children: c("Place") }),
|
|
6994
|
+
/* @__PURE__ */ a.jsx(we, { align: "left", children: c("Nickname") }),
|
|
6995
|
+
/* @__PURE__ */ a.jsx(we, { children: c("Score") })
|
|
6995
6996
|
] }),
|
|
6996
6997
|
(f = e.leaderBoard) == null ? void 0 : f.slice().sort((p, g) => p.position - g.position).map((p) => /* @__PURE__ */ a.jsxs(ft, { children: [
|
|
6997
6998
|
/* @__PURE__ */ a.jsx(we, { align: "left", children: h(p.position) }),
|
|
@@ -7015,7 +7016,7 @@ const or = ({
|
|
|
7015
7016
|
r === "Rules" && /* @__PURE__ */ a.jsxs(Bl, { children: [
|
|
7016
7017
|
/* @__PURE__ */ a.jsxs("p", { children: [
|
|
7017
7018
|
/* @__PURE__ */ a.jsxs("strong", { children: [
|
|
7018
|
-
|
|
7019
|
+
c("Period"),
|
|
7019
7020
|
":"
|
|
7020
7021
|
] }),
|
|
7021
7022
|
" ",
|
|
@@ -7033,27 +7034,27 @@ const or = ({
|
|
|
7033
7034
|
/* @__PURE__ */ a.jsxs(Ll, { children: [
|
|
7034
7035
|
/* @__PURE__ */ a.jsxs(Pl, { children: [
|
|
7035
7036
|
/* @__PURE__ */ a.jsx("img", { src: ca, alt: "stars" }),
|
|
7036
|
-
/* @__PURE__ */ a.jsx("span", { children:
|
|
7037
|
+
/* @__PURE__ */ a.jsx("span", { children: c("Tournament ends in") })
|
|
7037
7038
|
] }),
|
|
7038
7039
|
/* @__PURE__ */ a.jsx(Tl, { children: /* @__PURE__ */ a.jsxs(Nl, { children: [
|
|
7039
7040
|
/* @__PURE__ */ a.jsxs("div", { className: "timeBlock", children: [
|
|
7040
7041
|
/* @__PURE__ */ a.jsx(Tt, { children: o.days }),
|
|
7041
|
-
/* @__PURE__ */ a.jsx(Nt, { children:
|
|
7042
|
+
/* @__PURE__ */ a.jsx(Nt, { children: c("day") })
|
|
7042
7043
|
] }),
|
|
7043
7044
|
/* @__PURE__ */ a.jsx("span", { children: ":" }),
|
|
7044
7045
|
/* @__PURE__ */ a.jsxs("div", { className: "timeBlock", children: [
|
|
7045
7046
|
/* @__PURE__ */ a.jsx(Tt, { children: o.hours }),
|
|
7046
|
-
/* @__PURE__ */ a.jsx(Nt, { children:
|
|
7047
|
+
/* @__PURE__ */ a.jsx(Nt, { children: c("hour") })
|
|
7047
7048
|
] }),
|
|
7048
7049
|
/* @__PURE__ */ a.jsx("span", { children: ":" }),
|
|
7049
7050
|
/* @__PURE__ */ a.jsxs("div", { className: "timeBlock", children: [
|
|
7050
7051
|
/* @__PURE__ */ a.jsx(Tt, { children: o.minutes }),
|
|
7051
|
-
/* @__PURE__ */ a.jsx(Nt, { children:
|
|
7052
|
+
/* @__PURE__ */ a.jsx(Nt, { children: c("min") })
|
|
7052
7053
|
] }),
|
|
7053
7054
|
/* @__PURE__ */ a.jsx("span", { children: ":" }),
|
|
7054
7055
|
/* @__PURE__ */ a.jsxs("div", { className: "timeBlock", children: [
|
|
7055
7056
|
/* @__PURE__ */ a.jsx(Tt, { children: o.seconds }),
|
|
7056
|
-
/* @__PURE__ */ a.jsx(Nt, { children:
|
|
7057
|
+
/* @__PURE__ */ a.jsx(Nt, { children: c("sec") })
|
|
7057
7058
|
] })
|
|
7058
7059
|
] }) })
|
|
7059
7060
|
] })
|
|
@@ -7473,7 +7474,7 @@ const or = ({
|
|
|
7473
7474
|
const i = e;
|
|
7474
7475
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: Object.entries(i).map(([r, s], o) => /* @__PURE__ */ a.jsxs("div", { children: [
|
|
7475
7476
|
/* @__PURE__ */ a.jsx("h2", { className: "content-name", children: n(r) }),
|
|
7476
|
-
Array.isArray(s) ? s.map((l,
|
|
7477
|
+
Array.isArray(s) ? s.map((l, d) => /* @__PURE__ */ a.jsx("div", { className: "content", children: /* @__PURE__ */ a.jsx(Pt, { textKey: l }) }, `${t}-${o}-${d}`)) : /* @__PURE__ */ a.jsx("div", { className: "content", children: /* @__PURE__ */ a.jsx(Pt, { textKey: s }) })
|
|
7477
7478
|
] }, `${t}-${o}`)) });
|
|
7478
7479
|
}
|
|
7479
7480
|
return null;
|
|
@@ -7617,9 +7618,9 @@ const or = ({
|
|
|
7617
7618
|
/* @__PURE__ */ a.jsx(lr, { val: t })
|
|
7618
7619
|
] }, n);
|
|
7619
7620
|
}, Ul = ({ gameType: e }) => {
|
|
7620
|
-
const [t, n] = G(""), i = _e(null), r = _e({}), { clickSound: s } = Pe({ effectsVolume: 50 }), { t: o } = W(), l = e === ye.TEXAS ? Wl : Rl,
|
|
7621
|
-
n(
|
|
7622
|
-
const h = r.current[
|
|
7621
|
+
const [t, n] = G(""), i = _e(null), r = _e({}), { clickSound: s } = Pe({ effectsVolume: 50 }), { t: o } = W(), l = e === ye.TEXAS ? Wl : Rl, d = (c) => {
|
|
7622
|
+
n(c), s();
|
|
7623
|
+
const h = r.current[c], f = i.current;
|
|
7623
7624
|
if (h && f) {
|
|
7624
7625
|
const b = h.offsetTop - 99;
|
|
7625
7626
|
f.scrollTo({
|
|
@@ -7630,7 +7631,7 @@ const or = ({
|
|
|
7630
7631
|
};
|
|
7631
7632
|
return pe(() => {
|
|
7632
7633
|
if (!i.current) return;
|
|
7633
|
-
const
|
|
7634
|
+
const c = {
|
|
7634
7635
|
root: i.current,
|
|
7635
7636
|
rootMargin: "-10px 0px -90% 0px",
|
|
7636
7637
|
threshold: 0
|
|
@@ -7642,35 +7643,35 @@ const or = ({
|
|
|
7642
7643
|
x < p && (p = x, b = g.target);
|
|
7643
7644
|
}
|
|
7644
7645
|
}), b && n(b.id);
|
|
7645
|
-
},
|
|
7646
|
+
}, c);
|
|
7646
7647
|
return Object.keys(l).forEach((f) => {
|
|
7647
7648
|
const b = document.getElementById(f);
|
|
7648
7649
|
b && h.observe(b);
|
|
7649
7650
|
}), () => h.disconnect();
|
|
7650
7651
|
}, []), /* @__PURE__ */ a.jsxs(Fl, { children: [
|
|
7651
|
-
/* @__PURE__ */ a.jsx(zl, { children: Object.keys(l).map((
|
|
7652
|
+
/* @__PURE__ */ a.jsx(zl, { children: Object.keys(l).map((c, h) => /* @__PURE__ */ a.jsxs(
|
|
7652
7653
|
Ml,
|
|
7653
7654
|
{
|
|
7654
|
-
$isActive:
|
|
7655
|
+
$isActive: c === t,
|
|
7655
7656
|
$itemsCount: Object.keys(l).length,
|
|
7656
7657
|
className: "item",
|
|
7657
|
-
onClick: () => c
|
|
7658
|
+
onClick: () => d(c),
|
|
7658
7659
|
children: [
|
|
7659
|
-
/* @__PURE__ */ a.jsx("p", { className: "item-text", children: o(
|
|
7660
|
+
/* @__PURE__ */ a.jsx("p", { className: "item-text", children: o(c) }),
|
|
7660
7661
|
/* @__PURE__ */ a.jsx(Ae, { position: "right", height: 6, width: 9 })
|
|
7661
7662
|
]
|
|
7662
7663
|
},
|
|
7663
7664
|
`name_${h}`
|
|
7664
7665
|
)) }),
|
|
7665
|
-
/* @__PURE__ */ a.jsx(Ol, { ref: i, children: Object.entries(l).map(([
|
|
7666
|
+
/* @__PURE__ */ a.jsx(Ol, { ref: i, children: Object.entries(l).map(([c, h], f) => /* @__PURE__ */ a.jsx(
|
|
7666
7667
|
"div",
|
|
7667
7668
|
{
|
|
7668
7669
|
className: "content-items",
|
|
7669
|
-
ref: (b) => r.current[
|
|
7670
|
-
id:
|
|
7671
|
-
children: /* @__PURE__ */ a.jsx(El, { textKey:
|
|
7670
|
+
ref: (b) => r.current[c] = b,
|
|
7671
|
+
id: c,
|
|
7672
|
+
children: /* @__PURE__ */ a.jsx(El, { textKey: c, value: h, index: f, gameType: e })
|
|
7672
7673
|
},
|
|
7673
|
-
`content_${
|
|
7674
|
+
`content_${c}`
|
|
7674
7675
|
)) })
|
|
7675
7676
|
] });
|
|
7676
7677
|
}, cr = ({ onClick: e }) => /* @__PURE__ */ a.jsx(
|
|
@@ -7828,25 +7829,25 @@ const or = ({
|
|
|
7828
7829
|
outline: none;
|
|
7829
7830
|
}
|
|
7830
7831
|
`, Ql = ({ onSendMessage: e, messages: t, isMobile: n }) => {
|
|
7831
|
-
const { t: i } = W(), [r, s] = G(""), o = 0, l = (
|
|
7832
|
-
const h =
|
|
7832
|
+
const { t: i } = W(), [r, s] = G(""), o = 0, l = (c) => {
|
|
7833
|
+
const h = c.target.value;
|
|
7833
7834
|
(h.trim().length || r.length === 1) && s(h);
|
|
7834
|
-
},
|
|
7835
|
+
}, d = () => {
|
|
7835
7836
|
e(r), s("");
|
|
7836
7837
|
};
|
|
7837
7838
|
return /* @__PURE__ */ a.jsxs(Kl, { $isMobile: n, children: [
|
|
7838
|
-
/* @__PURE__ */ a.jsx(ql, { $isMobile: n, children: t.map((
|
|
7839
|
+
/* @__PURE__ */ a.jsx(ql, { $isMobile: n, children: t.map((c, h) => /* @__PURE__ */ a.jsx("div", { children: c.playerId === o ? /* @__PURE__ */ a.jsxs("div", { className: "my-masssage", children: [
|
|
7839
7840
|
/* @__PURE__ */ a.jsxs("div", { className: "sender-nick", children: [
|
|
7840
|
-
/* @__PURE__ */ a.jsx("p", { className: "nickname", children:
|
|
7841
|
-
/* @__PURE__ */ a.jsx("p", { className: "time", children:
|
|
7841
|
+
/* @__PURE__ */ a.jsx("p", { className: "nickname", children: c.senderNickname }),
|
|
7842
|
+
/* @__PURE__ */ a.jsx("p", { className: "time", children: c.time })
|
|
7842
7843
|
] }),
|
|
7843
|
-
/* @__PURE__ */ a.jsx("p", { className: "masssage", children:
|
|
7844
|
+
/* @__PURE__ */ a.jsx("p", { className: "masssage", children: c.message })
|
|
7844
7845
|
] }) : /* @__PURE__ */ a.jsxs("div", { className: "message-item", children: [
|
|
7845
7846
|
/* @__PURE__ */ a.jsxs("div", { className: "sender-nick", children: [
|
|
7846
|
-
/* @__PURE__ */ a.jsx("p", { className: "support-nickname", children:
|
|
7847
|
-
/* @__PURE__ */ a.jsx("p", { className: "support-time", children:
|
|
7847
|
+
/* @__PURE__ */ a.jsx("p", { className: "support-nickname", children: c.senderNickname }),
|
|
7848
|
+
/* @__PURE__ */ a.jsx("p", { className: "support-time", children: c.time })
|
|
7848
7849
|
] }),
|
|
7849
|
-
/* @__PURE__ */ a.jsx("p", { className: "masssage", children:
|
|
7850
|
+
/* @__PURE__ */ a.jsx("p", { className: "masssage", children: c.message })
|
|
7850
7851
|
] }) }, h)) }),
|
|
7851
7852
|
/* @__PURE__ */ a.jsxs(Yl, { $isMobile: n, children: [
|
|
7852
7853
|
/* @__PURE__ */ a.jsx(
|
|
@@ -7857,12 +7858,12 @@ const or = ({
|
|
|
7857
7858
|
onChange: l,
|
|
7858
7859
|
placeholder: i("Click to chat"),
|
|
7859
7860
|
type: "text",
|
|
7860
|
-
onKeyPress: (
|
|
7861
|
-
|
|
7861
|
+
onKeyPress: (c) => {
|
|
7862
|
+
c.key === "Enter" && d();
|
|
7862
7863
|
}
|
|
7863
7864
|
}
|
|
7864
7865
|
),
|
|
7865
|
-
/* @__PURE__ */ a.jsx("div", { className: "send-massage", children: /* @__PURE__ */ a.jsx(cr, { onClick:
|
|
7866
|
+
/* @__PURE__ */ a.jsx("div", { className: "send-massage", children: /* @__PURE__ */ a.jsx(cr, { onClick: d }) })
|
|
7866
7867
|
] })
|
|
7867
7868
|
] });
|
|
7868
7869
|
}, Xl = m.div`
|
|
@@ -7973,9 +7974,9 @@ const or = ({
|
|
|
7973
7974
|
}
|
|
7974
7975
|
}
|
|
7975
7976
|
`, e2 = ({ onSendMessage: e, messages: t, isMobile: n = !1 }) => {
|
|
7976
|
-
const [i, r] = G(""), { t: s } = W(), o = (
|
|
7977
|
-
const
|
|
7978
|
-
(
|
|
7977
|
+
const [i, r] = G(""), { t: s } = W(), o = (d) => {
|
|
7978
|
+
const c = d.target.value;
|
|
7979
|
+
(c.trim().length || i.length === 1) && r(c);
|
|
7979
7980
|
}, l = () => {
|
|
7980
7981
|
e(i), r("");
|
|
7981
7982
|
};
|
|
@@ -7989,20 +7990,20 @@ const or = ({
|
|
|
7989
7990
|
onChange: o,
|
|
7990
7991
|
placeholder: s("Click to chat"),
|
|
7991
7992
|
type: "text",
|
|
7992
|
-
onKeyPress: (
|
|
7993
|
-
|
|
7993
|
+
onKeyPress: (d) => {
|
|
7994
|
+
d.key === "Enter" && l();
|
|
7994
7995
|
}
|
|
7995
7996
|
}
|
|
7996
7997
|
),
|
|
7997
7998
|
/* @__PURE__ */ a.jsx("div", { className: "send-massage", children: /* @__PURE__ */ a.jsx(cr, { onClick: l }) })
|
|
7998
7999
|
] }),
|
|
7999
|
-
/* @__PURE__ */ a.jsx(_l, { $isMobile: n, children: t.map((
|
|
8000
|
+
/* @__PURE__ */ a.jsx(_l, { $isMobile: n, children: t.map((d) => /* @__PURE__ */ a.jsxs("div", { className: "message-item", children: [
|
|
8000
8001
|
/* @__PURE__ */ a.jsxs("div", { className: "sender-nick", children: [
|
|
8001
|
-
/* @__PURE__ */ a.jsx("p", { className: "nickname", children:
|
|
8002
|
-
/* @__PURE__ */ a.jsx("p", { className: "time", children:
|
|
8002
|
+
/* @__PURE__ */ a.jsx("p", { className: "nickname", children: d.senderNickname }),
|
|
8003
|
+
/* @__PURE__ */ a.jsx("p", { className: "time", children: d.time })
|
|
8003
8004
|
] }),
|
|
8004
|
-
/* @__PURE__ */ a.jsx("p", { className: "masssage", children:
|
|
8005
|
-
] }, `${
|
|
8005
|
+
/* @__PURE__ */ a.jsx("p", { className: "masssage", children: d.message })
|
|
8006
|
+
] }, `${d.messageDateTime}`)) })
|
|
8006
8007
|
] });
|
|
8007
8008
|
}, t2 = m.div`
|
|
8008
8009
|
display: flex;
|
|
@@ -8165,16 +8166,16 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8165
8166
|
streamQuality: s,
|
|
8166
8167
|
nickNameChange: o,
|
|
8167
8168
|
nickName: l,
|
|
8168
|
-
errorCode:
|
|
8169
|
+
errorCode: d
|
|
8169
8170
|
}) => {
|
|
8170
|
-
const { t:
|
|
8171
|
+
const { t: c } = W(), [h, f] = G(
|
|
8171
8172
|
s || "Auto"
|
|
8172
8173
|
), [b, p] = G(""), { clickSound: g } = Pe({ effectsVolume: 50 }), x = () => {
|
|
8173
8174
|
g(), o(b), p("");
|
|
8174
8175
|
};
|
|
8175
8176
|
return /* @__PURE__ */ a.jsxs(r2, { children: [
|
|
8176
8177
|
/* @__PURE__ */ a.jsxs("div", { className: "video-quality", children: [
|
|
8177
|
-
/* @__PURE__ */ a.jsx(Dt, { children:
|
|
8178
|
+
/* @__PURE__ */ a.jsx(Dt, { children: c("Video Quality") }),
|
|
8178
8179
|
/* @__PURE__ */ a.jsx("div", { className: "quality-block", children: o2.map((v, w) => /* @__PURE__ */ a.jsx(
|
|
8179
8180
|
s2,
|
|
8180
8181
|
{
|
|
@@ -8182,18 +8183,18 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8182
8183
|
onClick: () => {
|
|
8183
8184
|
g(), f(v), r && r(v);
|
|
8184
8185
|
},
|
|
8185
|
-
children:
|
|
8186
|
+
children: c(v)
|
|
8186
8187
|
},
|
|
8187
8188
|
w
|
|
8188
8189
|
)) })
|
|
8189
8190
|
] }),
|
|
8190
8191
|
/* @__PURE__ */ a.jsxs("div", { className: "music-volume", children: [
|
|
8191
|
-
/* @__PURE__ */ a.jsx(Dt, { children:
|
|
8192
|
+
/* @__PURE__ */ a.jsx(Dt, { children: c("Music Volume") }),
|
|
8192
8193
|
/* @__PURE__ */ a.jsx(
|
|
8193
8194
|
Fa,
|
|
8194
8195
|
{
|
|
8195
8196
|
isSettings: !0,
|
|
8196
|
-
volumeTitle:
|
|
8197
|
+
volumeTitle: c("Dealer's Voice"),
|
|
8197
8198
|
setVolume: i,
|
|
8198
8199
|
volume: e
|
|
8199
8200
|
}
|
|
@@ -8202,7 +8203,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8202
8203
|
Fa,
|
|
8203
8204
|
{
|
|
8204
8205
|
isSettings: !0,
|
|
8205
|
-
volumeTitle:
|
|
8206
|
+
volumeTitle: c("Sound Effects"),
|
|
8206
8207
|
setVolume: n,
|
|
8207
8208
|
volume: t
|
|
8208
8209
|
}
|
|
@@ -8210,24 +8211,24 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8210
8211
|
] }),
|
|
8211
8212
|
/* @__PURE__ */ a.jsx("div", { className: "change-nickname", children: /* @__PURE__ */ a.jsxs(Dt, { children: [
|
|
8212
8213
|
/* @__PURE__ */ a.jsxs("span", { children: [
|
|
8213
|
-
|
|
8214
|
+
c("Nickname"),
|
|
8214
8215
|
": "
|
|
8215
8216
|
] }),
|
|
8216
|
-
/* @__PURE__ */ a.jsx("span", { children:
|
|
8217
|
+
/* @__PURE__ */ a.jsx("span", { children: c(l) })
|
|
8217
8218
|
] }) }),
|
|
8218
8219
|
/* @__PURE__ */ a.jsxs("div", { className: "change-nickname", children: [
|
|
8219
|
-
/* @__PURE__ */ a.jsx(Dt, { children:
|
|
8220
|
+
/* @__PURE__ */ a.jsx(Dt, { children: c("Change Nickname") }),
|
|
8220
8221
|
/* @__PURE__ */ a.jsxs("div", { className: "nickname-field", children: [
|
|
8221
8222
|
/* @__PURE__ */ a.jsx(
|
|
8222
8223
|
i2,
|
|
8223
8224
|
{
|
|
8224
8225
|
value: b,
|
|
8225
8226
|
onChange: ({ target: v }) => p(v.value),
|
|
8226
|
-
placeholder:
|
|
8227
|
-
error:
|
|
8227
|
+
placeholder: c("Enter new nickname"),
|
|
8228
|
+
error: d === dr.NicknameAlreadyExists ? c("Nickname already in use") : void 0
|
|
8228
8229
|
}
|
|
8229
8230
|
),
|
|
8230
|
-
/* @__PURE__ */ a.jsx("button", { onClick: x, children:
|
|
8231
|
+
/* @__PURE__ */ a.jsx("button", { onClick: x, children: c("Change") })
|
|
8231
8232
|
] })
|
|
8232
8233
|
] })
|
|
8233
8234
|
] });
|
|
@@ -8545,13 +8546,13 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8545
8546
|
/* @__PURE__ */ a.jsx("div", { className: "info-wrapper", children: i.map((r, s) => /* @__PURE__ */ a.jsxs("div", { className: `elements title-${r.limitInProps}`, children: [
|
|
8546
8547
|
/* @__PURE__ */ a.jsx("p", { className: "item-name", children: t(r.name) }),
|
|
8547
8548
|
/* @__PURE__ */ a.jsx("div", { className: "card", children: r.cards.map(({ scannerIndex: o }, l) => {
|
|
8548
|
-
const
|
|
8549
|
+
const d = wt[o - 1].value, c = $t(o), h = _t(o);
|
|
8549
8550
|
return /* @__PURE__ */ a.jsx(
|
|
8550
8551
|
ea,
|
|
8551
8552
|
{
|
|
8552
8553
|
color: h,
|
|
8553
|
-
value:
|
|
8554
|
-
suit:
|
|
8554
|
+
value: d,
|
|
8555
|
+
suit: c
|
|
8555
8556
|
},
|
|
8556
8557
|
l
|
|
8557
8558
|
);
|
|
@@ -8568,8 +8569,8 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8568
8569
|
onSendMessageSupport: s,
|
|
8569
8570
|
setOpenRoundHistory: o,
|
|
8570
8571
|
isMobile: l,
|
|
8571
|
-
historyData:
|
|
8572
|
-
isLandscape:
|
|
8572
|
+
historyData: d,
|
|
8573
|
+
isLandscape: c,
|
|
8573
8574
|
streamVolume: h,
|
|
8574
8575
|
effectsVolume: f,
|
|
8575
8576
|
setEffectsVolume: b,
|
|
@@ -8619,12 +8620,12 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8619
8620
|
return /* @__PURE__ */ a.jsx(
|
|
8620
8621
|
yl,
|
|
8621
8622
|
{
|
|
8622
|
-
historyData:
|
|
8623
|
+
historyData: d,
|
|
8623
8624
|
getHistory: w,
|
|
8624
8625
|
setOpenRoundHistory: o,
|
|
8625
8626
|
openRoundHistory: x,
|
|
8626
8627
|
isMobile: l,
|
|
8627
|
-
isLandscape:
|
|
8628
|
+
isLandscape: c
|
|
8628
8629
|
}
|
|
8629
8630
|
);
|
|
8630
8631
|
case H.Tip:
|
|
@@ -8632,7 +8633,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8632
8633
|
Cl,
|
|
8633
8634
|
{
|
|
8634
8635
|
chipAmounts: i,
|
|
8635
|
-
isLandscape:
|
|
8636
|
+
isLandscape: c,
|
|
8636
8637
|
balance: v,
|
|
8637
8638
|
sendTip: y,
|
|
8638
8639
|
currencyId: j
|
|
@@ -8865,8 +8866,8 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8865
8866
|
messages: s,
|
|
8866
8867
|
historyData: o,
|
|
8867
8868
|
onSendMessage: l,
|
|
8868
|
-
tournamentData:
|
|
8869
|
-
isTournamentActive:
|
|
8869
|
+
tournamentData: d,
|
|
8870
|
+
isTournamentActive: c,
|
|
8870
8871
|
chipAmounts: h,
|
|
8871
8872
|
messagesSupport: f,
|
|
8872
8873
|
onSendMessageSupport: b,
|
|
@@ -8888,14 +8889,14 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8888
8889
|
errorCode: te,
|
|
8889
8890
|
gameType: Q
|
|
8890
8891
|
}) => {
|
|
8891
|
-
const [V, se] = G(0), [
|
|
8892
|
+
const [V, se] = G(0), [X, ee] = G(null), [le, J] = G(!1), { t: ne } = W(), { clickSound: q } = Pe({ effectsVolume: 50 }), [Y, ce] = G(0), [Ce, E] = G(0), ue = () => {
|
|
8892
8893
|
q(), ee(null);
|
|
8893
|
-
}, me = Uo(
|
|
8894
|
+
}, me = Uo(X, p, V === 1), de = (M) => {
|
|
8894
8895
|
if (M === H.VolumeOn) {
|
|
8895
8896
|
S(g === 0 ? 100 : 0);
|
|
8896
8897
|
return;
|
|
8897
8898
|
} else M !== H.closeMenu && ee(M);
|
|
8898
|
-
q(),
|
|
8899
|
+
q(), J(!1);
|
|
8899
8900
|
}, xe = V === 1 ? { headerClick: () => se(2) } : {}, Le = (M) => [
|
|
8900
8901
|
{
|
|
8901
8902
|
name: "Settings",
|
|
@@ -8916,29 +8917,30 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8916
8917
|
y2,
|
|
8917
8918
|
{
|
|
8918
8919
|
onClick: () => {
|
|
8919
|
-
q(),
|
|
8920
|
+
q(), J(!0);
|
|
8920
8921
|
},
|
|
8921
8922
|
children: /* @__PURE__ */ a.jsx(m1, {})
|
|
8922
8923
|
}
|
|
8923
8924
|
),
|
|
8924
|
-
|
|
8925
|
+
X && me && /* @__PURE__ */ a.jsx(
|
|
8925
8926
|
x1,
|
|
8926
8927
|
{
|
|
8927
8928
|
isLandscape: p,
|
|
8928
8929
|
close: ue,
|
|
8929
8930
|
...me,
|
|
8930
8931
|
...xe,
|
|
8931
|
-
dealerName:
|
|
8932
|
+
dealerName: X === H.Tip ? _ : "",
|
|
8933
|
+
active: X,
|
|
8932
8934
|
children: /* @__PURE__ */ a.jsx(
|
|
8933
8935
|
ur,
|
|
8934
8936
|
{
|
|
8935
|
-
tournamentData:
|
|
8937
|
+
tournamentData: d,
|
|
8936
8938
|
getHistory: j,
|
|
8937
8939
|
streamVolume: g,
|
|
8938
8940
|
effectsVolume: w,
|
|
8939
8941
|
setEffectsVolume: y,
|
|
8940
8942
|
setStreamVolume: S,
|
|
8941
|
-
activeAction:
|
|
8943
|
+
activeAction: X,
|
|
8942
8944
|
messages: s,
|
|
8943
8945
|
currencyId: v,
|
|
8944
8946
|
onSendMessage: l,
|
|
@@ -8953,7 +8955,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8953
8955
|
setOpenRoundHistory: se,
|
|
8954
8956
|
limits: I,
|
|
8955
8957
|
sendTip: (M) => {
|
|
8956
|
-
ee(null),
|
|
8958
|
+
ee(null), J(!1), B(M);
|
|
8957
8959
|
},
|
|
8958
8960
|
handleStreamQualityChange: A,
|
|
8959
8961
|
streamQuality: D,
|
|
@@ -8969,7 +8971,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
8969
8971
|
f2,
|
|
8970
8972
|
{
|
|
8971
8973
|
onTouchStart: (M) => Ko(M, ce),
|
|
8972
|
-
onTouchMove: (M) => qo(M, Y,
|
|
8974
|
+
onTouchMove: (M) => qo(M, Y, J),
|
|
8973
8975
|
onTouchEnd: (M) => Yo(M, ce),
|
|
8974
8976
|
$isLandscape: p,
|
|
8975
8977
|
children: [
|
|
@@ -9035,7 +9037,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9035
9037
|
M.buttonType
|
|
9036
9038
|
)) })
|
|
9037
9039
|
] }),
|
|
9038
|
-
|
|
9040
|
+
c && /* @__PURE__ */ a.jsxs(
|
|
9039
9041
|
ii,
|
|
9040
9042
|
{
|
|
9041
9043
|
$isLandscape: p,
|
|
@@ -9283,7 +9285,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9283
9285
|
limits: o,
|
|
9284
9286
|
gameType: l
|
|
9285
9287
|
}) => {
|
|
9286
|
-
const [
|
|
9288
|
+
const [d, c] = G(!1), { t: h } = W();
|
|
9287
9289
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9288
9290
|
/* @__PURE__ */ a.jsxs(k2, { children: [
|
|
9289
9291
|
/* @__PURE__ */ a.jsxs(A2, { onClick: () => Za(i, r, s), children: [
|
|
@@ -9299,13 +9301,13 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9299
9301
|
"div",
|
|
9300
9302
|
{
|
|
9301
9303
|
className: "button",
|
|
9302
|
-
onClick: () =>
|
|
9304
|
+
onClick: () => c(!d),
|
|
9303
9305
|
children: /* @__PURE__ */ a.jsx(
|
|
9304
9306
|
Ae,
|
|
9305
9307
|
{
|
|
9306
9308
|
height: 7,
|
|
9307
9309
|
width: 12,
|
|
9308
|
-
position:
|
|
9310
|
+
position: d ? "top" : "bottom"
|
|
9309
9311
|
}
|
|
9310
9312
|
)
|
|
9311
9313
|
}
|
|
@@ -9320,10 +9322,10 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9320
9322
|
] })
|
|
9321
9323
|
] })
|
|
9322
9324
|
] }),
|
|
9323
|
-
|
|
9325
|
+
d && /* @__PURE__ */ a.jsx(v2, { children: /* @__PURE__ */ a.jsx(
|
|
9324
9326
|
pr,
|
|
9325
9327
|
{
|
|
9326
|
-
close: () =>
|
|
9328
|
+
close: () => c(!1),
|
|
9327
9329
|
header: h("Limits & Payouts"),
|
|
9328
9330
|
height: 370,
|
|
9329
9331
|
width: 300,
|
|
@@ -9354,8 +9356,8 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9354
9356
|
onSendMessageSupport: s,
|
|
9355
9357
|
historyData: o,
|
|
9356
9358
|
balance: l,
|
|
9357
|
-
isFullscreen:
|
|
9358
|
-
toggleFullscreen:
|
|
9359
|
+
isFullscreen: d,
|
|
9360
|
+
toggleFullscreen: c,
|
|
9359
9361
|
streamVolume: h,
|
|
9360
9362
|
effectsVolume: f,
|
|
9361
9363
|
setEffectsVolume: b,
|
|
@@ -9377,19 +9379,19 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9377
9379
|
setActivation: te,
|
|
9378
9380
|
gameType: Q
|
|
9379
9381
|
}) => {
|
|
9380
|
-
const [V, se] = G(null), [
|
|
9381
|
-
if (E.buttonType === H.FullScreen &&
|
|
9382
|
+
const [V, se] = G(null), [X, ee] = G(0), le = Vo(V, X === 1), { clickSound: J } = Pe({ effectsVolume: 100 }), ne = (E, ue) => {
|
|
9383
|
+
if (E.buttonType === H.FullScreen && c(), E.buttonType === H.VolumeOn) {
|
|
9382
9384
|
p(h === 0 ? 100 : 0);
|
|
9383
9385
|
return;
|
|
9384
9386
|
} else
|
|
9385
9387
|
se(ue ? null : E.buttonType), te == null || te(!1);
|
|
9386
|
-
}, q = (E) => E.buttonType === H.FullScreen &&
|
|
9388
|
+
}, q = (E) => E.buttonType === H.FullScreen && d ? L2() : E.buttonType === H.VolumeOn ? h === 0 ? fr() : Xa() : E.icon;
|
|
9387
9389
|
pe(() => {
|
|
9388
9390
|
x && (se(H.Tournament), te == null || te(!1));
|
|
9389
9391
|
}, [x]), pe(() => {
|
|
9390
9392
|
_ && se(null);
|
|
9391
9393
|
}, [_]);
|
|
9392
|
-
const Y =
|
|
9394
|
+
const Y = X === 1 ? { headerClick: () => ee(2) } : {}, ce = (E) => {
|
|
9393
9395
|
se(null), te == null || te(!1), w(E);
|
|
9394
9396
|
}, Ce = /* @__PURE__ */ a.jsx(
|
|
9395
9397
|
ur,
|
|
@@ -9398,7 +9400,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9398
9400
|
historyData: o,
|
|
9399
9401
|
setOpenRoundHistory: ee,
|
|
9400
9402
|
activeAction: V,
|
|
9401
|
-
openRoundHistory:
|
|
9403
|
+
openRoundHistory: X,
|
|
9402
9404
|
messages: e,
|
|
9403
9405
|
currencyId: y,
|
|
9404
9406
|
onSendMessage: t,
|
|
@@ -9433,7 +9435,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9433
9435
|
isValueButton: E.buttonType === H.VolumeOn,
|
|
9434
9436
|
isActive: me,
|
|
9435
9437
|
onClick: () => {
|
|
9436
|
-
ne(E, me),
|
|
9438
|
+
ne(E, me), J();
|
|
9437
9439
|
},
|
|
9438
9440
|
buttonInfo: E == null ? void 0 : E.name,
|
|
9439
9441
|
setStreamVolume: p,
|
|
@@ -9446,7 +9448,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9446
9448
|
pr,
|
|
9447
9449
|
{
|
|
9448
9450
|
close: () => {
|
|
9449
|
-
se(null), te == null || te(!1),
|
|
9451
|
+
se(null), te == null || te(!1), J();
|
|
9450
9452
|
},
|
|
9451
9453
|
...le,
|
|
9452
9454
|
...Y,
|
|
@@ -9585,7 +9587,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9585
9587
|
});
|
|
9586
9588
|
return pe(() => {
|
|
9587
9589
|
const l = setInterval(() => {
|
|
9588
|
-
const
|
|
9590
|
+
const d = (/* @__PURE__ */ new Date()).getTime(), h = new Date(n).getTime() - d;
|
|
9589
9591
|
if (h <= 0) {
|
|
9590
9592
|
clearInterval(l);
|
|
9591
9593
|
return;
|
|
@@ -9963,7 +9965,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9963
9965
|
[Ee.WaitingForBet]: n("Please, Place Your Bets")
|
|
9964
9966
|
}, [r, s] = G(!1), [o, l] = G(
|
|
9965
9967
|
null
|
|
9966
|
-
),
|
|
9968
|
+
), d = e / 1e3;
|
|
9967
9969
|
if (pe(() => {
|
|
9968
9970
|
s(!0);
|
|
9969
9971
|
}, []), pe(() => {
|
|
@@ -9971,7 +9973,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
9971
9973
|
l(o - 1);
|
|
9972
9974
|
}, 1e3) : e > 0 && o === null ? l((e + 1e3) / 1e3) : (s(!1), l(null));
|
|
9973
9975
|
}, [e, o]), e > 0 && r)
|
|
9974
|
-
return /* @__PURE__ */ a.jsxs(V2, { $time:
|
|
9976
|
+
return /* @__PURE__ */ a.jsxs(V2, { $time: d, children: [
|
|
9975
9977
|
/* @__PURE__ */ a.jsx("div", { className: "timer-line" }),
|
|
9976
9978
|
/* @__PURE__ */ a.jsx("div", { className: "line-time" }),
|
|
9977
9979
|
/* @__PURE__ */ a.jsxs("div", { className: "text-wrapper", children: [
|
|
@@ -10005,8 +10007,8 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
10005
10007
|
onDouble: s,
|
|
10006
10008
|
onDeal: o,
|
|
10007
10009
|
onRepeat: l,
|
|
10008
|
-
balance:
|
|
10009
|
-
isUndo:
|
|
10010
|
+
balance: d,
|
|
10011
|
+
isUndo: c,
|
|
10010
10012
|
isDouble: h,
|
|
10011
10013
|
isDeal: f,
|
|
10012
10014
|
isRepeat: b,
|
|
@@ -10016,7 +10018,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
10016
10018
|
return /* @__PURE__ */ a.jsxs(O2, { children: [
|
|
10017
10019
|
/* @__PURE__ */ a.jsx($a, { time: e, timerType: Ee.WaitingForBet }),
|
|
10018
10020
|
/* @__PURE__ */ a.jsxs(M2, { children: [
|
|
10019
|
-
/* @__PURE__ */ a.jsx(oi, { $isDisabled:
|
|
10021
|
+
/* @__PURE__ */ a.jsx(oi, { $isDisabled: c, onClick: r, children: /* @__PURE__ */ a.jsx("div", { className: "icon", children: /* @__PURE__ */ a.jsx(mr, {}) }) }),
|
|
10020
10022
|
t.map((x, v) => {
|
|
10021
10023
|
const y = v === n ? 64 : 48;
|
|
10022
10024
|
return /* @__PURE__ */ a.jsx(R2, { $chipSize: y, children: /* @__PURE__ */ a.jsx(
|
|
@@ -10027,7 +10029,7 @@ const o2 = ["Min", "Low", "Med", "High", "Auto"], l2 = ({
|
|
|
10027
10029
|
height: y,
|
|
10028
10030
|
width: y,
|
|
10029
10031
|
onClick: () => i(v),
|
|
10030
|
-
isDisabled: x >
|
|
10032
|
+
isDisabled: x > d
|
|
10031
10033
|
}
|
|
10032
10034
|
) }, x);
|
|
10033
10035
|
}),
|
|
@@ -10931,10 +10933,10 @@ const fc = {
|
|
|
10931
10933
|
}) => {
|
|
10932
10934
|
const [o, l] = G(
|
|
10933
10935
|
null
|
|
10934
|
-
),
|
|
10936
|
+
), d = n === Ct.Big, { t: c } = W();
|
|
10935
10937
|
return /* @__PURE__ */ a.jsxs(Cc, { children: [
|
|
10936
|
-
|
|
10937
|
-
/* @__PURE__ */ a.jsxs(kc, { $isBig:
|
|
10938
|
+
d && !i && /* @__PURE__ */ a.jsx(vc, { $isBig: d, $isMobile: i, children: /* @__PURE__ */ a.jsx($a, { time: e, timerType: Ee.WaitingForUserAction }) }, r),
|
|
10939
|
+
/* @__PURE__ */ a.jsxs(kc, { $isBig: d, $isMobile: i, children: [
|
|
10938
10940
|
s !== ye.TEXAS ? /* @__PURE__ */ a.jsx("div", { className: "aciton", children: xc[n].map((h, f) => {
|
|
10939
10941
|
const { isDisabled: b, onHandle: p } = t[h.betType];
|
|
10940
10942
|
return /* @__PURE__ */ a.jsxs(
|
|
@@ -10954,7 +10956,7 @@ const fc = {
|
|
|
10954
10956
|
size: n
|
|
10955
10957
|
}
|
|
10956
10958
|
),
|
|
10957
|
-
|
|
10959
|
+
d && /* @__PURE__ */ a.jsx("p", { className: "name", children: c(h.name) })
|
|
10958
10960
|
]
|
|
10959
10961
|
},
|
|
10960
10962
|
f
|
|
@@ -10975,10 +10977,10 @@ const fc = {
|
|
|
10975
10977
|
gameType: s
|
|
10976
10978
|
}
|
|
10977
10979
|
),
|
|
10978
|
-
|
|
10980
|
+
d && /* @__PURE__ */ a.jsx("p", { className: "name", children: c(h.name) })
|
|
10979
10981
|
] }, f);
|
|
10980
10982
|
}) }),
|
|
10981
|
-
s !== ye.TEXAS && /* @__PURE__ */ a.jsx("div", { className: "last-boton", children:
|
|
10983
|
+
s !== ye.TEXAS && /* @__PURE__ */ a.jsx("div", { className: "last-boton", children: d && /* @__PURE__ */ a.jsxs(
|
|
10982
10984
|
Ac,
|
|
10983
10985
|
{
|
|
10984
10986
|
className: `${!!o && (o === z.Surrender ? "animated-active" : "animated-unactive")}`,
|
|
@@ -10990,7 +10992,7 @@ const fc = {
|
|
|
10990
10992
|
disabled: t[z.Surrender].isDisabled,
|
|
10991
10993
|
children: [
|
|
10992
10994
|
/* @__PURE__ */ a.jsx("div", { className: "icon", children: /* @__PURE__ */ a.jsx(yr, { size: n === Ct.Big ? 20 : 12 }) }),
|
|
10993
|
-
/* @__PURE__ */ a.jsx("p", { className: "name", children:
|
|
10995
|
+
/* @__PURE__ */ a.jsx("p", { className: "name", children: c("Surrender") })
|
|
10994
10996
|
]
|
|
10995
10997
|
}
|
|
10996
10998
|
) })
|
|
@@ -11235,7 +11237,7 @@ const fc = {
|
|
|
11235
11237
|
});
|
|
11236
11238
|
pe(() => {
|
|
11237
11239
|
const l = setInterval(() => {
|
|
11238
|
-
const
|
|
11240
|
+
const d = (/* @__PURE__ */ new Date()).getTime(), h = new Date(e.expireDate).getTime() - d;
|
|
11239
11241
|
if (h <= 0) {
|
|
11240
11242
|
clearInterval(l);
|
|
11241
11243
|
return;
|
|
@@ -11555,18 +11557,18 @@ const fc = {
|
|
|
11555
11557
|
}) => {
|
|
11556
11558
|
var h;
|
|
11557
11559
|
const { t: o } = W();
|
|
11558
|
-
let l = [...e].reverse(),
|
|
11559
|
-
const
|
|
11560
|
-
return /* @__PURE__ */ a.jsxs(Uc, { $mustWrap:
|
|
11561
|
-
!!e.length && /* @__PURE__ */ a.jsxs("div", { className: `info-item ${
|
|
11560
|
+
let l = [...e].reverse(), d = [...t].reverse();
|
|
11561
|
+
const c = e.length > Mt && ((h = l[Mt]) == null ? void 0 : h.scannerIndex) > 0;
|
|
11562
|
+
return /* @__PURE__ */ a.jsxs(Uc, { $mustWrap: c, children: [
|
|
11563
|
+
!!e.length && /* @__PURE__ */ a.jsxs("div", { className: `info-item ${c && "revert-section"}`, children: [
|
|
11562
11564
|
/* @__PURE__ */ a.jsx("span", { className: "item-owner", children: o("Dealer") }),
|
|
11563
11565
|
/* @__PURE__ */ a.jsxs(
|
|
11564
11566
|
"div",
|
|
11565
11567
|
{
|
|
11566
11568
|
className: `cards ${e.length > Mt ? "dealer" : "dealerTwo"}`,
|
|
11567
11569
|
children: [
|
|
11568
|
-
di(i,
|
|
11569
|
-
/* @__PURE__ */ a.jsx("div", { className: `cards ${
|
|
11570
|
+
di(i, c),
|
|
11571
|
+
/* @__PURE__ */ a.jsx("div", { className: `cards ${c && "cards-revert"}`, children: ci(l, c) })
|
|
11570
11572
|
]
|
|
11571
11573
|
}
|
|
11572
11574
|
)
|
|
@@ -11581,7 +11583,7 @@ const fc = {
|
|
|
11581
11583
|
className: `cards ${t.length > Mt ? "dealer" : "dealerTwo"}`,
|
|
11582
11584
|
children: [
|
|
11583
11585
|
di(r),
|
|
11584
|
-
ci(
|
|
11586
|
+
ci(d)
|
|
11585
11587
|
]
|
|
11586
11588
|
}
|
|
11587
11589
|
) })
|
|
@@ -11636,7 +11638,7 @@ const fc = {
|
|
|
11636
11638
|
onClick: s
|
|
11637
11639
|
}) => {
|
|
11638
11640
|
if (!t) return;
|
|
11639
|
-
const o = Kc(e, t), l = Gi(t),
|
|
11641
|
+
const o = Kc(e, t), l = Gi(t), d = qc(l, n), c = [
|
|
11640
11642
|
Yc,
|
|
11641
11643
|
Zc,
|
|
11642
11644
|
Qc,
|
|
@@ -11654,13 +11656,13 @@ const fc = {
|
|
|
11654
11656
|
$width: n,
|
|
11655
11657
|
$isDisabled: r,
|
|
11656
11658
|
onClick: () => s && s(t),
|
|
11657
|
-
$positionSize:
|
|
11659
|
+
$positionSize: d,
|
|
11658
11660
|
children: [
|
|
11659
11661
|
/* @__PURE__ */ a.jsx(
|
|
11660
11662
|
"img",
|
|
11661
11663
|
{
|
|
11662
11664
|
draggable: !1,
|
|
11663
|
-
src:
|
|
11665
|
+
src: c[o],
|
|
11664
11666
|
className: "chip"
|
|
11665
11667
|
},
|
|
11666
11668
|
o
|
|
@@ -11881,8 +11883,8 @@ const fc = {
|
|
|
11881
11883
|
onRepeat: s,
|
|
11882
11884
|
balance: o,
|
|
11883
11885
|
isUndo: l,
|
|
11884
|
-
isDouble:
|
|
11885
|
-
onDeal:
|
|
11886
|
+
isDouble: d,
|
|
11887
|
+
onDeal: c,
|
|
11886
11888
|
isDeal: h,
|
|
11887
11889
|
isRepeat: f,
|
|
11888
11890
|
isLandscape: b,
|
|
@@ -11950,7 +11952,7 @@ const fc = {
|
|
|
11950
11952
|
hi,
|
|
11951
11953
|
{
|
|
11952
11954
|
$isLandscape: b,
|
|
11953
|
-
$isDisabled: h ?
|
|
11955
|
+
$isDisabled: h ? d : f,
|
|
11954
11956
|
onClick: h ? r : s,
|
|
11955
11957
|
children: [
|
|
11956
11958
|
/* @__PURE__ */ a.jsx("div", { className: "icon button-icon", children: h ? /* @__PURE__ */ a.jsx(ot, {}) : /* @__PURE__ */ a.jsx(br, {}) }),
|
|
@@ -11959,7 +11961,7 @@ const fc = {
|
|
|
11959
11961
|
}
|
|
11960
11962
|
)
|
|
11961
11963
|
] }),
|
|
11962
|
-
p !== ye.TEXAS && /* @__PURE__ */ a.jsxs(yd, { $isDisabled: h, onClick:
|
|
11964
|
+
p !== ye.TEXAS && /* @__PURE__ */ a.jsxs(yd, { $isDisabled: h, onClick: c, $isLandscape: b, children: [
|
|
11963
11965
|
/* @__PURE__ */ a.jsx("div", { className: "button-icon icon", children: /* @__PURE__ */ a.jsx(gr, {}) }),
|
|
11964
11966
|
/* @__PURE__ */ a.jsx("p", { className: "text-button", children: g("Deal Now") })
|
|
11965
11967
|
] })
|