@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-D1ouM50A.js → CasinoCollectionsProviders-Clfgs5xw.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Le = (e, t, r) => t in e ?
|
1
|
+
var zr = Object.defineProperty, Zr = Object.defineProperties;
|
2
|
+
var Qr = Object.getOwnPropertyDescriptors;
|
3
|
+
var yt = Object.getOwnPropertySymbols;
|
4
|
+
var Jr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Le = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Jr.call(t, r) && Le(e, r, t[r]);
|
8
|
+
if (yt)
|
9
|
+
for (var r of yt(t))
|
10
|
+
qr.call(t, r) && Le(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var
|
12
|
+
}, Et = (e, t) => Zr(e, Qr(t));
|
13
|
+
var M = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var xt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (l) => {
|
16
16
|
try {
|
17
17
|
a(r.next(l));
|
@@ -29,29 +29,29 @@ var yt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function L() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Kt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function St() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function te(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Kt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function nt(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function er(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let de;
|
48
|
-
function
|
48
|
+
function Ee(e, t) {
|
49
49
|
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Yr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function tr(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -60,21 +60,22 @@ function Yt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function Kr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(tr(t, r));
|
65
65
|
}
|
66
66
|
function C(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function en(e, t, r) {
|
70
|
+
const n = tn(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
72
|
const i = P("style");
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, rn(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
77
|
-
if (!e)
|
76
|
+
function tn(e) {
|
77
|
+
if (!e)
|
78
|
+
return document;
|
78
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
79
80
|
return t && /** @type {ShadowRoot} */
|
80
81
|
t.host ? (
|
@@ -82,7 +83,7 @@ function qr(e) {
|
|
82
83
|
t
|
83
84
|
) : e.ownerDocument;
|
84
85
|
}
|
85
|
-
function
|
86
|
+
function rn(e, t) {
|
86
87
|
return C(
|
87
88
|
/** @type {Document} */
|
88
89
|
e.head || e,
|
@@ -95,7 +96,7 @@ function U(e, t, r) {
|
|
95
96
|
function $(e) {
|
96
97
|
e.parentNode && e.parentNode.removeChild(e);
|
97
98
|
}
|
98
|
-
function
|
99
|
+
function rr(e, t) {
|
99
100
|
for (let r = 0; r < e.length; r += 1)
|
100
101
|
e[r] && e[r].d(t);
|
101
102
|
}
|
@@ -111,18 +112,18 @@ function k() {
|
|
111
112
|
function J(e, t, r, n) {
|
112
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
113
114
|
}
|
114
|
-
function
|
115
|
+
function nn(e) {
|
115
116
|
return function(t) {
|
116
117
|
return t.stopPropagation(), e.call(this, t);
|
117
118
|
};
|
118
119
|
}
|
119
|
-
function
|
120
|
+
function x(e, t, r) {
|
120
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
121
122
|
}
|
122
|
-
function
|
123
|
+
function on(e) {
|
123
124
|
return Array.from(e.childNodes);
|
124
125
|
}
|
125
|
-
function
|
126
|
+
function it(e, t) {
|
126
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
127
128
|
t);
|
128
129
|
}
|
@@ -130,7 +131,7 @@ function Ne(e, t, r, n) {
|
|
130
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
131
132
|
}
|
132
133
|
let pe;
|
133
|
-
function
|
134
|
+
function sn() {
|
134
135
|
if (pe === void 0) {
|
135
136
|
pe = !1;
|
136
137
|
try {
|
@@ -141,14 +142,14 @@ function tn() {
|
|
141
142
|
}
|
142
143
|
return pe;
|
143
144
|
}
|
144
|
-
function
|
145
|
+
function an(e, t) {
|
145
146
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
146
147
|
const n = P("iframe");
|
147
148
|
n.setAttribute(
|
148
149
|
"style",
|
149
150
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
150
151
|
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
151
|
-
const i =
|
152
|
+
const i = sn();
|
152
153
|
let o;
|
153
154
|
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
|
154
155
|
window,
|
@@ -163,7 +164,7 @@ function rn(e, t) {
|
|
163
164
|
(i || o && n.contentWindow) && o(), $(n);
|
164
165
|
};
|
165
166
|
}
|
166
|
-
function
|
167
|
+
function ln(e) {
|
167
168
|
const t = {};
|
168
169
|
return e.childNodes.forEach(
|
169
170
|
/** @param {Element} node */
|
@@ -176,19 +177,20 @@ let le;
|
|
176
177
|
function ae(e) {
|
177
178
|
le = e;
|
178
179
|
}
|
179
|
-
function
|
180
|
-
if (!le)
|
180
|
+
function un() {
|
181
|
+
if (!le)
|
182
|
+
throw new Error("Function called outside component initialization");
|
181
183
|
return le;
|
182
184
|
}
|
183
|
-
function
|
184
|
-
|
185
|
+
function hn(e) {
|
186
|
+
un().$$.on_mount.push(e);
|
185
187
|
}
|
186
|
-
const z = [],
|
188
|
+
const z = [], xe = [];
|
187
189
|
let Z = [];
|
188
|
-
const
|
189
|
-
let
|
190
|
-
function
|
191
|
-
|
190
|
+
const wt = [], cn = /* @__PURE__ */ Promise.resolve();
|
191
|
+
let ke = !1;
|
192
|
+
function fn() {
|
193
|
+
ke || (ke = !0, cn.then(R));
|
192
194
|
}
|
193
195
|
function Se(e) {
|
194
196
|
Z.push(e);
|
@@ -203,55 +205,56 @@ function R() {
|
|
203
205
|
try {
|
204
206
|
for (; X < z.length; ) {
|
205
207
|
const t = z[X];
|
206
|
-
X++, ae(t),
|
208
|
+
X++, ae(t), dn(t.$$);
|
207
209
|
}
|
208
210
|
} catch (t) {
|
209
211
|
throw z.length = 0, X = 0, t;
|
210
212
|
}
|
211
|
-
for (ae(null), z.length = 0, X = 0;
|
213
|
+
for (ae(null), z.length = 0, X = 0; xe.length; )
|
214
|
+
xe.pop()();
|
212
215
|
for (let t = 0; t < Z.length; t += 1) {
|
213
216
|
const r = Z[t];
|
214
217
|
Me.has(r) || (Me.add(r), r());
|
215
218
|
}
|
216
219
|
Z.length = 0;
|
217
220
|
} while (z.length);
|
218
|
-
for (;
|
219
|
-
|
220
|
-
|
221
|
+
for (; wt.length; )
|
222
|
+
wt.pop()();
|
223
|
+
ke = !1, Me.clear(), ae(e);
|
221
224
|
}
|
222
|
-
function
|
225
|
+
function dn(e) {
|
223
226
|
if (e.fragment !== null) {
|
224
227
|
e.update(), te(e.before_update);
|
225
228
|
const t = e.dirty;
|
226
229
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
227
230
|
}
|
228
231
|
}
|
229
|
-
function
|
232
|
+
function pn(e) {
|
230
233
|
const t = [], r = [];
|
231
234
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
232
235
|
}
|
233
|
-
const
|
234
|
-
function
|
235
|
-
e && e.i && (
|
236
|
+
const mn = /* @__PURE__ */ new Set();
|
237
|
+
function bn(e, t) {
|
238
|
+
e && e.i && (mn.delete(e), e.i(t));
|
236
239
|
}
|
237
240
|
function we(e) {
|
238
241
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
239
242
|
}
|
240
|
-
function
|
243
|
+
function gn(e, t, r) {
|
241
244
|
const { fragment: n, after_update: i } = e.$$;
|
242
245
|
n && n.m(t, r), Se(() => {
|
243
|
-
const o = e.$$.on_mount.map(
|
246
|
+
const o = e.$$.on_mount.map(Kt).filter(nt);
|
244
247
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
245
248
|
}), i.forEach(Se);
|
246
249
|
}
|
247
|
-
function
|
250
|
+
function vn(e, t) {
|
248
251
|
const r = e.$$;
|
249
|
-
r.fragment !== null && (
|
252
|
+
r.fragment !== null && (pn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
250
253
|
}
|
251
|
-
function
|
252
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
254
|
+
function yn(e, t) {
|
255
|
+
e.$$.dirty[0] === -1 && (z.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
253
256
|
}
|
254
|
-
function
|
257
|
+
function _n(e, t, r, n, i, o, s = null, a = [-1]) {
|
255
258
|
const l = le;
|
256
259
|
ae(e);
|
257
260
|
const u = e.$$ = {
|
@@ -261,7 +264,7 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
264
|
props: o,
|
262
265
|
update: L,
|
263
266
|
not_equal: i,
|
264
|
-
bound:
|
267
|
+
bound: St(),
|
265
268
|
// lifecycle
|
266
269
|
on_mount: [],
|
267
270
|
on_destroy: [],
|
@@ -270,7 +273,7 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
273
|
after_update: [],
|
271
274
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
272
275
|
// everything else
|
273
|
-
callbacks:
|
276
|
+
callbacks: St(),
|
274
277
|
dirty: a,
|
275
278
|
skip_bound: !1,
|
276
279
|
root: t.target || l.$$.root
|
@@ -279,19 +282,19 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
279
282
|
let h = !1;
|
280
283
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
281
284
|
const d = p.length ? p[0] : f;
|
282
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
285
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && yn(e, c)), f;
|
283
286
|
}) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
284
287
|
if (t.hydrate) {
|
285
|
-
const c =
|
288
|
+
const c = on(t.target);
|
286
289
|
u.fragment && u.fragment.l(c), c.forEach($);
|
287
290
|
} else
|
288
291
|
u.fragment && u.fragment.c();
|
289
|
-
t.intro &&
|
292
|
+
t.intro && bn(e.$$.fragment), gn(e, t.target, t.anchor), R();
|
290
293
|
}
|
291
294
|
ae(l);
|
292
295
|
}
|
293
|
-
let
|
294
|
-
typeof HTMLElement == "function" && (
|
296
|
+
let nr;
|
297
|
+
typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
295
298
|
constructor(t, r, n) {
|
296
299
|
super();
|
297
300
|
/** The Svelte component constructor */
|
@@ -328,14 +331,14 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
328
331
|
}
|
329
332
|
}
|
330
333
|
connectedCallback() {
|
331
|
-
return
|
334
|
+
return xt(this, null, function* () {
|
332
335
|
if (this.$$cn = !0, !this.$$c) {
|
333
336
|
let t = function(o) {
|
334
337
|
return () => {
|
335
338
|
let s;
|
336
339
|
return {
|
337
340
|
c: function() {
|
338
|
-
s = P("slot"), o !== "default" &&
|
341
|
+
s = P("slot"), o !== "default" && x(s, "name", o);
|
339
342
|
},
|
340
343
|
/**
|
341
344
|
* @param {HTMLElement} target
|
@@ -352,7 +355,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
352
355
|
};
|
353
356
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
354
357
|
return;
|
355
|
-
const r = {}, n =
|
358
|
+
const r = {}, n = ln(this);
|
356
359
|
for (const o of this.$$s)
|
357
360
|
o in n && (r[o] = [t(o)]);
|
358
361
|
for (const o of this.attributes) {
|
@@ -363,7 +366,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
363
366
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
364
367
|
this.$$c = new this.$$ctor({
|
365
368
|
target: this.shadowRoot || this,
|
366
|
-
props:
|
369
|
+
props: Et(_t({}, this.$$d), {
|
367
370
|
$$slots: r,
|
368
371
|
$$scope: {
|
369
372
|
ctx: []
|
@@ -441,8 +444,8 @@ function ge(e, t, r, n) {
|
|
441
444
|
return t;
|
442
445
|
}
|
443
446
|
}
|
444
|
-
function
|
445
|
-
let s = class extends
|
447
|
+
function En(e, t, r, n, i, o) {
|
448
|
+
let s = class extends nr {
|
446
449
|
constructor() {
|
447
450
|
super(e, r, i), this.$$p_d = t;
|
448
451
|
}
|
@@ -472,7 +475,7 @@ function gn(e, t, r, n, i, o) {
|
|
472
475
|
}), e.element = /** @type {any} */
|
473
476
|
s, s;
|
474
477
|
}
|
475
|
-
class
|
478
|
+
class xn {
|
476
479
|
constructor() {
|
477
480
|
/**
|
478
481
|
* ### PRIVATE API
|
@@ -493,7 +496,7 @@ class vn {
|
|
493
496
|
}
|
494
497
|
/** @returns {void} */
|
495
498
|
$destroy() {
|
496
|
-
|
499
|
+
vn(this, 1), this.$destroy = L;
|
497
500
|
}
|
498
501
|
/**
|
499
502
|
* @template {Extract<keyof Events, string>} K
|
@@ -502,7 +505,7 @@ class vn {
|
|
502
505
|
* @returns {() => void}
|
503
506
|
*/
|
504
507
|
$on(t, r) {
|
505
|
-
if (!
|
508
|
+
if (!nt(r))
|
506
509
|
return L;
|
507
510
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
508
511
|
return n.push(r), () => {
|
@@ -515,13 +518,13 @@ class vn {
|
|
515
518
|
* @returns {void}
|
516
519
|
*/
|
517
520
|
$set(t) {
|
518
|
-
this.$$set && !
|
521
|
+
this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
519
522
|
}
|
520
523
|
}
|
521
|
-
const
|
522
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
524
|
+
const Sn = "4";
|
525
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
|
523
526
|
const W = [];
|
524
|
-
function
|
527
|
+
function wn(e, t) {
|
525
528
|
return {
|
526
529
|
subscribe: Pe(e, t).subscribe
|
527
530
|
};
|
@@ -530,7 +533,7 @@ function Pe(e, t = L) {
|
|
530
533
|
let r;
|
531
534
|
const n = /* @__PURE__ */ new Set();
|
532
535
|
function i(a) {
|
533
|
-
if (
|
536
|
+
if (er(e, a) && (e = a, r)) {
|
534
537
|
const l = !W.length;
|
535
538
|
for (const u of n)
|
536
539
|
u[1](), W.push(u, e);
|
@@ -557,7 +560,7 @@ function re(e, t, r) {
|
|
557
560
|
if (!i.every(Boolean))
|
558
561
|
throw new Error("derived() expects stores as input, got a falsy value");
|
559
562
|
const o = t.length < 2;
|
560
|
-
return
|
563
|
+
return wn(r, (s, a) => {
|
561
564
|
let l = !1;
|
562
565
|
const u = [];
|
563
566
|
let h = 0, c = L;
|
@@ -566,9 +569,9 @@ function re(e, t, r) {
|
|
566
569
|
return;
|
567
570
|
c();
|
568
571
|
const d = t(n ? u[0] : u, s, a);
|
569
|
-
o ? s(d) : c =
|
572
|
+
o ? s(d) : c = nt(d) ? d : L;
|
570
573
|
}, p = i.map(
|
571
|
-
(d, g) =>
|
574
|
+
(d, g) => tr(
|
572
575
|
d,
|
573
576
|
(m) => {
|
574
577
|
u[g] = m, h &= ~(1 << g), l && f();
|
@@ -583,70 +586,70 @@ function re(e, t, r) {
|
|
583
586
|
};
|
584
587
|
});
|
585
588
|
}
|
586
|
-
function
|
589
|
+
function Tn(e) {
|
587
590
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
588
591
|
}
|
589
|
-
var
|
590
|
-
return
|
592
|
+
var Hn = function(t) {
|
593
|
+
return Cn(t) && !Pn(t);
|
591
594
|
};
|
592
|
-
function
|
595
|
+
function Cn(e) {
|
593
596
|
return !!e && typeof e == "object";
|
594
597
|
}
|
595
|
-
function
|
598
|
+
function Pn(e) {
|
596
599
|
var t = Object.prototype.toString.call(e);
|
597
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
600
|
+
return t === "[object RegExp]" || t === "[object Date]" || On(e);
|
598
601
|
}
|
599
|
-
var
|
600
|
-
function
|
601
|
-
return e.$$typeof ===
|
602
|
+
var Bn = typeof Symbol == "function" && Symbol.for, An = Bn ? Symbol.for("react.element") : 60103;
|
603
|
+
function On(e) {
|
604
|
+
return e.$$typeof === An;
|
602
605
|
}
|
603
|
-
function
|
606
|
+
function In(e) {
|
604
607
|
return Array.isArray(e) ? [] : {};
|
605
608
|
}
|
606
609
|
function ue(e, t) {
|
607
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? q(
|
610
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(In(e), e, t) : e;
|
608
611
|
}
|
609
|
-
function
|
612
|
+
function Ln(e, t, r) {
|
610
613
|
return e.concat(t).map(function(n) {
|
611
614
|
return ue(n, r);
|
612
615
|
});
|
613
616
|
}
|
614
|
-
function
|
617
|
+
function Nn(e, t) {
|
615
618
|
if (!t.customMerge)
|
616
619
|
return q;
|
617
620
|
var r = t.customMerge(e);
|
618
621
|
return typeof r == "function" ? r : q;
|
619
622
|
}
|
620
|
-
function
|
623
|
+
function Mn(e) {
|
621
624
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
622
625
|
return Object.propertyIsEnumerable.call(e, t);
|
623
626
|
}) : [];
|
624
627
|
}
|
625
|
-
function
|
626
|
-
return Object.keys(e).concat(
|
628
|
+
function Tt(e) {
|
629
|
+
return Object.keys(e).concat(Mn(e));
|
627
630
|
}
|
628
|
-
function
|
631
|
+
function ir(e, t) {
|
629
632
|
try {
|
630
633
|
return t in e;
|
631
634
|
} catch (r) {
|
632
635
|
return !1;
|
633
636
|
}
|
634
637
|
}
|
635
|
-
function
|
636
|
-
return
|
638
|
+
function Rn(e, t) {
|
639
|
+
return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
637
640
|
}
|
638
|
-
function
|
641
|
+
function $n(e, t, r) {
|
639
642
|
var n = {};
|
640
|
-
return r.isMergeableObject(e) &&
|
643
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
641
644
|
n[i] = ue(e[i], r);
|
642
|
-
}),
|
643
|
-
|
645
|
+
}), Tt(t).forEach(function(i) {
|
646
|
+
Rn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
644
647
|
}), n;
|
645
648
|
}
|
646
649
|
function q(e, t, r) {
|
647
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
650
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ue;
|
648
651
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
649
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
652
|
+
return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : ue(t, r);
|
650
653
|
}
|
651
654
|
q.all = function(t, r) {
|
652
655
|
if (!Array.isArray(t))
|
@@ -655,121 +658,146 @@ q.all = function(t, r) {
|
|
655
658
|
return q(n, i, r);
|
656
659
|
}, {});
|
657
660
|
};
|
658
|
-
var
|
659
|
-
const
|
660
|
-
|
661
|
-
|
661
|
+
var Gn = q, Un = Gn;
|
662
|
+
const Dn = /* @__PURE__ */ Tn(Un);
|
663
|
+
/*! *****************************************************************************
|
664
|
+
Copyright (c) Microsoft Corporation.
|
665
|
+
|
666
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
667
|
+
purpose with or without fee is hereby granted.
|
668
|
+
|
669
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
670
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
671
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
672
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
673
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
674
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
675
|
+
PERFORMANCE OF THIS SOFTWARE.
|
676
|
+
***************************************************************************** */
|
677
|
+
var Ve = function(e, t) {
|
678
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
662
679
|
r.__proto__ = n;
|
663
680
|
} || function(r, n) {
|
664
|
-
for (var i in n)
|
665
|
-
|
681
|
+
for (var i in n)
|
682
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
683
|
+
}, Ve(e, t);
|
666
684
|
};
|
667
685
|
function F(e, t) {
|
668
686
|
if (typeof t != "function" && t !== null)
|
669
687
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
670
|
-
|
688
|
+
Ve(e, t);
|
671
689
|
function r() {
|
672
690
|
this.constructor = e;
|
673
691
|
}
|
674
692
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
675
693
|
}
|
676
|
-
var
|
677
|
-
return
|
694
|
+
var E = function() {
|
695
|
+
return E = Object.assign || function(t) {
|
678
696
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
679
697
|
r = arguments[n];
|
680
|
-
for (var o in r)
|
698
|
+
for (var o in r)
|
699
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
681
700
|
}
|
682
701
|
return t;
|
683
|
-
},
|
702
|
+
}, E.apply(this, arguments);
|
684
703
|
};
|
685
|
-
function
|
704
|
+
function Fn(e, t) {
|
686
705
|
var r = {};
|
687
|
-
for (var n in e)
|
706
|
+
for (var n in e)
|
707
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
688
708
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
689
709
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
690
710
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
691
711
|
return r;
|
692
712
|
}
|
693
|
-
function
|
713
|
+
function Xe(e) {
|
694
714
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
695
|
-
if (r)
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
715
|
+
if (r)
|
716
|
+
return r.call(e);
|
717
|
+
if (e && typeof e.length == "number")
|
718
|
+
return {
|
719
|
+
next: function() {
|
720
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
721
|
+
}
|
722
|
+
};
|
701
723
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
702
724
|
}
|
703
|
-
function
|
725
|
+
function We(e, t) {
|
704
726
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
705
|
-
if (!r)
|
727
|
+
if (!r)
|
728
|
+
return e;
|
706
729
|
var n = r.call(e), i, o = [], s;
|
707
730
|
try {
|
708
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
731
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
732
|
+
o.push(i.value);
|
709
733
|
} catch (a) {
|
710
734
|
s = { error: a };
|
711
735
|
} finally {
|
712
736
|
try {
|
713
737
|
i && !i.done && (r = n.return) && r.call(n);
|
714
738
|
} finally {
|
715
|
-
if (s)
|
739
|
+
if (s)
|
740
|
+
throw s.error;
|
716
741
|
}
|
717
742
|
}
|
718
743
|
return o;
|
719
744
|
}
|
720
745
|
function Q(e, t, r) {
|
721
|
-
if (r || arguments.length === 2)
|
722
|
-
(
|
723
|
-
|
746
|
+
if (r || arguments.length === 2)
|
747
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
748
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
749
|
+
return e.concat(o || t);
|
724
750
|
}
|
725
751
|
function Re(e, t) {
|
726
|
-
var r = t && t.cache ? t.cache :
|
752
|
+
var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : kn;
|
727
753
|
return i(e, {
|
728
754
|
cache: r,
|
729
755
|
serializer: n
|
730
756
|
});
|
731
757
|
}
|
732
|
-
function
|
758
|
+
function jn(e) {
|
733
759
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
734
760
|
}
|
735
|
-
function
|
736
|
-
var i =
|
761
|
+
function or(e, t, r, n) {
|
762
|
+
var i = jn(n) ? n : r(n), o = t.get(i);
|
737
763
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
738
764
|
}
|
739
|
-
function
|
765
|
+
function sr(e, t, r) {
|
740
766
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
741
767
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
742
768
|
}
|
743
|
-
function
|
769
|
+
function ot(e, t, r, n, i) {
|
744
770
|
return r.bind(t, e, n, i);
|
745
771
|
}
|
746
|
-
function
|
747
|
-
var r = e.length === 1 ?
|
748
|
-
return
|
772
|
+
function kn(e, t) {
|
773
|
+
var r = e.length === 1 ? or : sr;
|
774
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
749
775
|
}
|
750
|
-
function
|
751
|
-
return
|
776
|
+
function Vn(e, t) {
|
777
|
+
return ot(e, this, sr, t.cache.create(), t.serializer);
|
752
778
|
}
|
753
|
-
|
779
|
+
function Xn(e, t) {
|
780
|
+
return ot(e, this, or, t.cache.create(), t.serializer);
|
781
|
+
}
|
782
|
+
var Wn = function() {
|
754
783
|
return JSON.stringify(arguments);
|
755
|
-
}
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
}()
|
767
|
-
), Vn = {
|
784
|
+
};
|
785
|
+
function st() {
|
786
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
787
|
+
}
|
788
|
+
st.prototype.get = function(e) {
|
789
|
+
return this.cache[e];
|
790
|
+
};
|
791
|
+
st.prototype.set = function(e, t) {
|
792
|
+
this.cache[e] = t;
|
793
|
+
};
|
794
|
+
var zn = {
|
768
795
|
create: function() {
|
769
|
-
return new
|
796
|
+
return new st();
|
770
797
|
}
|
771
798
|
}, $e = {
|
772
|
-
variadic:
|
799
|
+
variadic: Vn,
|
800
|
+
monadic: Xn
|
773
801
|
}, v;
|
774
802
|
(function(e) {
|
775
803
|
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";
|
@@ -782,43 +810,43 @@ var Y;
|
|
782
810
|
(function(e) {
|
783
811
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
784
812
|
})(Y || (Y = {}));
|
785
|
-
function
|
813
|
+
function Ht(e) {
|
786
814
|
return e.type === w.literal;
|
787
815
|
}
|
788
|
-
function
|
816
|
+
function Zn(e) {
|
789
817
|
return e.type === w.argument;
|
790
818
|
}
|
791
|
-
function
|
819
|
+
function ar(e) {
|
792
820
|
return e.type === w.number;
|
793
821
|
}
|
794
|
-
function
|
822
|
+
function lr(e) {
|
795
823
|
return e.type === w.date;
|
796
824
|
}
|
797
|
-
function
|
825
|
+
function ur(e) {
|
798
826
|
return e.type === w.time;
|
799
827
|
}
|
800
|
-
function
|
828
|
+
function hr(e) {
|
801
829
|
return e.type === w.select;
|
802
830
|
}
|
803
|
-
function
|
831
|
+
function cr(e) {
|
804
832
|
return e.type === w.plural;
|
805
833
|
}
|
806
|
-
function
|
834
|
+
function Qn(e) {
|
807
835
|
return e.type === w.pound;
|
808
836
|
}
|
809
|
-
function
|
837
|
+
function fr(e) {
|
810
838
|
return e.type === w.tag;
|
811
839
|
}
|
812
|
-
function
|
840
|
+
function dr(e) {
|
813
841
|
return !!(e && typeof e == "object" && e.type === Y.number);
|
814
842
|
}
|
815
|
-
function
|
843
|
+
function ze(e) {
|
816
844
|
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
817
845
|
}
|
818
|
-
var
|
819
|
-
function
|
846
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
|
847
|
+
function qn(e) {
|
820
848
|
var t = {};
|
821
|
-
return e.replace(
|
849
|
+
return e.replace(Jn, function(r) {
|
822
850
|
var n = r.length;
|
823
851
|
switch (r[0]) {
|
824
852
|
case "G":
|
@@ -907,11 +935,11 @@ function Zn(e) {
|
|
907
935
|
return "";
|
908
936
|
}), t;
|
909
937
|
}
|
910
|
-
var
|
911
|
-
function
|
938
|
+
var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
939
|
+
function Kn(e) {
|
912
940
|
if (e.length === 0)
|
913
941
|
throw new Error("Number skeleton cannot be empty");
|
914
|
-
for (var t = e.split(
|
942
|
+
for (var t = e.split(Yn).filter(function(f) {
|
915
943
|
return f.length > 0;
|
916
944
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
917
945
|
var o = i[n], s = o.split("/");
|
@@ -926,17 +954,17 @@ function Jn(e) {
|
|
926
954
|
}
|
927
955
|
return r;
|
928
956
|
}
|
929
|
-
function
|
957
|
+
function ei(e) {
|
930
958
|
return e.replace(/^(.*?)-/, "");
|
931
959
|
}
|
932
|
-
var
|
933
|
-
function
|
960
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
961
|
+
function Pt(e) {
|
934
962
|
var t = {};
|
935
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
963
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
|
936
964
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
937
965
|
}), t;
|
938
966
|
}
|
939
|
-
function
|
967
|
+
function gr(e) {
|
940
968
|
switch (e) {
|
941
969
|
case "sign-auto":
|
942
970
|
return {
|
@@ -976,7 +1004,7 @@ function pr(e) {
|
|
976
1004
|
};
|
977
1005
|
}
|
978
1006
|
}
|
979
|
-
function
|
1007
|
+
function ri(e) {
|
980
1008
|
var t;
|
981
1009
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
982
1010
|
notation: "engineering"
|
@@ -984,17 +1012,17 @@ function Kn(e) {
|
|
984
1012
|
notation: "scientific"
|
985
1013
|
}, e = e.slice(1)), t) {
|
986
1014
|
var r = e.slice(0, 2);
|
987
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1015
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
988
1016
|
throw new Error("Malformed concise eng/scientific notation");
|
989
1017
|
t.minimumIntegerDigits = e.length;
|
990
1018
|
}
|
991
1019
|
return t;
|
992
1020
|
}
|
993
|
-
function
|
994
|
-
var t = {}, r =
|
1021
|
+
function Bt(e) {
|
1022
|
+
var t = {}, r = gr(e);
|
995
1023
|
return r || t;
|
996
1024
|
}
|
997
|
-
function
|
1025
|
+
function ni(e) {
|
998
1026
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
999
1027
|
var i = n[r];
|
1000
1028
|
switch (i.stem) {
|
@@ -1018,7 +1046,7 @@ function ei(e) {
|
|
1018
1046
|
continue;
|
1019
1047
|
case "measure-unit":
|
1020
1048
|
case "unit":
|
1021
|
-
t.style = "unit", t.unit =
|
1049
|
+
t.style = "unit", t.unit = ei(i.options[0]);
|
1022
1050
|
continue;
|
1023
1051
|
case "compact-short":
|
1024
1052
|
case "K":
|
@@ -1029,13 +1057,13 @@ function ei(e) {
|
|
1029
1057
|
t.notation = "compact", t.compactDisplay = "long";
|
1030
1058
|
continue;
|
1031
1059
|
case "scientific":
|
1032
|
-
t =
|
1033
|
-
return
|
1060
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
1061
|
+
return E(E({}, l), Bt(u));
|
1034
1062
|
}, {}));
|
1035
1063
|
continue;
|
1036
1064
|
case "engineering":
|
1037
|
-
t =
|
1038
|
-
return
|
1065
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
1066
|
+
return E(E({}, l), Bt(u));
|
1039
1067
|
}, {}));
|
1040
1068
|
continue;
|
1041
1069
|
case "notation-simple":
|
@@ -1080,7 +1108,7 @@ function ei(e) {
|
|
1080
1108
|
case "integer-width":
|
1081
1109
|
if (i.options.length > 1)
|
1082
1110
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1083
|
-
i.options[0].replace(
|
1111
|
+
i.options[0].replace(ti, function(l, u, h, c, f, p) {
|
1084
1112
|
if (u)
|
1085
1113
|
t.minimumIntegerDigits = h.length;
|
1086
1114
|
else {
|
@@ -1093,28 +1121,28 @@ function ei(e) {
|
|
1093
1121
|
});
|
1094
1122
|
continue;
|
1095
1123
|
}
|
1096
|
-
if (
|
1124
|
+
if (br.test(i.stem)) {
|
1097
1125
|
t.minimumIntegerDigits = i.stem.length;
|
1098
1126
|
continue;
|
1099
1127
|
}
|
1100
|
-
if (
|
1128
|
+
if (Ct.test(i.stem)) {
|
1101
1129
|
if (i.options.length > 1)
|
1102
1130
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1103
|
-
i.stem.replace(
|
1131
|
+
i.stem.replace(Ct, function(l, u, h, c, f, p) {
|
1104
1132
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1105
1133
|
});
|
1106
1134
|
var o = i.options[0];
|
1107
|
-
o === "w" ? t =
|
1135
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
1108
1136
|
continue;
|
1109
1137
|
}
|
1110
|
-
if (
|
1111
|
-
t =
|
1138
|
+
if (mr.test(i.stem)) {
|
1139
|
+
t = E(E({}, t), Pt(i.stem));
|
1112
1140
|
continue;
|
1113
1141
|
}
|
1114
|
-
var s =
|
1115
|
-
s && (t =
|
1116
|
-
var a =
|
1117
|
-
a && (t =
|
1142
|
+
var s = gr(i.stem);
|
1143
|
+
s && (t = E(E({}, t), s));
|
1144
|
+
var a = ri(i.stem);
|
1145
|
+
a && (t = E(E({}, t), a));
|
1118
1146
|
}
|
1119
1147
|
return t;
|
1120
1148
|
}
|
@@ -2533,22 +2561,23 @@ var me = {
|
|
2533
2561
|
"h"
|
2534
2562
|
]
|
2535
2563
|
};
|
2536
|
-
function
|
2564
|
+
function ii(e, t) {
|
2537
2565
|
for (var r = "", n = 0; n < e.length; n++) {
|
2538
2566
|
var i = e.charAt(n);
|
2539
2567
|
if (i === "j") {
|
2540
2568
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2541
2569
|
o++, n++;
|
2542
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
2570
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = oi(t);
|
2543
2571
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2544
2572
|
r += l;
|
2545
2573
|
for (; s-- > 0; )
|
2546
2574
|
r = u + r;
|
2547
|
-
} else
|
2575
|
+
} else
|
2576
|
+
i === "J" ? r += "H" : r += i;
|
2548
2577
|
}
|
2549
2578
|
return r;
|
2550
2579
|
}
|
2551
|
-
function
|
2580
|
+
function oi(e) {
|
2552
2581
|
var t = e.hourCycle;
|
2553
2582
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2554
2583
|
e.hourCycles && // @ts-ignore
|
@@ -2570,20 +2599,20 @@ function ri(e) {
|
|
2570
2599
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
2571
2600
|
return i[0];
|
2572
2601
|
}
|
2573
|
-
var Ge,
|
2602
|
+
var Ge, si = new RegExp("^".concat(pr.source, "*")), ai = new RegExp("".concat(pr.source, "*$"));
|
2574
2603
|
function y(e, t) {
|
2575
2604
|
return { start: e, end: t };
|
2576
2605
|
}
|
2577
|
-
var
|
2606
|
+
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, mi = pi ? Number.isSafeInteger : function(e) {
|
2578
2607
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2579
|
-
},
|
2608
|
+
}, Ze = !0;
|
2580
2609
|
try {
|
2581
|
-
var
|
2582
|
-
|
2610
|
+
var bi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2611
|
+
Ze = ((Ge = bi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2583
2612
|
} catch (e) {
|
2584
|
-
|
2613
|
+
Ze = !1;
|
2585
2614
|
}
|
2586
|
-
var
|
2615
|
+
var At = li ? (
|
2587
2616
|
// Native
|
2588
2617
|
function(t, r, n) {
|
2589
2618
|
return t.startsWith(r, n);
|
@@ -2593,7 +2622,7 @@ var Ct = oi ? (
|
|
2593
2622
|
function(t, r, n) {
|
2594
2623
|
return t.slice(n, n + r.length) === r;
|
2595
2624
|
}
|
2596
|
-
),
|
2625
|
+
), Qe = ui ? String.fromCodePoint : (
|
2597
2626
|
// IE11
|
2598
2627
|
function() {
|
2599
2628
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2605,9 +2634,9 @@ var Ct = oi ? (
|
|
2605
2634
|
}
|
2606
2635
|
return n;
|
2607
2636
|
}
|
2608
|
-
),
|
2637
|
+
), Ot = (
|
2609
2638
|
// native
|
2610
|
-
|
2639
|
+
hi ? Object.fromEntries : (
|
2611
2640
|
// Ponyfill
|
2612
2641
|
function(t) {
|
2613
2642
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2617,7 +2646,7 @@ var Ct = oi ? (
|
|
2617
2646
|
return r;
|
2618
2647
|
}
|
2619
2648
|
)
|
2620
|
-
),
|
2649
|
+
), vr = ci ? (
|
2621
2650
|
// Native
|
2622
2651
|
function(t, r) {
|
2623
2652
|
return t.codePointAt(r);
|
@@ -2631,7 +2660,7 @@ var Ct = oi ? (
|
|
2631
2660
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2632
2661
|
}
|
2633
2662
|
}
|
2634
|
-
),
|
2663
|
+
), gi = fi ? (
|
2635
2664
|
// Native
|
2636
2665
|
function(t) {
|
2637
2666
|
return t.trimStart();
|
@@ -2639,9 +2668,9 @@ var Ct = oi ? (
|
|
2639
2668
|
) : (
|
2640
2669
|
// Ponyfill
|
2641
2670
|
function(t) {
|
2642
|
-
return t.replace(
|
2671
|
+
return t.replace(si, "");
|
2643
2672
|
}
|
2644
|
-
),
|
2673
|
+
), vi = di ? (
|
2645
2674
|
// Native
|
2646
2675
|
function(t) {
|
2647
2676
|
return t.trimEnd();
|
@@ -2649,32 +2678,32 @@ var Ct = oi ? (
|
|
2649
2678
|
) : (
|
2650
2679
|
// Ponyfill
|
2651
2680
|
function(t) {
|
2652
|
-
return t.replace(
|
2681
|
+
return t.replace(ai, "");
|
2653
2682
|
}
|
2654
2683
|
);
|
2655
|
-
function
|
2684
|
+
function yr(e, t) {
|
2656
2685
|
return new RegExp(e, t);
|
2657
2686
|
}
|
2658
|
-
var
|
2659
|
-
if (
|
2660
|
-
var
|
2661
|
-
|
2687
|
+
var Je;
|
2688
|
+
if (Ze) {
|
2689
|
+
var It = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2690
|
+
Je = function(t, r) {
|
2662
2691
|
var n;
|
2663
|
-
|
2664
|
-
var i =
|
2692
|
+
It.lastIndex = r;
|
2693
|
+
var i = It.exec(t);
|
2665
2694
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2666
2695
|
};
|
2667
2696
|
} else
|
2668
|
-
|
2697
|
+
Je = function(t, r) {
|
2669
2698
|
for (var n = []; ; ) {
|
2670
|
-
var i =
|
2671
|
-
if (i === void 0 ||
|
2699
|
+
var i = vr(t, r);
|
2700
|
+
if (i === void 0 || _r(i) || xi(i))
|
2672
2701
|
break;
|
2673
2702
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2674
2703
|
}
|
2675
|
-
return
|
2704
|
+
return Qe.apply(void 0, n);
|
2676
2705
|
};
|
2677
|
-
var
|
2706
|
+
var yi = (
|
2678
2707
|
/** @class */
|
2679
2708
|
function() {
|
2680
2709
|
function e(t, r) {
|
@@ -2705,7 +2734,7 @@ var bi = (
|
|
2705
2734
|
if (n)
|
2706
2735
|
break;
|
2707
2736
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2708
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2737
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
2709
2738
|
var s = this.parseTag(t, r);
|
2710
2739
|
if (s.err)
|
2711
2740
|
return s;
|
@@ -2738,7 +2767,7 @@ var bi = (
|
|
2738
2767
|
return o;
|
2739
2768
|
var s = o.val, a = this.clonePosition();
|
2740
2769
|
if (this.bumpIf("</")) {
|
2741
|
-
if (this.isEOF() || !
|
2770
|
+
if (this.isEOF() || !qe(this.char()))
|
2742
2771
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2743
2772
|
var l = this.clonePosition(), u = this.parseTagName();
|
2744
2773
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2756,7 +2785,7 @@ var bi = (
|
|
2756
2785
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2757
2786
|
}, e.prototype.parseTagName = function() {
|
2758
2787
|
var t = this.offset();
|
2759
|
-
for (this.bump(); !this.isEOF() &&
|
2788
|
+
for (this.bump(); !this.isEOF() && Ei(this.char()); )
|
2760
2789
|
this.bump();
|
2761
2790
|
return this.message.slice(t, this.offset());
|
2762
2791
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2785,7 +2814,7 @@ var bi = (
|
|
2785
2814
|
};
|
2786
2815
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2787
2816
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2788
|
-
!
|
2817
|
+
!_i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2789
2818
|
}, e.prototype.tryParseQuote = function(t) {
|
2790
2819
|
if (this.isEOF() || this.char() !== 39)
|
2791
2820
|
return null;
|
@@ -2819,12 +2848,12 @@ var bi = (
|
|
2819
2848
|
r.push(n);
|
2820
2849
|
this.bump();
|
2821
2850
|
}
|
2822
|
-
return
|
2851
|
+
return Qe.apply(void 0, r);
|
2823
2852
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2824
2853
|
if (this.isEOF())
|
2825
2854
|
return null;
|
2826
2855
|
var n = this.char();
|
2827
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2856
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
2828
2857
|
}, e.prototype.parseArgument = function(t, r) {
|
2829
2858
|
var n = this.clonePosition();
|
2830
2859
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2853,7 +2882,7 @@ var bi = (
|
|
2853
2882
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2854
2883
|
}
|
2855
2884
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2856
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2885
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
2857
2886
|
this.bumpTo(i);
|
2858
2887
|
var o = this.clonePosition(), s = y(t, o);
|
2859
2888
|
return { value: n, location: s };
|
@@ -2872,7 +2901,7 @@ var bi = (
|
|
2872
2901
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2873
2902
|
if (c.err)
|
2874
2903
|
return c;
|
2875
|
-
var f =
|
2904
|
+
var f = vi(c.val);
|
2876
2905
|
if (f.length === 0)
|
2877
2906
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2878
2907
|
var p = y(h, this.clonePosition());
|
@@ -2882,8 +2911,8 @@ var bi = (
|
|
2882
2911
|
if (d.err)
|
2883
2912
|
return d;
|
2884
2913
|
var g = y(i, this.clonePosition());
|
2885
|
-
if (u &&
|
2886
|
-
var m =
|
2914
|
+
if (u && At(u == null ? void 0 : u.style, "::", 0)) {
|
2915
|
+
var m = gi(u.style.slice(2));
|
2887
2916
|
if (a === "number") {
|
2888
2917
|
var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2889
2918
|
return c.err ? c : {
|
@@ -2894,12 +2923,12 @@ var bi = (
|
|
2894
2923
|
if (m.length === 0)
|
2895
2924
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
2896
2925
|
var _ = m;
|
2897
|
-
this.locale && (_ =
|
2926
|
+
this.locale && (_ = ii(m, this.locale));
|
2898
2927
|
var f = {
|
2899
2928
|
type: Y.dateTime,
|
2900
2929
|
pattern: _,
|
2901
2930
|
location: u.styleLocation,
|
2902
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2931
|
+
parsedOptions: this.shouldParseSkeletons ? qn(_) : {}
|
2903
2932
|
}, S = a === "date" ? w.date : w.time;
|
2904
2933
|
return {
|
2905
2934
|
val: { type: S, value: n, location: g, style: f },
|
@@ -2922,7 +2951,7 @@ var bi = (
|
|
2922
2951
|
case "select": {
|
2923
2952
|
var T = this.clonePosition();
|
2924
2953
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2925
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T,
|
2954
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, E({}, T)));
|
2926
2955
|
this.bumpSpace();
|
2927
2956
|
var H = this.parseIdentifierIfPossible(), A = 0;
|
2928
2957
|
if (a !== "select" && H.value === "offset") {
|
@@ -2945,7 +2974,7 @@ var bi = (
|
|
2945
2974
|
val: {
|
2946
2975
|
type: w.select,
|
2947
2976
|
value: n,
|
2948
|
-
options:
|
2977
|
+
options: Ot(O.val),
|
2949
2978
|
location: fe
|
2950
2979
|
},
|
2951
2980
|
err: null
|
@@ -2953,7 +2982,7 @@ var bi = (
|
|
2953
2982
|
val: {
|
2954
2983
|
type: w.plural,
|
2955
2984
|
value: n,
|
2956
|
-
options:
|
2985
|
+
options: Ot(O.val),
|
2957
2986
|
offset: A,
|
2958
2987
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2959
2988
|
location: fe
|
@@ -3004,7 +3033,7 @@ var bi = (
|
|
3004
3033
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3005
3034
|
var n = [];
|
3006
3035
|
try {
|
3007
|
-
n =
|
3036
|
+
n = Kn(t);
|
3008
3037
|
} catch (i) {
|
3009
3038
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3010
3039
|
}
|
@@ -3013,7 +3042,7 @@ var bi = (
|
|
3013
3042
|
type: Y.number,
|
3014
3043
|
tokens: n,
|
3015
3044
|
location: r,
|
3016
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3045
|
+
parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
|
3017
3046
|
},
|
3018
3047
|
err: null
|
3019
3048
|
};
|
@@ -3061,7 +3090,7 @@ var bi = (
|
|
3061
3090
|
break;
|
3062
3091
|
}
|
3063
3092
|
var l = y(i, this.clonePosition());
|
3064
|
-
return o ? (s *= n,
|
3093
|
+
return o ? (s *= n, mi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
3065
3094
|
}, e.prototype.offset = function() {
|
3066
3095
|
return this.position.offset;
|
3067
3096
|
}, e.prototype.isEOF = function() {
|
@@ -3076,7 +3105,7 @@ var bi = (
|
|
3076
3105
|
var t = this.position.offset;
|
3077
3106
|
if (t >= this.message.length)
|
3078
3107
|
throw Error("out of bound");
|
3079
|
-
var r =
|
3108
|
+
var r = vr(this.message, t);
|
3080
3109
|
if (r === void 0)
|
3081
3110
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3082
3111
|
return r;
|
@@ -3095,7 +3124,7 @@ var bi = (
|
|
3095
3124
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3096
3125
|
}
|
3097
3126
|
}, e.prototype.bumpIf = function(t) {
|
3098
|
-
if (
|
3127
|
+
if (At(this.message, t, this.offset())) {
|
3099
3128
|
for (var r = 0; r < t.length; r++)
|
3100
3129
|
this.bump();
|
3101
3130
|
return !0;
|
@@ -3117,7 +3146,7 @@ var bi = (
|
|
3117
3146
|
break;
|
3118
3147
|
}
|
3119
3148
|
}, e.prototype.bumpSpace = function() {
|
3120
|
-
for (; !this.isEOF() &&
|
3149
|
+
for (; !this.isEOF() && _r(this.char()); )
|
3121
3150
|
this.bump();
|
3122
3151
|
}, e.prototype.peek = function() {
|
3123
3152
|
if (this.isEOF())
|
@@ -3127,37 +3156,38 @@ var bi = (
|
|
3127
3156
|
}, e;
|
3128
3157
|
}()
|
3129
3158
|
);
|
3130
|
-
function
|
3159
|
+
function qe(e) {
|
3131
3160
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3132
3161
|
}
|
3133
|
-
function
|
3134
|
-
return
|
3162
|
+
function _i(e) {
|
3163
|
+
return qe(e) || e === 47;
|
3135
3164
|
}
|
3136
|
-
function
|
3165
|
+
function Ei(e) {
|
3137
3166
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3138
3167
|
}
|
3139
|
-
function
|
3168
|
+
function _r(e) {
|
3140
3169
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3141
3170
|
}
|
3142
|
-
function
|
3171
|
+
function xi(e) {
|
3143
3172
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3144
3173
|
}
|
3145
|
-
function
|
3174
|
+
function Ye(e) {
|
3146
3175
|
e.forEach(function(t) {
|
3147
|
-
if (delete t.location,
|
3176
|
+
if (delete t.location, hr(t) || cr(t))
|
3148
3177
|
for (var r in t.options)
|
3149
|
-
delete t.options[r].location,
|
3150
|
-
else
|
3178
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
3179
|
+
else
|
3180
|
+
ar(t) && dr(t.style) || (lr(t) || ur(t)) && ze(t.style) ? delete t.style.location : fr(t) && Ye(t.children);
|
3151
3181
|
});
|
3152
3182
|
}
|
3153
|
-
function
|
3154
|
-
t === void 0 && (t = {}), t =
|
3155
|
-
var r = new
|
3183
|
+
function Si(e, t) {
|
3184
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3185
|
+
var r = new yi(e, t).parse();
|
3156
3186
|
if (r.err) {
|
3157
3187
|
var n = SyntaxError(v[r.err.kind]);
|
3158
3188
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3159
3189
|
}
|
3160
|
-
return t != null && t.captureLocation ||
|
3190
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
3161
3191
|
}
|
3162
3192
|
var K;
|
3163
3193
|
(function(e) {
|
@@ -3175,7 +3205,7 @@ var Be = (
|
|
3175
3205
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3176
3206
|
}, t;
|
3177
3207
|
}(Error)
|
3178
|
-
),
|
3208
|
+
), Lt = (
|
3179
3209
|
/** @class */
|
3180
3210
|
function(e) {
|
3181
3211
|
F(t, e);
|
@@ -3184,7 +3214,7 @@ var Be = (
|
|
3184
3214
|
}
|
3185
3215
|
return t;
|
3186
3216
|
}(Be)
|
3187
|
-
),
|
3217
|
+
), wi = (
|
3188
3218
|
/** @class */
|
3189
3219
|
function(e) {
|
3190
3220
|
F(t, e);
|
@@ -3193,7 +3223,7 @@ var Be = (
|
|
3193
3223
|
}
|
3194
3224
|
return t;
|
3195
3225
|
}(Be)
|
3196
|
-
),
|
3226
|
+
), Ti = (
|
3197
3227
|
/** @class */
|
3198
3228
|
function(e) {
|
3199
3229
|
F(t, e);
|
@@ -3206,17 +3236,17 @@ var Be = (
|
|
3206
3236
|
(function(e) {
|
3207
3237
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3208
3238
|
})(B || (B = {}));
|
3209
|
-
function
|
3239
|
+
function Hi(e) {
|
3210
3240
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3211
3241
|
var n = t[t.length - 1];
|
3212
3242
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
3213
3243
|
}, []);
|
3214
3244
|
}
|
3215
|
-
function
|
3245
|
+
function Ci(e) {
|
3216
3246
|
return typeof e == "function";
|
3217
3247
|
}
|
3218
3248
|
function ve(e, t, r, n, i, o, s) {
|
3219
|
-
if (e.length === 1 &&
|
3249
|
+
if (e.length === 1 && Ht(e[0]))
|
3220
3250
|
return [
|
3221
3251
|
{
|
3222
3252
|
type: B.literal,
|
@@ -3225,14 +3255,14 @@ function ve(e, t, r, n, i, o, s) {
|
|
3225
3255
|
];
|
3226
3256
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
3227
3257
|
var h = u[l];
|
3228
|
-
if (
|
3258
|
+
if (Ht(h)) {
|
3229
3259
|
a.push({
|
3230
3260
|
type: B.literal,
|
3231
3261
|
value: h.value
|
3232
3262
|
});
|
3233
3263
|
continue;
|
3234
3264
|
}
|
3235
|
-
if (
|
3265
|
+
if (Qn(h)) {
|
3236
3266
|
typeof o == "number" && a.push({
|
3237
3267
|
type: B.literal,
|
3238
3268
|
value: r.getNumberFormat(t).format(o)
|
@@ -3241,43 +3271,43 @@ function ve(e, t, r, n, i, o, s) {
|
|
3241
3271
|
}
|
3242
3272
|
var c = h.value;
|
3243
3273
|
if (!(i && c in i))
|
3244
|
-
throw new
|
3274
|
+
throw new Ti(c, s);
|
3245
3275
|
var f = i[c];
|
3246
|
-
if (
|
3276
|
+
if (Zn(h)) {
|
3247
3277
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3248
3278
|
type: typeof f == "string" ? B.literal : B.object,
|
3249
3279
|
value: f
|
3250
3280
|
});
|
3251
3281
|
continue;
|
3252
3282
|
}
|
3253
|
-
if (
|
3254
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
3283
|
+
if (lr(h)) {
|
3284
|
+
var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
3255
3285
|
a.push({
|
3256
3286
|
type: B.literal,
|
3257
3287
|
value: r.getDateTimeFormat(t, p).format(f)
|
3258
3288
|
});
|
3259
3289
|
continue;
|
3260
3290
|
}
|
3261
|
-
if (
|
3262
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
3291
|
+
if (ur(h)) {
|
3292
|
+
var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
3263
3293
|
a.push({
|
3264
3294
|
type: B.literal,
|
3265
3295
|
value: r.getDateTimeFormat(t, p).format(f)
|
3266
3296
|
});
|
3267
3297
|
continue;
|
3268
3298
|
}
|
3269
|
-
if (
|
3270
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3299
|
+
if (ar(h)) {
|
3300
|
+
var p = typeof h.style == "string" ? n.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
|
3271
3301
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3272
3302
|
type: B.literal,
|
3273
3303
|
value: r.getNumberFormat(t, p).format(f)
|
3274
3304
|
});
|
3275
3305
|
continue;
|
3276
3306
|
}
|
3277
|
-
if (
|
3307
|
+
if (fr(h)) {
|
3278
3308
|
var d = h.children, g = h.value, m = i[g];
|
3279
|
-
if (!
|
3280
|
-
throw new
|
3309
|
+
if (!Ci(m))
|
3310
|
+
throw new wi(g, "function", s);
|
3281
3311
|
var _ = ve(d, t, r, n, i, o), S = m(_.map(function(A) {
|
3282
3312
|
return A.value;
|
3283
3313
|
}));
|
@@ -3288,14 +3318,14 @@ function ve(e, t, r, n, i, o, s) {
|
|
3288
3318
|
};
|
3289
3319
|
}));
|
3290
3320
|
}
|
3291
|
-
if (
|
3321
|
+
if (hr(h)) {
|
3292
3322
|
var T = h.options[f] || h.options.other;
|
3293
3323
|
if (!T)
|
3294
|
-
throw new
|
3324
|
+
throw new Lt(h.value, f, Object.keys(h.options), s);
|
3295
3325
|
a.push.apply(a, ve(T.value, t, r, n, i));
|
3296
3326
|
continue;
|
3297
3327
|
}
|
3298
|
-
if (
|
3328
|
+
if (cr(h)) {
|
3299
3329
|
var T = h.options["=".concat(f)];
|
3300
3330
|
if (!T) {
|
3301
3331
|
if (!Intl.PluralRules)
|
@@ -3306,22 +3336,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3306
3336
|
T = h.options[H] || h.options.other;
|
3307
3337
|
}
|
3308
3338
|
if (!T)
|
3309
|
-
throw new
|
3339
|
+
throw new Lt(h.value, f, Object.keys(h.options), s);
|
3310
3340
|
a.push.apply(a, ve(T.value, t, r, n, i, f - (h.offset || 0)));
|
3311
3341
|
continue;
|
3312
3342
|
}
|
3313
3343
|
}
|
3314
|
-
return
|
3344
|
+
return Hi(a);
|
3315
3345
|
}
|
3316
|
-
function
|
3317
|
-
return t ?
|
3318
|
-
return r[n] =
|
3346
|
+
function Pi(e, t) {
|
3347
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3348
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
3319
3349
|
}, {})) : e;
|
3320
3350
|
}
|
3321
|
-
function
|
3351
|
+
function Bi(e, t) {
|
3322
3352
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3323
|
-
return r[n] =
|
3324
|
-
},
|
3353
|
+
return r[n] = Pi(e[n], t[n]), r;
|
3354
|
+
}, E({}, e)) : e;
|
3325
3355
|
}
|
3326
3356
|
function Ue(e) {
|
3327
3357
|
return {
|
@@ -3337,7 +3367,7 @@ function Ue(e) {
|
|
3337
3367
|
}
|
3338
3368
|
};
|
3339
3369
|
}
|
3340
|
-
function
|
3370
|
+
function Ai(e) {
|
3341
3371
|
return e === void 0 && (e = {
|
3342
3372
|
number: {},
|
3343
3373
|
dateTime: {},
|
@@ -3369,7 +3399,7 @@ function Ci(e) {
|
|
3369
3399
|
})
|
3370
3400
|
};
|
3371
3401
|
}
|
3372
|
-
var
|
3402
|
+
var Oi = (
|
3373
3403
|
/** @class */
|
3374
3404
|
function() {
|
3375
3405
|
function e(t, r, n, i) {
|
@@ -3401,13 +3431,13 @@ var Pi = (
|
|
3401
3431
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3402
3432
|
var s = i || {};
|
3403
3433
|
s.formatters;
|
3404
|
-
var a =
|
3405
|
-
this.ast = e.__parse(t,
|
3434
|
+
var a = Fn(s, ["formatters"]);
|
3435
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
3406
3436
|
} else
|
3407
3437
|
this.ast = t;
|
3408
3438
|
if (!Array.isArray(this.ast))
|
3409
3439
|
throw new TypeError("A message must be provided as a String or AST.");
|
3410
|
-
this.formats =
|
3440
|
+
this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
|
3411
3441
|
}
|
3412
3442
|
return Object.defineProperty(e, "defaultLocale", {
|
3413
3443
|
get: function() {
|
@@ -3420,7 +3450,7 @@ var Pi = (
|
|
3420
3450
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3421
3451
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3422
3452
|
}
|
3423
|
-
}, e.__parse =
|
3453
|
+
}, e.__parse = Si, e.formats = {
|
3424
3454
|
number: {
|
3425
3455
|
integer: {
|
3426
3456
|
maximumFractionDigits: 0
|
@@ -3481,7 +3511,7 @@ var Pi = (
|
|
3481
3511
|
}, e;
|
3482
3512
|
}()
|
3483
3513
|
);
|
3484
|
-
function
|
3514
|
+
function Ii(e, t) {
|
3485
3515
|
if (t == null)
|
3486
3516
|
return;
|
3487
3517
|
if (t in e)
|
@@ -3502,92 +3532,92 @@ function Bi(e, t) {
|
|
3502
3532
|
n = void 0;
|
3503
3533
|
return n;
|
3504
3534
|
}
|
3505
|
-
const j = {},
|
3535
|
+
const j = {}, Li = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Er = (e, t) => {
|
3506
3536
|
if (t == null)
|
3507
3537
|
return;
|
3508
3538
|
if (t in j && e in j[t])
|
3509
3539
|
return j[t][e];
|
3510
3540
|
const r = Ae(t);
|
3511
3541
|
for (let n = 0; n < r.length; n++) {
|
3512
|
-
const i = r[n], o =
|
3542
|
+
const i = r[n], o = Mi(i, e);
|
3513
3543
|
if (o)
|
3514
|
-
return
|
3544
|
+
return Li(e, t, o);
|
3515
3545
|
}
|
3516
3546
|
};
|
3517
|
-
let
|
3547
|
+
let at;
|
3518
3548
|
const ce = Pe({});
|
3519
|
-
function
|
3520
|
-
return
|
3549
|
+
function Ni(e) {
|
3550
|
+
return at[e] || null;
|
3521
3551
|
}
|
3522
|
-
function
|
3523
|
-
return e in
|
3552
|
+
function xr(e) {
|
3553
|
+
return e in at;
|
3524
3554
|
}
|
3525
|
-
function
|
3526
|
-
if (!
|
3555
|
+
function Mi(e, t) {
|
3556
|
+
if (!xr(e))
|
3527
3557
|
return null;
|
3528
|
-
const r =
|
3529
|
-
return
|
3558
|
+
const r = Ni(e);
|
3559
|
+
return Ii(r, t);
|
3530
3560
|
}
|
3531
|
-
function
|
3561
|
+
function Ri(e) {
|
3532
3562
|
if (e == null)
|
3533
3563
|
return;
|
3534
3564
|
const t = Ae(e);
|
3535
3565
|
for (let r = 0; r < t.length; r++) {
|
3536
3566
|
const n = t[r];
|
3537
|
-
if (
|
3567
|
+
if (xr(n))
|
3538
3568
|
return n;
|
3539
3569
|
}
|
3540
3570
|
}
|
3541
|
-
function
|
3542
|
-
delete j[e], ce.update((r) => (r[e] =
|
3571
|
+
function Sr(e, ...t) {
|
3572
|
+
delete j[e], ce.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
|
3543
3573
|
}
|
3544
3574
|
re(
|
3545
3575
|
[ce],
|
3546
3576
|
([e]) => Object.keys(e)
|
3547
3577
|
);
|
3548
|
-
ce.subscribe((e) =>
|
3578
|
+
ce.subscribe((e) => at = e);
|
3549
3579
|
const ye = {};
|
3550
|
-
function
|
3580
|
+
function $i(e, t) {
|
3551
3581
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
3552
3582
|
}
|
3553
|
-
function
|
3583
|
+
function wr(e) {
|
3554
3584
|
return ye[e];
|
3555
3585
|
}
|
3556
|
-
function
|
3586
|
+
function Gi(e) {
|
3557
3587
|
return Ae(e).map((t) => {
|
3558
|
-
const r =
|
3588
|
+
const r = wr(t);
|
3559
3589
|
return [t, r ? [...r] : []];
|
3560
3590
|
}).filter(([, t]) => t.length > 0);
|
3561
3591
|
}
|
3562
|
-
function
|
3592
|
+
function Ke(e) {
|
3563
3593
|
return e == null ? !1 : Ae(e).some(
|
3564
3594
|
(t) => {
|
3565
3595
|
var r;
|
3566
|
-
return (r =
|
3596
|
+
return (r = wr(t)) == null ? void 0 : r.size;
|
3567
3597
|
}
|
3568
3598
|
);
|
3569
3599
|
}
|
3570
|
-
function
|
3600
|
+
function Ui(e, t) {
|
3571
3601
|
return Promise.all(
|
3572
|
-
t.map((n) => (
|
3573
|
-
).then((n) =>
|
3602
|
+
t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
|
3603
|
+
).then((n) => Sr(e, ...n));
|
3574
3604
|
}
|
3575
3605
|
const se = {};
|
3576
|
-
function
|
3577
|
-
if (!
|
3606
|
+
function Tr(e) {
|
3607
|
+
if (!Ke(e))
|
3578
3608
|
return e in se ? se[e] : Promise.resolve();
|
3579
|
-
const t =
|
3609
|
+
const t = Gi(e);
|
3580
3610
|
return se[e] = Promise.all(
|
3581
3611
|
t.map(
|
3582
|
-
([r, n]) =>
|
3612
|
+
([r, n]) => Ui(r, n)
|
3583
3613
|
)
|
3584
3614
|
).then(() => {
|
3585
|
-
if (
|
3586
|
-
return
|
3615
|
+
if (Ke(e))
|
3616
|
+
return Tr(e);
|
3587
3617
|
delete se[e];
|
3588
3618
|
}), se[e];
|
3589
3619
|
}
|
3590
|
-
const
|
3620
|
+
const Di = {
|
3591
3621
|
number: {
|
3592
3622
|
scientific: { notation: "scientific" },
|
3593
3623
|
engineering: { notation: "engineering" },
|
@@ -3616,57 +3646,57 @@ const $i = {
|
|
3616
3646
|
timeZoneName: "short"
|
3617
3647
|
}
|
3618
3648
|
}
|
3619
|
-
},
|
3649
|
+
}, Fi = {
|
3620
3650
|
fallbackLocale: null,
|
3621
3651
|
loadingDelay: 200,
|
3622
|
-
formats:
|
3652
|
+
formats: Di,
|
3623
3653
|
warnOnMissingMessages: !0,
|
3624
3654
|
handleMissingMessage: void 0,
|
3625
3655
|
ignoreTag: !0
|
3626
|
-
},
|
3656
|
+
}, ji = Fi;
|
3627
3657
|
function ee() {
|
3628
|
-
return
|
3658
|
+
return ji;
|
3629
3659
|
}
|
3630
3660
|
const De = Pe(!1);
|
3631
|
-
var
|
3661
|
+
var ki = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
|
3632
3662
|
for (var r in t || (t = {}))
|
3633
|
-
|
3634
|
-
if (
|
3635
|
-
for (var r of
|
3636
|
-
|
3663
|
+
Wi.call(t, r) && Mt(e, r, t[r]);
|
3664
|
+
if (Nt)
|
3665
|
+
for (var r of Nt(t))
|
3666
|
+
zi.call(t, r) && Mt(e, r, t[r]);
|
3637
3667
|
return e;
|
3638
|
-
},
|
3639
|
-
let
|
3668
|
+
}, Qi = (e, t) => Vi(e, Xi(t));
|
3669
|
+
let et;
|
3640
3670
|
const Te = Pe(null);
|
3641
|
-
function
|
3671
|
+
function Rt(e) {
|
3642
3672
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3643
3673
|
}
|
3644
3674
|
function Ae(e, t = ee().fallbackLocale) {
|
3645
|
-
const r =
|
3646
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3675
|
+
const r = Rt(e);
|
3676
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
3647
3677
|
}
|
3648
3678
|
function V() {
|
3649
|
-
return
|
3679
|
+
return et != null ? et : void 0;
|
3650
3680
|
}
|
3651
3681
|
Te.subscribe((e) => {
|
3652
|
-
|
3682
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3653
3683
|
});
|
3654
|
-
const
|
3655
|
-
if (e &&
|
3684
|
+
const Ji = (e) => {
|
3685
|
+
if (e && Ri(e) && Ke(e)) {
|
3656
3686
|
const { loadingDelay: t } = ee();
|
3657
3687
|
let r;
|
3658
3688
|
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
3659
3689
|
() => De.set(!0),
|
3660
3690
|
t
|
3661
|
-
) : De.set(!0),
|
3691
|
+
) : De.set(!0), Tr(e).then(() => {
|
3662
3692
|
Te.set(e);
|
3663
3693
|
}).finally(() => {
|
3664
3694
|
clearTimeout(r), De.set(!1);
|
3665
3695
|
});
|
3666
3696
|
}
|
3667
3697
|
return Te.set(e);
|
3668
|
-
}, ne =
|
3669
|
-
set:
|
3698
|
+
}, ne = Qi(Zi({}, Te), {
|
3699
|
+
set: Ji
|
3670
3700
|
}), Oe = (e) => {
|
3671
3701
|
const t = /* @__PURE__ */ Object.create(null);
|
3672
3702
|
return (n) => {
|
@@ -3674,20 +3704,20 @@ const zi = (e) => {
|
|
3674
3704
|
return i in t ? t[i] : t[i] = e(n);
|
3675
3705
|
};
|
3676
3706
|
};
|
3677
|
-
var
|
3707
|
+
var qi = Object.defineProperty, He = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
3678
3708
|
for (var r in t || (t = {}))
|
3679
|
-
|
3709
|
+
Hr.call(t, r) && $t(e, r, t[r]);
|
3680
3710
|
if (He)
|
3681
3711
|
for (var r of He(t))
|
3682
|
-
|
3712
|
+
Cr.call(t, r) && $t(e, r, t[r]);
|
3683
3713
|
return e;
|
3684
3714
|
}, ie = (e, t) => {
|
3685
3715
|
var r = {};
|
3686
3716
|
for (var n in e)
|
3687
|
-
|
3717
|
+
Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3688
3718
|
if (e != null && He)
|
3689
3719
|
for (var n of He(e))
|
3690
|
-
t.indexOf(n) < 0 &&
|
3720
|
+
t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
|
3691
3721
|
return r;
|
3692
3722
|
};
|
3693
3723
|
const he = (e, t) => {
|
@@ -3695,21 +3725,21 @@ const he = (e, t) => {
|
|
3695
3725
|
if (e in r && t in r[e])
|
3696
3726
|
return r[e][t];
|
3697
3727
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3698
|
-
},
|
3728
|
+
}, Yi = Oe(
|
3699
3729
|
(e) => {
|
3700
3730
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3701
3731
|
if (r == null)
|
3702
3732
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3703
3733
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3704
3734
|
}
|
3705
|
-
),
|
3735
|
+
), Ki = Oe(
|
3706
3736
|
(e) => {
|
3707
3737
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3708
3738
|
if (r == null)
|
3709
3739
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3710
3740
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3711
3741
|
}
|
3712
|
-
),
|
3742
|
+
), eo = Oe(
|
3713
3743
|
(e) => {
|
3714
3744
|
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
3715
3745
|
if (r == null)
|
@@ -3718,33 +3748,33 @@ const he = (e, t) => {
|
|
3718
3748
|
);
|
3719
3749
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3720
3750
|
}
|
3721
|
-
),
|
3751
|
+
), to = (e = {}) => {
|
3722
3752
|
var t = e, {
|
3723
3753
|
locale: r = V()
|
3724
3754
|
} = t, n = ie(t, [
|
3725
3755
|
"locale"
|
3726
3756
|
]);
|
3727
|
-
return
|
3728
|
-
},
|
3757
|
+
return Yi(lt({ locale: r }, n));
|
3758
|
+
}, ro = (e = {}) => {
|
3729
3759
|
var t = e, {
|
3730
3760
|
locale: r = V()
|
3731
3761
|
} = t, n = ie(t, [
|
3732
3762
|
"locale"
|
3733
3763
|
]);
|
3734
|
-
return
|
3735
|
-
},
|
3764
|
+
return Ki(lt({ locale: r }, n));
|
3765
|
+
}, no = (e = {}) => {
|
3736
3766
|
var t = e, {
|
3737
3767
|
locale: r = V()
|
3738
3768
|
} = t, n = ie(t, [
|
3739
3769
|
"locale"
|
3740
3770
|
]);
|
3741
|
-
return
|
3742
|
-
},
|
3771
|
+
return eo(lt({ locale: r }, n));
|
3772
|
+
}, io = Oe(
|
3743
3773
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3744
|
-
(e, t = V()) => new
|
3774
|
+
(e, t = V()) => new Oi(e, t, ee().formats, {
|
3745
3775
|
ignoreTag: ee().ignoreTag
|
3746
3776
|
})
|
3747
|
-
),
|
3777
|
+
), oo = (e, t = {}) => {
|
3748
3778
|
var r, n, i, o;
|
3749
3779
|
let s = t;
|
3750
3780
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3757,7 +3787,7 @@ const he = (e, t) => {
|
|
3757
3787
|
throw new Error(
|
3758
3788
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3759
3789
|
);
|
3760
|
-
let h =
|
3790
|
+
let h = Er(e, l);
|
3761
3791
|
if (!h)
|
3762
3792
|
h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3763
3793
|
else if (typeof h != "string")
|
@@ -3768,7 +3798,7 @@ const he = (e, t) => {
|
|
3768
3798
|
return h;
|
3769
3799
|
let c = h;
|
3770
3800
|
try {
|
3771
|
-
c =
|
3801
|
+
c = io(h, l).format(a);
|
3772
3802
|
} catch (f) {
|
3773
3803
|
f instanceof Error && console.warn(
|
3774
3804
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3776,18 +3806,18 @@ const he = (e, t) => {
|
|
3776
3806
|
);
|
3777
3807
|
}
|
3778
3808
|
return c;
|
3779
|
-
},
|
3780
|
-
re([ne], () =>
|
3781
|
-
re([ne], () =>
|
3782
|
-
re([ne], () =>
|
3783
|
-
re([ne, ce], () =>
|
3784
|
-
function
|
3785
|
-
|
3786
|
-
}
|
3787
|
-
function
|
3809
|
+
}, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = V()) => Er(e, t), ho = re([ne, ce], () => oo);
|
3810
|
+
re([ne], () => so);
|
3811
|
+
re([ne], () => ao);
|
3812
|
+
re([ne], () => lo);
|
3813
|
+
re([ne, ce], () => uo);
|
3814
|
+
function Gt(e, t) {
|
3815
|
+
Sr(e, t);
|
3816
|
+
}
|
3817
|
+
function co(e) {
|
3788
3818
|
ne.set(e);
|
3789
3819
|
}
|
3790
|
-
const
|
3820
|
+
const Ut = {
|
3791
3821
|
en: {
|
3792
3822
|
collections: "Game Collections",
|
3793
3823
|
providers: "Game Providers",
|
@@ -3887,13 +3917,13 @@ const Rt = {
|
|
3887
3917
|
function D(e) {
|
3888
3918
|
return typeof e == "function";
|
3889
3919
|
}
|
3890
|
-
function
|
3920
|
+
function Pr(e) {
|
3891
3921
|
var t = function(n) {
|
3892
3922
|
Error.call(n), n.stack = new Error().stack;
|
3893
3923
|
}, r = e(t);
|
3894
3924
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3895
3925
|
}
|
3896
|
-
var Fe =
|
3926
|
+
var Fe = Pr(function(e) {
|
3897
3927
|
return function(r) {
|
3898
3928
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3899
3929
|
` + r.map(function(n, i) {
|
@@ -3902,7 +3932,7 @@ var Fe = Tr(function(e) {
|
|
3902
3932
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3903
3933
|
};
|
3904
3934
|
});
|
3905
|
-
function
|
3935
|
+
function tt(e, t) {
|
3906
3936
|
if (e) {
|
3907
3937
|
var r = e.indexOf(t);
|
3908
3938
|
0 <= r && e.splice(r, 1);
|
@@ -3920,7 +3950,7 @@ var Ie = function() {
|
|
3920
3950
|
if (s)
|
3921
3951
|
if (this._parentage = null, Array.isArray(s))
|
3922
3952
|
try {
|
3923
|
-
for (var a =
|
3953
|
+
for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
|
3924
3954
|
var u = l.value;
|
3925
3955
|
u.remove(this);
|
3926
3956
|
}
|
@@ -3930,7 +3960,8 @@ var Ie = function() {
|
|
3930
3960
|
try {
|
3931
3961
|
l && !l.done && (r = a.return) && r.call(a);
|
3932
3962
|
} finally {
|
3933
|
-
if (t)
|
3963
|
+
if (t)
|
3964
|
+
throw t.error;
|
3934
3965
|
}
|
3935
3966
|
}
|
3936
3967
|
else
|
@@ -3946,12 +3977,12 @@ var Ie = function() {
|
|
3946
3977
|
if (c) {
|
3947
3978
|
this._finalizers = null;
|
3948
3979
|
try {
|
3949
|
-
for (var f =
|
3980
|
+
for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
|
3950
3981
|
var d = p.value;
|
3951
3982
|
try {
|
3952
|
-
|
3983
|
+
Dt(d);
|
3953
3984
|
} catch (g) {
|
3954
|
-
o = o != null ? o : [], g instanceof Fe ? o = Q(Q([],
|
3985
|
+
o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], We(o)), We(g.errors)) : o.push(g);
|
3955
3986
|
}
|
3956
3987
|
}
|
3957
3988
|
} catch (g) {
|
@@ -3960,7 +3991,8 @@ var Ie = function() {
|
|
3960
3991
|
try {
|
3961
3992
|
p && !p.done && (i = f.return) && i.call(f);
|
3962
3993
|
} finally {
|
3963
|
-
if (n)
|
3994
|
+
if (n)
|
3995
|
+
throw n.error;
|
3964
3996
|
}
|
3965
3997
|
}
|
3966
3998
|
}
|
@@ -3971,7 +4003,7 @@ var Ie = function() {
|
|
3971
4003
|
var r;
|
3972
4004
|
if (t && t !== this)
|
3973
4005
|
if (this.closed)
|
3974
|
-
|
4006
|
+
Dt(t);
|
3975
4007
|
else {
|
3976
4008
|
if (t instanceof e) {
|
3977
4009
|
if (t.closed || t._hasParent(this))
|
@@ -3988,52 +4020,56 @@ var Ie = function() {
|
|
3988
4020
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3989
4021
|
}, e.prototype._removeParent = function(t) {
|
3990
4022
|
var r = this._parentage;
|
3991
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
4023
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
3992
4024
|
}, e.prototype.remove = function(t) {
|
3993
4025
|
var r = this._finalizers;
|
3994
|
-
r &&
|
4026
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
3995
4027
|
}, e.EMPTY = function() {
|
3996
4028
|
var t = new e();
|
3997
4029
|
return t.closed = !0, t;
|
3998
4030
|
}(), e;
|
3999
|
-
}(),
|
4000
|
-
function
|
4031
|
+
}(), Br = Ie.EMPTY;
|
4032
|
+
function Ar(e) {
|
4001
4033
|
return e instanceof Ie || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
4002
4034
|
}
|
4003
|
-
function
|
4035
|
+
function Dt(e) {
|
4004
4036
|
D(e) ? e() : e.unsubscribe();
|
4005
4037
|
}
|
4006
|
-
var
|
4007
|
-
|
4008
|
-
|
4038
|
+
var Or = {
|
4039
|
+
onUnhandledError: null,
|
4040
|
+
onStoppedNotification: null,
|
4041
|
+
Promise: void 0,
|
4042
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
4043
|
+
useDeprecatedNextContext: !1
|
4044
|
+
}, fo = {
|
4009
4045
|
setTimeout: function(e, t) {
|
4010
4046
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4011
4047
|
r[n - 2] = arguments[n];
|
4012
|
-
return setTimeout.apply(void 0, Q([e, t],
|
4048
|
+
return setTimeout.apply(void 0, Q([e, t], We(r)));
|
4013
4049
|
},
|
4014
4050
|
clearTimeout: function(e) {
|
4015
4051
|
return clearTimeout(e);
|
4016
4052
|
},
|
4017
4053
|
delegate: void 0
|
4018
4054
|
};
|
4019
|
-
function
|
4020
|
-
|
4055
|
+
function po(e) {
|
4056
|
+
fo.setTimeout(function() {
|
4021
4057
|
throw e;
|
4022
4058
|
});
|
4023
4059
|
}
|
4024
|
-
function
|
4060
|
+
function Ft() {
|
4025
4061
|
}
|
4026
4062
|
function _e(e) {
|
4027
4063
|
e();
|
4028
4064
|
}
|
4029
|
-
var
|
4065
|
+
var Ir = function(e) {
|
4030
4066
|
F(t, e);
|
4031
4067
|
function t(r) {
|
4032
4068
|
var n = e.call(this) || this;
|
4033
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4069
|
+
return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = vo, n;
|
4034
4070
|
}
|
4035
4071
|
return t.create = function(r, n, i) {
|
4036
|
-
return new
|
4072
|
+
return new rt(r, n, i);
|
4037
4073
|
}, t.prototype.next = function(r) {
|
4038
4074
|
this.isStopped || this._next(r);
|
4039
4075
|
}, t.prototype.error = function(r) {
|
@@ -4057,7 +4093,11 @@ var Pr = function(e) {
|
|
4057
4093
|
this.unsubscribe();
|
4058
4094
|
}
|
4059
4095
|
}, t;
|
4060
|
-
}(Ie),
|
4096
|
+
}(Ie), mo = Function.prototype.bind;
|
4097
|
+
function je(e, t) {
|
4098
|
+
return mo.call(e, t);
|
4099
|
+
}
|
4100
|
+
var bo = function() {
|
4061
4101
|
function e(t) {
|
4062
4102
|
this.partialObserver = t;
|
4063
4103
|
}
|
@@ -4088,43 +4128,55 @@ var Pr = function(e) {
|
|
4088
4128
|
be(r);
|
4089
4129
|
}
|
4090
4130
|
}, e;
|
4091
|
-
}(),
|
4131
|
+
}(), rt = function(e) {
|
4092
4132
|
F(t, e);
|
4093
4133
|
function t(r, n, i) {
|
4094
4134
|
var o = e.call(this) || this, s;
|
4095
|
-
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4099
|
-
|
4135
|
+
if (D(r) || !r)
|
4136
|
+
s = {
|
4137
|
+
next: r != null ? r : void 0,
|
4138
|
+
error: n != null ? n : void 0,
|
4139
|
+
complete: i != null ? i : void 0
|
4140
|
+
};
|
4141
|
+
else {
|
4142
|
+
var a;
|
4143
|
+
o && Or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4144
|
+
return o.unsubscribe();
|
4145
|
+
}, s = {
|
4146
|
+
next: r.next && je(r.next, a),
|
4147
|
+
error: r.error && je(r.error, a),
|
4148
|
+
complete: r.complete && je(r.complete, a)
|
4149
|
+
}) : s = r;
|
4150
|
+
}
|
4151
|
+
return o.destination = new bo(s), o;
|
4100
4152
|
}
|
4101
4153
|
return t;
|
4102
|
-
}(
|
4154
|
+
}(Ir);
|
4103
4155
|
function be(e) {
|
4104
|
-
|
4156
|
+
po(e);
|
4105
4157
|
}
|
4106
|
-
function
|
4158
|
+
function go(e) {
|
4107
4159
|
throw e;
|
4108
4160
|
}
|
4109
|
-
var
|
4161
|
+
var vo = {
|
4110
4162
|
closed: !0,
|
4111
|
-
next:
|
4112
|
-
error:
|
4113
|
-
complete:
|
4114
|
-
},
|
4163
|
+
next: Ft,
|
4164
|
+
error: go,
|
4165
|
+
complete: Ft
|
4166
|
+
}, yo = function() {
|
4115
4167
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4116
4168
|
}();
|
4117
|
-
function
|
4169
|
+
function _o(e) {
|
4118
4170
|
return e;
|
4119
4171
|
}
|
4120
|
-
function
|
4121
|
-
return e.length === 0 ?
|
4172
|
+
function Eo(e) {
|
4173
|
+
return e.length === 0 ? _o : e.length === 1 ? e[0] : function(r) {
|
4122
4174
|
return e.reduce(function(n, i) {
|
4123
4175
|
return i(n);
|
4124
4176
|
}, r);
|
4125
4177
|
};
|
4126
4178
|
}
|
4127
|
-
var
|
4179
|
+
var jt = function() {
|
4128
4180
|
function e(t) {
|
4129
4181
|
t && (this._subscribe = t);
|
4130
4182
|
}
|
@@ -4132,7 +4184,7 @@ var Ut = function() {
|
|
4132
4184
|
var r = new e();
|
4133
4185
|
return r.source = this, r.operator = t, r;
|
4134
4186
|
}, e.prototype.subscribe = function(t, r, n) {
|
4135
|
-
var i = this, o =
|
4187
|
+
var i = this, o = So(t) ? t : new rt(t, r, n);
|
4136
4188
|
return _e(function() {
|
4137
4189
|
var s = i, a = s.operator, l = s.source;
|
4138
4190
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4145,8 +4197,8 @@ var Ut = function() {
|
|
4145
4197
|
}
|
4146
4198
|
}, e.prototype.forEach = function(t, r) {
|
4147
4199
|
var n = this;
|
4148
|
-
return r =
|
4149
|
-
var s = new
|
4200
|
+
return r = kt(r), new r(function(i, o) {
|
4201
|
+
var s = new rt({
|
4150
4202
|
next: function(a) {
|
4151
4203
|
try {
|
4152
4204
|
t(a);
|
@@ -4162,15 +4214,15 @@ var Ut = function() {
|
|
4162
4214
|
}, e.prototype._subscribe = function(t) {
|
4163
4215
|
var r;
|
4164
4216
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4165
|
-
}, e.prototype[
|
4217
|
+
}, e.prototype[yo] = function() {
|
4166
4218
|
return this;
|
4167
4219
|
}, e.prototype.pipe = function() {
|
4168
4220
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4169
4221
|
t[r] = arguments[r];
|
4170
|
-
return
|
4222
|
+
return Eo(t)(this);
|
4171
4223
|
}, e.prototype.toPromise = function(t) {
|
4172
4224
|
var r = this;
|
4173
|
-
return t =
|
4225
|
+
return t = kt(t), new t(function(n, i) {
|
4174
4226
|
var o;
|
4175
4227
|
r.subscribe(function(s) {
|
4176
4228
|
return o = s;
|
@@ -4184,32 +4236,32 @@ var Ut = function() {
|
|
4184
4236
|
return new e(t);
|
4185
4237
|
}, e;
|
4186
4238
|
}();
|
4187
|
-
function
|
4239
|
+
function kt(e) {
|
4188
4240
|
var t;
|
4189
|
-
return (t = e != null ? e :
|
4241
|
+
return (t = e != null ? e : Or.Promise) !== null && t !== void 0 ? t : Promise;
|
4190
4242
|
}
|
4191
|
-
function
|
4243
|
+
function xo(e) {
|
4192
4244
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
4193
4245
|
}
|
4194
|
-
function
|
4195
|
-
return e && e instanceof
|
4246
|
+
function So(e) {
|
4247
|
+
return e && e instanceof Ir || xo(e) && Ar(e);
|
4196
4248
|
}
|
4197
|
-
var
|
4249
|
+
var wo = Pr(function(e) {
|
4198
4250
|
return function() {
|
4199
4251
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4200
4252
|
};
|
4201
|
-
}),
|
4253
|
+
}), Lr = function(e) {
|
4202
4254
|
F(t, e);
|
4203
4255
|
function t() {
|
4204
4256
|
var r = e.call(this) || this;
|
4205
4257
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4206
4258
|
}
|
4207
4259
|
return t.prototype.lift = function(r) {
|
4208
|
-
var n = new
|
4260
|
+
var n = new Vt(this, this);
|
4209
4261
|
return n.operator = r, n;
|
4210
4262
|
}, t.prototype._throwIfClosed = function() {
|
4211
4263
|
if (this.closed)
|
4212
|
-
throw new
|
4264
|
+
throw new wo();
|
4213
4265
|
}, t.prototype.next = function(r) {
|
4214
4266
|
var n = this;
|
4215
4267
|
_e(function() {
|
@@ -4217,7 +4269,7 @@ var xo = Tr(function(e) {
|
|
4217
4269
|
if (n._throwIfClosed(), !n.isStopped) {
|
4218
4270
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4219
4271
|
try {
|
4220
|
-
for (var s =
|
4272
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4221
4273
|
var l = a.value;
|
4222
4274
|
l.next(r);
|
4223
4275
|
}
|
@@ -4227,7 +4279,8 @@ var xo = Tr(function(e) {
|
|
4227
4279
|
try {
|
4228
4280
|
a && !a.done && (o = s.return) && o.call(s);
|
4229
4281
|
} finally {
|
4230
|
-
if (i)
|
4282
|
+
if (i)
|
4283
|
+
throw i.error;
|
4231
4284
|
}
|
4232
4285
|
}
|
4233
4286
|
}
|
@@ -4265,19 +4318,19 @@ var xo = Tr(function(e) {
|
|
4265
4318
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4266
4319
|
}, t.prototype._innerSubscribe = function(r) {
|
4267
4320
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4268
|
-
return o || s ?
|
4269
|
-
n.currentObservers = null,
|
4321
|
+
return o || s ? Br : (this.currentObservers = null, a.push(r), new Ie(function() {
|
4322
|
+
n.currentObservers = null, tt(a, r);
|
4270
4323
|
}));
|
4271
4324
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4272
4325
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4273
4326
|
i ? r.error(o) : s && r.complete();
|
4274
4327
|
}, t.prototype.asObservable = function() {
|
4275
|
-
var r = new
|
4328
|
+
var r = new jt();
|
4276
4329
|
return r.source = this, r;
|
4277
4330
|
}, t.create = function(r, n) {
|
4278
|
-
return new
|
4331
|
+
return new Vt(r, n);
|
4279
4332
|
}, t;
|
4280
|
-
}(
|
4333
|
+
}(jt), Vt = function(e) {
|
4281
4334
|
F(t, e);
|
4282
4335
|
function t(r, n) {
|
4283
4336
|
var i = e.call(this) || this;
|
@@ -4294,17 +4347,17 @@ var xo = Tr(function(e) {
|
|
4294
4347
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4295
4348
|
}, t.prototype._subscribe = function(r) {
|
4296
4349
|
var n, i;
|
4297
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4350
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Br;
|
4298
4351
|
}, t;
|
4299
|
-
}(
|
4352
|
+
}(Lr), Nr = {
|
4300
4353
|
now: function() {
|
4301
|
-
return (
|
4354
|
+
return (Nr.delegate || Date).now();
|
4302
4355
|
},
|
4303
4356
|
delegate: void 0
|
4304
|
-
},
|
4357
|
+
}, To = function(e) {
|
4305
4358
|
F(t, e);
|
4306
4359
|
function t(r, n, i) {
|
4307
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4360
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
|
4308
4361
|
var o = e.call(this) || this;
|
4309
4362
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
4310
4363
|
}
|
@@ -4324,23 +4377,23 @@ var xo = Tr(function(e) {
|
|
4324
4377
|
u && o.splice(0, u + 1);
|
4325
4378
|
}
|
4326
4379
|
}, t;
|
4327
|
-
}(
|
4328
|
-
const
|
4329
|
-
if (
|
4330
|
-
const r = new
|
4331
|
-
|
4380
|
+
}(Lr);
|
4381
|
+
const Xt = [], Wt = {}, Ho = (e, t = 0) => {
|
4382
|
+
if (Xt.indexOf(e) == -1) {
|
4383
|
+
const r = new To(t);
|
4384
|
+
Wt[e] = r, Xt.push(e);
|
4332
4385
|
}
|
4333
|
-
return
|
4386
|
+
return Wt[e];
|
4334
4387
|
};
|
4335
|
-
window.emWidgets = { topic:
|
4336
|
-
const
|
4337
|
-
function
|
4388
|
+
window.emWidgets = { topic: Ho };
|
4389
|
+
const Co = (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));
|
4390
|
+
function Po(e, t) {
|
4338
4391
|
if (e) {
|
4339
4392
|
const r = document.createElement("style");
|
4340
4393
|
r.innerHTML = t, e.appendChild(r);
|
4341
4394
|
}
|
4342
4395
|
}
|
4343
|
-
function
|
4396
|
+
function Bo(e, t) {
|
4344
4397
|
const r = new URL(t);
|
4345
4398
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4346
4399
|
const i = document.createElement("style");
|
@@ -4349,7 +4402,7 @@ function Ho(e, t) {
|
|
4349
4402
|
console.error("There was an error while trying to load client styling from URL", n);
|
4350
4403
|
});
|
4351
4404
|
}
|
4352
|
-
function
|
4405
|
+
function Ao(e, t, r) {
|
4353
4406
|
if (window.emMessageBus) {
|
4354
4407
|
const n = document.createElement("style");
|
4355
4408
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4357,18 +4410,18 @@ function Co(e, t, r) {
|
|
4357
4410
|
});
|
4358
4411
|
}
|
4359
4412
|
}
|
4360
|
-
function
|
4361
|
-
|
4413
|
+
function Oo(e) {
|
4414
|
+
en(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)}}');
|
4362
4415
|
}
|
4363
|
-
function
|
4416
|
+
function zt(e, t, r) {
|
4364
4417
|
const n = e.slice();
|
4365
4418
|
return n[41] = t[r], n;
|
4366
4419
|
}
|
4367
|
-
function
|
4420
|
+
function Zt(e, t, r) {
|
4368
4421
|
const n = e.slice();
|
4369
4422
|
return n[44] = t[r], n;
|
4370
4423
|
}
|
4371
|
-
function
|
4424
|
+
function Io(e) {
|
4372
4425
|
let t, r, n, i = (
|
4373
4426
|
/*type*/
|
4374
4427
|
(e[0] == "vendor" ? (
|
@@ -4381,22 +4434,22 @@ function Bo(e) {
|
|
4381
4434
|
), o, s, a, l, u, h, c = (
|
4382
4435
|
/*numberOfSlides*/
|
4383
4436
|
e[8] > /*numberOfVisibleSlides*/
|
4384
|
-
e[9] &&
|
4437
|
+
e[9] && Qt(e)
|
4385
4438
|
), f = we(
|
4386
4439
|
/*gameCategories*/
|
4387
4440
|
e[3]
|
4388
4441
|
), p = [];
|
4389
4442
|
for (let d = 0; d < f.length; d += 1)
|
4390
|
-
p[d] =
|
4443
|
+
p[d] = Yt(zt(e, f, d));
|
4391
4444
|
return {
|
4392
4445
|
c() {
|
4393
4446
|
t = P("div"), r = P("div"), n = P("p"), o = Ce(i), s = k(), c && c.c(), a = k(), l = P("div");
|
4394
4447
|
for (let d = 0; d < p.length; d += 1)
|
4395
4448
|
p[d].c();
|
4396
|
-
|
4449
|
+
x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(l, "class", "CategoriesSlider"), Se(() => (
|
4397
4450
|
/*div1_elementresize_handler*/
|
4398
4451
|
e[28].call(l)
|
4399
|
-
)),
|
4452
|
+
)), x(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
|
4400
4453
|
(e[10] ? "Mobile" : "") + " " + /*type*/
|
4401
4454
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4402
4455
|
},
|
@@ -4404,7 +4457,7 @@ function Bo(e) {
|
|
4404
4457
|
U(d, t, g), C(t, r), C(r, n), C(n, o), C(r, s), c && c.m(r, null), C(t, a), C(t, l);
|
4405
4458
|
for (let m = 0; m < p.length; m += 1)
|
4406
4459
|
p[m] && p[m].m(l, null);
|
4407
|
-
e[27](l), u =
|
4460
|
+
e[27](l), u = an(
|
4408
4461
|
l,
|
4409
4462
|
/*div1_elementresize_handler*/
|
4410
4463
|
e[28].bind(l)
|
@@ -4419,9 +4472,9 @@ function Bo(e) {
|
|
4419
4472
|
) : (
|
4420
4473
|
/*$_*/
|
4421
4474
|
d[11]("collections")
|
4422
|
-
)) + "") &&
|
4475
|
+
)) + "") && it(o, i), /*numberOfSlides*/
|
4423
4476
|
d[8] > /*numberOfVisibleSlides*/
|
4424
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4477
|
+
d[9] ? c ? c.p(d, g) : (c = Qt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4425
4478
|
49166) {
|
4426
4479
|
f = we(
|
4427
4480
|
/*gameCategories*/
|
@@ -4429,8 +4482,8 @@ function Bo(e) {
|
|
4429
4482
|
);
|
4430
4483
|
let m;
|
4431
4484
|
for (m = 0; m < f.length; m += 1) {
|
4432
|
-
const _ =
|
4433
|
-
p[m] ? p[m].p(_, g) : (p[m] =
|
4485
|
+
const _ = zt(d, f, m);
|
4486
|
+
p[m] ? p[m].p(_, g) : (p[m] = Yt(_), p[m].c(), p[m].m(l, null));
|
4434
4487
|
}
|
4435
4488
|
for (; m < p.length; m += 1)
|
4436
4489
|
p[m].d(1);
|
@@ -4439,18 +4492,18 @@ function Bo(e) {
|
|
4439
4492
|
g[0] & /*mobile, type*/
|
4440
4493
|
1025 && h !== (h = "CasinoCollectionsProviders " + /*mobile*/
|
4441
4494
|
(d[10] ? "Mobile" : "") + " " + /*type*/
|
4442
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4495
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", h);
|
4443
4496
|
},
|
4444
4497
|
d(d) {
|
4445
|
-
d && $(t), c && c.d(),
|
4498
|
+
d && $(t), c && c.d(), rr(p, d), e[27](null), u();
|
4446
4499
|
}
|
4447
4500
|
};
|
4448
4501
|
}
|
4449
|
-
function
|
4502
|
+
function Lo(e) {
|
4450
4503
|
let t;
|
4451
4504
|
return {
|
4452
4505
|
c() {
|
4453
|
-
t = P("div"),
|
4506
|
+
t = P("div"), x(t, "class", "LoadingSpinner");
|
4454
4507
|
},
|
4455
4508
|
m(r, n) {
|
4456
4509
|
U(r, t, n);
|
@@ -4461,11 +4514,11 @@ function Ao(e) {
|
|
4461
4514
|
}
|
4462
4515
|
};
|
4463
4516
|
}
|
4464
|
-
function
|
4517
|
+
function Qt(e) {
|
4465
4518
|
let t, r, n, i, o, s;
|
4466
4519
|
return {
|
4467
4520
|
c() {
|
4468
|
-
t = P("div"), r = P("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',
|
4521
|
+
t = P("div"), r = P("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
|
4469
4522
|
},
|
4470
4523
|
m(a, l) {
|
4471
4524
|
U(a, t, l), C(t, r), C(t, n), C(t, i), o || (s = [
|
@@ -4489,14 +4542,14 @@ function Wt(e) {
|
|
4489
4542
|
}
|
4490
4543
|
};
|
4491
4544
|
}
|
4492
|
-
function
|
4545
|
+
function No(e) {
|
4493
4546
|
let t, r = (
|
4494
4547
|
/*category*/
|
4495
4548
|
e[41].name + ""
|
4496
4549
|
), n;
|
4497
4550
|
return {
|
4498
4551
|
c() {
|
4499
|
-
t = P("p"), n = Ce(r),
|
4552
|
+
t = P("p"), n = Ce(r), x(t, "class", "CategorySlideTitle");
|
4500
4553
|
},
|
4501
4554
|
m(i, o) {
|
4502
4555
|
U(i, t, o), C(t, n);
|
@@ -4504,19 +4557,19 @@ function Oo(e) {
|
|
4504
4557
|
p(i, o) {
|
4505
4558
|
o[0] & /*gameCategories*/
|
4506
4559
|
8 && r !== (r = /*category*/
|
4507
|
-
i[41].name + "") &&
|
4560
|
+
i[41].name + "") && it(n, r);
|
4508
4561
|
},
|
4509
4562
|
d(i) {
|
4510
4563
|
i && $(t);
|
4511
4564
|
}
|
4512
4565
|
};
|
4513
4566
|
}
|
4514
|
-
function
|
4567
|
+
function Mo(e) {
|
4515
4568
|
let t, r, n;
|
4516
4569
|
return {
|
4517
4570
|
c() {
|
4518
|
-
t = P("img"),
|
4519
|
-
e[41].icon) ||
|
4571
|
+
t = P("img"), x(t, "class", "CategorySlideLogo"), Ee(t.src, r = /*category*/
|
4572
|
+
e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
|
4520
4573
|
e[41].name + " icon");
|
4521
4574
|
},
|
4522
4575
|
m(i, o) {
|
@@ -4524,24 +4577,24 @@ function Io(e) {
|
|
4524
4577
|
},
|
4525
4578
|
p(i, o) {
|
4526
4579
|
o[0] & /*gameCategories*/
|
4527
|
-
8 && !
|
4528
|
-
i[41].icon) &&
|
4580
|
+
8 && !Ee(t.src, r = /*category*/
|
4581
|
+
i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
|
4529
4582
|
8 && n !== (n = /*category*/
|
4530
|
-
i[41].name + " icon") &&
|
4583
|
+
i[41].name + " icon") && x(t, "alt", n);
|
4531
4584
|
},
|
4532
4585
|
d(i) {
|
4533
4586
|
i && $(t);
|
4534
4587
|
}
|
4535
4588
|
};
|
4536
4589
|
}
|
4537
|
-
function
|
4590
|
+
function Jt(e) {
|
4538
4591
|
let t, r = (
|
4539
4592
|
/*game*/
|
4540
4593
|
e[44].name + ""
|
4541
4594
|
), n, i;
|
4542
4595
|
return {
|
4543
4596
|
c() {
|
4544
|
-
t = P("p"), n = Ce(r),
|
4597
|
+
t = P("p"), n = Ce(r), x(t, "title", i = /*game*/
|
4545
4598
|
e[44].name);
|
4546
4599
|
},
|
4547
4600
|
m(o, s) {
|
@@ -4550,16 +4603,16 @@ function zt(e) {
|
|
4550
4603
|
p(o, s) {
|
4551
4604
|
s[0] & /*gameCategories*/
|
4552
4605
|
8 && r !== (r = /*game*/
|
4553
|
-
o[44].name + "") &&
|
4606
|
+
o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
|
4554
4607
|
8 && i !== (i = /*game*/
|
4555
|
-
o[44].name) &&
|
4608
|
+
o[44].name) && x(t, "title", i);
|
4556
4609
|
},
|
4557
4610
|
d(o) {
|
4558
4611
|
o && $(t);
|
4559
4612
|
}
|
4560
4613
|
};
|
4561
4614
|
}
|
4562
|
-
function
|
4615
|
+
function qt(e) {
|
4563
4616
|
let t, r, n, i, o, s, a, l;
|
4564
4617
|
function u() {
|
4565
4618
|
return (
|
@@ -4572,48 +4625,50 @@ function Zt(e) {
|
|
4572
4625
|
}
|
4573
4626
|
let h = (
|
4574
4627
|
/*collectionprovidersgamenames*/
|
4575
|
-
e[2] == "true" &&
|
4628
|
+
e[2] == "true" && Jt(e)
|
4576
4629
|
);
|
4577
4630
|
return {
|
4578
4631
|
c() {
|
4579
|
-
t = P("div"), r = P("img"), o = k(), h && h.c(), s = k(),
|
4580
|
-
e[44].defaultThumbnail) ||
|
4581
|
-
e[44].name),
|
4632
|
+
t = P("div"), r = P("img"), o = k(), h && h.c(), s = k(), x(r, "class", "CategorySlideGameImage"), Ee(r.src, n = /*game*/
|
4633
|
+
e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
|
4634
|
+
e[44].name), x(t, "class", "CategorySlideGames");
|
4582
4635
|
},
|
4583
4636
|
m(c, f) {
|
4584
|
-
U(c, t, f), C(t, r), C(t, o), h && h.m(t, null), C(t, s), a || (l = J(r, "click",
|
4637
|
+
U(c, t, f), C(t, r), C(t, o), h && h.m(t, null), C(t, s), a || (l = J(r, "click", nn(u)), a = !0);
|
4585
4638
|
},
|
4586
4639
|
p(c, f) {
|
4587
4640
|
e = c, f[0] & /*gameCategories*/
|
4588
|
-
8 && !
|
4589
|
-
e[44].defaultThumbnail) &&
|
4641
|
+
8 && !Ee(r.src, n = /*game*/
|
4642
|
+
e[44].defaultThumbnail) && x(r, "src", n), f[0] & /*gameCategories*/
|
4590
4643
|
8 && i !== (i = /*game*/
|
4591
|
-
e[44].name) &&
|
4592
|
-
e[2] == "true" ? h ? h.p(e, f) : (h =
|
4644
|
+
e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
|
4645
|
+
e[2] == "true" ? h ? h.p(e, f) : (h = Jt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
|
4593
4646
|
},
|
4594
4647
|
d(c) {
|
4595
4648
|
c && $(t), h && h.d(), a = !1, l();
|
4596
4649
|
}
|
4597
4650
|
};
|
4598
4651
|
}
|
4599
|
-
function
|
4652
|
+
function Yt(e) {
|
4600
4653
|
let t, r, n, i, o, s, a, l, u;
|
4601
4654
|
function h(m, _) {
|
4602
4655
|
if (
|
4603
4656
|
/*titletype*/
|
4604
4657
|
m[1] == "logo"
|
4605
|
-
)
|
4658
|
+
)
|
4659
|
+
return Mo;
|
4606
4660
|
if (
|
4607
4661
|
/*titletype*/
|
4608
4662
|
m[1] == "title"
|
4609
|
-
)
|
4663
|
+
)
|
4664
|
+
return No;
|
4610
4665
|
}
|
4611
4666
|
let c = h(e), f = c && c(e), p = we(
|
4612
4667
|
/*category*/
|
4613
4668
|
e[41].games
|
4614
4669
|
), d = [];
|
4615
4670
|
for (let m = 0; m < p.length; m += 1)
|
4616
|
-
d[m] = Zt(
|
4671
|
+
d[m] = qt(Zt(e, p, m));
|
4617
4672
|
function g() {
|
4618
4673
|
return (
|
4619
4674
|
/*click_handler_3*/
|
@@ -4629,9 +4684,9 @@ function Qt(e) {
|
|
4629
4684
|
t = P("div"), r = P("div"), n = P("div"), f && f.c(), i = k(), o = P("div");
|
4630
4685
|
for (let S = 0; S < d.length; S += 1)
|
4631
4686
|
d[S].c();
|
4632
|
-
a = k(),
|
4687
|
+
a = k(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
|
4633
4688
|
(((m = e[41]) == null ? void 0 : m.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
|
4634
|
-
((_ = e[41]) == null ? void 0 : _.background) + ")"), Ne(r, "background-size", "cover"),
|
4689
|
+
((_ = e[41]) == null ? void 0 : _.background) + ")"), Ne(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
|
4635
4690
|
},
|
4636
4691
|
m(m, _) {
|
4637
4692
|
U(m, t, _), C(t, r), C(r, n), f && f.m(n, null), C(r, i), C(r, o);
|
@@ -4649,8 +4704,8 @@ function Qt(e) {
|
|
4649
4704
|
);
|
4650
4705
|
let H;
|
4651
4706
|
for (H = 0; H < p.length; H += 1) {
|
4652
|
-
const A =
|
4653
|
-
d[H] ? d[H].p(A, _) : (d[H] =
|
4707
|
+
const A = Zt(e, p, H);
|
4708
|
+
d[H] ? d[H].p(A, _) : (d[H] = qt(A), d[H].c(), d[H].m(o, null));
|
4654
4709
|
}
|
4655
4710
|
for (; H < d.length; H += 1)
|
4656
4711
|
d[H].d(1);
|
@@ -4658,21 +4713,21 @@ function Qt(e) {
|
|
4658
4713
|
}
|
4659
4714
|
_[0] & /*gameCategories*/
|
4660
4715
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4661
|
-
(((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4716
|
+
(((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), _[0] & /*gameCategories*/
|
4662
4717
|
8 && Ne(r, "background-image", "url(" + /*category*/
|
4663
4718
|
((T = e[41]) == null ? void 0 : T.background) + ")");
|
4664
4719
|
},
|
4665
4720
|
d(m) {
|
4666
|
-
m && $(t), f && f.d(),
|
4721
|
+
m && $(t), f && f.d(), rr(d, m), l = !1, u();
|
4667
4722
|
}
|
4668
4723
|
};
|
4669
4724
|
}
|
4670
|
-
function
|
4725
|
+
function Ro(e) {
|
4671
4726
|
let t;
|
4672
4727
|
function r(o, s) {
|
4673
4728
|
return (
|
4674
4729
|
/*isLoading*/
|
4675
|
-
o[7] ?
|
4730
|
+
o[7] ? Lo : Io
|
4676
4731
|
);
|
4677
4732
|
}
|
4678
4733
|
let n = r(e), i = n(e);
|
@@ -4693,52 +4748,52 @@ function Lo(e) {
|
|
4693
4748
|
}
|
4694
4749
|
};
|
4695
4750
|
}
|
4696
|
-
function
|
4751
|
+
function $o(e, t, r) {
|
4697
4752
|
let n;
|
4698
|
-
|
4699
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, _ = 0, S = 0, T = 0, H, A, O, fe = window.navigator.userAgent,
|
4700
|
-
const
|
4753
|
+
Kr(e, ho, (b) => r(11, n = b));
|
4754
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, _ = 0, S = 0, T = 0, H, A, O, fe = window.navigator.userAgent, ut, oe = 0;
|
4755
|
+
const Mr = () => {
|
4701
4756
|
fetch(c).then((I) => I.json()).then((I) => {
|
4702
4757
|
Object.keys(I).forEach((G) => {
|
4703
|
-
|
4758
|
+
Gt(G, I[G]);
|
4704
4759
|
});
|
4705
4760
|
}).catch((I) => {
|
4706
4761
|
console.log(I);
|
4707
4762
|
});
|
4708
4763
|
};
|
4709
|
-
Object.keys(
|
4710
|
-
|
4764
|
+
Object.keys(Ut).forEach((b) => {
|
4765
|
+
Gt(b, Ut[b]);
|
4711
4766
|
});
|
4712
|
-
const
|
4767
|
+
const Rr = () => {
|
4713
4768
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4714
4769
|
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((I) => I.json()).then((I) => {
|
4715
4770
|
r(7, g = !1);
|
4716
4771
|
let G = I.items.filter((N) => N.flags == a);
|
4717
4772
|
r(3, d = G.map((N) => {
|
4718
|
-
var
|
4773
|
+
var bt, gt, vt;
|
4719
4774
|
return {
|
4720
4775
|
id: N.id,
|
4721
4776
|
name: N.name,
|
4722
|
-
icon: N.icon ? N.icon : (
|
4723
|
-
games: N.games.items.slice(0, 4).map((
|
4777
|
+
icon: N.icon ? N.icon : (vt = (gt = (bt = N.vendors) == null ? void 0 : bt.items[0]) == null ? void 0 : gt.subVendors[0]) == null ? void 0 : vt.logo,
|
4778
|
+
games: N.games.items.slice(0, 4).map((Wr) => Wr),
|
4724
4779
|
background: N.background,
|
4725
4780
|
flag: N.flags
|
4726
4781
|
};
|
4727
4782
|
})), r(8, S = d.length);
|
4728
4783
|
});
|
4729
|
-
},
|
4784
|
+
}, ht = (b) => {
|
4730
4785
|
A = [...m.children], A.forEach((I, G) => {
|
4731
4786
|
I.style.transform = `translateX(${100 * (b ? G - b : G)}%)`;
|
4732
|
-
}), H = A[0].getBoundingClientRect().width,
|
4733
|
-
},
|
4787
|
+
}), H = A[0].getBoundingClientRect().width, $r();
|
4788
|
+
}, $r = () => {
|
4734
4789
|
r(9, T = Math.floor(oe / H));
|
4735
|
-
},
|
4736
|
-
|
4737
|
-
},
|
4738
|
-
_ === 0 ? _ = S - T : _ - T < -1 ? _ = 0 : _--,
|
4739
|
-
},
|
4740
|
-
_ === S - T ? _ = 0 : S - T < _ + 1 ? _ = S - T : _++,
|
4741
|
-
},
|
4790
|
+
}, ct = () => {
|
4791
|
+
ht(_);
|
4792
|
+
}, ft = () => {
|
4793
|
+
_ === 0 ? _ = S - T : _ - T < -1 ? _ = 0 : _--, ct();
|
4794
|
+
}, dt = () => {
|
4795
|
+
_ === S - T ? _ = 0 : S - T < _ + 1 ? _ = S - T : _++, ct();
|
4796
|
+
}, pt = (b, I, G, N) => {
|
4742
4797
|
window.postMessage(
|
4743
4798
|
{
|
4744
4799
|
type: "OpenCollectionsProvidersGame",
|
@@ -4752,7 +4807,7 @@ function No(e, t, r) {
|
|
4752
4807
|
context: "CollectionsProviders",
|
4753
4808
|
gameName: `${G}`
|
4754
4809
|
});
|
4755
|
-
},
|
4810
|
+
}, mt = (b) => {
|
4756
4811
|
window.postMessage(
|
4757
4812
|
{
|
4758
4813
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4760,22 +4815,22 @@ function No(e, t, r) {
|
|
4760
4815
|
},
|
4761
4816
|
window.location.href
|
4762
4817
|
);
|
4763
|
-
},
|
4764
|
-
|
4818
|
+
}, Gr = () => {
|
4819
|
+
co(s);
|
4765
4820
|
};
|
4766
|
-
|
4821
|
+
hn(() => (r(10, ut = Co(fe)), () => {
|
4767
4822
|
}));
|
4768
|
-
const
|
4769
|
-
function
|
4770
|
-
|
4823
|
+
const Ur = () => ft(), Dr = () => dt(), Fr = (b) => pt(b.gameId, b.launchUrl, b.name, b.subVendor), jr = (b) => mt(b.id);
|
4824
|
+
function kr(b) {
|
4825
|
+
xe[b ? "unshift" : "push"](() => {
|
4771
4826
|
m = b, r(4, m);
|
4772
4827
|
});
|
4773
4828
|
}
|
4774
|
-
function
|
4829
|
+
function Vr() {
|
4775
4830
|
oe = this.clientWidth, r(6, oe);
|
4776
4831
|
}
|
4777
|
-
function
|
4778
|
-
|
4832
|
+
function Xr(b) {
|
4833
|
+
xe[b ? "unshift" : "push"](() => {
|
4779
4834
|
O = b, r(5, O);
|
4780
4835
|
});
|
4781
4836
|
}
|
@@ -4783,13 +4838,13 @@ function No(e, t, r) {
|
|
4783
4838
|
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames), "mbsource" in b && r(22, p = b.mbsource);
|
4784
4839
|
}, e.$$.update = () => {
|
4785
4840
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4786
|
-
458752 && i && o && s &&
|
4787
|
-
88 && oe && d && m &&
|
4788
|
-
262144 && s &&
|
4789
|
-
524320 && u && O &&
|
4790
|
-
1048608 && h && O &&
|
4791
|
-
4194336 && O &&
|
4792
|
-
2097152 && c &&
|
4841
|
+
458752 && i && o && s && Rr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4842
|
+
88 && oe && d && m && ht(), e.$$.dirty[0] & /*lang*/
|
4843
|
+
262144 && s && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4844
|
+
524320 && u && O && Po(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4845
|
+
1048608 && h && O && Bo(O, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4846
|
+
4194336 && O && Ao(O, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4847
|
+
2097152 && c && Mr();
|
4793
4848
|
}, [
|
4794
4849
|
a,
|
4795
4850
|
l,
|
@@ -4801,12 +4856,12 @@ function No(e, t, r) {
|
|
4801
4856
|
g,
|
4802
4857
|
S,
|
4803
4858
|
T,
|
4804
|
-
st,
|
4805
|
-
n,
|
4806
4859
|
ut,
|
4807
|
-
|
4808
|
-
ct,
|
4860
|
+
n,
|
4809
4861
|
ft,
|
4862
|
+
dt,
|
4863
|
+
pt,
|
4864
|
+
mt,
|
4810
4865
|
i,
|
4811
4866
|
o,
|
4812
4867
|
s,
|
@@ -4814,23 +4869,23 @@ function No(e, t, r) {
|
|
4814
4869
|
h,
|
4815
4870
|
c,
|
4816
4871
|
p,
|
4817
|
-
Mr,
|
4818
|
-
Rr,
|
4819
|
-
$r,
|
4820
|
-
Gr,
|
4821
4872
|
Ur,
|
4822
4873
|
Dr,
|
4823
|
-
Fr
|
4874
|
+
Fr,
|
4875
|
+
jr,
|
4876
|
+
kr,
|
4877
|
+
Vr,
|
4878
|
+
Xr
|
4824
4879
|
];
|
4825
4880
|
}
|
4826
|
-
class
|
4881
|
+
class Go extends xn {
|
4827
4882
|
constructor(t) {
|
4828
|
-
super(),
|
4883
|
+
super(), _n(
|
4829
4884
|
this,
|
4830
4885
|
t,
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4886
|
+
$o,
|
4887
|
+
Ro,
|
4888
|
+
er,
|
4834
4889
|
{
|
4835
4890
|
endpoint: 16,
|
4836
4891
|
datasource: 17,
|
@@ -4843,7 +4898,7 @@ class Mo extends vn {
|
|
4843
4898
|
collectionprovidersgamenames: 2,
|
4844
4899
|
mbsource: 22
|
4845
4900
|
},
|
4846
|
-
|
4901
|
+
Oo,
|
4847
4902
|
[-1, -1]
|
4848
4903
|
);
|
4849
4904
|
}
|
@@ -4908,7 +4963,7 @@ class Mo extends vn {
|
|
4908
4963
|
this.$$set({ mbsource: t }), R();
|
4909
4964
|
}
|
4910
4965
|
}
|
4911
|
-
|
4966
|
+
En(Go, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4912
4967
|
export {
|
4913
|
-
|
4968
|
+
Go as default
|
4914
4969
|
};
|