@everymatrix/casino-random-game 1.85.17 → 1.85.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoRandomGame-DGqtZD9p.js → CasinoRandomGame-B0w2ICaH.js} +142 -139
- package/components/{CasinoRandomGame-BCx6_mSm.js → CasinoRandomGame-C7wTtBHD.js} +89 -86
- package/components/{CasinoRandomGame-CIt395QJ.cjs → CasinoRandomGame-CW-B_XJF.cjs} +4 -4
- package/es2015/casino-random-game.cjs +1 -1
- package/es2015/casino-random-game.js +1 -1
- package/esnext/casino-random-game.js +1 -1
- package/package.json +1 -1
|
@@ -588,7 +588,7 @@ function Ye(e, t, r) {
|
|
|
588
588
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
589
589
|
return e.concat(o || t);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function $(e) {
|
|
592
592
|
return typeof e == "function";
|
|
593
593
|
}
|
|
594
594
|
function Kt(e) {
|
|
@@ -641,7 +641,7 @@ var Oe = function() {
|
|
|
641
641
|
else
|
|
642
642
|
a.remove(this);
|
|
643
643
|
var u = this.initialTeardown;
|
|
644
|
-
if (
|
|
644
|
+
if ($(u))
|
|
645
645
|
try {
|
|
646
646
|
u();
|
|
647
647
|
} catch (p) {
|
|
@@ -704,10 +704,10 @@ var Oe = function() {
|
|
|
704
704
|
}(), e;
|
|
705
705
|
}(), er = Oe.EMPTY;
|
|
706
706
|
function tr(e) {
|
|
707
|
-
return e instanceof Oe || e && "closed" in e &&
|
|
707
|
+
return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
708
708
|
}
|
|
709
709
|
function _t(e) {
|
|
710
|
-
|
|
710
|
+
$(e) ? e() : e.unsubscribe();
|
|
711
711
|
}
|
|
712
712
|
var gn = {
|
|
713
713
|
Promise: void 0
|
|
@@ -798,7 +798,7 @@ var rr = function(e) {
|
|
|
798
798
|
de(t, e);
|
|
799
799
|
function t(r, n, i) {
|
|
800
800
|
var o = e.call(this) || this, a;
|
|
801
|
-
return
|
|
801
|
+
return $(r) || !r ? a = {
|
|
802
802
|
next: r ?? void 0,
|
|
803
803
|
error: n ?? void 0,
|
|
804
804
|
complete: i ?? void 0
|
|
@@ -895,7 +895,7 @@ function wt(e) {
|
|
|
895
895
|
return (t = e ?? gn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
896
896
|
}
|
|
897
897
|
function Hn(e) {
|
|
898
|
-
return e &&
|
|
898
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
899
899
|
}
|
|
900
900
|
function Bn(e) {
|
|
901
901
|
return e && e instanceof rr || Hn(e) && tr(e);
|
|
@@ -1105,12 +1105,12 @@ function In(e) {
|
|
|
1105
1105
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1106
1106
|
}
|
|
1107
1107
|
var Nn = function(t) {
|
|
1108
|
-
return
|
|
1108
|
+
return Mn(t) && !Ln(t);
|
|
1109
1109
|
};
|
|
1110
|
-
function
|
|
1110
|
+
function Mn(e) {
|
|
1111
1111
|
return !!e && typeof e == "object";
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Ln(e) {
|
|
1114
1114
|
var t = Object.prototype.toString.call(e);
|
|
1115
1115
|
return t === "[object RegExp]" || t === "[object Date]" || Un(e);
|
|
1116
1116
|
}
|
|
@@ -1118,13 +1118,13 @@ var Cn = typeof Symbol == "function" && Symbol.for, Gn = Cn ? Symbol.for("react.
|
|
|
1118
1118
|
function Un(e) {
|
|
1119
1119
|
return e.$$typeof === Gn;
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1121
|
+
function Fn(e) {
|
|
1122
1122
|
return Array.isArray(e) ? [] : {};
|
|
1123
1123
|
}
|
|
1124
1124
|
function fe(e, t) {
|
|
1125
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ee(
|
|
1125
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ee(Fn(e), e, t) : e;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function $n(e, t, r) {
|
|
1128
1128
|
return e.concat(t).map(function(n) {
|
|
1129
1129
|
return fe(n, r);
|
|
1130
1130
|
});
|
|
@@ -1162,7 +1162,7 @@ function Vn(e, t, r) {
|
|
|
1162
1162
|
}), n;
|
|
1163
1163
|
}
|
|
1164
1164
|
function ee(e, t, r) {
|
|
1165
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1165
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = fe;
|
|
1166
1166
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1167
1167
|
return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : fe(t, r);
|
|
1168
1168
|
}
|
|
@@ -1192,15 +1192,15 @@ function Ie(e, t) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1194
1194
|
}
|
|
1195
|
-
var
|
|
1196
|
-
return
|
|
1195
|
+
var L = function() {
|
|
1196
|
+
return L = Object.assign || function(t) {
|
|
1197
1197
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1198
1198
|
r = arguments[n];
|
|
1199
1199
|
for (var o in r)
|
|
1200
1200
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1201
1201
|
}
|
|
1202
1202
|
return t;
|
|
1203
|
-
},
|
|
1203
|
+
}, L.apply(this, arguments);
|
|
1204
1204
|
};
|
|
1205
1205
|
function Jn(e, t) {
|
|
1206
1206
|
var r = {};
|
|
@@ -1211,13 +1211,13 @@ function Jn(e, t) {
|
|
|
1211
1211
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1212
1212
|
return r;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Fe(e, t, r) {
|
|
1215
1215
|
if (r || arguments.length === 2)
|
|
1216
1216
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1217
1217
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1218
1218
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1220
|
+
function $e(e, t) {
|
|
1221
1221
|
var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Yn;
|
|
1222
1222
|
return i(e, {
|
|
1223
1223
|
cache: r,
|
|
@@ -3173,11 +3173,11 @@ function _r(e, t) {
|
|
|
3173
3173
|
}
|
|
3174
3174
|
var it;
|
|
3175
3175
|
if (rt) {
|
|
3176
|
-
var
|
|
3176
|
+
var Mt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3177
3177
|
it = function(t, r) {
|
|
3178
3178
|
var n;
|
|
3179
|
-
|
|
3180
|
-
var i =
|
|
3179
|
+
Mt.lastIndex = r;
|
|
3180
|
+
var i = Mt.exec(t);
|
|
3181
3181
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3182
3182
|
};
|
|
3183
3183
|
} else
|
|
@@ -3440,7 +3440,7 @@ var Bi = (
|
|
|
3440
3440
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3441
3441
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, Be({}, B)));
|
|
3442
3442
|
this.bumpSpace();
|
|
3443
|
-
var N = this.parseIdentifierIfPossible(),
|
|
3443
|
+
var N = this.parseIdentifierIfPossible(), M = 0;
|
|
3444
3444
|
if (s !== "select" && N.value === "offset") {
|
|
3445
3445
|
if (!this.bumpIf(":"))
|
|
3446
3446
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
@@ -3448,7 +3448,7 @@ var Bi = (
|
|
|
3448
3448
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3449
3449
|
if (f.err)
|
|
3450
3450
|
return f;
|
|
3451
|
-
this.bumpSpace(), N = this.parseIdentifierIfPossible(),
|
|
3451
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), M = f.val;
|
|
3452
3452
|
}
|
|
3453
3453
|
var G = this.tryParsePluralOrSelectOptions(t, s, r, N);
|
|
3454
3454
|
if (G.err)
|
|
@@ -3470,7 +3470,7 @@ var Bi = (
|
|
|
3470
3470
|
type: E.plural,
|
|
3471
3471
|
value: n,
|
|
3472
3472
|
options: Nt(G.val),
|
|
3473
|
-
offset:
|
|
3473
|
+
offset: M,
|
|
3474
3474
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3475
3475
|
location: pe
|
|
3476
3476
|
},
|
|
@@ -3692,7 +3692,7 @@ var Ne = (
|
|
|
3692
3692
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3693
3693
|
}, t;
|
|
3694
3694
|
}(Error)
|
|
3695
|
-
),
|
|
3695
|
+
), Lt = (
|
|
3696
3696
|
/** @class */
|
|
3697
3697
|
function(e) {
|
|
3698
3698
|
Ie(t, e);
|
|
@@ -3723,13 +3723,13 @@ var Ne = (
|
|
|
3723
3723
|
(function(e) {
|
|
3724
3724
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3725
3725
|
})(P || (P = {}));
|
|
3726
|
-
function
|
|
3726
|
+
function Mi(e) {
|
|
3727
3727
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3728
3728
|
var n = t[t.length - 1];
|
|
3729
3729
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3730
3730
|
}, []);
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function Li(e) {
|
|
3733
3733
|
return typeof e == "function";
|
|
3734
3734
|
}
|
|
3735
3735
|
function we(e, t, r, n, i, o, a) {
|
|
@@ -3793,22 +3793,22 @@ function we(e, t, r, n, i, o, a) {
|
|
|
3793
3793
|
}
|
|
3794
3794
|
if (mr(u)) {
|
|
3795
3795
|
var d = u.children, p = u.value, A = i[p];
|
|
3796
|
-
if (!
|
|
3796
|
+
if (!Li(A))
|
|
3797
3797
|
throw new Ii(p, "function", a);
|
|
3798
|
-
var H = we(d, t, r, n, i, o), T = A(H.map(function(
|
|
3799
|
-
return
|
|
3798
|
+
var H = we(d, t, r, n, i, o), T = A(H.map(function(M) {
|
|
3799
|
+
return M.value;
|
|
3800
3800
|
}));
|
|
3801
|
-
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(
|
|
3801
|
+
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(M) {
|
|
3802
3802
|
return {
|
|
3803
|
-
type: typeof
|
|
3804
|
-
value:
|
|
3803
|
+
type: typeof M == "string" ? P.literal : P.object,
|
|
3804
|
+
value: M
|
|
3805
3805
|
};
|
|
3806
3806
|
}));
|
|
3807
3807
|
}
|
|
3808
3808
|
if (cr(u)) {
|
|
3809
3809
|
var B = u.options[c] || u.options.other;
|
|
3810
3810
|
if (!B)
|
|
3811
|
-
throw new
|
|
3811
|
+
throw new Lt(u.value, c, Object.keys(u.options), a);
|
|
3812
3812
|
s.push.apply(s, we(B.value, t, r, n, i));
|
|
3813
3813
|
continue;
|
|
3814
3814
|
}
|
|
@@ -3823,22 +3823,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3823
3823
|
B = u.options[N] || u.options.other;
|
|
3824
3824
|
}
|
|
3825
3825
|
if (!B)
|
|
3826
|
-
throw new
|
|
3826
|
+
throw new Lt(u.value, c, Object.keys(u.options), a);
|
|
3827
3827
|
s.push.apply(s, we(B.value, t, r, n, i, c - (u.offset || 0)));
|
|
3828
3828
|
continue;
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
|
-
return
|
|
3831
|
+
return Mi(s);
|
|
3832
3832
|
}
|
|
3833
3833
|
function Ci(e, t) {
|
|
3834
|
-
return t ?
|
|
3835
|
-
return r[n] =
|
|
3834
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3835
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
3836
3836
|
}, {})) : e;
|
|
3837
3837
|
}
|
|
3838
3838
|
function Gi(e, t) {
|
|
3839
3839
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3840
3840
|
return r[n] = Ci(e[n], t[n]), r;
|
|
3841
|
-
},
|
|
3841
|
+
}, L({}, e)) : e;
|
|
3842
3842
|
}
|
|
3843
3843
|
function ke(e) {
|
|
3844
3844
|
return {
|
|
@@ -3860,33 +3860,33 @@ function Ui(e) {
|
|
|
3860
3860
|
dateTime: {},
|
|
3861
3861
|
pluralRules: {}
|
|
3862
3862
|
}), {
|
|
3863
|
-
getNumberFormat:
|
|
3863
|
+
getNumberFormat: $e(function() {
|
|
3864
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3865
3865
|
r[n] = arguments[n];
|
|
3866
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3866
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3867
3867
|
}, {
|
|
3868
3868
|
cache: ke(e.number),
|
|
3869
3869
|
strategy: De.variadic
|
|
3870
3870
|
}),
|
|
3871
|
-
getDateTimeFormat:
|
|
3871
|
+
getDateTimeFormat: $e(function() {
|
|
3872
3872
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3873
3873
|
r[n] = arguments[n];
|
|
3874
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3874
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3875
3875
|
}, {
|
|
3876
3876
|
cache: ke(e.dateTime),
|
|
3877
3877
|
strategy: De.variadic
|
|
3878
3878
|
}),
|
|
3879
|
-
getPluralRules:
|
|
3879
|
+
getPluralRules: $e(function() {
|
|
3880
3880
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3881
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3882
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3883
3883
|
}, {
|
|
3884
3884
|
cache: ke(e.pluralRules),
|
|
3885
3885
|
strategy: De.variadic
|
|
3886
3886
|
})
|
|
3887
3887
|
};
|
|
3888
3888
|
}
|
|
3889
|
-
var
|
|
3889
|
+
var Fi = (
|
|
3890
3890
|
/** @class */
|
|
3891
3891
|
function() {
|
|
3892
3892
|
function e(t, r, n, i) {
|
|
@@ -3919,7 +3919,7 @@ var $i = (
|
|
|
3919
3919
|
var a = i || {};
|
|
3920
3920
|
a.formatters;
|
|
3921
3921
|
var s = Jn(a, ["formatters"]);
|
|
3922
|
-
this.ast = e.__parse(t,
|
|
3922
|
+
this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
|
|
3923
3923
|
} else
|
|
3924
3924
|
this.ast = t;
|
|
3925
3925
|
if (!Array.isArray(this.ast))
|
|
@@ -3998,7 +3998,7 @@ var $i = (
|
|
|
3998
3998
|
}, e;
|
|
3999
3999
|
}()
|
|
4000
4000
|
);
|
|
4001
|
-
function
|
|
4001
|
+
function $i(e, t) {
|
|
4002
4002
|
if (t == null)
|
|
4003
4003
|
return;
|
|
4004
4004
|
if (t in e)
|
|
@@ -4024,7 +4024,7 @@ const D = {}, Di = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
|
|
|
4024
4024
|
return;
|
|
4025
4025
|
if (t in D && e in D[t])
|
|
4026
4026
|
return D[t][e];
|
|
4027
|
-
const r =
|
|
4027
|
+
const r = Me(t);
|
|
4028
4028
|
for (let n = 0; n < r.length; n++) {
|
|
4029
4029
|
const i = r[n], o = ki(i, e);
|
|
4030
4030
|
if (o)
|
|
@@ -4043,12 +4043,12 @@ function ki(e, t) {
|
|
|
4043
4043
|
if (!wr(e))
|
|
4044
4044
|
return null;
|
|
4045
4045
|
const r = ji(e);
|
|
4046
|
-
return
|
|
4046
|
+
return $i(r, t);
|
|
4047
4047
|
}
|
|
4048
4048
|
function Vi(e) {
|
|
4049
4049
|
if (e == null)
|
|
4050
4050
|
return;
|
|
4051
|
-
const t =
|
|
4051
|
+
const t = Me(e);
|
|
4052
4052
|
for (let r = 0; r < t.length; r++) {
|
|
4053
4053
|
const n = t[r];
|
|
4054
4054
|
if (wr(n))
|
|
@@ -4071,13 +4071,13 @@ function Tr(e) {
|
|
|
4071
4071
|
return Se[e];
|
|
4072
4072
|
}
|
|
4073
4073
|
function Xi(e) {
|
|
4074
|
-
return
|
|
4074
|
+
return Me(e).map((t) => {
|
|
4075
4075
|
const r = Tr(t);
|
|
4076
4076
|
return [t, r ? [...r] : []];
|
|
4077
4077
|
}).filter(([, t]) => t.length > 0);
|
|
4078
4078
|
}
|
|
4079
4079
|
function st(e) {
|
|
4080
|
-
return e == null ? !1 :
|
|
4080
|
+
return e == null ? !1 : Me(e).some(
|
|
4081
4081
|
(t) => {
|
|
4082
4082
|
var r;
|
|
4083
4083
|
return (r = Tr(t)) == null ? void 0 : r.size;
|
|
@@ -4158,7 +4158,7 @@ const Ae = Re(null);
|
|
|
4158
4158
|
function Ut(e) {
|
|
4159
4159
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4160
4160
|
}
|
|
4161
|
-
function
|
|
4161
|
+
function Me(e, t = ne().fallbackLocale) {
|
|
4162
4162
|
const r = Ut(e);
|
|
4163
4163
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4164
4164
|
}
|
|
@@ -4184,19 +4184,19 @@ const io = (e) => {
|
|
|
4184
4184
|
return Ae.set(e);
|
|
4185
4185
|
}, V = no(ro({}, Ae), {
|
|
4186
4186
|
set: io
|
|
4187
|
-
}),
|
|
4187
|
+
}), Le = (e) => {
|
|
4188
4188
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4189
4189
|
return (n) => {
|
|
4190
4190
|
const i = JSON.stringify(n);
|
|
4191
4191
|
return i in t ? t[i] : t[i] = e(n);
|
|
4192
4192
|
};
|
|
4193
4193
|
};
|
|
4194
|
-
var oo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable,
|
|
4194
|
+
var oo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4195
4195
|
for (var r in t || (t = {}))
|
|
4196
|
-
Br.call(t, r) &&
|
|
4196
|
+
Br.call(t, r) && Ft(e, r, t[r]);
|
|
4197
4197
|
if (Pe)
|
|
4198
4198
|
for (var r of Pe(t))
|
|
4199
|
-
Ar.call(t, r) &&
|
|
4199
|
+
Ar.call(t, r) && Ft(e, r, t[r]);
|
|
4200
4200
|
return e;
|
|
4201
4201
|
}, ae = (e, t) => {
|
|
4202
4202
|
var r = {};
|
|
@@ -4212,21 +4212,21 @@ const me = (e, t) => {
|
|
|
4212
4212
|
if (e in r && t in r[e])
|
|
4213
4213
|
return r[e][t];
|
|
4214
4214
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4215
|
-
}, ao =
|
|
4215
|
+
}, ao = Le(
|
|
4216
4216
|
(e) => {
|
|
4217
4217
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4218
4218
|
if (r == null)
|
|
4219
4219
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4220
4220
|
return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
|
|
4221
4221
|
}
|
|
4222
|
-
), so =
|
|
4222
|
+
), so = Le(
|
|
4223
4223
|
(e) => {
|
|
4224
4224
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4225
4225
|
if (r == null)
|
|
4226
4226
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4227
4227
|
return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4228
4228
|
}
|
|
4229
|
-
), uo =
|
|
4229
|
+
), uo = Le(
|
|
4230
4230
|
(e) => {
|
|
4231
4231
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4232
4232
|
if (r == null)
|
|
@@ -4256,9 +4256,9 @@ const me = (e, t) => {
|
|
|
4256
4256
|
"locale"
|
|
4257
4257
|
]);
|
|
4258
4258
|
return uo(ct({ locale: r }, n));
|
|
4259
|
-
}, fo =
|
|
4259
|
+
}, fo = Le(
|
|
4260
4260
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4261
|
-
(e, t = J()) => new
|
|
4261
|
+
(e, t = J()) => new Fi(e, t, ne().formats, {
|
|
4262
4262
|
ignoreTag: ne().ignoreTag
|
|
4263
4263
|
})
|
|
4264
4264
|
), mo = (e, t = {}) => {
|
|
@@ -4300,6 +4300,7 @@ ie([V], () => go);
|
|
|
4300
4300
|
ie([V, oe], () => yo);
|
|
4301
4301
|
window.emWidgets = { topic: On };
|
|
4302
4302
|
const _o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4303
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4303
4304
|
function xo(e, t) {
|
|
4304
4305
|
if (e) {
|
|
4305
4306
|
const r = document.createElement("style");
|
|
@@ -4307,6 +4308,8 @@ function xo(e, t) {
|
|
|
4307
4308
|
}
|
|
4308
4309
|
}
|
|
4309
4310
|
function Eo(e, t) {
|
|
4311
|
+
if (!e || !t)
|
|
4312
|
+
return;
|
|
4310
4313
|
const r = new URL(t);
|
|
4311
4314
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4312
4315
|
const i = document.createElement("style");
|
|
@@ -4328,7 +4331,7 @@ function So({ withLocale: e, translations: t }) {
|
|
|
4328
4331
|
r == null && (oe.set(t), V.set(e));
|
|
4329
4332
|
});
|
|
4330
4333
|
}
|
|
4331
|
-
function
|
|
4334
|
+
function $t(e, t) {
|
|
4332
4335
|
Sr(e, t);
|
|
4333
4336
|
}
|
|
4334
4337
|
function To(e) {
|
|
@@ -4682,7 +4685,7 @@ function No(e) {
|
|
|
4682
4685
|
}
|
|
4683
4686
|
};
|
|
4684
4687
|
}
|
|
4685
|
-
function
|
|
4688
|
+
function Mo(e) {
|
|
4686
4689
|
let t, r;
|
|
4687
4690
|
return {
|
|
4688
4691
|
c() {
|
|
@@ -4707,7 +4710,7 @@ function Lo(e) {
|
|
|
4707
4710
|
}
|
|
4708
4711
|
};
|
|
4709
4712
|
}
|
|
4710
|
-
function
|
|
4713
|
+
function Lo(e) {
|
|
4711
4714
|
let t, r, n, i, o, a, s, h, l, u = (
|
|
4712
4715
|
/*show*/
|
|
4713
4716
|
e[5] && Vt(e)
|
|
@@ -4717,7 +4720,7 @@ function Mo(e) {
|
|
|
4717
4720
|
/*buttontext*/
|
|
4718
4721
|
d[1]
|
|
4719
4722
|
)
|
|
4720
|
-
return
|
|
4723
|
+
return Mo;
|
|
4721
4724
|
if (!/*buttontext*/
|
|
4722
4725
|
d[1])
|
|
4723
4726
|
return No;
|
|
@@ -4759,19 +4762,19 @@ function Mo(e) {
|
|
|
4759
4762
|
function Co(e, t, r) {
|
|
4760
4763
|
let n;
|
|
4761
4764
|
Wr(e, vo, (b) => r(9, n = b));
|
|
4762
|
-
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, N = !1,
|
|
4765
|
+
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, N = !1, M = !1, G = !1, pe = window.navigator.userAgent, U, Z, ft, be, mt = null;
|
|
4763
4766
|
So({ withLocale: "en", translations: {} });
|
|
4764
4767
|
const Pr = () => {
|
|
4765
4768
|
fetch(c).then((x) => x.json()).then((x) => {
|
|
4766
|
-
Object.keys(x).forEach((
|
|
4767
|
-
|
|
4769
|
+
Object.keys(x).forEach((F) => {
|
|
4770
|
+
$t(F, x[F]);
|
|
4768
4771
|
});
|
|
4769
4772
|
}).catch((x) => {
|
|
4770
4773
|
console.log(x);
|
|
4771
4774
|
});
|
|
4772
4775
|
};
|
|
4773
4776
|
Object.keys(Dt).forEach((b) => {
|
|
4774
|
-
|
|
4777
|
+
$t(b, Dt[b]);
|
|
4775
4778
|
});
|
|
4776
4779
|
const Or = () => {
|
|
4777
4780
|
let b = new URL(`${a}/v1/casino/games`);
|
|
@@ -4786,7 +4789,7 @@ function Co(e, t, r) {
|
|
|
4786
4789
|
}, Ir = async () => {
|
|
4787
4790
|
await on(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), ft = Z.children[be];
|
|
4788
4791
|
}, Ce = async () => {
|
|
4789
|
-
r(6,
|
|
4792
|
+
r(6, M = !1), r(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Ir();
|
|
4790
4793
|
const b = window.getComputedStyle(Z).getPropertyValue("gap"), x = parseInt(b, 10) || 0, se = (ft.offsetHeight + x) * be, Dr = [
|
|
4791
4794
|
{ transform: "translateX(0px)" },
|
|
4792
4795
|
{ filter: "blur(5px)" },
|
|
@@ -4799,13 +4802,13 @@ function Co(e, t, r) {
|
|
|
4799
4802
|
fill: "forwards"
|
|
4800
4803
|
};
|
|
4801
4804
|
mt = Z.animate(Dr, jr), mt.onfinish = () => {
|
|
4802
|
-
r(6,
|
|
4805
|
+
r(6, M = !0);
|
|
4803
4806
|
};
|
|
4804
4807
|
}, Nr = (b) => {
|
|
4805
4808
|
const x = structuredClone(b);
|
|
4806
|
-
let
|
|
4807
|
-
for (;
|
|
4808
|
-
se = Math.floor(Math.random() *
|
|
4809
|
+
let F = x.length, se;
|
|
4810
|
+
for (; F != 0; )
|
|
4811
|
+
se = Math.floor(Math.random() * F), F--, [x[F], x[se]] = [x[se], x[F]];
|
|
4809
4812
|
return x;
|
|
4810
4813
|
}, dt = () => {
|
|
4811
4814
|
window.postMessage(
|
|
@@ -4818,9 +4821,9 @@ function Co(e, t, r) {
|
|
|
4818
4821
|
context: "RandomGameWidget",
|
|
4819
4822
|
gameId: `${T.gId || T.id}`
|
|
4820
4823
|
});
|
|
4821
|
-
}, Lr = () => {
|
|
4822
|
-
r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
4823
4824
|
}, Mr = () => {
|
|
4825
|
+
r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
4826
|
+
}, Lr = () => {
|
|
4824
4827
|
To(l);
|
|
4825
4828
|
};
|
|
4826
4829
|
nn(() => () => {
|
|
@@ -4830,8 +4833,8 @@ function Co(e, t, r) {
|
|
|
4830
4833
|
Z = b, r(8, Z);
|
|
4831
4834
|
});
|
|
4832
4835
|
}
|
|
4833
|
-
const Gr = () => Ce(), Ur = () => dt(),
|
|
4834
|
-
function
|
|
4836
|
+
const Gr = () => Ce(), Ur = () => dt(), Fr = () => Ce();
|
|
4837
|
+
function $r(b) {
|
|
4835
4838
|
He[b ? "unshift" : "push"](() => {
|
|
4836
4839
|
U = b, r(2, U);
|
|
4837
4840
|
});
|
|
@@ -4840,7 +4843,7 @@ function Co(e, t, r) {
|
|
|
4840
4843
|
"endpoint" in b && r(13, a = b.endpoint), "datasource" in b && r(14, s = b.datasource), "gameevent" in b && r(15, h = b.gameevent), "lang" in b && r(16, l = b.lang), "randombuttonicon" in b && r(0, u = b.randombuttonicon), "buttontext" in b && r(1, f = b.buttontext), "translationurl" in b && r(17, c = b.translationurl), "clientstyling" in b && r(18, m = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "filteredrandomgamecategories" in b && r(20, p = b.filteredrandomgamecategories), "mbsource" in b && r(21, A = b.mbsource), "$$scope" in b && r(22, o = b.$$scope);
|
|
4841
4844
|
}, e.$$.update = () => {
|
|
4842
4845
|
e.$$.dirty[0] & /*lang*/
|
|
4843
|
-
65536 && l &&
|
|
4846
|
+
65536 && l && Lr(), e.$$.dirty[0] & /*translationurl*/
|
|
4844
4847
|
131072 && c && Pr(), e.$$.dirty[0] & /*endpoint, datasource*/
|
|
4845
4848
|
24576 && a && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4846
4849
|
262148 && m && U && xo(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
@@ -4853,13 +4856,13 @@ function Co(e, t, r) {
|
|
|
4853
4856
|
T,
|
|
4854
4857
|
B,
|
|
4855
4858
|
N,
|
|
4856
|
-
|
|
4859
|
+
M,
|
|
4857
4860
|
G,
|
|
4858
4861
|
Z,
|
|
4859
4862
|
n,
|
|
4860
4863
|
Ce,
|
|
4861
4864
|
dt,
|
|
4862
|
-
|
|
4865
|
+
Mr,
|
|
4863
4866
|
a,
|
|
4864
4867
|
s,
|
|
4865
4868
|
h,
|
|
@@ -4874,8 +4877,8 @@ function Co(e, t, r) {
|
|
|
4874
4877
|
Cr,
|
|
4875
4878
|
Gr,
|
|
4876
4879
|
Ur,
|
|
4877
|
-
|
|
4878
|
-
|
|
4880
|
+
Fr,
|
|
4881
|
+
$r
|
|
4879
4882
|
];
|
|
4880
4883
|
}
|
|
4881
4884
|
class Go extends pn {
|
|
@@ -4884,7 +4887,7 @@ class Go extends pn {
|
|
|
4884
4887
|
this,
|
|
4885
4888
|
t,
|
|
4886
4889
|
Co,
|
|
4887
|
-
|
|
4890
|
+
Lo,
|
|
4888
4891
|
zt,
|
|
4889
4892
|
{
|
|
4890
4893
|
endpoint: 13,
|