@everymatrix/casino-slider-nd 1.59.2 → 1.60.0
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/{CasinoSliderNd-CL5jEaxT.js → CasinoSliderNd-BpEJfTLV.js} +227 -227
- package/components/{CasinoSliderNd-BbA62zRo.cjs → CasinoSliderNd-CfKbL7FJ.cjs} +4 -4
- package/components/{CasinoSliderNd-C8vvrEhy.js → CasinoSliderNd-OGuAaMhD.js} +239 -239
- package/es2015/casino-slider-nd.cjs +1 -1
- package/es2015/casino-slider-nd.js +1 -1
- package/esnext/casino-slider-nd.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function D() {
|
|
2
2
|
}
|
|
3
3
|
function ar(e) {
|
|
4
4
|
return e();
|
|
@@ -26,7 +26,7 @@ function ln(e, ...t) {
|
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return D;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -77,7 +77,7 @@ function Y(e) {
|
|
|
77
77
|
function ee(e) {
|
|
78
78
|
return document.createTextNode(e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function V() {
|
|
81
81
|
return ee(" ");
|
|
82
82
|
}
|
|
83
83
|
function te() {
|
|
@@ -92,7 +92,7 @@ function p(e, t, r) {
|
|
|
92
92
|
function dn(e) {
|
|
93
93
|
return Array.from(e.childNodes);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function pe(e, t) {
|
|
96
96
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
97
97
|
t);
|
|
98
98
|
}
|
|
@@ -105,54 +105,54 @@ function pn(e) {
|
|
|
105
105
|
}
|
|
106
106
|
), t;
|
|
107
107
|
}
|
|
108
|
-
let
|
|
109
|
-
function
|
|
110
|
-
|
|
108
|
+
let xe;
|
|
109
|
+
function Ce(e) {
|
|
110
|
+
xe = e;
|
|
111
111
|
}
|
|
112
112
|
function mn() {
|
|
113
|
-
if (!
|
|
113
|
+
if (!xe)
|
|
114
114
|
throw new Error("Function called outside component initialization");
|
|
115
|
-
return
|
|
115
|
+
return xe;
|
|
116
116
|
}
|
|
117
117
|
function bn(e) {
|
|
118
118
|
mn().$$.on_mount.push(e);
|
|
119
119
|
}
|
|
120
|
-
const
|
|
121
|
-
let
|
|
120
|
+
const se = [], we = [];
|
|
121
|
+
let ae = [];
|
|
122
122
|
const St = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
123
123
|
let rt = !1;
|
|
124
124
|
function yn() {
|
|
125
125
|
rt || (rt = !0, gn.then(M));
|
|
126
126
|
}
|
|
127
127
|
function nt(e) {
|
|
128
|
-
|
|
128
|
+
ae.push(e);
|
|
129
129
|
}
|
|
130
130
|
const ze = /* @__PURE__ */ new Set();
|
|
131
|
-
let
|
|
131
|
+
let ie = 0;
|
|
132
132
|
function M() {
|
|
133
|
-
if (
|
|
133
|
+
if (ie !== 0)
|
|
134
134
|
return;
|
|
135
|
-
const e =
|
|
135
|
+
const e = xe;
|
|
136
136
|
do {
|
|
137
137
|
try {
|
|
138
|
-
for (;
|
|
139
|
-
const t =
|
|
140
|
-
|
|
138
|
+
for (; ie < se.length; ) {
|
|
139
|
+
const t = se[ie];
|
|
140
|
+
ie++, Ce(t), vn(t.$$);
|
|
141
141
|
}
|
|
142
142
|
} catch (t) {
|
|
143
|
-
throw
|
|
143
|
+
throw se.length = 0, ie = 0, t;
|
|
144
144
|
}
|
|
145
|
-
for (
|
|
146
|
-
|
|
147
|
-
for (let t = 0; t <
|
|
148
|
-
const r =
|
|
145
|
+
for (Ce(null), se.length = 0, ie = 0; we.length; )
|
|
146
|
+
we.pop()();
|
|
147
|
+
for (let t = 0; t < ae.length; t += 1) {
|
|
148
|
+
const r = ae[t];
|
|
149
149
|
ze.has(r) || (ze.add(r), r());
|
|
150
150
|
}
|
|
151
|
-
|
|
152
|
-
} while (
|
|
151
|
+
ae.length = 0;
|
|
152
|
+
} while (se.length);
|
|
153
153
|
for (; St.length; )
|
|
154
154
|
St.pop()();
|
|
155
|
-
rt = !1, ze.clear(),
|
|
155
|
+
rt = !1, ze.clear(), Ce(e);
|
|
156
156
|
}
|
|
157
157
|
function vn(e) {
|
|
158
158
|
if (e.fragment !== null) {
|
|
@@ -163,13 +163,13 @@ function vn(e) {
|
|
|
163
163
|
}
|
|
164
164
|
function _n(e) {
|
|
165
165
|
const t = [], r = [];
|
|
166
|
-
|
|
166
|
+
ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
|
|
167
167
|
}
|
|
168
168
|
const En = /* @__PURE__ */ new Set();
|
|
169
169
|
function ur(e, t) {
|
|
170
170
|
e && e.i && (En.delete(e), e.i(t));
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function ue(e) {
|
|
173
173
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
174
174
|
}
|
|
175
175
|
function hr(e, t) {
|
|
@@ -180,27 +180,27 @@ function cr(e, t, r, n, i, o, s, a, l, h, u, c) {
|
|
|
180
180
|
const g = {};
|
|
181
181
|
for (; m--; )
|
|
182
182
|
g[e[m].key] = m;
|
|
183
|
-
const y = [], x = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(),
|
|
183
|
+
const y = [], x = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), N = [];
|
|
184
184
|
for (m = b; m--; ) {
|
|
185
|
-
const T = c(i, o, m),
|
|
186
|
-
let O = s.get(
|
|
187
|
-
O ?
|
|
185
|
+
const T = c(i, o, m), U = r(T);
|
|
186
|
+
let O = s.get(U);
|
|
187
|
+
O ? N.push(() => O.p(T, t)) : (O = h(U, T), O.c()), x.set(U, y[m] = O), U in g && I.set(U, Math.abs(m - g[U]));
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
189
|
+
const $ = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set();
|
|
190
|
+
function j(T) {
|
|
191
191
|
ur(T, 1), T.m(a, u), s.set(T.key, T), u = T.first, b--;
|
|
192
192
|
}
|
|
193
193
|
for (; d && b; ) {
|
|
194
|
-
const T = y[b - 1],
|
|
195
|
-
T ===
|
|
194
|
+
const T = y[b - 1], U = e[d - 1], O = T.key, G = U.key;
|
|
195
|
+
T === U ? (u = T.first, d--, b--) : x.has(G) ? !s.has(O) || $.has(O) ? j(T) : F.has(G) ? d-- : I.get(O) > I.get(G) ? (F.add(O), j(T)) : ($.add(G), d--) : (l(U, s), d--);
|
|
196
196
|
}
|
|
197
197
|
for (; d--; ) {
|
|
198
198
|
const T = e[d];
|
|
199
199
|
x.has(T.key) || l(T, s);
|
|
200
200
|
}
|
|
201
201
|
for (; b; )
|
|
202
|
-
|
|
203
|
-
return z(
|
|
202
|
+
j(y[b - 1]);
|
|
203
|
+
return z(N), y;
|
|
204
204
|
}
|
|
205
205
|
function Cn(e, t, r) {
|
|
206
206
|
const { fragment: n, after_update: i } = e.$$;
|
|
@@ -214,17 +214,17 @@ function wn(e, t) {
|
|
|
214
214
|
r.fragment !== null && (_n(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
215
215
|
}
|
|
216
216
|
function xn(e, t) {
|
|
217
|
-
e.$$.dirty[0] === -1 && (
|
|
217
|
+
e.$$.dirty[0] === -1 && (se.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
218
218
|
}
|
|
219
219
|
function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
220
|
-
const l =
|
|
221
|
-
|
|
220
|
+
const l = xe;
|
|
221
|
+
Ce(e);
|
|
222
222
|
const h = e.$$ = {
|
|
223
223
|
fragment: null,
|
|
224
224
|
ctx: [],
|
|
225
225
|
// state
|
|
226
226
|
props: o,
|
|
227
|
-
update:
|
|
227
|
+
update: D,
|
|
228
228
|
not_equal: i,
|
|
229
229
|
bound: xt(),
|
|
230
230
|
// lifecycle
|
|
@@ -253,7 +253,7 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
253
253
|
h.fragment && h.fragment.c();
|
|
254
254
|
t.intro && ur(e.$$.fragment), Cn(e, t.target, t.anchor), M();
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
Ce(l);
|
|
257
257
|
}
|
|
258
258
|
let fr;
|
|
259
259
|
typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
@@ -450,7 +450,7 @@ class Tn {
|
|
|
450
450
|
$$set = void 0;
|
|
451
451
|
/** @returns {void} */
|
|
452
452
|
$destroy() {
|
|
453
|
-
wn(this, 1), this.$destroy =
|
|
453
|
+
wn(this, 1), this.$destroy = D;
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -460,7 +460,7 @@ class Tn {
|
|
|
460
460
|
*/
|
|
461
461
|
$on(t, r) {
|
|
462
462
|
if (!gt(r))
|
|
463
|
-
return
|
|
463
|
+
return D;
|
|
464
464
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
465
465
|
return n.push(r), () => {
|
|
466
466
|
const i = n.indexOf(r);
|
|
@@ -559,7 +559,7 @@ function st(e, t) {
|
|
|
559
559
|
}
|
|
560
560
|
return o;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function le(e, t, r) {
|
|
563
563
|
if (r || arguments.length === 2)
|
|
564
564
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
565
565
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -633,7 +633,7 @@ var Ue = function() {
|
|
|
633
633
|
try {
|
|
634
634
|
Ht(m);
|
|
635
635
|
} catch (g) {
|
|
636
|
-
o = o ?? [], g instanceof Qe ? o =
|
|
636
|
+
o = o ?? [], g instanceof Qe ? o = le(le([], st(o)), st(g.errors)) : o.push(g);
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
639
|
} catch (g) {
|
|
@@ -696,7 +696,7 @@ var br = {
|
|
|
696
696
|
setTimeout: function(e, t) {
|
|
697
697
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
698
698
|
r[n - 2] = arguments[n];
|
|
699
|
-
return setTimeout.apply(void 0,
|
|
699
|
+
return setTimeout.apply(void 0, le([e, t], st(r)));
|
|
700
700
|
},
|
|
701
701
|
clearTimeout: function(e) {
|
|
702
702
|
return clearTimeout(e);
|
|
@@ -1035,39 +1035,39 @@ const Mt = [], Pt = {}, jn = (e, t = 0) => {
|
|
|
1035
1035
|
Pt[e] = r, Mt.push(e);
|
|
1036
1036
|
}
|
|
1037
1037
|
return Pt[e];
|
|
1038
|
-
},
|
|
1038
|
+
}, oe = [];
|
|
1039
1039
|
function Vn(e, t) {
|
|
1040
1040
|
return {
|
|
1041
1041
|
subscribe: Ge(e, t).subscribe
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
1044
|
-
function Ge(e, t =
|
|
1044
|
+
function Ge(e, t = D) {
|
|
1045
1045
|
let r;
|
|
1046
1046
|
const n = /* @__PURE__ */ new Set();
|
|
1047
1047
|
function i(a) {
|
|
1048
1048
|
if (lr(e, a) && (e = a, r)) {
|
|
1049
|
-
const l = !
|
|
1049
|
+
const l = !oe.length;
|
|
1050
1050
|
for (const h of n)
|
|
1051
|
-
h[1](),
|
|
1051
|
+
h[1](), oe.push(h, e);
|
|
1052
1052
|
if (l) {
|
|
1053
|
-
for (let h = 0; h <
|
|
1054
|
-
|
|
1055
|
-
|
|
1053
|
+
for (let h = 0; h < oe.length; h += 2)
|
|
1054
|
+
oe[h][0](oe[h + 1]);
|
|
1055
|
+
oe.length = 0;
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
function o(a) {
|
|
1060
1060
|
i(a(e));
|
|
1061
1061
|
}
|
|
1062
|
-
function s(a, l =
|
|
1062
|
+
function s(a, l = D) {
|
|
1063
1063
|
const h = [a, l];
|
|
1064
|
-
return n.add(h), n.size === 1 && (r = t(i, o) ||
|
|
1064
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || D), a(e), () => {
|
|
1065
1065
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1066
1066
|
};
|
|
1067
1067
|
}
|
|
1068
1068
|
return { set: i, update: o, subscribe: s };
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1070
|
+
function me(e, t, r) {
|
|
1071
1071
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1072
1072
|
if (!i.every(Boolean))
|
|
1073
1073
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1075,13 +1075,13 @@ function pe(e, t, r) {
|
|
|
1075
1075
|
return Vn(r, (s, a) => {
|
|
1076
1076
|
let l = !1;
|
|
1077
1077
|
const h = [];
|
|
1078
|
-
let u = 0, c =
|
|
1078
|
+
let u = 0, c = D;
|
|
1079
1079
|
const d = () => {
|
|
1080
1080
|
if (u)
|
|
1081
1081
|
return;
|
|
1082
1082
|
c();
|
|
1083
1083
|
const m = t(n ? h[0] : h, s, a);
|
|
1084
|
-
o ? s(m) : c = gt(m) ? m :
|
|
1084
|
+
o ? s(m) : c = gt(m) ? m : D;
|
|
1085
1085
|
}, b = i.map(
|
|
1086
1086
|
(m, g) => ln(
|
|
1087
1087
|
m,
|
|
@@ -1118,19 +1118,19 @@ function qn(e) {
|
|
|
1118
1118
|
function Jn(e) {
|
|
1119
1119
|
return Array.isArray(e) ? [] : {};
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1122
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1121
|
+
function Se(e, t) {
|
|
1122
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? he(Jn(e), e, t) : e;
|
|
1123
1123
|
}
|
|
1124
1124
|
function Kn(e, t, r) {
|
|
1125
1125
|
return e.concat(t).map(function(n) {
|
|
1126
|
-
return
|
|
1126
|
+
return Se(n, r);
|
|
1127
1127
|
});
|
|
1128
1128
|
}
|
|
1129
1129
|
function ei(e, t) {
|
|
1130
1130
|
if (!t.customMerge)
|
|
1131
|
-
return
|
|
1131
|
+
return he;
|
|
1132
1132
|
var r = t.customMerge(e);
|
|
1133
|
-
return typeof r == "function" ? r :
|
|
1133
|
+
return typeof r == "function" ? r : he;
|
|
1134
1134
|
}
|
|
1135
1135
|
function ti(e) {
|
|
1136
1136
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -1153,24 +1153,24 @@ function ri(e, t) {
|
|
|
1153
1153
|
function ni(e, t, r) {
|
|
1154
1154
|
var n = {};
|
|
1155
1155
|
return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
|
|
1156
|
-
n[i] =
|
|
1156
|
+
n[i] = Se(e[i], r);
|
|
1157
1157
|
}), Ot(t).forEach(function(i) {
|
|
1158
|
-
ri(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] =
|
|
1158
|
+
ri(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
|
|
1159
1159
|
}), n;
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1162
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified =
|
|
1161
|
+
function he(e, t, r) {
|
|
1162
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Se;
|
|
1163
1163
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1164
|
-
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) :
|
|
1164
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Se(t, r);
|
|
1165
1165
|
}
|
|
1166
|
-
|
|
1166
|
+
he.all = function(t, r) {
|
|
1167
1167
|
if (!Array.isArray(t))
|
|
1168
1168
|
throw new Error("first argument should be an array");
|
|
1169
1169
|
return t.reduce(function(n, i) {
|
|
1170
|
-
return
|
|
1170
|
+
return he(n, i, r);
|
|
1171
1171
|
}, {});
|
|
1172
1172
|
};
|
|
1173
|
-
var ii =
|
|
1173
|
+
var ii = he, oi = ii;
|
|
1174
1174
|
const si = /* @__PURE__ */ Wn(oi);
|
|
1175
1175
|
function qe(e, t) {
|
|
1176
1176
|
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
|
|
@@ -1230,10 +1230,10 @@ var S;
|
|
|
1230
1230
|
(function(e) {
|
|
1231
1231
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1232
1232
|
})(S || (S = {}));
|
|
1233
|
-
var
|
|
1233
|
+
var ce;
|
|
1234
1234
|
(function(e) {
|
|
1235
1235
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1236
|
-
})(
|
|
1236
|
+
})(ce || (ce = {}));
|
|
1237
1237
|
function Lt(e) {
|
|
1238
1238
|
return e.type === S.literal;
|
|
1239
1239
|
}
|
|
@@ -1262,10 +1262,10 @@ function Ar(e) {
|
|
|
1262
1262
|
return e.type === S.tag;
|
|
1263
1263
|
}
|
|
1264
1264
|
function Ir(e) {
|
|
1265
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1265
|
+
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
1266
1266
|
}
|
|
1267
1267
|
function ut(e) {
|
|
1268
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1268
|
+
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
1269
1269
|
}
|
|
1270
1270
|
var Br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1271
1271
|
function bi(e) {
|
|
@@ -3349,7 +3349,7 @@ var ki = (
|
|
|
3349
3349
|
var x = y;
|
|
3350
3350
|
this.locale && (x = wi(y, this.locale));
|
|
3351
3351
|
var d = {
|
|
3352
|
-
type:
|
|
3352
|
+
type: ce.dateTime,
|
|
3353
3353
|
pattern: x,
|
|
3354
3354
|
location: h.styleLocation,
|
|
3355
3355
|
parsedOptions: this.shouldParseSkeletons ? bi(x) : {}
|
|
@@ -3373,23 +3373,23 @@ var ki = (
|
|
|
3373
3373
|
case "plural":
|
|
3374
3374
|
case "selectordinal":
|
|
3375
3375
|
case "select": {
|
|
3376
|
-
var
|
|
3376
|
+
var N = this.clonePosition();
|
|
3377
3377
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3378
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3378
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(N, E({}, N)));
|
|
3379
3379
|
this.bumpSpace();
|
|
3380
|
-
var
|
|
3381
|
-
if (a !== "select" &&
|
|
3380
|
+
var $ = this.parseIdentifierIfPossible(), F = 0;
|
|
3381
|
+
if (a !== "select" && $.value === "offset") {
|
|
3382
3382
|
if (!this.bumpIf(":"))
|
|
3383
3383
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3384
3384
|
this.bumpSpace();
|
|
3385
3385
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3386
3386
|
if (c.err)
|
|
3387
3387
|
return c;
|
|
3388
|
-
this.bumpSpace(),
|
|
3388
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), F = c.val;
|
|
3389
3389
|
}
|
|
3390
|
-
var
|
|
3391
|
-
if (
|
|
3392
|
-
return
|
|
3390
|
+
var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
|
3391
|
+
if (j.err)
|
|
3392
|
+
return j;
|
|
3393
3393
|
var m = this.tryParseArgumentClose(i);
|
|
3394
3394
|
if (m.err)
|
|
3395
3395
|
return m;
|
|
@@ -3398,7 +3398,7 @@ var ki = (
|
|
|
3398
3398
|
val: {
|
|
3399
3399
|
type: S.select,
|
|
3400
3400
|
value: n,
|
|
3401
|
-
options: Dt(
|
|
3401
|
+
options: Dt(j.val),
|
|
3402
3402
|
location: T
|
|
3403
3403
|
},
|
|
3404
3404
|
err: null
|
|
@@ -3406,8 +3406,8 @@ var ki = (
|
|
|
3406
3406
|
val: {
|
|
3407
3407
|
type: S.plural,
|
|
3408
3408
|
value: n,
|
|
3409
|
-
options: Dt(
|
|
3410
|
-
offset:
|
|
3409
|
+
options: Dt(j.val),
|
|
3410
|
+
offset: F,
|
|
3411
3411
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3412
3412
|
location: T
|
|
3413
3413
|
},
|
|
@@ -3463,7 +3463,7 @@ var ki = (
|
|
|
3463
3463
|
}
|
|
3464
3464
|
return {
|
|
3465
3465
|
val: {
|
|
3466
|
-
type:
|
|
3466
|
+
type: ce.number,
|
|
3467
3467
|
tokens: n,
|
|
3468
3468
|
location: r,
|
|
3469
3469
|
parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
|
|
@@ -3613,10 +3613,10 @@ function $i(e, t) {
|
|
|
3613
3613
|
}
|
|
3614
3614
|
return t?.captureLocation || pt(r.val), r.val;
|
|
3615
3615
|
}
|
|
3616
|
-
var
|
|
3616
|
+
var fe;
|
|
3617
3617
|
(function(e) {
|
|
3618
3618
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3619
|
-
})(
|
|
3619
|
+
})(fe || (fe = {}));
|
|
3620
3620
|
var $e = (
|
|
3621
3621
|
/** @class */
|
|
3622
3622
|
function(e) {
|
|
@@ -3634,7 +3634,7 @@ var $e = (
|
|
|
3634
3634
|
function(e) {
|
|
3635
3635
|
Q(t, e);
|
|
3636
3636
|
function t(r, n, i, o) {
|
|
3637
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3637
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
|
|
3638
3638
|
}
|
|
3639
3639
|
return t;
|
|
3640
3640
|
}($e)
|
|
@@ -3643,7 +3643,7 @@ var $e = (
|
|
|
3643
3643
|
function(e) {
|
|
3644
3644
|
Q(t, e);
|
|
3645
3645
|
function t(r, n, i) {
|
|
3646
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3646
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
|
|
3647
3647
|
}
|
|
3648
3648
|
return t;
|
|
3649
3649
|
}($e)
|
|
@@ -3652,18 +3652,18 @@ var $e = (
|
|
|
3652
3652
|
function(e) {
|
|
3653
3653
|
Q(t, e);
|
|
3654
3654
|
function t(r, n) {
|
|
3655
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3655
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
|
|
3656
3656
|
}
|
|
3657
3657
|
return t;
|
|
3658
3658
|
}($e)
|
|
3659
|
-
),
|
|
3659
|
+
), R;
|
|
3660
3660
|
(function(e) {
|
|
3661
3661
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3662
|
-
})(
|
|
3662
|
+
})(R || (R = {}));
|
|
3663
3663
|
function Wi(e) {
|
|
3664
3664
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3665
3665
|
var n = t[t.length - 1];
|
|
3666
|
-
return !n || n.type !==
|
|
3666
|
+
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3667
3667
|
}, []);
|
|
3668
3668
|
}
|
|
3669
3669
|
function Xi(e) {
|
|
@@ -3673,7 +3673,7 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3673
3673
|
if (e.length === 1 && Lt(e[0]))
|
|
3674
3674
|
return [
|
|
3675
3675
|
{
|
|
3676
|
-
type:
|
|
3676
|
+
type: R.literal,
|
|
3677
3677
|
value: e[0].value
|
|
3678
3678
|
}
|
|
3679
3679
|
];
|
|
@@ -3681,14 +3681,14 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3681
3681
|
var u = h[l];
|
|
3682
3682
|
if (Lt(u)) {
|
|
3683
3683
|
a.push({
|
|
3684
|
-
type:
|
|
3684
|
+
type: R.literal,
|
|
3685
3685
|
value: u.value
|
|
3686
3686
|
});
|
|
3687
3687
|
continue;
|
|
3688
3688
|
}
|
|
3689
3689
|
if (pi(u)) {
|
|
3690
3690
|
typeof o == "number" && a.push({
|
|
3691
|
-
type:
|
|
3691
|
+
type: R.literal,
|
|
3692
3692
|
value: r.getNumberFormat(t).format(o)
|
|
3693
3693
|
});
|
|
3694
3694
|
continue;
|
|
@@ -3699,7 +3699,7 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3699
3699
|
var d = i[c];
|
|
3700
3700
|
if (di(u)) {
|
|
3701
3701
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3702
|
-
type: typeof d == "string" ?
|
|
3702
|
+
type: typeof d == "string" ? R.literal : R.object,
|
|
3703
3703
|
value: d
|
|
3704
3704
|
});
|
|
3705
3705
|
continue;
|
|
@@ -3707,7 +3707,7 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3707
3707
|
if (xr(u)) {
|
|
3708
3708
|
var b = typeof u.style == "string" ? n.date[u.style] : ut(u.style) ? u.style.parsedOptions : void 0;
|
|
3709
3709
|
a.push({
|
|
3710
|
-
type:
|
|
3710
|
+
type: R.literal,
|
|
3711
3711
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3712
3712
|
});
|
|
3713
3713
|
continue;
|
|
@@ -3715,7 +3715,7 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3715
3715
|
if (Sr(u)) {
|
|
3716
3716
|
var b = typeof u.style == "string" ? n.time[u.style] : ut(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3717
3717
|
a.push({
|
|
3718
|
-
type:
|
|
3718
|
+
type: R.literal,
|
|
3719
3719
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3720
3720
|
});
|
|
3721
3721
|
continue;
|
|
@@ -3723,7 +3723,7 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3723
3723
|
if (wr(u)) {
|
|
3724
3724
|
var b = typeof u.style == "string" ? n.number[u.style] : Ir(u.style) ? u.style.parsedOptions : void 0;
|
|
3725
3725
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3726
|
-
type:
|
|
3726
|
+
type: R.literal,
|
|
3727
3727
|
value: r.getNumberFormat(t, b).format(d)
|
|
3728
3728
|
});
|
|
3729
3729
|
continue;
|
|
@@ -3732,36 +3732,36 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3732
3732
|
var m = u.children, g = u.value, y = i[g];
|
|
3733
3733
|
if (!Xi(y))
|
|
3734
3734
|
throw new ji(g, "function", s);
|
|
3735
|
-
var x = Ne(m, t, r, n, i, o), I = y(x.map(function(
|
|
3736
|
-
return
|
|
3735
|
+
var x = Ne(m, t, r, n, i, o), I = y(x.map(function(F) {
|
|
3736
|
+
return F.value;
|
|
3737
3737
|
}));
|
|
3738
|
-
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(
|
|
3738
|
+
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(F) {
|
|
3739
3739
|
return {
|
|
3740
|
-
type: typeof
|
|
3741
|
-
value:
|
|
3740
|
+
type: typeof F == "string" ? R.literal : R.object,
|
|
3741
|
+
value: F
|
|
3742
3742
|
};
|
|
3743
3743
|
}));
|
|
3744
3744
|
}
|
|
3745
3745
|
if (Hr(u)) {
|
|
3746
|
-
var
|
|
3747
|
-
if (!
|
|
3746
|
+
var N = u.options[d] || u.options.other;
|
|
3747
|
+
if (!N)
|
|
3748
3748
|
throw new Gt(u.value, d, Object.keys(u.options), s);
|
|
3749
|
-
a.push.apply(a, Ne(
|
|
3749
|
+
a.push.apply(a, Ne(N.value, t, r, n, i));
|
|
3750
3750
|
continue;
|
|
3751
3751
|
}
|
|
3752
3752
|
if (Tr(u)) {
|
|
3753
|
-
var
|
|
3754
|
-
if (!
|
|
3753
|
+
var N = u.options["=".concat(d)];
|
|
3754
|
+
if (!N) {
|
|
3755
3755
|
if (!Intl.PluralRules)
|
|
3756
3756
|
throw new $e(`Intl.PluralRules is not available in this environment.
|
|
3757
3757
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3758
|
-
`,
|
|
3759
|
-
var
|
|
3760
|
-
|
|
3758
|
+
`, fe.MISSING_INTL_API, s);
|
|
3759
|
+
var $ = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3760
|
+
N = u.options[$] || u.options.other;
|
|
3761
3761
|
}
|
|
3762
|
-
if (!
|
|
3762
|
+
if (!N)
|
|
3763
3763
|
throw new Gt(u.value, d, Object.keys(u.options), s);
|
|
3764
|
-
a.push.apply(a, Ne(
|
|
3764
|
+
a.push.apply(a, Ne(N.value, t, r, n, i, d - (u.offset || 0)));
|
|
3765
3765
|
continue;
|
|
3766
3766
|
}
|
|
3767
3767
|
}
|
|
@@ -3800,7 +3800,7 @@ function Qi(e) {
|
|
|
3800
3800
|
getNumberFormat: qe(function() {
|
|
3801
3801
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3802
3802
|
r[n] = arguments[n];
|
|
3803
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3803
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
|
|
3804
3804
|
}, {
|
|
3805
3805
|
cache: et(e.number),
|
|
3806
3806
|
strategy: Je.variadic
|
|
@@ -3808,7 +3808,7 @@ function Qi(e) {
|
|
|
3808
3808
|
getDateTimeFormat: qe(function() {
|
|
3809
3809
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3810
3810
|
r[n] = arguments[n];
|
|
3811
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3811
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
|
|
3812
3812
|
}, {
|
|
3813
3813
|
cache: et(e.dateTime),
|
|
3814
3814
|
strategy: Je.variadic
|
|
@@ -3816,7 +3816,7 @@ function Qi(e) {
|
|
|
3816
3816
|
getPluralRules: qe(function() {
|
|
3817
3817
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3818
3818
|
r[n] = arguments[n];
|
|
3819
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3819
|
+
return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
|
|
3820
3820
|
}, {
|
|
3821
3821
|
cache: et(e.pluralRules),
|
|
3822
3822
|
strategy: Je.variadic
|
|
@@ -3838,7 +3838,7 @@ var Yi = (
|
|
|
3838
3838
|
if (h.length === 1)
|
|
3839
3839
|
return h[0].value;
|
|
3840
3840
|
var u = h.reduce(function(c, d) {
|
|
3841
|
-
return !c.length || d.type !==
|
|
3841
|
+
return !c.length || d.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
|
|
3842
3842
|
}, []);
|
|
3843
3843
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3844
3844
|
}, this.formatToParts = function(l) {
|
|
@@ -3969,7 +3969,7 @@ const J = {}, Ji = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
|
|
|
3969
3969
|
}
|
|
3970
3970
|
};
|
|
3971
3971
|
let _t;
|
|
3972
|
-
const
|
|
3972
|
+
const be = Ge({});
|
|
3973
3973
|
function Ki(e) {
|
|
3974
3974
|
return _t[e] || null;
|
|
3975
3975
|
}
|
|
@@ -3993,13 +3993,13 @@ function to(e) {
|
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
function Dr(e, ...t) {
|
|
3996
|
-
delete J[e],
|
|
3996
|
+
delete J[e], be.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3997
3997
|
}
|
|
3998
|
-
|
|
3999
|
-
[
|
|
3998
|
+
me(
|
|
3999
|
+
[be],
|
|
4000
4000
|
([e]) => Object.keys(e)
|
|
4001
4001
|
);
|
|
4002
|
-
|
|
4002
|
+
be.subscribe((e) => _t = e);
|
|
4003
4003
|
const Re = {};
|
|
4004
4004
|
function ro(e, t) {
|
|
4005
4005
|
Re[e].delete(t), Re[e].size === 0 && delete Re[e];
|
|
@@ -4026,20 +4026,20 @@ function io(e, t) {
|
|
|
4026
4026
|
t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
|
|
4027
4027
|
).then((n) => Dr(e, ...n));
|
|
4028
4028
|
}
|
|
4029
|
-
const
|
|
4029
|
+
const Ee = {};
|
|
4030
4030
|
function Gr(e) {
|
|
4031
4031
|
if (!mt(e))
|
|
4032
|
-
return e in
|
|
4032
|
+
return e in Ee ? Ee[e] : Promise.resolve();
|
|
4033
4033
|
const t = no(e);
|
|
4034
|
-
return
|
|
4034
|
+
return Ee[e] = Promise.all(
|
|
4035
4035
|
t.map(
|
|
4036
4036
|
([r, n]) => io(r, n)
|
|
4037
4037
|
)
|
|
4038
4038
|
).then(() => {
|
|
4039
4039
|
if (mt(e))
|
|
4040
4040
|
return Gr(e);
|
|
4041
|
-
delete
|
|
4042
|
-
}),
|
|
4041
|
+
delete Ee[e];
|
|
4042
|
+
}), Ee[e];
|
|
4043
4043
|
}
|
|
4044
4044
|
const oo = {
|
|
4045
4045
|
number: {
|
|
@@ -4078,7 +4078,7 @@ const oo = {
|
|
|
4078
4078
|
handleMissingMessage: void 0,
|
|
4079
4079
|
ignoreTag: !0
|
|
4080
4080
|
}, ao = so;
|
|
4081
|
-
function
|
|
4081
|
+
function de() {
|
|
4082
4082
|
return ao;
|
|
4083
4083
|
}
|
|
4084
4084
|
const tt = Ge(!1);
|
|
@@ -4095,7 +4095,7 @@ const ke = Ge(null);
|
|
|
4095
4095
|
function Vt(e) {
|
|
4096
4096
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4097
4097
|
}
|
|
4098
|
-
function je(e, t =
|
|
4098
|
+
function je(e, t = de().fallbackLocale) {
|
|
4099
4099
|
const r = Vt(e);
|
|
4100
4100
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
|
|
4101
4101
|
}
|
|
@@ -4107,7 +4107,7 @@ ke.subscribe((e) => {
|
|
|
4107
4107
|
});
|
|
4108
4108
|
const bo = (e) => {
|
|
4109
4109
|
if (e && to(e) && mt(e)) {
|
|
4110
|
-
const { loadingDelay: t } =
|
|
4110
|
+
const { loadingDelay: t } = de();
|
|
4111
4111
|
let r;
|
|
4112
4112
|
return typeof window < "u" && re() != null && t ? r = window.setTimeout(
|
|
4113
4113
|
() => tt.set(!0),
|
|
@@ -4135,7 +4135,7 @@ var go = Object.defineProperty, De = Object.getOwnPropertySymbols, $r = Object.p
|
|
|
4135
4135
|
for (var r of De(t))
|
|
4136
4136
|
jr.call(t, r) && Wt(e, r, t[r]);
|
|
4137
4137
|
return e;
|
|
4138
|
-
},
|
|
4138
|
+
}, ge = (e, t) => {
|
|
4139
4139
|
var r = {};
|
|
4140
4140
|
for (var n in e)
|
|
4141
4141
|
$r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4144,59 +4144,59 @@ var go = Object.defineProperty, De = Object.getOwnPropertySymbols, $r = Object.p
|
|
|
4144
4144
|
t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
|
|
4145
4145
|
return r;
|
|
4146
4146
|
};
|
|
4147
|
-
const
|
|
4148
|
-
const { formats: r } =
|
|
4147
|
+
const He = (e, t) => {
|
|
4148
|
+
const { formats: r } = de();
|
|
4149
4149
|
if (e in r && t in r[e])
|
|
4150
4150
|
return r[e][t];
|
|
4151
4151
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4152
4152
|
}, yo = Ve(
|
|
4153
4153
|
(e) => {
|
|
4154
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4154
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4155
4155
|
if (r == null)
|
|
4156
4156
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4157
|
-
return n && (i =
|
|
4157
|
+
return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
|
|
4158
4158
|
}
|
|
4159
4159
|
), vo = Ve(
|
|
4160
4160
|
(e) => {
|
|
4161
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4161
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4162
4162
|
if (r == null)
|
|
4163
4163
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4164
|
-
return n ? i =
|
|
4164
|
+
return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4165
4165
|
}
|
|
4166
4166
|
), _o = Ve(
|
|
4167
4167
|
(e) => {
|
|
4168
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4168
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4169
4169
|
if (r == null)
|
|
4170
4170
|
throw new Error(
|
|
4171
4171
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4172
4172
|
);
|
|
4173
|
-
return n ? i =
|
|
4173
|
+
return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4174
4174
|
}
|
|
4175
4175
|
), Eo = (e = {}) => {
|
|
4176
4176
|
var t = e, {
|
|
4177
4177
|
locale: r = re()
|
|
4178
|
-
} = t, n =
|
|
4178
|
+
} = t, n = ge(t, [
|
|
4179
4179
|
"locale"
|
|
4180
4180
|
]);
|
|
4181
4181
|
return yo(Et({ locale: r }, n));
|
|
4182
4182
|
}, Co = (e = {}) => {
|
|
4183
4183
|
var t = e, {
|
|
4184
4184
|
locale: r = re()
|
|
4185
|
-
} = t, n =
|
|
4185
|
+
} = t, n = ge(t, [
|
|
4186
4186
|
"locale"
|
|
4187
4187
|
]);
|
|
4188
4188
|
return vo(Et({ locale: r }, n));
|
|
4189
4189
|
}, wo = (e = {}) => {
|
|
4190
4190
|
var t = e, {
|
|
4191
4191
|
locale: r = re()
|
|
4192
|
-
} = t, n =
|
|
4192
|
+
} = t, n = ge(t, [
|
|
4193
4193
|
"locale"
|
|
4194
4194
|
]);
|
|
4195
4195
|
return _o(Et({ locale: r }, n));
|
|
4196
4196
|
}, xo = Ve(
|
|
4197
4197
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4198
|
-
(e, t = re()) => new Yi(e, t,
|
|
4199
|
-
ignoreTag:
|
|
4198
|
+
(e, t = re()) => new Yi(e, t, de().formats, {
|
|
4199
|
+
ignoreTag: de().ignoreTag
|
|
4200
4200
|
})
|
|
4201
4201
|
), So = (e, t = {}) => {
|
|
4202
4202
|
var r, n, i, o;
|
|
@@ -4213,7 +4213,7 @@ const Se = (e, t) => {
|
|
|
4213
4213
|
);
|
|
4214
4214
|
let u = Fr(e, l);
|
|
4215
4215
|
if (!u)
|
|
4216
|
-
u = (o = (i = (n = (r =
|
|
4216
|
+
u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4217
4217
|
else if (typeof u != "string")
|
|
4218
4218
|
return console.warn(
|
|
4219
4219
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4231,11 +4231,11 @@ const Se = (e, t) => {
|
|
|
4231
4231
|
}
|
|
4232
4232
|
return c;
|
|
4233
4233
|
}, Ho = (e, t) => wo(t).format(e), To = (e, t) => Co(t).format(e), Ao = (e, t) => Eo(t).format(e), Io = (e, t = re()) => Fr(e, t);
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4234
|
+
me([K, be], () => So);
|
|
4235
|
+
me([K], () => Ho);
|
|
4236
|
+
me([K], () => To);
|
|
4237
|
+
me([K], () => Ao);
|
|
4238
|
+
me([K, be], () => Io);
|
|
4239
4239
|
window.emWidgets = { topic: jn };
|
|
4240
4240
|
const Bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4241
4241
|
function Mo(e, t) {
|
|
@@ -4263,7 +4263,7 @@ function Oo(e, t, r) {
|
|
|
4263
4263
|
}
|
|
4264
4264
|
function Lo({ withLocale: e, translations: t }) {
|
|
4265
4265
|
K.subscribe((r) => {
|
|
4266
|
-
r == null && (
|
|
4266
|
+
r == null && (be.set(t), K.set(e));
|
|
4267
4267
|
});
|
|
4268
4268
|
}
|
|
4269
4269
|
function Xt(e, t) {
|
|
@@ -4330,7 +4330,7 @@ const Zt = {
|
|
|
4330
4330
|
}
|
|
4331
4331
|
};
|
|
4332
4332
|
function Ro(e) {
|
|
4333
|
-
un(e, "svelte-
|
|
4333
|
+
un(e, "svelte-1n5xxlo", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus-within button{border-bottom:2px solid #23B04E;position:relative}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{margin-right:5px;position:relative;top:5px;max-height:25px}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:50%;padding:3px;width:20px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:11px}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover span,.CarouselContainer .SubDropDown.active span{color:var(--emw--categories-contrast, var(--emw--color-contrast, #23B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static}.CarouselWrapperMobile .CategoryIconContainer{height:25px}');
|
|
4334
4334
|
}
|
|
4335
4335
|
function zt(e, t, r) {
|
|
4336
4336
|
const n = e.slice();
|
|
@@ -4345,7 +4345,7 @@ function Yt(e, t, r) {
|
|
|
4345
4345
|
return n[59] = t[r], n[61] = r, n;
|
|
4346
4346
|
}
|
|
4347
4347
|
function qt(e) {
|
|
4348
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4348
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ue(
|
|
4349
4349
|
/*sliderdata*/
|
|
4350
4350
|
e[9]
|
|
4351
4351
|
);
|
|
@@ -4370,7 +4370,7 @@ function qt(e) {
|
|
|
4370
4370
|
},
|
|
4371
4371
|
p(s, a) {
|
|
4372
4372
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, isMobile, categoriesicon*/
|
|
4373
|
-
28623 && (i =
|
|
4373
|
+
28623 && (i = ue(
|
|
4374
4374
|
/*sliderdata*/
|
|
4375
4375
|
s[9]
|
|
4376
4376
|
), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, sr, n, zt));
|
|
@@ -4413,7 +4413,7 @@ function Fo(e) {
|
|
|
4413
4413
|
);
|
|
4414
4414
|
return {
|
|
4415
4415
|
c() {
|
|
4416
|
-
l && l.c(), t =
|
|
4416
|
+
l && l.c(), t = V(), r = B("button"), i = ee(n), o = V(), h && h.c(), p(r, "class", "CategoryButton");
|
|
4417
4417
|
},
|
|
4418
4418
|
m(u, c) {
|
|
4419
4419
|
l && l.m(u, c), A(u, t, c), A(u, r, c), C(r, i), C(r, o), h && h.m(r, null);
|
|
@@ -4421,7 +4421,7 @@ function Fo(e) {
|
|
|
4421
4421
|
p(u, c) {
|
|
4422
4422
|
a === (a = s(u)) && l ? l.p(u, c) : (l && l.d(1), l = a && a(u), l && (l.c(), l.m(t.parentNode, t))), c[0] & /*sliderdata*/
|
|
4423
4423
|
512 && n !== (n = /*category*/
|
|
4424
|
-
u[53].name + "") &&
|
|
4424
|
+
u[53].name + "") && pe(i, n), /*category*/
|
|
4425
4425
|
u[53]?.games.count && !/*isMobile*/
|
|
4426
4426
|
u[13] ? h ? h.p(u, c) : (h = er(u), h.c(), h.m(r, null)) : h && (h.d(1), h = null);
|
|
4427
4427
|
},
|
|
@@ -4446,7 +4446,7 @@ function ko(e) {
|
|
|
4446
4446
|
p(o, s) {
|
|
4447
4447
|
s[0] & /*sliderdata*/
|
|
4448
4448
|
512 && r !== (r = /*category*/
|
|
4449
|
-
o[53].label + "") &&
|
|
4449
|
+
o[53].label + "") && pe(n, r), s[0] & /*sliderdata*/
|
|
4450
4450
|
512 && i !== (i = /*category*/
|
|
4451
4451
|
o[53].path) && p(t, "href", i);
|
|
4452
4452
|
},
|
|
@@ -4512,7 +4512,7 @@ function Go(e) {
|
|
|
4512
4512
|
m(o, s) {
|
|
4513
4513
|
A(o, t, s), C(t, r), C(r, n), C(r, i);
|
|
4514
4514
|
},
|
|
4515
|
-
p:
|
|
4515
|
+
p: D,
|
|
4516
4516
|
d(o) {
|
|
4517
4517
|
o && H(t);
|
|
4518
4518
|
}
|
|
@@ -4527,7 +4527,7 @@ function $o(e) {
|
|
|
4527
4527
|
m(n, i) {
|
|
4528
4528
|
A(n, t, i), C(t, r);
|
|
4529
4529
|
},
|
|
4530
|
-
p:
|
|
4530
|
+
p: D,
|
|
4531
4531
|
d(n) {
|
|
4532
4532
|
n && H(t);
|
|
4533
4533
|
}
|
|
@@ -4540,7 +4540,7 @@ function jo(e) {
|
|
|
4540
4540
|
);
|
|
4541
4541
|
return {
|
|
4542
4542
|
c() {
|
|
4543
|
-
t = B("div"), r = Y("svg"), n = Y("path"), i =
|
|
4543
|
+
t = B("div"), r = Y("svg"), n = Y("path"), i = V(), o && o.c(), p(n, "id", "noun-dice-number-5396160"), p(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), p(n, "transform", "translate(-35.16 -35.168)"), p(n, "fill", "#fff"), p(r, "class", "CasinoCategoryIcon"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "width", "20"), p(r, "height", "20"), p(r, "viewBox", "0 0 26 26"), p(t, "class", "CategoryIconContainer");
|
|
4544
4544
|
},
|
|
4545
4545
|
m(s, a) {
|
|
4546
4546
|
A(s, t, a), C(t, r), C(r, n), C(t, i), o && o.m(t, null);
|
|
@@ -4569,7 +4569,7 @@ function Jt(e) {
|
|
|
4569
4569
|
p(i, o) {
|
|
4570
4570
|
o[0] & /*sliderdata*/
|
|
4571
4571
|
512 && r !== (r = /*category*/
|
|
4572
|
-
i[53]?.games.count + "") &&
|
|
4572
|
+
i[53]?.games.count + "") && pe(n, r);
|
|
4573
4573
|
},
|
|
4574
4574
|
d(i) {
|
|
4575
4575
|
i && H(t);
|
|
@@ -4606,7 +4606,7 @@ function Wo(e) {
|
|
|
4606
4606
|
);
|
|
4607
4607
|
return {
|
|
4608
4608
|
c() {
|
|
4609
|
-
t = B("div"), r = B("img"), o =
|
|
4609
|
+
t = B("div"), r = B("img"), o = V(), s && s.c(), p(r, "class", "CasinoCategoryIcon"), Fe(r.src, n = /*category*/
|
|
4610
4610
|
e[53].icon) || p(r, "src", n), p(r, "alt", i = /*category*/
|
|
4611
4611
|
e[53].name), p(t, "class", "CategoryIconContainer");
|
|
4612
4612
|
},
|
|
@@ -4641,7 +4641,7 @@ function Kt(e) {
|
|
|
4641
4641
|
p(i, o) {
|
|
4642
4642
|
o[0] & /*sliderdata*/
|
|
4643
4643
|
512 && r !== (r = /*category*/
|
|
4644
|
-
i[53]?.games.count + "") &&
|
|
4644
|
+
i[53]?.games.count + "") && pe(n, r);
|
|
4645
4645
|
},
|
|
4646
4646
|
d(i) {
|
|
4647
4647
|
i && H(t);
|
|
@@ -4663,7 +4663,7 @@ function er(e) {
|
|
|
4663
4663
|
p(i, o) {
|
|
4664
4664
|
o[0] & /*sliderdata*/
|
|
4665
4665
|
512 && r !== (r = /*category*/
|
|
4666
|
-
i[53]?.games.count + "") &&
|
|
4666
|
+
i[53]?.games.count + "") && pe(n, r);
|
|
4667
4667
|
},
|
|
4668
4668
|
d(i) {
|
|
4669
4669
|
i && H(t);
|
|
@@ -4694,7 +4694,7 @@ function tr(e) {
|
|
|
4694
4694
|
};
|
|
4695
4695
|
}
|
|
4696
4696
|
function rr(e) {
|
|
4697
|
-
let t, r =
|
|
4697
|
+
let t, r = ue(
|
|
4698
4698
|
/*subGroupsData*/
|
|
4699
4699
|
e[10]
|
|
4700
4700
|
), n = [];
|
|
@@ -4715,7 +4715,7 @@ function rr(e) {
|
|
|
4715
4715
|
p(i, o) {
|
|
4716
4716
|
if (o[0] & /*subGroupsData, sliderdata, activeIndex, activeSubIndex, prevSubIndex, handleClick*/
|
|
4717
4717
|
18368) {
|
|
4718
|
-
r =
|
|
4718
|
+
r = ue(
|
|
4719
4719
|
/*subGroupsData*/
|
|
4720
4720
|
i[10]
|
|
4721
4721
|
);
|
|
@@ -4773,7 +4773,7 @@ function nr(e) {
|
|
|
4773
4773
|
}
|
|
4774
4774
|
return {
|
|
4775
4775
|
c() {
|
|
4776
|
-
t = B("li"), r = B("span"), i = ee(n), o =
|
|
4776
|
+
t = B("li"), r = B("span"), i = ee(n), o = V(), p(t, "class", s = "SubDropDown " + /*index*/
|
|
4777
4777
|
(e[55] == /*activeIndex*/
|
|
4778
4778
|
e[6] && /*activeSubIndex*/
|
|
4779
4779
|
(e[7] == /*subindex*/
|
|
@@ -4790,7 +4790,7 @@ function nr(e) {
|
|
|
4790
4790
|
p(c, d) {
|
|
4791
4791
|
e = c, d[0] & /*subGroupsData*/
|
|
4792
4792
|
1024 && n !== (n = /*subGroupItem*/
|
|
4793
|
-
e[59]?.name + "") &&
|
|
4793
|
+
e[59]?.name + "") && pe(i, n), d[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
4794
4794
|
1984 && s !== (s = "SubDropDown " + /*index*/
|
|
4795
4795
|
(e[55] == /*activeIndex*/
|
|
4796
4796
|
e[6] && /*activeSubIndex*/
|
|
@@ -4830,7 +4830,7 @@ function ir(e, t) {
|
|
|
4830
4830
|
};
|
|
4831
4831
|
}
|
|
4832
4832
|
function or(e) {
|
|
4833
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4833
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ue(
|
|
4834
4834
|
/*subGroup*/
|
|
4835
4835
|
e[56].items
|
|
4836
4836
|
);
|
|
@@ -4855,7 +4855,7 @@ function or(e) {
|
|
|
4855
4855
|
},
|
|
4856
4856
|
p(s, a) {
|
|
4857
4857
|
a[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex, handleClick*/
|
|
4858
|
-
18368 && (i =
|
|
4858
|
+
18368 && (i = ue(
|
|
4859
4859
|
/*subGroup*/
|
|
4860
4860
|
s[56].items
|
|
4861
4861
|
), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, ir, n, Yt));
|
|
@@ -4910,7 +4910,7 @@ function sr(e, t) {
|
|
|
4910
4910
|
key: e,
|
|
4911
4911
|
first: null,
|
|
4912
4912
|
c() {
|
|
4913
|
-
r = B("li"), u.c(), n =
|
|
4913
|
+
r = B("li"), u.c(), n = V(), c && c.c(), i = V(), p(r, "class", o = "CarouselItem " + /*activeindex*/
|
|
4914
4914
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
|
4915
4915
|
/*activeindex*/
|
|
4916
4916
|
t[1]?.split("$").pop() == /*category*/
|
|
@@ -4958,7 +4958,7 @@ function Xo(e) {
|
|
|
4958
4958
|
);
|
|
4959
4959
|
return {
|
|
4960
4960
|
c() {
|
|
4961
|
-
t = B("div"), r = B("div"), n = B("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', i =
|
|
4961
|
+
t = B("div"), r = B("div"), n = B("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', i = V(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = V(), y && y.c(), h = V(), u = B("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', p(n, "class", "CarouselLeftArrow"), p(a, "class", "TouchOnly"), p(s, "id", "CarouselNav"), p(s, "class", "CarouselItems"), p(o, "class", "CarouselNavWrap scroller"), p(u, "class", "CarouselRightArrow"), p(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
4962
4962
|
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), p(r, "style", d = /*location*/
|
|
4963
4963
|
e[0] === "headerMain" ? "max-width: auto" : void 0), p(t, "class", b = "CarouselWrapper " + /*location*/
|
|
4964
4964
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
|
|
@@ -5003,17 +5003,17 @@ function Xo(e) {
|
|
|
5003
5003
|
(x[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
|
|
5004
5004
|
(x[13] ? "CarouselWrapperMobile" : "")) && p(t, "class", b);
|
|
5005
5005
|
},
|
|
5006
|
-
i:
|
|
5007
|
-
o:
|
|
5006
|
+
i: D,
|
|
5007
|
+
o: D,
|
|
5008
5008
|
d(x) {
|
|
5009
5009
|
x && H(t), y && y.d(), e[38](null), e[39](null), e[42](null), m = !1, z(g);
|
|
5010
5010
|
}
|
|
5011
5011
|
};
|
|
5012
5012
|
}
|
|
5013
5013
|
function Zo(e, t, r) {
|
|
5014
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { identity: d = "" } = t, { translationurl: b = "" } = t, { isprimarymenu: m = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex: x = "0" } = t, { showsubgroups: I = "false" } = t, { categoriesicon:
|
|
5014
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { identity: d = "" } = t, { translationurl: b = "" } = t, { isprimarymenu: m = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex: x = "0" } = t, { showsubgroups: I = "false" } = t, { categoriesicon: N = "false" } = t, { lobbyiconimage: $ = "" } = t, { mygamesiconimage: F = "" } = t;
|
|
5015
5015
|
Lo({ withLocale: "en", translations: {} });
|
|
5016
|
-
const
|
|
5016
|
+
const j = () => {
|
|
5017
5017
|
fetch(b).then((w) => w.json()).then((w) => {
|
|
5018
5018
|
Object.keys(w).forEach((P) => {
|
|
5019
5019
|
Xt(P, w[P]);
|
|
@@ -5025,9 +5025,9 @@ function Zo(e, t, r) {
|
|
|
5025
5025
|
Object.keys(Zt).forEach((f) => {
|
|
5026
5026
|
Xt(f, Zt[f]);
|
|
5027
5027
|
});
|
|
5028
|
-
let T = window.navigator.userAgent,
|
|
5028
|
+
let T = window.navigator.userAgent, U = Bo(T) !== "PC", O, G, ye, We, W, ve = [], Te = [], ne = [], L, _e = (f, w, P, X, k) => {
|
|
5029
5029
|
if (!(f.subGroups && X === null)) {
|
|
5030
|
-
if (Ae(), r(6,
|
|
5030
|
+
if (Ae(), r(6, G = w), r(6, G), k != "secondary") {
|
|
5031
5031
|
window.postMessage(
|
|
5032
5032
|
{
|
|
5033
5033
|
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
|
@@ -5040,10 +5040,10 @@ function Zo(e, t, r) {
|
|
|
5040
5040
|
target: f.attrs?.target || null
|
|
5041
5041
|
},
|
|
5042
5042
|
window.location.href
|
|
5043
|
-
), r(7,
|
|
5043
|
+
), r(7, ye = null), r(8, We = null);
|
|
5044
5044
|
return;
|
|
5045
5045
|
}
|
|
5046
|
-
r(7,
|
|
5046
|
+
r(7, ye = X), r(7, ye), r(8, We = ye), window.postMessage(
|
|
5047
5047
|
{
|
|
5048
5048
|
type: s,
|
|
5049
5049
|
itemId: P.id,
|
|
@@ -5054,21 +5054,21 @@ function Zo(e, t, r) {
|
|
|
5054
5054
|
);
|
|
5055
5055
|
}
|
|
5056
5056
|
}, Xe = () => {
|
|
5057
|
-
|
|
5057
|
+
L && (ne.length !== G ? r(12, L.scrollLeft -= 250, L) : r(12, L.scrollLeft = 0, L));
|
|
5058
5058
|
}, Ze = () => {
|
|
5059
|
-
|
|
5059
|
+
L && (ne.length !== G ? r(12, L.scrollLeft += 250, L) : r(12, L.scrollLeft = 0, L));
|
|
5060
5060
|
};
|
|
5061
5061
|
const Ct = (f) => {
|
|
5062
|
-
f.data.type == "SliderData" && f.data.identity == d && (r(9,
|
|
5063
|
-
w.path.endsWith("/casino") && (r(6,
|
|
5062
|
+
f.data.type == "SliderData" && f.data.identity == d && (r(9, ve = f.data.data), r(11, ne = new Array(ve.length).fill(!1)), I == "true" && Xr()), f.data.type == "GoToHomepage" && ve.forEach((w, P) => {
|
|
5063
|
+
w.path.endsWith("/casino") && (r(6, G = P), r(6, G));
|
|
5064
5064
|
});
|
|
5065
5065
|
}, Vr = () => {
|
|
5066
5066
|
No(y);
|
|
5067
5067
|
}, Wr = (f, w, P) => {
|
|
5068
5068
|
if (l == "secondaryMenu" && n && i && y && f.id) {
|
|
5069
5069
|
let X = new URL(`${n}/v1/casino/groups/${i}/${f.id}/subGroups?language=${y}`);
|
|
5070
|
-
fetch(X.href).then((
|
|
5071
|
-
|
|
5070
|
+
fetch(X.href).then((k) => k.json()).then((k) => {
|
|
5071
|
+
k.index = w, r(10, Te = Te.concat(k)), I == "false" && window.postMessage(
|
|
5072
5072
|
{
|
|
5073
5073
|
type: s,
|
|
5074
5074
|
itemId: f.id,
|
|
@@ -5078,7 +5078,7 @@ function Zo(e, t, r) {
|
|
|
5078
5078
|
window.location.href
|
|
5079
5079
|
);
|
|
5080
5080
|
const Ie = [];
|
|
5081
|
-
|
|
5081
|
+
Te.map((on) => (on.items.forEach((wt) => {
|
|
5082
5082
|
Ie.find((sn) => wt.id == sn) || Ie.push(wt.id);
|
|
5083
5083
|
}), Ie.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ie }, window.location.href);
|
|
5084
5084
|
}).then(() => {
|
|
@@ -5088,18 +5088,18 @@ function Zo(e, t, r) {
|
|
|
5088
5088
|
l == "headerMain" && window.postMessage({ type: s, item: f }, window.location.href);
|
|
5089
5089
|
}, Ae = () => {
|
|
5090
5090
|
const f = O.querySelectorAll(".DropDown");
|
|
5091
|
-
document.activeElement.blur(),
|
|
5091
|
+
document.activeElement.blur(), L.classList.add("isScrolling");
|
|
5092
5092
|
for (let w = 0; w < f.length; w++)
|
|
5093
|
-
f[w].style.transform = "translateX(-" +
|
|
5094
|
-
|
|
5093
|
+
f[w].style.transform = "translateX(-" + L.scrollLeft + "px)";
|
|
5094
|
+
L.classList.remove("isScrolling");
|
|
5095
5095
|
}, Xr = () => {
|
|
5096
|
-
|
|
5097
|
-
f?.subGroups?.count > 0 && (r(11,
|
|
5096
|
+
ve.forEach((f, w) => {
|
|
5097
|
+
f?.subGroups?.count > 0 && (r(11, ne[w] = !0, ne), Wr(f, w));
|
|
5098
5098
|
});
|
|
5099
5099
|
};
|
|
5100
5100
|
bn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", Ct, !1), setTimeout(
|
|
5101
5101
|
() => {
|
|
5102
|
-
|
|
5102
|
+
L.addEventListener("scroll", Ae);
|
|
5103
5103
|
},
|
|
5104
5104
|
500
|
|
5105
5105
|
), () => {
|
|
@@ -5107,59 +5107,59 @@ function Zo(e, t, r) {
|
|
|
5107
5107
|
}));
|
|
5108
5108
|
const Zr = () => Xe(), zr = (f) => {
|
|
5109
5109
|
(f.key === "Enter" || f.key === " ") && (Xe(), f.preventDefault());
|
|
5110
|
-
}, Qr = (f, w, P, X,
|
|
5111
|
-
|
|
5112
|
-
}, Yr = (f, w, P, X,
|
|
5113
|
-
(
|
|
5110
|
+
}, Qr = (f, w, P, X, k) => {
|
|
5111
|
+
_e(f, w, P, X, "secondary"), k.stopPropagation();
|
|
5112
|
+
}, Yr = (f, w, P, X, k) => {
|
|
5113
|
+
(k.key === "Enter" || k.key === " ") && (_e(f, w, P, X, "secondary"), k.stopPropagation(), k.preventDefault());
|
|
5114
5114
|
}, qr = (f, w, P) => {
|
|
5115
|
-
|
|
5115
|
+
_e(f, w, null, null, "main"), P.preventDefault();
|
|
5116
5116
|
}, Jr = (f, w, P) => {
|
|
5117
|
-
(P.key === "Enter" || P.key === " ") && (
|
|
5117
|
+
(P.key === "Enter" || P.key === " ") && (_e(f, w, null, null, "main"), P.preventDefault());
|
|
5118
5118
|
};
|
|
5119
5119
|
function Kr(f) {
|
|
5120
|
-
|
|
5120
|
+
we[f ? "unshift" : "push"](() => {
|
|
5121
5121
|
O = f, r(5, O);
|
|
5122
5122
|
});
|
|
5123
5123
|
}
|
|
5124
5124
|
function en(f) {
|
|
5125
|
-
|
|
5126
|
-
|
|
5125
|
+
we[f ? "unshift" : "push"](() => {
|
|
5126
|
+
L = f, r(12, L);
|
|
5127
5127
|
});
|
|
5128
5128
|
}
|
|
5129
5129
|
const tn = () => Ze(), rn = (f) => {
|
|
5130
5130
|
(f.key === "Enter" || f.key === " ") && (Ze(), f.preventDefault());
|
|
5131
5131
|
};
|
|
5132
5132
|
function nn(f) {
|
|
5133
|
-
|
|
5134
|
-
|
|
5133
|
+
we[f ? "unshift" : "push"](() => {
|
|
5134
|
+
W = f, r(4, W);
|
|
5135
5135
|
});
|
|
5136
5136
|
}
|
|
5137
5137
|
return e.$$set = (f) => {
|
|
5138
|
-
"endpoint" in f && r(17, n = f.endpoint), "datasource" in f && r(18, i = f.datasource), "onclickeventname" in f && r(19, o = f.onclickeventname), "actionevent" in f && r(20, s = f.actionevent), "favoritesnumber" in f && r(21, a = f.favoritesnumber), "location" in f && r(0, l = f.location), "mbsource" in f && r(22, h = f.mbsource), "clientstyling" in f && r(23, u = f.clientstyling), "clientstylingurl" in f && r(24, c = f.clientstylingurl), "identity" in f && r(25, d = f.identity), "translationurl" in f && r(26, b = f.translationurl), "isprimarymenu" in f && r(27, m = f.isprimarymenu), "issecondarymenu" in f && r(28, g = f.issecondarymenu), "lang" in f && r(29, y = f.lang), "activeindex" in f && r(1, x = f.activeindex), "showsubgroups" in f && r(2, I = f.showsubgroups), "categoriesicon" in f && r(3,
|
|
5138
|
+
"endpoint" in f && r(17, n = f.endpoint), "datasource" in f && r(18, i = f.datasource), "onclickeventname" in f && r(19, o = f.onclickeventname), "actionevent" in f && r(20, s = f.actionevent), "favoritesnumber" in f && r(21, a = f.favoritesnumber), "location" in f && r(0, l = f.location), "mbsource" in f && r(22, h = f.mbsource), "clientstyling" in f && r(23, u = f.clientstyling), "clientstylingurl" in f && r(24, c = f.clientstylingurl), "identity" in f && r(25, d = f.identity), "translationurl" in f && r(26, b = f.translationurl), "isprimarymenu" in f && r(27, m = f.isprimarymenu), "issecondarymenu" in f && r(28, g = f.issecondarymenu), "lang" in f && r(29, y = f.lang), "activeindex" in f && r(1, x = f.activeindex), "showsubgroups" in f && r(2, I = f.showsubgroups), "categoriesicon" in f && r(3, N = f.categoriesicon), "lobbyiconimage" in f && r(30, $ = f.lobbyiconimage), "mygamesiconimage" in f && r(31, F = f.mygamesiconimage);
|
|
5139
5139
|
}, e.$$.update = () => {
|
|
5140
5140
|
e.$$.dirty[0] & /*activeindex*/
|
|
5141
5141
|
2, e.$$.dirty[0] & /*translationurl*/
|
|
5142
|
-
67108864 && b &&
|
|
5143
|
-
8388624 && u &&
|
|
5144
|
-
16777232 && c &&
|
|
5145
|
-
4194320 && h &&
|
|
5142
|
+
67108864 && b && j(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5143
|
+
8388624 && u && W && Mo(W, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5144
|
+
16777232 && c && W && Po(W, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5145
|
+
4194320 && h && W && Oo(W, `${h}.Style`), e.$$.dirty[0] & /*lang*/
|
|
5146
5146
|
536870912 && y && Vr();
|
|
5147
5147
|
}, [
|
|
5148
5148
|
l,
|
|
5149
5149
|
x,
|
|
5150
5150
|
I,
|
|
5151
|
-
|
|
5152
|
-
|
|
5151
|
+
N,
|
|
5152
|
+
W,
|
|
5153
5153
|
O,
|
|
5154
|
-
|
|
5155
|
-
ge,
|
|
5156
|
-
We,
|
|
5154
|
+
G,
|
|
5157
5155
|
ye,
|
|
5158
|
-
|
|
5159
|
-
Te,
|
|
5160
|
-
W,
|
|
5161
|
-
D,
|
|
5156
|
+
We,
|
|
5162
5157
|
ve,
|
|
5158
|
+
Te,
|
|
5159
|
+
ne,
|
|
5160
|
+
L,
|
|
5161
|
+
U,
|
|
5162
|
+
_e,
|
|
5163
5163
|
Xe,
|
|
5164
5164
|
Ze,
|
|
5165
5165
|
n,
|
|
@@ -5175,8 +5175,8 @@ function Zo(e, t, r) {
|
|
|
5175
5175
|
m,
|
|
5176
5176
|
g,
|
|
5177
5177
|
y,
|
|
5178
|
-
|
|
5179
|
-
|
|
5178
|
+
$,
|
|
5179
|
+
F,
|
|
5180
5180
|
Zr,
|
|
5181
5181
|
zr,
|
|
5182
5182
|
Qr,
|