@everymatrix/casino-collections-providers 1.54.12 → 1.56.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/{CasinoCollectionsProviders-BD2iWN3b.cjs → CasinoCollectionsProviders-B8bXcXAF.cjs} +3 -3
- package/components/{CasinoCollectionsProviders-CNIQdIJc.js → CasinoCollectionsProviders-D1ouM50A.js} +673 -655
- package/components/{CasinoCollectionsProviders-WYV9fhve.js → CasinoCollectionsProviders-DbC21yJP.js} +711 -693
- package/es2015/casino-collections-providers.cjs +1 -1
- package/es2015/casino-collections-providers.js +1 -1
- package/esnext/casino-collections-providers.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCollectionsProviders-CNIQdIJc.js → CasinoCollectionsProviders-D1ouM50A.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Le = (e, t, r) => t in e ?
|
1
|
+
var kr = Object.defineProperty, Vr = Object.defineProperties;
|
2
|
+
var Xr = Object.getOwnPropertyDescriptors;
|
3
|
+
var bt = Object.getOwnPropertySymbols;
|
4
|
+
var Wr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Le = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Wr.call(t, r) && Le(e, r, t[r]);
|
8
|
+
if (bt)
|
9
|
+
for (var r of bt(t))
|
10
|
+
zr.call(t, r) && Le(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, vt = (e, t) => Vr(e, Xr(t));
|
13
13
|
var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var
|
14
|
+
var yt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (l) => {
|
16
16
|
try {
|
17
17
|
a(r.next(l));
|
@@ -29,26 +29,26 @@ var vt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function L() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Jt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function _t() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function te(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Jt);
|
40
40
|
}
|
41
41
|
function rt(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function qt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let de;
|
48
48
|
function xe(e, t) {
|
49
49
|
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Zr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
54
|
function Yt(e, ...t) {
|
@@ -60,17 +60,17 @@ function Yt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function Qr(e, t, r) {
|
64
64
|
e.$$.on_destroy.push(Yt(t, r));
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function C(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function Jr(e, t, r) {
|
70
70
|
const n = qr(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
|
-
const i =
|
73
|
-
i.id = t, i.textContent = r,
|
72
|
+
const i = P("style");
|
73
|
+
i.id = t, i.textContent = r, Yr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
76
|
function qr(e) {
|
@@ -82,36 +82,36 @@ function qr(e) {
|
|
82
82
|
t
|
83
83
|
) : e.ownerDocument;
|
84
84
|
}
|
85
|
-
function
|
86
|
-
return
|
85
|
+
function Yr(e, t) {
|
86
|
+
return C(
|
87
87
|
/** @type {Document} */
|
88
88
|
e.head || e,
|
89
89
|
t
|
90
90
|
), t.sheet;
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function U(e, t, r) {
|
93
93
|
e.insertBefore(t, r || null);
|
94
94
|
}
|
95
|
-
function
|
95
|
+
function $(e) {
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
97
97
|
}
|
98
|
-
function
|
98
|
+
function Kt(e, t) {
|
99
99
|
for (let r = 0; r < e.length; r += 1)
|
100
100
|
e[r] && e[r].d(t);
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function P(e) {
|
103
103
|
return document.createElement(e);
|
104
104
|
}
|
105
105
|
function Ce(e) {
|
106
106
|
return document.createTextNode(e);
|
107
107
|
}
|
108
|
-
function
|
108
|
+
function k() {
|
109
109
|
return Ce(" ");
|
110
110
|
}
|
111
111
|
function J(e, t, r, n) {
|
112
112
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
113
113
|
}
|
114
|
-
function
|
114
|
+
function Kr(e) {
|
115
115
|
return function(t) {
|
116
116
|
return t.stopPropagation(), e.call(this, t);
|
117
117
|
};
|
@@ -119,7 +119,7 @@ function en(e) {
|
|
119
119
|
function E(e, t, r) {
|
120
120
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
121
121
|
}
|
122
|
-
function
|
122
|
+
function en(e) {
|
123
123
|
return Array.from(e.childNodes);
|
124
124
|
}
|
125
125
|
function nt(e, t) {
|
@@ -130,7 +130,7 @@ function Ne(e, t, r, n) {
|
|
130
130
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
131
131
|
}
|
132
132
|
let pe;
|
133
|
-
function
|
133
|
+
function tn() {
|
134
134
|
if (pe === void 0) {
|
135
135
|
pe = !1;
|
136
136
|
try {
|
@@ -141,14 +141,14 @@ function rn() {
|
|
141
141
|
}
|
142
142
|
return pe;
|
143
143
|
}
|
144
|
-
function
|
144
|
+
function rn(e, t) {
|
145
145
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
146
|
-
const n =
|
146
|
+
const n = P("iframe");
|
147
147
|
n.setAttribute(
|
148
148
|
"style",
|
149
149
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
150
150
|
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
151
|
-
const i =
|
151
|
+
const i = tn();
|
152
152
|
let o;
|
153
153
|
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
|
154
154
|
window,
|
@@ -159,11 +159,11 @@ function nn(e, t) {
|
|
159
159
|
}
|
160
160
|
)) : (n.src = "about:blank", n.onload = () => {
|
161
161
|
o = J(n.contentWindow, "resize", t), t();
|
162
|
-
}),
|
163
|
-
(i || o && n.contentWindow) && o(),
|
162
|
+
}), C(e, n), () => {
|
163
|
+
(i || o && n.contentWindow) && o(), $(n);
|
164
164
|
};
|
165
165
|
}
|
166
|
-
function
|
166
|
+
function nn(e) {
|
167
167
|
const t = {};
|
168
168
|
return e.childNodes.forEach(
|
169
169
|
/** @param {Element} node */
|
@@ -172,88 +172,88 @@ function on(e) {
|
|
172
172
|
}
|
173
173
|
), t;
|
174
174
|
}
|
175
|
-
let
|
176
|
-
function
|
177
|
-
|
175
|
+
let le;
|
176
|
+
function ae(e) {
|
177
|
+
le = e;
|
178
178
|
}
|
179
|
-
function
|
180
|
-
if (!
|
181
|
-
return
|
179
|
+
function on() {
|
180
|
+
if (!le) throw new Error("Function called outside component initialization");
|
181
|
+
return le;
|
182
182
|
}
|
183
|
-
function
|
184
|
-
|
183
|
+
function sn(e) {
|
184
|
+
on().$$.on_mount.push(e);
|
185
185
|
}
|
186
186
|
const z = [], Ee = [];
|
187
187
|
let Z = [];
|
188
|
-
const
|
188
|
+
const xt = [], an = /* @__PURE__ */ Promise.resolve();
|
189
189
|
let je = !1;
|
190
|
-
function
|
191
|
-
je || (je = !0,
|
190
|
+
function ln() {
|
191
|
+
je || (je = !0, an.then(R));
|
192
192
|
}
|
193
193
|
function Se(e) {
|
194
194
|
Z.push(e);
|
195
195
|
}
|
196
196
|
const Me = /* @__PURE__ */ new Set();
|
197
197
|
let X = 0;
|
198
|
-
function
|
198
|
+
function R() {
|
199
199
|
if (X !== 0)
|
200
200
|
return;
|
201
|
-
const e =
|
201
|
+
const e = le;
|
202
202
|
do {
|
203
203
|
try {
|
204
204
|
for (; X < z.length; ) {
|
205
205
|
const t = z[X];
|
206
|
-
X++,
|
206
|
+
X++, ae(t), un(t.$$);
|
207
207
|
}
|
208
208
|
} catch (t) {
|
209
209
|
throw z.length = 0, X = 0, t;
|
210
210
|
}
|
211
|
-
for (
|
211
|
+
for (ae(null), z.length = 0, X = 0; Ee.length; ) Ee.pop()();
|
212
212
|
for (let t = 0; t < Z.length; t += 1) {
|
213
213
|
const r = Z[t];
|
214
214
|
Me.has(r) || (Me.add(r), r());
|
215
215
|
}
|
216
216
|
Z.length = 0;
|
217
217
|
} while (z.length);
|
218
|
-
for (;
|
219
|
-
|
220
|
-
je = !1, Me.clear(),
|
218
|
+
for (; xt.length; )
|
219
|
+
xt.pop()();
|
220
|
+
je = !1, Me.clear(), ae(e);
|
221
221
|
}
|
222
|
-
function
|
222
|
+
function un(e) {
|
223
223
|
if (e.fragment !== null) {
|
224
224
|
e.update(), te(e.before_update);
|
225
225
|
const t = e.dirty;
|
226
226
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
227
227
|
}
|
228
228
|
}
|
229
|
-
function
|
229
|
+
function hn(e) {
|
230
230
|
const t = [], r = [];
|
231
231
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
232
232
|
}
|
233
|
-
const
|
234
|
-
function
|
235
|
-
e && e.i && (
|
233
|
+
const cn = /* @__PURE__ */ new Set();
|
234
|
+
function fn(e, t) {
|
235
|
+
e && e.i && (cn.delete(e), e.i(t));
|
236
236
|
}
|
237
237
|
function we(e) {
|
238
238
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
239
239
|
}
|
240
|
-
function
|
240
|
+
function dn(e, t, r) {
|
241
241
|
const { fragment: n, after_update: i } = e.$$;
|
242
242
|
n && n.m(t, r), Se(() => {
|
243
|
-
const o = e.$$.on_mount.map(
|
243
|
+
const o = e.$$.on_mount.map(Jt).filter(rt);
|
244
244
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
245
245
|
}), i.forEach(Se);
|
246
246
|
}
|
247
|
-
function
|
247
|
+
function pn(e, t) {
|
248
248
|
const r = e.$$;
|
249
|
-
r.fragment !== null && (
|
249
|
+
r.fragment !== null && (hn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
250
250
|
}
|
251
|
-
function
|
252
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
251
|
+
function mn(e, t) {
|
252
|
+
e.$$.dirty[0] === -1 && (z.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
253
253
|
}
|
254
|
-
function
|
255
|
-
const l =
|
256
|
-
|
254
|
+
function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
255
|
+
const l = le;
|
256
|
+
ae(e);
|
257
257
|
const u = e.$$ = {
|
258
258
|
fragment: null,
|
259
259
|
ctx: [],
|
@@ -261,7 +261,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
261
|
props: o,
|
262
262
|
update: L,
|
263
263
|
not_equal: i,
|
264
|
-
bound:
|
264
|
+
bound: _t(),
|
265
265
|
// lifecycle
|
266
266
|
on_mount: [],
|
267
267
|
on_destroy: [],
|
@@ -270,7 +270,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
270
|
after_update: [],
|
271
271
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
272
272
|
// everything else
|
273
|
-
callbacks:
|
273
|
+
callbacks: _t(),
|
274
274
|
dirty: a,
|
275
275
|
skip_bound: !1,
|
276
276
|
root: t.target || l.$$.root
|
@@ -279,19 +279,19 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
279
279
|
let h = !1;
|
280
280
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
281
281
|
const d = p.length ? p[0] : f;
|
282
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
282
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && mn(e, c)), f;
|
283
283
|
}) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
284
284
|
if (t.hydrate) {
|
285
|
-
const c =
|
286
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
285
|
+
const c = en(t.target);
|
286
|
+
u.fragment && u.fragment.l(c), c.forEach($);
|
287
287
|
} else
|
288
288
|
u.fragment && u.fragment.c();
|
289
|
-
t.intro &&
|
289
|
+
t.intro && fn(e.$$.fragment), dn(e, t.target, t.anchor), R();
|
290
290
|
}
|
291
|
-
|
291
|
+
ae(l);
|
292
292
|
}
|
293
|
-
let
|
294
|
-
typeof HTMLElement == "function" && (
|
293
|
+
let er;
|
294
|
+
typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
295
295
|
constructor(t, r, n) {
|
296
296
|
super();
|
297
297
|
/** The Svelte component constructor */
|
@@ -328,31 +328,31 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
328
328
|
}
|
329
329
|
}
|
330
330
|
connectedCallback() {
|
331
|
-
return
|
331
|
+
return yt(this, null, function* () {
|
332
332
|
if (this.$$cn = !0, !this.$$c) {
|
333
333
|
let t = function(o) {
|
334
334
|
return () => {
|
335
335
|
let s;
|
336
336
|
return {
|
337
337
|
c: function() {
|
338
|
-
s =
|
338
|
+
s = P("slot"), o !== "default" && E(s, "name", o);
|
339
339
|
},
|
340
340
|
/**
|
341
341
|
* @param {HTMLElement} target
|
342
342
|
* @param {HTMLElement} [anchor]
|
343
343
|
*/
|
344
344
|
m: function(u, h) {
|
345
|
-
|
345
|
+
U(u, s, h);
|
346
346
|
},
|
347
347
|
d: function(u) {
|
348
|
-
u &&
|
348
|
+
u && $(s);
|
349
349
|
}
|
350
350
|
};
|
351
351
|
};
|
352
352
|
};
|
353
353
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
354
354
|
return;
|
355
|
-
const r = {}, n =
|
355
|
+
const r = {}, n = nn(this);
|
356
356
|
for (const o of this.$$s)
|
357
357
|
o in n && (r[o] = [t(o)]);
|
358
358
|
for (const o of this.attributes) {
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
363
363
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
364
364
|
this.$$c = new this.$$ctor({
|
365
365
|
target: this.shadowRoot || this,
|
366
|
-
props: gt(
|
366
|
+
props: vt(gt({}, this.$$d), {
|
367
367
|
$$slots: r,
|
368
368
|
$$scope: {
|
369
369
|
ctx: []
|
@@ -441,8 +441,8 @@ function ge(e, t, r, n) {
|
|
441
441
|
return t;
|
442
442
|
}
|
443
443
|
}
|
444
|
-
function
|
445
|
-
let s = class extends
|
444
|
+
function gn(e, t, r, n, i, o) {
|
445
|
+
let s = class extends er {
|
446
446
|
constructor() {
|
447
447
|
super(e, r, i), this.$$p_d = t;
|
448
448
|
}
|
@@ -472,7 +472,7 @@ function vn(e, t, r, n, i, o) {
|
|
472
472
|
}), e.element = /** @type {any} */
|
473
473
|
s, s;
|
474
474
|
}
|
475
|
-
class
|
475
|
+
class vn {
|
476
476
|
constructor() {
|
477
477
|
/**
|
478
478
|
* ### PRIVATE API
|
@@ -493,7 +493,7 @@ class yn {
|
|
493
493
|
}
|
494
494
|
/** @returns {void} */
|
495
495
|
$destroy() {
|
496
|
-
|
496
|
+
pn(this, 1), this.$destroy = L;
|
497
497
|
}
|
498
498
|
/**
|
499
499
|
* @template {Extract<keyof Events, string>} K
|
@@ -515,13 +515,13 @@ class yn {
|
|
515
515
|
* @returns {void}
|
516
516
|
*/
|
517
517
|
$set(t) {
|
518
|
-
this.$$set && !
|
518
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
519
519
|
}
|
520
520
|
}
|
521
|
-
const
|
522
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
521
|
+
const yn = "4";
|
522
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
523
523
|
const W = [];
|
524
|
-
function
|
524
|
+
function _n(e, t) {
|
525
525
|
return {
|
526
526
|
subscribe: Pe(e, t).subscribe
|
527
527
|
};
|
@@ -530,7 +530,7 @@ function Pe(e, t = L) {
|
|
530
530
|
let r;
|
531
531
|
const n = /* @__PURE__ */ new Set();
|
532
532
|
function i(a) {
|
533
|
-
if (
|
533
|
+
if (qt(e, a) && (e = a, r)) {
|
534
534
|
const l = !W.length;
|
535
535
|
for (const u of n)
|
536
536
|
u[1](), W.push(u, e);
|
@@ -557,7 +557,7 @@ function re(e, t, r) {
|
|
557
557
|
if (!i.every(Boolean))
|
558
558
|
throw new Error("derived() expects stores as input, got a falsy value");
|
559
559
|
const o = t.length < 2;
|
560
|
-
return
|
560
|
+
return _n(r, (s, a) => {
|
561
561
|
let l = !1;
|
562
562
|
const u = [];
|
563
563
|
let h = 0, c = L;
|
@@ -583,80 +583,80 @@ function re(e, t, r) {
|
|
583
583
|
};
|
584
584
|
});
|
585
585
|
}
|
586
|
-
function
|
586
|
+
function xn(e) {
|
587
587
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
588
588
|
}
|
589
|
-
var
|
590
|
-
return
|
589
|
+
var En = function(t) {
|
590
|
+
return Sn(t) && !wn(t);
|
591
591
|
};
|
592
|
-
function
|
592
|
+
function Sn(e) {
|
593
593
|
return !!e && typeof e == "object";
|
594
594
|
}
|
595
|
-
function
|
595
|
+
function wn(e) {
|
596
596
|
var t = Object.prototype.toString.call(e);
|
597
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
597
|
+
return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
|
598
598
|
}
|
599
|
-
var
|
600
|
-
function
|
601
|
-
return e.$$typeof ===
|
599
|
+
var Tn = typeof Symbol == "function" && Symbol.for, Hn = Tn ? Symbol.for("react.element") : 60103;
|
600
|
+
function Cn(e) {
|
601
|
+
return e.$$typeof === Hn;
|
602
602
|
}
|
603
|
-
function
|
603
|
+
function Pn(e) {
|
604
604
|
return Array.isArray(e) ? [] : {};
|
605
605
|
}
|
606
|
-
function
|
607
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
606
|
+
function ue(e, t) {
|
607
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Pn(e), e, t) : e;
|
608
608
|
}
|
609
|
-
function
|
609
|
+
function Bn(e, t, r) {
|
610
610
|
return e.concat(t).map(function(n) {
|
611
|
-
return
|
611
|
+
return ue(n, r);
|
612
612
|
});
|
613
613
|
}
|
614
|
-
function
|
614
|
+
function An(e, t) {
|
615
615
|
if (!t.customMerge)
|
616
|
-
return
|
616
|
+
return q;
|
617
617
|
var r = t.customMerge(e);
|
618
|
-
return typeof r == "function" ? r :
|
618
|
+
return typeof r == "function" ? r : q;
|
619
619
|
}
|
620
|
-
function
|
620
|
+
function On(e) {
|
621
621
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
622
622
|
return Object.propertyIsEnumerable.call(e, t);
|
623
623
|
}) : [];
|
624
624
|
}
|
625
|
-
function
|
626
|
-
return Object.keys(e).concat(
|
625
|
+
function Et(e) {
|
626
|
+
return Object.keys(e).concat(On(e));
|
627
627
|
}
|
628
|
-
function
|
628
|
+
function tr(e, t) {
|
629
629
|
try {
|
630
630
|
return t in e;
|
631
631
|
} catch (r) {
|
632
632
|
return !1;
|
633
633
|
}
|
634
634
|
}
|
635
|
-
function
|
636
|
-
return
|
635
|
+
function In(e, t) {
|
636
|
+
return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
637
637
|
}
|
638
|
-
function
|
638
|
+
function Ln(e, t, r) {
|
639
639
|
var n = {};
|
640
|
-
return r.isMergeableObject(e) &&
|
641
|
-
n[i] =
|
642
|
-
}),
|
643
|
-
|
640
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
641
|
+
n[i] = ue(e[i], r);
|
642
|
+
}), Et(t).forEach(function(i) {
|
643
|
+
In(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
644
644
|
}), n;
|
645
645
|
}
|
646
|
-
function
|
647
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
646
|
+
function q(e, t, r) {
|
647
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = ue;
|
648
648
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
649
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
649
|
+
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : ue(t, r);
|
650
650
|
}
|
651
|
-
|
651
|
+
q.all = function(t, r) {
|
652
652
|
if (!Array.isArray(t))
|
653
653
|
throw new Error("first argument should be an array");
|
654
654
|
return t.reduce(function(n, i) {
|
655
|
-
return
|
655
|
+
return q(n, i, r);
|
656
656
|
}, {});
|
657
657
|
};
|
658
|
-
var
|
659
|
-
const
|
658
|
+
var Nn = q, Mn = Nn;
|
659
|
+
const Rn = /* @__PURE__ */ xn(Mn);
|
660
660
|
var ke = function(e, t) {
|
661
661
|
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
662
662
|
r.__proto__ = n;
|
@@ -664,7 +664,7 @@ var ke = function(e, t) {
|
|
664
664
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
665
665
|
}, ke(e, t);
|
666
666
|
};
|
667
|
-
function
|
667
|
+
function F(e, t) {
|
668
668
|
if (typeof t != "function" && t !== null)
|
669
669
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
670
670
|
ke(e, t);
|
@@ -673,16 +673,16 @@ function D(e, t) {
|
|
673
673
|
}
|
674
674
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
675
675
|
}
|
676
|
-
var
|
677
|
-
return
|
676
|
+
var x = function() {
|
677
|
+
return x = Object.assign || function(t) {
|
678
678
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
679
679
|
r = arguments[n];
|
680
680
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
681
681
|
}
|
682
682
|
return t;
|
683
|
-
},
|
683
|
+
}, x.apply(this, arguments);
|
684
684
|
};
|
685
|
-
function
|
685
|
+
function $n(e, t) {
|
686
686
|
var r = {};
|
687
687
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
688
688
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -723,36 +723,36 @@ function Q(e, t, r) {
|
|
723
723
|
return e.concat(o || Array.prototype.slice.call(t));
|
724
724
|
}
|
725
725
|
function Re(e, t) {
|
726
|
-
var r = t && t.cache ? t.cache :
|
726
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Dn;
|
727
727
|
return i(e, {
|
728
728
|
cache: r,
|
729
729
|
serializer: n
|
730
730
|
});
|
731
731
|
}
|
732
|
-
function
|
732
|
+
function Gn(e) {
|
733
733
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
734
734
|
}
|
735
|
-
function
|
736
|
-
var i =
|
735
|
+
function Un(e, t, r, n) {
|
736
|
+
var i = Gn(n) ? n : r(n), o = t.get(i);
|
737
737
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
738
738
|
}
|
739
|
-
function
|
739
|
+
function rr(e, t, r) {
|
740
740
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
741
741
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
742
742
|
}
|
743
|
-
function
|
743
|
+
function nr(e, t, r, n, i) {
|
744
744
|
return r.bind(t, e, n, i);
|
745
745
|
}
|
746
|
-
function
|
747
|
-
var r = e.length === 1 ?
|
748
|
-
return
|
746
|
+
function Dn(e, t) {
|
747
|
+
var r = e.length === 1 ? Un : rr;
|
748
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
749
749
|
}
|
750
|
-
function
|
751
|
-
return
|
750
|
+
function Fn(e, t) {
|
751
|
+
return nr(e, this, rr, t.cache.create(), t.serializer);
|
752
752
|
}
|
753
|
-
var
|
753
|
+
var jn = function() {
|
754
754
|
return JSON.stringify(arguments);
|
755
|
-
},
|
755
|
+
}, kn = (
|
756
756
|
/** @class */
|
757
757
|
function() {
|
758
758
|
function e() {
|
@@ -764,12 +764,12 @@ var kn = function() {
|
|
764
764
|
this.cache[t] = r;
|
765
765
|
}, e;
|
766
766
|
}()
|
767
|
-
),
|
767
|
+
), Vn = {
|
768
768
|
create: function() {
|
769
|
-
return new
|
769
|
+
return new kn();
|
770
770
|
}
|
771
771
|
}, $e = {
|
772
|
-
variadic:
|
772
|
+
variadic: Fn
|
773
773
|
}, v;
|
774
774
|
(function(e) {
|
775
775
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
@@ -778,47 +778,47 @@ var w;
|
|
778
778
|
(function(e) {
|
779
779
|
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";
|
780
780
|
})(w || (w = {}));
|
781
|
-
var
|
781
|
+
var Y;
|
782
782
|
(function(e) {
|
783
783
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
784
|
-
})(
|
785
|
-
function
|
784
|
+
})(Y || (Y = {}));
|
785
|
+
function St(e) {
|
786
786
|
return e.type === w.literal;
|
787
787
|
}
|
788
|
-
function
|
788
|
+
function Xn(e) {
|
789
789
|
return e.type === w.argument;
|
790
790
|
}
|
791
|
-
function
|
791
|
+
function ir(e) {
|
792
792
|
return e.type === w.number;
|
793
793
|
}
|
794
|
-
function
|
794
|
+
function or(e) {
|
795
795
|
return e.type === w.date;
|
796
796
|
}
|
797
|
-
function
|
797
|
+
function sr(e) {
|
798
798
|
return e.type === w.time;
|
799
799
|
}
|
800
|
-
function
|
800
|
+
function ar(e) {
|
801
801
|
return e.type === w.select;
|
802
802
|
}
|
803
|
-
function
|
803
|
+
function lr(e) {
|
804
804
|
return e.type === w.plural;
|
805
805
|
}
|
806
|
-
function
|
806
|
+
function Wn(e) {
|
807
807
|
return e.type === w.pound;
|
808
808
|
}
|
809
|
-
function
|
809
|
+
function ur(e) {
|
810
810
|
return e.type === w.tag;
|
811
811
|
}
|
812
|
-
function
|
813
|
-
return !!(e && typeof e == "object" && e.type ===
|
812
|
+
function hr(e) {
|
813
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
814
814
|
}
|
815
815
|
function We(e) {
|
816
|
-
return !!(e && typeof e == "object" && e.type ===
|
816
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
817
817
|
}
|
818
|
-
var
|
819
|
-
function
|
818
|
+
var cr = /[ \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;
|
819
|
+
function Zn(e) {
|
820
820
|
var t = {};
|
821
|
-
return e.replace(
|
821
|
+
return e.replace(zn, function(r) {
|
822
822
|
var n = r.length;
|
823
823
|
switch (r[0]) {
|
824
824
|
case "G":
|
@@ -907,11 +907,11 @@ function Qn(e) {
|
|
907
907
|
return "";
|
908
908
|
}), t;
|
909
909
|
}
|
910
|
-
var
|
911
|
-
function
|
910
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
911
|
+
function Jn(e) {
|
912
912
|
if (e.length === 0)
|
913
913
|
throw new Error("Number skeleton cannot be empty");
|
914
|
-
for (var t = e.split(
|
914
|
+
for (var t = e.split(Qn).filter(function(f) {
|
915
915
|
return f.length > 0;
|
916
916
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
917
917
|
var o = i[n], s = o.split("/");
|
@@ -929,14 +929,14 @@ function Yn(e) {
|
|
929
929
|
function qn(e) {
|
930
930
|
return e.replace(/^(.*?)-/, "");
|
931
931
|
}
|
932
|
-
var
|
933
|
-
function
|
932
|
+
var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
933
|
+
function Tt(e) {
|
934
934
|
var t = {};
|
935
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
935
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
|
936
936
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
937
937
|
}), t;
|
938
938
|
}
|
939
|
-
function
|
939
|
+
function pr(e) {
|
940
940
|
switch (e) {
|
941
941
|
case "sign-auto":
|
942
942
|
return {
|
@@ -976,7 +976,7 @@ function dr(e) {
|
|
976
976
|
};
|
977
977
|
}
|
978
978
|
}
|
979
|
-
function
|
979
|
+
function Kn(e) {
|
980
980
|
var t;
|
981
981
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
982
982
|
notation: "engineering"
|
@@ -984,17 +984,17 @@ function ei(e) {
|
|
984
984
|
notation: "scientific"
|
985
985
|
}, e = e.slice(1)), t) {
|
986
986
|
var r = e.slice(0, 2);
|
987
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
987
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
|
988
988
|
throw new Error("Malformed concise eng/scientific notation");
|
989
989
|
t.minimumIntegerDigits = e.length;
|
990
990
|
}
|
991
991
|
return t;
|
992
992
|
}
|
993
|
-
function
|
994
|
-
var t = {}, r =
|
993
|
+
function Ht(e) {
|
994
|
+
var t = {}, r = pr(e);
|
995
995
|
return r || t;
|
996
996
|
}
|
997
|
-
function
|
997
|
+
function ei(e) {
|
998
998
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
999
999
|
var i = n[r];
|
1000
1000
|
switch (i.stem) {
|
@@ -1029,13 +1029,13 @@ function ti(e) {
|
|
1029
1029
|
t.notation = "compact", t.compactDisplay = "long";
|
1030
1030
|
continue;
|
1031
1031
|
case "scientific":
|
1032
|
-
t =
|
1033
|
-
return
|
1032
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
1033
|
+
return x(x({}, l), Ht(u));
|
1034
1034
|
}, {}));
|
1035
1035
|
continue;
|
1036
1036
|
case "engineering":
|
1037
|
-
t =
|
1038
|
-
return
|
1037
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
1038
|
+
return x(x({}, l), Ht(u));
|
1039
1039
|
}, {}));
|
1040
1040
|
continue;
|
1041
1041
|
case "notation-simple":
|
@@ -1080,7 +1080,7 @@ function ti(e) {
|
|
1080
1080
|
case "integer-width":
|
1081
1081
|
if (i.options.length > 1)
|
1082
1082
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1083
|
-
i.options[0].replace(
|
1083
|
+
i.options[0].replace(Yn, function(l, u, h, c, f, p) {
|
1084
1084
|
if (u)
|
1085
1085
|
t.minimumIntegerDigits = h.length;
|
1086
1086
|
else {
|
@@ -1093,28 +1093,28 @@ function ti(e) {
|
|
1093
1093
|
});
|
1094
1094
|
continue;
|
1095
1095
|
}
|
1096
|
-
if (
|
1096
|
+
if (dr.test(i.stem)) {
|
1097
1097
|
t.minimumIntegerDigits = i.stem.length;
|
1098
1098
|
continue;
|
1099
1099
|
}
|
1100
|
-
if (
|
1100
|
+
if (wt.test(i.stem)) {
|
1101
1101
|
if (i.options.length > 1)
|
1102
1102
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1103
|
-
i.stem.replace(
|
1103
|
+
i.stem.replace(wt, function(l, u, h, c, f, p) {
|
1104
1104
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1105
1105
|
});
|
1106
1106
|
var o = i.options[0];
|
1107
|
-
o === "w" ? t =
|
1107
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Tt(o)));
|
1108
1108
|
continue;
|
1109
1109
|
}
|
1110
|
-
if (
|
1111
|
-
t =
|
1110
|
+
if (fr.test(i.stem)) {
|
1111
|
+
t = x(x({}, t), Tt(i.stem));
|
1112
1112
|
continue;
|
1113
1113
|
}
|
1114
|
-
var s =
|
1115
|
-
s && (t =
|
1116
|
-
var a =
|
1117
|
-
a && (t =
|
1114
|
+
var s = pr(i.stem);
|
1115
|
+
s && (t = x(x({}, t), s));
|
1116
|
+
var a = Kn(i.stem);
|
1117
|
+
a && (t = x(x({}, t), a));
|
1118
1118
|
}
|
1119
1119
|
return t;
|
1120
1120
|
}
|
@@ -2533,13 +2533,13 @@ var me = {
|
|
2533
2533
|
"h"
|
2534
2534
|
]
|
2535
2535
|
};
|
2536
|
-
function
|
2536
|
+
function ti(e, t) {
|
2537
2537
|
for (var r = "", n = 0; n < e.length; n++) {
|
2538
2538
|
var i = e.charAt(n);
|
2539
2539
|
if (i === "j") {
|
2540
2540
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2541
2541
|
o++, n++;
|
2542
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
2542
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
|
2543
2543
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2544
2544
|
r += l;
|
2545
2545
|
for (; s-- > 0; )
|
@@ -2548,7 +2548,7 @@ function ri(e, t) {
|
|
2548
2548
|
}
|
2549
2549
|
return r;
|
2550
2550
|
}
|
2551
|
-
function
|
2551
|
+
function ri(e) {
|
2552
2552
|
var t = e.hourCycle;
|
2553
2553
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2554
2554
|
e.hourCycles && // @ts-ignore
|
@@ -2570,20 +2570,20 @@ function ni(e) {
|
|
2570
2570
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
2571
2571
|
return i[0];
|
2572
2572
|
}
|
2573
|
-
var Ge,
|
2573
|
+
var Ge, ni = new RegExp("^".concat(cr.source, "*")), ii = new RegExp("".concat(cr.source, "*$"));
|
2574
2574
|
function y(e, t) {
|
2575
2575
|
return { start: e, end: t };
|
2576
2576
|
}
|
2577
|
-
var
|
2577
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
2578
2578
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2579
2579
|
}, ze = !0;
|
2580
2580
|
try {
|
2581
|
-
var
|
2582
|
-
ze = ((Ge =
|
2581
|
+
var di = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2582
|
+
ze = ((Ge = di.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2583
2583
|
} catch (e) {
|
2584
2584
|
ze = !1;
|
2585
2585
|
}
|
2586
|
-
var
|
2586
|
+
var Ct = oi ? (
|
2587
2587
|
// Native
|
2588
2588
|
function(t, r, n) {
|
2589
2589
|
return t.startsWith(r, n);
|
@@ -2593,7 +2593,7 @@ var Ht = si ? (
|
|
2593
2593
|
function(t, r, n) {
|
2594
2594
|
return t.slice(n, n + r.length) === r;
|
2595
2595
|
}
|
2596
|
-
), Ze =
|
2596
|
+
), Ze = si ? String.fromCodePoint : (
|
2597
2597
|
// IE11
|
2598
2598
|
function() {
|
2599
2599
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2605,9 +2605,9 @@ var Ht = si ? (
|
|
2605
2605
|
}
|
2606
2606
|
return n;
|
2607
2607
|
}
|
2608
|
-
),
|
2608
|
+
), Pt = (
|
2609
2609
|
// native
|
2610
|
-
|
2610
|
+
ai ? Object.fromEntries : (
|
2611
2611
|
// Ponyfill
|
2612
2612
|
function(t) {
|
2613
2613
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2617,7 +2617,7 @@ var Ht = si ? (
|
|
2617
2617
|
return r;
|
2618
2618
|
}
|
2619
2619
|
)
|
2620
|
-
),
|
2620
|
+
), mr = li ? (
|
2621
2621
|
// Native
|
2622
2622
|
function(t, r) {
|
2623
2623
|
return t.codePointAt(r);
|
@@ -2631,7 +2631,7 @@ var Ht = si ? (
|
|
2631
2631
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2632
2632
|
}
|
2633
2633
|
}
|
2634
|
-
),
|
2634
|
+
), pi = ui ? (
|
2635
2635
|
// Native
|
2636
2636
|
function(t) {
|
2637
2637
|
return t.trimStart();
|
@@ -2639,9 +2639,9 @@ var Ht = si ? (
|
|
2639
2639
|
) : (
|
2640
2640
|
// Ponyfill
|
2641
2641
|
function(t) {
|
2642
|
-
return t.replace(
|
2642
|
+
return t.replace(ni, "");
|
2643
2643
|
}
|
2644
|
-
),
|
2644
|
+
), mi = hi ? (
|
2645
2645
|
// Native
|
2646
2646
|
function(t) {
|
2647
2647
|
return t.trimEnd();
|
@@ -2649,32 +2649,32 @@ var Ht = si ? (
|
|
2649
2649
|
) : (
|
2650
2650
|
// Ponyfill
|
2651
2651
|
function(t) {
|
2652
|
-
return t.replace(
|
2652
|
+
return t.replace(ii, "");
|
2653
2653
|
}
|
2654
2654
|
);
|
2655
|
-
function
|
2655
|
+
function br(e, t) {
|
2656
2656
|
return new RegExp(e, t);
|
2657
2657
|
}
|
2658
2658
|
var Qe;
|
2659
2659
|
if (ze) {
|
2660
|
-
var
|
2660
|
+
var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2661
2661
|
Qe = function(t, r) {
|
2662
2662
|
var n;
|
2663
|
-
|
2664
|
-
var i =
|
2663
|
+
Bt.lastIndex = r;
|
2664
|
+
var i = Bt.exec(t);
|
2665
2665
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2666
2666
|
};
|
2667
2667
|
} else
|
2668
2668
|
Qe = function(t, r) {
|
2669
2669
|
for (var n = []; ; ) {
|
2670
|
-
var i =
|
2671
|
-
if (i === void 0 ||
|
2670
|
+
var i = mr(t, r);
|
2671
|
+
if (i === void 0 || gr(i) || yi(i))
|
2672
2672
|
break;
|
2673
2673
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2674
2674
|
}
|
2675
2675
|
return Ze.apply(void 0, n);
|
2676
2676
|
};
|
2677
|
-
var
|
2677
|
+
var bi = (
|
2678
2678
|
/** @class */
|
2679
2679
|
function() {
|
2680
2680
|
function e(t, r) {
|
@@ -2756,7 +2756,7 @@ var gi = (
|
|
2756
2756
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2757
2757
|
}, e.prototype.parseTagName = function() {
|
2758
2758
|
var t = this.offset();
|
2759
|
-
for (this.bump(); !this.isEOF() &&
|
2759
|
+
for (this.bump(); !this.isEOF() && vi(this.char()); )
|
2760
2760
|
this.bump();
|
2761
2761
|
return this.message.slice(t, this.offset());
|
2762
2762
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2785,7 +2785,7 @@ var gi = (
|
|
2785
2785
|
};
|
2786
2786
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2787
2787
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2788
|
-
!
|
2788
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2789
2789
|
}, e.prototype.tryParseQuote = function(t) {
|
2790
2790
|
if (this.isEOF() || this.char() !== 39)
|
2791
2791
|
return null;
|
@@ -2872,7 +2872,7 @@ var gi = (
|
|
2872
2872
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2873
2873
|
if (c.err)
|
2874
2874
|
return c;
|
2875
|
-
var f =
|
2875
|
+
var f = mi(c.val);
|
2876
2876
|
if (f.length === 0)
|
2877
2877
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2878
2878
|
var p = y(h, this.clonePosition());
|
@@ -2882,8 +2882,8 @@ var gi = (
|
|
2882
2882
|
if (d.err)
|
2883
2883
|
return d;
|
2884
2884
|
var g = y(i, this.clonePosition());
|
2885
|
-
if (u &&
|
2886
|
-
var m =
|
2885
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
2886
|
+
var m = pi(u.style.slice(2));
|
2887
2887
|
if (a === "number") {
|
2888
2888
|
var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2889
2889
|
return c.err ? c : {
|
@@ -2893,13 +2893,13 @@ var gi = (
|
|
2893
2893
|
} else {
|
2894
2894
|
if (m.length === 0)
|
2895
2895
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
2896
|
-
var
|
2897
|
-
this.locale && (
|
2896
|
+
var _ = m;
|
2897
|
+
this.locale && (_ = ti(m, this.locale));
|
2898
2898
|
var f = {
|
2899
|
-
type:
|
2900
|
-
pattern:
|
2899
|
+
type: Y.dateTime,
|
2900
|
+
pattern: _,
|
2901
2901
|
location: u.styleLocation,
|
2902
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2902
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(_) : {}
|
2903
2903
|
}, S = a === "date" ? w.date : w.time;
|
2904
2904
|
return {
|
2905
2905
|
val: { type: S, value: n, location: g, style: f },
|
@@ -2920,43 +2920,43 @@ var gi = (
|
|
2920
2920
|
case "plural":
|
2921
2921
|
case "selectordinal":
|
2922
2922
|
case "select": {
|
2923
|
-
var
|
2923
|
+
var T = this.clonePosition();
|
2924
2924
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2925
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
2925
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, x({}, T)));
|
2926
2926
|
this.bumpSpace();
|
2927
|
-
var
|
2928
|
-
if (a !== "select" &&
|
2927
|
+
var H = this.parseIdentifierIfPossible(), A = 0;
|
2928
|
+
if (a !== "select" && H.value === "offset") {
|
2929
2929
|
if (!this.bumpIf(":"))
|
2930
2930
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
2931
2931
|
this.bumpSpace();
|
2932
2932
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2933
2933
|
if (c.err)
|
2934
2934
|
return c;
|
2935
|
-
this.bumpSpace(),
|
2935
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = c.val;
|
2936
2936
|
}
|
2937
|
-
var
|
2938
|
-
if (
|
2939
|
-
return
|
2937
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, H);
|
2938
|
+
if (O.err)
|
2939
|
+
return O;
|
2940
2940
|
var d = this.tryParseArgumentClose(i);
|
2941
2941
|
if (d.err)
|
2942
2942
|
return d;
|
2943
|
-
var
|
2943
|
+
var fe = y(i, this.clonePosition());
|
2944
2944
|
return a === "select" ? {
|
2945
2945
|
val: {
|
2946
2946
|
type: w.select,
|
2947
2947
|
value: n,
|
2948
|
-
options:
|
2949
|
-
location:
|
2948
|
+
options: Pt(O.val),
|
2949
|
+
location: fe
|
2950
2950
|
},
|
2951
2951
|
err: null
|
2952
2952
|
} : {
|
2953
2953
|
val: {
|
2954
2954
|
type: w.plural,
|
2955
2955
|
value: n,
|
2956
|
-
options:
|
2957
|
-
offset:
|
2956
|
+
options: Pt(O.val),
|
2957
|
+
offset: A,
|
2958
2958
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2959
|
-
location:
|
2959
|
+
location: fe
|
2960
2960
|
},
|
2961
2961
|
err: null
|
2962
2962
|
};
|
@@ -3004,16 +3004,16 @@ var gi = (
|
|
3004
3004
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3005
3005
|
var n = [];
|
3006
3006
|
try {
|
3007
|
-
n =
|
3007
|
+
n = Jn(t);
|
3008
3008
|
} catch (i) {
|
3009
3009
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3010
3010
|
}
|
3011
3011
|
return {
|
3012
3012
|
val: {
|
3013
|
-
type:
|
3013
|
+
type: Y.number,
|
3014
3014
|
tokens: n,
|
3015
3015
|
location: r,
|
3016
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3016
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
3017
3017
|
},
|
3018
3018
|
err: null
|
3019
3019
|
};
|
@@ -3061,7 +3061,7 @@ var gi = (
|
|
3061
3061
|
break;
|
3062
3062
|
}
|
3063
3063
|
var l = y(i, this.clonePosition());
|
3064
|
-
return o ? (s *= n,
|
3064
|
+
return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
3065
3065
|
}, e.prototype.offset = function() {
|
3066
3066
|
return this.position.offset;
|
3067
3067
|
}, e.prototype.isEOF = function() {
|
@@ -3076,7 +3076,7 @@ var gi = (
|
|
3076
3076
|
var t = this.position.offset;
|
3077
3077
|
if (t >= this.message.length)
|
3078
3078
|
throw Error("out of bound");
|
3079
|
-
var r =
|
3079
|
+
var r = mr(this.message, t);
|
3080
3080
|
if (r === void 0)
|
3081
3081
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3082
3082
|
return r;
|
@@ -3095,7 +3095,7 @@ var gi = (
|
|
3095
3095
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3096
3096
|
}
|
3097
3097
|
}, e.prototype.bumpIf = function(t) {
|
3098
|
-
if (
|
3098
|
+
if (Ct(this.message, t, this.offset())) {
|
3099
3099
|
for (var r = 0; r < t.length; r++)
|
3100
3100
|
this.bump();
|
3101
3101
|
return !0;
|
@@ -3117,7 +3117,7 @@ var gi = (
|
|
3117
3117
|
break;
|
3118
3118
|
}
|
3119
3119
|
}, e.prototype.bumpSpace = function() {
|
3120
|
-
for (; !this.isEOF() &&
|
3120
|
+
for (; !this.isEOF() && gr(this.char()); )
|
3121
3121
|
this.bump();
|
3122
3122
|
}, e.prototype.peek = function() {
|
3123
3123
|
if (this.isEOF())
|
@@ -3130,34 +3130,34 @@ var gi = (
|
|
3130
3130
|
function Je(e) {
|
3131
3131
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3132
3132
|
}
|
3133
|
-
function
|
3133
|
+
function gi(e) {
|
3134
3134
|
return Je(e) || e === 47;
|
3135
3135
|
}
|
3136
|
-
function
|
3136
|
+
function vi(e) {
|
3137
3137
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3138
3138
|
}
|
3139
|
-
function
|
3139
|
+
function gr(e) {
|
3140
3140
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3141
3141
|
}
|
3142
|
-
function
|
3142
|
+
function yi(e) {
|
3143
3143
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3144
3144
|
}
|
3145
|
-
function
|
3145
|
+
function qe(e) {
|
3146
3146
|
e.forEach(function(t) {
|
3147
|
-
if (delete t.location,
|
3147
|
+
if (delete t.location, ar(t) || lr(t))
|
3148
3148
|
for (var r in t.options)
|
3149
|
-
delete t.options[r].location,
|
3150
|
-
else
|
3149
|
+
delete t.options[r].location, qe(t.options[r].value);
|
3150
|
+
else ir(t) && hr(t.style) || (or(t) || sr(t)) && We(t.style) ? delete t.style.location : ur(t) && qe(t.children);
|
3151
3151
|
});
|
3152
3152
|
}
|
3153
|
-
function
|
3154
|
-
t === void 0 && (t = {}), t =
|
3155
|
-
var r = new
|
3153
|
+
function _i(e, t) {
|
3154
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3155
|
+
var r = new bi(e, t).parse();
|
3156
3156
|
if (r.err) {
|
3157
3157
|
var n = SyntaxError(v[r.err.kind]);
|
3158
3158
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3159
3159
|
}
|
3160
|
-
return t != null && t.captureLocation ||
|
3160
|
+
return t != null && t.captureLocation || qe(r.val), r.val;
|
3161
3161
|
}
|
3162
3162
|
var K;
|
3163
3163
|
(function(e) {
|
@@ -3166,7 +3166,7 @@ var K;
|
|
3166
3166
|
var Be = (
|
3167
3167
|
/** @class */
|
3168
3168
|
function(e) {
|
3169
|
-
|
3169
|
+
F(t, e);
|
3170
3170
|
function t(r, n, i) {
|
3171
3171
|
var o = e.call(this, r) || this;
|
3172
3172
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3175,153 +3175,153 @@ var Be = (
|
|
3175
3175
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3176
3176
|
}, t;
|
3177
3177
|
}(Error)
|
3178
|
-
),
|
3178
|
+
), At = (
|
3179
3179
|
/** @class */
|
3180
3180
|
function(e) {
|
3181
|
-
|
3181
|
+
F(t, e);
|
3182
3182
|
function t(r, n, i, o) {
|
3183
3183
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
|
3184
3184
|
}
|
3185
3185
|
return t;
|
3186
3186
|
}(Be)
|
3187
|
-
),
|
3187
|
+
), xi = (
|
3188
3188
|
/** @class */
|
3189
3189
|
function(e) {
|
3190
|
-
|
3190
|
+
F(t, e);
|
3191
3191
|
function t(r, n, i) {
|
3192
3192
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
3193
3193
|
}
|
3194
3194
|
return t;
|
3195
3195
|
}(Be)
|
3196
|
-
),
|
3196
|
+
), Ei = (
|
3197
3197
|
/** @class */
|
3198
3198
|
function(e) {
|
3199
|
-
|
3199
|
+
F(t, e);
|
3200
3200
|
function t(r, n) {
|
3201
3201
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
3202
3202
|
}
|
3203
3203
|
return t;
|
3204
3204
|
}(Be)
|
3205
|
-
),
|
3205
|
+
), B;
|
3206
3206
|
(function(e) {
|
3207
3207
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3208
|
-
})(
|
3209
|
-
function
|
3208
|
+
})(B || (B = {}));
|
3209
|
+
function Si(e) {
|
3210
3210
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3211
3211
|
var n = t[t.length - 1];
|
3212
|
-
return !n || n.type !==
|
3212
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
3213
3213
|
}, []);
|
3214
3214
|
}
|
3215
|
-
function
|
3215
|
+
function wi(e) {
|
3216
3216
|
return typeof e == "function";
|
3217
3217
|
}
|
3218
3218
|
function ve(e, t, r, n, i, o, s) {
|
3219
|
-
if (e.length === 1 &&
|
3219
|
+
if (e.length === 1 && St(e[0]))
|
3220
3220
|
return [
|
3221
3221
|
{
|
3222
|
-
type:
|
3222
|
+
type: B.literal,
|
3223
3223
|
value: e[0].value
|
3224
3224
|
}
|
3225
3225
|
];
|
3226
3226
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
3227
3227
|
var h = u[l];
|
3228
|
-
if (
|
3228
|
+
if (St(h)) {
|
3229
3229
|
a.push({
|
3230
|
-
type:
|
3230
|
+
type: B.literal,
|
3231
3231
|
value: h.value
|
3232
3232
|
});
|
3233
3233
|
continue;
|
3234
3234
|
}
|
3235
|
-
if (
|
3235
|
+
if (Wn(h)) {
|
3236
3236
|
typeof o == "number" && a.push({
|
3237
|
-
type:
|
3237
|
+
type: B.literal,
|
3238
3238
|
value: r.getNumberFormat(t).format(o)
|
3239
3239
|
});
|
3240
3240
|
continue;
|
3241
3241
|
}
|
3242
3242
|
var c = h.value;
|
3243
3243
|
if (!(i && c in i))
|
3244
|
-
throw new
|
3244
|
+
throw new Ei(c, s);
|
3245
3245
|
var f = i[c];
|
3246
|
-
if (
|
3246
|
+
if (Xn(h)) {
|
3247
3247
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3248
|
-
type: typeof f == "string" ?
|
3248
|
+
type: typeof f == "string" ? B.literal : B.object,
|
3249
3249
|
value: f
|
3250
3250
|
});
|
3251
3251
|
continue;
|
3252
3252
|
}
|
3253
|
-
if (
|
3253
|
+
if (or(h)) {
|
3254
3254
|
var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
3255
3255
|
a.push({
|
3256
|
-
type:
|
3256
|
+
type: B.literal,
|
3257
3257
|
value: r.getDateTimeFormat(t, p).format(f)
|
3258
3258
|
});
|
3259
3259
|
continue;
|
3260
3260
|
}
|
3261
|
-
if (
|
3261
|
+
if (sr(h)) {
|
3262
3262
|
var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
3263
3263
|
a.push({
|
3264
|
-
type:
|
3264
|
+
type: B.literal,
|
3265
3265
|
value: r.getDateTimeFormat(t, p).format(f)
|
3266
3266
|
});
|
3267
3267
|
continue;
|
3268
3268
|
}
|
3269
|
-
if (
|
3270
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3269
|
+
if (ir(h)) {
|
3270
|
+
var p = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
|
3271
3271
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3272
|
-
type:
|
3272
|
+
type: B.literal,
|
3273
3273
|
value: r.getNumberFormat(t, p).format(f)
|
3274
3274
|
});
|
3275
3275
|
continue;
|
3276
3276
|
}
|
3277
|
-
if (
|
3277
|
+
if (ur(h)) {
|
3278
3278
|
var d = h.children, g = h.value, m = i[g];
|
3279
|
-
if (!
|
3280
|
-
throw new
|
3281
|
-
var
|
3282
|
-
return
|
3279
|
+
if (!wi(m))
|
3280
|
+
throw new xi(g, "function", s);
|
3281
|
+
var _ = ve(d, t, r, n, i, o), S = m(_.map(function(A) {
|
3282
|
+
return A.value;
|
3283
3283
|
}));
|
3284
|
-
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(
|
3284
|
+
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(A) {
|
3285
3285
|
return {
|
3286
|
-
type: typeof
|
3287
|
-
value:
|
3286
|
+
type: typeof A == "string" ? B.literal : B.object,
|
3287
|
+
value: A
|
3288
3288
|
};
|
3289
3289
|
}));
|
3290
3290
|
}
|
3291
|
-
if (
|
3292
|
-
var
|
3293
|
-
if (!
|
3294
|
-
throw new
|
3295
|
-
a.push.apply(a, ve(
|
3291
|
+
if (ar(h)) {
|
3292
|
+
var T = h.options[f] || h.options.other;
|
3293
|
+
if (!T)
|
3294
|
+
throw new At(h.value, f, Object.keys(h.options), s);
|
3295
|
+
a.push.apply(a, ve(T.value, t, r, n, i));
|
3296
3296
|
continue;
|
3297
3297
|
}
|
3298
|
-
if (
|
3299
|
-
var
|
3300
|
-
if (!
|
3298
|
+
if (lr(h)) {
|
3299
|
+
var T = h.options["=".concat(f)];
|
3300
|
+
if (!T) {
|
3301
3301
|
if (!Intl.PluralRules)
|
3302
3302
|
throw new Be(`Intl.PluralRules is not available in this environment.
|
3303
3303
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3304
3304
|
`, K.MISSING_INTL_API, s);
|
3305
|
-
var
|
3306
|
-
|
3305
|
+
var H = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3306
|
+
T = h.options[H] || h.options.other;
|
3307
3307
|
}
|
3308
|
-
if (!
|
3309
|
-
throw new
|
3310
|
-
a.push.apply(a, ve(
|
3308
|
+
if (!T)
|
3309
|
+
throw new At(h.value, f, Object.keys(h.options), s);
|
3310
|
+
a.push.apply(a, ve(T.value, t, r, n, i, f - (h.offset || 0)));
|
3311
3311
|
continue;
|
3312
3312
|
}
|
3313
3313
|
}
|
3314
|
-
return
|
3314
|
+
return Si(a);
|
3315
3315
|
}
|
3316
|
-
function
|
3317
|
-
return t ?
|
3318
|
-
return r[n] =
|
3316
|
+
function Ti(e, t) {
|
3317
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3318
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
3319
3319
|
}, {})) : e;
|
3320
3320
|
}
|
3321
|
-
function
|
3321
|
+
function Hi(e, t) {
|
3322
3322
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3323
|
-
return r[n] =
|
3324
|
-
},
|
3323
|
+
return r[n] = Ti(e[n], t[n]), r;
|
3324
|
+
}, x({}, e)) : e;
|
3325
3325
|
}
|
3326
3326
|
function Ue(e) {
|
3327
3327
|
return {
|
@@ -3337,7 +3337,7 @@ function Ue(e) {
|
|
3337
3337
|
}
|
3338
3338
|
};
|
3339
3339
|
}
|
3340
|
-
function
|
3340
|
+
function Ci(e) {
|
3341
3341
|
return e === void 0 && (e = {
|
3342
3342
|
number: {},
|
3343
3343
|
dateTime: {},
|
@@ -3369,7 +3369,7 @@ function Pi(e) {
|
|
3369
3369
|
})
|
3370
3370
|
};
|
3371
3371
|
}
|
3372
|
-
var
|
3372
|
+
var Pi = (
|
3373
3373
|
/** @class */
|
3374
3374
|
function() {
|
3375
3375
|
function e(t, r, n, i) {
|
@@ -3384,7 +3384,7 @@ var Bi = (
|
|
3384
3384
|
if (u.length === 1)
|
3385
3385
|
return u[0].value;
|
3386
3386
|
var h = u.reduce(function(c, f) {
|
3387
|
-
return !c.length || f.type !==
|
3387
|
+
return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3388
3388
|
}, []);
|
3389
3389
|
return h.length <= 1 ? h[0] || "" : h;
|
3390
3390
|
}, this.formatToParts = function(l) {
|
@@ -3401,13 +3401,13 @@ var Bi = (
|
|
3401
3401
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3402
3402
|
var s = i || {};
|
3403
3403
|
s.formatters;
|
3404
|
-
var a =
|
3405
|
-
this.ast = e.__parse(t,
|
3404
|
+
var a = $n(s, ["formatters"]);
|
3405
|
+
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
3406
3406
|
} else
|
3407
3407
|
this.ast = t;
|
3408
3408
|
if (!Array.isArray(this.ast))
|
3409
3409
|
throw new TypeError("A message must be provided as a String or AST.");
|
3410
|
-
this.formats =
|
3410
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
3411
3411
|
}
|
3412
3412
|
return Object.defineProperty(e, "defaultLocale", {
|
3413
3413
|
get: function() {
|
@@ -3420,7 +3420,7 @@ var Bi = (
|
|
3420
3420
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3421
3421
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3422
3422
|
}
|
3423
|
-
}, e.__parse =
|
3423
|
+
}, e.__parse = _i, e.formats = {
|
3424
3424
|
number: {
|
3425
3425
|
integer: {
|
3426
3426
|
maximumFractionDigits: 0
|
@@ -3481,7 +3481,7 @@ var Bi = (
|
|
3481
3481
|
}, e;
|
3482
3482
|
}()
|
3483
3483
|
);
|
3484
|
-
function
|
3484
|
+
function Bi(e, t) {
|
3485
3485
|
if (t == null)
|
3486
3486
|
return;
|
3487
3487
|
if (t in e)
|
@@ -3502,92 +3502,92 @@ function Ai(e, t) {
|
|
3502
3502
|
n = void 0;
|
3503
3503
|
return n;
|
3504
3504
|
}
|
3505
|
-
const
|
3505
|
+
const j = {}, Ai = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
|
3506
3506
|
if (t == null)
|
3507
3507
|
return;
|
3508
|
-
if (t in
|
3509
|
-
return
|
3508
|
+
if (t in j && e in j[t])
|
3509
|
+
return j[t][e];
|
3510
3510
|
const r = Ae(t);
|
3511
3511
|
for (let n = 0; n < r.length; n++) {
|
3512
|
-
const i = r[n], o =
|
3512
|
+
const i = r[n], o = Ii(i, e);
|
3513
3513
|
if (o)
|
3514
|
-
return
|
3514
|
+
return Ai(e, t, o);
|
3515
3515
|
}
|
3516
3516
|
};
|
3517
3517
|
let it;
|
3518
|
-
const
|
3519
|
-
function
|
3518
|
+
const ce = Pe({});
|
3519
|
+
function Oi(e) {
|
3520
3520
|
return it[e] || null;
|
3521
3521
|
}
|
3522
|
-
function
|
3522
|
+
function yr(e) {
|
3523
3523
|
return e in it;
|
3524
3524
|
}
|
3525
|
-
function
|
3526
|
-
if (!
|
3525
|
+
function Ii(e, t) {
|
3526
|
+
if (!yr(e))
|
3527
3527
|
return null;
|
3528
|
-
const r =
|
3529
|
-
return
|
3528
|
+
const r = Oi(e);
|
3529
|
+
return Bi(r, t);
|
3530
3530
|
}
|
3531
|
-
function
|
3531
|
+
function Li(e) {
|
3532
3532
|
if (e == null)
|
3533
3533
|
return;
|
3534
3534
|
const t = Ae(e);
|
3535
3535
|
for (let r = 0; r < t.length; r++) {
|
3536
3536
|
const n = t[r];
|
3537
|
-
if (
|
3537
|
+
if (yr(n))
|
3538
3538
|
return n;
|
3539
3539
|
}
|
3540
3540
|
}
|
3541
|
-
function
|
3542
|
-
delete
|
3541
|
+
function _r(e, ...t) {
|
3542
|
+
delete j[e], ce.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
|
3543
3543
|
}
|
3544
3544
|
re(
|
3545
|
-
[
|
3545
|
+
[ce],
|
3546
3546
|
([e]) => Object.keys(e)
|
3547
3547
|
);
|
3548
|
-
|
3548
|
+
ce.subscribe((e) => it = e);
|
3549
3549
|
const ye = {};
|
3550
|
-
function
|
3550
|
+
function Ni(e, t) {
|
3551
3551
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
3552
3552
|
}
|
3553
|
-
function
|
3553
|
+
function xr(e) {
|
3554
3554
|
return ye[e];
|
3555
3555
|
}
|
3556
|
-
function
|
3556
|
+
function Mi(e) {
|
3557
3557
|
return Ae(e).map((t) => {
|
3558
|
-
const r =
|
3558
|
+
const r = xr(t);
|
3559
3559
|
return [t, r ? [...r] : []];
|
3560
3560
|
}).filter(([, t]) => t.length > 0);
|
3561
3561
|
}
|
3562
|
-
function
|
3562
|
+
function Ye(e) {
|
3563
3563
|
return e == null ? !1 : Ae(e).some(
|
3564
3564
|
(t) => {
|
3565
3565
|
var r;
|
3566
|
-
return (r =
|
3566
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
3567
3567
|
}
|
3568
3568
|
);
|
3569
3569
|
}
|
3570
|
-
function
|
3570
|
+
function Ri(e, t) {
|
3571
3571
|
return Promise.all(
|
3572
|
-
t.map((n) => (
|
3573
|
-
).then((n) =>
|
3574
|
-
}
|
3575
|
-
const
|
3576
|
-
function
|
3577
|
-
if (!
|
3578
|
-
return e in
|
3579
|
-
const t =
|
3580
|
-
return
|
3572
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
3573
|
+
).then((n) => _r(e, ...n));
|
3574
|
+
}
|
3575
|
+
const se = {};
|
3576
|
+
function Er(e) {
|
3577
|
+
if (!Ye(e))
|
3578
|
+
return e in se ? se[e] : Promise.resolve();
|
3579
|
+
const t = Mi(e);
|
3580
|
+
return se[e] = Promise.all(
|
3581
3581
|
t.map(
|
3582
|
-
([r, n]) =>
|
3582
|
+
([r, n]) => Ri(r, n)
|
3583
3583
|
)
|
3584
3584
|
).then(() => {
|
3585
|
-
if (
|
3586
|
-
return
|
3587
|
-
delete
|
3588
|
-
}),
|
3585
|
+
if (Ye(e))
|
3586
|
+
return Er(e);
|
3587
|
+
delete se[e];
|
3588
|
+
}), se[e];
|
3589
3589
|
}
|
3590
|
-
const
|
3590
|
+
const $i = {
|
3591
3591
|
number: {
|
3592
3592
|
scientific: { notation: "scientific" },
|
3593
3593
|
engineering: { notation: "engineering" },
|
@@ -3616,57 +3616,57 @@ const Gi = {
|
|
3616
3616
|
timeZoneName: "short"
|
3617
3617
|
}
|
3618
3618
|
}
|
3619
|
-
},
|
3619
|
+
}, Gi = {
|
3620
3620
|
fallbackLocale: null,
|
3621
3621
|
loadingDelay: 200,
|
3622
|
-
formats:
|
3622
|
+
formats: $i,
|
3623
3623
|
warnOnMissingMessages: !0,
|
3624
3624
|
handleMissingMessage: void 0,
|
3625
3625
|
ignoreTag: !0
|
3626
|
-
},
|
3626
|
+
}, Ui = Gi;
|
3627
3627
|
function ee() {
|
3628
|
-
return
|
3628
|
+
return Ui;
|
3629
3629
|
}
|
3630
3630
|
const De = Pe(!1);
|
3631
|
-
var
|
3631
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
3632
3632
|
for (var r in t || (t = {}))
|
3633
|
-
|
3634
|
-
if (
|
3635
|
-
for (var r of
|
3636
|
-
|
3633
|
+
ki.call(t, r) && It(e, r, t[r]);
|
3634
|
+
if (Ot)
|
3635
|
+
for (var r of Ot(t))
|
3636
|
+
Vi.call(t, r) && It(e, r, t[r]);
|
3637
3637
|
return e;
|
3638
|
-
},
|
3638
|
+
}, Wi = (e, t) => Fi(e, ji(t));
|
3639
3639
|
let Ke;
|
3640
3640
|
const Te = Pe(null);
|
3641
|
-
function
|
3641
|
+
function Lt(e) {
|
3642
3642
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3643
3643
|
}
|
3644
3644
|
function Ae(e, t = ee().fallbackLocale) {
|
3645
|
-
const r =
|
3646
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3645
|
+
const r = Lt(e);
|
3646
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
3647
3647
|
}
|
3648
|
-
function
|
3648
|
+
function V() {
|
3649
3649
|
return Ke != null ? Ke : void 0;
|
3650
3650
|
}
|
3651
3651
|
Te.subscribe((e) => {
|
3652
3652
|
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3653
3653
|
});
|
3654
|
-
const
|
3655
|
-
if (e &&
|
3654
|
+
const zi = (e) => {
|
3655
|
+
if (e && Li(e) && Ye(e)) {
|
3656
3656
|
const { loadingDelay: t } = ee();
|
3657
3657
|
let r;
|
3658
|
-
return typeof window != "undefined" &&
|
3658
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
3659
3659
|
() => De.set(!0),
|
3660
3660
|
t
|
3661
|
-
) : De.set(!0),
|
3661
|
+
) : De.set(!0), Er(e).then(() => {
|
3662
3662
|
Te.set(e);
|
3663
3663
|
}).finally(() => {
|
3664
3664
|
clearTimeout(r), De.set(!1);
|
3665
3665
|
});
|
3666
3666
|
}
|
3667
3667
|
return Te.set(e);
|
3668
|
-
}, ne =
|
3669
|
-
set:
|
3668
|
+
}, ne = Wi(Xi({}, Te), {
|
3669
|
+
set: zi
|
3670
3670
|
}), Oe = (e) => {
|
3671
3671
|
const t = /* @__PURE__ */ Object.create(null);
|
3672
3672
|
return (n) => {
|
@@ -3674,40 +3674,40 @@ const Zi = (e) => {
|
|
3674
3674
|
return i in t ? t[i] : t[i] = e(n);
|
3675
3675
|
};
|
3676
3676
|
};
|
3677
|
-
var
|
3677
|
+
var Zi = Object.defineProperty, He = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
3678
3678
|
for (var r in t || (t = {}))
|
3679
|
-
|
3679
|
+
Sr.call(t, r) && Nt(e, r, t[r]);
|
3680
3680
|
if (He)
|
3681
3681
|
for (var r of He(t))
|
3682
|
-
|
3682
|
+
wr.call(t, r) && Nt(e, r, t[r]);
|
3683
3683
|
return e;
|
3684
3684
|
}, ie = (e, t) => {
|
3685
3685
|
var r = {};
|
3686
3686
|
for (var n in e)
|
3687
|
-
|
3687
|
+
Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3688
3688
|
if (e != null && He)
|
3689
3689
|
for (var n of He(e))
|
3690
|
-
t.indexOf(n) < 0 &&
|
3690
|
+
t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
|
3691
3691
|
return r;
|
3692
3692
|
};
|
3693
|
-
const
|
3693
|
+
const he = (e, t) => {
|
3694
3694
|
const { formats: r } = ee();
|
3695
3695
|
if (e in r && t in r[e])
|
3696
3696
|
return r[e][t];
|
3697
3697
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3698
|
-
},
|
3698
|
+
}, Qi = Oe(
|
3699
3699
|
(e) => {
|
3700
3700
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3701
3701
|
if (r == null)
|
3702
3702
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3703
|
-
return n && (i =
|
3703
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3704
3704
|
}
|
3705
|
-
),
|
3705
|
+
), Ji = Oe(
|
3706
3706
|
(e) => {
|
3707
3707
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3708
3708
|
if (r == null)
|
3709
3709
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3710
|
-
return n ? i =
|
3710
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3711
3711
|
}
|
3712
3712
|
), qi = Oe(
|
3713
3713
|
(e) => {
|
@@ -3716,48 +3716,48 @@ const ce = (e, t) => {
|
|
3716
3716
|
throw new Error(
|
3717
3717
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3718
3718
|
);
|
3719
|
-
return n ? i =
|
3719
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3720
3720
|
}
|
3721
|
-
),
|
3721
|
+
), Yi = (e = {}) => {
|
3722
3722
|
var t = e, {
|
3723
|
-
locale: r =
|
3723
|
+
locale: r = V()
|
3724
3724
|
} = t, n = ie(t, [
|
3725
3725
|
"locale"
|
3726
3726
|
]);
|
3727
|
-
return
|
3728
|
-
},
|
3727
|
+
return Qi(ot({ locale: r }, n));
|
3728
|
+
}, Ki = (e = {}) => {
|
3729
3729
|
var t = e, {
|
3730
|
-
locale: r =
|
3730
|
+
locale: r = V()
|
3731
3731
|
} = t, n = ie(t, [
|
3732
3732
|
"locale"
|
3733
3733
|
]);
|
3734
|
-
return
|
3735
|
-
},
|
3734
|
+
return Ji(ot({ locale: r }, n));
|
3735
|
+
}, eo = (e = {}) => {
|
3736
3736
|
var t = e, {
|
3737
|
-
locale: r =
|
3737
|
+
locale: r = V()
|
3738
3738
|
} = t, n = ie(t, [
|
3739
3739
|
"locale"
|
3740
3740
|
]);
|
3741
3741
|
return qi(ot({ locale: r }, n));
|
3742
|
-
},
|
3742
|
+
}, to = Oe(
|
3743
3743
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3744
|
-
(e, t =
|
3744
|
+
(e, t = V()) => new Pi(e, t, ee().formats, {
|
3745
3745
|
ignoreTag: ee().ignoreTag
|
3746
3746
|
})
|
3747
|
-
),
|
3747
|
+
), ro = (e, t = {}) => {
|
3748
3748
|
var r, n, i, o;
|
3749
3749
|
let s = t;
|
3750
3750
|
typeof e == "object" && (s = e, e = s.id);
|
3751
3751
|
const {
|
3752
3752
|
values: a,
|
3753
|
-
locale: l =
|
3753
|
+
locale: l = V(),
|
3754
3754
|
default: u
|
3755
3755
|
} = s;
|
3756
3756
|
if (l == null)
|
3757
3757
|
throw new Error(
|
3758
3758
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3759
3759
|
);
|
3760
|
-
let h =
|
3760
|
+
let h = vr(e, l);
|
3761
3761
|
if (!h)
|
3762
3762
|
h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3763
3763
|
else if (typeof h != "string")
|
@@ -3768,7 +3768,7 @@ const ce = (e, t) => {
|
|
3768
3768
|
return h;
|
3769
3769
|
let c = h;
|
3770
3770
|
try {
|
3771
|
-
c =
|
3771
|
+
c = to(h, l).format(a);
|
3772
3772
|
} catch (f) {
|
3773
3773
|
f instanceof Error && console.warn(
|
3774
3774
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3776,18 +3776,18 @@ const ce = (e, t) => {
|
|
3776
3776
|
);
|
3777
3777
|
}
|
3778
3778
|
return c;
|
3779
|
-
},
|
3779
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = V()) => vr(e, t), ao = re([ne, ce], () => ro);
|
3780
|
+
re([ne], () => no);
|
3780
3781
|
re([ne], () => io);
|
3781
3782
|
re([ne], () => oo);
|
3782
|
-
re([ne], () => so);
|
3783
|
-
|
3784
|
-
|
3785
|
-
yr(e, t);
|
3783
|
+
re([ne, ce], () => so);
|
3784
|
+
function Mt(e, t) {
|
3785
|
+
_r(e, t);
|
3786
3786
|
}
|
3787
|
-
function
|
3787
|
+
function lo(e) {
|
3788
3788
|
ne.set(e);
|
3789
3789
|
}
|
3790
|
-
const
|
3790
|
+
const Rt = {
|
3791
3791
|
en: {
|
3792
3792
|
collections: "Game Collections",
|
3793
3793
|
providers: "Game Providers",
|
@@ -3884,16 +3884,16 @@ const Mt = {
|
|
3884
3884
|
loading: "Loading, please wait ..."
|
3885
3885
|
}
|
3886
3886
|
};
|
3887
|
-
function
|
3887
|
+
function D(e) {
|
3888
3888
|
return typeof e == "function";
|
3889
3889
|
}
|
3890
|
-
function
|
3890
|
+
function Tr(e) {
|
3891
3891
|
var t = function(n) {
|
3892
3892
|
Error.call(n), n.stack = new Error().stack;
|
3893
3893
|
}, r = e(t);
|
3894
3894
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3895
3895
|
}
|
3896
|
-
var Fe =
|
3896
|
+
var Fe = Tr(function(e) {
|
3897
3897
|
return function(r) {
|
3898
3898
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3899
3899
|
` + r.map(function(n, i) {
|
@@ -3936,7 +3936,7 @@ var Ie = function() {
|
|
3936
3936
|
else
|
3937
3937
|
s.remove(this);
|
3938
3938
|
var h = this.initialTeardown;
|
3939
|
-
if (
|
3939
|
+
if (D(h))
|
3940
3940
|
try {
|
3941
3941
|
h();
|
3942
3942
|
} catch (g) {
|
@@ -3949,7 +3949,7 @@ var Ie = function() {
|
|
3949
3949
|
for (var f = Ve(c), p = f.next(); !p.done; p = f.next()) {
|
3950
3950
|
var d = p.value;
|
3951
3951
|
try {
|
3952
|
-
|
3952
|
+
$t(d);
|
3953
3953
|
} catch (g) {
|
3954
3954
|
o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], Xe(o)), Xe(g.errors)) : o.push(g);
|
3955
3955
|
}
|
@@ -3971,7 +3971,7 @@ var Ie = function() {
|
|
3971
3971
|
var r;
|
3972
3972
|
if (t && t !== this)
|
3973
3973
|
if (this.closed)
|
3974
|
-
|
3974
|
+
$t(t);
|
3975
3975
|
else {
|
3976
3976
|
if (t instanceof e) {
|
3977
3977
|
if (t.closed || t._hasParent(this))
|
@@ -3996,16 +3996,16 @@ var Ie = function() {
|
|
3996
3996
|
var t = new e();
|
3997
3997
|
return t.closed = !0, t;
|
3998
3998
|
}(), e;
|
3999
|
-
}(),
|
4000
|
-
function
|
4001
|
-
return e instanceof Ie || e && "closed" in e &&
|
3999
|
+
}(), Hr = Ie.EMPTY;
|
4000
|
+
function Cr(e) {
|
4001
|
+
return e instanceof Ie || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
4002
4002
|
}
|
4003
|
-
function
|
4004
|
-
|
4003
|
+
function $t(e) {
|
4004
|
+
D(e) ? e() : e.unsubscribe();
|
4005
4005
|
}
|
4006
|
-
var
|
4006
|
+
var uo = {
|
4007
4007
|
Promise: void 0
|
4008
|
-
},
|
4008
|
+
}, ho = {
|
4009
4009
|
setTimeout: function(e, t) {
|
4010
4010
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4011
4011
|
r[n - 2] = arguments[n];
|
@@ -4016,21 +4016,21 @@ var ho = {
|
|
4016
4016
|
},
|
4017
4017
|
delegate: void 0
|
4018
4018
|
};
|
4019
|
-
function
|
4020
|
-
|
4019
|
+
function co(e) {
|
4020
|
+
ho.setTimeout(function() {
|
4021
4021
|
throw e;
|
4022
4022
|
});
|
4023
4023
|
}
|
4024
|
-
function
|
4024
|
+
function Gt() {
|
4025
4025
|
}
|
4026
4026
|
function _e(e) {
|
4027
4027
|
e();
|
4028
4028
|
}
|
4029
|
-
var
|
4030
|
-
|
4029
|
+
var Pr = function(e) {
|
4030
|
+
F(t, e);
|
4031
4031
|
function t(r) {
|
4032
4032
|
var n = e.call(this) || this;
|
4033
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4033
|
+
return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = mo, n;
|
4034
4034
|
}
|
4035
4035
|
return t.create = function(r, n, i) {
|
4036
4036
|
return new tt(r, n, i);
|
@@ -4057,7 +4057,7 @@ var Cr = function(e) {
|
|
4057
4057
|
this.unsubscribe();
|
4058
4058
|
}
|
4059
4059
|
}, t;
|
4060
|
-
}(Ie),
|
4060
|
+
}(Ie), fo = function() {
|
4061
4061
|
function e(t) {
|
4062
4062
|
this.partialObserver = t;
|
4063
4063
|
}
|
@@ -4089,42 +4089,42 @@ var Cr = function(e) {
|
|
4089
4089
|
}
|
4090
4090
|
}, e;
|
4091
4091
|
}(), tt = function(e) {
|
4092
|
-
|
4092
|
+
F(t, e);
|
4093
4093
|
function t(r, n, i) {
|
4094
4094
|
var o = e.call(this) || this, s;
|
4095
|
-
return
|
4095
|
+
return D(r) || !r ? s = {
|
4096
4096
|
next: r != null ? r : void 0,
|
4097
4097
|
error: n != null ? n : void 0,
|
4098
4098
|
complete: i != null ? i : void 0
|
4099
|
-
} : s = r, o.destination = new
|
4099
|
+
} : s = r, o.destination = new fo(s), o;
|
4100
4100
|
}
|
4101
4101
|
return t;
|
4102
|
-
}(
|
4102
|
+
}(Pr);
|
4103
4103
|
function be(e) {
|
4104
|
-
|
4104
|
+
co(e);
|
4105
4105
|
}
|
4106
|
-
function
|
4106
|
+
function po(e) {
|
4107
4107
|
throw e;
|
4108
4108
|
}
|
4109
|
-
var
|
4109
|
+
var mo = {
|
4110
4110
|
closed: !0,
|
4111
|
-
next:
|
4112
|
-
error:
|
4113
|
-
complete:
|
4114
|
-
},
|
4111
|
+
next: Gt,
|
4112
|
+
error: po,
|
4113
|
+
complete: Gt
|
4114
|
+
}, bo = function() {
|
4115
4115
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4116
4116
|
}();
|
4117
|
-
function
|
4117
|
+
function go(e) {
|
4118
4118
|
return e;
|
4119
4119
|
}
|
4120
|
-
function
|
4121
|
-
return e.length === 0 ?
|
4120
|
+
function vo(e) {
|
4121
|
+
return e.length === 0 ? go : e.length === 1 ? e[0] : function(r) {
|
4122
4122
|
return e.reduce(function(n, i) {
|
4123
4123
|
return i(n);
|
4124
4124
|
}, r);
|
4125
4125
|
};
|
4126
4126
|
}
|
4127
|
-
var
|
4127
|
+
var Ut = function() {
|
4128
4128
|
function e(t) {
|
4129
4129
|
t && (this._subscribe = t);
|
4130
4130
|
}
|
@@ -4132,7 +4132,7 @@ var Gt = function() {
|
|
4132
4132
|
var r = new e();
|
4133
4133
|
return r.source = this, r.operator = t, r;
|
4134
4134
|
}, e.prototype.subscribe = function(t, r, n) {
|
4135
|
-
var i = this, o =
|
4135
|
+
var i = this, o = _o(t) ? t : new tt(t, r, n);
|
4136
4136
|
return _e(function() {
|
4137
4137
|
var s = i, a = s.operator, l = s.source;
|
4138
4138
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4145,7 +4145,7 @@ var Gt = function() {
|
|
4145
4145
|
}
|
4146
4146
|
}, e.prototype.forEach = function(t, r) {
|
4147
4147
|
var n = this;
|
4148
|
-
return r =
|
4148
|
+
return r = Dt(r), new r(function(i, o) {
|
4149
4149
|
var s = new tt({
|
4150
4150
|
next: function(a) {
|
4151
4151
|
try {
|
@@ -4162,15 +4162,15 @@ var Gt = function() {
|
|
4162
4162
|
}, e.prototype._subscribe = function(t) {
|
4163
4163
|
var r;
|
4164
4164
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4165
|
-
}, e.prototype[
|
4165
|
+
}, e.prototype[bo] = function() {
|
4166
4166
|
return this;
|
4167
4167
|
}, e.prototype.pipe = function() {
|
4168
4168
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4169
4169
|
t[r] = arguments[r];
|
4170
|
-
return
|
4170
|
+
return vo(t)(this);
|
4171
4171
|
}, e.prototype.toPromise = function(t) {
|
4172
4172
|
var r = this;
|
4173
|
-
return t =
|
4173
|
+
return t = Dt(t), new t(function(n, i) {
|
4174
4174
|
var o;
|
4175
4175
|
r.subscribe(function(s) {
|
4176
4176
|
return o = s;
|
@@ -4184,32 +4184,32 @@ var Gt = function() {
|
|
4184
4184
|
return new e(t);
|
4185
4185
|
}, e;
|
4186
4186
|
}();
|
4187
|
-
function
|
4187
|
+
function Dt(e) {
|
4188
4188
|
var t;
|
4189
|
-
return (t = e != null ? e :
|
4189
|
+
return (t = e != null ? e : uo.Promise) !== null && t !== void 0 ? t : Promise;
|
4190
4190
|
}
|
4191
|
-
function
|
4192
|
-
return e &&
|
4191
|
+
function yo(e) {
|
4192
|
+
return e && D(e.next) && D(e.error) && D(e.complete);
|
4193
4193
|
}
|
4194
|
-
function
|
4195
|
-
return e && e instanceof
|
4194
|
+
function _o(e) {
|
4195
|
+
return e && e instanceof Pr || yo(e) && Cr(e);
|
4196
4196
|
}
|
4197
|
-
var
|
4197
|
+
var xo = Tr(function(e) {
|
4198
4198
|
return function() {
|
4199
4199
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4200
4200
|
};
|
4201
|
-
}),
|
4202
|
-
|
4201
|
+
}), Br = function(e) {
|
4202
|
+
F(t, e);
|
4203
4203
|
function t() {
|
4204
4204
|
var r = e.call(this) || this;
|
4205
4205
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4206
4206
|
}
|
4207
4207
|
return t.prototype.lift = function(r) {
|
4208
|
-
var n = new
|
4208
|
+
var n = new Ft(this, this);
|
4209
4209
|
return n.operator = r, n;
|
4210
4210
|
}, t.prototype._throwIfClosed = function() {
|
4211
4211
|
if (this.closed)
|
4212
|
-
throw new
|
4212
|
+
throw new xo();
|
4213
4213
|
}, t.prototype.next = function(r) {
|
4214
4214
|
var n = this;
|
4215
4215
|
_e(function() {
|
@@ -4265,20 +4265,20 @@ var Eo = wr(function(e) {
|
|
4265
4265
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4266
4266
|
}, t.prototype._innerSubscribe = function(r) {
|
4267
4267
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4268
|
-
return o || s ?
|
4268
|
+
return o || s ? Hr : (this.currentObservers = null, a.push(r), new Ie(function() {
|
4269
4269
|
n.currentObservers = null, et(a, r);
|
4270
4270
|
}));
|
4271
4271
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4272
4272
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4273
4273
|
i ? r.error(o) : s && r.complete();
|
4274
4274
|
}, t.prototype.asObservable = function() {
|
4275
|
-
var r = new
|
4275
|
+
var r = new Ut();
|
4276
4276
|
return r.source = this, r;
|
4277
4277
|
}, t.create = function(r, n) {
|
4278
|
-
return new
|
4278
|
+
return new Ft(r, n);
|
4279
4279
|
}, t;
|
4280
|
-
}(
|
4281
|
-
|
4280
|
+
}(Ut), Ft = function(e) {
|
4281
|
+
F(t, e);
|
4282
4282
|
function t(r, n) {
|
4283
4283
|
var i = e.call(this) || this;
|
4284
4284
|
return i.destination = r, i.source = n, i;
|
@@ -4294,17 +4294,17 @@ var Eo = wr(function(e) {
|
|
4294
4294
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4295
4295
|
}, t.prototype._subscribe = function(r) {
|
4296
4296
|
var n, i;
|
4297
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4297
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
|
4298
4298
|
}, t;
|
4299
|
-
}(
|
4299
|
+
}(Br), Ar = {
|
4300
4300
|
now: function() {
|
4301
|
-
return (
|
4301
|
+
return (Ar.delegate || Date).now();
|
4302
4302
|
},
|
4303
4303
|
delegate: void 0
|
4304
|
-
},
|
4305
|
-
|
4304
|
+
}, Eo = function(e) {
|
4305
|
+
F(t, e);
|
4306
4306
|
function t(r, n, i) {
|
4307
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4307
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
|
4308
4308
|
var o = e.call(this) || this;
|
4309
4309
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
4310
4310
|
}
|
@@ -4324,28 +4324,51 @@ var Eo = wr(function(e) {
|
|
4324
4324
|
u && o.splice(0, u + 1);
|
4325
4325
|
}
|
4326
4326
|
}, t;
|
4327
|
-
}(
|
4328
|
-
const
|
4329
|
-
if (
|
4330
|
-
const r = new
|
4331
|
-
|
4327
|
+
}(Br);
|
4328
|
+
const jt = [], kt = {}, So = (e, t = 0) => {
|
4329
|
+
if (jt.indexOf(e) == -1) {
|
4330
|
+
const r = new Eo(t);
|
4331
|
+
kt[e] = r, jt.push(e);
|
4332
4332
|
}
|
4333
|
-
return
|
4333
|
+
return kt[e];
|
4334
4334
|
};
|
4335
|
-
window.emWidgets = { topic:
|
4336
|
-
const
|
4337
|
-
function
|
4338
|
-
|
4335
|
+
window.emWidgets = { topic: So };
|
4336
|
+
const wo = (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));
|
4337
|
+
function To(e, t) {
|
4338
|
+
if (e) {
|
4339
|
+
const r = document.createElement("style");
|
4340
|
+
r.innerHTML = t, e.appendChild(r);
|
4341
|
+
}
|
4342
|
+
}
|
4343
|
+
function Ho(e, t) {
|
4344
|
+
const r = new URL(t);
|
4345
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
4346
|
+
const i = document.createElement("style");
|
4347
|
+
i.innerHTML = n, e && e.appendChild(i);
|
4348
|
+
}).catch((n) => {
|
4349
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
4350
|
+
});
|
4351
|
+
}
|
4352
|
+
function Co(e, t, r) {
|
4353
|
+
if (window.emMessageBus) {
|
4354
|
+
const n = document.createElement("style");
|
4355
|
+
window.emMessageBus.subscribe(t, (i) => {
|
4356
|
+
n.innerHTML = i, e && e.appendChild(n);
|
4357
|
+
});
|
4358
|
+
}
|
4359
|
+
}
|
4360
|
+
function Po(e) {
|
4361
|
+
Jr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
4339
4362
|
}
|
4340
|
-
function
|
4363
|
+
function Vt(e, t, r) {
|
4341
4364
|
const n = e.slice();
|
4342
4365
|
return n[41] = t[r], n;
|
4343
4366
|
}
|
4344
|
-
function
|
4367
|
+
function Xt(e, t, r) {
|
4345
4368
|
const n = e.slice();
|
4346
4369
|
return n[44] = t[r], n;
|
4347
4370
|
}
|
4348
|
-
function
|
4371
|
+
function Bo(e) {
|
4349
4372
|
let t, r, n, i = (
|
4350
4373
|
/*type*/
|
4351
4374
|
(e[0] == "vendor" ? (
|
@@ -4358,33 +4381,33 @@ function Co(e) {
|
|
4358
4381
|
), o, s, a, l, u, h, c = (
|
4359
4382
|
/*numberOfSlides*/
|
4360
4383
|
e[8] > /*numberOfVisibleSlides*/
|
4361
|
-
e[9] &&
|
4384
|
+
e[9] && Wt(e)
|
4362
4385
|
), f = we(
|
4363
4386
|
/*gameCategories*/
|
4364
4387
|
e[3]
|
4365
4388
|
), p = [];
|
4366
4389
|
for (let d = 0; d < f.length; d += 1)
|
4367
|
-
p[d] =
|
4390
|
+
p[d] = Qt(Vt(e, f, d));
|
4368
4391
|
return {
|
4369
4392
|
c() {
|
4370
|
-
t =
|
4393
|
+
t = P("div"), r = P("div"), n = P("p"), o = Ce(i), s = k(), c && c.c(), a = k(), l = P("div");
|
4371
4394
|
for (let d = 0; d < p.length; d += 1)
|
4372
4395
|
p[d].c();
|
4373
4396
|
E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(l, "class", "CategoriesSlider"), Se(() => (
|
4374
4397
|
/*div1_elementresize_handler*/
|
4375
|
-
e[
|
4398
|
+
e[28].call(l)
|
4376
4399
|
)), E(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
|
4377
4400
|
(e[10] ? "Mobile" : "") + " " + /*type*/
|
4378
4401
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4379
4402
|
},
|
4380
4403
|
m(d, g) {
|
4381
|
-
|
4404
|
+
U(d, t, g), C(t, r), C(r, n), C(n, o), C(r, s), c && c.m(r, null), C(t, a), C(t, l);
|
4382
4405
|
for (let m = 0; m < p.length; m += 1)
|
4383
4406
|
p[m] && p[m].m(l, null);
|
4384
|
-
e[
|
4407
|
+
e[27](l), u = rn(
|
4385
4408
|
l,
|
4386
4409
|
/*div1_elementresize_handler*/
|
4387
|
-
e[
|
4410
|
+
e[28].bind(l)
|
4388
4411
|
);
|
4389
4412
|
},
|
4390
4413
|
p(d, g) {
|
@@ -4398,7 +4421,7 @@ function Co(e) {
|
|
4398
4421
|
d[11]("collections")
|
4399
4422
|
)) + "") && nt(o, i), /*numberOfSlides*/
|
4400
4423
|
d[8] > /*numberOfVisibleSlides*/
|
4401
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4424
|
+
d[9] ? c ? c.p(d, g) : (c = Wt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4402
4425
|
49166) {
|
4403
4426
|
f = we(
|
4404
4427
|
/*gameCategories*/
|
@@ -4406,8 +4429,8 @@ function Co(e) {
|
|
4406
4429
|
);
|
4407
4430
|
let m;
|
4408
4431
|
for (m = 0; m < f.length; m += 1) {
|
4409
|
-
const
|
4410
|
-
p[m] ? p[m].p(
|
4432
|
+
const _ = Vt(d, f, m);
|
4433
|
+
p[m] ? p[m].p(_, g) : (p[m] = Qt(_), p[m].c(), p[m].m(l, null));
|
4411
4434
|
}
|
4412
4435
|
for (; m < p.length; m += 1)
|
4413
4436
|
p[m].d(1);
|
@@ -4419,64 +4442,64 @@ function Co(e) {
|
|
4419
4442
|
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", h);
|
4420
4443
|
},
|
4421
4444
|
d(d) {
|
4422
|
-
d &&
|
4445
|
+
d && $(t), c && c.d(), Kt(p, d), e[27](null), u();
|
4423
4446
|
}
|
4424
4447
|
};
|
4425
4448
|
}
|
4426
|
-
function
|
4449
|
+
function Ao(e) {
|
4427
4450
|
let t;
|
4428
4451
|
return {
|
4429
4452
|
c() {
|
4430
|
-
t =
|
4453
|
+
t = P("div"), E(t, "class", "LoadingSpinner");
|
4431
4454
|
},
|
4432
4455
|
m(r, n) {
|
4433
|
-
|
4456
|
+
U(r, t, n);
|
4434
4457
|
},
|
4435
4458
|
p: L,
|
4436
4459
|
d(r) {
|
4437
|
-
r &&
|
4460
|
+
r && $(t);
|
4438
4461
|
}
|
4439
4462
|
};
|
4440
4463
|
}
|
4441
|
-
function
|
4464
|
+
function Wt(e) {
|
4442
4465
|
let t, r, n, i, o, s;
|
4443
4466
|
return {
|
4444
4467
|
c() {
|
4445
|
-
t =
|
4468
|
+
t = P("div"), r = P("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
|
4446
4469
|
},
|
4447
4470
|
m(a, l) {
|
4448
|
-
|
4471
|
+
U(a, t, l), C(t, r), C(t, n), C(t, i), o || (s = [
|
4449
4472
|
J(
|
4450
4473
|
r,
|
4451
4474
|
"click",
|
4452
4475
|
/*click_handler*/
|
4453
|
-
e[
|
4476
|
+
e[23]
|
4454
4477
|
),
|
4455
4478
|
J(
|
4456
4479
|
i,
|
4457
4480
|
"click",
|
4458
4481
|
/*click_handler_1*/
|
4459
|
-
e[
|
4482
|
+
e[24]
|
4460
4483
|
)
|
4461
4484
|
], o = !0);
|
4462
4485
|
},
|
4463
4486
|
p: L,
|
4464
4487
|
d(a) {
|
4465
|
-
a &&
|
4488
|
+
a && $(t), o = !1, te(s);
|
4466
4489
|
}
|
4467
4490
|
};
|
4468
4491
|
}
|
4469
|
-
function
|
4492
|
+
function Oo(e) {
|
4470
4493
|
let t, r = (
|
4471
4494
|
/*category*/
|
4472
4495
|
e[41].name + ""
|
4473
4496
|
), n;
|
4474
4497
|
return {
|
4475
4498
|
c() {
|
4476
|
-
t =
|
4499
|
+
t = P("p"), n = Ce(r), E(t, "class", "CategorySlideTitle");
|
4477
4500
|
},
|
4478
4501
|
m(i, o) {
|
4479
|
-
|
4502
|
+
U(i, t, o), C(t, n);
|
4480
4503
|
},
|
4481
4504
|
p(i, o) {
|
4482
4505
|
o[0] & /*gameCategories*/
|
@@ -4484,20 +4507,20 @@ function Bo(e) {
|
|
4484
4507
|
i[41].name + "") && nt(n, r);
|
4485
4508
|
},
|
4486
4509
|
d(i) {
|
4487
|
-
i &&
|
4510
|
+
i && $(t);
|
4488
4511
|
}
|
4489
4512
|
};
|
4490
4513
|
}
|
4491
|
-
function
|
4514
|
+
function Io(e) {
|
4492
4515
|
let t, r, n;
|
4493
4516
|
return {
|
4494
4517
|
c() {
|
4495
|
-
t =
|
4518
|
+
t = P("img"), E(t, "class", "CategorySlideLogo"), xe(t.src, r = /*category*/
|
4496
4519
|
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4497
4520
|
e[41].name + " icon");
|
4498
4521
|
},
|
4499
4522
|
m(i, o) {
|
4500
|
-
|
4523
|
+
U(i, t, o);
|
4501
4524
|
},
|
4502
4525
|
p(i, o) {
|
4503
4526
|
o[0] & /*gameCategories*/
|
@@ -4507,22 +4530,22 @@ function Ao(e) {
|
|
4507
4530
|
i[41].name + " icon") && E(t, "alt", n);
|
4508
4531
|
},
|
4509
4532
|
d(i) {
|
4510
|
-
i &&
|
4533
|
+
i && $(t);
|
4511
4534
|
}
|
4512
4535
|
};
|
4513
4536
|
}
|
4514
|
-
function
|
4537
|
+
function zt(e) {
|
4515
4538
|
let t, r = (
|
4516
4539
|
/*game*/
|
4517
4540
|
e[44].name + ""
|
4518
4541
|
), n, i;
|
4519
4542
|
return {
|
4520
4543
|
c() {
|
4521
|
-
t =
|
4544
|
+
t = P("p"), n = Ce(r), E(t, "title", i = /*game*/
|
4522
4545
|
e[44].name);
|
4523
4546
|
},
|
4524
4547
|
m(o, s) {
|
4525
|
-
|
4548
|
+
U(o, t, s), C(t, n);
|
4526
4549
|
},
|
4527
4550
|
p(o, s) {
|
4528
4551
|
s[0] & /*gameCategories*/
|
@@ -4532,16 +4555,16 @@ function Wt(e) {
|
|
4532
4555
|
o[44].name) && E(t, "title", i);
|
4533
4556
|
},
|
4534
4557
|
d(o) {
|
4535
|
-
o &&
|
4558
|
+
o && $(t);
|
4536
4559
|
}
|
4537
4560
|
};
|
4538
4561
|
}
|
4539
|
-
function
|
4562
|
+
function Zt(e) {
|
4540
4563
|
let t, r, n, i, o, s, a, l;
|
4541
4564
|
function u() {
|
4542
4565
|
return (
|
4543
4566
|
/*click_handler_2*/
|
4544
|
-
e[
|
4567
|
+
e[25](
|
4545
4568
|
/*game*/
|
4546
4569
|
e[44]
|
4547
4570
|
)
|
@@ -4549,16 +4572,16 @@ function zt(e) {
|
|
4549
4572
|
}
|
4550
4573
|
let h = (
|
4551
4574
|
/*collectionprovidersgamenames*/
|
4552
|
-
e[2] == "true" &&
|
4575
|
+
e[2] == "true" && zt(e)
|
4553
4576
|
);
|
4554
4577
|
return {
|
4555
4578
|
c() {
|
4556
|
-
t =
|
4579
|
+
t = P("div"), r = P("img"), o = k(), h && h.c(), s = k(), E(r, "class", "CategorySlideGameImage"), xe(r.src, n = /*game*/
|
4557
4580
|
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4558
4581
|
e[44].name), E(t, "class", "CategorySlideGames");
|
4559
4582
|
},
|
4560
4583
|
m(c, f) {
|
4561
|
-
|
4584
|
+
U(c, t, f), C(t, r), C(t, o), h && h.m(t, null), C(t, s), a || (l = J(r, "click", Kr(u)), a = !0);
|
4562
4585
|
},
|
4563
4586
|
p(c, f) {
|
4564
4587
|
e = c, f[0] & /*gameCategories*/
|
@@ -4566,35 +4589,35 @@ function zt(e) {
|
|
4566
4589
|
e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
|
4567
4590
|
8 && i !== (i = /*game*/
|
4568
4591
|
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4569
|
-
e[2] == "true" ? h ? h.p(e, f) : (h =
|
4592
|
+
e[2] == "true" ? h ? h.p(e, f) : (h = zt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
|
4570
4593
|
},
|
4571
4594
|
d(c) {
|
4572
|
-
c &&
|
4595
|
+
c && $(t), h && h.d(), a = !1, l();
|
4573
4596
|
}
|
4574
4597
|
};
|
4575
4598
|
}
|
4576
|
-
function
|
4599
|
+
function Qt(e) {
|
4577
4600
|
let t, r, n, i, o, s, a, l, u;
|
4578
|
-
function h(m,
|
4601
|
+
function h(m, _) {
|
4579
4602
|
if (
|
4580
4603
|
/*titletype*/
|
4581
4604
|
m[1] == "logo"
|
4582
|
-
) return
|
4605
|
+
) return Io;
|
4583
4606
|
if (
|
4584
4607
|
/*titletype*/
|
4585
4608
|
m[1] == "title"
|
4586
|
-
) return
|
4609
|
+
) return Oo;
|
4587
4610
|
}
|
4588
4611
|
let c = h(e), f = c && c(e), p = we(
|
4589
4612
|
/*category*/
|
4590
4613
|
e[41].games
|
4591
4614
|
), d = [];
|
4592
4615
|
for (let m = 0; m < p.length; m += 1)
|
4593
|
-
d[m] =
|
4616
|
+
d[m] = Zt(Xt(e, p, m));
|
4594
4617
|
function g() {
|
4595
4618
|
return (
|
4596
4619
|
/*click_handler_3*/
|
4597
|
-
e[
|
4620
|
+
e[26](
|
4598
4621
|
/*category*/
|
4599
4622
|
e[41]
|
4600
4623
|
)
|
@@ -4602,63 +4625,63 @@ function Zt(e) {
|
|
4602
4625
|
}
|
4603
4626
|
return {
|
4604
4627
|
c() {
|
4605
|
-
var m,
|
4606
|
-
t =
|
4628
|
+
var m, _;
|
4629
|
+
t = P("div"), r = P("div"), n = P("div"), f && f.c(), i = k(), o = P("div");
|
4607
4630
|
for (let S = 0; S < d.length; S += 1)
|
4608
4631
|
d[S].c();
|
4609
|
-
a =
|
4632
|
+
a = k(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
|
4610
4633
|
(((m = e[41]) == null ? void 0 : m.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
|
4611
|
-
((
|
4634
|
+
((_ = e[41]) == null ? void 0 : _.background) + ")"), Ne(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
|
4612
4635
|
},
|
4613
|
-
m(m,
|
4614
|
-
|
4636
|
+
m(m, _) {
|
4637
|
+
U(m, t, _), C(t, r), C(r, n), f && f.m(n, null), C(r, i), C(r, o);
|
4615
4638
|
for (let S = 0; S < d.length; S += 1)
|
4616
4639
|
d[S] && d[S].m(o, null);
|
4617
|
-
|
4640
|
+
C(t, a), l || (u = J(r, "click", g), l = !0);
|
4618
4641
|
},
|
4619
|
-
p(m,
|
4620
|
-
var S,
|
4621
|
-
if (e = m, c === (c = h(e)) && f ? f.p(e,
|
4642
|
+
p(m, _) {
|
4643
|
+
var S, T;
|
4644
|
+
if (e = m, c === (c = h(e)) && f ? f.p(e, _) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), _[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4622
4645
|
16396) {
|
4623
4646
|
p = we(
|
4624
4647
|
/*category*/
|
4625
4648
|
e[41].games
|
4626
4649
|
);
|
4627
|
-
let
|
4628
|
-
for (
|
4629
|
-
const
|
4630
|
-
d[
|
4650
|
+
let H;
|
4651
|
+
for (H = 0; H < p.length; H += 1) {
|
4652
|
+
const A = Xt(e, p, H);
|
4653
|
+
d[H] ? d[H].p(A, _) : (d[H] = Zt(A), d[H].c(), d[H].m(o, null));
|
4631
4654
|
}
|
4632
|
-
for (;
|
4633
|
-
d[
|
4655
|
+
for (; H < d.length; H += 1)
|
4656
|
+
d[H].d(1);
|
4634
4657
|
d.length = p.length;
|
4635
4658
|
}
|
4636
|
-
|
4659
|
+
_[0] & /*gameCategories*/
|
4637
4660
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4638
|
-
(((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s),
|
4661
|
+
(((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), _[0] & /*gameCategories*/
|
4639
4662
|
8 && Ne(r, "background-image", "url(" + /*category*/
|
4640
|
-
((
|
4663
|
+
((T = e[41]) == null ? void 0 : T.background) + ")");
|
4641
4664
|
},
|
4642
4665
|
d(m) {
|
4643
|
-
m &&
|
4666
|
+
m && $(t), f && f.d(), Kt(d, m), l = !1, u();
|
4644
4667
|
}
|
4645
4668
|
};
|
4646
4669
|
}
|
4647
|
-
function
|
4670
|
+
function Lo(e) {
|
4648
4671
|
let t;
|
4649
4672
|
function r(o, s) {
|
4650
4673
|
return (
|
4651
4674
|
/*isLoading*/
|
4652
|
-
o[7] ?
|
4675
|
+
o[7] ? Ao : Bo
|
4653
4676
|
);
|
4654
4677
|
}
|
4655
4678
|
let n = r(e), i = n(e);
|
4656
4679
|
return {
|
4657
4680
|
c() {
|
4658
|
-
t =
|
4681
|
+
t = P("div"), i.c();
|
4659
4682
|
},
|
4660
4683
|
m(o, s) {
|
4661
|
-
|
4684
|
+
U(o, t, s), i.m(t, null), e[29](t);
|
4662
4685
|
},
|
4663
4686
|
p(o, s) {
|
4664
4687
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
@@ -4666,70 +4689,70 @@ function Oo(e) {
|
|
4666
4689
|
i: L,
|
4667
4690
|
o: L,
|
4668
4691
|
d(o) {
|
4669
|
-
o &&
|
4692
|
+
o && $(t), i.d(), e[29](null);
|
4670
4693
|
}
|
4671
4694
|
};
|
4672
4695
|
}
|
4673
|
-
function
|
4696
|
+
function No(e, t, r) {
|
4674
4697
|
let n;
|
4675
|
-
|
4676
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, p = [],
|
4677
|
-
const
|
4678
|
-
fetch(c).then((
|
4679
|
-
Object.keys(
|
4680
|
-
|
4698
|
+
Qr(e, ao, (b) => r(11, n = b));
|
4699
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, _ = 0, S = 0, T = 0, H, A, O, fe = window.navigator.userAgent, st, oe = 0;
|
4700
|
+
const Or = () => {
|
4701
|
+
fetch(c).then((I) => I.json()).then((I) => {
|
4702
|
+
Object.keys(I).forEach((G) => {
|
4703
|
+
Mt(G, I[G]);
|
4681
4704
|
});
|
4682
|
-
}).catch((
|
4683
|
-
console.log(
|
4705
|
+
}).catch((I) => {
|
4706
|
+
console.log(I);
|
4684
4707
|
});
|
4685
4708
|
};
|
4686
|
-
Object.keys(
|
4687
|
-
|
4709
|
+
Object.keys(Rt).forEach((b) => {
|
4710
|
+
Mt(b, Rt[b]);
|
4688
4711
|
});
|
4689
|
-
const
|
4712
|
+
const Ir = () => {
|
4690
4713
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4691
|
-
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((
|
4692
|
-
r(7,
|
4693
|
-
let
|
4694
|
-
r(3,
|
4695
|
-
var
|
4714
|
+
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((I) => I.json()).then((I) => {
|
4715
|
+
r(7, g = !1);
|
4716
|
+
let G = I.items.filter((N) => N.flags == a);
|
4717
|
+
r(3, d = G.map((N) => {
|
4718
|
+
var dt, pt, mt;
|
4696
4719
|
return {
|
4697
4720
|
id: N.id,
|
4698
4721
|
name: N.name,
|
4699
|
-
icon: N.icon ? N.icon : (
|
4700
|
-
games: N.games.items.slice(0, 4).map((
|
4722
|
+
icon: N.icon ? N.icon : (mt = (pt = (dt = N.vendors) == null ? void 0 : dt.items[0]) == null ? void 0 : pt.subVendors[0]) == null ? void 0 : mt.logo,
|
4723
|
+
games: N.games.items.slice(0, 4).map((jr) => jr),
|
4701
4724
|
background: N.background,
|
4702
4725
|
flag: N.flags
|
4703
4726
|
};
|
4704
|
-
})), r(8,
|
4727
|
+
})), r(8, S = d.length);
|
4705
4728
|
});
|
4706
|
-
},
|
4707
|
-
|
4708
|
-
|
4709
|
-
}),
|
4710
|
-
},
|
4711
|
-
r(9,
|
4712
|
-
}, at = () => {
|
4713
|
-
st(m);
|
4729
|
+
}, at = (b) => {
|
4730
|
+
A = [...m.children], A.forEach((I, G) => {
|
4731
|
+
I.style.transform = `translateX(${100 * (b ? G - b : G)}%)`;
|
4732
|
+
}), H = A[0].getBoundingClientRect().width, Lr();
|
4733
|
+
}, Lr = () => {
|
4734
|
+
r(9, T = Math.floor(oe / H));
|
4714
4735
|
}, lt = () => {
|
4715
|
-
|
4736
|
+
at(_);
|
4716
4737
|
}, ut = () => {
|
4717
|
-
|
4718
|
-
}, ht = (
|
4738
|
+
_ === 0 ? _ = S - T : _ - T < -1 ? _ = 0 : _--, lt();
|
4739
|
+
}, ht = () => {
|
4740
|
+
_ === S - T ? _ = 0 : S - T < _ + 1 ? _ = S - T : _++, lt();
|
4741
|
+
}, ct = (b, I, G, N) => {
|
4719
4742
|
window.postMessage(
|
4720
4743
|
{
|
4721
4744
|
type: "OpenCollectionsProvidersGame",
|
4722
4745
|
gameId: b,
|
4723
|
-
launchUrl:
|
4724
|
-
gameName:
|
4746
|
+
launchUrl: I,
|
4747
|
+
gameName: G,
|
4725
4748
|
subVendor: N
|
4726
4749
|
},
|
4727
4750
|
window.location.href
|
4728
4751
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4729
4752
|
context: "CollectionsProviders",
|
4730
|
-
gameName: `${
|
4753
|
+
gameName: `${G}`
|
4731
4754
|
});
|
4732
|
-
},
|
4755
|
+
}, ft = (b) => {
|
4733
4756
|
window.postMessage(
|
4734
4757
|
{
|
4735
4758
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4737,89 +4760,77 @@ function Io(e, t, r) {
|
|
4737
4760
|
},
|
4738
4761
|
window.location.href
|
4739
4762
|
);
|
4740
|
-
}, Lr = () => {
|
4741
|
-
uo(s);
|
4742
4763
|
}, Nr = () => {
|
4743
|
-
|
4744
|
-
b.innerHTML = u, P.appendChild(b);
|
4745
|
-
}, Mr = () => {
|
4746
|
-
let b = new URL(h), B = document.createElement("style");
|
4747
|
-
fetch(b.href).then((I) => I.text()).then((I) => {
|
4748
|
-
B.innerHTML = I, setTimeout(
|
4749
|
-
() => {
|
4750
|
-
P.appendChild(B);
|
4751
|
-
},
|
4752
|
-
1
|
4753
|
-
);
|
4754
|
-
});
|
4764
|
+
lo(s);
|
4755
4765
|
};
|
4756
|
-
|
4757
|
-
|
4758
|
-
|
4759
|
-
|
4760
|
-
function Dr(b) {
|
4766
|
+
sn(() => (r(10, st = wo(fe)), () => {
|
4767
|
+
}));
|
4768
|
+
const Mr = () => ut(), Rr = () => ht(), $r = (b) => ct(b.gameId, b.launchUrl, b.name, b.subVendor), Gr = (b) => ft(b.id);
|
4769
|
+
function Ur(b) {
|
4761
4770
|
Ee[b ? "unshift" : "push"](() => {
|
4762
|
-
|
4771
|
+
m = b, r(4, m);
|
4763
4772
|
});
|
4764
4773
|
}
|
4765
|
-
function
|
4766
|
-
|
4774
|
+
function Dr() {
|
4775
|
+
oe = this.clientWidth, r(6, oe);
|
4767
4776
|
}
|
4768
|
-
function
|
4777
|
+
function Fr(b) {
|
4769
4778
|
Ee[b ? "unshift" : "push"](() => {
|
4770
|
-
|
4779
|
+
O = b, r(5, O);
|
4771
4780
|
});
|
4772
4781
|
}
|
4773
4782
|
return e.$$set = (b) => {
|
4774
|
-
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
|
4783
|
+
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames), "mbsource" in b && r(22, p = b.mbsource);
|
4775
4784
|
}, e.$$.update = () => {
|
4776
4785
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4777
|
-
458752 && i && o && s &&
|
4778
|
-
88 &&
|
4779
|
-
262144 && s &&
|
4780
|
-
524320 && u &&
|
4781
|
-
1048608 && h &&
|
4782
|
-
|
4786
|
+
458752 && i && o && s && Ir(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4787
|
+
88 && oe && d && m && at(), e.$$.dirty[0] & /*lang*/
|
4788
|
+
262144 && s && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4789
|
+
524320 && u && O && To(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4790
|
+
1048608 && h && O && Ho(O, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4791
|
+
4194336 && O && Co(O, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4792
|
+
2097152 && c && Or();
|
4783
4793
|
}, [
|
4784
4794
|
a,
|
4785
4795
|
l,
|
4786
4796
|
f,
|
4787
|
-
p,
|
4788
|
-
g,
|
4789
|
-
P,
|
4790
|
-
se,
|
4791
4797
|
d,
|
4792
|
-
|
4793
|
-
|
4798
|
+
m,
|
4799
|
+
O,
|
4794
4800
|
oe,
|
4801
|
+
g,
|
4802
|
+
S,
|
4803
|
+
T,
|
4804
|
+
st,
|
4795
4805
|
n,
|
4796
|
-
lt,
|
4797
4806
|
ut,
|
4798
4807
|
ht,
|
4799
4808
|
ct,
|
4809
|
+
ft,
|
4800
4810
|
i,
|
4801
4811
|
o,
|
4802
4812
|
s,
|
4803
4813
|
u,
|
4804
4814
|
h,
|
4805
4815
|
c,
|
4816
|
+
p,
|
4817
|
+
Mr,
|
4806
4818
|
Rr,
|
4807
4819
|
$r,
|
4808
4820
|
Gr,
|
4809
4821
|
Ur,
|
4810
4822
|
Dr,
|
4811
|
-
Fr
|
4812
|
-
jr
|
4823
|
+
Fr
|
4813
4824
|
];
|
4814
4825
|
}
|
4815
|
-
class
|
4826
|
+
class Mo extends vn {
|
4816
4827
|
constructor(t) {
|
4817
|
-
super(),
|
4828
|
+
super(), bn(
|
4818
4829
|
this,
|
4819
4830
|
t,
|
4820
|
-
|
4821
|
-
|
4822
|
-
|
4831
|
+
No,
|
4832
|
+
Lo,
|
4833
|
+
qt,
|
4823
4834
|
{
|
4824
4835
|
endpoint: 16,
|
4825
4836
|
datasource: 17,
|
@@ -4829,9 +4840,10 @@ class Lo extends yn {
|
|
4829
4840
|
clientstyling: 19,
|
4830
4841
|
clientstylingurl: 20,
|
4831
4842
|
translationurl: 21,
|
4832
|
-
collectionprovidersgamenames: 2
|
4843
|
+
collectionprovidersgamenames: 2,
|
4844
|
+
mbsource: 22
|
4833
4845
|
},
|
4834
|
-
|
4846
|
+
Po,
|
4835
4847
|
[-1, -1]
|
4836
4848
|
);
|
4837
4849
|
}
|
@@ -4839,58 +4851,64 @@ class Lo extends yn {
|
|
4839
4851
|
return this.$$.ctx[16];
|
4840
4852
|
}
|
4841
4853
|
set endpoint(t) {
|
4842
|
-
this.$$set({ endpoint: t }),
|
4854
|
+
this.$$set({ endpoint: t }), R();
|
4843
4855
|
}
|
4844
4856
|
get datasource() {
|
4845
4857
|
return this.$$.ctx[17];
|
4846
4858
|
}
|
4847
4859
|
set datasource(t) {
|
4848
|
-
this.$$set({ datasource: t }),
|
4860
|
+
this.$$set({ datasource: t }), R();
|
4849
4861
|
}
|
4850
4862
|
get lang() {
|
4851
4863
|
return this.$$.ctx[18];
|
4852
4864
|
}
|
4853
4865
|
set lang(t) {
|
4854
|
-
this.$$set({ lang: t }),
|
4866
|
+
this.$$set({ lang: t }), R();
|
4855
4867
|
}
|
4856
4868
|
get type() {
|
4857
4869
|
return this.$$.ctx[0];
|
4858
4870
|
}
|
4859
4871
|
set type(t) {
|
4860
|
-
this.$$set({ type: t }),
|
4872
|
+
this.$$set({ type: t }), R();
|
4861
4873
|
}
|
4862
4874
|
get titletype() {
|
4863
4875
|
return this.$$.ctx[1];
|
4864
4876
|
}
|
4865
4877
|
set titletype(t) {
|
4866
|
-
this.$$set({ titletype: t }),
|
4878
|
+
this.$$set({ titletype: t }), R();
|
4867
4879
|
}
|
4868
4880
|
get clientstyling() {
|
4869
4881
|
return this.$$.ctx[19];
|
4870
4882
|
}
|
4871
4883
|
set clientstyling(t) {
|
4872
|
-
this.$$set({ clientstyling: t }),
|
4884
|
+
this.$$set({ clientstyling: t }), R();
|
4873
4885
|
}
|
4874
4886
|
get clientstylingurl() {
|
4875
4887
|
return this.$$.ctx[20];
|
4876
4888
|
}
|
4877
4889
|
set clientstylingurl(t) {
|
4878
|
-
this.$$set({ clientstylingurl: t }),
|
4890
|
+
this.$$set({ clientstylingurl: t }), R();
|
4879
4891
|
}
|
4880
4892
|
get translationurl() {
|
4881
4893
|
return this.$$.ctx[21];
|
4882
4894
|
}
|
4883
4895
|
set translationurl(t) {
|
4884
|
-
this.$$set({ translationurl: t }),
|
4896
|
+
this.$$set({ translationurl: t }), R();
|
4885
4897
|
}
|
4886
4898
|
get collectionprovidersgamenames() {
|
4887
4899
|
return this.$$.ctx[2];
|
4888
4900
|
}
|
4889
4901
|
set collectionprovidersgamenames(t) {
|
4890
|
-
this.$$set({ collectionprovidersgamenames: t }),
|
4902
|
+
this.$$set({ collectionprovidersgamenames: t }), R();
|
4903
|
+
}
|
4904
|
+
get mbsource() {
|
4905
|
+
return this.$$.ctx[22];
|
4906
|
+
}
|
4907
|
+
set mbsource(t) {
|
4908
|
+
this.$$set({ mbsource: t }), R();
|
4891
4909
|
}
|
4892
4910
|
}
|
4893
|
-
|
4911
|
+
gn(Mo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4894
4912
|
export {
|
4895
|
-
|
4913
|
+
Mo as default
|
4896
4914
|
};
|