livevegas-ui-kit 1.0.142 → 1.0.144
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import We, { createContext as zr, useContext as ii, useCallback as Or, useState as U, useRef as ht, useEffect as
|
|
1
|
+
import We, { createContext as zr, useContext as ii, useCallback as Or, useState as U, useRef as ht, useEffect as ue, useDebugValue as cn, createElement as Mr } from "react";
|
|
2
2
|
var ba = { exports: {} }, nt = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -53,18 +53,18 @@ function Pr() {
|
|
|
53
53
|
}
|
|
54
54
|
function S(h, x, C) {
|
|
55
55
|
{
|
|
56
|
-
var L = k.ReactDebugCurrentFrame,
|
|
57
|
-
|
|
58
|
-
var
|
|
56
|
+
var L = k.ReactDebugCurrentFrame, G = L.getStackAddendum();
|
|
57
|
+
G !== "" && (x += "%s", C = C.concat([G]));
|
|
58
|
+
var Z = C.map(function(R) {
|
|
59
59
|
return String(R);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
Z.unshift("Warning: " + x), Function.prototype.apply.call(console[h], console, Z);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var j = !1, T = !1, I = !1, A = !1,
|
|
64
|
+
var j = !1, T = !1, I = !1, A = !1, M = !1, N;
|
|
65
65
|
N = Symbol.for("react.module.reference");
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof h == "string" || typeof h == "function" || h === i || h === s ||
|
|
66
|
+
function D(h) {
|
|
67
|
+
return !!(typeof h == "string" || typeof h == "function" || h === i || h === s || M || h === r || h === d || h === u || A || h === m || j || T || I || typeof h == "object" && h !== null && (h.$$typeof === b || h.$$typeof === f || h.$$typeof === o || h.$$typeof === l || h.$$typeof === c || // 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.
|
|
@@ -74,13 +74,13 @@ function Pr() {
|
|
|
74
74
|
var L = h.displayName;
|
|
75
75
|
if (L)
|
|
76
76
|
return L;
|
|
77
|
-
var
|
|
78
|
-
return
|
|
77
|
+
var G = x.displayName || x.name || "";
|
|
78
|
+
return G !== "" ? C + "(" + G + ")" : C;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function fe(h) {
|
|
81
81
|
return h.displayName || "Context";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function W(h) {
|
|
84
84
|
if (h == null)
|
|
85
85
|
return null;
|
|
86
86
|
if (typeof h.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof h == "function")
|
|
@@ -105,19 +105,19 @@ function Pr() {
|
|
|
105
105
|
switch (h.$$typeof) {
|
|
106
106
|
case l:
|
|
107
107
|
var x = h;
|
|
108
|
-
return
|
|
108
|
+
return fe(x) + ".Consumer";
|
|
109
109
|
case o:
|
|
110
110
|
var C = h;
|
|
111
|
-
return
|
|
111
|
+
return fe(C._context) + ".Provider";
|
|
112
112
|
case c:
|
|
113
113
|
return $(h, h.render, "ForwardRef");
|
|
114
114
|
case f:
|
|
115
115
|
var L = h.displayName || null;
|
|
116
|
-
return L !== null ? L :
|
|
116
|
+
return L !== null ? L : W(h.type) || "Memo";
|
|
117
117
|
case b: {
|
|
118
|
-
var
|
|
118
|
+
var G = h, Z = G._payload, R = G._init;
|
|
119
119
|
try {
|
|
120
|
-
return
|
|
120
|
+
return W(R(Z));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,18 +125,18 @@ function Pr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
128
|
+
var Y = Object.assign, re = 0, _, te, F, K, se, q, Q;
|
|
129
|
+
function le() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
le.__reactDisabledLog = !0;
|
|
132
|
+
function pe() {
|
|
133
133
|
{
|
|
134
134
|
if (re === 0) {
|
|
135
|
-
_ = console.log,
|
|
135
|
+
_ = console.log, te = console.info, F = console.warn, K = console.error, se = console.group, q = console.groupCollapsed, Q = console.groupEnd;
|
|
136
136
|
var h = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: le,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -161,25 +161,25 @@ function Pr() {
|
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
164
|
+
log: Y({}, h, {
|
|
165
165
|
value: _
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
168
|
-
value: M
|
|
169
|
-
}),
|
|
170
|
-
warn: Z({}, h, {
|
|
167
|
+
info: Y({}, h, {
|
|
171
168
|
value: te
|
|
172
169
|
}),
|
|
173
|
-
|
|
170
|
+
warn: Y({}, h, {
|
|
171
|
+
value: F
|
|
172
|
+
}),
|
|
173
|
+
error: Y({}, h, {
|
|
174
174
|
value: K
|
|
175
175
|
}),
|
|
176
|
-
group:
|
|
177
|
-
value:
|
|
176
|
+
group: Y({}, h, {
|
|
177
|
+
value: se
|
|
178
178
|
}),
|
|
179
|
-
groupCollapsed:
|
|
179
|
+
groupCollapsed: Y({}, h, {
|
|
180
180
|
value: q
|
|
181
181
|
}),
|
|
182
|
-
groupEnd:
|
|
182
|
+
groupEnd: Y({}, h, {
|
|
183
183
|
value: Q
|
|
184
184
|
})
|
|
185
185
|
});
|
|
@@ -187,18 +187,18 @@ function Pr() {
|
|
|
187
187
|
re < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var xe = k.ReactCurrentDispatcher,
|
|
190
|
+
var xe = k.ReactCurrentDispatcher, H;
|
|
191
191
|
function Ce(h, x, C) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (H === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var L =
|
|
198
|
-
|
|
196
|
+
} catch (G) {
|
|
197
|
+
var L = G.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
H = L && L[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + H + h;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var we = !1, Be;
|
|
@@ -216,10 +216,10 @@ function Pr() {
|
|
|
216
216
|
}
|
|
217
217
|
var L;
|
|
218
218
|
we = !0;
|
|
219
|
-
var
|
|
219
|
+
var G = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var Z;
|
|
222
|
+
Z = xe.current, xe.current = null, pe();
|
|
223
223
|
try {
|
|
224
224
|
if (x) {
|
|
225
225
|
var R = function() {
|
|
@@ -232,39 +232,39 @@ function Pr() {
|
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
234
|
Reflect.construct(R, []);
|
|
235
|
-
} catch (
|
|
236
|
-
L =
|
|
235
|
+
} catch (de) {
|
|
236
|
+
L = de;
|
|
237
237
|
}
|
|
238
238
|
Reflect.construct(h, [], R);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
241
|
R.call();
|
|
242
|
-
} catch (
|
|
243
|
-
L =
|
|
242
|
+
} catch (de) {
|
|
243
|
+
L = de;
|
|
244
244
|
}
|
|
245
245
|
h.call(R.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
L =
|
|
250
|
+
} catch (de) {
|
|
251
|
+
L = de;
|
|
252
252
|
}
|
|
253
253
|
h();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var
|
|
258
|
-
`),
|
|
259
|
-
`), ee =
|
|
255
|
+
} catch (de) {
|
|
256
|
+
if (de && L && typeof de.stack == "string") {
|
|
257
|
+
for (var P = de.stack.split(`
|
|
258
|
+
`), ce = L.stack.split(`
|
|
259
|
+
`), ee = P.length - 1, ae = ce.length - 1; ee >= 1 && ae >= 0 && P[ee] !== ce[ae]; )
|
|
260
260
|
ae--;
|
|
261
261
|
for (; ee >= 1 && ae >= 0; ee--, ae--)
|
|
262
|
-
if (
|
|
262
|
+
if (P[ee] !== ce[ae]) {
|
|
263
263
|
if (ee !== 1 || ae !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (ee--, ae--, ae < 0 ||
|
|
265
|
+
if (ee--, ae--, ae < 0 || P[ee] !== ce[ae]) {
|
|
266
266
|
var ge = `
|
|
267
|
-
` +
|
|
267
|
+
` + P[ee].replace(" at new ", " at ");
|
|
268
268
|
return h.displayName && ge.includes("<anonymous>") && (ge = ge.replace("<anonymous>", h.displayName)), typeof h == "function" && Be.set(h, ge), ge;
|
|
269
269
|
}
|
|
270
270
|
while (ee >= 1 && ae >= 0);
|
|
@@ -272,7 +272,7 @@ function Pr() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
we = !1, xe.current =
|
|
275
|
+
we = !1, xe.current = Z, ye(), Error.prepareStackTrace = G;
|
|
276
276
|
}
|
|
277
277
|
var Ke = h ? h.displayName || h.name : "", De = Ke ? Ce(Ke) : "";
|
|
278
278
|
return typeof h == "function" && Be.set(h, De), De;
|
|
@@ -304,9 +304,9 @@ function Pr() {
|
|
|
304
304
|
case f:
|
|
305
305
|
return mt(h.type, x, C);
|
|
306
306
|
case b: {
|
|
307
|
-
var L = h,
|
|
307
|
+
var L = h, G = L._payload, Z = L._init;
|
|
308
308
|
try {
|
|
309
|
-
return mt(
|
|
309
|
+
return mt(Z(G), x, C);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
@@ -321,22 +321,22 @@ function Pr() {
|
|
|
321
321
|
} else
|
|
322
322
|
qa.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function hr(h, x, C, L,
|
|
324
|
+
function hr(h, x, C, L, G) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
326
|
+
var Z = Function.call.bind(at);
|
|
327
327
|
for (var R in h)
|
|
328
|
-
if (
|
|
329
|
-
var
|
|
328
|
+
if (Z(h, R)) {
|
|
329
|
+
var P = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof h[R] != "function") {
|
|
332
|
-
var
|
|
333
|
-
throw
|
|
332
|
+
var ce = Error((L || "React class") + ": " + C + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw ce.name = "Invariant Violation", ce;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
P = h[R](x, R, L, C, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
336
|
} catch (ee) {
|
|
337
|
-
|
|
337
|
+
P = ee;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
P && !(P instanceof Error) && (gt(G), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", C, R, typeof P), gt(null)), P instanceof Error && !(P.message in Xa) && (Xa[P.message] = !0, gt(G), w("Failed %s type: %s", C, P.message), gt(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -411,8 +411,8 @@ function Pr() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var wr = function(h, x, C, L,
|
|
415
|
-
var
|
|
414
|
+
var wr = function(h, x, C, L, G, Z, R) {
|
|
415
|
+
var P = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: t,
|
|
418
418
|
// Built-in properties that belong on the element
|
|
@@ -421,41 +421,41 @@ function Pr() {
|
|
|
421
421
|
ref: C,
|
|
422
422
|
props: R,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: Z
|
|
425
425
|
};
|
|
426
|
-
return
|
|
426
|
+
return P._store = {}, Object.defineProperty(P._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
428
428
|
enumerable: !1,
|
|
429
429
|
writable: !0,
|
|
430
430
|
value: !1
|
|
431
|
-
}), Object.defineProperty(
|
|
431
|
+
}), Object.defineProperty(P, "_self", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !1,
|
|
435
435
|
value: L
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(P, "_source", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.freeze && (Object.freeze(
|
|
440
|
+
value: G
|
|
441
|
+
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
442
442
|
};
|
|
443
|
-
function vr(h, x, C, L,
|
|
443
|
+
function vr(h, x, C, L, G) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
C !== void 0 && (Ja(C),
|
|
447
|
-
for (
|
|
448
|
-
at.call(x,
|
|
445
|
+
var Z, R = {}, P = null, ce = null;
|
|
446
|
+
C !== void 0 && (Ja(C), P = "" + C), br(x) && (Ja(x.key), P = "" + x.key), gr(x) && (ce = x.ref, yr(x, G));
|
|
447
|
+
for (Z in x)
|
|
448
|
+
at.call(x, Z) && !mr.hasOwnProperty(Z) && (R[Z] = x[Z]);
|
|
449
449
|
if (h && h.defaultProps) {
|
|
450
450
|
var ee = h.defaultProps;
|
|
451
|
-
for (
|
|
452
|
-
R[
|
|
451
|
+
for (Z in ee)
|
|
452
|
+
R[Z] === void 0 && (R[Z] = ee[Z]);
|
|
453
453
|
}
|
|
454
|
-
if (
|
|
454
|
+
if (P || ce) {
|
|
455
455
|
var ae = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
456
|
-
|
|
456
|
+
P && xr(R, ae), ce && Cr(R, ae);
|
|
457
457
|
}
|
|
458
|
-
return wr(h,
|
|
458
|
+
return wr(h, P, ce, G, L, $a.current, R);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
var oa = k.ReactCurrentOwner, tn = k.ReactDebugCurrentFrame;
|
|
@@ -474,7 +474,7 @@ function Pr() {
|
|
|
474
474
|
function an() {
|
|
475
475
|
{
|
|
476
476
|
if (oa.current) {
|
|
477
|
-
var h =
|
|
477
|
+
var h = W(oa.current.type);
|
|
478
478
|
if (h)
|
|
479
479
|
return `
|
|
480
480
|
|
|
@@ -509,7 +509,7 @@ Check the top-level render call using <` + C + ">.");
|
|
|
509
509
|
return;
|
|
510
510
|
nn[C] = !0;
|
|
511
511
|
var L = "";
|
|
512
|
-
h && h._owner && h._owner !== oa.current && (L = " It was passed a child from " +
|
|
512
|
+
h && h._owner && h._owner !== oa.current && (L = " It was passed a child from " + W(h._owner.type) + "."), Ue(h), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', C, L), Ue(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function sn(h, x) {
|
|
@@ -524,9 +524,9 @@ Check the top-level render call using <` + C + ">.");
|
|
|
524
524
|
else if (ca(h))
|
|
525
525
|
h._store && (h._store.validated = !0);
|
|
526
526
|
else if (h) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var
|
|
527
|
+
var G = v(h);
|
|
528
|
+
if (typeof G == "function" && G !== h.entries)
|
|
529
|
+
for (var Z = G.call(h), R; !(R = Z.next()).done; )
|
|
530
530
|
ca(R.value) && rn(R.value, x);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
@@ -546,12 +546,12 @@ Check the top-level render call using <` + C + ">.");
|
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
548
|
if (C) {
|
|
549
|
-
var L =
|
|
549
|
+
var L = W(x);
|
|
550
550
|
hr(C, h.props, "prop", L, h);
|
|
551
551
|
} else if (x.PropTypes !== void 0 && !la) {
|
|
552
552
|
la = !0;
|
|
553
|
-
var
|
|
554
|
-
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
553
|
+
var G = W(x);
|
|
554
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
555
555
|
}
|
|
556
556
|
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
@@ -569,18 +569,18 @@ Check the top-level render call using <` + C + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var on = {};
|
|
572
|
-
function ln(h, x, C, L,
|
|
572
|
+
function ln(h, x, C, L, G, Z) {
|
|
573
573
|
{
|
|
574
|
-
var R =
|
|
574
|
+
var R = D(h);
|
|
575
575
|
if (!R) {
|
|
576
|
-
var
|
|
577
|
-
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (
|
|
578
|
-
var
|
|
579
|
-
|
|
576
|
+
var P = "";
|
|
577
|
+
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
+
var ce = kr();
|
|
579
|
+
ce ? P += ce : P += an();
|
|
580
580
|
var ee;
|
|
581
|
-
h === null ? ee = "null" : sa(h) ? ee = "array" : h !== void 0 && h.$$typeof === t ? (ee = "<" + (
|
|
581
|
+
h === null ? ee = "null" : sa(h) ? ee = "array" : h !== void 0 && h.$$typeof === t ? (ee = "<" + (W(h.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof h, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, P);
|
|
582
582
|
}
|
|
583
|
-
var ae = vr(h, x, C,
|
|
583
|
+
var ae = vr(h, x, C, G, Z);
|
|
584
584
|
if (ae == null)
|
|
585
585
|
return ae;
|
|
586
586
|
if (R) {
|
|
@@ -597,11 +597,11 @@ Check the top-level render call using <` + C + ">.");
|
|
|
597
597
|
sn(ge, h);
|
|
598
598
|
}
|
|
599
599
|
if (at.call(x, "key")) {
|
|
600
|
-
var De =
|
|
600
|
+
var De = W(h), de = Object.keys(x).filter(function(Dr) {
|
|
601
601
|
return Dr !== "key";
|
|
602
|
-
}), da =
|
|
602
|
+
}), da = de.length > 0 ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
603
|
if (!on[De + da]) {
|
|
604
|
-
var Nr =
|
|
604
|
+
var Nr = de.length > 0 ? "{" + de.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
w(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
@@ -723,10 +723,10 @@ class Jr {
|
|
|
723
723
|
}
|
|
724
724
|
const $r = (e, t) => {
|
|
725
725
|
const n = ht();
|
|
726
|
-
return
|
|
726
|
+
return ue(() => {
|
|
727
727
|
n.current = e;
|
|
728
728
|
}, [e, t]), n.current;
|
|
729
|
-
}, oi = (e, t, n, i) => e.getFixedT(t, n, i), _r = (e, t, n, i) => Or(oi(e, t, n, i), [e, t, n, i]),
|
|
729
|
+
}, oi = (e, t, n, i) => e.getFixedT(t, n, i), _r = (e, t, n, i) => Or(oi(e, t, n, i), [e, t, n, i]), E = (e, t = {}) => {
|
|
730
730
|
var j, T, I, A;
|
|
731
731
|
const {
|
|
732
732
|
i18n: n
|
|
@@ -736,8 +736,8 @@ const $r = (e, t) => {
|
|
|
736
736
|
} = ii(Qr) || {}, s = n || i || Xr();
|
|
737
737
|
if (s && !s.reportNamespaces && (s.reportNamespaces = new Jr()), !s) {
|
|
738
738
|
ya(s, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
739
|
-
const
|
|
740
|
-
return N.t =
|
|
739
|
+
const M = (D, $) => He($) ? $ : Wr($) && He($.defaultValue) ? $.defaultValue : Array.isArray(D) ? D[D.length - 1] : D, N = [M, {}, !1];
|
|
740
|
+
return N.t = M, N.i18n = {}, N.ready = !1, N;
|
|
741
741
|
}
|
|
742
742
|
(j = s.options.react) != null && j.wait && ya(s, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
743
743
|
const o = {
|
|
@@ -750,13 +750,13 @@ const $r = (e, t) => {
|
|
|
750
750
|
} = o;
|
|
751
751
|
let d = r || ((T = s.options) == null ? void 0 : T.defaultNS);
|
|
752
752
|
d = He(d) ? [d] : d || ["translation"], (A = (I = s.reportNamespaces).addUsedNamespaces) == null || A.call(I, d);
|
|
753
|
-
const u = (s.isInitialized || s.initializedStoreOnce) && d.every((
|
|
753
|
+
const u = (s.isInitialized || s.initializedStoreOnce) && d.every((M) => Rr(M, s, o)), f = _r(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), b = () => f, m = () => oi(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), [g, y] = U(b);
|
|
754
754
|
let v = d.join();
|
|
755
755
|
t.lng && (v = `${t.lng}${v}`);
|
|
756
756
|
const k = $r(v), w = ht(!0);
|
|
757
|
-
|
|
757
|
+
ue(() => {
|
|
758
758
|
const {
|
|
759
|
-
bindI18n:
|
|
759
|
+
bindI18n: M,
|
|
760
760
|
bindI18nStore: N
|
|
761
761
|
} = o;
|
|
762
762
|
w.current = !0, !u && !l && (t.lng ? fn(s, t.lng, d, () => {
|
|
@@ -764,29 +764,29 @@ const $r = (e, t) => {
|
|
|
764
764
|
}) : xa(s, d, () => {
|
|
765
765
|
w.current && y(m);
|
|
766
766
|
})), u && k && k !== v && w.current && y(m);
|
|
767
|
-
const
|
|
767
|
+
const D = () => {
|
|
768
768
|
w.current && y(m);
|
|
769
769
|
};
|
|
770
|
-
return
|
|
771
|
-
w.current = !1, s &&
|
|
770
|
+
return M && (s == null || s.on(M, D)), N && (s == null || s.store.on(N, D)), () => {
|
|
771
|
+
w.current = !1, s && M && (M == null || M.split(" ").forEach(($) => s.off($, D))), N && s && N.split(" ").forEach(($) => s.store.off($, D));
|
|
772
772
|
};
|
|
773
|
-
}, [s, v]),
|
|
773
|
+
}, [s, v]), ue(() => {
|
|
774
774
|
w.current && u && y(b);
|
|
775
775
|
}, [s, c, u]);
|
|
776
776
|
const S = [g, s, u];
|
|
777
777
|
if (S.t = g, S.i18n = s, S.ready = u, u || !u && !l) return S;
|
|
778
|
-
throw new Promise((
|
|
779
|
-
t.lng ? fn(s, t.lng, d, () =>
|
|
778
|
+
throw new Promise((M) => {
|
|
779
|
+
t.lng ? fn(s, t.lng, d, () => M()) : xa(s, d, () => M());
|
|
780
780
|
});
|
|
781
781
|
};
|
|
782
|
-
var
|
|
783
|
-
return
|
|
782
|
+
var he = function() {
|
|
783
|
+
return he = Object.assign || function(t) {
|
|
784
784
|
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
785
785
|
n = arguments[i];
|
|
786
786
|
for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
787
787
|
}
|
|
788
788
|
return t;
|
|
789
|
-
},
|
|
789
|
+
}, he.apply(this, arguments);
|
|
790
790
|
};
|
|
791
791
|
function Ge(e, t, n) {
|
|
792
792
|
if (n || arguments.length === 2) for (var i = 0, r = t.length, s; i < r; i++)
|
|
@@ -804,7 +804,7 @@ var t1 = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
804
804
|
return t1.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
805
805
|
}
|
|
806
806
|
/* Z+1 */
|
|
807
|
-
), J = "-ms-", ct = "-moz-",
|
|
807
|
+
), J = "-ms-", ct = "-moz-", V = "-webkit-", li = "comm", qt = "rule", Pa = "decl", n1 = "@import", ci = "@keyframes", i1 = "@layer", di = Math.abs, Fa = String.fromCharCode, wa = Object.assign;
|
|
808
808
|
function r1(e, t) {
|
|
809
809
|
return ie(e, 0) ^ 45 ? (((t << 2 ^ ie(e, 0)) << 2 ^ ie(e, 1)) << 2 ^ ie(e, 2)) << 2 ^ ie(e, 3) : 0;
|
|
810
810
|
}
|
|
@@ -814,7 +814,7 @@ function hi(e) {
|
|
|
814
814
|
function Le(e, t) {
|
|
815
815
|
return (e = t.exec(e)) ? e[0] : e;
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function z(e, t, n) {
|
|
818
818
|
return e.replace(t, n);
|
|
819
819
|
}
|
|
820
820
|
function Dt(e, t, n) {
|
|
@@ -961,7 +961,7 @@ function Ot(e, t, n, i, r, s, o, l, c) {
|
|
|
961
961
|
switch (g = w, w = Ae()) {
|
|
962
962
|
case 40:
|
|
963
963
|
if (g != 108 && ie(A, f - 1) == 58) {
|
|
964
|
-
Dt(A +=
|
|
964
|
+
Dt(A += z(ha(w), "&", "&\f"), "&\f", di(d ? l[d - 1] : 0)) != -1 && (k = -1);
|
|
965
965
|
break;
|
|
966
966
|
}
|
|
967
967
|
case 34:
|
|
@@ -998,7 +998,7 @@ function Ot(e, t, n, i, r, s, o, l, c) {
|
|
|
998
998
|
case 125:
|
|
999
999
|
v = 0;
|
|
1000
1000
|
case 59 + u:
|
|
1001
|
-
k == -1 && (A =
|
|
1001
|
+
k == -1 && (A = z(A, /\f/g, "")), m > 0 && je(A) - f && lt(m > 32 ? gn(A + ";", i, n, f - 1, c) : gn(z(A, " ", "") + ";", i, n, f - 2, c), c);
|
|
1002
1002
|
break;
|
|
1003
1003
|
case 59:
|
|
1004
1004
|
A += ";";
|
|
@@ -1048,7 +1048,7 @@ function Ot(e, t, n, i, r, s, o, l, c) {
|
|
|
1048
1048
|
function mn(e, t, n, i, r, s, o, l, c, d, u, f) {
|
|
1049
1049
|
for (var b = r - 1, m = r === 0 ? s : [""], g = ui(m), y = 0, v = 0, k = 0; y < i; ++y)
|
|
1050
1050
|
for (var w = 0, S = qe(e, b + 1, b = di(v = o[y])), j = e; w < g; ++w)
|
|
1051
|
-
(j = hi(v > 0 ? m[w] + " " + S :
|
|
1051
|
+
(j = hi(v > 0 ? m[w] + " " + S : z(S, /&\f/g, m[w]))) && (c[k++] = j);
|
|
1052
1052
|
return Jt(e, t, n, r === 0 ? qt : l, c, d, u, f);
|
|
1053
1053
|
}
|
|
1054
1054
|
function g1(e, t, n, i) {
|
|
@@ -1060,7 +1060,7 @@ function gn(e, t, n, i, r) {
|
|
|
1060
1060
|
function pi(e, t, n) {
|
|
1061
1061
|
switch (r1(e, t)) {
|
|
1062
1062
|
case 5103:
|
|
1063
|
-
return
|
|
1063
|
+
return V + "print-" + e + e;
|
|
1064
1064
|
case 5737:
|
|
1065
1065
|
case 4201:
|
|
1066
1066
|
case 3177:
|
|
@@ -1086,7 +1086,7 @@ function pi(e, t, n) {
|
|
|
1086
1086
|
case 5365:
|
|
1087
1087
|
case 5621:
|
|
1088
1088
|
case 3829:
|
|
1089
|
-
return
|
|
1089
|
+
return V + e + e;
|
|
1090
1090
|
case 4789:
|
|
1091
1091
|
return ct + e + e;
|
|
1092
1092
|
case 5349:
|
|
@@ -1094,64 +1094,64 @@ function pi(e, t, n) {
|
|
|
1094
1094
|
case 4810:
|
|
1095
1095
|
case 6968:
|
|
1096
1096
|
case 2756:
|
|
1097
|
-
return
|
|
1097
|
+
return V + e + ct + e + J + e + e;
|
|
1098
1098
|
case 5936:
|
|
1099
1099
|
switch (ie(e, t + 11)) {
|
|
1100
1100
|
case 114:
|
|
1101
|
-
return
|
|
1101
|
+
return V + e + J + z(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1102
1102
|
case 108:
|
|
1103
|
-
return
|
|
1103
|
+
return V + e + J + z(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1104
1104
|
case 45:
|
|
1105
|
-
return
|
|
1105
|
+
return V + e + J + z(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1106
1106
|
}
|
|
1107
1107
|
case 6828:
|
|
1108
1108
|
case 4268:
|
|
1109
1109
|
case 2903:
|
|
1110
|
-
return
|
|
1110
|
+
return V + e + J + e + e;
|
|
1111
1111
|
case 6165:
|
|
1112
|
-
return
|
|
1112
|
+
return V + e + J + "flex-" + e + e;
|
|
1113
1113
|
case 5187:
|
|
1114
|
-
return
|
|
1114
|
+
return V + e + z(e, /(\w+).+(:[^]+)/, V + "box-$1$2" + J + "flex-$1$2") + e;
|
|
1115
1115
|
case 5443:
|
|
1116
|
-
return
|
|
1116
|
+
return V + e + J + "flex-item-" + z(e, /flex-|-self/g, "") + (Le(e, /flex-|baseline/) ? "" : J + "grid-row-" + z(e, /flex-|-self/g, "")) + e;
|
|
1117
1117
|
case 4675:
|
|
1118
|
-
return
|
|
1118
|
+
return V + e + J + "flex-line-pack" + z(e, /align-content|flex-|-self/g, "") + e;
|
|
1119
1119
|
case 5548:
|
|
1120
|
-
return
|
|
1120
|
+
return V + e + J + z(e, "shrink", "negative") + e;
|
|
1121
1121
|
case 5292:
|
|
1122
|
-
return
|
|
1122
|
+
return V + e + J + z(e, "basis", "preferred-size") + e;
|
|
1123
1123
|
case 6060:
|
|
1124
|
-
return
|
|
1124
|
+
return V + "box-" + z(e, "-grow", "") + V + e + J + z(e, "grow", "positive") + e;
|
|
1125
1125
|
case 4554:
|
|
1126
|
-
return
|
|
1126
|
+
return V + z(e, /([^-])(transform)/g, "$1" + V + "$2") + e;
|
|
1127
1127
|
case 6187:
|
|
1128
|
-
return
|
|
1128
|
+
return z(z(z(e, /(zoom-|grab)/, V + "$1"), /(image-set)/, V + "$1"), e, "") + e;
|
|
1129
1129
|
case 5495:
|
|
1130
1130
|
case 3959:
|
|
1131
|
-
return
|
|
1131
|
+
return z(e, /(image-set\([^]*)/, V + "$1$`$1");
|
|
1132
1132
|
case 4968:
|
|
1133
|
-
return
|
|
1133
|
+
return z(z(e, /(.+:)(flex-)?(.*)/, V + "box-pack:$3" + J + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + V + e + e;
|
|
1134
1134
|
case 4200:
|
|
1135
1135
|
if (!Le(e, /flex-|baseline/)) return J + "grid-column-align" + qe(e, t) + e;
|
|
1136
1136
|
break;
|
|
1137
1137
|
case 2592:
|
|
1138
1138
|
case 3360:
|
|
1139
|
-
return J +
|
|
1139
|
+
return J + z(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, Le(i.props, /grid-\w+-end/);
|
|
1144
|
-
}) ? ~Dt(e + (n = n[t].value), "span", 0) ? e : J +
|
|
1144
|
+
}) ? ~Dt(e + (n = n[t].value), "span", 0) ? e : J + z(e, "-start", "") + e + J + "grid-row-span:" + (~Dt(n, "span", 0) ? Le(n, /\d+/) : +Le(n, /\d+/) - +Le(e, /\d+/)) + ";" : J + z(e, "-start", "") + e;
|
|
1145
1145
|
case 4896:
|
|
1146
1146
|
case 4128:
|
|
1147
1147
|
return n && n.some(function(i) {
|
|
1148
1148
|
return Le(i.props, /grid-\w+-start/);
|
|
1149
|
-
}) ? e : J +
|
|
1149
|
+
}) ? e : J + z(z(e, "-end", "-span"), "span ", "") + e;
|
|
1150
1150
|
case 4095:
|
|
1151
1151
|
case 3583:
|
|
1152
1152
|
case 4068:
|
|
1153
1153
|
case 2532:
|
|
1154
|
-
return
|
|
1154
|
+
return z(e, /(.+)-inline(.+)/, V + "$1$2") + e;
|
|
1155
1155
|
case 8116:
|
|
1156
1156
|
case 7059:
|
|
1157
1157
|
case 5753:
|
|
@@ -1170,26 +1170,26 @@ function pi(e, t, n) {
|
|
|
1170
1170
|
if (ie(e, t + 4) !== 45)
|
|
1171
1171
|
break;
|
|
1172
1172
|
case 102:
|
|
1173
|
-
return
|
|
1173
|
+
return z(e, /(.+:)(.+)-([^]+)/, "$1" + V + "$2-$3$1" + ct + (ie(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1174
1174
|
case 115:
|
|
1175
|
-
return ~Dt(e, "stretch", 0) ? pi(
|
|
1175
|
+
return ~Dt(e, "stretch", 0) ? pi(z(e, "stretch", "fill-available"), t, n) + e : e;
|
|
1176
1176
|
}
|
|
1177
1177
|
break;
|
|
1178
1178
|
case 5152:
|
|
1179
1179
|
case 5920:
|
|
1180
|
-
return
|
|
1180
|
+
return z(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(i, r, s, o, l, c, d) {
|
|
1181
1181
|
return J + r + ":" + s + d + (o ? J + r + "-span:" + (l ? c : +c - +s) + d : "") + e;
|
|
1182
1182
|
});
|
|
1183
1183
|
case 4949:
|
|
1184
1184
|
if (ie(e, t + 6) === 121)
|
|
1185
|
-
return
|
|
1185
|
+
return z(e, ":", ":" + V) + e;
|
|
1186
1186
|
break;
|
|
1187
1187
|
case 6444:
|
|
1188
1188
|
switch (ie(e, ie(e, 14) === 45 ? 18 : 11)) {
|
|
1189
1189
|
case 120:
|
|
1190
|
-
return
|
|
1190
|
+
return z(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + V + (ie(e, 14) === 45 ? "inline-" : "") + "box$3$1" + V + "$2$3$1" + J + "$2box$3") + e;
|
|
1191
1191
|
case 100:
|
|
1192
|
-
return
|
|
1192
|
+
return z(e, ":", ":" + J) + e;
|
|
1193
1193
|
}
|
|
1194
1194
|
break;
|
|
1195
1195
|
case 5719:
|
|
@@ -1197,7 +1197,7 @@ function pi(e, t, n) {
|
|
|
1197
1197
|
case 2135:
|
|
1198
1198
|
case 3927:
|
|
1199
1199
|
case 2391:
|
|
1200
|
-
return
|
|
1200
|
+
return z(e, "scroll-", "scroll-snap-") + e;
|
|
1201
1201
|
}
|
|
1202
1202
|
return e;
|
|
1203
1203
|
}
|
|
@@ -1242,17 +1242,17 @@ function C1(e, t, n, i) {
|
|
|
1242
1242
|
e.return = pi(e.value, e.length, n);
|
|
1243
1243
|
return;
|
|
1244
1244
|
case ci:
|
|
1245
|
-
return Ft([Te(e, { value:
|
|
1245
|
+
return Ft([Te(e, { value: z(e.value, "@", "@" + V) })], i);
|
|
1246
1246
|
case qt:
|
|
1247
1247
|
if (e.length)
|
|
1248
1248
|
return s1(n = e.props, function(r) {
|
|
1249
1249
|
switch (Le(r, i = /(::plac\w+|:read-\w+)/)) {
|
|
1250
1250
|
case ":read-only":
|
|
1251
1251
|
case ":read-write":
|
|
1252
|
-
Ye(Te(e, { props: [
|
|
1252
|
+
Ye(Te(e, { props: [z(r, /:(read-\w+)/, ":" + ct + "$1")] })), Ye(Te(e, { props: [r] })), wa(e, { props: pn(n, i) });
|
|
1253
1253
|
break;
|
|
1254
1254
|
case "::placeholder":
|
|
1255
|
-
Ye(Te(e, { props: [
|
|
1255
|
+
Ye(Te(e, { props: [z(r, /:(plac\w+)/, ":" + V + "input-$1")] })), Ye(Te(e, { props: [z(r, /:(plac\w+)/, ":" + ct + "$1")] })), Ye(Te(e, { props: [z(r, /:(plac\w+)/, J + "input-$1")] })), Ye(Te(e, { props: [r] })), wa(e, { props: pn(n, i) });
|
|
1256
1256
|
break;
|
|
1257
1257
|
}
|
|
1258
1258
|
return "";
|
|
@@ -1581,7 +1581,7 @@ var ji = function(e) {
|
|
|
1581
1581
|
function e(t, n, i) {
|
|
1582
1582
|
t === void 0 && (t = Je), n === void 0 && (n = {});
|
|
1583
1583
|
var r = this;
|
|
1584
|
-
this.options =
|
|
1584
|
+
this.options = he(he({}, q1), t), this.gs = n, this.names = new Map(i), this.server = !!t.isServer, !this.server && Rt && An && (An = !1, kn(this)), Ga(this, function() {
|
|
1585
1585
|
return function(s) {
|
|
1586
1586
|
for (var o = s.getTag(), l = o.length, c = "", d = function(f) {
|
|
1587
1587
|
var b = function(k) {
|
|
@@ -1604,7 +1604,7 @@ var ji = function(e) {
|
|
|
1604
1604
|
}, e.prototype.rehydrate = function() {
|
|
1605
1605
|
!this.server && Rt && kn(this);
|
|
1606
1606
|
}, e.prototype.reconstructWithOptions = function(t, n) {
|
|
1607
|
-
return n === void 0 && (n = !0), new e(
|
|
1607
|
+
return n === void 0 && (n = !0), new e(he(he({}, this.options), t), this.gs, n && this.names || void 0);
|
|
1608
1608
|
}, e.prototype.allocateGSInstance = function(t) {
|
|
1609
1609
|
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
1610
1610
|
}, e.prototype.getTag = function() {
|
|
@@ -1773,24 +1773,24 @@ function is(e, t, n) {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
var k = new ns(n, b, i ? r.componentStyle : void 0);
|
|
1775
1775
|
function w(j, T) {
|
|
1776
|
-
return function(I, A,
|
|
1777
|
-
var N = I.attrs,
|
|
1778
|
-
process.env.NODE_ENV !== "production" && cn(
|
|
1779
|
-
var
|
|
1780
|
-
for (var Ce, we =
|
|
1776
|
+
return function(I, A, M) {
|
|
1777
|
+
var N = I.attrs, D = I.componentStyle, $ = I.defaultProps, fe = I.foldedComponentIds, W = I.styledComponentId, Y = I.target, re = We.useContext(Ni), _ = jn(), te = I.shouldForwardProp || _.shouldForwardProp;
|
|
1778
|
+
process.env.NODE_ENV !== "production" && cn(W);
|
|
1779
|
+
var F = A1(A, re, $) || Je, K = function(ye, xe, H) {
|
|
1780
|
+
for (var Ce, we = he(he({}, xe), { className: void 0, theme: H }), Be = 0; Be < ye.length; Be += 1) {
|
|
1781
1781
|
var Ee = $e(Ce = ye[Be]) ? Ce(we) : Ce;
|
|
1782
|
-
for (var ve in Ee) we[ve] = ve === "className" ? Oe(we[ve], Ee[ve]) : ve === "style" ?
|
|
1782
|
+
for (var ve in Ee) we[ve] = ve === "className" ? Oe(we[ve], Ee[ve]) : ve === "style" ? he(he({}, we[ve]), Ee[ve]) : Ee[ve];
|
|
1783
1783
|
}
|
|
1784
1784
|
return xe.className && (we.className = Oe(we.className, xe.className)), we;
|
|
1785
|
-
}(N, A,
|
|
1786
|
-
for (var Q in K) K[Q] === void 0 || Q[0] === "$" || Q === "as" || Q === "theme" && K.theme ===
|
|
1787
|
-
var
|
|
1788
|
-
var
|
|
1785
|
+
}(N, A, F), se = K.as || Y, q = {};
|
|
1786
|
+
for (var Q in K) K[Q] === void 0 || Q[0] === "$" || Q === "as" || Q === "theme" && K.theme === F || (Q === "forwardedAs" ? q.as = K.forwardedAs : te && !te(Q, se) || (q[Q] = K[Q], te || process.env.NODE_ENV !== "development" || a1(Q) || In.has(Q) || !Aa.has(se) || (In.add(Q), console.warn('styled-components: it looks like an unknown prop "'.concat(Q, '" 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
|
+
var le = function(ye, xe) {
|
|
1788
|
+
var H = jn(), Ce = ye.generateAndInjectStyles(xe, H.styleSheet, H.stylis);
|
|
1789
1789
|
return process.env.NODE_ENV !== "production" && cn(Ce), Ce;
|
|
1790
|
-
}(
|
|
1791
|
-
process.env.NODE_ENV !== "production" && I.warnTooManyClasses && I.warnTooManyClasses(
|
|
1792
|
-
var
|
|
1793
|
-
return
|
|
1790
|
+
}(D, K);
|
|
1791
|
+
process.env.NODE_ENV !== "production" && I.warnTooManyClasses && I.warnTooManyClasses(le);
|
|
1792
|
+
var pe = Oe(fe, W);
|
|
1793
|
+
return le && (pe += " " + le), K.className && (pe += " " + K.className), q[fa(se) && !Aa.has(se) ? "class" : "className"] = pe, M && (q.ref = M), Mr(se, q);
|
|
1794
1794
|
}(S, j, T);
|
|
1795
1795
|
}
|
|
1796
1796
|
w.displayName = f;
|
|
@@ -1800,13 +1800,13 @@ function is(e, t, n) {
|
|
|
1800
1800
|
}, set: function(j) {
|
|
1801
1801
|
this._foldedDefaultProps = i ? function(T) {
|
|
1802
1802
|
for (var I = [], A = 1; A < arguments.length; A++) I[A - 1] = arguments[A];
|
|
1803
|
-
for (var
|
|
1803
|
+
for (var M = 0, N = I; M < N.length; M++) Ia(T, N[M], !0);
|
|
1804
1804
|
return T;
|
|
1805
1805
|
}({}, r.defaultProps, j) : j;
|
|
1806
1806
|
} }), process.env.NODE_ENV !== "production" && (k1(f, b), S.warnTooManyClasses = /* @__PURE__ */ function(j, T) {
|
|
1807
1807
|
var I = {}, A = !1;
|
|
1808
|
-
return function(
|
|
1809
|
-
if (!A && (I[
|
|
1808
|
+
return function(M) {
|
|
1809
|
+
if (!A && (I[M] = !0, Object.keys(I).length >= 200)) {
|
|
1810
1810
|
var N = T ? ' with the id of "'.concat(T, '"') : "";
|
|
1811
1811
|
console.warn("Over ".concat(200, " classes were generated for component ").concat(j).concat(N, `.
|
|
1812
1812
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
@@ -1844,9 +1844,9 @@ function Ta(e, t, n) {
|
|
|
1844
1844
|
return e(t, n, Va.apply(void 0, Ge([r], s, !1)));
|
|
1845
1845
|
};
|
|
1846
1846
|
return i.attrs = function(r) {
|
|
1847
|
-
return Ta(e, t,
|
|
1847
|
+
return Ta(e, t, he(he({}, n), { attrs: Array.prototype.concat(n.attrs, r).filter(Boolean) }));
|
|
1848
1848
|
}, i.withConfig = function(r) {
|
|
1849
|
-
return Ta(e, t,
|
|
1849
|
+
return Ta(e, t, he(he({}, n), r));
|
|
1850
1850
|
}, i;
|
|
1851
1851
|
}
|
|
1852
1852
|
var Di = function(e) {
|
|
@@ -1929,7 +1929,7 @@ const rs = p.div`
|
|
|
1929
1929
|
color: #ffffff;
|
|
1930
1930
|
}
|
|
1931
1931
|
`, u4 = ({ balance: e, bet: t, currencyId: n }) => {
|
|
1932
|
-
const { t: i } =
|
|
1932
|
+
const { t: i } = E();
|
|
1933
1933
|
return /* @__PURE__ */ a.jsxs(rs, { children: [
|
|
1934
1934
|
/* @__PURE__ */ a.jsxs(Tn, { children: [
|
|
1935
1935
|
/* @__PURE__ */ a.jsx("p", { className: "text-title", children: i("Balance") }),
|
|
@@ -2073,7 +2073,7 @@ const rs = p.div`
|
|
|
2073
2073
|
volume: n,
|
|
2074
2074
|
setVolume: i
|
|
2075
2075
|
}) => {
|
|
2076
|
-
const { t: r } =
|
|
2076
|
+
const { t: r } = E();
|
|
2077
2077
|
return /* @__PURE__ */ a.jsxs(us, { $isSettings: e, children: [
|
|
2078
2078
|
/* @__PURE__ */ a.jsx("p", { children: r(t ?? "") }),
|
|
2079
2079
|
/* @__PURE__ */ a.jsx(
|
|
@@ -2107,7 +2107,7 @@ const rs = p.div`
|
|
|
2107
2107
|
isHoverActive: b = !0,
|
|
2108
2108
|
positonHover: m = "bottom"
|
|
2109
2109
|
}) => {
|
|
2110
|
-
const [g, y] = U(!1), { t: v } =
|
|
2110
|
+
const [g, y] = U(!1), { t: v } = E(), k = () => {
|
|
2111
2111
|
if (n)
|
|
2112
2112
|
return /* @__PURE__ */ a.jsxs(ls, { $positonHover: m, "data-testid": "button-info", children: [
|
|
2113
2113
|
/* @__PURE__ */ a.jsx(hs, { position: m }),
|
|
@@ -3252,7 +3252,7 @@ const ta = ({ isMobile: e = !0 }) => /* @__PURE__ */ a.jsx(
|
|
|
3252
3252
|
/* @__PURE__ */ a.jsx("stop", { offset: "1", stopColor: "#B97304" })
|
|
3253
3253
|
] }) })
|
|
3254
3254
|
] });
|
|
3255
|
-
var
|
|
3255
|
+
var O = /* @__PURE__ */ ((e) => (e[e.Message = 1] = "Message", e[e.Support = 2] = "Support", e[e.Tip = 3] = "Tip", e[e.History = 4] = "History", e[e.Info = 5] = "Info", e[e.Settings = 6] = "Settings", e[e.VolumeOn = 7] = "VolumeOn", e[e.FullScreen = 8] = "FullScreen", e[e.Tournament = 9] = "Tournament", e[e.closeMenu = 10] = "closeMenu", e[e.Limit = 11] = "Limit", e))(O || {});
|
|
3256
3256
|
const ks = [
|
|
3257
3257
|
{
|
|
3258
3258
|
name: "Tournament",
|
|
@@ -3310,64 +3310,64 @@ const ks = [
|
|
|
3310
3310
|
return null;
|
|
3311
3311
|
}
|
|
3312
3312
|
};
|
|
3313
|
-
|
|
3313
|
+
O.Settings, Ka(), O.VolumeOn, aa(), O.closeMenu, ta({ isMobile: !0 });
|
|
3314
3314
|
const js = [
|
|
3315
|
-
{ name: "Message", buttonType:
|
|
3315
|
+
{ name: "Message", buttonType: O.Message, icon: Pi() },
|
|
3316
3316
|
// { name: "Support", buttonType: BUTTONS_TYPE.Support, icon: SupportIcon() },
|
|
3317
|
-
{ name: "Send Tip", buttonType:
|
|
3317
|
+
{ name: "Send Tip", buttonType: O.Tip, icon: Fi() }
|
|
3318
3318
|
], Ss = [
|
|
3319
|
-
{ name: "History", buttonType:
|
|
3320
|
-
{ name: "Help", buttonType:
|
|
3319
|
+
{ name: "History", buttonType: O.History, icon: Mi() },
|
|
3320
|
+
{ name: "Help", buttonType: O.Info, icon: Hi() },
|
|
3321
3321
|
{
|
|
3322
3322
|
name: "Limits & Payouts",
|
|
3323
|
-
buttonType:
|
|
3323
|
+
buttonType: O.Limit,
|
|
3324
3324
|
icon: Cs()
|
|
3325
3325
|
}
|
|
3326
3326
|
], Is = (e, t, n) => {
|
|
3327
3327
|
switch (e) {
|
|
3328
|
-
case
|
|
3328
|
+
case O.Message:
|
|
3329
3329
|
return {
|
|
3330
3330
|
header: "Message",
|
|
3331
3331
|
height: 100,
|
|
3332
3332
|
width: 100
|
|
3333
3333
|
};
|
|
3334
|
-
case
|
|
3334
|
+
case O.Support:
|
|
3335
3335
|
return {
|
|
3336
3336
|
header: "Support",
|
|
3337
3337
|
height: 100,
|
|
3338
3338
|
width: 100
|
|
3339
3339
|
};
|
|
3340
|
-
case
|
|
3340
|
+
case O.Tip:
|
|
3341
3341
|
return {
|
|
3342
3342
|
header: "Send Tip",
|
|
3343
3343
|
height: t ? 100 : 38,
|
|
3344
3344
|
width: t ? 50 : 100
|
|
3345
3345
|
};
|
|
3346
|
-
case
|
|
3346
|
+
case O.History:
|
|
3347
3347
|
return {
|
|
3348
3348
|
header: n ? "Bet Details" : "History",
|
|
3349
3349
|
height: t ? 100 : 82.5,
|
|
3350
3350
|
width: 100
|
|
3351
3351
|
};
|
|
3352
|
-
case
|
|
3352
|
+
case O.Info:
|
|
3353
3353
|
return {
|
|
3354
3354
|
header: "Help",
|
|
3355
3355
|
height: 82.5,
|
|
3356
3356
|
width: 100
|
|
3357
3357
|
};
|
|
3358
|
-
case
|
|
3358
|
+
case O.Tournament:
|
|
3359
3359
|
return {
|
|
3360
3360
|
header: "Golden Chip Tournament",
|
|
3361
3361
|
height: t ? 100 : 82.5,
|
|
3362
3362
|
width: 100
|
|
3363
3363
|
};
|
|
3364
|
-
case
|
|
3364
|
+
case O.Settings:
|
|
3365
3365
|
return {
|
|
3366
3366
|
header: "Settings",
|
|
3367
3367
|
height: 100,
|
|
3368
3368
|
width: 100
|
|
3369
3369
|
};
|
|
3370
|
-
case
|
|
3370
|
+
case O.Limit:
|
|
3371
3371
|
return {
|
|
3372
3372
|
header: "Limits & Payouts",
|
|
3373
3373
|
height: 100,
|
|
@@ -3745,70 +3745,70 @@ class Ut extends na {
|
|
|
3745
3745
|
let g = m == null ? void 0 : m.res;
|
|
3746
3746
|
const y = (m == null ? void 0 : m.usedKey) || l, v = (m == null ? void 0 : m.exactUsedKey) || l, k = ["[object Number]", "[object Function]", "[object RegExp]"], w = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, j = r.count !== void 0 && !B(r.count), T = Ut.hasDefaultValue(r), I = j ? this.pluralResolver.getSuffix(f, r.count, r) : "", A = r.ordinal && j ? this.pluralResolver.getSuffix(f, r.count, {
|
|
3747
3747
|
ordinal: !1
|
|
3748
|
-
}) : "",
|
|
3749
|
-
let
|
|
3750
|
-
S && !g && T && (
|
|
3751
|
-
const $ = Wn(
|
|
3752
|
-
if (S &&
|
|
3748
|
+
}) : "", M = j && !r.ordinal && r.count === 0, N = M && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${I}`] || r[`defaultValue${A}`] || r.defaultValue;
|
|
3749
|
+
let D = g;
|
|
3750
|
+
S && !g && T && (D = N);
|
|
3751
|
+
const $ = Wn(D), fe = Object.prototype.toString.apply(D);
|
|
3752
|
+
if (S && D && $ && k.indexOf(fe) < 0 && !(B(w) && Array.isArray(D))) {
|
|
3753
3753
|
if (!r.returnObjects && !this.options.returnObjects) {
|
|
3754
3754
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
3755
|
-
const
|
|
3755
|
+
const W = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, D, {
|
|
3756
3756
|
...r,
|
|
3757
3757
|
ns: c
|
|
3758
3758
|
}) : `key '${l} (${this.language})' returned an object instead of string.`;
|
|
3759
|
-
return s ? (m.res =
|
|
3759
|
+
return s ? (m.res = W, m.usedParams = this.getUsedParamsDetails(r), m) : W;
|
|
3760
3760
|
}
|
|
3761
3761
|
if (o) {
|
|
3762
|
-
const
|
|
3763
|
-
for (const _ in
|
|
3764
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
3765
|
-
const
|
|
3766
|
-
T && !g ?
|
|
3762
|
+
const W = Array.isArray(D), Y = W ? [] : {}, re = W ? v : y;
|
|
3763
|
+
for (const _ in D)
|
|
3764
|
+
if (Object.prototype.hasOwnProperty.call(D, _)) {
|
|
3765
|
+
const te = `${re}${o}${_}`;
|
|
3766
|
+
T && !g ? Y[_] = this.translate(te, {
|
|
3767
3767
|
...r,
|
|
3768
3768
|
defaultValue: Wn(N) ? N[_] : void 0,
|
|
3769
3769
|
joinArrays: !1,
|
|
3770
3770
|
ns: c
|
|
3771
|
-
}) :
|
|
3771
|
+
}) : Y[_] = this.translate(te, {
|
|
3772
3772
|
...r,
|
|
3773
3773
|
joinArrays: !1,
|
|
3774
3774
|
ns: c
|
|
3775
|
-
}),
|
|
3775
|
+
}), Y[_] === te && (Y[_] = D[_]);
|
|
3776
3776
|
}
|
|
3777
|
-
g =
|
|
3777
|
+
g = Y;
|
|
3778
3778
|
}
|
|
3779
3779
|
} else if (S && B(w) && Array.isArray(g))
|
|
3780
3780
|
g = g.join(w), g && (g = this.extendTranslation(g, t, r, i));
|
|
3781
3781
|
else {
|
|
3782
|
-
let
|
|
3783
|
-
!this.isValidLookup(g) && T && (
|
|
3784
|
-
const _ = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
3785
|
-
if (
|
|
3786
|
-
if (this.logger.log(
|
|
3782
|
+
let W = !1, Y = !1;
|
|
3783
|
+
!this.isValidLookup(g) && T && (W = !0, g = N), this.isValidLookup(g) || (Y = !0, g = l);
|
|
3784
|
+
const _ = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && Y ? void 0 : g, te = T && N !== g && this.options.updateMissing;
|
|
3785
|
+
if (Y || W || te) {
|
|
3786
|
+
if (this.logger.log(te ? "updateKey" : "missingKey", f, d, l, te ? N : g), o) {
|
|
3787
3787
|
const q = this.resolve(l, {
|
|
3788
3788
|
...r,
|
|
3789
3789
|
keySeparator: !1
|
|
3790
3790
|
});
|
|
3791
3791
|
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.");
|
|
3792
3792
|
}
|
|
3793
|
-
let
|
|
3793
|
+
let F = [];
|
|
3794
3794
|
const K = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
|
|
3795
3795
|
if (this.options.saveMissingTo === "fallback" && K && K[0])
|
|
3796
3796
|
for (let q = 0; q < K.length; q++)
|
|
3797
|
-
|
|
3798
|
-
else this.options.saveMissingTo === "all" ?
|
|
3799
|
-
const
|
|
3797
|
+
F.push(K[q]);
|
|
3798
|
+
else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(r.lng || this.language) : F.push(r.lng || this.language);
|
|
3799
|
+
const se = (q, Q, le) => {
|
|
3800
3800
|
var ye;
|
|
3801
|
-
const
|
|
3802
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(q, d, Q,
|
|
3801
|
+
const pe = T && le !== g ? le : _;
|
|
3802
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(q, d, Q, pe, te, r) : (ye = this.backendConnector) != null && ye.saveMissing && this.backendConnector.saveMissing(q, d, Q, pe, te, r), this.emit("missingKey", q, d, Q, g);
|
|
3803
3803
|
};
|
|
3804
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && j ?
|
|
3804
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && j ? F.forEach((q) => {
|
|
3805
3805
|
const Q = this.pluralResolver.getSuffixes(q, r);
|
|
3806
|
-
|
|
3807
|
-
|
|
3806
|
+
M && r[`defaultValue${this.options.pluralSeparator}zero`] && Q.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Q.push(`${this.options.pluralSeparator}zero`), Q.forEach((le) => {
|
|
3807
|
+
se([q], l + le, r[`defaultValue${le}`] || N);
|
|
3808
3808
|
});
|
|
3809
|
-
}) :
|
|
3809
|
+
}) : se(F, l, N));
|
|
3810
3810
|
}
|
|
3811
|
-
g = this.extendTranslation(g, t, r, m, i),
|
|
3811
|
+
g = this.extendTranslation(g, t, r, m, i), Y && g === l && this.options.appendNamespaceToMissingKey && (g = `${d}${u}${l}`), (Y || W) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}${u}${l}` : l, W ? g : void 0, r));
|
|
3812
3812
|
}
|
|
3813
3813
|
return s ? (m.res = g, m.usedParams = this.getUsedParamsDetails(r), m) : g;
|
|
3814
3814
|
}
|
|
@@ -3875,10 +3875,10 @@ class Ut extends na {
|
|
|
3875
3875
|
else {
|
|
3876
3876
|
let A;
|
|
3877
3877
|
b && (A = this.pluralResolver.getSuffix(S, n.count, n));
|
|
3878
|
-
const
|
|
3879
|
-
if (b && (n.ordinal && A.indexOf(N) === 0 && j.push(u + A.replace(N, this.options.pluralSeparator)), j.push(u + A), m && j.push(u +
|
|
3880
|
-
const
|
|
3881
|
-
j.push(
|
|
3878
|
+
const M = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
3879
|
+
if (b && (n.ordinal && A.indexOf(N) === 0 && j.push(u + A.replace(N, this.options.pluralSeparator)), j.push(u + A), m && j.push(u + M)), g) {
|
|
3880
|
+
const D = `${u}${this.options.contextSeparator || "_"}${n.context}`;
|
|
3881
|
+
j.push(D), b && (n.ordinal && A.indexOf(N) === 0 && j.push(D + A.replace(N, this.options.pluralSeparator)), j.push(D + A), m && j.push(D + M));
|
|
3882
3882
|
}
|
|
3883
3883
|
}
|
|
3884
3884
|
let T;
|
|
@@ -4722,22 +4722,22 @@ class ft extends na {
|
|
|
4722
4722
|
};
|
|
4723
4723
|
}
|
|
4724
4724
|
}
|
|
4725
|
-
const
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
const ke =
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4725
|
+
const oe = ft.createInstance();
|
|
4726
|
+
oe.createInstance = ft.createInstance;
|
|
4727
|
+
oe.createInstance;
|
|
4728
|
+
oe.dir;
|
|
4729
|
+
oe.init;
|
|
4730
|
+
oe.loadResources;
|
|
4731
|
+
oe.reloadResources;
|
|
4732
|
+
oe.use;
|
|
4733
|
+
oe.changeLanguage;
|
|
4734
|
+
oe.getFixedT;
|
|
4735
|
+
const ke = oe.t;
|
|
4736
|
+
oe.exists;
|
|
4737
|
+
oe.setDefaultNamespace;
|
|
4738
|
+
oe.hasLoadedNamespace;
|
|
4739
|
+
oe.loadNamespaces;
|
|
4740
|
+
oe.loadLanguages;
|
|
4741
4741
|
const Js = {
|
|
4742
4742
|
bottom: "270deg",
|
|
4743
4743
|
left: "0deg",
|
|
@@ -4937,7 +4937,7 @@ const no = {
|
|
|
4937
4937
|
}, f = () => {
|
|
4938
4938
|
t !== 1 && n(t - 1);
|
|
4939
4939
|
};
|
|
4940
|
-
|
|
4940
|
+
ue(() => {
|
|
4941
4941
|
b();
|
|
4942
4942
|
}, [t]);
|
|
4943
4943
|
const b = () => {
|
|
@@ -5392,7 +5392,7 @@ const no = {
|
|
|
5392
5392
|
handleClickRound: i,
|
|
5393
5393
|
historyData: r
|
|
5394
5394
|
}) => {
|
|
5395
|
-
const { t: s } =
|
|
5395
|
+
const { t: s } = E();
|
|
5396
5396
|
return /* @__PURE__ */ a.jsxs(Ui, { children: [
|
|
5397
5397
|
/* @__PURE__ */ a.jsxs(go, { children: [
|
|
5398
5398
|
/* @__PURE__ */ a.jsxs("div", { className: "header", children: [
|
|
@@ -5619,7 +5619,7 @@ const pt = Array(4).fill([
|
|
|
5619
5619
|
indexHistory: n,
|
|
5620
5620
|
isMobile: i = !0
|
|
5621
5621
|
}) => {
|
|
5622
|
-
const { t: r } =
|
|
5622
|
+
const { t: r } = E(), s = [
|
|
5623
5623
|
X.Ante,
|
|
5624
5624
|
X.Insurance,
|
|
5625
5625
|
X.PerfectPairs,
|
|
@@ -5760,15 +5760,15 @@ const pt = Array(4).fill([
|
|
|
5760
5760
|
isMobile: r = !0
|
|
5761
5761
|
}) => {
|
|
5762
5762
|
const [s, o] = U(1), [l, c] = U(null), [d, u] = U(null);
|
|
5763
|
-
|
|
5763
|
+
ue(() => {
|
|
5764
5764
|
t(s);
|
|
5765
5765
|
}, [s]);
|
|
5766
5766
|
const f = (b) => {
|
|
5767
5767
|
c(e.rounds[b]), u(b), n(1);
|
|
5768
5768
|
};
|
|
5769
|
-
return
|
|
5769
|
+
return ue(() => {
|
|
5770
5770
|
(d === null || d < 0) && n(0);
|
|
5771
|
-
}, [d]),
|
|
5771
|
+
}, [d]), ue(() => {
|
|
5772
5772
|
i === 2 && (n(0), c(null), u(null));
|
|
5773
5773
|
}, [i]), /* @__PURE__ */ a.jsx(Ui, { children: l ? /* @__PURE__ */ a.jsx(
|
|
5774
5774
|
Po,
|
|
@@ -5854,7 +5854,7 @@ const pt = Array(4).fill([
|
|
|
5854
5854
|
sendTip: i,
|
|
5855
5855
|
currencyId: r
|
|
5856
5856
|
}) => {
|
|
5857
|
-
const [s, o] = U(e[0]), { t: l } =
|
|
5857
|
+
const [s, o] = U(e[0]), { t: l } = E();
|
|
5858
5858
|
return /* @__PURE__ */ a.jsxs(Ro, { children: [
|
|
5859
5859
|
/* @__PURE__ */ a.jsx("div", { className: "chip-wrapper", children: e.map((c, d) => /* @__PURE__ */ a.jsx(
|
|
5860
5860
|
Gt,
|
|
@@ -5907,6 +5907,7 @@ const Vo = p.div`
|
|
|
5907
5907
|
background-color: #111;
|
|
5908
5908
|
border-radius: 10px;
|
|
5909
5909
|
z-index: 20;
|
|
5910
|
+
overflow: hidden;
|
|
5910
5911
|
`}
|
|
5911
5912
|
`, Eo = p.div`
|
|
5912
5913
|
display: flex;
|
|
@@ -5952,11 +5953,11 @@ const Vo = p.div`
|
|
|
5952
5953
|
|
|
5953
5954
|
${({ stickyBottom: e }) => e && `
|
|
5954
5955
|
position: absolute;
|
|
5955
|
-
width:
|
|
5956
|
+
width: 100%;
|
|
5956
5957
|
bottom: 78px;
|
|
5957
5958
|
background: #111;
|
|
5958
5959
|
`}
|
|
5959
|
-
`,
|
|
5960
|
+
`, me = p.div`
|
|
5960
5961
|
flex: ${({ align: e }) => e === "left" ? 2 : 1};
|
|
5961
5962
|
text-align: ${({ align: e }) => e || "center"};
|
|
5962
5963
|
font-size: 13px;
|
|
@@ -6033,8 +6034,8 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6033
6034
|
const [i, r] = U(
|
|
6034
6035
|
"Leaderboard"
|
|
6035
6036
|
/* Leaderboard */
|
|
6036
|
-
), [s, o] = U(Dn(e)), { t: l } =
|
|
6037
|
-
|
|
6037
|
+
), [s, o] = U(Dn(e)), { t: l } = E();
|
|
6038
|
+
ue(() => {
|
|
6038
6039
|
const f = setInterval(() => {
|
|
6039
6040
|
o(Dn(e));
|
|
6040
6041
|
}, 1e3);
|
|
@@ -6065,31 +6066,31 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6065
6066
|
/* @__PURE__ */ a.jsxs(Ko, { fromIcon: t, children: [
|
|
6066
6067
|
i === "Prizes" && /* @__PURE__ */ a.jsxs("div", { children: [
|
|
6067
6068
|
/* @__PURE__ */ a.jsxs(ot, { children: [
|
|
6068
|
-
/* @__PURE__ */ a.jsx(
|
|
6069
|
-
/* @__PURE__ */ a.jsx(
|
|
6069
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: /* @__PURE__ */ a.jsx("span", { children: l("Place") }) }),
|
|
6070
|
+
/* @__PURE__ */ a.jsx(me, { align: "right", children: /* @__PURE__ */ a.jsx("span", { children: l("Score") }) })
|
|
6070
6071
|
] }),
|
|
6071
6072
|
e.prizes.map((f, b) => /* @__PURE__ */ a.jsxs(ot, { children: [
|
|
6072
|
-
/* @__PURE__ */ a.jsx(
|
|
6073
|
-
/* @__PURE__ */ a.jsx(
|
|
6073
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: f.positionStart === f.positionEnd ? f.positionStart : `${f.positionStart} - ${f.positionEnd}` }),
|
|
6074
|
+
/* @__PURE__ */ a.jsx(me, { align: "right", children: f.winning.toFixed(2) })
|
|
6074
6075
|
] }, b))
|
|
6075
6076
|
] }),
|
|
6076
6077
|
i === "Leaderboard" && /* @__PURE__ */ a.jsxs(Yo, { children: [
|
|
6077
6078
|
/* @__PURE__ */ a.jsxs(ot, { header: !0, children: [
|
|
6078
|
-
/* @__PURE__ */ a.jsx(
|
|
6079
|
-
/* @__PURE__ */ a.jsx(
|
|
6080
|
-
/* @__PURE__ */ a.jsx(
|
|
6079
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: l("Place") }),
|
|
6080
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: l("Nickname") }),
|
|
6081
|
+
/* @__PURE__ */ a.jsx(me, { children: l("Score") })
|
|
6081
6082
|
] }),
|
|
6082
6083
|
(d = e.leaderBoard) == null ? void 0 : d.slice().sort((f, b) => f.position - b.position).map((f) => /* @__PURE__ */ a.jsxs(ot, { children: [
|
|
6083
|
-
/* @__PURE__ */ a.jsx(
|
|
6084
|
-
/* @__PURE__ */ a.jsx(
|
|
6085
|
-
/* @__PURE__ */ a.jsx(
|
|
6084
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: c(f.position) }),
|
|
6085
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: f.nickname }),
|
|
6086
|
+
/* @__PURE__ */ a.jsx(me, { children: f.points })
|
|
6086
6087
|
] }, f.position)),
|
|
6087
6088
|
((u = e.leaderBoard) == null ? void 0 : u.find((f) => f.playerId === n)) && /* @__PURE__ */ a.jsxs(ot, { highlight: !0, stickyBottom: !0, children: [
|
|
6088
|
-
/* @__PURE__ */ a.jsx(
|
|
6089
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: c(
|
|
6089
6090
|
e.leaderBoard.find((f) => f.playerId === n).position
|
|
6090
6091
|
) }),
|
|
6091
|
-
/* @__PURE__ */ a.jsx(
|
|
6092
|
-
/* @__PURE__ */ a.jsx(
|
|
6092
|
+
/* @__PURE__ */ a.jsx(me, { align: "left", children: "You" }),
|
|
6093
|
+
/* @__PURE__ */ a.jsx(me, { children: e.leaderBoard.find((f) => f.playerId === n).points })
|
|
6093
6094
|
] })
|
|
6094
6095
|
] }),
|
|
6095
6096
|
i === "Rules" && /* @__PURE__ */ a.jsxs(Zo, { children: [
|
|
@@ -6444,7 +6445,7 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6444
6445
|
"Choose how many rounds your current bet will repeat automatically."
|
|
6445
6446
|
]
|
|
6446
6447
|
}, i2 = /<Card(\d+)\/>/g, St = ({ textKey: e }) => {
|
|
6447
|
-
const { t } =
|
|
6448
|
+
const { t } = E(), i = t(e).split(i2);
|
|
6448
6449
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: i.map((r, s) => {
|
|
6449
6450
|
if (s % 2 === 1) {
|
|
6450
6451
|
const o = Number(r);
|
|
@@ -6461,7 +6462,7 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6461
6462
|
return r;
|
|
6462
6463
|
}) });
|
|
6463
6464
|
}, Xi = ({ val: e, key: t = "0" }) => {
|
|
6464
|
-
const { t: n } =
|
|
6465
|
+
const { t: n } = E();
|
|
6465
6466
|
if (typeof e == "string")
|
|
6466
6467
|
return /* @__PURE__ */ a.jsx("p", { className: "content", children: /* @__PURE__ */ a.jsx(St, { textKey: e }) }, t);
|
|
6467
6468
|
if (Array.isArray(e))
|
|
@@ -6477,7 +6478,7 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6477
6478
|
}
|
|
6478
6479
|
return null;
|
|
6479
6480
|
}, r2 = ({ index: e }) => {
|
|
6480
|
-
const { t } =
|
|
6481
|
+
const { t } = E();
|
|
6481
6482
|
return /* @__PURE__ */ a.jsxs("div", { className: "table-wrapper", children: [
|
|
6482
6483
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: t("Payments") }),
|
|
6483
6484
|
/* @__PURE__ */ a.jsxs("table", { className: "table", children: [
|
|
@@ -6535,13 +6536,13 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6535
6536
|
value: t,
|
|
6536
6537
|
index: n
|
|
6537
6538
|
}) => {
|
|
6538
|
-
const { t: i } =
|
|
6539
|
+
const { t: i } = E();
|
|
6539
6540
|
return e === "Payments" ? /* @__PURE__ */ a.jsx(r2, { index: n }) : /* @__PURE__ */ a.jsxs("div", { className: "game-text-wrapper", children: [
|
|
6540
6541
|
/* @__PURE__ */ a.jsx("h2", { className: "content-name", children: i(e) }),
|
|
6541
6542
|
/* @__PURE__ */ a.jsx(Xi, { val: t })
|
|
6542
6543
|
] }, n);
|
|
6543
6544
|
}, o2 = () => {
|
|
6544
|
-
const [e, t] = U(""), n = ht(null), i = ht({}), { t: r } =
|
|
6545
|
+
const [e, t] = U(""), n = ht(null), i = ht({}), { t: r } = E(), s = (o) => {
|
|
6545
6546
|
t(o);
|
|
6546
6547
|
const l = i.current[o], c = n.current;
|
|
6547
6548
|
if (l && c) {
|
|
@@ -6552,7 +6553,7 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6552
6553
|
});
|
|
6553
6554
|
}
|
|
6554
6555
|
};
|
|
6555
|
-
return
|
|
6556
|
+
return ue(() => {
|
|
6556
6557
|
if (!n.current) return;
|
|
6557
6558
|
const o = {
|
|
6558
6559
|
root: n.current,
|
|
@@ -6752,7 +6753,7 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6752
6753
|
outline: none;
|
|
6753
6754
|
}
|
|
6754
6755
|
`, u2 = ({ onSendMessage: e, messages: t, isMobile: n }) => {
|
|
6755
|
-
const { t: i } =
|
|
6756
|
+
const { t: i } = E(), [r, s] = U(""), o = 0, l = (d) => {
|
|
6756
6757
|
const u = d.target.value;
|
|
6757
6758
|
(u.trim().length || r.length === 1) && s(u);
|
|
6758
6759
|
}, c = () => {
|
|
@@ -6897,7 +6898,7 @@ const Zi = ({ tournamentData: e, fromIcon: t, playerId: n }) => {
|
|
|
6897
6898
|
}
|
|
6898
6899
|
}
|
|
6899
6900
|
`, b2 = ({ onSendMessage: e, messages: t, isMobile: n = !1 }) => {
|
|
6900
|
-
const [i, r] = U(""), { t: s } =
|
|
6901
|
+
const [i, r] = U(""), { t: s } = E(), o = (c) => {
|
|
6901
6902
|
const d = c.target.value;
|
|
6902
6903
|
(d.trim().length || i.length === 1) && r(d);
|
|
6903
6904
|
}, l = () => {
|
|
@@ -7091,7 +7092,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7091
7092
|
nickName: l,
|
|
7092
7093
|
errorCode: c
|
|
7093
7094
|
}) => {
|
|
7094
|
-
const { t: d } =
|
|
7095
|
+
const { t: d } = E(), [u, f] = U(
|
|
7095
7096
|
s || "Auto"
|
|
7096
7097
|
), [b, m] = U(""), g = () => {
|
|
7097
7098
|
o(b), m("");
|
|
@@ -7339,7 +7340,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7339
7340
|
width: 35%;
|
|
7340
7341
|
}
|
|
7341
7342
|
`, Ji = (e) => {
|
|
7342
|
-
const { t } =
|
|
7343
|
+
const { t } = E();
|
|
7343
7344
|
return /* @__PURE__ */ a.jsxs(L2, { children: [
|
|
7344
7345
|
/* @__PURE__ */ a.jsxs("div", { className: "main-title", children: [
|
|
7345
7346
|
/* @__PURE__ */ a.jsx("p", { children: t("Bet") }),
|
|
@@ -7388,11 +7389,12 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7388
7389
|
handleStreamQualityChange: T,
|
|
7389
7390
|
streamQuality: I,
|
|
7390
7391
|
nickNameChange: A,
|
|
7391
|
-
nickName:
|
|
7392
|
-
errorCode: N
|
|
7392
|
+
nickName: M,
|
|
7393
|
+
errorCode: N,
|
|
7394
|
+
playerId: D
|
|
7393
7395
|
}) => {
|
|
7394
7396
|
switch (e) {
|
|
7395
|
-
case
|
|
7397
|
+
case O.Message:
|
|
7396
7398
|
return /* @__PURE__ */ a.jsx(
|
|
7397
7399
|
b2,
|
|
7398
7400
|
{
|
|
@@ -7401,7 +7403,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7401
7403
|
isMobile: l
|
|
7402
7404
|
}
|
|
7403
7405
|
);
|
|
7404
|
-
case
|
|
7406
|
+
case O.Settings:
|
|
7405
7407
|
return /* @__PURE__ */ a.jsx(
|
|
7406
7408
|
j2,
|
|
7407
7409
|
{
|
|
@@ -7412,11 +7414,11 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7412
7414
|
handleStreamQualityChange: T,
|
|
7413
7415
|
streamQuality: I,
|
|
7414
7416
|
nickNameChange: A,
|
|
7415
|
-
nickName:
|
|
7417
|
+
nickName: M,
|
|
7416
7418
|
errorCode: N
|
|
7417
7419
|
}
|
|
7418
7420
|
);
|
|
7419
|
-
case
|
|
7421
|
+
case O.History:
|
|
7420
7422
|
return /* @__PURE__ */ a.jsx(
|
|
7421
7423
|
Fo,
|
|
7422
7424
|
{
|
|
@@ -7427,7 +7429,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7427
7429
|
isMobile: l
|
|
7428
7430
|
}
|
|
7429
7431
|
);
|
|
7430
|
-
case
|
|
7432
|
+
case O.Tip:
|
|
7431
7433
|
return /* @__PURE__ */ a.jsx(
|
|
7432
7434
|
Go,
|
|
7433
7435
|
{
|
|
@@ -7438,11 +7440,11 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7438
7440
|
currencyId: j
|
|
7439
7441
|
}
|
|
7440
7442
|
);
|
|
7441
|
-
case
|
|
7442
|
-
return /* @__PURE__ */ a.jsx(Zi, { tournamentData: g });
|
|
7443
|
-
case
|
|
7443
|
+
case O.Tournament:
|
|
7444
|
+
return /* @__PURE__ */ a.jsx(Zi, { tournamentData: g, playerId: D });
|
|
7445
|
+
case O.Info:
|
|
7444
7446
|
return /* @__PURE__ */ a.jsx(o2, {});
|
|
7445
|
-
case
|
|
7447
|
+
case O.Support:
|
|
7446
7448
|
return /* @__PURE__ */ a.jsx(
|
|
7447
7449
|
u2,
|
|
7448
7450
|
{
|
|
@@ -7451,7 +7453,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7451
7453
|
messages: r
|
|
7452
7454
|
}
|
|
7453
7455
|
);
|
|
7454
|
-
case
|
|
7456
|
+
case O.Limit:
|
|
7455
7457
|
return /* @__PURE__ */ a.jsx(Ji, { ...S });
|
|
7456
7458
|
default:
|
|
7457
7459
|
return /* @__PURE__ */ a.jsx(a.Fragment, {});
|
|
@@ -7679,43 +7681,43 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7679
7681
|
limits: T,
|
|
7680
7682
|
sendTip: I,
|
|
7681
7683
|
handleStreamQualityChange: A,
|
|
7682
|
-
streamQuality:
|
|
7684
|
+
streamQuality: M,
|
|
7683
7685
|
nickNameChange: N,
|
|
7684
|
-
nickName:
|
|
7686
|
+
nickName: D,
|
|
7685
7687
|
dealerName: $,
|
|
7686
|
-
errorCode:
|
|
7688
|
+
errorCode: fe
|
|
7687
7689
|
}) => {
|
|
7688
|
-
const [
|
|
7689
|
-
if (
|
|
7690
|
+
const [W, Y] = U(0), [re, _] = U(null), [te, F] = U(!1), { t: K } = E(), [se, q] = U(0), Q = () => _(null), le = Is(re, m, W === 1), pe = (H) => {
|
|
7691
|
+
if (H === O.VolumeOn) {
|
|
7690
7692
|
S(g === 0 ? 100 : 0);
|
|
7691
7693
|
return;
|
|
7692
|
-
} else
|
|
7693
|
-
|
|
7694
|
-
}, ye =
|
|
7694
|
+
} else H !== O.closeMenu && _(H);
|
|
7695
|
+
F(!1);
|
|
7696
|
+
}, ye = W === 1 ? { headerClick: () => Y(2) } : {}, xe = (H) => [
|
|
7695
7697
|
{
|
|
7696
7698
|
name: "Settings",
|
|
7697
|
-
buttonType:
|
|
7699
|
+
buttonType: O.Settings,
|
|
7698
7700
|
icon: Ka()
|
|
7699
7701
|
},
|
|
7700
7702
|
{
|
|
7701
|
-
buttonType:
|
|
7702
|
-
icon:
|
|
7703
|
+
buttonType: O.VolumeOn,
|
|
7704
|
+
icon: H === 0 ? $i() : aa()
|
|
7703
7705
|
},
|
|
7704
7706
|
{
|
|
7705
|
-
buttonType:
|
|
7707
|
+
buttonType: O.closeMenu,
|
|
7706
7708
|
icon: ta({ isMobile: !0 })
|
|
7707
7709
|
}
|
|
7708
7710
|
];
|
|
7709
7711
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7710
|
-
/* @__PURE__ */ a.jsx(O2, { onClick: () =>
|
|
7711
|
-
re &&
|
|
7712
|
+
/* @__PURE__ */ a.jsx(O2, { onClick: () => F(!0), children: /* @__PURE__ */ a.jsx($s, {}) }),
|
|
7713
|
+
re && le && /* @__PURE__ */ a.jsx(
|
|
7712
7714
|
to,
|
|
7713
7715
|
{
|
|
7714
7716
|
isLandscape: m,
|
|
7715
7717
|
close: Q,
|
|
7716
|
-
...
|
|
7718
|
+
...le,
|
|
7717
7719
|
...ye,
|
|
7718
|
-
dealerName: re ===
|
|
7720
|
+
dealerName: re === O.Tip ? $ : "",
|
|
7719
7721
|
children: /* @__PURE__ */ a.jsx(
|
|
7720
7722
|
Ma,
|
|
7721
7723
|
{
|
|
@@ -7736,27 +7738,27 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7736
7738
|
historyData: o,
|
|
7737
7739
|
isMobile: !0,
|
|
7738
7740
|
isLandscape: m,
|
|
7739
|
-
openRoundHistory:
|
|
7740
|
-
setOpenRoundHistory:
|
|
7741
|
+
openRoundHistory: W,
|
|
7742
|
+
setOpenRoundHistory: Y,
|
|
7741
7743
|
limits: T,
|
|
7742
|
-
sendTip: (
|
|
7743
|
-
_(null),
|
|
7744
|
+
sendTip: (H) => {
|
|
7745
|
+
_(null), F(!1), I(H);
|
|
7744
7746
|
},
|
|
7745
7747
|
handleStreamQualityChange: A,
|
|
7746
|
-
streamQuality:
|
|
7748
|
+
streamQuality: M,
|
|
7747
7749
|
nickNameChange: N,
|
|
7748
|
-
nickName:
|
|
7749
|
-
errorCode:
|
|
7750
|
+
nickName: D,
|
|
7751
|
+
errorCode: fe
|
|
7750
7752
|
}
|
|
7751
7753
|
)
|
|
7752
7754
|
}
|
|
7753
7755
|
),
|
|
7754
|
-
|
|
7756
|
+
te && /* @__PURE__ */ a.jsxs(
|
|
7755
7757
|
B2,
|
|
7756
7758
|
{
|
|
7757
|
-
onTouchStart: (
|
|
7758
|
-
onTouchMove: (
|
|
7759
|
-
onTouchEnd: (
|
|
7759
|
+
onTouchStart: (H) => Ls(H, q),
|
|
7760
|
+
onTouchMove: (H) => Bs(H, se, F),
|
|
7761
|
+
onTouchEnd: (H) => Ts(H, q),
|
|
7760
7762
|
$isLandscape: m,
|
|
7761
7763
|
children: [
|
|
7762
7764
|
/* @__PURE__ */ a.jsxs(T2, { children: [
|
|
@@ -7770,14 +7772,14 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7770
7772
|
/* @__PURE__ */ a.jsx("p", { className: "round", "data-testid": "game-round", children: t })
|
|
7771
7773
|
] })
|
|
7772
7774
|
] }),
|
|
7773
|
-
/* @__PURE__ */ a.jsx("div", { className: "button-wrapper", children: xe(g).map((
|
|
7775
|
+
/* @__PURE__ */ a.jsx("div", { className: "button-wrapper", children: xe(g).map((H) => /* @__PURE__ */ a.jsx(
|
|
7774
7776
|
"button",
|
|
7775
7777
|
{
|
|
7776
7778
|
className: "button",
|
|
7777
|
-
onClick: () =>
|
|
7778
|
-
children:
|
|
7779
|
+
onClick: () => pe(H.buttonType),
|
|
7780
|
+
children: H.icon
|
|
7779
7781
|
},
|
|
7780
|
-
|
|
7782
|
+
H.buttonType
|
|
7781
7783
|
)) })
|
|
7782
7784
|
] }),
|
|
7783
7785
|
/* @__PURE__ */ a.jsxs(D2, { children: [
|
|
@@ -7793,29 +7795,29 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7793
7795
|
}
|
|
7794
7796
|
),
|
|
7795
7797
|
/* @__PURE__ */ a.jsxs(z2, { $isLandscape: m, children: [
|
|
7796
|
-
/* @__PURE__ */ a.jsx("div", { className: "menu-line", children: js.map((
|
|
7798
|
+
/* @__PURE__ */ a.jsx("div", { className: "menu-line", children: js.map((H) => /* @__PURE__ */ a.jsxs(
|
|
7797
7799
|
Jn,
|
|
7798
7800
|
{
|
|
7799
7801
|
$isLandscape: m,
|
|
7800
|
-
onClick: () =>
|
|
7802
|
+
onClick: () => pe(H.buttonType),
|
|
7801
7803
|
children: [
|
|
7802
|
-
|
|
7803
|
-
/* @__PURE__ */ a.jsx("p", { className: "p", children: K(
|
|
7804
|
+
H.icon,
|
|
7805
|
+
/* @__PURE__ */ a.jsx("p", { className: "p", children: K(H.name) })
|
|
7804
7806
|
]
|
|
7805
7807
|
},
|
|
7806
|
-
|
|
7808
|
+
H.buttonType
|
|
7807
7809
|
)) }),
|
|
7808
|
-
/* @__PURE__ */ a.jsx("div", { className: "menu-line", children: Ss.map((
|
|
7810
|
+
/* @__PURE__ */ a.jsx("div", { className: "menu-line", children: Ss.map((H) => /* @__PURE__ */ a.jsxs(
|
|
7809
7811
|
Jn,
|
|
7810
7812
|
{
|
|
7811
7813
|
$isLandscape: m,
|
|
7812
|
-
onClick: () =>
|
|
7814
|
+
onClick: () => pe(H.buttonType),
|
|
7813
7815
|
children: [
|
|
7814
|
-
|
|
7815
|
-
/* @__PURE__ */ a.jsx("p", { className: "p", children: K(
|
|
7816
|
+
H.icon,
|
|
7817
|
+
/* @__PURE__ */ a.jsx("p", { className: "p", children: K(H.name) })
|
|
7816
7818
|
]
|
|
7817
7819
|
},
|
|
7818
|
-
|
|
7820
|
+
H.buttonType
|
|
7819
7821
|
)) })
|
|
7820
7822
|
] }),
|
|
7821
7823
|
d && /* @__PURE__ */ a.jsxs(
|
|
@@ -7823,7 +7825,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7823
7825
|
{
|
|
7824
7826
|
$isLandscape: m,
|
|
7825
7827
|
$tournament: !0,
|
|
7826
|
-
onClick: () =>
|
|
7828
|
+
onClick: () => pe(O.Tournament),
|
|
7827
7829
|
children: [
|
|
7828
7830
|
/* @__PURE__ */ a.jsx("img", { src: Vi, alt: "Gold" }),
|
|
7829
7831
|
/* @__PURE__ */ a.jsx("p", { className: "text", children: K("Tournament") })
|
|
@@ -7881,7 +7883,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
7881
7883
|
headerClick: s,
|
|
7882
7884
|
dealerName: o
|
|
7883
7885
|
}) => {
|
|
7884
|
-
const { t: l } =
|
|
7886
|
+
const { t: l } = E();
|
|
7885
7887
|
return /* @__PURE__ */ a.jsxs(M2, { height: i, width: n, children: [
|
|
7886
7888
|
/* @__PURE__ */ a.jsxs("div", { className: "header", children: [
|
|
7887
7889
|
/* @__PURE__ */ a.jsxs("div", { className: "icon", onClick: s, children: [
|
|
@@ -8065,7 +8067,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8065
8067
|
urlParam: s,
|
|
8066
8068
|
limits: o
|
|
8067
8069
|
}) => {
|
|
8068
|
-
const [l, c] = U(!1), { t: d } =
|
|
8070
|
+
const [l, c] = U(!1), { t: d } = E();
|
|
8069
8071
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
8070
8072
|
/* @__PURE__ */ a.jsxs(R2, { children: [
|
|
8071
8073
|
/* @__PURE__ */ a.jsxs(W2, { onClick: () => Ua(i, r, s), children: [
|
|
@@ -8152,51 +8154,52 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8152
8154
|
nickNameChange: T,
|
|
8153
8155
|
nickName: I,
|
|
8154
8156
|
dealerName: A,
|
|
8155
|
-
errorCode:
|
|
8157
|
+
errorCode: M,
|
|
8158
|
+
playerId: N
|
|
8156
8159
|
}) => {
|
|
8157
|
-
const [
|
|
8158
|
-
if (
|
|
8160
|
+
const [D, $] = U(null), [fe, W] = U(0), Y = As(D, fe === 1), re = (F, K) => {
|
|
8161
|
+
if (F.buttonType === O.FullScreen && d(), F.buttonType === O.VolumeOn) {
|
|
8159
8162
|
m(u === 0 ? 100 : 0);
|
|
8160
8163
|
return;
|
|
8161
8164
|
} else
|
|
8162
|
-
|
|
8163
|
-
},
|
|
8164
|
-
|
|
8165
|
-
y &&
|
|
8165
|
+
$(K ? null : F.buttonType);
|
|
8166
|
+
}, _ = (F) => F.buttonType === O.FullScreen && c ? K2() : F.buttonType === O.VolumeOn ? u === 0 ? $i() : aa() : F.icon;
|
|
8167
|
+
ue(() => {
|
|
8168
|
+
y && $(O.Tournament);
|
|
8166
8169
|
}, [y]);
|
|
8167
|
-
const
|
|
8170
|
+
const te = fe === 1 ? { headerClick: () => W(2) } : {};
|
|
8168
8171
|
return /* @__PURE__ */ a.jsxs(U2, { children: [
|
|
8169
|
-
/* @__PURE__ */ a.jsx(E2, { children: ks.map((
|
|
8170
|
-
const
|
|
8171
|
-
return
|
|
8172
|
+
/* @__PURE__ */ a.jsx(E2, { children: ks.map((F, K) => {
|
|
8173
|
+
const se = D === F.buttonType;
|
|
8174
|
+
return F.buttonType === O.Tournament && !n ? null : /* @__PURE__ */ a.jsx(
|
|
8172
8175
|
Pt,
|
|
8173
8176
|
{
|
|
8174
|
-
icon:
|
|
8175
|
-
isValueButton:
|
|
8176
|
-
isActive:
|
|
8177
|
-
onClick: () =>
|
|
8178
|
-
buttonInfo:
|
|
8177
|
+
icon: _(F),
|
|
8178
|
+
isValueButton: F.buttonType === O.VolumeOn,
|
|
8179
|
+
isActive: se,
|
|
8180
|
+
onClick: () => re(F, se),
|
|
8181
|
+
buttonInfo: F == null ? void 0 : F.name,
|
|
8179
8182
|
setStreamVolume: m,
|
|
8180
8183
|
streamVolume: u
|
|
8181
8184
|
},
|
|
8182
|
-
|
|
8185
|
+
K
|
|
8183
8186
|
);
|
|
8184
8187
|
}) }),
|
|
8185
|
-
|
|
8188
|
+
D && /* @__PURE__ */ a.jsx(a.Fragment, { children: Y ? /* @__PURE__ */ a.jsx(
|
|
8186
8189
|
_i,
|
|
8187
8190
|
{
|
|
8188
|
-
close: () =>
|
|
8189
|
-
...
|
|
8190
|
-
...
|
|
8191
|
-
dealerName:
|
|
8191
|
+
close: () => $(null),
|
|
8192
|
+
...Y,
|
|
8193
|
+
...te,
|
|
8194
|
+
dealerName: D === O.Tip ? A : "",
|
|
8192
8195
|
children: /* @__PURE__ */ a.jsx(
|
|
8193
8196
|
Ma,
|
|
8194
8197
|
{
|
|
8195
8198
|
getHistory: v,
|
|
8196
8199
|
historyData: o,
|
|
8197
|
-
setOpenRoundHistory:
|
|
8198
|
-
activeAction:
|
|
8199
|
-
openRoundHistory:
|
|
8200
|
+
setOpenRoundHistory: W,
|
|
8201
|
+
activeAction: D,
|
|
8202
|
+
openRoundHistory: fe,
|
|
8200
8203
|
messages: e,
|
|
8201
8204
|
currencyId: w,
|
|
8202
8205
|
onSendMessage: t,
|
|
@@ -8209,14 +8212,15 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8209
8212
|
setEffectsVolume: b,
|
|
8210
8213
|
setStreamVolume: m,
|
|
8211
8214
|
tournamentData: g,
|
|
8212
|
-
sendTip: (
|
|
8213
|
-
|
|
8215
|
+
sendTip: (F) => {
|
|
8216
|
+
$(null), k(F);
|
|
8214
8217
|
},
|
|
8215
8218
|
handleStreamQualityChange: S,
|
|
8216
8219
|
streamQuality: j,
|
|
8217
8220
|
nickNameChange: T,
|
|
8218
8221
|
nickName: I,
|
|
8219
|
-
errorCode:
|
|
8222
|
+
errorCode: M,
|
|
8223
|
+
playerId: N
|
|
8220
8224
|
}
|
|
8221
8225
|
)
|
|
8222
8226
|
}
|
|
@@ -8224,9 +8228,9 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8224
8228
|
Ma,
|
|
8225
8229
|
{
|
|
8226
8230
|
getHistory: v,
|
|
8227
|
-
setOpenRoundHistory:
|
|
8228
|
-
activeAction:
|
|
8229
|
-
openRoundHistory:
|
|
8231
|
+
setOpenRoundHistory: W,
|
|
8232
|
+
activeAction: D,
|
|
8233
|
+
openRoundHistory: fe,
|
|
8230
8234
|
historyData: o,
|
|
8231
8235
|
messages: e,
|
|
8232
8236
|
onSendMessage: t,
|
|
@@ -8244,7 +8248,8 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8244
8248
|
streamQuality: j,
|
|
8245
8249
|
nickNameChange: T,
|
|
8246
8250
|
nickName: I,
|
|
8247
|
-
errorCode:
|
|
8251
|
+
errorCode: M,
|
|
8252
|
+
playerId: N
|
|
8248
8253
|
}
|
|
8249
8254
|
) })
|
|
8250
8255
|
] });
|
|
@@ -8376,7 +8381,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8376
8381
|
minutes: "00",
|
|
8377
8382
|
seconds: "00"
|
|
8378
8383
|
});
|
|
8379
|
-
return
|
|
8384
|
+
return ue(() => {
|
|
8380
8385
|
const l = setInterval(() => {
|
|
8381
8386
|
const c = (/* @__PURE__ */ new Date()).getTime(), u = new Date(n).getTime() - c;
|
|
8382
8387
|
if (u <= 0) {
|
|
@@ -8706,16 +8711,16 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8706
8711
|
}
|
|
8707
8712
|
}
|
|
8708
8713
|
`, Za = ({ time: e, timerType: t }) => {
|
|
8709
|
-
const { t: n } =
|
|
8714
|
+
const { t: n } = E(), i = {
|
|
8710
8715
|
[Re.WaitingInsurance]: n("Insure Your Hand?"),
|
|
8711
8716
|
[Re.WaitingForUserAction]: n("Make your descision"),
|
|
8712
8717
|
[Re.WaitingForBet]: n("Please, Place Your Bets")
|
|
8713
8718
|
}, [r, s] = U(!1), [o, l] = U(
|
|
8714
8719
|
null
|
|
8715
8720
|
), c = e / 1e3;
|
|
8716
|
-
if (
|
|
8721
|
+
if (ue(() => {
|
|
8717
8722
|
s(!0);
|
|
8718
|
-
}, []),
|
|
8723
|
+
}, []), ue(() => {
|
|
8719
8724
|
e > 0 && o ? setTimeout(() => {
|
|
8720
8725
|
l(o - 1);
|
|
8721
8726
|
}, 1e3) : e > 0 && o === null ? l((e + 1e3) / 1e3) : (s(!1), l(null));
|
|
@@ -8761,7 +8766,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8761
8766
|
isDeal: f,
|
|
8762
8767
|
isRepeat: b
|
|
8763
8768
|
}) => {
|
|
8764
|
-
const { t: m } =
|
|
8769
|
+
const { t: m } = E();
|
|
8765
8770
|
return /* @__PURE__ */ a.jsxs(_2, { children: [
|
|
8766
8771
|
/* @__PURE__ */ a.jsx(Za, { time: e, timerType: Re.WaitingForBet }),
|
|
8767
8772
|
/* @__PURE__ */ a.jsxs(el, { children: [
|
|
@@ -8904,7 +8909,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8904
8909
|
name: i,
|
|
8905
8910
|
round: r
|
|
8906
8911
|
}) => {
|
|
8907
|
-
const { t: s } =
|
|
8912
|
+
const { t: s } = E();
|
|
8908
8913
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
8909
8914
|
/* @__PURE__ */ a.jsxs(sl, { children: [
|
|
8910
8915
|
/* @__PURE__ */ a.jsx("div", { className: "name-contener", children: /* @__PURE__ */ a.jsx("p", { className: "name", "data-testid": "game-name", children: s(i) }) }),
|
|
@@ -8977,7 +8982,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
8977
8982
|
font-size: 14px;
|
|
8978
8983
|
color: rgba(255, 255, 255, 0.8);
|
|
8979
8984
|
`, x4 = () => {
|
|
8980
|
-
const { t: e } =
|
|
8985
|
+
const { t: e } = E();
|
|
8981
8986
|
return /* @__PURE__ */ a.jsx(ll, { children: /* @__PURE__ */ a.jsxs(cl, { children: [
|
|
8982
8987
|
/* @__PURE__ */ a.jsx(hl, { children: /* @__PURE__ */ a.jsx(ul, {}) }),
|
|
8983
8988
|
/* @__PURE__ */ a.jsx(fl, { children: e("We lost connection for a moment") }),
|
|
@@ -9033,7 +9038,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
9033
9038
|
urlParam: n,
|
|
9034
9039
|
stayInTheGame: i
|
|
9035
9040
|
}) => {
|
|
9036
|
-
const { t: r } =
|
|
9041
|
+
const { t: r } = E();
|
|
9037
9042
|
return /* @__PURE__ */ a.jsx(ml, { children: /* @__PURE__ */ a.jsxs(gl, { children: [
|
|
9038
9043
|
/* @__PURE__ */ a.jsx(yl, { children: r("Still with us, Player?") }),
|
|
9039
9044
|
/* @__PURE__ */ a.jsx(xl, { children: r("We haven’t seen any moves from you. Want to keep playing?") }),
|
|
@@ -9301,7 +9306,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
9301
9306
|
amount: e,
|
|
9302
9307
|
currencyId: t
|
|
9303
9308
|
}) => {
|
|
9304
|
-
const { t: n } =
|
|
9309
|
+
const { t: n } = E();
|
|
9305
9310
|
return /* @__PURE__ */ a.jsxs(wl, { children: [
|
|
9306
9311
|
/* @__PURE__ */ a.jsx(Cl, {}),
|
|
9307
9312
|
/* @__PURE__ */ a.jsxs("div", { className: "text-wrapper", children: [
|
|
@@ -9360,7 +9365,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], j2 = ({
|
|
|
9360
9365
|
position: absolute;
|
|
9361
9366
|
top: -25px;
|
|
9362
9367
|
`, v4 = ({ code: e, type: t = "error" }) => {
|
|
9363
|
-
const { t: n } =
|
|
9368
|
+
const { t: n } = E(), i = xs[e] || n("Unknown error");
|
|
9364
9369
|
return /* @__PURE__ */ a.jsxs(jl, { type: t, children: [
|
|
9365
9370
|
/* @__PURE__ */ a.jsx(Il, { type: t }),
|
|
9366
9371
|
/* @__PURE__ */ a.jsx(Sl, { children: n(i) })
|
|
@@ -9602,7 +9607,7 @@ const Bl = {
|
|
|
9602
9607
|
size: n,
|
|
9603
9608
|
isMobile: i
|
|
9604
9609
|
}) => {
|
|
9605
|
-
const r = n === Xt.Big, { t: s } =
|
|
9610
|
+
const r = n === Xt.Big, { t: s } = E();
|
|
9606
9611
|
return /* @__PURE__ */ a.jsxs(Ol, { $isBig: r, $isMobile: i, children: [
|
|
9607
9612
|
r && !i && /* @__PURE__ */ a.jsx(Za, { time: e, timerType: Re.WaitingForUserAction }),
|
|
9608
9613
|
/* @__PURE__ */ a.jsx("div", { className: "aciton", children: Dl[n].map((o, l) => {
|
|
@@ -9687,7 +9692,7 @@ const Bl = {
|
|
|
9687
9692
|
top: -13px;
|
|
9688
9693
|
object-fit: contain;
|
|
9689
9694
|
`, A4 = ({ activeBonus: e }) => {
|
|
9690
|
-
const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: n } =
|
|
9695
|
+
const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: n } = E();
|
|
9691
9696
|
return /* @__PURE__ */ a.jsxs(Hl, { children: [
|
|
9692
9697
|
!t && /* @__PURE__ */ a.jsx(Vl, { src: ia, alt: "stars" }),
|
|
9693
9698
|
t ? /* @__PURE__ */ a.jsx(Fl, { children: n("Freespins left") }) : /* @__PURE__ */ a.jsxs(Pl, { children: [
|
|
@@ -9866,13 +9871,13 @@ const Bl = {
|
|
|
9866
9871
|
onClose: t,
|
|
9867
9872
|
onClaim: n
|
|
9868
9873
|
}) => {
|
|
9869
|
-
const { t: i } =
|
|
9874
|
+
const { t: i } = E(), [r, s] = U({
|
|
9870
9875
|
days: "0",
|
|
9871
9876
|
hours: "00",
|
|
9872
9877
|
minutes: "00",
|
|
9873
9878
|
seconds: "00"
|
|
9874
9879
|
});
|
|
9875
|
-
|
|
9880
|
+
ue(() => {
|
|
9876
9881
|
const l = setInterval(() => {
|
|
9877
9882
|
const c = (/* @__PURE__ */ new Date()).getTime(), u = new Date(e.expireDate).getTime() - c;
|
|
9878
9883
|
if (u <= 0) {
|
|
@@ -10102,7 +10107,7 @@ const Bl = {
|
|
|
10102
10107
|
points: r,
|
|
10103
10108
|
isPlayer: s
|
|
10104
10109
|
}) => {
|
|
10105
|
-
const { t: o } =
|
|
10110
|
+
const { t: o } = E();
|
|
10106
10111
|
return /* @__PURE__ */ a.jsxs(t0, { children: [
|
|
10107
10112
|
!!e.length && /* @__PURE__ */ a.jsxs("div", { className: "info-item", children: [
|
|
10108
10113
|
/* @__PURE__ */ a.jsx("span", { className: "item-owner", children: o("Dealer") }),
|
|
@@ -11844,7 +11849,7 @@ const P0 = "Your bets have been refunded", F0 = "Limits", R0 = "Dealer", W0 = "B
|
|
|
11844
11849
|
[Me.Armenian]: { translation: v3 },
|
|
11845
11850
|
[Me.Russia]: { translation: E5 },
|
|
11846
11851
|
[Me.Turkey]: { translation: c4 }
|
|
11847
|
-
}, ni =
|
|
11852
|
+
}, ni = oe.use(qr);
|
|
11848
11853
|
function N4() {
|
|
11849
11854
|
const e = Ha.get(Ha.language) || Me.English;
|
|
11850
11855
|
return ni.init({
|