@everymatrix/casino-collections-providers 1.56.0 → 1.56.2
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-DbC21yJP.js → CasinoCollectionsProviders-C-puSDuJ.js} +614 -559
- package/components/{CasinoCollectionsProviders-D1ouM50A.js → CasinoCollectionsProviders-Clfgs5xw.js} +642 -587
- package/components/CasinoCollectionsProviders-W-o6oFjp.cjs +18 -0
- 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-B8bXcXAF.cjs +0 -5
package/components/{CasinoCollectionsProviders-DbC21yJP.js → CasinoCollectionsProviders-C-puSDuJ.js}
RENAMED
@@ -1,28 +1,28 @@
|
|
1
1
|
function O() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Vt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function pt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function ee(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Vt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function tt(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Xt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let fe;
|
19
19
|
function _e(e, t) {
|
20
20
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Gr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Wt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -31,21 +31,22 @@ function jt(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Ur(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(Wt(t, r));
|
36
36
|
}
|
37
37
|
function H(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
41
|
-
const n =
|
40
|
+
function Dr(e, t, r) {
|
41
|
+
const n = Fr(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = C("style");
|
44
|
-
i.id = t, i.textContent = r,
|
44
|
+
i.id = t, i.textContent = r, kr(n, i);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
48
|
-
if (!e)
|
47
|
+
function Fr(e) {
|
48
|
+
if (!e)
|
49
|
+
return document;
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
50
51
|
return t && /** @type {ShadowRoot} */
|
51
52
|
t.host ? (
|
@@ -53,7 +54,7 @@ function $r(e) {
|
|
53
54
|
t
|
54
55
|
) : e.ownerDocument;
|
55
56
|
}
|
56
|
-
function
|
57
|
+
function kr(e, t) {
|
57
58
|
return H(
|
58
59
|
/** @type {Document} */
|
59
60
|
e.head || e,
|
@@ -66,7 +67,7 @@ function $(e, t, r) {
|
|
66
67
|
function N(e) {
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
68
69
|
}
|
69
|
-
function
|
70
|
+
function zt(e, t) {
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
71
72
|
e[r] && e[r].d(t);
|
72
73
|
}
|
@@ -82,7 +83,7 @@ function k() {
|
|
82
83
|
function Q(e, t, r, n) {
|
83
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
84
85
|
}
|
85
|
-
function
|
86
|
+
function jr(e) {
|
86
87
|
return function(t) {
|
87
88
|
return t.stopPropagation(), e.call(this, t);
|
88
89
|
};
|
@@ -90,10 +91,10 @@ function Ur(e) {
|
|
90
91
|
function S(e, t, r) {
|
91
92
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
92
93
|
}
|
93
|
-
function
|
94
|
+
function Vr(e) {
|
94
95
|
return Array.from(e.childNodes);
|
95
96
|
}
|
96
|
-
function
|
97
|
+
function rt(e, t) {
|
97
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
98
99
|
t);
|
99
100
|
}
|
@@ -101,7 +102,7 @@ function Ie(e, t, r, n) {
|
|
101
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
102
103
|
}
|
103
104
|
let de;
|
104
|
-
function
|
105
|
+
function Xr() {
|
105
106
|
if (de === void 0) {
|
106
107
|
de = !1;
|
107
108
|
try {
|
@@ -112,14 +113,14 @@ function Fr() {
|
|
112
113
|
}
|
113
114
|
return de;
|
114
115
|
}
|
115
|
-
function
|
116
|
+
function Wr(e, t) {
|
116
117
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
117
118
|
const n = C("iframe");
|
118
119
|
n.setAttribute(
|
119
120
|
"style",
|
120
121
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
121
122
|
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
122
|
-
const i =
|
123
|
+
const i = Xr();
|
123
124
|
let o;
|
124
125
|
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
|
125
126
|
window,
|
@@ -134,7 +135,7 @@ function kr(e, t) {
|
|
134
135
|
(i || o && n.contentWindow) && o(), N(n);
|
135
136
|
};
|
136
137
|
}
|
137
|
-
function
|
138
|
+
function zr(e) {
|
138
139
|
const t = {};
|
139
140
|
return e.childNodes.forEach(
|
140
141
|
/** @param {Element} node */
|
@@ -147,21 +148,22 @@ let ae;
|
|
147
148
|
function se(e) {
|
148
149
|
ae = e;
|
149
150
|
}
|
150
|
-
function
|
151
|
-
if (!ae)
|
151
|
+
function Zr() {
|
152
|
+
if (!ae)
|
153
|
+
throw new Error("Function called outside component initialization");
|
152
154
|
return ae;
|
153
155
|
}
|
154
|
-
function
|
155
|
-
|
156
|
+
function Qr(e) {
|
157
|
+
Zr().$$.on_mount.push(e);
|
156
158
|
}
|
157
|
-
const W = [],
|
159
|
+
const W = [], Ee = [];
|
158
160
|
let z = [];
|
159
|
-
const
|
160
|
-
let
|
161
|
-
function
|
162
|
-
|
161
|
+
const mt = [], Jr = /* @__PURE__ */ Promise.resolve();
|
162
|
+
let Fe = !1;
|
163
|
+
function qr() {
|
164
|
+
Fe || (Fe = !0, Jr.then(L));
|
163
165
|
}
|
164
|
-
function
|
166
|
+
function xe(e) {
|
165
167
|
z.push(e);
|
166
168
|
}
|
167
169
|
const Le = /* @__PURE__ */ new Set();
|
@@ -174,55 +176,56 @@ function L() {
|
|
174
176
|
try {
|
175
177
|
for (; V < W.length; ) {
|
176
178
|
const t = W[V];
|
177
|
-
V++, se(t),
|
179
|
+
V++, se(t), Yr(t.$$);
|
178
180
|
}
|
179
181
|
} catch (t) {
|
180
182
|
throw W.length = 0, V = 0, t;
|
181
183
|
}
|
182
|
-
for (se(null), W.length = 0, V = 0;
|
184
|
+
for (se(null), W.length = 0, V = 0; Ee.length; )
|
185
|
+
Ee.pop()();
|
183
186
|
for (let t = 0; t < z.length; t += 1) {
|
184
187
|
const r = z[t];
|
185
188
|
Le.has(r) || (Le.add(r), r());
|
186
189
|
}
|
187
190
|
z.length = 0;
|
188
191
|
} while (W.length);
|
189
|
-
for (;
|
190
|
-
|
191
|
-
|
192
|
+
for (; mt.length; )
|
193
|
+
mt.pop()();
|
194
|
+
Fe = !1, Le.clear(), se(e);
|
192
195
|
}
|
193
|
-
function
|
196
|
+
function Yr(e) {
|
194
197
|
if (e.fragment !== null) {
|
195
198
|
e.update(), ee(e.before_update);
|
196
199
|
const t = e.dirty;
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
|
198
201
|
}
|
199
202
|
}
|
200
|
-
function
|
203
|
+
function Kr(e) {
|
201
204
|
const t = [], r = [];
|
202
205
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
203
206
|
}
|
204
|
-
const
|
205
|
-
function
|
206
|
-
e && e.i && (
|
207
|
+
const en = /* @__PURE__ */ new Set();
|
208
|
+
function tn(e, t) {
|
209
|
+
e && e.i && (en.delete(e), e.i(t));
|
207
210
|
}
|
208
211
|
function Se(e) {
|
209
212
|
return e?.length !== void 0 ? e : Array.from(e);
|
210
213
|
}
|
211
|
-
function
|
214
|
+
function rn(e, t, r) {
|
212
215
|
const { fragment: n, after_update: i } = e.$$;
|
213
|
-
n && n.m(t, r),
|
214
|
-
const o = e.$$.on_mount.map(
|
216
|
+
n && n.m(t, r), xe(() => {
|
217
|
+
const o = e.$$.on_mount.map(Vt).filter(tt);
|
215
218
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
216
|
-
}), i.forEach(
|
219
|
+
}), i.forEach(xe);
|
217
220
|
}
|
218
|
-
function
|
221
|
+
function nn(e, t) {
|
219
222
|
const r = e.$$;
|
220
|
-
r.fragment !== null && (
|
223
|
+
r.fragment !== null && (Kr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
221
224
|
}
|
222
|
-
function
|
223
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
225
|
+
function on(e, t) {
|
226
|
+
e.$$.dirty[0] === -1 && (W.push(e), qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
224
227
|
}
|
225
|
-
function
|
228
|
+
function sn(e, t, r, n, i, o, s = null, a = [-1]) {
|
226
229
|
const u = ae;
|
227
230
|
se(e);
|
228
231
|
const h = e.$$ = {
|
@@ -232,7 +235,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
232
235
|
props: o,
|
233
236
|
update: O,
|
234
237
|
not_equal: i,
|
235
|
-
bound:
|
238
|
+
bound: pt(),
|
236
239
|
// lifecycle
|
237
240
|
on_mount: [],
|
238
241
|
on_destroy: [],
|
@@ -241,7 +244,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
241
244
|
after_update: [],
|
242
245
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
243
246
|
// everything else
|
244
|
-
callbacks:
|
247
|
+
callbacks: pt(),
|
245
248
|
dirty: a,
|
246
249
|
skip_bound: !1,
|
247
250
|
root: t.target || u.$$.root
|
@@ -250,19 +253,19 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
250
253
|
let l = !1;
|
251
254
|
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
252
255
|
const d = p.length ? p[0] : f;
|
253
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l &&
|
256
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && on(e, c)), f;
|
254
257
|
}) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
255
258
|
if (t.hydrate) {
|
256
|
-
const c =
|
259
|
+
const c = Vr(t.target);
|
257
260
|
h.fragment && h.fragment.l(c), c.forEach(N);
|
258
261
|
} else
|
259
262
|
h.fragment && h.fragment.c();
|
260
|
-
t.intro &&
|
263
|
+
t.intro && tn(e.$$.fragment), rn(e, t.target, t.anchor), L();
|
261
264
|
}
|
262
265
|
se(u);
|
263
266
|
}
|
264
|
-
let
|
265
|
-
typeof HTMLElement == "function" && (
|
267
|
+
let Zt;
|
268
|
+
typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
266
269
|
/** The Svelte component constructor */
|
267
270
|
$$ctor;
|
268
271
|
/** Slots */
|
@@ -321,7 +324,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
321
324
|
};
|
322
325
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
323
326
|
return;
|
324
|
-
const t = {}, r =
|
327
|
+
const t = {}, r = zr(this);
|
325
328
|
for (const i of this.$$s)
|
326
329
|
i in r && (t[i] = [e(i)]);
|
327
330
|
for (const i of this.attributes) {
|
@@ -408,8 +411,8 @@ function be(e, t, r, n) {
|
|
408
411
|
return t;
|
409
412
|
}
|
410
413
|
}
|
411
|
-
function
|
412
|
-
let s = class extends
|
414
|
+
function an(e, t, r, n, i, o) {
|
415
|
+
let s = class extends Zt {
|
413
416
|
constructor() {
|
414
417
|
super(e, r, i), this.$$p_d = t;
|
415
418
|
}
|
@@ -437,7 +440,7 @@ function rn(e, t, r, n, i, o) {
|
|
437
440
|
}), e.element = /** @type {any} */
|
438
441
|
s, s;
|
439
442
|
}
|
440
|
-
class
|
443
|
+
class ln {
|
441
444
|
/**
|
442
445
|
* ### PRIVATE API
|
443
446
|
*
|
@@ -456,7 +459,7 @@ class nn {
|
|
456
459
|
$$set = void 0;
|
457
460
|
/** @returns {void} */
|
458
461
|
$destroy() {
|
459
|
-
|
462
|
+
nn(this, 1), this.$destroy = O;
|
460
463
|
}
|
461
464
|
/**
|
462
465
|
* @template {Extract<keyof Events, string>} K
|
@@ -465,7 +468,7 @@ class nn {
|
|
465
468
|
* @returns {() => void}
|
466
469
|
*/
|
467
470
|
$on(t, r) {
|
468
|
-
if (!
|
471
|
+
if (!tt(r))
|
469
472
|
return O;
|
470
473
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
471
474
|
return n.push(r), () => {
|
@@ -478,13 +481,13 @@ class nn {
|
|
478
481
|
* @returns {void}
|
479
482
|
*/
|
480
483
|
$set(t) {
|
481
|
-
this.$$set && !
|
484
|
+
this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
482
485
|
}
|
483
486
|
}
|
484
|
-
const
|
485
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
487
|
+
const un = "4";
|
488
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
|
486
489
|
const X = [];
|
487
|
-
function
|
490
|
+
function hn(e, t) {
|
488
491
|
return {
|
489
492
|
subscribe: Ce(e, t).subscribe
|
490
493
|
};
|
@@ -493,7 +496,7 @@ function Ce(e, t = O) {
|
|
493
496
|
let r;
|
494
497
|
const n = /* @__PURE__ */ new Set();
|
495
498
|
function i(a) {
|
496
|
-
if (
|
499
|
+
if (Xt(e, a) && (e = a, r)) {
|
497
500
|
const u = !X.length;
|
498
501
|
for (const h of n)
|
499
502
|
h[1](), X.push(h, e);
|
@@ -520,7 +523,7 @@ function te(e, t, r) {
|
|
520
523
|
if (!i.every(Boolean))
|
521
524
|
throw new Error("derived() expects stores as input, got a falsy value");
|
522
525
|
const o = t.length < 2;
|
523
|
-
return
|
526
|
+
return hn(r, (s, a) => {
|
524
527
|
let u = !1;
|
525
528
|
const h = [];
|
526
529
|
let l = 0, c = O;
|
@@ -529,9 +532,9 @@ function te(e, t, r) {
|
|
529
532
|
return;
|
530
533
|
c();
|
531
534
|
const d = t(n ? h[0] : h, s, a);
|
532
|
-
o ? s(d) : c =
|
535
|
+
o ? s(d) : c = tt(d) ? d : O;
|
533
536
|
}, p = i.map(
|
534
|
-
(d, g) =>
|
537
|
+
(d, g) => Wt(
|
535
538
|
d,
|
536
539
|
(m) => {
|
537
540
|
h[g] = m, l &= ~(1 << g), u && f();
|
@@ -546,70 +549,70 @@ function te(e, t, r) {
|
|
546
549
|
};
|
547
550
|
});
|
548
551
|
}
|
549
|
-
function
|
552
|
+
function cn(e) {
|
550
553
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
551
554
|
}
|
552
|
-
var
|
553
|
-
return
|
555
|
+
var fn = function(t) {
|
556
|
+
return dn(t) && !pn(t);
|
554
557
|
};
|
555
|
-
function
|
558
|
+
function dn(e) {
|
556
559
|
return !!e && typeof e == "object";
|
557
560
|
}
|
558
|
-
function
|
561
|
+
function pn(e) {
|
559
562
|
var t = Object.prototype.toString.call(e);
|
560
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
563
|
+
return t === "[object RegExp]" || t === "[object Date]" || gn(e);
|
561
564
|
}
|
562
|
-
var
|
563
|
-
function
|
564
|
-
return e.$$typeof ===
|
565
|
+
var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
|
566
|
+
function gn(e) {
|
567
|
+
return e.$$typeof === bn;
|
565
568
|
}
|
566
|
-
function
|
569
|
+
function vn(e) {
|
567
570
|
return Array.isArray(e) ? [] : {};
|
568
571
|
}
|
569
572
|
function le(e, t) {
|
570
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
573
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
|
571
574
|
}
|
572
|
-
function
|
575
|
+
function yn(e, t, r) {
|
573
576
|
return e.concat(t).map(function(n) {
|
574
577
|
return le(n, r);
|
575
578
|
});
|
576
579
|
}
|
577
|
-
function
|
580
|
+
function _n(e, t) {
|
578
581
|
if (!t.customMerge)
|
579
582
|
return J;
|
580
583
|
var r = t.customMerge(e);
|
581
584
|
return typeof r == "function" ? r : J;
|
582
585
|
}
|
583
|
-
function
|
586
|
+
function En(e) {
|
584
587
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
585
588
|
return Object.propertyIsEnumerable.call(e, t);
|
586
589
|
}) : [];
|
587
590
|
}
|
588
|
-
function
|
589
|
-
return Object.keys(e).concat(
|
591
|
+
function bt(e) {
|
592
|
+
return Object.keys(e).concat(En(e));
|
590
593
|
}
|
591
|
-
function
|
594
|
+
function Qt(e, t) {
|
592
595
|
try {
|
593
596
|
return t in e;
|
594
597
|
} catch {
|
595
598
|
return !1;
|
596
599
|
}
|
597
600
|
}
|
598
|
-
function
|
599
|
-
return
|
601
|
+
function xn(e, t) {
|
602
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
600
603
|
}
|
601
|
-
function
|
604
|
+
function Sn(e, t, r) {
|
602
605
|
var n = {};
|
603
|
-
return r.isMergeableObject(e) &&
|
606
|
+
return r.isMergeableObject(e) && bt(e).forEach(function(i) {
|
604
607
|
n[i] = le(e[i], r);
|
605
|
-
}),
|
606
|
-
|
608
|
+
}), bt(t).forEach(function(i) {
|
609
|
+
xn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
607
610
|
}), n;
|
608
611
|
}
|
609
612
|
function J(e, t, r) {
|
610
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
613
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = le;
|
611
614
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
612
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
615
|
+
return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
|
613
616
|
}
|
614
617
|
J.all = function(t, r) {
|
615
618
|
if (!Array.isArray(t))
|
@@ -618,19 +621,34 @@ J.all = function(t, r) {
|
|
618
621
|
return J(n, i, r);
|
619
622
|
}, {});
|
620
623
|
};
|
621
|
-
var
|
622
|
-
const
|
623
|
-
|
624
|
-
|
624
|
+
var wn = J, Tn = wn;
|
625
|
+
const Hn = /* @__PURE__ */ cn(Tn);
|
626
|
+
/*! *****************************************************************************
|
627
|
+
Copyright (c) Microsoft Corporation.
|
628
|
+
|
629
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
630
|
+
purpose with or without fee is hereby granted.
|
631
|
+
|
632
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
633
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
634
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
635
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
636
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
637
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
638
|
+
PERFORMANCE OF THIS SOFTWARE.
|
639
|
+
***************************************************************************** */
|
640
|
+
var ke = function(e, t) {
|
641
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
625
642
|
r.__proto__ = n;
|
626
643
|
} || function(r, n) {
|
627
|
-
for (var i in n)
|
628
|
-
|
644
|
+
for (var i in n)
|
645
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
646
|
+
}, ke(e, t);
|
629
647
|
};
|
630
648
|
function U(e, t) {
|
631
649
|
if (typeof t != "function" && t !== null)
|
632
650
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
633
|
-
|
651
|
+
ke(e, t);
|
634
652
|
function r() {
|
635
653
|
this.constructor = e;
|
636
654
|
}
|
@@ -640,99 +658,109 @@ var _ = function() {
|
|
640
658
|
return _ = Object.assign || function(t) {
|
641
659
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
642
660
|
r = arguments[n];
|
643
|
-
for (var o in r)
|
661
|
+
for (var o in r)
|
662
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
644
663
|
}
|
645
664
|
return t;
|
646
665
|
}, _.apply(this, arguments);
|
647
666
|
};
|
648
|
-
function
|
667
|
+
function Cn(e, t) {
|
649
668
|
var r = {};
|
650
|
-
for (var n in e)
|
669
|
+
for (var n in e)
|
670
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
651
671
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
652
672
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
653
673
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
654
674
|
return r;
|
655
675
|
}
|
656
|
-
function
|
676
|
+
function je(e) {
|
657
677
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
658
|
-
if (r)
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
678
|
+
if (r)
|
679
|
+
return r.call(e);
|
680
|
+
if (e && typeof e.length == "number")
|
681
|
+
return {
|
682
|
+
next: function() {
|
683
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
684
|
+
}
|
685
|
+
};
|
664
686
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
665
687
|
}
|
666
|
-
function
|
688
|
+
function Ve(e, t) {
|
667
689
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
668
|
-
if (!r)
|
690
|
+
if (!r)
|
691
|
+
return e;
|
669
692
|
var n = r.call(e), i, o = [], s;
|
670
693
|
try {
|
671
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
694
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
695
|
+
o.push(i.value);
|
672
696
|
} catch (a) {
|
673
697
|
s = { error: a };
|
674
698
|
} finally {
|
675
699
|
try {
|
676
700
|
i && !i.done && (r = n.return) && r.call(n);
|
677
701
|
} finally {
|
678
|
-
if (s)
|
702
|
+
if (s)
|
703
|
+
throw s.error;
|
679
704
|
}
|
680
705
|
}
|
681
706
|
return o;
|
682
707
|
}
|
683
708
|
function Z(e, t, r) {
|
684
|
-
if (r || arguments.length === 2)
|
685
|
-
(
|
686
|
-
|
709
|
+
if (r || arguments.length === 2)
|
710
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
711
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
712
|
+
return e.concat(o || t);
|
687
713
|
}
|
688
714
|
function Ne(e, t) {
|
689
|
-
var r = t && t.cache ? t.cache :
|
715
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Bn;
|
690
716
|
return i(e, {
|
691
717
|
cache: r,
|
692
718
|
serializer: n
|
693
719
|
});
|
694
720
|
}
|
695
|
-
function
|
721
|
+
function Pn(e) {
|
696
722
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
697
723
|
}
|
698
|
-
function
|
699
|
-
var i =
|
724
|
+
function Jt(e, t, r, n) {
|
725
|
+
var i = Pn(n) ? n : r(n), o = t.get(i);
|
700
726
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
701
727
|
}
|
702
|
-
function
|
728
|
+
function qt(e, t, r) {
|
703
729
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
704
730
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
705
731
|
}
|
706
|
-
function
|
732
|
+
function nt(e, t, r, n, i) {
|
707
733
|
return r.bind(t, e, n, i);
|
708
734
|
}
|
709
|
-
function
|
710
|
-
var r = e.length === 1 ?
|
711
|
-
return
|
735
|
+
function Bn(e, t) {
|
736
|
+
var r = e.length === 1 ? Jt : qt;
|
737
|
+
return nt(e, this, r, t.cache.create(), t.serializer);
|
712
738
|
}
|
713
|
-
function
|
714
|
-
return
|
739
|
+
function An(e, t) {
|
740
|
+
return nt(e, this, qt, t.cache.create(), t.serializer);
|
715
741
|
}
|
716
|
-
|
742
|
+
function On(e, t) {
|
743
|
+
return nt(e, this, Jt, t.cache.create(), t.serializer);
|
744
|
+
}
|
745
|
+
var In = function() {
|
717
746
|
return JSON.stringify(arguments);
|
718
|
-
}
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
}()
|
730
|
-
), An = {
|
747
|
+
};
|
748
|
+
function it() {
|
749
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
750
|
+
}
|
751
|
+
it.prototype.get = function(e) {
|
752
|
+
return this.cache[e];
|
753
|
+
};
|
754
|
+
it.prototype.set = function(e, t) {
|
755
|
+
this.cache[e] = t;
|
756
|
+
};
|
757
|
+
var Ln = {
|
731
758
|
create: function() {
|
732
|
-
return new
|
759
|
+
return new it();
|
733
760
|
}
|
734
761
|
}, Me = {
|
735
|
-
variadic:
|
762
|
+
variadic: An,
|
763
|
+
monadic: On
|
736
764
|
}, v;
|
737
765
|
(function(e) {
|
738
766
|
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";
|
@@ -745,43 +773,43 @@ var q;
|
|
745
773
|
(function(e) {
|
746
774
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
747
775
|
})(q || (q = {}));
|
748
|
-
function
|
776
|
+
function gt(e) {
|
749
777
|
return e.type === w.literal;
|
750
778
|
}
|
751
|
-
function
|
779
|
+
function Nn(e) {
|
752
780
|
return e.type === w.argument;
|
753
781
|
}
|
754
|
-
function
|
782
|
+
function Yt(e) {
|
755
783
|
return e.type === w.number;
|
756
784
|
}
|
757
|
-
function
|
785
|
+
function Kt(e) {
|
758
786
|
return e.type === w.date;
|
759
787
|
}
|
760
|
-
function
|
788
|
+
function er(e) {
|
761
789
|
return e.type === w.time;
|
762
790
|
}
|
763
|
-
function
|
791
|
+
function tr(e) {
|
764
792
|
return e.type === w.select;
|
765
793
|
}
|
766
|
-
function
|
794
|
+
function rr(e) {
|
767
795
|
return e.type === w.plural;
|
768
796
|
}
|
769
|
-
function
|
797
|
+
function Mn(e) {
|
770
798
|
return e.type === w.pound;
|
771
799
|
}
|
772
|
-
function
|
800
|
+
function nr(e) {
|
773
801
|
return e.type === w.tag;
|
774
802
|
}
|
775
|
-
function
|
803
|
+
function ir(e) {
|
776
804
|
return !!(e && typeof e == "object" && e.type === q.number);
|
777
805
|
}
|
778
|
-
function
|
806
|
+
function Xe(e) {
|
779
807
|
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
780
808
|
}
|
781
|
-
var
|
782
|
-
function
|
809
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
810
|
+
function $n(e) {
|
783
811
|
var t = {};
|
784
|
-
return e.replace(
|
812
|
+
return e.replace(Rn, function(r) {
|
785
813
|
var n = r.length;
|
786
814
|
switch (r[0]) {
|
787
815
|
case "G":
|
@@ -870,11 +898,11 @@ function Nn(e) {
|
|
870
898
|
return "";
|
871
899
|
}), t;
|
872
900
|
}
|
873
|
-
var
|
874
|
-
function
|
901
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
902
|
+
function Un(e) {
|
875
903
|
if (e.length === 0)
|
876
904
|
throw new Error("Number skeleton cannot be empty");
|
877
|
-
for (var t = e.split(
|
905
|
+
for (var t = e.split(Gn).filter(function(f) {
|
878
906
|
return f.length > 0;
|
879
907
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
880
908
|
var o = i[n], s = o.split("/");
|
@@ -889,17 +917,17 @@ function Rn(e) {
|
|
889
917
|
}
|
890
918
|
return r;
|
891
919
|
}
|
892
|
-
function
|
920
|
+
function Dn(e) {
|
893
921
|
return e.replace(/^(.*?)-/, "");
|
894
922
|
}
|
895
|
-
var
|
896
|
-
function
|
923
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
924
|
+
function yt(e) {
|
897
925
|
var t = {};
|
898
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
926
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
899
927
|
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)), "";
|
900
928
|
}), t;
|
901
929
|
}
|
902
|
-
function
|
930
|
+
function lr(e) {
|
903
931
|
switch (e) {
|
904
932
|
case "sign-auto":
|
905
933
|
return {
|
@@ -939,7 +967,7 @@ function or(e) {
|
|
939
967
|
};
|
940
968
|
}
|
941
969
|
}
|
942
|
-
function
|
970
|
+
function kn(e) {
|
943
971
|
var t;
|
944
972
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
945
973
|
notation: "engineering"
|
@@ -947,17 +975,17 @@ function Un(e) {
|
|
947
975
|
notation: "scientific"
|
948
976
|
}, e = e.slice(1)), t) {
|
949
977
|
var r = e.slice(0, 2);
|
950
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
978
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
951
979
|
throw new Error("Malformed concise eng/scientific notation");
|
952
980
|
t.minimumIntegerDigits = e.length;
|
953
981
|
}
|
954
982
|
return t;
|
955
983
|
}
|
956
|
-
function
|
957
|
-
var t = {}, r =
|
984
|
+
function _t(e) {
|
985
|
+
var t = {}, r = lr(e);
|
958
986
|
return r || t;
|
959
987
|
}
|
960
|
-
function
|
988
|
+
function jn(e) {
|
961
989
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
962
990
|
var i = n[r];
|
963
991
|
switch (i.stem) {
|
@@ -981,7 +1009,7 @@ function Dn(e) {
|
|
981
1009
|
continue;
|
982
1010
|
case "measure-unit":
|
983
1011
|
case "unit":
|
984
|
-
t.style = "unit", t.unit =
|
1012
|
+
t.style = "unit", t.unit = Dn(i.options[0]);
|
985
1013
|
continue;
|
986
1014
|
case "compact-short":
|
987
1015
|
case "K":
|
@@ -993,12 +1021,12 @@ function Dn(e) {
|
|
993
1021
|
continue;
|
994
1022
|
case "scientific":
|
995
1023
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
996
|
-
return _(_({}, u),
|
1024
|
+
return _(_({}, u), _t(h));
|
997
1025
|
}, {}));
|
998
1026
|
continue;
|
999
1027
|
case "engineering":
|
1000
1028
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
1001
|
-
return _(_({}, u),
|
1029
|
+
return _(_({}, u), _t(h));
|
1002
1030
|
}, {}));
|
1003
1031
|
continue;
|
1004
1032
|
case "notation-simple":
|
@@ -1043,7 +1071,7 @@ function Dn(e) {
|
|
1043
1071
|
case "integer-width":
|
1044
1072
|
if (i.options.length > 1)
|
1045
1073
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1046
|
-
i.options[0].replace(
|
1074
|
+
i.options[0].replace(Fn, function(u, h, l, c, f, p) {
|
1047
1075
|
if (h)
|
1048
1076
|
t.minimumIntegerDigits = l.length;
|
1049
1077
|
else {
|
@@ -1056,27 +1084,27 @@ function Dn(e) {
|
|
1056
1084
|
});
|
1057
1085
|
continue;
|
1058
1086
|
}
|
1059
|
-
if (
|
1087
|
+
if (ar.test(i.stem)) {
|
1060
1088
|
t.minimumIntegerDigits = i.stem.length;
|
1061
1089
|
continue;
|
1062
1090
|
}
|
1063
|
-
if (
|
1091
|
+
if (vt.test(i.stem)) {
|
1064
1092
|
if (i.options.length > 1)
|
1065
1093
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1066
|
-
i.stem.replace(
|
1094
|
+
i.stem.replace(vt, function(u, h, l, c, f, p) {
|
1067
1095
|
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
1068
1096
|
});
|
1069
1097
|
var o = i.options[0];
|
1070
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1098
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
|
1071
1099
|
continue;
|
1072
1100
|
}
|
1073
|
-
if (
|
1074
|
-
t = _(_({}, t),
|
1101
|
+
if (sr.test(i.stem)) {
|
1102
|
+
t = _(_({}, t), yt(i.stem));
|
1075
1103
|
continue;
|
1076
1104
|
}
|
1077
|
-
var s =
|
1105
|
+
var s = lr(i.stem);
|
1078
1106
|
s && (t = _(_({}, t), s));
|
1079
|
-
var a =
|
1107
|
+
var a = kn(i.stem);
|
1080
1108
|
a && (t = _(_({}, t), a));
|
1081
1109
|
}
|
1082
1110
|
return t;
|
@@ -2496,22 +2524,23 @@ var pe = {
|
|
2496
2524
|
"h"
|
2497
2525
|
]
|
2498
2526
|
};
|
2499
|
-
function
|
2527
|
+
function Vn(e, t) {
|
2500
2528
|
for (var r = "", n = 0; n < e.length; n++) {
|
2501
2529
|
var i = e.charAt(n);
|
2502
2530
|
if (i === "j") {
|
2503
2531
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2504
2532
|
o++, n++;
|
2505
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
2533
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Xn(t);
|
2506
2534
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
2507
2535
|
r += u;
|
2508
2536
|
for (; s-- > 0; )
|
2509
2537
|
r = h + r;
|
2510
|
-
} else
|
2538
|
+
} else
|
2539
|
+
i === "J" ? r += "H" : r += i;
|
2511
2540
|
}
|
2512
2541
|
return r;
|
2513
2542
|
}
|
2514
|
-
function
|
2543
|
+
function Xn(e) {
|
2515
2544
|
var t = e.hourCycle;
|
2516
2545
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2517
2546
|
e.hourCycles && // @ts-ignore
|
@@ -2533,20 +2562,20 @@ function kn(e) {
|
|
2533
2562
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2534
2563
|
return i[0];
|
2535
2564
|
}
|
2536
|
-
var Re,
|
2565
|
+
var Re, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
|
2537
2566
|
function y(e, t) {
|
2538
2567
|
return { start: e, end: t };
|
2539
2568
|
}
|
2540
|
-
var
|
2569
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
2541
2570
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2542
|
-
},
|
2571
|
+
}, We = !0;
|
2543
2572
|
try {
|
2544
|
-
var
|
2545
|
-
|
2573
|
+
var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2574
|
+
We = ((Re = ri.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
2546
2575
|
} catch {
|
2547
|
-
|
2576
|
+
We = !1;
|
2548
2577
|
}
|
2549
|
-
var
|
2578
|
+
var Et = Zn ? (
|
2550
2579
|
// Native
|
2551
2580
|
function(t, r, n) {
|
2552
2581
|
return t.startsWith(r, n);
|
@@ -2556,7 +2585,7 @@ var vt = Xn ? (
|
|
2556
2585
|
function(t, r, n) {
|
2557
2586
|
return t.slice(n, n + r.length) === r;
|
2558
2587
|
}
|
2559
|
-
),
|
2588
|
+
), ze = Qn ? String.fromCodePoint : (
|
2560
2589
|
// IE11
|
2561
2590
|
function() {
|
2562
2591
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2568,9 +2597,9 @@ var vt = Xn ? (
|
|
2568
2597
|
}
|
2569
2598
|
return n;
|
2570
2599
|
}
|
2571
|
-
),
|
2600
|
+
), xt = (
|
2572
2601
|
// native
|
2573
|
-
|
2602
|
+
Jn ? Object.fromEntries : (
|
2574
2603
|
// Ponyfill
|
2575
2604
|
function(t) {
|
2576
2605
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2580,7 +2609,7 @@ var vt = Xn ? (
|
|
2580
2609
|
return r;
|
2581
2610
|
}
|
2582
2611
|
)
|
2583
|
-
),
|
2612
|
+
), ur = qn ? (
|
2584
2613
|
// Native
|
2585
2614
|
function(t, r) {
|
2586
2615
|
return t.codePointAt(r);
|
@@ -2594,7 +2623,7 @@ var vt = Xn ? (
|
|
2594
2623
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2595
2624
|
}
|
2596
2625
|
}
|
2597
|
-
),
|
2626
|
+
), ni = Yn ? (
|
2598
2627
|
// Native
|
2599
2628
|
function(t) {
|
2600
2629
|
return t.trimStart();
|
@@ -2602,9 +2631,9 @@ var vt = Xn ? (
|
|
2602
2631
|
) : (
|
2603
2632
|
// Ponyfill
|
2604
2633
|
function(t) {
|
2605
|
-
return t.replace(
|
2634
|
+
return t.replace(Wn, "");
|
2606
2635
|
}
|
2607
|
-
),
|
2636
|
+
), ii = Kn ? (
|
2608
2637
|
// Native
|
2609
2638
|
function(t) {
|
2610
2639
|
return t.trimEnd();
|
@@ -2612,32 +2641,32 @@ var vt = Xn ? (
|
|
2612
2641
|
) : (
|
2613
2642
|
// Ponyfill
|
2614
2643
|
function(t) {
|
2615
|
-
return t.replace(
|
2644
|
+
return t.replace(zn, "");
|
2616
2645
|
}
|
2617
2646
|
);
|
2618
|
-
function
|
2647
|
+
function hr(e, t) {
|
2619
2648
|
return new RegExp(e, t);
|
2620
2649
|
}
|
2621
|
-
var
|
2622
|
-
if (
|
2623
|
-
var
|
2624
|
-
|
2650
|
+
var Ze;
|
2651
|
+
if (We) {
|
2652
|
+
var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2653
|
+
Ze = function(t, r) {
|
2625
2654
|
var n;
|
2626
|
-
|
2627
|
-
var i =
|
2655
|
+
St.lastIndex = r;
|
2656
|
+
var i = St.exec(t);
|
2628
2657
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2629
2658
|
};
|
2630
2659
|
} else
|
2631
|
-
|
2660
|
+
Ze = function(t, r) {
|
2632
2661
|
for (var n = []; ; ) {
|
2633
|
-
var i =
|
2634
|
-
if (i === void 0 ||
|
2662
|
+
var i = ur(t, r);
|
2663
|
+
if (i === void 0 || cr(i) || li(i))
|
2635
2664
|
break;
|
2636
2665
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2637
2666
|
}
|
2638
|
-
return
|
2667
|
+
return ze.apply(void 0, n);
|
2639
2668
|
};
|
2640
|
-
var
|
2669
|
+
var oi = (
|
2641
2670
|
/** @class */
|
2642
2671
|
function() {
|
2643
2672
|
function e(t, r) {
|
@@ -2668,7 +2697,7 @@ var ri = (
|
|
2668
2697
|
if (n)
|
2669
2698
|
break;
|
2670
2699
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2671
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2700
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
2672
2701
|
var s = this.parseTag(t, r);
|
2673
2702
|
if (s.err)
|
2674
2703
|
return s;
|
@@ -2701,7 +2730,7 @@ var ri = (
|
|
2701
2730
|
return o;
|
2702
2731
|
var s = o.val, a = this.clonePosition();
|
2703
2732
|
if (this.bumpIf("</")) {
|
2704
|
-
if (this.isEOF() || !
|
2733
|
+
if (this.isEOF() || !Qe(this.char()))
|
2705
2734
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2706
2735
|
var u = this.clonePosition(), h = this.parseTagName();
|
2707
2736
|
return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2719,7 +2748,7 @@ var ri = (
|
|
2719
2748
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2720
2749
|
}, e.prototype.parseTagName = function() {
|
2721
2750
|
var t = this.offset();
|
2722
|
-
for (this.bump(); !this.isEOF() &&
|
2751
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
2723
2752
|
this.bump();
|
2724
2753
|
return this.message.slice(t, this.offset());
|
2725
2754
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2748,7 +2777,7 @@ var ri = (
|
|
2748
2777
|
};
|
2749
2778
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2750
2779
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2751
|
-
!
|
2780
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2752
2781
|
}, e.prototype.tryParseQuote = function(t) {
|
2753
2782
|
if (this.isEOF() || this.char() !== 39)
|
2754
2783
|
return null;
|
@@ -2782,12 +2811,12 @@ var ri = (
|
|
2782
2811
|
r.push(n);
|
2783
2812
|
this.bump();
|
2784
2813
|
}
|
2785
|
-
return
|
2814
|
+
return ze.apply(void 0, r);
|
2786
2815
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2787
2816
|
if (this.isEOF())
|
2788
2817
|
return null;
|
2789
2818
|
var n = this.char();
|
2790
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2819
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
2791
2820
|
}, e.prototype.parseArgument = function(t, r) {
|
2792
2821
|
var n = this.clonePosition();
|
2793
2822
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2816,7 +2845,7 @@ var ri = (
|
|
2816
2845
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2817
2846
|
}
|
2818
2847
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2819
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2848
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
2820
2849
|
this.bumpTo(i);
|
2821
2850
|
var o = this.clonePosition(), s = y(t, o);
|
2822
2851
|
return { value: n, location: s };
|
@@ -2835,7 +2864,7 @@ var ri = (
|
|
2835
2864
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2836
2865
|
if (c.err)
|
2837
2866
|
return c;
|
2838
|
-
var f =
|
2867
|
+
var f = ii(c.val);
|
2839
2868
|
if (f.length === 0)
|
2840
2869
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2841
2870
|
var p = y(l, this.clonePosition());
|
@@ -2845,8 +2874,8 @@ var ri = (
|
|
2845
2874
|
if (d.err)
|
2846
2875
|
return d;
|
2847
2876
|
var g = y(i, this.clonePosition());
|
2848
|
-
if (h &&
|
2849
|
-
var m =
|
2877
|
+
if (h && Et(h?.style, "::", 0)) {
|
2878
|
+
var m = ni(h.style.slice(2));
|
2850
2879
|
if (a === "number") {
|
2851
2880
|
var c = this.parseNumberSkeletonFromString(m, h.styleLocation);
|
2852
2881
|
return c.err ? c : {
|
@@ -2856,16 +2885,16 @@ var ri = (
|
|
2856
2885
|
} else {
|
2857
2886
|
if (m.length === 0)
|
2858
2887
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
2859
|
-
var
|
2860
|
-
this.locale && (
|
2888
|
+
var x = m;
|
2889
|
+
this.locale && (x = Vn(m, this.locale));
|
2861
2890
|
var f = {
|
2862
2891
|
type: q.dateTime,
|
2863
|
-
pattern:
|
2892
|
+
pattern: x,
|
2864
2893
|
location: h.styleLocation,
|
2865
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2866
|
-
},
|
2894
|
+
parsedOptions: this.shouldParseSkeletons ? $n(x) : {}
|
2895
|
+
}, E = a === "date" ? w.date : w.time;
|
2867
2896
|
return {
|
2868
|
-
val: { type:
|
2897
|
+
val: { type: E, value: n, location: g, style: f },
|
2869
2898
|
err: null
|
2870
2899
|
};
|
2871
2900
|
}
|
@@ -2908,7 +2937,7 @@ var ri = (
|
|
2908
2937
|
val: {
|
2909
2938
|
type: w.select,
|
2910
2939
|
value: n,
|
2911
|
-
options:
|
2940
|
+
options: xt(B.val),
|
2912
2941
|
location: ce
|
2913
2942
|
},
|
2914
2943
|
err: null
|
@@ -2916,7 +2945,7 @@ var ri = (
|
|
2916
2945
|
val: {
|
2917
2946
|
type: w.plural,
|
2918
2947
|
value: n,
|
2919
|
-
options:
|
2948
|
+
options: xt(B.val),
|
2920
2949
|
offset: M,
|
2921
2950
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2922
2951
|
location: ce
|
@@ -2967,7 +2996,7 @@ var ri = (
|
|
2967
2996
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2968
2997
|
var n = [];
|
2969
2998
|
try {
|
2970
|
-
n =
|
2999
|
+
n = Un(t);
|
2971
3000
|
} catch {
|
2972
3001
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
2973
3002
|
}
|
@@ -2976,7 +3005,7 @@ var ri = (
|
|
2976
3005
|
type: q.number,
|
2977
3006
|
tokens: n,
|
2978
3007
|
location: r,
|
2979
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3008
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
2980
3009
|
},
|
2981
3010
|
err: null
|
2982
3011
|
};
|
@@ -3024,7 +3053,7 @@ var ri = (
|
|
3024
3053
|
break;
|
3025
3054
|
}
|
3026
3055
|
var u = y(i, this.clonePosition());
|
3027
|
-
return o ? (s *= n,
|
3056
|
+
return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3028
3057
|
}, e.prototype.offset = function() {
|
3029
3058
|
return this.position.offset;
|
3030
3059
|
}, e.prototype.isEOF = function() {
|
@@ -3039,7 +3068,7 @@ var ri = (
|
|
3039
3068
|
var t = this.position.offset;
|
3040
3069
|
if (t >= this.message.length)
|
3041
3070
|
throw Error("out of bound");
|
3042
|
-
var r =
|
3071
|
+
var r = ur(this.message, t);
|
3043
3072
|
if (r === void 0)
|
3044
3073
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3045
3074
|
return r;
|
@@ -3058,7 +3087,7 @@ var ri = (
|
|
3058
3087
|
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);
|
3059
3088
|
}
|
3060
3089
|
}, e.prototype.bumpIf = function(t) {
|
3061
|
-
if (
|
3090
|
+
if (Et(this.message, t, this.offset())) {
|
3062
3091
|
for (var r = 0; r < t.length; r++)
|
3063
3092
|
this.bump();
|
3064
3093
|
return !0;
|
@@ -3080,7 +3109,7 @@ var ri = (
|
|
3080
3109
|
break;
|
3081
3110
|
}
|
3082
3111
|
}, e.prototype.bumpSpace = function() {
|
3083
|
-
for (; !this.isEOF() &&
|
3112
|
+
for (; !this.isEOF() && cr(this.char()); )
|
3084
3113
|
this.bump();
|
3085
3114
|
}, e.prototype.peek = function() {
|
3086
3115
|
if (this.isEOF())
|
@@ -3090,37 +3119,38 @@ var ri = (
|
|
3090
3119
|
}, e;
|
3091
3120
|
}()
|
3092
3121
|
);
|
3093
|
-
function
|
3122
|
+
function Qe(e) {
|
3094
3123
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3095
3124
|
}
|
3096
|
-
function
|
3097
|
-
return
|
3125
|
+
function si(e) {
|
3126
|
+
return Qe(e) || e === 47;
|
3098
3127
|
}
|
3099
|
-
function
|
3128
|
+
function ai(e) {
|
3100
3129
|
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;
|
3101
3130
|
}
|
3102
|
-
function
|
3131
|
+
function cr(e) {
|
3103
3132
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3104
3133
|
}
|
3105
|
-
function
|
3134
|
+
function li(e) {
|
3106
3135
|
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;
|
3107
3136
|
}
|
3108
|
-
function
|
3137
|
+
function Je(e) {
|
3109
3138
|
e.forEach(function(t) {
|
3110
|
-
if (delete t.location,
|
3139
|
+
if (delete t.location, tr(t) || rr(t))
|
3111
3140
|
for (var r in t.options)
|
3112
|
-
delete t.options[r].location,
|
3113
|
-
else
|
3141
|
+
delete t.options[r].location, Je(t.options[r].value);
|
3142
|
+
else
|
3143
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Xe(t.style) ? delete t.style.location : nr(t) && Je(t.children);
|
3114
3144
|
});
|
3115
3145
|
}
|
3116
|
-
function
|
3146
|
+
function ui(e, t) {
|
3117
3147
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3118
|
-
var r = new
|
3148
|
+
var r = new oi(e, t).parse();
|
3119
3149
|
if (r.err) {
|
3120
3150
|
var n = SyntaxError(v[r.err.kind]);
|
3121
3151
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3122
3152
|
}
|
3123
|
-
return t?.captureLocation ||
|
3153
|
+
return t?.captureLocation || Je(r.val), r.val;
|
3124
3154
|
}
|
3125
3155
|
var Y;
|
3126
3156
|
(function(e) {
|
@@ -3138,7 +3168,7 @@ var Pe = (
|
|
3138
3168
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3139
3169
|
}, t;
|
3140
3170
|
}(Error)
|
3141
|
-
),
|
3171
|
+
), wt = (
|
3142
3172
|
/** @class */
|
3143
3173
|
function(e) {
|
3144
3174
|
U(t, e);
|
@@ -3147,7 +3177,7 @@ var Pe = (
|
|
3147
3177
|
}
|
3148
3178
|
return t;
|
3149
3179
|
}(Pe)
|
3150
|
-
),
|
3180
|
+
), hi = (
|
3151
3181
|
/** @class */
|
3152
3182
|
function(e) {
|
3153
3183
|
U(t, e);
|
@@ -3156,7 +3186,7 @@ var Pe = (
|
|
3156
3186
|
}
|
3157
3187
|
return t;
|
3158
3188
|
}(Pe)
|
3159
|
-
),
|
3189
|
+
), ci = (
|
3160
3190
|
/** @class */
|
3161
3191
|
function(e) {
|
3162
3192
|
U(t, e);
|
@@ -3169,17 +3199,17 @@ var Pe = (
|
|
3169
3199
|
(function(e) {
|
3170
3200
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3171
3201
|
})(P || (P = {}));
|
3172
|
-
function
|
3202
|
+
function fi(e) {
|
3173
3203
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3174
3204
|
var n = t[t.length - 1];
|
3175
3205
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
3176
3206
|
}, []);
|
3177
3207
|
}
|
3178
|
-
function
|
3208
|
+
function di(e) {
|
3179
3209
|
return typeof e == "function";
|
3180
3210
|
}
|
3181
3211
|
function ge(e, t, r, n, i, o, s) {
|
3182
|
-
if (e.length === 1 &&
|
3212
|
+
if (e.length === 1 && gt(e[0]))
|
3183
3213
|
return [
|
3184
3214
|
{
|
3185
3215
|
type: P.literal,
|
@@ -3188,14 +3218,14 @@ function ge(e, t, r, n, i, o, s) {
|
|
3188
3218
|
];
|
3189
3219
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
3190
3220
|
var l = h[u];
|
3191
|
-
if (
|
3221
|
+
if (gt(l)) {
|
3192
3222
|
a.push({
|
3193
3223
|
type: P.literal,
|
3194
3224
|
value: l.value
|
3195
3225
|
});
|
3196
3226
|
continue;
|
3197
3227
|
}
|
3198
|
-
if (
|
3228
|
+
if (Mn(l)) {
|
3199
3229
|
typeof o == "number" && a.push({
|
3200
3230
|
type: P.literal,
|
3201
3231
|
value: r.getNumberFormat(t).format(o)
|
@@ -3204,61 +3234,61 @@ function ge(e, t, r, n, i, o, s) {
|
|
3204
3234
|
}
|
3205
3235
|
var c = l.value;
|
3206
3236
|
if (!(i && c in i))
|
3207
|
-
throw new
|
3237
|
+
throw new ci(c, s);
|
3208
3238
|
var f = i[c];
|
3209
|
-
if (
|
3239
|
+
if (Nn(l)) {
|
3210
3240
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3211
3241
|
type: typeof f == "string" ? P.literal : P.object,
|
3212
3242
|
value: f
|
3213
3243
|
});
|
3214
3244
|
continue;
|
3215
3245
|
}
|
3216
|
-
if (
|
3217
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
3246
|
+
if (Kt(l)) {
|
3247
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
|
3218
3248
|
a.push({
|
3219
3249
|
type: P.literal,
|
3220
3250
|
value: r.getDateTimeFormat(t, p).format(f)
|
3221
3251
|
});
|
3222
3252
|
continue;
|
3223
3253
|
}
|
3224
|
-
if (
|
3225
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
3254
|
+
if (er(l)) {
|
3255
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
|
3226
3256
|
a.push({
|
3227
3257
|
type: P.literal,
|
3228
3258
|
value: r.getDateTimeFormat(t, p).format(f)
|
3229
3259
|
});
|
3230
3260
|
continue;
|
3231
3261
|
}
|
3232
|
-
if (
|
3233
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
3262
|
+
if (Yt(l)) {
|
3263
|
+
var p = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
|
3234
3264
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3235
3265
|
type: P.literal,
|
3236
3266
|
value: r.getNumberFormat(t, p).format(f)
|
3237
3267
|
});
|
3238
3268
|
continue;
|
3239
3269
|
}
|
3240
|
-
if (
|
3270
|
+
if (nr(l)) {
|
3241
3271
|
var d = l.children, g = l.value, m = i[g];
|
3242
|
-
if (!
|
3243
|
-
throw new
|
3244
|
-
var
|
3272
|
+
if (!di(m))
|
3273
|
+
throw new hi(g, "function", s);
|
3274
|
+
var x = ge(d, t, r, n, i, o), E = m(x.map(function(M) {
|
3245
3275
|
return M.value;
|
3246
3276
|
}));
|
3247
|
-
Array.isArray(
|
3277
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(M) {
|
3248
3278
|
return {
|
3249
3279
|
type: typeof M == "string" ? P.literal : P.object,
|
3250
3280
|
value: M
|
3251
3281
|
};
|
3252
3282
|
}));
|
3253
3283
|
}
|
3254
|
-
if (
|
3284
|
+
if (tr(l)) {
|
3255
3285
|
var T = l.options[f] || l.options.other;
|
3256
3286
|
if (!T)
|
3257
|
-
throw new
|
3287
|
+
throw new wt(l.value, f, Object.keys(l.options), s);
|
3258
3288
|
a.push.apply(a, ge(T.value, t, r, n, i));
|
3259
3289
|
continue;
|
3260
3290
|
}
|
3261
|
-
if (
|
3291
|
+
if (rr(l)) {
|
3262
3292
|
var T = l.options["=".concat(f)];
|
3263
3293
|
if (!T) {
|
3264
3294
|
if (!Intl.PluralRules)
|
@@ -3269,21 +3299,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3269
3299
|
T = l.options[D] || l.options.other;
|
3270
3300
|
}
|
3271
3301
|
if (!T)
|
3272
|
-
throw new
|
3302
|
+
throw new wt(l.value, f, Object.keys(l.options), s);
|
3273
3303
|
a.push.apply(a, ge(T.value, t, r, n, i, f - (l.offset || 0)));
|
3274
3304
|
continue;
|
3275
3305
|
}
|
3276
3306
|
}
|
3277
|
-
return
|
3307
|
+
return fi(a);
|
3278
3308
|
}
|
3279
|
-
function
|
3309
|
+
function pi(e, t) {
|
3280
3310
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3281
3311
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3282
3312
|
}, {})) : e;
|
3283
3313
|
}
|
3284
|
-
function
|
3314
|
+
function mi(e, t) {
|
3285
3315
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3286
|
-
return r[n] =
|
3316
|
+
return r[n] = pi(e[n], t[n]), r;
|
3287
3317
|
}, _({}, e)) : e;
|
3288
3318
|
}
|
3289
3319
|
function $e(e) {
|
@@ -3300,7 +3330,7 @@ function $e(e) {
|
|
3300
3330
|
}
|
3301
3331
|
};
|
3302
3332
|
}
|
3303
|
-
function
|
3333
|
+
function bi(e) {
|
3304
3334
|
return e === void 0 && (e = {
|
3305
3335
|
number: {},
|
3306
3336
|
dateTime: {},
|
@@ -3332,7 +3362,7 @@ function di(e) {
|
|
3332
3362
|
})
|
3333
3363
|
};
|
3334
3364
|
}
|
3335
|
-
var
|
3365
|
+
var gi = (
|
3336
3366
|
/** @class */
|
3337
3367
|
function() {
|
3338
3368
|
function e(t, r, n, i) {
|
@@ -3364,13 +3394,13 @@ var pi = (
|
|
3364
3394
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3365
3395
|
var s = i || {};
|
3366
3396
|
s.formatters;
|
3367
|
-
var a =
|
3397
|
+
var a = Cn(s, ["formatters"]);
|
3368
3398
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3369
3399
|
} else
|
3370
3400
|
this.ast = t;
|
3371
3401
|
if (!Array.isArray(this.ast))
|
3372
3402
|
throw new TypeError("A message must be provided as a String or AST.");
|
3373
|
-
this.formats =
|
3403
|
+
this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
|
3374
3404
|
}
|
3375
3405
|
return Object.defineProperty(e, "defaultLocale", {
|
3376
3406
|
get: function() {
|
@@ -3383,7 +3413,7 @@ var pi = (
|
|
3383
3413
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3384
3414
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3385
3415
|
}
|
3386
|
-
}, e.__parse =
|
3416
|
+
}, e.__parse = ui, e.formats = {
|
3387
3417
|
number: {
|
3388
3418
|
integer: {
|
3389
3419
|
maximumFractionDigits: 0
|
@@ -3444,7 +3474,7 @@ var pi = (
|
|
3444
3474
|
}, e;
|
3445
3475
|
}()
|
3446
3476
|
);
|
3447
|
-
function
|
3477
|
+
function vi(e, t) {
|
3448
3478
|
if (t == null)
|
3449
3479
|
return;
|
3450
3480
|
if (t in e)
|
@@ -3465,92 +3495,92 @@ function mi(e, t) {
|
|
3465
3495
|
n = void 0;
|
3466
3496
|
return n;
|
3467
3497
|
}
|
3468
|
-
const F = {},
|
3498
|
+
const F = {}, yi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
|
3469
3499
|
if (t == null)
|
3470
3500
|
return;
|
3471
3501
|
if (t in F && e in F[t])
|
3472
3502
|
return F[t][e];
|
3473
3503
|
const r = Be(t);
|
3474
3504
|
for (let n = 0; n < r.length; n++) {
|
3475
|
-
const i = r[n], o =
|
3505
|
+
const i = r[n], o = Ei(i, e);
|
3476
3506
|
if (o)
|
3477
|
-
return
|
3507
|
+
return yi(e, t, o);
|
3478
3508
|
}
|
3479
3509
|
};
|
3480
|
-
let
|
3510
|
+
let ot;
|
3481
3511
|
const he = Ce({});
|
3482
|
-
function
|
3483
|
-
return
|
3512
|
+
function _i(e) {
|
3513
|
+
return ot[e] || null;
|
3484
3514
|
}
|
3485
|
-
function
|
3486
|
-
return e in
|
3515
|
+
function dr(e) {
|
3516
|
+
return e in ot;
|
3487
3517
|
}
|
3488
|
-
function
|
3489
|
-
if (!
|
3518
|
+
function Ei(e, t) {
|
3519
|
+
if (!dr(e))
|
3490
3520
|
return null;
|
3491
|
-
const r =
|
3492
|
-
return
|
3521
|
+
const r = _i(e);
|
3522
|
+
return vi(r, t);
|
3493
3523
|
}
|
3494
|
-
function
|
3524
|
+
function xi(e) {
|
3495
3525
|
if (e == null)
|
3496
3526
|
return;
|
3497
3527
|
const t = Be(e);
|
3498
3528
|
for (let r = 0; r < t.length; r++) {
|
3499
3529
|
const n = t[r];
|
3500
|
-
if (
|
3530
|
+
if (dr(n))
|
3501
3531
|
return n;
|
3502
3532
|
}
|
3503
3533
|
}
|
3504
|
-
function
|
3505
|
-
delete F[e], he.update((r) => (r[e] =
|
3534
|
+
function pr(e, ...t) {
|
3535
|
+
delete F[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
|
3506
3536
|
}
|
3507
3537
|
te(
|
3508
3538
|
[he],
|
3509
3539
|
([e]) => Object.keys(e)
|
3510
3540
|
);
|
3511
|
-
he.subscribe((e) =>
|
3541
|
+
he.subscribe((e) => ot = e);
|
3512
3542
|
const ve = {};
|
3513
|
-
function
|
3543
|
+
function Si(e, t) {
|
3514
3544
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
3515
3545
|
}
|
3516
|
-
function
|
3546
|
+
function mr(e) {
|
3517
3547
|
return ve[e];
|
3518
3548
|
}
|
3519
|
-
function
|
3549
|
+
function wi(e) {
|
3520
3550
|
return Be(e).map((t) => {
|
3521
|
-
const r =
|
3551
|
+
const r = mr(t);
|
3522
3552
|
return [t, r ? [...r] : []];
|
3523
3553
|
}).filter(([, t]) => t.length > 0);
|
3524
3554
|
}
|
3525
|
-
function
|
3555
|
+
function qe(e) {
|
3526
3556
|
return e == null ? !1 : Be(e).some(
|
3527
3557
|
(t) => {
|
3528
3558
|
var r;
|
3529
|
-
return (r =
|
3559
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
3530
3560
|
}
|
3531
3561
|
);
|
3532
3562
|
}
|
3533
|
-
function
|
3563
|
+
function Ti(e, t) {
|
3534
3564
|
return Promise.all(
|
3535
|
-
t.map((n) => (
|
3536
|
-
).then((n) =>
|
3565
|
+
t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
|
3566
|
+
).then((n) => pr(e, ...n));
|
3537
3567
|
}
|
3538
3568
|
const oe = {};
|
3539
|
-
function
|
3540
|
-
if (!
|
3569
|
+
function br(e) {
|
3570
|
+
if (!qe(e))
|
3541
3571
|
return e in oe ? oe[e] : Promise.resolve();
|
3542
|
-
const t =
|
3572
|
+
const t = wi(e);
|
3543
3573
|
return oe[e] = Promise.all(
|
3544
3574
|
t.map(
|
3545
|
-
([r, n]) =>
|
3575
|
+
([r, n]) => Ti(r, n)
|
3546
3576
|
)
|
3547
3577
|
).then(() => {
|
3548
|
-
if (
|
3549
|
-
return
|
3578
|
+
if (qe(e))
|
3579
|
+
return br(e);
|
3550
3580
|
delete oe[e];
|
3551
3581
|
}), oe[e];
|
3552
3582
|
}
|
3553
|
-
const
|
3583
|
+
const Hi = {
|
3554
3584
|
number: {
|
3555
3585
|
scientific: { notation: "scientific" },
|
3556
3586
|
engineering: { notation: "engineering" },
|
@@ -3579,57 +3609,57 @@ const Si = {
|
|
3579
3609
|
timeZoneName: "short"
|
3580
3610
|
}
|
3581
3611
|
}
|
3582
|
-
},
|
3612
|
+
}, Ci = {
|
3583
3613
|
fallbackLocale: null,
|
3584
3614
|
loadingDelay: 200,
|
3585
|
-
formats:
|
3615
|
+
formats: Hi,
|
3586
3616
|
warnOnMissingMessages: !0,
|
3587
3617
|
handleMissingMessage: void 0,
|
3588
3618
|
ignoreTag: !0
|
3589
|
-
},
|
3619
|
+
}, Pi = Ci;
|
3590
3620
|
function K() {
|
3591
|
-
return
|
3621
|
+
return Pi;
|
3592
3622
|
}
|
3593
3623
|
const Ge = Ce(!1);
|
3594
|
-
var
|
3624
|
+
var Bi = Object.defineProperty, Ai = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
|
3595
3625
|
for (var r in t || (t = {}))
|
3596
|
-
|
3597
|
-
if (
|
3598
|
-
for (var r of
|
3599
|
-
|
3626
|
+
Ii.call(t, r) && Ht(e, r, t[r]);
|
3627
|
+
if (Tt)
|
3628
|
+
for (var r of Tt(t))
|
3629
|
+
Li.call(t, r) && Ht(e, r, t[r]);
|
3600
3630
|
return e;
|
3601
|
-
},
|
3602
|
-
let
|
3631
|
+
}, Mi = (e, t) => Ai(e, Oi(t));
|
3632
|
+
let Ye;
|
3603
3633
|
const we = Ce(null);
|
3604
|
-
function
|
3634
|
+
function Ct(e) {
|
3605
3635
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3606
3636
|
}
|
3607
3637
|
function Be(e, t = K().fallbackLocale) {
|
3608
|
-
const r =
|
3609
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3638
|
+
const r = Ct(e);
|
3639
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
3610
3640
|
}
|
3611
3641
|
function j() {
|
3612
|
-
return
|
3642
|
+
return Ye ?? void 0;
|
3613
3643
|
}
|
3614
3644
|
we.subscribe((e) => {
|
3615
|
-
|
3645
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3616
3646
|
});
|
3617
|
-
const
|
3618
|
-
if (e &&
|
3647
|
+
const Ri = (e) => {
|
3648
|
+
if (e && xi(e) && qe(e)) {
|
3619
3649
|
const { loadingDelay: t } = K();
|
3620
3650
|
let r;
|
3621
3651
|
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
3622
3652
|
() => Ge.set(!0),
|
3623
3653
|
t
|
3624
|
-
) : Ge.set(!0),
|
3654
|
+
) : Ge.set(!0), br(e).then(() => {
|
3625
3655
|
we.set(e);
|
3626
3656
|
}).finally(() => {
|
3627
3657
|
clearTimeout(r), Ge.set(!1);
|
3628
3658
|
});
|
3629
3659
|
}
|
3630
3660
|
return we.set(e);
|
3631
|
-
}, re =
|
3632
|
-
set:
|
3661
|
+
}, re = Mi(Ni({}, we), {
|
3662
|
+
set: Ri
|
3633
3663
|
}), Ae = (e) => {
|
3634
3664
|
const t = /* @__PURE__ */ Object.create(null);
|
3635
3665
|
return (n) => {
|
@@ -3637,20 +3667,20 @@ const Li = (e) => {
|
|
3637
3667
|
return i in t ? t[i] : t[i] = e(n);
|
3638
3668
|
};
|
3639
3669
|
};
|
3640
|
-
var
|
3670
|
+
var $i = Object.defineProperty, Te = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
3641
3671
|
for (var r in t || (t = {}))
|
3642
|
-
|
3672
|
+
gr.call(t, r) && Pt(e, r, t[r]);
|
3643
3673
|
if (Te)
|
3644
3674
|
for (var r of Te(t))
|
3645
|
-
|
3675
|
+
vr.call(t, r) && Pt(e, r, t[r]);
|
3646
3676
|
return e;
|
3647
3677
|
}, ne = (e, t) => {
|
3648
3678
|
var r = {};
|
3649
3679
|
for (var n in e)
|
3650
|
-
|
3680
|
+
gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3651
3681
|
if (e != null && Te)
|
3652
3682
|
for (var n of Te(e))
|
3653
|
-
t.indexOf(n) < 0 &&
|
3683
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
3654
3684
|
return r;
|
3655
3685
|
};
|
3656
3686
|
const ue = (e, t) => {
|
@@ -3658,21 +3688,21 @@ const ue = (e, t) => {
|
|
3658
3688
|
if (e in r && t in r[e])
|
3659
3689
|
return r[e][t];
|
3660
3690
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3661
|
-
},
|
3691
|
+
}, Gi = Ae(
|
3662
3692
|
(e) => {
|
3663
3693
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3664
3694
|
if (r == null)
|
3665
3695
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3666
3696
|
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
3667
3697
|
}
|
3668
|
-
),
|
3698
|
+
), Ui = Ae(
|
3669
3699
|
(e) => {
|
3670
3700
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3671
3701
|
if (r == null)
|
3672
3702
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3673
3703
|
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
3674
3704
|
}
|
3675
|
-
),
|
3705
|
+
), Di = Ae(
|
3676
3706
|
(e) => {
|
3677
3707
|
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3678
3708
|
if (r == null)
|
@@ -3681,33 +3711,33 @@ const ue = (e, t) => {
|
|
3681
3711
|
);
|
3682
3712
|
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
3683
3713
|
}
|
3684
|
-
),
|
3714
|
+
), Fi = (e = {}) => {
|
3685
3715
|
var t = e, {
|
3686
3716
|
locale: r = j()
|
3687
3717
|
} = t, n = ne(t, [
|
3688
3718
|
"locale"
|
3689
3719
|
]);
|
3690
|
-
return
|
3691
|
-
},
|
3720
|
+
return Gi(st({ locale: r }, n));
|
3721
|
+
}, ki = (e = {}) => {
|
3692
3722
|
var t = e, {
|
3693
3723
|
locale: r = j()
|
3694
3724
|
} = t, n = ne(t, [
|
3695
3725
|
"locale"
|
3696
3726
|
]);
|
3697
|
-
return
|
3698
|
-
},
|
3727
|
+
return Ui(st({ locale: r }, n));
|
3728
|
+
}, ji = (e = {}) => {
|
3699
3729
|
var t = e, {
|
3700
3730
|
locale: r = j()
|
3701
3731
|
} = t, n = ne(t, [
|
3702
3732
|
"locale"
|
3703
3733
|
]);
|
3704
|
-
return
|
3705
|
-
},
|
3734
|
+
return Di(st({ locale: r }, n));
|
3735
|
+
}, Vi = Ae(
|
3706
3736
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3707
|
-
(e, t = j()) => new
|
3737
|
+
(e, t = j()) => new gi(e, t, K().formats, {
|
3708
3738
|
ignoreTag: K().ignoreTag
|
3709
3739
|
})
|
3710
|
-
),
|
3740
|
+
), Xi = (e, t = {}) => {
|
3711
3741
|
var r, n, i, o;
|
3712
3742
|
let s = t;
|
3713
3743
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3720,7 +3750,7 @@ const ue = (e, t) => {
|
|
3720
3750
|
throw new Error(
|
3721
3751
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3722
3752
|
);
|
3723
|
-
let l =
|
3753
|
+
let l = fr(e, u);
|
3724
3754
|
if (!l)
|
3725
3755
|
l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
3726
3756
|
else if (typeof l != "string")
|
@@ -3731,7 +3761,7 @@ const ue = (e, t) => {
|
|
3731
3761
|
return l;
|
3732
3762
|
let c = l;
|
3733
3763
|
try {
|
3734
|
-
c =
|
3764
|
+
c = Vi(l, u).format(a);
|
3735
3765
|
} catch (f) {
|
3736
3766
|
f instanceof Error && console.warn(
|
3737
3767
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3739,18 +3769,18 @@ const ue = (e, t) => {
|
|
3739
3769
|
);
|
3740
3770
|
}
|
3741
3771
|
return c;
|
3742
|
-
},
|
3743
|
-
te([re], () =>
|
3744
|
-
te([re], () =>
|
3745
|
-
te([re], () =>
|
3746
|
-
te([re, he], () =>
|
3747
|
-
function
|
3748
|
-
|
3749
|
-
}
|
3750
|
-
function
|
3772
|
+
}, Wi = (e, t) => ji(t).format(e), zi = (e, t) => ki(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = j()) => fr(e, t), Ji = te([re, he], () => Xi);
|
3773
|
+
te([re], () => Wi);
|
3774
|
+
te([re], () => zi);
|
3775
|
+
te([re], () => Zi);
|
3776
|
+
te([re, he], () => Qi);
|
3777
|
+
function Bt(e, t) {
|
3778
|
+
pr(e, t);
|
3779
|
+
}
|
3780
|
+
function qi(e) {
|
3751
3781
|
re.set(e);
|
3752
3782
|
}
|
3753
|
-
const
|
3783
|
+
const At = {
|
3754
3784
|
en: {
|
3755
3785
|
collections: "Game Collections",
|
3756
3786
|
providers: "Game Providers",
|
@@ -3850,13 +3880,13 @@ const Ct = {
|
|
3850
3880
|
function G(e) {
|
3851
3881
|
return typeof e == "function";
|
3852
3882
|
}
|
3853
|
-
function
|
3883
|
+
function yr(e) {
|
3854
3884
|
var t = function(n) {
|
3855
3885
|
Error.call(n), n.stack = new Error().stack;
|
3856
3886
|
}, r = e(t);
|
3857
3887
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3858
3888
|
}
|
3859
|
-
var Ue =
|
3889
|
+
var Ue = yr(function(e) {
|
3860
3890
|
return function(r) {
|
3861
3891
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3862
3892
|
` + r.map(function(n, i) {
|
@@ -3865,7 +3895,7 @@ var Ue = br(function(e) {
|
|
3865
3895
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3866
3896
|
};
|
3867
3897
|
});
|
3868
|
-
function
|
3898
|
+
function Ke(e, t) {
|
3869
3899
|
if (e) {
|
3870
3900
|
var r = e.indexOf(t);
|
3871
3901
|
0 <= r && e.splice(r, 1);
|
@@ -3883,7 +3913,7 @@ var Oe = function() {
|
|
3883
3913
|
if (s)
|
3884
3914
|
if (this._parentage = null, Array.isArray(s))
|
3885
3915
|
try {
|
3886
|
-
for (var a =
|
3916
|
+
for (var a = je(s), u = a.next(); !u.done; u = a.next()) {
|
3887
3917
|
var h = u.value;
|
3888
3918
|
h.remove(this);
|
3889
3919
|
}
|
@@ -3893,7 +3923,8 @@ var Oe = function() {
|
|
3893
3923
|
try {
|
3894
3924
|
u && !u.done && (r = a.return) && r.call(a);
|
3895
3925
|
} finally {
|
3896
|
-
if (t)
|
3926
|
+
if (t)
|
3927
|
+
throw t.error;
|
3897
3928
|
}
|
3898
3929
|
}
|
3899
3930
|
else
|
@@ -3909,12 +3940,12 @@ var Oe = function() {
|
|
3909
3940
|
if (c) {
|
3910
3941
|
this._finalizers = null;
|
3911
3942
|
try {
|
3912
|
-
for (var f =
|
3943
|
+
for (var f = je(c), p = f.next(); !p.done; p = f.next()) {
|
3913
3944
|
var d = p.value;
|
3914
3945
|
try {
|
3915
|
-
|
3946
|
+
Ot(d);
|
3916
3947
|
} catch (g) {
|
3917
|
-
o = o ?? [], g instanceof Ue ? o = Z(Z([],
|
3948
|
+
o = o ?? [], g instanceof Ue ? o = Z(Z([], Ve(o)), Ve(g.errors)) : o.push(g);
|
3918
3949
|
}
|
3919
3950
|
}
|
3920
3951
|
} catch (g) {
|
@@ -3923,7 +3954,8 @@ var Oe = function() {
|
|
3923
3954
|
try {
|
3924
3955
|
p && !p.done && (i = f.return) && i.call(f);
|
3925
3956
|
} finally {
|
3926
|
-
if (n)
|
3957
|
+
if (n)
|
3958
|
+
throw n.error;
|
3927
3959
|
}
|
3928
3960
|
}
|
3929
3961
|
}
|
@@ -3934,7 +3966,7 @@ var Oe = function() {
|
|
3934
3966
|
var r;
|
3935
3967
|
if (t && t !== this)
|
3936
3968
|
if (this.closed)
|
3937
|
-
|
3969
|
+
Ot(t);
|
3938
3970
|
else {
|
3939
3971
|
if (t instanceof e) {
|
3940
3972
|
if (t.closed || t._hasParent(this))
|
@@ -3951,52 +3983,56 @@ var Oe = function() {
|
|
3951
3983
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3952
3984
|
}, e.prototype._removeParent = function(t) {
|
3953
3985
|
var r = this._parentage;
|
3954
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3986
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
|
3955
3987
|
}, e.prototype.remove = function(t) {
|
3956
3988
|
var r = this._finalizers;
|
3957
|
-
r &&
|
3989
|
+
r && Ke(r, t), t instanceof e && t._removeParent(this);
|
3958
3990
|
}, e.EMPTY = function() {
|
3959
3991
|
var t = new e();
|
3960
3992
|
return t.closed = !0, t;
|
3961
3993
|
}(), e;
|
3962
|
-
}(),
|
3963
|
-
function
|
3994
|
+
}(), _r = Oe.EMPTY;
|
3995
|
+
function Er(e) {
|
3964
3996
|
return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
3965
3997
|
}
|
3966
|
-
function
|
3998
|
+
function Ot(e) {
|
3967
3999
|
G(e) ? e() : e.unsubscribe();
|
3968
4000
|
}
|
3969
|
-
var
|
3970
|
-
|
3971
|
-
|
4001
|
+
var xr = {
|
4002
|
+
onUnhandledError: null,
|
4003
|
+
onStoppedNotification: null,
|
4004
|
+
Promise: void 0,
|
4005
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
4006
|
+
useDeprecatedNextContext: !1
|
4007
|
+
}, Yi = {
|
3972
4008
|
setTimeout: function(e, t) {
|
3973
4009
|
for (var r = [], n = 2; n < arguments.length; n++)
|
3974
4010
|
r[n - 2] = arguments[n];
|
3975
|
-
return setTimeout.apply(void 0, Z([e, t],
|
4011
|
+
return setTimeout.apply(void 0, Z([e, t], Ve(r)));
|
3976
4012
|
},
|
3977
4013
|
clearTimeout: function(e) {
|
3978
4014
|
return clearTimeout(e);
|
3979
4015
|
},
|
3980
4016
|
delegate: void 0
|
3981
4017
|
};
|
3982
|
-
function
|
3983
|
-
|
4018
|
+
function Ki(e) {
|
4019
|
+
Yi.setTimeout(function() {
|
3984
4020
|
throw e;
|
3985
4021
|
});
|
3986
4022
|
}
|
3987
|
-
function
|
4023
|
+
function It() {
|
3988
4024
|
}
|
3989
4025
|
function ye(e) {
|
3990
4026
|
e();
|
3991
4027
|
}
|
3992
|
-
var
|
4028
|
+
var Sr = function(e) {
|
3993
4029
|
U(t, e);
|
3994
4030
|
function t(r) {
|
3995
4031
|
var n = e.call(this) || this;
|
3996
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4032
|
+
return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = no, n;
|
3997
4033
|
}
|
3998
4034
|
return t.create = function(r, n, i) {
|
3999
|
-
return new
|
4035
|
+
return new et(r, n, i);
|
4000
4036
|
}, t.prototype.next = function(r) {
|
4001
4037
|
this.isStopped || this._next(r);
|
4002
4038
|
}, t.prototype.error = function(r) {
|
@@ -4020,7 +4056,11 @@ var yr = function(e) {
|
|
4020
4056
|
this.unsubscribe();
|
4021
4057
|
}
|
4022
4058
|
}, t;
|
4023
|
-
}(Oe),
|
4059
|
+
}(Oe), eo = Function.prototype.bind;
|
4060
|
+
function De(e, t) {
|
4061
|
+
return eo.call(e, t);
|
4062
|
+
}
|
4063
|
+
var to = function() {
|
4024
4064
|
function e(t) {
|
4025
4065
|
this.partialObserver = t;
|
4026
4066
|
}
|
@@ -4051,43 +4091,55 @@ var yr = function(e) {
|
|
4051
4091
|
me(r);
|
4052
4092
|
}
|
4053
4093
|
}, e;
|
4054
|
-
}(),
|
4094
|
+
}(), et = function(e) {
|
4055
4095
|
U(t, e);
|
4056
4096
|
function t(r, n, i) {
|
4057
4097
|
var o = e.call(this) || this, s;
|
4058
|
-
|
4059
|
-
|
4060
|
-
|
4061
|
-
|
4062
|
-
|
4098
|
+
if (G(r) || !r)
|
4099
|
+
s = {
|
4100
|
+
next: r ?? void 0,
|
4101
|
+
error: n ?? void 0,
|
4102
|
+
complete: i ?? void 0
|
4103
|
+
};
|
4104
|
+
else {
|
4105
|
+
var a;
|
4106
|
+
o && xr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4107
|
+
return o.unsubscribe();
|
4108
|
+
}, s = {
|
4109
|
+
next: r.next && De(r.next, a),
|
4110
|
+
error: r.error && De(r.error, a),
|
4111
|
+
complete: r.complete && De(r.complete, a)
|
4112
|
+
}) : s = r;
|
4113
|
+
}
|
4114
|
+
return o.destination = new to(s), o;
|
4063
4115
|
}
|
4064
4116
|
return t;
|
4065
|
-
}(
|
4117
|
+
}(Sr);
|
4066
4118
|
function me(e) {
|
4067
|
-
|
4119
|
+
Ki(e);
|
4068
4120
|
}
|
4069
|
-
function
|
4121
|
+
function ro(e) {
|
4070
4122
|
throw e;
|
4071
4123
|
}
|
4072
|
-
var
|
4124
|
+
var no = {
|
4073
4125
|
closed: !0,
|
4074
|
-
next:
|
4075
|
-
error:
|
4076
|
-
complete:
|
4077
|
-
},
|
4126
|
+
next: It,
|
4127
|
+
error: ro,
|
4128
|
+
complete: It
|
4129
|
+
}, io = function() {
|
4078
4130
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4079
4131
|
}();
|
4080
|
-
function
|
4132
|
+
function oo(e) {
|
4081
4133
|
return e;
|
4082
4134
|
}
|
4083
|
-
function
|
4084
|
-
return e.length === 0 ?
|
4135
|
+
function so(e) {
|
4136
|
+
return e.length === 0 ? oo : e.length === 1 ? e[0] : function(r) {
|
4085
4137
|
return e.reduce(function(n, i) {
|
4086
4138
|
return i(n);
|
4087
4139
|
}, r);
|
4088
4140
|
};
|
4089
4141
|
}
|
4090
|
-
var
|
4142
|
+
var Lt = function() {
|
4091
4143
|
function e(t) {
|
4092
4144
|
t && (this._subscribe = t);
|
4093
4145
|
}
|
@@ -4095,7 +4147,7 @@ var At = function() {
|
|
4095
4147
|
var r = new e();
|
4096
4148
|
return r.source = this, r.operator = t, r;
|
4097
4149
|
}, e.prototype.subscribe = function(t, r, n) {
|
4098
|
-
var i = this, o =
|
4150
|
+
var i = this, o = lo(t) ? t : new et(t, r, n);
|
4099
4151
|
return ye(function() {
|
4100
4152
|
var s = i, a = s.operator, u = s.source;
|
4101
4153
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4108,8 +4160,8 @@ var At = function() {
|
|
4108
4160
|
}
|
4109
4161
|
}, e.prototype.forEach = function(t, r) {
|
4110
4162
|
var n = this;
|
4111
|
-
return r =
|
4112
|
-
var s = new
|
4163
|
+
return r = Nt(r), new r(function(i, o) {
|
4164
|
+
var s = new et({
|
4113
4165
|
next: function(a) {
|
4114
4166
|
try {
|
4115
4167
|
t(a);
|
@@ -4125,15 +4177,15 @@ var At = function() {
|
|
4125
4177
|
}, e.prototype._subscribe = function(t) {
|
4126
4178
|
var r;
|
4127
4179
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4128
|
-
}, e.prototype[
|
4180
|
+
}, e.prototype[io] = function() {
|
4129
4181
|
return this;
|
4130
4182
|
}, e.prototype.pipe = function() {
|
4131
4183
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4132
4184
|
t[r] = arguments[r];
|
4133
|
-
return
|
4185
|
+
return so(t)(this);
|
4134
4186
|
}, e.prototype.toPromise = function(t) {
|
4135
4187
|
var r = this;
|
4136
|
-
return t =
|
4188
|
+
return t = Nt(t), new t(function(n, i) {
|
4137
4189
|
var o;
|
4138
4190
|
r.subscribe(function(s) {
|
4139
4191
|
return o = s;
|
@@ -4147,32 +4199,32 @@ var At = function() {
|
|
4147
4199
|
return new e(t);
|
4148
4200
|
}, e;
|
4149
4201
|
}();
|
4150
|
-
function
|
4202
|
+
function Nt(e) {
|
4151
4203
|
var t;
|
4152
|
-
return (t = e ??
|
4204
|
+
return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
|
4153
4205
|
}
|
4154
|
-
function
|
4206
|
+
function ao(e) {
|
4155
4207
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
4156
4208
|
}
|
4157
|
-
function
|
4158
|
-
return e && e instanceof
|
4209
|
+
function lo(e) {
|
4210
|
+
return e && e instanceof Sr || ao(e) && Er(e);
|
4159
4211
|
}
|
4160
|
-
var
|
4212
|
+
var uo = yr(function(e) {
|
4161
4213
|
return function() {
|
4162
4214
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4163
4215
|
};
|
4164
|
-
}),
|
4216
|
+
}), wr = function(e) {
|
4165
4217
|
U(t, e);
|
4166
4218
|
function t() {
|
4167
4219
|
var r = e.call(this) || this;
|
4168
4220
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4169
4221
|
}
|
4170
4222
|
return t.prototype.lift = function(r) {
|
4171
|
-
var n = new
|
4223
|
+
var n = new Mt(this, this);
|
4172
4224
|
return n.operator = r, n;
|
4173
4225
|
}, t.prototype._throwIfClosed = function() {
|
4174
4226
|
if (this.closed)
|
4175
|
-
throw new
|
4227
|
+
throw new uo();
|
4176
4228
|
}, t.prototype.next = function(r) {
|
4177
4229
|
var n = this;
|
4178
4230
|
ye(function() {
|
@@ -4180,7 +4232,7 @@ var so = br(function(e) {
|
|
4180
4232
|
if (n._throwIfClosed(), !n.isStopped) {
|
4181
4233
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4182
4234
|
try {
|
4183
|
-
for (var s =
|
4235
|
+
for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4184
4236
|
var u = a.value;
|
4185
4237
|
u.next(r);
|
4186
4238
|
}
|
@@ -4190,7 +4242,8 @@ var so = br(function(e) {
|
|
4190
4242
|
try {
|
4191
4243
|
a && !a.done && (o = s.return) && o.call(s);
|
4192
4244
|
} finally {
|
4193
|
-
if (i)
|
4245
|
+
if (i)
|
4246
|
+
throw i.error;
|
4194
4247
|
}
|
4195
4248
|
}
|
4196
4249
|
}
|
@@ -4228,19 +4281,19 @@ var so = br(function(e) {
|
|
4228
4281
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4229
4282
|
}, t.prototype._innerSubscribe = function(r) {
|
4230
4283
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4231
|
-
return o || s ?
|
4232
|
-
n.currentObservers = null,
|
4284
|
+
return o || s ? _r : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4285
|
+
n.currentObservers = null, Ke(a, r);
|
4233
4286
|
}));
|
4234
4287
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4235
4288
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4236
4289
|
i ? r.error(o) : s && r.complete();
|
4237
4290
|
}, t.prototype.asObservable = function() {
|
4238
|
-
var r = new
|
4291
|
+
var r = new Lt();
|
4239
4292
|
return r.source = this, r;
|
4240
4293
|
}, t.create = function(r, n) {
|
4241
|
-
return new
|
4294
|
+
return new Mt(r, n);
|
4242
4295
|
}, t;
|
4243
|
-
}(
|
4296
|
+
}(Lt), Mt = function(e) {
|
4244
4297
|
U(t, e);
|
4245
4298
|
function t(r, n) {
|
4246
4299
|
var i = e.call(this) || this;
|
@@ -4257,17 +4310,17 @@ var so = br(function(e) {
|
|
4257
4310
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4258
4311
|
}, t.prototype._subscribe = function(r) {
|
4259
4312
|
var n, i;
|
4260
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4313
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
|
4261
4314
|
}, t;
|
4262
|
-
}(
|
4315
|
+
}(wr), Tr = {
|
4263
4316
|
now: function() {
|
4264
|
-
return (
|
4317
|
+
return (Tr.delegate || Date).now();
|
4265
4318
|
},
|
4266
4319
|
delegate: void 0
|
4267
|
-
},
|
4320
|
+
}, ho = function(e) {
|
4268
4321
|
U(t, e);
|
4269
4322
|
function t(r, n, i) {
|
4270
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4323
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
|
4271
4324
|
var o = e.call(this) || this;
|
4272
4325
|
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;
|
4273
4326
|
}
|
@@ -4287,23 +4340,23 @@ var so = br(function(e) {
|
|
4287
4340
|
h && o.splice(0, h + 1);
|
4288
4341
|
}
|
4289
4342
|
}, t;
|
4290
|
-
}(
|
4291
|
-
const
|
4292
|
-
if (
|
4293
|
-
const r = new
|
4294
|
-
|
4343
|
+
}(wr);
|
4344
|
+
const Rt = [], $t = {}, co = (e, t = 0) => {
|
4345
|
+
if (Rt.indexOf(e) == -1) {
|
4346
|
+
const r = new ho(t);
|
4347
|
+
$t[e] = r, Rt.push(e);
|
4295
4348
|
}
|
4296
|
-
return
|
4349
|
+
return $t[e];
|
4297
4350
|
};
|
4298
|
-
window.emWidgets = { topic:
|
4299
|
-
const
|
4300
|
-
function
|
4351
|
+
window.emWidgets = { topic: co };
|
4352
|
+
const fo = (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));
|
4353
|
+
function po(e, t) {
|
4301
4354
|
if (e) {
|
4302
4355
|
const r = document.createElement("style");
|
4303
4356
|
r.innerHTML = t, e.appendChild(r);
|
4304
4357
|
}
|
4305
4358
|
}
|
4306
|
-
function
|
4359
|
+
function mo(e, t) {
|
4307
4360
|
const r = new URL(t);
|
4308
4361
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4309
4362
|
const i = document.createElement("style");
|
@@ -4312,7 +4365,7 @@ function co(e, t) {
|
|
4312
4365
|
console.error("There was an error while trying to load client styling from URL", n);
|
4313
4366
|
});
|
4314
4367
|
}
|
4315
|
-
function
|
4368
|
+
function bo(e, t, r) {
|
4316
4369
|
if (window.emMessageBus) {
|
4317
4370
|
const n = document.createElement("style");
|
4318
4371
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4320,18 +4373,18 @@ function fo(e, t, r) {
|
|
4320
4373
|
});
|
4321
4374
|
}
|
4322
4375
|
}
|
4323
|
-
function
|
4324
|
-
|
4376
|
+
function go(e) {
|
4377
|
+
Dr(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)}}');
|
4325
4378
|
}
|
4326
|
-
function
|
4379
|
+
function Gt(e, t, r) {
|
4327
4380
|
const n = e.slice();
|
4328
4381
|
return n[41] = t[r], n;
|
4329
4382
|
}
|
4330
|
-
function
|
4383
|
+
function Ut(e, t, r) {
|
4331
4384
|
const n = e.slice();
|
4332
4385
|
return n[44] = t[r], n;
|
4333
4386
|
}
|
4334
|
-
function
|
4387
|
+
function vo(e) {
|
4335
4388
|
let t, r, n, i = (
|
4336
4389
|
/*type*/
|
4337
4390
|
(e[0] == "vendor" ? (
|
@@ -4344,19 +4397,19 @@ function mo(e) {
|
|
4344
4397
|
), o, s, a, u, h, l, c = (
|
4345
4398
|
/*numberOfSlides*/
|
4346
4399
|
e[8] > /*numberOfVisibleSlides*/
|
4347
|
-
e[9] &&
|
4400
|
+
e[9] && Dt(e)
|
4348
4401
|
), f = Se(
|
4349
4402
|
/*gameCategories*/
|
4350
4403
|
e[3]
|
4351
4404
|
), p = [];
|
4352
4405
|
for (let d = 0; d < f.length; d += 1)
|
4353
|
-
p[d] =
|
4406
|
+
p[d] = jt(Gt(e, f, d));
|
4354
4407
|
return {
|
4355
4408
|
c() {
|
4356
4409
|
t = C("div"), r = C("div"), n = C("p"), o = He(i), s = k(), c && c.c(), a = k(), u = C("div");
|
4357
4410
|
for (let d = 0; d < p.length; d += 1)
|
4358
4411
|
p[d].c();
|
4359
|
-
S(n, "class", "Title"), S(r, "class", "CategoriesHeader"), S(u, "class", "CategoriesSlider"),
|
4412
|
+
S(n, "class", "Title"), S(r, "class", "CategoriesHeader"), S(u, "class", "CategoriesSlider"), xe(() => (
|
4360
4413
|
/*div1_elementresize_handler*/
|
4361
4414
|
e[28].call(u)
|
4362
4415
|
)), S(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
|
@@ -4367,7 +4420,7 @@ function mo(e) {
|
|
4367
4420
|
$(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, u);
|
4368
4421
|
for (let m = 0; m < p.length; m += 1)
|
4369
4422
|
p[m] && p[m].m(u, null);
|
4370
|
-
e[27](u), h =
|
4423
|
+
e[27](u), h = Wr(
|
4371
4424
|
u,
|
4372
4425
|
/*div1_elementresize_handler*/
|
4373
4426
|
e[28].bind(u)
|
@@ -4382,9 +4435,9 @@ function mo(e) {
|
|
4382
4435
|
) : (
|
4383
4436
|
/*$_*/
|
4384
4437
|
d[11]("collections")
|
4385
|
-
)) + "") &&
|
4438
|
+
)) + "") && rt(o, i), /*numberOfSlides*/
|
4386
4439
|
d[8] > /*numberOfVisibleSlides*/
|
4387
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4440
|
+
d[9] ? c ? c.p(d, g) : (c = Dt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4388
4441
|
49166) {
|
4389
4442
|
f = Se(
|
4390
4443
|
/*gameCategories*/
|
@@ -4392,8 +4445,8 @@ function mo(e) {
|
|
4392
4445
|
);
|
4393
4446
|
let m;
|
4394
4447
|
for (m = 0; m < f.length; m += 1) {
|
4395
|
-
const
|
4396
|
-
p[m] ? p[m].p(
|
4448
|
+
const x = Gt(d, f, m);
|
4449
|
+
p[m] ? p[m].p(x, g) : (p[m] = jt(x), p[m].c(), p[m].m(u, null));
|
4397
4450
|
}
|
4398
4451
|
for (; m < p.length; m += 1)
|
4399
4452
|
p[m].d(1);
|
@@ -4405,11 +4458,11 @@ function mo(e) {
|
|
4405
4458
|
(d[0] === "vendor" ? "Providers" : "Collections")) && S(t, "class", l);
|
4406
4459
|
},
|
4407
4460
|
d(d) {
|
4408
|
-
d && N(t), c && c.d(),
|
4461
|
+
d && N(t), c && c.d(), zt(p, d), e[27](null), h();
|
4409
4462
|
}
|
4410
4463
|
};
|
4411
4464
|
}
|
4412
|
-
function
|
4465
|
+
function yo(e) {
|
4413
4466
|
let t;
|
4414
4467
|
return {
|
4415
4468
|
c() {
|
@@ -4424,7 +4477,7 @@ function bo(e) {
|
|
4424
4477
|
}
|
4425
4478
|
};
|
4426
4479
|
}
|
4427
|
-
function
|
4480
|
+
function Dt(e) {
|
4428
4481
|
let t, r, n, i, o, s;
|
4429
4482
|
return {
|
4430
4483
|
c() {
|
@@ -4452,7 +4505,7 @@ function $t(e) {
|
|
4452
4505
|
}
|
4453
4506
|
};
|
4454
4507
|
}
|
4455
|
-
function
|
4508
|
+
function _o(e) {
|
4456
4509
|
let t, r = (
|
4457
4510
|
/*category*/
|
4458
4511
|
e[41].name + ""
|
@@ -4467,14 +4520,14 @@ function go(e) {
|
|
4467
4520
|
p(i, o) {
|
4468
4521
|
o[0] & /*gameCategories*/
|
4469
4522
|
8 && r !== (r = /*category*/
|
4470
|
-
i[41].name + "") &&
|
4523
|
+
i[41].name + "") && rt(n, r);
|
4471
4524
|
},
|
4472
4525
|
d(i) {
|
4473
4526
|
i && N(t);
|
4474
4527
|
}
|
4475
4528
|
};
|
4476
4529
|
}
|
4477
|
-
function
|
4530
|
+
function Eo(e) {
|
4478
4531
|
let t, r, n;
|
4479
4532
|
return {
|
4480
4533
|
c() {
|
@@ -4497,7 +4550,7 @@ function vo(e) {
|
|
4497
4550
|
}
|
4498
4551
|
};
|
4499
4552
|
}
|
4500
|
-
function
|
4553
|
+
function Ft(e) {
|
4501
4554
|
let t, r = (
|
4502
4555
|
/*game*/
|
4503
4556
|
e[44].name + ""
|
@@ -4513,7 +4566,7 @@ function Gt(e) {
|
|
4513
4566
|
p(o, s) {
|
4514
4567
|
s[0] & /*gameCategories*/
|
4515
4568
|
8 && r !== (r = /*game*/
|
4516
|
-
o[44].name + "") &&
|
4569
|
+
o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
|
4517
4570
|
8 && i !== (i = /*game*/
|
4518
4571
|
o[44].name) && S(t, "title", i);
|
4519
4572
|
},
|
@@ -4522,7 +4575,7 @@ function Gt(e) {
|
|
4522
4575
|
}
|
4523
4576
|
};
|
4524
4577
|
}
|
4525
|
-
function
|
4578
|
+
function kt(e) {
|
4526
4579
|
let t, r, n, i, o, s, a, u;
|
4527
4580
|
function h() {
|
4528
4581
|
return (
|
@@ -4535,7 +4588,7 @@ function Ut(e) {
|
|
4535
4588
|
}
|
4536
4589
|
let l = (
|
4537
4590
|
/*collectionprovidersgamenames*/
|
4538
|
-
e[2] == "true" &&
|
4591
|
+
e[2] == "true" && Ft(e)
|
4539
4592
|
);
|
4540
4593
|
return {
|
4541
4594
|
c() {
|
@@ -4544,7 +4597,7 @@ function Ut(e) {
|
|
4544
4597
|
e[44].name), S(t, "class", "CategorySlideGames");
|
4545
4598
|
},
|
4546
4599
|
m(c, f) {
|
4547
|
-
$(c, t, f), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (u = Q(r, "click",
|
4600
|
+
$(c, t, f), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (u = Q(r, "click", jr(h)), a = !0);
|
4548
4601
|
},
|
4549
4602
|
p(c, f) {
|
4550
4603
|
e = c, f[0] & /*gameCategories*/
|
@@ -4552,31 +4605,33 @@ function Ut(e) {
|
|
4552
4605
|
e[44].defaultThumbnail) && S(r, "src", n), f[0] & /*gameCategories*/
|
4553
4606
|
8 && i !== (i = /*game*/
|
4554
4607
|
e[44].name) && S(r, "alt", i), /*collectionprovidersgamenames*/
|
4555
|
-
e[2] == "true" ? l ? l.p(e, f) : (l =
|
4608
|
+
e[2] == "true" ? l ? l.p(e, f) : (l = Ft(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4556
4609
|
},
|
4557
4610
|
d(c) {
|
4558
4611
|
c && N(t), l && l.d(), a = !1, u();
|
4559
4612
|
}
|
4560
4613
|
};
|
4561
4614
|
}
|
4562
|
-
function
|
4615
|
+
function jt(e) {
|
4563
4616
|
let t, r, n, i, o, s, a, u, h;
|
4564
|
-
function l(m,
|
4617
|
+
function l(m, x) {
|
4565
4618
|
if (
|
4566
4619
|
/*titletype*/
|
4567
4620
|
m[1] == "logo"
|
4568
|
-
)
|
4621
|
+
)
|
4622
|
+
return Eo;
|
4569
4623
|
if (
|
4570
4624
|
/*titletype*/
|
4571
4625
|
m[1] == "title"
|
4572
|
-
)
|
4626
|
+
)
|
4627
|
+
return _o;
|
4573
4628
|
}
|
4574
4629
|
let c = l(e), f = c && c(e), p = Se(
|
4575
4630
|
/*category*/
|
4576
4631
|
e[41].games
|
4577
4632
|
), d = [];
|
4578
4633
|
for (let m = 0; m < p.length; m += 1)
|
4579
|
-
d[m] = Ut(
|
4634
|
+
d[m] = kt(Ut(e, p, m));
|
4580
4635
|
function g() {
|
4581
4636
|
return (
|
4582
4637
|
/*click_handler_3*/
|
@@ -4595,45 +4650,45 @@ function Dt(e) {
|
|
4595
4650
|
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4596
4651
|
e[41]?.background + ")"), Ie(r, "background-size", "cover"), S(t, "class", "CategoriesSliderWrapper Animation");
|
4597
4652
|
},
|
4598
|
-
m(m,
|
4599
|
-
$(m, t,
|
4600
|
-
for (let
|
4601
|
-
d[
|
4653
|
+
m(m, x) {
|
4654
|
+
$(m, t, x), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
|
4655
|
+
for (let E = 0; E < d.length; E += 1)
|
4656
|
+
d[E] && d[E].m(o, null);
|
4602
4657
|
H(t, a), u || (h = Q(r, "click", g), u = !0);
|
4603
4658
|
},
|
4604
|
-
p(m,
|
4605
|
-
if (e = m, c === (c = l(e)) && f ? f.p(e,
|
4659
|
+
p(m, x) {
|
4660
|
+
if (e = m, c === (c = l(e)) && f ? f.p(e, x) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4606
4661
|
16396) {
|
4607
4662
|
p = Se(
|
4608
4663
|
/*category*/
|
4609
4664
|
e[41].games
|
4610
4665
|
);
|
4611
|
-
let
|
4612
|
-
for (
|
4613
|
-
const T =
|
4614
|
-
d[
|
4666
|
+
let E;
|
4667
|
+
for (E = 0; E < p.length; E += 1) {
|
4668
|
+
const T = Ut(e, p, E);
|
4669
|
+
d[E] ? d[E].p(T, x) : (d[E] = kt(T), d[E].c(), d[E].m(o, null));
|
4615
4670
|
}
|
4616
|
-
for (;
|
4617
|
-
d[
|
4671
|
+
for (; E < d.length; E += 1)
|
4672
|
+
d[E].d(1);
|
4618
4673
|
d.length = p.length;
|
4619
4674
|
}
|
4620
|
-
|
4675
|
+
x[0] & /*gameCategories*/
|
4621
4676
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4622
|
-
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && S(r, "class", s),
|
4677
|
+
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && S(r, "class", s), x[0] & /*gameCategories*/
|
4623
4678
|
8 && Ie(r, "background-image", "url(" + /*category*/
|
4624
4679
|
e[41]?.background + ")");
|
4625
4680
|
},
|
4626
4681
|
d(m) {
|
4627
|
-
m && N(t), f && f.d(),
|
4682
|
+
m && N(t), f && f.d(), zt(d, m), u = !1, h();
|
4628
4683
|
}
|
4629
4684
|
};
|
4630
4685
|
}
|
4631
|
-
function
|
4686
|
+
function xo(e) {
|
4632
4687
|
let t;
|
4633
4688
|
function r(o, s) {
|
4634
4689
|
return (
|
4635
4690
|
/*isLoading*/
|
4636
|
-
o[7] ?
|
4691
|
+
o[7] ? yo : vo
|
4637
4692
|
);
|
4638
4693
|
}
|
4639
4694
|
let n = r(e), i = n(e);
|
@@ -4654,23 +4709,23 @@ function yo(e) {
|
|
4654
4709
|
}
|
4655
4710
|
};
|
4656
4711
|
}
|
4657
|
-
function
|
4712
|
+
function So(e, t, r) {
|
4658
4713
|
let n;
|
4659
|
-
|
4660
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m,
|
4661
|
-
const
|
4714
|
+
Ur(e, Ji, (b) => r(11, n = b));
|
4715
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, x = 0, E = 0, T = 0, D, M, B, ce = window.navigator.userAgent, at, ie = 0;
|
4716
|
+
const Hr = () => {
|
4662
4717
|
fetch(c).then((A) => A.json()).then((A) => {
|
4663
4718
|
Object.keys(A).forEach((R) => {
|
4664
|
-
|
4719
|
+
Bt(R, A[R]);
|
4665
4720
|
});
|
4666
4721
|
}).catch((A) => {
|
4667
4722
|
console.log(A);
|
4668
4723
|
});
|
4669
4724
|
};
|
4670
|
-
Object.keys(
|
4671
|
-
|
4725
|
+
Object.keys(At).forEach((b) => {
|
4726
|
+
Bt(b, At[b]);
|
4672
4727
|
});
|
4673
|
-
const
|
4728
|
+
const Cr = () => {
|
4674
4729
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4675
4730
|
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((A) => A.json()).then((A) => {
|
4676
4731
|
r(7, g = !1);
|
@@ -4679,24 +4734,24 @@ function _o(e, t, r) {
|
|
4679
4734
|
id: I.id,
|
4680
4735
|
name: I.name,
|
4681
4736
|
icon: I.icon ? I.icon : I.vendors?.items[0]?.subVendors[0]?.logo,
|
4682
|
-
games: I.games.items.slice(0, 4).map((
|
4737
|
+
games: I.games.items.slice(0, 4).map(($r) => $r),
|
4683
4738
|
background: I.background,
|
4684
4739
|
flag: I.flags
|
4685
|
-
}))), r(8,
|
4740
|
+
}))), r(8, E = d.length);
|
4686
4741
|
});
|
4687
|
-
},
|
4742
|
+
}, lt = (b) => {
|
4688
4743
|
M = [...m.children], M.forEach((A, R) => {
|
4689
4744
|
A.style.transform = `translateX(${100 * (b ? R - b : R)}%)`;
|
4690
|
-
}), D = M[0].getBoundingClientRect().width,
|
4691
|
-
},
|
4745
|
+
}), D = M[0].getBoundingClientRect().width, Pr();
|
4746
|
+
}, Pr = () => {
|
4692
4747
|
r(9, T = Math.floor(ie / D));
|
4693
|
-
},
|
4694
|
-
|
4695
|
-
},
|
4696
|
-
|
4697
|
-
},
|
4698
|
-
|
4699
|
-
},
|
4748
|
+
}, ut = () => {
|
4749
|
+
lt(x);
|
4750
|
+
}, ht = () => {
|
4751
|
+
x === 0 ? x = E - T : x - T < -1 ? x = 0 : x--, ut();
|
4752
|
+
}, ct = () => {
|
4753
|
+
x === E - T ? x = 0 : E - T < x + 1 ? x = E - T : x++, ut();
|
4754
|
+
}, ft = (b, A, R, I) => {
|
4700
4755
|
window.postMessage(
|
4701
4756
|
{
|
4702
4757
|
type: "OpenCollectionsProvidersGame",
|
@@ -4710,7 +4765,7 @@ function _o(e, t, r) {
|
|
4710
4765
|
context: "CollectionsProviders",
|
4711
4766
|
gameName: `${R}`
|
4712
4767
|
});
|
4713
|
-
},
|
4768
|
+
}, dt = (b) => {
|
4714
4769
|
window.postMessage(
|
4715
4770
|
{
|
4716
4771
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4718,22 +4773,22 @@ function _o(e, t, r) {
|
|
4718
4773
|
},
|
4719
4774
|
window.location.href
|
4720
4775
|
);
|
4721
|
-
},
|
4722
|
-
|
4776
|
+
}, Br = () => {
|
4777
|
+
qi(s);
|
4723
4778
|
};
|
4724
|
-
|
4779
|
+
Qr(() => (r(10, at = fo(ce)), () => {
|
4725
4780
|
}));
|
4726
|
-
const
|
4727
|
-
function
|
4728
|
-
|
4781
|
+
const Ar = () => ht(), Or = () => ct(), Ir = (b) => ft(b.gameId, b.launchUrl, b.name, b.subVendor), Lr = (b) => dt(b.id);
|
4782
|
+
function Nr(b) {
|
4783
|
+
Ee[b ? "unshift" : "push"](() => {
|
4729
4784
|
m = b, r(4, m);
|
4730
4785
|
});
|
4731
4786
|
}
|
4732
|
-
function
|
4787
|
+
function Mr() {
|
4733
4788
|
ie = this.clientWidth, r(6, ie);
|
4734
4789
|
}
|
4735
|
-
function
|
4736
|
-
|
4790
|
+
function Rr(b) {
|
4791
|
+
Ee[b ? "unshift" : "push"](() => {
|
4737
4792
|
B = b, r(5, B);
|
4738
4793
|
});
|
4739
4794
|
}
|
@@ -4741,13 +4796,13 @@ function _o(e, t, r) {
|
|
4741
4796
|
"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, u = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, l = 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);
|
4742
4797
|
}, e.$$.update = () => {
|
4743
4798
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4744
|
-
458752 && i && o && s &&
|
4745
|
-
88 && ie && d && m &&
|
4746
|
-
262144 && s &&
|
4747
|
-
524320 && h && B &&
|
4748
|
-
1048608 && l && B &&
|
4749
|
-
4194336 && B &&
|
4750
|
-
2097152 && c &&
|
4799
|
+
458752 && i && o && s && Cr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4800
|
+
88 && ie && d && m && lt(), e.$$.dirty[0] & /*lang*/
|
4801
|
+
262144 && s && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4802
|
+
524320 && h && B && po(B, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4803
|
+
1048608 && l && B && mo(B, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4804
|
+
4194336 && B && bo(B, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4805
|
+
2097152 && c && Hr();
|
4751
4806
|
}, [
|
4752
4807
|
a,
|
4753
4808
|
u,
|
@@ -4757,14 +4812,14 @@ function _o(e, t, r) {
|
|
4757
4812
|
B,
|
4758
4813
|
ie,
|
4759
4814
|
g,
|
4760
|
-
|
4815
|
+
E,
|
4761
4816
|
T,
|
4762
|
-
it,
|
4763
|
-
n,
|
4764
4817
|
at,
|
4765
|
-
|
4766
|
-
ut,
|
4818
|
+
n,
|
4767
4819
|
ht,
|
4820
|
+
ct,
|
4821
|
+
ft,
|
4822
|
+
dt,
|
4768
4823
|
i,
|
4769
4824
|
o,
|
4770
4825
|
s,
|
@@ -4772,23 +4827,23 @@ function _o(e, t, r) {
|
|
4772
4827
|
l,
|
4773
4828
|
c,
|
4774
4829
|
p,
|
4775
|
-
Hr,
|
4776
|
-
Cr,
|
4777
|
-
Pr,
|
4778
|
-
Br,
|
4779
4830
|
Ar,
|
4780
4831
|
Or,
|
4781
|
-
Ir
|
4832
|
+
Ir,
|
4833
|
+
Lr,
|
4834
|
+
Nr,
|
4835
|
+
Mr,
|
4836
|
+
Rr
|
4782
4837
|
];
|
4783
4838
|
}
|
4784
|
-
class
|
4839
|
+
class wo extends ln {
|
4785
4840
|
constructor(t) {
|
4786
|
-
super(),
|
4841
|
+
super(), sn(
|
4787
4842
|
this,
|
4788
4843
|
t,
|
4789
|
-
|
4790
|
-
|
4791
|
-
|
4844
|
+
So,
|
4845
|
+
xo,
|
4846
|
+
Xt,
|
4792
4847
|
{
|
4793
4848
|
endpoint: 16,
|
4794
4849
|
datasource: 17,
|
@@ -4801,7 +4856,7 @@ class xo extends nn {
|
|
4801
4856
|
collectionprovidersgamenames: 2,
|
4802
4857
|
mbsource: 22
|
4803
4858
|
},
|
4804
|
-
|
4859
|
+
go,
|
4805
4860
|
[-1, -1]
|
4806
4861
|
);
|
4807
4862
|
}
|
@@ -4866,7 +4921,7 @@ class xo extends nn {
|
|
4866
4921
|
this.$$set({ mbsource: t }), L();
|
4867
4922
|
}
|
4868
4923
|
}
|
4869
|
-
|
4924
|
+
an(wo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4870
4925
|
export {
|
4871
|
-
|
4926
|
+
wo as C
|
4872
4927
|
};
|