@everymatrix/casino-most-played-section-nd 1.94.112 → 1.94.113
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/{CasinoFilter-wSUgYMu7.cjs → CasinoFilter-BmcC0Unz.cjs} +1 -1
- package/components/{CasinoFilter-C92VfgS5.js → CasinoFilter-WlKWZCQw.js} +1 -1
- package/components/{CasinoFilter-BstaSf5s.js → CasinoFilter-xtM7JvDr.js} +1 -1
- package/components/{CasinoGameThumbnailNd-DrIeWBH_.js → CasinoGameThumbnailNd-CUUJvSEs.js} +3 -3
- package/components/{CasinoGameThumbnailNd-vPFVrkdl.cjs → CasinoGameThumbnailNd-DIOuKKsz.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-Dc22im3V.js → CasinoGameThumbnailNd-cq8BlDzO.js} +3 -3
- package/components/{CasinoGamesCategorySectionNd-D9Ql3dQX.cjs → CasinoGamesCategorySectionNd-BMEIPWB6.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-ByR4XTev.js → CasinoGamesCategorySectionNd-C14iS8C2.js} +4 -4
- package/components/{CasinoGamesCategorySectionNd-B0V9ICX7.js → CasinoGamesCategorySectionNd-CUn5w0LH.js} +4 -4
- package/components/{CasinoMostPlayedSectionNd-CB9aMrJA.js → CasinoMostPlayedSectionNd-CuW5GkIm.js} +165 -167
- package/components/{CasinoMostPlayedSectionNd-BSjOhuyD.js → CasinoMostPlayedSectionNd-DDpFYrh_.js} +24 -24
- package/components/{CasinoMostPlayedSectionNd-IZcNYr7I.cjs → CasinoMostPlayedSectionNd-DqkOx7u0.cjs} +4 -4
- package/components/{CasinoSort-COCmzWhr.cjs → CasinoSort-BzpUA4e_.cjs} +1 -1
- package/components/{CasinoSort-BafS_AYq.js → CasinoSort-DFceTTbg.js} +1 -1
- package/components/{CasinoSort-DBzdVvqX.js → CasinoSort-DGxpMfXD.js} +1 -1
- package/es2015/casino-most-played-section-nd.cjs +1 -1
- package/es2015/casino-most-played-section-nd.js +1 -1
- package/esnext/casino-most-played-section-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BeQGJyxy.js +532 -0
- package/stencil/{index-97d17652-B6BYeRne.js → index-97d17652-Ce2P8K1l.js} +176 -170
- package/stencil/index-97d17652-QrAXVnlo.cjs +1 -0
- package/stencil/{ui-image-BX-FBhad.cjs → ui-image-DYxxHglY.cjs} +1 -1
- package/stencil/{ui-image-Ch-GHki1.js → ui-image-Du28hUkG.js} +1 -1
- package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Kp-i1Epn.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CEPR_2Zl.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-CynWE8qT.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-DdUCzkcr.js} +1 -1
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-C0sJC5CL.cjs} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-Do1rIyeJ.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-N1zHirfP.js} +2 -2
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
package/components/{CasinoMostPlayedSectionNd-CB9aMrJA.js → CasinoMostPlayedSectionNd-CuW5GkIm.js}
RENAMED
|
@@ -35,7 +35,7 @@ function jt(e) {
|
|
|
35
35
|
function _t() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function re(e) {
|
|
39
39
|
e.forEach(jt);
|
|
40
40
|
}
|
|
41
41
|
function ut(e) {
|
|
@@ -90,10 +90,10 @@ function kr(e, t) {
|
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function me(e, t, r) {
|
|
94
94
|
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function ne(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
99
|
function Hs(e, t) {
|
|
@@ -118,12 +118,12 @@ function As() {
|
|
|
118
118
|
function Bs(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function he(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
124
|
function d(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
|
126
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : he(e, t, r);
|
|
127
127
|
}
|
|
128
128
|
function Xr(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
@@ -193,7 +193,7 @@ class Cs {
|
|
|
193
193
|
* @returns {void} */
|
|
194
194
|
i(t) {
|
|
195
195
|
for (let r = 0; r < this.n.length; r += 1)
|
|
196
|
-
|
|
196
|
+
me(this.t, this.n[r], t);
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
* @param {string} html
|
|
@@ -205,7 +205,7 @@ class Cs {
|
|
|
205
205
|
/**
|
|
206
206
|
* @returns {void} */
|
|
207
207
|
d() {
|
|
208
|
-
this.n.forEach(
|
|
208
|
+
this.n.forEach(ne);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
function zr(e) {
|
|
@@ -217,14 +217,14 @@ function zr(e) {
|
|
|
217
217
|
}
|
|
218
218
|
), t;
|
|
219
219
|
}
|
|
220
|
-
let
|
|
221
|
-
function
|
|
222
|
-
|
|
220
|
+
let le;
|
|
221
|
+
function ue(e) {
|
|
222
|
+
le = e;
|
|
223
223
|
}
|
|
224
224
|
function Xt() {
|
|
225
|
-
if (!
|
|
225
|
+
if (!le)
|
|
226
226
|
throw new Error("Function called outside component initialization");
|
|
227
|
-
return
|
|
227
|
+
return le;
|
|
228
228
|
}
|
|
229
229
|
function Zr(e) {
|
|
230
230
|
Xt().$$.on_mount.push(e);
|
|
@@ -232,8 +232,8 @@ function Zr(e) {
|
|
|
232
232
|
function Ls(e) {
|
|
233
233
|
Xt().$$.on_destroy.push(e);
|
|
234
234
|
}
|
|
235
|
-
const
|
|
236
|
-
let
|
|
235
|
+
const J = [], Ve = [];
|
|
236
|
+
let Y = [];
|
|
237
237
|
const Et = [], Wt = /* @__PURE__ */ Promise.resolve();
|
|
238
238
|
let Xe = !1;
|
|
239
239
|
function zt() {
|
|
@@ -243,45 +243,45 @@ function Is() {
|
|
|
243
243
|
return zt(), Wt;
|
|
244
244
|
}
|
|
245
245
|
function We(e) {
|
|
246
|
-
|
|
246
|
+
Y.push(e);
|
|
247
247
|
}
|
|
248
248
|
const Re = /* @__PURE__ */ new Set();
|
|
249
|
-
let
|
|
249
|
+
let z = 0;
|
|
250
250
|
function x() {
|
|
251
|
-
if (
|
|
251
|
+
if (z !== 0)
|
|
252
252
|
return;
|
|
253
|
-
const e =
|
|
253
|
+
const e = le;
|
|
254
254
|
do {
|
|
255
255
|
try {
|
|
256
|
-
for (;
|
|
257
|
-
const t =
|
|
258
|
-
|
|
256
|
+
for (; z < J.length; ) {
|
|
257
|
+
const t = J[z];
|
|
258
|
+
z++, ue(t), Jr(t.$$);
|
|
259
259
|
}
|
|
260
260
|
} catch (t) {
|
|
261
|
-
throw
|
|
261
|
+
throw J.length = 0, z = 0, t;
|
|
262
262
|
}
|
|
263
|
-
for (
|
|
263
|
+
for (ue(null), J.length = 0, z = 0; Ve.length; )
|
|
264
264
|
Ve.pop()();
|
|
265
|
-
for (let t = 0; t <
|
|
266
|
-
const r =
|
|
265
|
+
for (let t = 0; t < Y.length; t += 1) {
|
|
266
|
+
const r = Y[t];
|
|
267
267
|
Re.has(r) || (Re.add(r), r());
|
|
268
268
|
}
|
|
269
|
-
|
|
270
|
-
} while (
|
|
269
|
+
Y.length = 0;
|
|
270
|
+
} while (J.length);
|
|
271
271
|
for (; Et.length; )
|
|
272
272
|
Et.pop()();
|
|
273
|
-
Xe = !1, Re.clear(),
|
|
273
|
+
Xe = !1, Re.clear(), ue(e);
|
|
274
274
|
}
|
|
275
275
|
function Jr(e) {
|
|
276
276
|
if (e.fragment !== null) {
|
|
277
|
-
e.update(),
|
|
277
|
+
e.update(), re(e.before_update);
|
|
278
278
|
const t = e.dirty;
|
|
279
279
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
function Qr(e) {
|
|
283
283
|
const t = [], r = [];
|
|
284
|
-
|
|
284
|
+
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
285
285
|
}
|
|
286
286
|
const Yr = /* @__PURE__ */ new Set();
|
|
287
287
|
function Zt(e, t) {
|
|
@@ -318,25 +318,25 @@ function Gs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
|
318
318
|
}
|
|
319
319
|
for (; p; )
|
|
320
320
|
I(T[p - 1]);
|
|
321
|
-
return
|
|
321
|
+
return re(P), T;
|
|
322
322
|
}
|
|
323
323
|
function qr(e, t, r) {
|
|
324
324
|
const { fragment: n, after_update: i } = e.$$;
|
|
325
325
|
n && n.m(t, r), We(() => {
|
|
326
326
|
const s = e.$$.on_mount.map(jt).filter(ut);
|
|
327
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
327
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
328
328
|
}), i.forEach(We);
|
|
329
329
|
}
|
|
330
330
|
function Kr(e, t) {
|
|
331
331
|
const r = e.$$;
|
|
332
|
-
r.fragment !== null && (Qr(r.after_update),
|
|
332
|
+
r.fragment !== null && (Qr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
333
333
|
}
|
|
334
334
|
function en(e, t) {
|
|
335
|
-
e.$$.dirty[0] === -1 && (
|
|
335
|
+
e.$$.dirty[0] === -1 && (J.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
336
336
|
}
|
|
337
337
|
function tn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
338
|
-
const h =
|
|
339
|
-
|
|
338
|
+
const h = le;
|
|
339
|
+
ue(e);
|
|
340
340
|
const u = e.$$ = {
|
|
341
341
|
fragment: null,
|
|
342
342
|
ctx: [],
|
|
@@ -363,15 +363,15 @@ function tn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
363
363
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...p) => {
|
|
364
364
|
const b = p.length ? p[0] : c;
|
|
365
365
|
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && en(e, m)), c;
|
|
366
|
-
}) : [], u.update(), l = !0,
|
|
366
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
367
367
|
if (t.hydrate) {
|
|
368
368
|
const m = Xr(t.target);
|
|
369
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
369
|
+
u.fragment && u.fragment.l(m), m.forEach(ne);
|
|
370
370
|
} else
|
|
371
371
|
u.fragment && u.fragment.c();
|
|
372
372
|
t.intro && Zt(e.$$.fragment), qr(e, t.target, t.anchor), x();
|
|
373
373
|
}
|
|
374
|
-
|
|
374
|
+
ue(h);
|
|
375
375
|
}
|
|
376
376
|
let Jt;
|
|
377
377
|
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
@@ -418,17 +418,17 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
|
418
418
|
let o;
|
|
419
419
|
return {
|
|
420
420
|
c: function() {
|
|
421
|
-
o = V("slot"), s !== "default" &&
|
|
421
|
+
o = V("slot"), s !== "default" && he(o, "name", s);
|
|
422
422
|
},
|
|
423
423
|
/**
|
|
424
424
|
* @param {HTMLElement} target
|
|
425
425
|
* @param {HTMLElement} [anchor]
|
|
426
426
|
*/
|
|
427
427
|
m: function(u, l) {
|
|
428
|
-
|
|
428
|
+
me(u, o, l);
|
|
429
429
|
},
|
|
430
430
|
d: function(u) {
|
|
431
|
-
u &&
|
|
431
|
+
u && ne(o);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
};
|
|
@@ -625,7 +625,7 @@ var ze = function(e, t) {
|
|
|
625
625
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
626
626
|
}, ze(e, t);
|
|
627
627
|
};
|
|
628
|
-
function
|
|
628
|
+
function de(e, t) {
|
|
629
629
|
if (typeof t != "function" && t !== null)
|
|
630
630
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
631
631
|
ze(e, t);
|
|
@@ -817,7 +817,7 @@ function xe(e) {
|
|
|
817
817
|
e();
|
|
818
818
|
}
|
|
819
819
|
var Kt = function(e) {
|
|
820
|
-
|
|
820
|
+
de(t, e);
|
|
821
821
|
function t(r) {
|
|
822
822
|
var n = e.call(this) || this;
|
|
823
823
|
return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = cn, n;
|
|
@@ -879,7 +879,7 @@ var Kt = function(e) {
|
|
|
879
879
|
}
|
|
880
880
|
}, e;
|
|
881
881
|
}(), qe = function(e) {
|
|
882
|
-
|
|
882
|
+
de(t, e);
|
|
883
883
|
function t(r, n, i) {
|
|
884
884
|
var s = e.call(this) || this, o;
|
|
885
885
|
return j(r) || !r ? o = {
|
|
@@ -989,7 +989,7 @@ var gn = Qt(function(e) {
|
|
|
989
989
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
990
990
|
};
|
|
991
991
|
}), er = function(e) {
|
|
992
|
-
|
|
992
|
+
de(t, e);
|
|
993
993
|
function t() {
|
|
994
994
|
var r = e.call(this) || this;
|
|
995
995
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -1069,7 +1069,7 @@ var gn = Qt(function(e) {
|
|
|
1069
1069
|
return new Ht(r, n);
|
|
1070
1070
|
}, t;
|
|
1071
1071
|
}(wt), Ht = function(e) {
|
|
1072
|
-
|
|
1072
|
+
de(t, e);
|
|
1073
1073
|
function t(r, n) {
|
|
1074
1074
|
var i = e.call(this) || this;
|
|
1075
1075
|
return i.destination = r, i.source = n, i;
|
|
@@ -1093,7 +1093,7 @@ var gn = Qt(function(e) {
|
|
|
1093
1093
|
},
|
|
1094
1094
|
delegate: void 0
|
|
1095
1095
|
}, yn = function(e) {
|
|
1096
|
-
|
|
1096
|
+
de(t, e);
|
|
1097
1097
|
function t(r, n, i) {
|
|
1098
1098
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
|
|
1099
1099
|
var s = e.call(this) || this;
|
|
@@ -1122,7 +1122,7 @@ const Pt = [], At = {}, vn = (e, t = 0) => {
|
|
|
1122
1122
|
At[e] = r, Pt.push(e);
|
|
1123
1123
|
}
|
|
1124
1124
|
return At[e];
|
|
1125
|
-
},
|
|
1125
|
+
}, Z = [];
|
|
1126
1126
|
function _n(e, t) {
|
|
1127
1127
|
return {
|
|
1128
1128
|
subscribe: Be(e, t).subscribe
|
|
@@ -1133,13 +1133,13 @@ function Be(e, t = R) {
|
|
|
1133
1133
|
const n = /* @__PURE__ */ new Set();
|
|
1134
1134
|
function i(a) {
|
|
1135
1135
|
if (kt(e, a) && (e = a, r)) {
|
|
1136
|
-
const h = !
|
|
1136
|
+
const h = !Z.length;
|
|
1137
1137
|
for (const u of n)
|
|
1138
|
-
u[1](),
|
|
1138
|
+
u[1](), Z.push(u, e);
|
|
1139
1139
|
if (h) {
|
|
1140
|
-
for (let u = 0; u <
|
|
1141
|
-
|
|
1142
|
-
|
|
1140
|
+
for (let u = 0; u < Z.length; u += 2)
|
|
1141
|
+
Z[u][0](Z[u + 1]);
|
|
1142
|
+
Z.length = 0;
|
|
1143
1143
|
}
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
@@ -1154,7 +1154,7 @@ function Be(e, t = R) {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
return { set: i, update: s, subscribe: o };
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function ie(e, t, r) {
|
|
1158
1158
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1159
1159
|
if (!i.every(Boolean))
|
|
1160
1160
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1181,7 +1181,7 @@ function se(e, t, r) {
|
|
|
1181
1181
|
)
|
|
1182
1182
|
);
|
|
1183
1183
|
return h = !0, c(), function() {
|
|
1184
|
-
|
|
1184
|
+
re(p), m(), h = !1;
|
|
1185
1185
|
};
|
|
1186
1186
|
});
|
|
1187
1187
|
}
|
|
@@ -1205,19 +1205,19 @@ function Pn(e) {
|
|
|
1205
1205
|
function An(e) {
|
|
1206
1206
|
return Array.isArray(e) ? [] : {};
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1209
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1208
|
+
function ce(e, t) {
|
|
1209
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(An(e), e, t) : e;
|
|
1210
1210
|
}
|
|
1211
1211
|
function Bn(e, t, r) {
|
|
1212
1212
|
return e.concat(t).map(function(n) {
|
|
1213
|
-
return
|
|
1213
|
+
return ce(n, r);
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
1216
|
function On(e, t) {
|
|
1217
1217
|
if (!t.customMerge)
|
|
1218
|
-
return
|
|
1218
|
+
return q;
|
|
1219
1219
|
var r = t.customMerge(e);
|
|
1220
|
-
return typeof r == "function" ? r :
|
|
1220
|
+
return typeof r == "function" ? r : q;
|
|
1221
1221
|
}
|
|
1222
1222
|
function Nn(e) {
|
|
1223
1223
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -1240,24 +1240,24 @@ function Cn(e, t) {
|
|
|
1240
1240
|
function Ln(e, t, r) {
|
|
1241
1241
|
var n = {};
|
|
1242
1242
|
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1243
|
-
n[i] =
|
|
1243
|
+
n[i] = ce(e[i], r);
|
|
1244
1244
|
}), Bt(t).forEach(function(i) {
|
|
1245
|
-
Cn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] =
|
|
1245
|
+
Cn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
|
|
1246
1246
|
}), n;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1249
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified =
|
|
1248
|
+
function q(e, t, r) {
|
|
1249
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1250
1250
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1251
|
-
return s ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) :
|
|
1251
|
+
return s ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : ce(t, r);
|
|
1252
1252
|
}
|
|
1253
|
-
|
|
1253
|
+
q.all = function(t, r) {
|
|
1254
1254
|
if (!Array.isArray(t))
|
|
1255
1255
|
throw new Error("first argument should be an array");
|
|
1256
1256
|
return t.reduce(function(n, i) {
|
|
1257
|
-
return
|
|
1257
|
+
return q(n, i, r);
|
|
1258
1258
|
}, {});
|
|
1259
1259
|
};
|
|
1260
|
-
var In =
|
|
1260
|
+
var In = q, Mn = In;
|
|
1261
1261
|
const Rn = /* @__PURE__ */ En(Mn);
|
|
1262
1262
|
var Ke = function(e, t) {
|
|
1263
1263
|
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
@@ -1367,10 +1367,10 @@ var E;
|
|
|
1367
1367
|
(function(e) {
|
|
1368
1368
|
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";
|
|
1369
1369
|
})(E || (E = {}));
|
|
1370
|
-
var
|
|
1370
|
+
var K;
|
|
1371
1371
|
(function(e) {
|
|
1372
1372
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1373
|
-
})(
|
|
1373
|
+
})(K || (K = {}));
|
|
1374
1374
|
function Ot(e) {
|
|
1375
1375
|
return e.type === E.literal;
|
|
1376
1376
|
}
|
|
@@ -1399,10 +1399,10 @@ function lr(e) {
|
|
|
1399
1399
|
return e.type === E.tag;
|
|
1400
1400
|
}
|
|
1401
1401
|
function cr(e) {
|
|
1402
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1402
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1403
1403
|
}
|
|
1404
1404
|
function et(e) {
|
|
1405
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1405
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1406
1406
|
}
|
|
1407
1407
|
var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
|
|
1408
1408
|
function Zn(e) {
|
|
@@ -1496,15 +1496,15 @@ function Zn(e) {
|
|
|
1496
1496
|
return "";
|
|
1497
1497
|
}), t;
|
|
1498
1498
|
}
|
|
1499
|
-
var
|
|
1500
|
-
return
|
|
1499
|
+
var S = function() {
|
|
1500
|
+
return S = Object.assign || function(t) {
|
|
1501
1501
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1502
1502
|
r = arguments[n];
|
|
1503
1503
|
for (var s in r)
|
|
1504
1504
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1505
1505
|
}
|
|
1506
1506
|
return t;
|
|
1507
|
-
},
|
|
1507
|
+
}, S.apply(this, arguments);
|
|
1508
1508
|
};
|
|
1509
1509
|
var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1510
1510
|
function Qn(e) {
|
|
@@ -1628,13 +1628,13 @@ function ei(e) {
|
|
|
1628
1628
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1629
1629
|
continue;
|
|
1630
1630
|
case "scientific":
|
|
1631
|
-
t =
|
|
1632
|
-
return
|
|
1631
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1632
|
+
return S(S({}, h), Lt(u));
|
|
1633
1633
|
}, {}));
|
|
1634
1634
|
continue;
|
|
1635
1635
|
case "engineering":
|
|
1636
|
-
t =
|
|
1637
|
-
return
|
|
1636
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1637
|
+
return S(S({}, h), Lt(u));
|
|
1638
1638
|
}, {}));
|
|
1639
1639
|
continue;
|
|
1640
1640
|
case "notation-simple":
|
|
@@ -1703,17 +1703,17 @@ function ei(e) {
|
|
|
1703
1703
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1704
1704
|
});
|
|
1705
1705
|
var s = i.options[0];
|
|
1706
|
-
s === "w" ? t =
|
|
1706
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Ct(s)));
|
|
1707
1707
|
continue;
|
|
1708
1708
|
}
|
|
1709
1709
|
if (mr.test(i.stem)) {
|
|
1710
|
-
t =
|
|
1710
|
+
t = S(S({}, t), Ct(i.stem));
|
|
1711
1711
|
continue;
|
|
1712
1712
|
}
|
|
1713
1713
|
var o = pr(i.stem);
|
|
1714
|
-
o && (t =
|
|
1714
|
+
o && (t = S(S({}, t), o));
|
|
1715
1715
|
var a = Kn(i.stem);
|
|
1716
|
-
a && (t =
|
|
1716
|
+
a && (t = S(S({}, t), a));
|
|
1717
1717
|
}
|
|
1718
1718
|
return t;
|
|
1719
1719
|
}
|
|
@@ -3496,7 +3496,7 @@ var bi = (
|
|
|
3496
3496
|
var L = T;
|
|
3497
3497
|
this.locale && (L = ti(T, this.locale));
|
|
3498
3498
|
var c = {
|
|
3499
|
-
type:
|
|
3499
|
+
type: K.dateTime,
|
|
3500
3500
|
pattern: L,
|
|
3501
3501
|
location: u.styleLocation,
|
|
3502
3502
|
parsedOptions: this.shouldParseSkeletons ? Zn(L) : {}
|
|
@@ -3610,7 +3610,7 @@ var bi = (
|
|
|
3610
3610
|
}
|
|
3611
3611
|
return {
|
|
3612
3612
|
val: {
|
|
3613
|
-
type:
|
|
3613
|
+
type: K.number,
|
|
3614
3614
|
tokens: n,
|
|
3615
3615
|
location: r,
|
|
3616
3616
|
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
|
@@ -3760,10 +3760,10 @@ function _i(e, t) {
|
|
|
3760
3760
|
}
|
|
3761
3761
|
return t != null && t.captureLocation || st(r.val), r.val;
|
|
3762
3762
|
}
|
|
3763
|
-
var
|
|
3763
|
+
var ee;
|
|
3764
3764
|
(function(e) {
|
|
3765
3765
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3766
|
-
})(
|
|
3766
|
+
})(ee || (ee = {}));
|
|
3767
3767
|
var Ne = (
|
|
3768
3768
|
/** @class */
|
|
3769
3769
|
function(e) {
|
|
@@ -3781,7 +3781,7 @@ var Ne = (
|
|
|
3781
3781
|
function(e) {
|
|
3782
3782
|
Oe(t, e);
|
|
3783
3783
|
function t(r, n, i, s) {
|
|
3784
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3784
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
|
3785
3785
|
}
|
|
3786
3786
|
return t;
|
|
3787
3787
|
}(Ne)
|
|
@@ -3790,7 +3790,7 @@ var Ne = (
|
|
|
3790
3790
|
function(e) {
|
|
3791
3791
|
Oe(t, e);
|
|
3792
3792
|
function t(r, n, i) {
|
|
3793
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3793
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
|
3794
3794
|
}
|
|
3795
3795
|
return t;
|
|
3796
3796
|
}(Ne)
|
|
@@ -3799,7 +3799,7 @@ var Ne = (
|
|
|
3799
3799
|
function(e) {
|
|
3800
3800
|
Oe(t, e);
|
|
3801
3801
|
function t(r, n) {
|
|
3802
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3802
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
|
3803
3803
|
}
|
|
3804
3804
|
return t;
|
|
3805
3805
|
}(Ne)
|
|
@@ -3902,7 +3902,7 @@ function Se(e, t, r, n, i, s, o) {
|
|
|
3902
3902
|
if (!Intl.PluralRules)
|
|
3903
3903
|
throw new Ne(`Intl.PluralRules is not available in this environment.
|
|
3904
3904
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3905
|
-
`,
|
|
3905
|
+
`, ee.MISSING_INTL_API, o);
|
|
3906
3906
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3907
3907
|
P = l.options[O] || l.options.other;
|
|
3908
3908
|
}
|
|
@@ -4116,7 +4116,7 @@ const k = {}, Oi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][
|
|
|
4116
4116
|
}
|
|
4117
4117
|
};
|
|
4118
4118
|
let ct;
|
|
4119
|
-
const
|
|
4119
|
+
const pe = Be({});
|
|
4120
4120
|
function Ni(e) {
|
|
4121
4121
|
return ct[e] || null;
|
|
4122
4122
|
}
|
|
@@ -4140,13 +4140,13 @@ function Li(e) {
|
|
|
4140
4140
|
}
|
|
4141
4141
|
}
|
|
4142
4142
|
function Er(e, ...t) {
|
|
4143
|
-
delete k[e],
|
|
4143
|
+
delete k[e], pe.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
|
|
4144
4144
|
}
|
|
4145
|
-
|
|
4146
|
-
[
|
|
4145
|
+
ie(
|
|
4146
|
+
[pe],
|
|
4147
4147
|
([e]) => Object.keys(e)
|
|
4148
4148
|
);
|
|
4149
|
-
|
|
4149
|
+
pe.subscribe((e) => ct = e);
|
|
4150
4150
|
const we = {};
|
|
4151
4151
|
function Ii(e, t) {
|
|
4152
4152
|
we[e].delete(t), we[e].size === 0 && delete we[e];
|
|
@@ -4173,20 +4173,20 @@ function Ri(e, t) {
|
|
|
4173
4173
|
t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
|
|
4174
4174
|
).then((n) => Er(e, ...n));
|
|
4175
4175
|
}
|
|
4176
|
-
const
|
|
4176
|
+
const ae = {};
|
|
4177
4177
|
function Sr(e) {
|
|
4178
4178
|
if (!ot(e))
|
|
4179
|
-
return e in
|
|
4179
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4180
4180
|
const t = Mi(e);
|
|
4181
|
-
return
|
|
4181
|
+
return ae[e] = Promise.all(
|
|
4182
4182
|
t.map(
|
|
4183
4183
|
([r, n]) => Ri(r, n)
|
|
4184
4184
|
)
|
|
4185
4185
|
).then(() => {
|
|
4186
4186
|
if (ot(e))
|
|
4187
4187
|
return Sr(e);
|
|
4188
|
-
delete
|
|
4189
|
-
}),
|
|
4188
|
+
delete ae[e];
|
|
4189
|
+
}), ae[e];
|
|
4190
4190
|
}
|
|
4191
4191
|
const Gi = {
|
|
4192
4192
|
number: {
|
|
@@ -4225,7 +4225,7 @@ const Gi = {
|
|
|
4225
4225
|
handleMissingMessage: void 0,
|
|
4226
4226
|
ignoreTag: !0
|
|
4227
4227
|
}, $i = Ui;
|
|
4228
|
-
function
|
|
4228
|
+
function te() {
|
|
4229
4229
|
return $i;
|
|
4230
4230
|
}
|
|
4231
4231
|
const ke = Be(!1);
|
|
@@ -4242,7 +4242,7 @@ const He = Be(null);
|
|
|
4242
4242
|
function Dt(e) {
|
|
4243
4243
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4244
4244
|
}
|
|
4245
|
-
function Ce(e, t =
|
|
4245
|
+
function Ce(e, t = te().fallbackLocale) {
|
|
4246
4246
|
const r = Dt(e);
|
|
4247
4247
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4248
4248
|
}
|
|
@@ -4254,7 +4254,7 @@ He.subscribe((e) => {
|
|
|
4254
4254
|
});
|
|
4255
4255
|
const zi = (e) => {
|
|
4256
4256
|
if (e && Li(e) && ot(e)) {
|
|
4257
|
-
const { loadingDelay: t } =
|
|
4257
|
+
const { loadingDelay: t } = te();
|
|
4258
4258
|
let r;
|
|
4259
4259
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
|
4260
4260
|
() => ke.set(!0),
|
|
@@ -4266,7 +4266,7 @@ const zi = (e) => {
|
|
|
4266
4266
|
});
|
|
4267
4267
|
}
|
|
4268
4268
|
return He.set(e);
|
|
4269
|
-
},
|
|
4269
|
+
}, se = Wi(Xi({}, He), {
|
|
4270
4270
|
set: zi
|
|
4271
4271
|
}), Le = (e) => {
|
|
4272
4272
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4282,7 +4282,7 @@ var Zi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, wr = Object.p
|
|
|
4282
4282
|
for (var r of Pe(t))
|
|
4283
4283
|
Tr.call(t, r) && Ft(e, r, t[r]);
|
|
4284
4284
|
return e;
|
|
4285
|
-
},
|
|
4285
|
+
}, oe = (e, t) => {
|
|
4286
4286
|
var r = {};
|
|
4287
4287
|
for (var n in e)
|
|
4288
4288
|
wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4291,59 +4291,59 @@ var Zi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, wr = Object.p
|
|
|
4291
4291
|
t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
|
|
4292
4292
|
return r;
|
|
4293
4293
|
};
|
|
4294
|
-
const
|
|
4295
|
-
const { formats: r } =
|
|
4294
|
+
const fe = (e, t) => {
|
|
4295
|
+
const { formats: r } = te();
|
|
4296
4296
|
if (e in r && t in r[e])
|
|
4297
4297
|
return r[e][t];
|
|
4298
4298
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4299
4299
|
}, Ji = Le(
|
|
4300
4300
|
(e) => {
|
|
4301
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4301
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4302
4302
|
if (r == null)
|
|
4303
4303
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4304
|
-
return n && (i =
|
|
4304
|
+
return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4305
4305
|
}
|
|
4306
4306
|
), Qi = Le(
|
|
4307
4307
|
(e) => {
|
|
4308
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4308
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4309
4309
|
if (r == null)
|
|
4310
4310
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4311
|
-
return n ? i =
|
|
4311
|
+
return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4312
4312
|
}
|
|
4313
4313
|
), Yi = Le(
|
|
4314
4314
|
(e) => {
|
|
4315
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4315
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4316
4316
|
if (r == null)
|
|
4317
4317
|
throw new Error(
|
|
4318
4318
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4319
4319
|
);
|
|
4320
|
-
return n ? i =
|
|
4320
|
+
return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4321
4321
|
}
|
|
4322
4322
|
), qi = (e = {}) => {
|
|
4323
4323
|
var t = e, {
|
|
4324
4324
|
locale: r = X()
|
|
4325
|
-
} = t, n =
|
|
4325
|
+
} = t, n = oe(t, [
|
|
4326
4326
|
"locale"
|
|
4327
4327
|
]);
|
|
4328
4328
|
return Ji(ft({ locale: r }, n));
|
|
4329
4329
|
}, Ki = (e = {}) => {
|
|
4330
4330
|
var t = e, {
|
|
4331
4331
|
locale: r = X()
|
|
4332
|
-
} = t, n =
|
|
4332
|
+
} = t, n = oe(t, [
|
|
4333
4333
|
"locale"
|
|
4334
4334
|
]);
|
|
4335
4335
|
return Qi(ft({ locale: r }, n));
|
|
4336
4336
|
}, es = (e = {}) => {
|
|
4337
4337
|
var t = e, {
|
|
4338
4338
|
locale: r = X()
|
|
4339
|
-
} = t, n =
|
|
4339
|
+
} = t, n = oe(t, [
|
|
4340
4340
|
"locale"
|
|
4341
4341
|
]);
|
|
4342
4342
|
return Yi(ft({ locale: r }, n));
|
|
4343
4343
|
}, ts = Le(
|
|
4344
4344
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4345
|
-
(e, t = X()) => new Ai(e, t,
|
|
4346
|
-
ignoreTag:
|
|
4345
|
+
(e, t = X()) => new Ai(e, t, te().formats, {
|
|
4346
|
+
ignoreTag: te().ignoreTag
|
|
4347
4347
|
})
|
|
4348
4348
|
), rs = (e, t = {}) => {
|
|
4349
4349
|
var r, n, i, s;
|
|
@@ -4360,7 +4360,7 @@ const me = (e, t) => {
|
|
|
4360
4360
|
);
|
|
4361
4361
|
let l = vr(e, h);
|
|
4362
4362
|
if (!l)
|
|
4363
|
-
l = (s = (i = (n = (r =
|
|
4363
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4364
4364
|
else if (typeof l != "string")
|
|
4365
4365
|
return console.warn(
|
|
4366
4366
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4377,11 +4377,11 @@ const me = (e, t) => {
|
|
|
4377
4377
|
);
|
|
4378
4378
|
}
|
|
4379
4379
|
return m;
|
|
4380
|
-
}, ns = (e, t) => es(t).format(e), is = (e, t) => Ki(t).format(e), ss = (e, t) => qi(t).format(e), os = (e, t = X()) => vr(e, t), as =
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4380
|
+
}, ns = (e, t) => es(t).format(e), is = (e, t) => Ki(t).format(e), ss = (e, t) => qi(t).format(e), os = (e, t = X()) => vr(e, t), as = ie([se, pe], () => rs);
|
|
4381
|
+
ie([se], () => ns);
|
|
4382
|
+
ie([se], () => is);
|
|
4383
|
+
ie([se], () => ss);
|
|
4384
|
+
ie([se, pe], () => os);
|
|
4385
4385
|
window.emWidgets = { topic: vn };
|
|
4386
4386
|
const us = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), hs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4387
4387
|
function Us(e, t) {
|
|
@@ -4399,9 +4399,9 @@ function ls(e, t) {
|
|
|
4399
4399
|
Er(e, t);
|
|
4400
4400
|
}
|
|
4401
4401
|
function cs(e) {
|
|
4402
|
-
|
|
4402
|
+
se.set(e);
|
|
4403
4403
|
}
|
|
4404
|
-
const
|
|
4404
|
+
const Q = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4405
4405
|
function fs(e, t) {
|
|
4406
4406
|
if (e) {
|
|
4407
4407
|
const r = document.createElement("style");
|
|
@@ -4424,11 +4424,11 @@ function ds(e, t, r, n = !1) {
|
|
|
4424
4424
|
return;
|
|
4425
4425
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4426
4426
|
return r = ps(e, t), r;
|
|
4427
|
-
window[
|
|
4427
|
+
window[Q] || (window[Q] = {}), r = bs(e, t);
|
|
4428
4428
|
const s = r.unsubscribe.bind(r), o = () => {
|
|
4429
|
-
if (window[
|
|
4430
|
-
const a = window[
|
|
4431
|
-
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[
|
|
4429
|
+
if (window[Q][t]) {
|
|
4430
|
+
const a = window[Q][t];
|
|
4431
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Q][t];
|
|
4432
4432
|
}
|
|
4433
4433
|
s();
|
|
4434
4434
|
};
|
|
@@ -4444,7 +4444,7 @@ function bs(e, t) {
|
|
|
4444
4444
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4445
4445
|
if (!e)
|
|
4446
4446
|
return;
|
|
4447
|
-
const n = e.getRootNode(), i = window[
|
|
4447
|
+
const n = e.getRootNode(), i = window[Q];
|
|
4448
4448
|
let s = i[t] && i[t].sheet;
|
|
4449
4449
|
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
4450
4450
|
sheet: s,
|
|
@@ -4522,7 +4522,7 @@ if (typeof window != "undefined") {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
4524
|
};
|
|
4525
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
4525
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-C14iS8C2.js").then((t) => t.C).then(({ default: t }) => {
|
|
4526
4526
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
4527
4527
|
});
|
|
4528
4528
|
}
|
|
@@ -4634,7 +4634,7 @@ function _s(e) {
|
|
|
4634
4634
|
);
|
|
4635
4635
|
},
|
|
4636
4636
|
m(r, n) {
|
|
4637
|
-
|
|
4637
|
+
me(r, t, n);
|
|
4638
4638
|
},
|
|
4639
4639
|
p(r, n) {
|
|
4640
4640
|
n[0] & /*session*/
|
|
@@ -4754,7 +4754,7 @@ function _s(e) {
|
|
|
4754
4754
|
);
|
|
4755
4755
|
},
|
|
4756
4756
|
d(r) {
|
|
4757
|
-
r &&
|
|
4757
|
+
r && ne(t);
|
|
4758
4758
|
}
|
|
4759
4759
|
};
|
|
4760
4760
|
}
|
|
@@ -4765,10 +4765,10 @@ function Es(e) {
|
|
|
4765
4765
|
), n;
|
|
4766
4766
|
return {
|
|
4767
4767
|
c() {
|
|
4768
|
-
t = V("p"), n = lt(r),
|
|
4768
|
+
t = V("p"), n = lt(r), he(t, "class", "SearchLoading");
|
|
4769
4769
|
},
|
|
4770
4770
|
m(i, s) {
|
|
4771
|
-
|
|
4771
|
+
me(i, t, s), ht(t, n);
|
|
4772
4772
|
},
|
|
4773
4773
|
p(i, s) {
|
|
4774
4774
|
s[0] & /*$_*/
|
|
@@ -4776,7 +4776,7 @@ function Es(e) {
|
|
|
4776
4776
|
i[21]("noGames") + "") && Wr(n, r);
|
|
4777
4777
|
},
|
|
4778
4778
|
d(i) {
|
|
4779
|
-
i &&
|
|
4779
|
+
i && ne(t);
|
|
4780
4780
|
}
|
|
4781
4781
|
};
|
|
4782
4782
|
}
|
|
@@ -4791,10 +4791,10 @@ function xs(e) {
|
|
|
4791
4791
|
let i = n(e), s = i(e);
|
|
4792
4792
|
return {
|
|
4793
4793
|
c() {
|
|
4794
|
-
t = V("div"), r = V("div"), s.c(),
|
|
4794
|
+
t = V("div"), r = V("div"), s.c(), he(r, "class", "casino-most-played-section"), he(t, "class", "CasinoGamesCategorySectionContainer");
|
|
4795
4795
|
},
|
|
4796
4796
|
m(o, a) {
|
|
4797
|
-
|
|
4797
|
+
me(o, t, a), ht(t, r), s.m(r, null), e[24](t);
|
|
4798
4798
|
},
|
|
4799
4799
|
p(o, a) {
|
|
4800
4800
|
i === (i = n(o)) && s ? s.p(o, a) : (s.d(1), s = i(o), s && (s.c(), s.m(r, null)));
|
|
@@ -4802,7 +4802,7 @@ function xs(e) {
|
|
|
4802
4802
|
i: R,
|
|
4803
4803
|
o: R,
|
|
4804
4804
|
d(o) {
|
|
4805
|
-
o &&
|
|
4805
|
+
o && ne(t), s.d(), e[24](null);
|
|
4806
4806
|
}
|
|
4807
4807
|
};
|
|
4808
4808
|
}
|
|
@@ -4811,23 +4811,21 @@ function Ss(e, t, r) {
|
|
|
4811
4811
|
Dr(e, as, (f) => r(21, n = f));
|
|
4812
4812
|
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { currency: o = "" } = t, { lang: a = "" } = t, { session: h = "" } = t, { userid: u = "" } = t, { mbsource: l } = t, { clientstyling: m = "" } = t, { clientstylingurl: c = "" } = t, { livecasino: p = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: v = "false" } = t, { gamepagemodalurl: T = "false" } = t, { showgamename: L = "" } = t, { visiblegames: A } = t, { favorites: P = "" } = t, { translationurl: O = "" } = t, { casinomygames: N = "false" } = t, { mostplayedperiod: I = "Last30Days" } = t, { mostplayedrounds: _ = "10" } = t, { fetchviaevent: C = "true" } = t, M = window.navigator.userAgent, W;
|
|
4813
4813
|
const Ie = (f) => {
|
|
4814
|
-
Object.keys(f).forEach((
|
|
4815
|
-
ls(
|
|
4814
|
+
Object.keys(f).forEach((w) => {
|
|
4815
|
+
ls(w, f[w]);
|
|
4816
4816
|
});
|
|
4817
4817
|
}, Pr = () => {
|
|
4818
|
-
fetch(O).then((
|
|
4819
|
-
Ie(
|
|
4820
|
-
}).catch((
|
|
4821
|
-
console.log(
|
|
4818
|
+
fetch(O).then((w) => w.json()).then((w) => {
|
|
4819
|
+
Ie(w);
|
|
4820
|
+
}).catch((w) => {
|
|
4821
|
+
console.log(w);
|
|
4822
4822
|
});
|
|
4823
4823
|
};
|
|
4824
4824
|
Ie(gs);
|
|
4825
|
-
let
|
|
4825
|
+
let be = [], mt, dt = !1, $, Ar;
|
|
4826
4826
|
const Br = (f) => {
|
|
4827
|
-
let
|
|
4828
|
-
f.limit &&
|
|
4829
|
-
let z = f.device;
|
|
4830
|
-
return z ? z === "PC" ? S.searchParams.append("device", "Desktop") : S.searchParams.append("device", "Mobile") : S.searchParams.append("device", "All"), f.rounds && S.searchParams.append("rounds", f.rounds), mt = p ? S : S.href, new Promise((D, G) => {
|
|
4827
|
+
let w = new URL(`${i}/v1/player/${u}/games/most-played`);
|
|
4828
|
+
return f.limit && w.searchParams.append("limit", f.limit), f.order && w.searchParams.append("order", f.order), w.searchParams.append("expand", "games"), w.searchParams.append("period", I), f.device === "PC" ? w.searchParams.append("device", "Desktop") : w.searchParams.append("device", "Mobile"), f.rounds && w.searchParams.append("rounds", f.rounds), mt = p ? w : w.href, new Promise((D, G) => {
|
|
4831
4829
|
fetch(mt).then((F) => F.json()).then((F) => {
|
|
4832
4830
|
F.items = F.items.filter((Lr) => {
|
|
4833
4831
|
let pt = !0;
|
|
@@ -4844,12 +4842,12 @@ function Ss(e, t, r) {
|
|
|
4844
4842
|
rounds: _
|
|
4845
4843
|
}).then((f) => {
|
|
4846
4844
|
if (f.count > 0) {
|
|
4847
|
-
let
|
|
4848
|
-
f.items.forEach((
|
|
4849
|
-
let D = new URL(`${i}/v1/casino/games/${
|
|
4850
|
-
D.searchParams.append("datasource", s),
|
|
4851
|
-
}), Promise.all(
|
|
4852
|
-
if (
|
|
4845
|
+
let w = [];
|
|
4846
|
+
f.items.forEach((ge) => {
|
|
4847
|
+
let D = new URL(`${i}/v1/casino/games/${ge.gameId}`);
|
|
4848
|
+
D.searchParams.append("datasource", s), w.push(fetch(D.href).then((G) => G.ok ? G.json() : Promise.resolve([])));
|
|
4849
|
+
}), Promise.all(w).then((ge) => {
|
|
4850
|
+
if (be = ge.reduce(
|
|
4853
4851
|
(D, G) => (G && Array.isArray(G) && !("error" in G) && D.push(G[0]), D),
|
|
4854
4852
|
[]
|
|
4855
4853
|
), N === "true") {
|
|
@@ -4859,9 +4857,9 @@ function Ss(e, t, r) {
|
|
|
4859
4857
|
} catch (G) {
|
|
4860
4858
|
console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON");
|
|
4861
4859
|
}
|
|
4862
|
-
|
|
4860
|
+
be = be.slice(0, parseInt(A));
|
|
4863
4861
|
}
|
|
4864
|
-
window.postMessage({ type: "MostPlayedData", mostPlayedGames:
|
|
4862
|
+
window.postMessage({ type: "MostPlayedData", mostPlayedGames: be }, window.location.href);
|
|
4865
4863
|
});
|
|
4866
4864
|
} else
|
|
4867
4865
|
r(20, dt = !0);
|
|
@@ -5083,7 +5081,7 @@ const $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5083
5081
|
default: Hr
|
|
5084
5082
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5085
5083
|
export {
|
|
5086
|
-
|
|
5084
|
+
se as $,
|
|
5087
5085
|
Rs as A,
|
|
5088
5086
|
Hs as B,
|
|
5089
5087
|
Ts as C,
|
|
@@ -5097,21 +5095,21 @@ export {
|
|
|
5097
5095
|
Ns as K,
|
|
5098
5096
|
Cs as L,
|
|
5099
5097
|
Is as M,
|
|
5100
|
-
|
|
5101
|
-
|
|
5098
|
+
pe as N,
|
|
5099
|
+
re as O,
|
|
5102
5100
|
Os as P,
|
|
5103
5101
|
$s as Q,
|
|
5104
5102
|
nn as S,
|
|
5105
5103
|
Er as a,
|
|
5106
5104
|
Fr as b,
|
|
5107
|
-
|
|
5108
|
-
|
|
5105
|
+
me as c,
|
|
5106
|
+
ne as d,
|
|
5109
5107
|
ht as e,
|
|
5110
5108
|
x as f,
|
|
5111
5109
|
V as g,
|
|
5112
5110
|
Ps as h,
|
|
5113
5111
|
tn as i,
|
|
5114
|
-
|
|
5112
|
+
he as j,
|
|
5115
5113
|
Dr as k,
|
|
5116
5114
|
Ls as l,
|
|
5117
5115
|
ys as m,
|