@everymatrix/casino-collections-providers 1.61.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCollectionsProviders-D5btJk9X.js → CasinoCollectionsProviders-B0cikWdq.js} +563 -541
- package/components/CasinoCollectionsProviders-Dj4DXUcf.cjs +18 -0
- package/components/{CasinoCollectionsProviders-CvZkMD5L.js → CasinoCollectionsProviders-eD9PL2e1.js} +578 -556
- 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/stencil/index-b7bbd57e-6KaMTlNN.js +534 -0
- package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
- package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
- package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
- package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
- package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
- package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
- package/components/CasinoCollectionsProviders-CxRm-bwJ.cjs +0 -18
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
package/components/{CasinoCollectionsProviders-CvZkMD5L.js → CasinoCollectionsProviders-eD9PL2e1.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Ie = (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 qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ie = (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
|
+
qr.call(t, r) && Ie(e, r, t[r]);
|
8
|
+
if (yt)
|
9
|
+
for (var r of yt(t))
|
10
|
+
Jr.call(t, r) && Ie(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, Et = (e, t) => Zr(e, Qr(t));
|
13
13
|
var N = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
-
var
|
14
|
+
var xt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -27,32 +27,32 @@ var yt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
import "../stencil/ui-image-
|
30
|
+
import "../stencil/ui-image-Bi4jDe3D.js";
|
31
31
|
function I() {
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function Kt(e) {
|
34
34
|
return e();
|
35
35
|
}
|
36
|
-
function
|
36
|
+
function St() {
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
38
38
|
}
|
39
39
|
function ne(e) {
|
40
|
-
e.forEach(
|
40
|
+
e.forEach(Kt);
|
41
41
|
}
|
42
|
-
function
|
42
|
+
function it(e) {
|
43
43
|
return typeof e == "function";
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function er(e, t) {
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
47
47
|
}
|
48
48
|
let de;
|
49
49
|
function _e(e, t) {
|
50
50
|
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function Yr(e) {
|
53
53
|
return Object.keys(e).length === 0;
|
54
54
|
}
|
55
|
-
function
|
55
|
+
function tr(e, ...t) {
|
56
56
|
if (e == null) {
|
57
57
|
for (const n of t)
|
58
58
|
n(void 0);
|
@@ -61,20 +61,20 @@ function Yt(e, ...t) {
|
|
61
61
|
const r = e.subscribe(...t);
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
63
63
|
}
|
64
|
-
function
|
65
|
-
e.$$.on_destroy.push(
|
64
|
+
function Kr(e, t, r) {
|
65
|
+
e.$$.on_destroy.push(tr(t, r));
|
66
66
|
}
|
67
67
|
function H(e, t) {
|
68
68
|
e.appendChild(t);
|
69
69
|
}
|
70
|
-
function
|
71
|
-
const n =
|
70
|
+
function en(e, t, r) {
|
71
|
+
const n = tn(e);
|
72
72
|
if (!n.getElementById(t)) {
|
73
73
|
const i = C("style");
|
74
|
-
i.id = t, i.textContent = r,
|
74
|
+
i.id = t, i.textContent = r, rn(n, i);
|
75
75
|
}
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function tn(e) {
|
78
78
|
if (!e)
|
79
79
|
return document;
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -84,7 +84,7 @@ function Jr(e) {
|
|
84
84
|
t
|
85
85
|
) : e.ownerDocument;
|
86
86
|
}
|
87
|
-
function
|
87
|
+
function rn(e, t) {
|
88
88
|
return H(
|
89
89
|
/** @type {Document} */
|
90
90
|
e.head || e,
|
@@ -97,7 +97,7 @@ function U(e, t, r) {
|
|
97
97
|
function R(e) {
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function rr(e, t) {
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
102
102
|
e[r] && e[r].d(t);
|
103
103
|
}
|
@@ -110,10 +110,10 @@ function He(e) {
|
|
110
110
|
function X() {
|
111
111
|
return He(" ");
|
112
112
|
}
|
113
|
-
function
|
113
|
+
function Ee(e, t, r, n) {
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
115
115
|
}
|
116
|
-
function
|
116
|
+
function nn(e) {
|
117
117
|
return function(t) {
|
118
118
|
return t.stopPropagation(), e.call(this, t);
|
119
119
|
};
|
@@ -125,17 +125,17 @@ function G(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
126
126
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : P(e, t, r);
|
127
127
|
}
|
128
|
-
function
|
128
|
+
function on(e) {
|
129
129
|
return Array.from(e.childNodes);
|
130
130
|
}
|
131
|
-
function
|
131
|
+
function ot(e, t) {
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
133
133
|
t);
|
134
134
|
}
|
135
135
|
function Ne(e, t, r, n) {
|
136
136
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
137
137
|
}
|
138
|
-
function
|
138
|
+
function sn(e) {
|
139
139
|
const t = {};
|
140
140
|
return e.childNodes.forEach(
|
141
141
|
/** @param {Element} node */
|
@@ -148,22 +148,22 @@ let ue;
|
|
148
148
|
function le(e) {
|
149
149
|
ue = e;
|
150
150
|
}
|
151
|
-
function
|
151
|
+
function an() {
|
152
152
|
if (!ue)
|
153
153
|
throw new Error("Function called outside component initialization");
|
154
154
|
return ue;
|
155
155
|
}
|
156
|
-
function
|
157
|
-
|
156
|
+
function ln(e) {
|
157
|
+
an().$$.on_mount.push(e);
|
158
158
|
}
|
159
|
-
const q = [],
|
159
|
+
const q = [], xe = [];
|
160
160
|
let J = [];
|
161
|
-
const
|
162
|
-
let
|
163
|
-
function
|
164
|
-
|
161
|
+
const wt = [], un = /* @__PURE__ */ Promise.resolve();
|
162
|
+
let ke = !1;
|
163
|
+
function hn() {
|
164
|
+
ke || (ke = !0, un.then(M));
|
165
165
|
}
|
166
|
-
function
|
166
|
+
function Ve(e) {
|
167
167
|
J.push(e);
|
168
168
|
}
|
169
169
|
const Me = /* @__PURE__ */ new Set();
|
@@ -176,56 +176,56 @@ function M() {
|
|
176
176
|
try {
|
177
177
|
for (; Z < q.length; ) {
|
178
178
|
const t = q[Z];
|
179
|
-
Z++, le(t),
|
179
|
+
Z++, le(t), cn(t.$$);
|
180
180
|
}
|
181
181
|
} catch (t) {
|
182
182
|
throw q.length = 0, Z = 0, t;
|
183
183
|
}
|
184
|
-
for (le(null), q.length = 0, Z = 0;
|
185
|
-
|
184
|
+
for (le(null), q.length = 0, Z = 0; xe.length; )
|
185
|
+
xe.pop()();
|
186
186
|
for (let t = 0; t < J.length; t += 1) {
|
187
187
|
const r = J[t];
|
188
188
|
Me.has(r) || (Me.add(r), r());
|
189
189
|
}
|
190
190
|
J.length = 0;
|
191
191
|
} while (q.length);
|
192
|
-
for (;
|
193
|
-
|
194
|
-
|
192
|
+
for (; wt.length; )
|
193
|
+
wt.pop()();
|
194
|
+
ke = !1, Me.clear(), le(e);
|
195
195
|
}
|
196
|
-
function
|
196
|
+
function cn(e) {
|
197
197
|
if (e.fragment !== null) {
|
198
198
|
e.update(), ne(e.before_update);
|
199
199
|
const t = e.dirty;
|
200
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
201
201
|
}
|
202
202
|
}
|
203
|
-
function
|
203
|
+
function fn(e) {
|
204
204
|
const t = [], r = [];
|
205
205
|
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
206
206
|
}
|
207
|
-
const
|
208
|
-
function
|
209
|
-
e && e.i && (
|
207
|
+
const dn = /* @__PURE__ */ new Set();
|
208
|
+
function pn(e, t) {
|
209
|
+
e && e.i && (dn.delete(e), e.i(t));
|
210
210
|
}
|
211
211
|
function Se(e) {
|
212
212
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
213
213
|
}
|
214
|
-
function
|
214
|
+
function mn(e, t, r) {
|
215
215
|
const { fragment: n, after_update: i } = e.$$;
|
216
|
-
n && n.m(t, r),
|
217
|
-
const o = e.$$.on_mount.map(
|
216
|
+
n && n.m(t, r), Ve(() => {
|
217
|
+
const o = e.$$.on_mount.map(Kt).filter(it);
|
218
218
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
219
|
-
}), i.forEach(
|
219
|
+
}), i.forEach(Ve);
|
220
220
|
}
|
221
|
-
function
|
221
|
+
function bn(e, t) {
|
222
222
|
const r = e.$$;
|
223
|
-
r.fragment !== null && (
|
223
|
+
r.fragment !== null && (fn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
224
224
|
}
|
225
|
-
function
|
226
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
225
|
+
function gn(e, t) {
|
226
|
+
e.$$.dirty[0] === -1 && (q.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
227
227
|
}
|
228
|
-
function
|
228
|
+
function vn(e, t, r, n, i, o, s = null, a = [-1]) {
|
229
229
|
const h = ue;
|
230
230
|
le(e);
|
231
231
|
const u = e.$$ = {
|
@@ -235,7 +235,7 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
235
235
|
props: o,
|
236
236
|
update: I,
|
237
237
|
not_equal: i,
|
238
|
-
bound:
|
238
|
+
bound: St(),
|
239
239
|
// lifecycle
|
240
240
|
on_mount: [],
|
241
241
|
on_destroy: [],
|
@@ -244,7 +244,7 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
244
244
|
after_update: [],
|
245
245
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
246
246
|
// everything else
|
247
|
-
callbacks:
|
247
|
+
callbacks: St(),
|
248
248
|
dirty: a,
|
249
249
|
skip_bound: !1,
|
250
250
|
root: t.target || h.$$.root
|
@@ -253,19 +253,19 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
253
253
|
let l = !1;
|
254
254
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
255
255
|
const m = d.length ? d[0] : c;
|
256
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l &&
|
256
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && gn(e, f)), c;
|
257
257
|
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
258
258
|
if (t.hydrate) {
|
259
|
-
const f =
|
259
|
+
const f = on(t.target);
|
260
260
|
u.fragment && u.fragment.l(f), f.forEach(R);
|
261
261
|
} else
|
262
262
|
u.fragment && u.fragment.c();
|
263
|
-
t.intro &&
|
263
|
+
t.intro && pn(e.$$.fragment), mn(e, t.target, t.anchor), M();
|
264
264
|
}
|
265
265
|
le(h);
|
266
266
|
}
|
267
|
-
let
|
268
|
-
typeof HTMLElement == "function" && (
|
267
|
+
let nr;
|
268
|
+
typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
269
269
|
constructor(t, r, n) {
|
270
270
|
super();
|
271
271
|
/** The Svelte component constructor */
|
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
302
302
|
}
|
303
303
|
}
|
304
304
|
connectedCallback() {
|
305
|
-
return
|
305
|
+
return xt(this, null, function* () {
|
306
306
|
if (this.$$cn = !0, !this.$$c) {
|
307
307
|
let t = function(o) {
|
308
308
|
return () => {
|
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
326
326
|
};
|
327
327
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
328
328
|
return;
|
329
|
-
const r = {}, n =
|
329
|
+
const r = {}, n = sn(this);
|
330
330
|
for (const o of this.$$s)
|
331
331
|
o in n && (r[o] = [t(o)]);
|
332
332
|
for (const o of this.attributes) {
|
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
337
337
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
338
338
|
this.$$c = new this.$$ctor({
|
339
339
|
target: this.shadowRoot || this,
|
340
|
-
props:
|
340
|
+
props: Et(_t({}, this.$$d), {
|
341
341
|
$$slots: r,
|
342
342
|
$$scope: {
|
343
343
|
ctx: []
|
@@ -415,8 +415,8 @@ function be(e, t, r, n) {
|
|
415
415
|
return t;
|
416
416
|
}
|
417
417
|
}
|
418
|
-
function
|
419
|
-
let s = class extends
|
418
|
+
function yn(e, t, r, n, i, o) {
|
419
|
+
let s = class extends nr {
|
420
420
|
constructor() {
|
421
421
|
super(e, r, i), this.$$p_d = t;
|
422
422
|
}
|
@@ -446,7 +446,7 @@ function mn(e, t, r, n, i, o) {
|
|
446
446
|
}), e.element = /** @type {any} */
|
447
447
|
s, s;
|
448
448
|
}
|
449
|
-
class
|
449
|
+
class _n {
|
450
450
|
constructor() {
|
451
451
|
/**
|
452
452
|
* ### PRIVATE API
|
@@ -467,7 +467,7 @@ class bn {
|
|
467
467
|
}
|
468
468
|
/** @returns {void} */
|
469
469
|
$destroy() {
|
470
|
-
|
470
|
+
bn(this, 1), this.$destroy = I;
|
471
471
|
}
|
472
472
|
/**
|
473
473
|
* @template {Extract<keyof Events, string>} K
|
@@ -476,7 +476,7 @@ class bn {
|
|
476
476
|
* @returns {() => void}
|
477
477
|
*/
|
478
478
|
$on(t, r) {
|
479
|
-
if (!
|
479
|
+
if (!it(r))
|
480
480
|
return I;
|
481
481
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
482
482
|
return n.push(r), () => {
|
@@ -489,13 +489,13 @@ class bn {
|
|
489
489
|
* @returns {void}
|
490
490
|
*/
|
491
491
|
$set(t) {
|
492
|
-
this.$$set && !
|
492
|
+
this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
493
493
|
}
|
494
494
|
}
|
495
|
-
const
|
496
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
495
|
+
const En = "4";
|
496
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
|
497
497
|
const Q = [];
|
498
|
-
function
|
498
|
+
function xn(e, t) {
|
499
499
|
return {
|
500
500
|
subscribe: Ce(e, t).subscribe
|
501
501
|
};
|
@@ -504,7 +504,7 @@ function Ce(e, t = I) {
|
|
504
504
|
let r;
|
505
505
|
const n = /* @__PURE__ */ new Set();
|
506
506
|
function i(a) {
|
507
|
-
if (
|
507
|
+
if (er(e, a) && (e = a, r)) {
|
508
508
|
const h = !Q.length;
|
509
509
|
for (const u of n)
|
510
510
|
u[1](), Q.push(u, e);
|
@@ -531,7 +531,7 @@ function ie(e, t, r) {
|
|
531
531
|
if (!i.every(Boolean))
|
532
532
|
throw new Error("derived() expects stores as input, got a falsy value");
|
533
533
|
const o = t.length < 2;
|
534
|
-
return
|
534
|
+
return xn(r, (s, a) => {
|
535
535
|
let h = !1;
|
536
536
|
const u = [];
|
537
537
|
let l = 0, f = I;
|
@@ -540,9 +540,9 @@ function ie(e, t, r) {
|
|
540
540
|
return;
|
541
541
|
f();
|
542
542
|
const m = t(n ? u[0] : u, s, a);
|
543
|
-
o ? s(m) : f =
|
543
|
+
o ? s(m) : f = it(m) ? m : I;
|
544
544
|
}, d = i.map(
|
545
|
-
(m, b) =>
|
545
|
+
(m, b) => tr(
|
546
546
|
m,
|
547
547
|
(g) => {
|
548
548
|
u[b] = g, l &= ~(1 << b), h && c();
|
@@ -557,70 +557,70 @@ function ie(e, t, r) {
|
|
557
557
|
};
|
558
558
|
});
|
559
559
|
}
|
560
|
-
function
|
560
|
+
function Sn(e) {
|
561
561
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
562
562
|
}
|
563
|
-
var
|
564
|
-
return
|
563
|
+
var wn = function(t) {
|
564
|
+
return Tn(t) && !Hn(t);
|
565
565
|
};
|
566
|
-
function
|
566
|
+
function Tn(e) {
|
567
567
|
return !!e && typeof e == "object";
|
568
568
|
}
|
569
|
-
function
|
569
|
+
function Hn(e) {
|
570
570
|
var t = Object.prototype.toString.call(e);
|
571
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
571
|
+
return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
|
572
572
|
}
|
573
|
-
var
|
574
|
-
function
|
575
|
-
return e.$$typeof ===
|
573
|
+
var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
|
574
|
+
function Bn(e) {
|
575
|
+
return e.$$typeof === Pn;
|
576
576
|
}
|
577
|
-
function
|
577
|
+
function An(e) {
|
578
578
|
return Array.isArray(e) ? [] : {};
|
579
579
|
}
|
580
580
|
function he(e, t) {
|
581
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
581
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(An(e), e, t) : e;
|
582
582
|
}
|
583
|
-
function
|
583
|
+
function On(e, t, r) {
|
584
584
|
return e.concat(t).map(function(n) {
|
585
585
|
return he(n, r);
|
586
586
|
});
|
587
587
|
}
|
588
|
-
function
|
588
|
+
function Ln(e, t) {
|
589
589
|
if (!t.customMerge)
|
590
590
|
return K;
|
591
591
|
var r = t.customMerge(e);
|
592
592
|
return typeof r == "function" ? r : K;
|
593
593
|
}
|
594
|
-
function
|
594
|
+
function In(e) {
|
595
595
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
596
596
|
return Object.propertyIsEnumerable.call(e, t);
|
597
597
|
}) : [];
|
598
598
|
}
|
599
|
-
function
|
600
|
-
return Object.keys(e).concat(
|
599
|
+
function Tt(e) {
|
600
|
+
return Object.keys(e).concat(In(e));
|
601
601
|
}
|
602
|
-
function
|
602
|
+
function ir(e, t) {
|
603
603
|
try {
|
604
604
|
return t in e;
|
605
605
|
} catch (r) {
|
606
606
|
return !1;
|
607
607
|
}
|
608
608
|
}
|
609
|
-
function
|
610
|
-
return
|
609
|
+
function Nn(e, t) {
|
610
|
+
return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
611
611
|
}
|
612
|
-
function
|
612
|
+
function Mn(e, t, r) {
|
613
613
|
var n = {};
|
614
|
-
return r.isMergeableObject(e) &&
|
614
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
615
615
|
n[i] = he(e[i], r);
|
616
|
-
}),
|
617
|
-
|
616
|
+
}), Tt(t).forEach(function(i) {
|
617
|
+
Nn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
618
618
|
}), n;
|
619
619
|
}
|
620
620
|
function K(e, t, r) {
|
621
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
621
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = he;
|
622
622
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
623
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
623
|
+
return o ? n ? r.arrayMerge(e, t, r) : Mn(e, t, r) : he(t, r);
|
624
624
|
}
|
625
625
|
K.all = function(t, r) {
|
626
626
|
if (!Array.isArray(t))
|
@@ -629,8 +629,8 @@ K.all = function(t, r) {
|
|
629
629
|
return K(n, i, r);
|
630
630
|
}, {});
|
631
631
|
};
|
632
|
-
var
|
633
|
-
const
|
632
|
+
var Rn = K, $n = Rn;
|
633
|
+
const Gn = /* @__PURE__ */ Sn($n);
|
634
634
|
/*! *****************************************************************************
|
635
635
|
Copyright (c) Microsoft Corporation.
|
636
636
|
|
@@ -645,18 +645,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
645
645
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
646
646
|
PERFORMANCE OF THIS SOFTWARE.
|
647
647
|
***************************************************************************** */
|
648
|
-
var
|
649
|
-
return
|
648
|
+
var Xe = function(e, t) {
|
649
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
650
650
|
r.__proto__ = n;
|
651
651
|
} || function(r, n) {
|
652
652
|
for (var i in n)
|
653
653
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
654
|
-
},
|
654
|
+
}, Xe(e, t);
|
655
655
|
};
|
656
656
|
function j(e, t) {
|
657
657
|
if (typeof t != "function" && t !== null)
|
658
658
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
659
|
-
|
659
|
+
Xe(e, t);
|
660
660
|
function r() {
|
661
661
|
this.constructor = e;
|
662
662
|
}
|
@@ -672,7 +672,7 @@ var _ = function() {
|
|
672
672
|
return t;
|
673
673
|
}, _.apply(this, arguments);
|
674
674
|
};
|
675
|
-
function
|
675
|
+
function Un(e, t) {
|
676
676
|
var r = {};
|
677
677
|
for (var n in e)
|
678
678
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -681,7 +681,7 @@ function Mn(e, t) {
|
|
681
681
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
682
682
|
return r;
|
683
683
|
}
|
684
|
-
function
|
684
|
+
function We(e) {
|
685
685
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
686
686
|
if (r)
|
687
687
|
return r.call(e);
|
@@ -693,7 +693,7 @@ function Xe(e) {
|
|
693
693
|
};
|
694
694
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
695
695
|
}
|
696
|
-
function
|
696
|
+
function ze(e, t) {
|
697
697
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
698
698
|
if (!r)
|
699
699
|
return e;
|
@@ -720,53 +720,55 @@ function Y(e, t, r) {
|
|
720
720
|
return e.concat(o || t);
|
721
721
|
}
|
722
722
|
function Re(e, t) {
|
723
|
-
var r = t && t.cache ? t.cache :
|
723
|
+
var r = t && t.cache ? t.cache : Xn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : Fn;
|
724
724
|
return i(e, {
|
725
725
|
cache: r,
|
726
726
|
serializer: n
|
727
727
|
});
|
728
728
|
}
|
729
|
-
function
|
729
|
+
function Dn(e) {
|
730
730
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
731
731
|
}
|
732
|
-
function
|
733
|
-
var i =
|
732
|
+
function or(e, t, r, n) {
|
733
|
+
var i = Dn(n) ? n : r(n), o = t.get(i);
|
734
734
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
735
735
|
}
|
736
|
-
function
|
736
|
+
function sr(e, t, r) {
|
737
737
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
738
738
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
739
739
|
}
|
740
|
-
function
|
740
|
+
function st(e, t, r, n, i) {
|
741
741
|
return r.bind(t, e, n, i);
|
742
742
|
}
|
743
|
-
function
|
744
|
-
var r = e.length === 1 ?
|
745
|
-
return
|
743
|
+
function Fn(e, t) {
|
744
|
+
var r = e.length === 1 ? or : sr;
|
745
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
746
746
|
}
|
747
|
-
function
|
748
|
-
return
|
747
|
+
function jn(e, t) {
|
748
|
+
return st(e, this, sr, t.cache.create(), t.serializer);
|
749
|
+
}
|
750
|
+
function kn(e, t) {
|
751
|
+
return st(e, this, or, t.cache.create(), t.serializer);
|
749
752
|
}
|
750
|
-
var
|
753
|
+
var Vn = function() {
|
751
754
|
return JSON.stringify(arguments);
|
752
|
-
}
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
}()
|
764
|
-
), jn = {
|
755
|
+
};
|
756
|
+
function at() {
|
757
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
758
|
+
}
|
759
|
+
at.prototype.get = function(e) {
|
760
|
+
return this.cache[e];
|
761
|
+
};
|
762
|
+
at.prototype.set = function(e, t) {
|
763
|
+
this.cache[e] = t;
|
764
|
+
};
|
765
|
+
var Xn = {
|
765
766
|
create: function() {
|
766
|
-
return new
|
767
|
+
return new at();
|
767
768
|
}
|
768
769
|
}, $e = {
|
769
|
-
variadic:
|
770
|
+
variadic: jn,
|
771
|
+
monadic: kn
|
770
772
|
}, v;
|
771
773
|
(function(e) {
|
772
774
|
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";
|
@@ -779,43 +781,43 @@ var ee;
|
|
779
781
|
(function(e) {
|
780
782
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
781
783
|
})(ee || (ee = {}));
|
782
|
-
function
|
784
|
+
function Ht(e) {
|
783
785
|
return e.type === S.literal;
|
784
786
|
}
|
785
|
-
function
|
787
|
+
function Wn(e) {
|
786
788
|
return e.type === S.argument;
|
787
789
|
}
|
788
|
-
function
|
790
|
+
function ar(e) {
|
789
791
|
return e.type === S.number;
|
790
792
|
}
|
791
|
-
function
|
793
|
+
function lr(e) {
|
792
794
|
return e.type === S.date;
|
793
795
|
}
|
794
|
-
function
|
796
|
+
function ur(e) {
|
795
797
|
return e.type === S.time;
|
796
798
|
}
|
797
|
-
function
|
799
|
+
function hr(e) {
|
798
800
|
return e.type === S.select;
|
799
801
|
}
|
800
|
-
function
|
802
|
+
function cr(e) {
|
801
803
|
return e.type === S.plural;
|
802
804
|
}
|
803
|
-
function
|
805
|
+
function zn(e) {
|
804
806
|
return e.type === S.pound;
|
805
807
|
}
|
806
|
-
function
|
808
|
+
function fr(e) {
|
807
809
|
return e.type === S.tag;
|
808
810
|
}
|
809
|
-
function
|
811
|
+
function dr(e) {
|
810
812
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
811
813
|
}
|
812
|
-
function
|
814
|
+
function Ze(e) {
|
813
815
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
814
816
|
}
|
815
|
-
var
|
816
|
-
function
|
817
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
818
|
+
function Qn(e) {
|
817
819
|
var t = {};
|
818
|
-
return e.replace(
|
820
|
+
return e.replace(Zn, function(r) {
|
819
821
|
var n = r.length;
|
820
822
|
switch (r[0]) {
|
821
823
|
case "G":
|
@@ -904,11 +906,11 @@ function Wn(e) {
|
|
904
906
|
return "";
|
905
907
|
}), t;
|
906
908
|
}
|
907
|
-
var
|
908
|
-
function
|
909
|
+
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
910
|
+
function Jn(e) {
|
909
911
|
if (e.length === 0)
|
910
912
|
throw new Error("Number skeleton cannot be empty");
|
911
|
-
for (var t = e.split(
|
913
|
+
for (var t = e.split(qn).filter(function(c) {
|
912
914
|
return c.length > 0;
|
913
915
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
914
916
|
var o = i[n], s = o.split("/");
|
@@ -923,17 +925,17 @@ function Zn(e) {
|
|
923
925
|
}
|
924
926
|
return r;
|
925
927
|
}
|
926
|
-
function
|
928
|
+
function Yn(e) {
|
927
929
|
return e.replace(/^(.*?)-/, "");
|
928
930
|
}
|
929
|
-
var
|
930
|
-
function
|
931
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, Kn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
932
|
+
function Pt(e) {
|
931
933
|
var t = {};
|
932
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
934
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
|
933
935
|
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)), "";
|
934
936
|
}), t;
|
935
937
|
}
|
936
|
-
function
|
938
|
+
function gr(e) {
|
937
939
|
switch (e) {
|
938
940
|
case "sign-auto":
|
939
941
|
return {
|
@@ -973,7 +975,7 @@ function pr(e) {
|
|
973
975
|
};
|
974
976
|
}
|
975
977
|
}
|
976
|
-
function
|
978
|
+
function ei(e) {
|
977
979
|
var t;
|
978
980
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
979
981
|
notation: "engineering"
|
@@ -981,17 +983,17 @@ function Jn(e) {
|
|
981
983
|
notation: "scientific"
|
982
984
|
}, e = e.slice(1)), t) {
|
983
985
|
var r = e.slice(0, 2);
|
984
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
986
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
985
987
|
throw new Error("Malformed concise eng/scientific notation");
|
986
988
|
t.minimumIntegerDigits = e.length;
|
987
989
|
}
|
988
990
|
return t;
|
989
991
|
}
|
990
|
-
function
|
991
|
-
var t = {}, r =
|
992
|
+
function Bt(e) {
|
993
|
+
var t = {}, r = gr(e);
|
992
994
|
return r || t;
|
993
995
|
}
|
994
|
-
function
|
996
|
+
function ti(e) {
|
995
997
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
996
998
|
var i = n[r];
|
997
999
|
switch (i.stem) {
|
@@ -1015,7 +1017,7 @@ function Yn(e) {
|
|
1015
1017
|
continue;
|
1016
1018
|
case "measure-unit":
|
1017
1019
|
case "unit":
|
1018
|
-
t.style = "unit", t.unit =
|
1020
|
+
t.style = "unit", t.unit = Yn(i.options[0]);
|
1019
1021
|
continue;
|
1020
1022
|
case "compact-short":
|
1021
1023
|
case "K":
|
@@ -1027,12 +1029,12 @@ function Yn(e) {
|
|
1027
1029
|
continue;
|
1028
1030
|
case "scientific":
|
1029
1031
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1030
|
-
return _(_({}, h),
|
1032
|
+
return _(_({}, h), Bt(u));
|
1031
1033
|
}, {}));
|
1032
1034
|
continue;
|
1033
1035
|
case "engineering":
|
1034
1036
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1035
|
-
return _(_({}, h),
|
1037
|
+
return _(_({}, h), Bt(u));
|
1036
1038
|
}, {}));
|
1037
1039
|
continue;
|
1038
1040
|
case "notation-simple":
|
@@ -1077,7 +1079,7 @@ function Yn(e) {
|
|
1077
1079
|
case "integer-width":
|
1078
1080
|
if (i.options.length > 1)
|
1079
1081
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1080
|
-
i.options[0].replace(
|
1082
|
+
i.options[0].replace(Kn, function(h, u, l, f, c, d) {
|
1081
1083
|
if (u)
|
1082
1084
|
t.minimumIntegerDigits = l.length;
|
1083
1085
|
else {
|
@@ -1090,27 +1092,27 @@ function Yn(e) {
|
|
1090
1092
|
});
|
1091
1093
|
continue;
|
1092
1094
|
}
|
1093
|
-
if (
|
1095
|
+
if (br.test(i.stem)) {
|
1094
1096
|
t.minimumIntegerDigits = i.stem.length;
|
1095
1097
|
continue;
|
1096
1098
|
}
|
1097
|
-
if (
|
1099
|
+
if (Ct.test(i.stem)) {
|
1098
1100
|
if (i.options.length > 1)
|
1099
1101
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1100
|
-
i.stem.replace(
|
1102
|
+
i.stem.replace(Ct, function(h, u, l, f, c, d) {
|
1101
1103
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1102
1104
|
});
|
1103
1105
|
var o = i.options[0];
|
1104
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1106
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Pt(o)));
|
1105
1107
|
continue;
|
1106
1108
|
}
|
1107
|
-
if (
|
1108
|
-
t = _(_({}, t),
|
1109
|
+
if (mr.test(i.stem)) {
|
1110
|
+
t = _(_({}, t), Pt(i.stem));
|
1109
1111
|
continue;
|
1110
1112
|
}
|
1111
|
-
var s =
|
1113
|
+
var s = gr(i.stem);
|
1112
1114
|
s && (t = _(_({}, t), s));
|
1113
|
-
var a =
|
1115
|
+
var a = ei(i.stem);
|
1114
1116
|
a && (t = _(_({}, t), a));
|
1115
1117
|
}
|
1116
1118
|
return t;
|
@@ -2530,13 +2532,13 @@ var pe = {
|
|
2530
2532
|
"h"
|
2531
2533
|
]
|
2532
2534
|
};
|
2533
|
-
function
|
2535
|
+
function ri(e, t) {
|
2534
2536
|
for (var r = "", n = 0; n < e.length; n++) {
|
2535
2537
|
var i = e.charAt(n);
|
2536
2538
|
if (i === "j") {
|
2537
2539
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2538
2540
|
o++, n++;
|
2539
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
2541
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ni(t);
|
2540
2542
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2541
2543
|
r += h;
|
2542
2544
|
for (; s-- > 0; )
|
@@ -2546,7 +2548,7 @@ function Kn(e, t) {
|
|
2546
2548
|
}
|
2547
2549
|
return r;
|
2548
2550
|
}
|
2549
|
-
function
|
2551
|
+
function ni(e) {
|
2550
2552
|
var t = e.hourCycle;
|
2551
2553
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2552
2554
|
e.hourCycles && // @ts-ignore
|
@@ -2568,20 +2570,20 @@ function ei(e) {
|
|
2568
2570
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2569
2571
|
return i[0];
|
2570
2572
|
}
|
2571
|
-
var Ge,
|
2573
|
+
var Ge, ii = new RegExp("^".concat(pr.source, "*")), oi = new RegExp("".concat(pr.source, "*$"));
|
2572
2574
|
function y(e, t) {
|
2573
2575
|
return { start: e, end: t };
|
2574
2576
|
}
|
2575
|
-
var
|
2577
|
+
var si = !!String.prototype.startsWith && "_a".startsWith("a", 1), ai = !!String.fromCodePoint, li = !!Object.fromEntries, ui = !!String.prototype.codePointAt, hi = !!String.prototype.trimStart, ci = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, di = fi ? Number.isSafeInteger : function(e) {
|
2576
2578
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2577
|
-
},
|
2579
|
+
}, Qe = !0;
|
2578
2580
|
try {
|
2579
|
-
var
|
2580
|
-
|
2581
|
+
var pi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2582
|
+
Qe = ((Ge = pi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2581
2583
|
} catch (e) {
|
2582
|
-
|
2584
|
+
Qe = !1;
|
2583
2585
|
}
|
2584
|
-
var
|
2586
|
+
var At = si ? (
|
2585
2587
|
// Native
|
2586
2588
|
function(t, r, n) {
|
2587
2589
|
return t.startsWith(r, n);
|
@@ -2591,7 +2593,7 @@ var Ct = ni ? (
|
|
2591
2593
|
function(t, r, n) {
|
2592
2594
|
return t.slice(n, n + r.length) === r;
|
2593
2595
|
}
|
2594
|
-
),
|
2596
|
+
), qe = ai ? String.fromCodePoint : (
|
2595
2597
|
// IE11
|
2596
2598
|
function() {
|
2597
2599
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2603,9 +2605,9 @@ var Ct = ni ? (
|
|
2603
2605
|
}
|
2604
2606
|
return n;
|
2605
2607
|
}
|
2606
|
-
),
|
2608
|
+
), Ot = (
|
2607
2609
|
// native
|
2608
|
-
|
2610
|
+
li ? Object.fromEntries : (
|
2609
2611
|
// Ponyfill
|
2610
2612
|
function(t) {
|
2611
2613
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2615,7 +2617,7 @@ var Ct = ni ? (
|
|
2615
2617
|
return r;
|
2616
2618
|
}
|
2617
2619
|
)
|
2618
|
-
),
|
2620
|
+
), vr = ui ? (
|
2619
2621
|
// Native
|
2620
2622
|
function(t, r) {
|
2621
2623
|
return t.codePointAt(r);
|
@@ -2629,7 +2631,7 @@ var Ct = ni ? (
|
|
2629
2631
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2630
2632
|
}
|
2631
2633
|
}
|
2632
|
-
),
|
2634
|
+
), mi = hi ? (
|
2633
2635
|
// Native
|
2634
2636
|
function(t) {
|
2635
2637
|
return t.trimStart();
|
@@ -2637,9 +2639,9 @@ var Ct = ni ? (
|
|
2637
2639
|
) : (
|
2638
2640
|
// Ponyfill
|
2639
2641
|
function(t) {
|
2640
|
-
return t.replace(
|
2642
|
+
return t.replace(ii, "");
|
2641
2643
|
}
|
2642
|
-
),
|
2644
|
+
), bi = ci ? (
|
2643
2645
|
// Native
|
2644
2646
|
function(t) {
|
2645
2647
|
return t.trimEnd();
|
@@ -2647,32 +2649,32 @@ var Ct = ni ? (
|
|
2647
2649
|
) : (
|
2648
2650
|
// Ponyfill
|
2649
2651
|
function(t) {
|
2650
|
-
return t.replace(
|
2652
|
+
return t.replace(oi, "");
|
2651
2653
|
}
|
2652
2654
|
);
|
2653
|
-
function
|
2655
|
+
function yr(e, t) {
|
2654
2656
|
return new RegExp(e, t);
|
2655
2657
|
}
|
2656
|
-
var
|
2657
|
-
if (
|
2658
|
-
var
|
2659
|
-
|
2658
|
+
var Je;
|
2659
|
+
if (Qe) {
|
2660
|
+
var Lt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2661
|
+
Je = function(t, r) {
|
2660
2662
|
var n;
|
2661
|
-
|
2662
|
-
var i =
|
2663
|
+
Lt.lastIndex = r;
|
2664
|
+
var i = Lt.exec(t);
|
2663
2665
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2664
2666
|
};
|
2665
2667
|
} else
|
2666
|
-
|
2668
|
+
Je = function(t, r) {
|
2667
2669
|
for (var n = []; ; ) {
|
2668
|
-
var i =
|
2669
|
-
if (i === void 0 ||
|
2670
|
+
var i = vr(t, r);
|
2671
|
+
if (i === void 0 || _r(i) || _i(i))
|
2670
2672
|
break;
|
2671
2673
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2672
2674
|
}
|
2673
|
-
return
|
2675
|
+
return qe.apply(void 0, n);
|
2674
2676
|
};
|
2675
|
-
var
|
2677
|
+
var gi = (
|
2676
2678
|
/** @class */
|
2677
2679
|
function() {
|
2678
2680
|
function e(t, r) {
|
@@ -2703,7 +2705,7 @@ var pi = (
|
|
2703
2705
|
if (n)
|
2704
2706
|
break;
|
2705
2707
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2706
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2708
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
2707
2709
|
var s = this.parseTag(t, r);
|
2708
2710
|
if (s.err)
|
2709
2711
|
return s;
|
@@ -2736,7 +2738,7 @@ var pi = (
|
|
2736
2738
|
return o;
|
2737
2739
|
var s = o.val, a = this.clonePosition();
|
2738
2740
|
if (this.bumpIf("</")) {
|
2739
|
-
if (this.isEOF() || !
|
2741
|
+
if (this.isEOF() || !Ye(this.char()))
|
2740
2742
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2741
2743
|
var h = this.clonePosition(), u = this.parseTagName();
|
2742
2744
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2754,7 +2756,7 @@ var pi = (
|
|
2754
2756
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2755
2757
|
}, e.prototype.parseTagName = function() {
|
2756
2758
|
var t = this.offset();
|
2757
|
-
for (this.bump(); !this.isEOF() &&
|
2759
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
2758
2760
|
this.bump();
|
2759
2761
|
return this.message.slice(t, this.offset());
|
2760
2762
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2783,7 +2785,7 @@ var pi = (
|
|
2783
2785
|
};
|
2784
2786
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2785
2787
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2786
|
-
!
|
2788
|
+
!vi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2787
2789
|
}, e.prototype.tryParseQuote = function(t) {
|
2788
2790
|
if (this.isEOF() || this.char() !== 39)
|
2789
2791
|
return null;
|
@@ -2817,12 +2819,12 @@ var pi = (
|
|
2817
2819
|
r.push(n);
|
2818
2820
|
this.bump();
|
2819
2821
|
}
|
2820
|
-
return
|
2822
|
+
return qe.apply(void 0, r);
|
2821
2823
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2822
2824
|
if (this.isEOF())
|
2823
2825
|
return null;
|
2824
2826
|
var n = this.char();
|
2825
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2827
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
2826
2828
|
}, e.prototype.parseArgument = function(t, r) {
|
2827
2829
|
var n = this.clonePosition();
|
2828
2830
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2851,7 +2853,7 @@ var pi = (
|
|
2851
2853
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2852
2854
|
}
|
2853
2855
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2854
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2856
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
2855
2857
|
this.bumpTo(i);
|
2856
2858
|
var o = this.clonePosition(), s = y(t, o);
|
2857
2859
|
return { value: n, location: s };
|
@@ -2870,7 +2872,7 @@ var pi = (
|
|
2870
2872
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2871
2873
|
if (f.err)
|
2872
2874
|
return f;
|
2873
|
-
var c =
|
2875
|
+
var c = bi(f.val);
|
2874
2876
|
if (c.length === 0)
|
2875
2877
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2876
2878
|
var d = y(l, this.clonePosition());
|
@@ -2880,8 +2882,8 @@ var pi = (
|
|
2880
2882
|
if (m.err)
|
2881
2883
|
return m;
|
2882
2884
|
var b = y(i, this.clonePosition());
|
2883
|
-
if (u &&
|
2884
|
-
var g =
|
2885
|
+
if (u && At(u == null ? void 0 : u.style, "::", 0)) {
|
2886
|
+
var g = mi(u.style.slice(2));
|
2885
2887
|
if (a === "number") {
|
2886
2888
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2887
2889
|
return f.err ? f : {
|
@@ -2891,16 +2893,16 @@ var pi = (
|
|
2891
2893
|
} else {
|
2892
2894
|
if (g.length === 0)
|
2893
2895
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2894
|
-
var
|
2895
|
-
this.locale && (
|
2896
|
+
var E = g;
|
2897
|
+
this.locale && (E = ri(g, this.locale));
|
2896
2898
|
var c = {
|
2897
2899
|
type: ee.dateTime,
|
2898
|
-
pattern:
|
2900
|
+
pattern: E,
|
2899
2901
|
location: u.styleLocation,
|
2900
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2901
|
-
},
|
2902
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(E) : {}
|
2903
|
+
}, x = a === "date" ? S.date : S.time;
|
2902
2904
|
return {
|
2903
|
-
val: { type:
|
2905
|
+
val: { type: x, value: n, location: b, style: c },
|
2904
2906
|
err: null
|
2905
2907
|
};
|
2906
2908
|
}
|
@@ -2943,7 +2945,7 @@ var pi = (
|
|
2943
2945
|
val: {
|
2944
2946
|
type: S.select,
|
2945
2947
|
value: n,
|
2946
|
-
options:
|
2948
|
+
options: Ot(V.val),
|
2947
2949
|
location: z
|
2948
2950
|
},
|
2949
2951
|
err: null
|
@@ -2951,7 +2953,7 @@ var pi = (
|
|
2951
2953
|
val: {
|
2952
2954
|
type: S.plural,
|
2953
2955
|
value: n,
|
2954
|
-
options:
|
2956
|
+
options: Ot(V.val),
|
2955
2957
|
offset: O,
|
2956
2958
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2957
2959
|
location: z
|
@@ -3002,7 +3004,7 @@ var pi = (
|
|
3002
3004
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3003
3005
|
var n = [];
|
3004
3006
|
try {
|
3005
|
-
n =
|
3007
|
+
n = Jn(t);
|
3006
3008
|
} catch (i) {
|
3007
3009
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3008
3010
|
}
|
@@ -3011,7 +3013,7 @@ var pi = (
|
|
3011
3013
|
type: ee.number,
|
3012
3014
|
tokens: n,
|
3013
3015
|
location: r,
|
3014
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3016
|
+
parsedOptions: this.shouldParseSkeletons ? ti(n) : {}
|
3015
3017
|
},
|
3016
3018
|
err: null
|
3017
3019
|
};
|
@@ -3059,7 +3061,7 @@ var pi = (
|
|
3059
3061
|
break;
|
3060
3062
|
}
|
3061
3063
|
var h = y(i, this.clonePosition());
|
3062
|
-
return o ? (s *= n,
|
3064
|
+
return o ? (s *= n, di(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3063
3065
|
}, e.prototype.offset = function() {
|
3064
3066
|
return this.position.offset;
|
3065
3067
|
}, e.prototype.isEOF = function() {
|
@@ -3074,7 +3076,7 @@ var pi = (
|
|
3074
3076
|
var t = this.position.offset;
|
3075
3077
|
if (t >= this.message.length)
|
3076
3078
|
throw Error("out of bound");
|
3077
|
-
var r =
|
3079
|
+
var r = vr(this.message, t);
|
3078
3080
|
if (r === void 0)
|
3079
3081
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3080
3082
|
return r;
|
@@ -3093,7 +3095,7 @@ var pi = (
|
|
3093
3095
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3094
3096
|
}
|
3095
3097
|
}, e.prototype.bumpIf = function(t) {
|
3096
|
-
if (
|
3098
|
+
if (At(this.message, t, this.offset())) {
|
3097
3099
|
for (var r = 0; r < t.length; r++)
|
3098
3100
|
this.bump();
|
3099
3101
|
return !0;
|
@@ -3115,7 +3117,7 @@ var pi = (
|
|
3115
3117
|
break;
|
3116
3118
|
}
|
3117
3119
|
}, e.prototype.bumpSpace = function() {
|
3118
|
-
for (; !this.isEOF() &&
|
3120
|
+
for (; !this.isEOF() && _r(this.char()); )
|
3119
3121
|
this.bump();
|
3120
3122
|
}, e.prototype.peek = function() {
|
3121
3123
|
if (this.isEOF())
|
@@ -3125,38 +3127,38 @@ var pi = (
|
|
3125
3127
|
}, e;
|
3126
3128
|
}()
|
3127
3129
|
);
|
3128
|
-
function
|
3130
|
+
function Ye(e) {
|
3129
3131
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3130
3132
|
}
|
3131
|
-
function
|
3132
|
-
return
|
3133
|
+
function vi(e) {
|
3134
|
+
return Ye(e) || e === 47;
|
3133
3135
|
}
|
3134
|
-
function
|
3136
|
+
function yi(e) {
|
3135
3137
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3136
3138
|
}
|
3137
|
-
function
|
3139
|
+
function _r(e) {
|
3138
3140
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3139
3141
|
}
|
3140
|
-
function
|
3142
|
+
function _i(e) {
|
3141
3143
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3142
3144
|
}
|
3143
|
-
function
|
3145
|
+
function Ke(e) {
|
3144
3146
|
e.forEach(function(t) {
|
3145
|
-
if (delete t.location,
|
3147
|
+
if (delete t.location, hr(t) || cr(t))
|
3146
3148
|
for (var r in t.options)
|
3147
|
-
delete t.options[r].location,
|
3149
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
3148
3150
|
else
|
3149
|
-
|
3151
|
+
ar(t) && dr(t.style) || (lr(t) || ur(t)) && Ze(t.style) ? delete t.style.location : fr(t) && Ke(t.children);
|
3150
3152
|
});
|
3151
3153
|
}
|
3152
|
-
function
|
3154
|
+
function Ei(e, t) {
|
3153
3155
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3154
|
-
var r = new
|
3156
|
+
var r = new gi(e, t).parse();
|
3155
3157
|
if (r.err) {
|
3156
3158
|
var n = SyntaxError(v[r.err.kind]);
|
3157
3159
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3158
3160
|
}
|
3159
|
-
return t != null && t.captureLocation ||
|
3161
|
+
return t != null && t.captureLocation || Ke(r.val), r.val;
|
3160
3162
|
}
|
3161
3163
|
var te;
|
3162
3164
|
(function(e) {
|
@@ -3174,7 +3176,7 @@ var Pe = (
|
|
3174
3176
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3175
3177
|
}, t;
|
3176
3178
|
}(Error)
|
3177
|
-
),
|
3179
|
+
), It = (
|
3178
3180
|
/** @class */
|
3179
3181
|
function(e) {
|
3180
3182
|
j(t, e);
|
@@ -3183,7 +3185,7 @@ var Pe = (
|
|
3183
3185
|
}
|
3184
3186
|
return t;
|
3185
3187
|
}(Pe)
|
3186
|
-
),
|
3188
|
+
), xi = (
|
3187
3189
|
/** @class */
|
3188
3190
|
function(e) {
|
3189
3191
|
j(t, e);
|
@@ -3192,7 +3194,7 @@ var Pe = (
|
|
3192
3194
|
}
|
3193
3195
|
return t;
|
3194
3196
|
}(Pe)
|
3195
|
-
),
|
3197
|
+
), Si = (
|
3196
3198
|
/** @class */
|
3197
3199
|
function(e) {
|
3198
3200
|
j(t, e);
|
@@ -3205,17 +3207,17 @@ var Pe = (
|
|
3205
3207
|
(function(e) {
|
3206
3208
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3207
3209
|
})(A || (A = {}));
|
3208
|
-
function
|
3210
|
+
function wi(e) {
|
3209
3211
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3210
3212
|
var n = t[t.length - 1];
|
3211
3213
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3212
3214
|
}, []);
|
3213
3215
|
}
|
3214
|
-
function
|
3216
|
+
function Ti(e) {
|
3215
3217
|
return typeof e == "function";
|
3216
3218
|
}
|
3217
3219
|
function ge(e, t, r, n, i, o, s) {
|
3218
|
-
if (e.length === 1 &&
|
3220
|
+
if (e.length === 1 && Ht(e[0]))
|
3219
3221
|
return [
|
3220
3222
|
{
|
3221
3223
|
type: A.literal,
|
@@ -3224,14 +3226,14 @@ function ge(e, t, r, n, i, o, s) {
|
|
3224
3226
|
];
|
3225
3227
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3226
3228
|
var l = u[h];
|
3227
|
-
if (
|
3229
|
+
if (Ht(l)) {
|
3228
3230
|
a.push({
|
3229
3231
|
type: A.literal,
|
3230
3232
|
value: l.value
|
3231
3233
|
});
|
3232
3234
|
continue;
|
3233
3235
|
}
|
3234
|
-
if (
|
3236
|
+
if (zn(l)) {
|
3235
3237
|
typeof o == "number" && a.push({
|
3236
3238
|
type: A.literal,
|
3237
3239
|
value: r.getNumberFormat(t).format(o)
|
@@ -3240,61 +3242,61 @@ function ge(e, t, r, n, i, o, s) {
|
|
3240
3242
|
}
|
3241
3243
|
var f = l.value;
|
3242
3244
|
if (!(i && f in i))
|
3243
|
-
throw new
|
3245
|
+
throw new Si(f, s);
|
3244
3246
|
var c = i[f];
|
3245
|
-
if (
|
3247
|
+
if (Wn(l)) {
|
3246
3248
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3247
3249
|
type: typeof c == "string" ? A.literal : A.object,
|
3248
3250
|
value: c
|
3249
3251
|
});
|
3250
3252
|
continue;
|
3251
3253
|
}
|
3252
|
-
if (
|
3253
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3254
|
+
if (lr(l)) {
|
3255
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
|
3254
3256
|
a.push({
|
3255
3257
|
type: A.literal,
|
3256
3258
|
value: r.getDateTimeFormat(t, d).format(c)
|
3257
3259
|
});
|
3258
3260
|
continue;
|
3259
3261
|
}
|
3260
|
-
if (
|
3261
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3262
|
+
if (ur(l)) {
|
3263
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
3262
3264
|
a.push({
|
3263
3265
|
type: A.literal,
|
3264
3266
|
value: r.getDateTimeFormat(t, d).format(c)
|
3265
3267
|
});
|
3266
3268
|
continue;
|
3267
3269
|
}
|
3268
|
-
if (
|
3269
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3270
|
+
if (ar(l)) {
|
3271
|
+
var d = typeof l.style == "string" ? n.number[l.style] : dr(l.style) ? l.style.parsedOptions : void 0;
|
3270
3272
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3271
3273
|
type: A.literal,
|
3272
3274
|
value: r.getNumberFormat(t, d).format(c)
|
3273
3275
|
});
|
3274
3276
|
continue;
|
3275
3277
|
}
|
3276
|
-
if (
|
3278
|
+
if (fr(l)) {
|
3277
3279
|
var m = l.children, b = l.value, g = i[b];
|
3278
|
-
if (!
|
3279
|
-
throw new
|
3280
|
-
var
|
3280
|
+
if (!Ti(g))
|
3281
|
+
throw new xi(b, "function", s);
|
3282
|
+
var E = ge(m, t, r, n, i, o), x = g(E.map(function(O) {
|
3281
3283
|
return O.value;
|
3282
3284
|
}));
|
3283
|
-
Array.isArray(
|
3285
|
+
Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(O) {
|
3284
3286
|
return {
|
3285
3287
|
type: typeof O == "string" ? A.literal : A.object,
|
3286
3288
|
value: O
|
3287
3289
|
};
|
3288
3290
|
}));
|
3289
3291
|
}
|
3290
|
-
if (
|
3292
|
+
if (hr(l)) {
|
3291
3293
|
var w = l.options[c] || l.options.other;
|
3292
3294
|
if (!w)
|
3293
|
-
throw new
|
3295
|
+
throw new It(l.value, c, Object.keys(l.options), s);
|
3294
3296
|
a.push.apply(a, ge(w.value, t, r, n, i));
|
3295
3297
|
continue;
|
3296
3298
|
}
|
3297
|
-
if (
|
3299
|
+
if (cr(l)) {
|
3298
3300
|
var w = l.options["=".concat(c)];
|
3299
3301
|
if (!w) {
|
3300
3302
|
if (!Intl.PluralRules)
|
@@ -3305,21 +3307,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3305
3307
|
w = l.options[T] || l.options.other;
|
3306
3308
|
}
|
3307
3309
|
if (!w)
|
3308
|
-
throw new
|
3310
|
+
throw new It(l.value, c, Object.keys(l.options), s);
|
3309
3311
|
a.push.apply(a, ge(w.value, t, r, n, i, c - (l.offset || 0)));
|
3310
3312
|
continue;
|
3311
3313
|
}
|
3312
3314
|
}
|
3313
|
-
return
|
3315
|
+
return wi(a);
|
3314
3316
|
}
|
3315
|
-
function
|
3317
|
+
function Hi(e, t) {
|
3316
3318
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3317
3319
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3318
3320
|
}, {})) : e;
|
3319
3321
|
}
|
3320
|
-
function
|
3322
|
+
function Ci(e, t) {
|
3321
3323
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3322
|
-
return r[n] =
|
3324
|
+
return r[n] = Hi(e[n], t[n]), r;
|
3323
3325
|
}, _({}, e)) : e;
|
3324
3326
|
}
|
3325
3327
|
function Ue(e) {
|
@@ -3336,7 +3338,7 @@ function Ue(e) {
|
|
3336
3338
|
}
|
3337
3339
|
};
|
3338
3340
|
}
|
3339
|
-
function
|
3341
|
+
function Pi(e) {
|
3340
3342
|
return e === void 0 && (e = {
|
3341
3343
|
number: {},
|
3342
3344
|
dateTime: {},
|
@@ -3368,7 +3370,7 @@ function Ti(e) {
|
|
3368
3370
|
})
|
3369
3371
|
};
|
3370
3372
|
}
|
3371
|
-
var
|
3373
|
+
var Bi = (
|
3372
3374
|
/** @class */
|
3373
3375
|
function() {
|
3374
3376
|
function e(t, r, n, i) {
|
@@ -3400,13 +3402,13 @@ var Hi = (
|
|
3400
3402
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3401
3403
|
var s = i || {};
|
3402
3404
|
s.formatters;
|
3403
|
-
var a =
|
3405
|
+
var a = Un(s, ["formatters"]);
|
3404
3406
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3405
3407
|
} else
|
3406
3408
|
this.ast = t;
|
3407
3409
|
if (!Array.isArray(this.ast))
|
3408
3410
|
throw new TypeError("A message must be provided as a String or AST.");
|
3409
|
-
this.formats =
|
3411
|
+
this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
|
3410
3412
|
}
|
3411
3413
|
return Object.defineProperty(e, "defaultLocale", {
|
3412
3414
|
get: function() {
|
@@ -3419,7 +3421,7 @@ var Hi = (
|
|
3419
3421
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3420
3422
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3421
3423
|
}
|
3422
|
-
}, e.__parse =
|
3424
|
+
}, e.__parse = Ei, e.formats = {
|
3423
3425
|
number: {
|
3424
3426
|
integer: {
|
3425
3427
|
maximumFractionDigits: 0
|
@@ -3480,7 +3482,7 @@ var Hi = (
|
|
3480
3482
|
}, e;
|
3481
3483
|
}()
|
3482
3484
|
);
|
3483
|
-
function
|
3485
|
+
function Ai(e, t) {
|
3484
3486
|
if (t == null)
|
3485
3487
|
return;
|
3486
3488
|
if (t in e)
|
@@ -3501,92 +3503,92 @@ function Ci(e, t) {
|
|
3501
3503
|
n = void 0;
|
3502
3504
|
return n;
|
3503
3505
|
}
|
3504
|
-
const k = {},
|
3506
|
+
const k = {}, Oi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Er = (e, t) => {
|
3505
3507
|
if (t == null)
|
3506
3508
|
return;
|
3507
3509
|
if (t in k && e in k[t])
|
3508
3510
|
return k[t][e];
|
3509
3511
|
const r = Be(t);
|
3510
3512
|
for (let n = 0; n < r.length; n++) {
|
3511
|
-
const i = r[n], o =
|
3513
|
+
const i = r[n], o = Ii(i, e);
|
3512
3514
|
if (o)
|
3513
|
-
return
|
3515
|
+
return Oi(e, t, o);
|
3514
3516
|
}
|
3515
3517
|
};
|
3516
|
-
let
|
3518
|
+
let lt;
|
3517
3519
|
const fe = Ce({});
|
3518
|
-
function
|
3519
|
-
return
|
3520
|
+
function Li(e) {
|
3521
|
+
return lt[e] || null;
|
3520
3522
|
}
|
3521
|
-
function
|
3522
|
-
return e in
|
3523
|
+
function xr(e) {
|
3524
|
+
return e in lt;
|
3523
3525
|
}
|
3524
|
-
function
|
3525
|
-
if (!
|
3526
|
+
function Ii(e, t) {
|
3527
|
+
if (!xr(e))
|
3526
3528
|
return null;
|
3527
|
-
const r =
|
3528
|
-
return
|
3529
|
+
const r = Li(e);
|
3530
|
+
return Ai(r, t);
|
3529
3531
|
}
|
3530
|
-
function
|
3532
|
+
function Ni(e) {
|
3531
3533
|
if (e == null)
|
3532
3534
|
return;
|
3533
3535
|
const t = Be(e);
|
3534
3536
|
for (let r = 0; r < t.length; r++) {
|
3535
3537
|
const n = t[r];
|
3536
|
-
if (
|
3538
|
+
if (xr(n))
|
3537
3539
|
return n;
|
3538
3540
|
}
|
3539
3541
|
}
|
3540
|
-
function
|
3541
|
-
delete k[e], fe.update((r) => (r[e] =
|
3542
|
+
function Sr(e, ...t) {
|
3543
|
+
delete k[e], fe.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
|
3542
3544
|
}
|
3543
3545
|
ie(
|
3544
3546
|
[fe],
|
3545
3547
|
([e]) => Object.keys(e)
|
3546
3548
|
);
|
3547
|
-
fe.subscribe((e) =>
|
3549
|
+
fe.subscribe((e) => lt = e);
|
3548
3550
|
const ve = {};
|
3549
|
-
function
|
3551
|
+
function Mi(e, t) {
|
3550
3552
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
3551
3553
|
}
|
3552
|
-
function
|
3554
|
+
function wr(e) {
|
3553
3555
|
return ve[e];
|
3554
3556
|
}
|
3555
|
-
function
|
3557
|
+
function Ri(e) {
|
3556
3558
|
return Be(e).map((t) => {
|
3557
|
-
const r =
|
3559
|
+
const r = wr(t);
|
3558
3560
|
return [t, r ? [...r] : []];
|
3559
3561
|
}).filter(([, t]) => t.length > 0);
|
3560
3562
|
}
|
3561
|
-
function
|
3563
|
+
function et(e) {
|
3562
3564
|
return e == null ? !1 : Be(e).some(
|
3563
3565
|
(t) => {
|
3564
3566
|
var r;
|
3565
|
-
return (r =
|
3567
|
+
return (r = wr(t)) == null ? void 0 : r.size;
|
3566
3568
|
}
|
3567
3569
|
);
|
3568
3570
|
}
|
3569
|
-
function
|
3571
|
+
function $i(e, t) {
|
3570
3572
|
return Promise.all(
|
3571
|
-
t.map((n) => (
|
3572
|
-
).then((n) =>
|
3573
|
+
t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
|
3574
|
+
).then((n) => Sr(e, ...n));
|
3573
3575
|
}
|
3574
3576
|
const ae = {};
|
3575
|
-
function
|
3576
|
-
if (!
|
3577
|
+
function Tr(e) {
|
3578
|
+
if (!et(e))
|
3577
3579
|
return e in ae ? ae[e] : Promise.resolve();
|
3578
|
-
const t =
|
3580
|
+
const t = Ri(e);
|
3579
3581
|
return ae[e] = Promise.all(
|
3580
3582
|
t.map(
|
3581
|
-
([r, n]) =>
|
3583
|
+
([r, n]) => $i(r, n)
|
3582
3584
|
)
|
3583
3585
|
).then(() => {
|
3584
|
-
if (
|
3585
|
-
return
|
3586
|
+
if (et(e))
|
3587
|
+
return Tr(e);
|
3586
3588
|
delete ae[e];
|
3587
3589
|
}), ae[e];
|
3588
3590
|
}
|
3589
|
-
const
|
3591
|
+
const Gi = {
|
3590
3592
|
number: {
|
3591
3593
|
scientific: { notation: "scientific" },
|
3592
3594
|
engineering: { notation: "engineering" },
|
@@ -3615,57 +3617,57 @@ const Mi = {
|
|
3615
3617
|
timeZoneName: "short"
|
3616
3618
|
}
|
3617
3619
|
}
|
3618
|
-
},
|
3620
|
+
}, Ui = {
|
3619
3621
|
fallbackLocale: null,
|
3620
3622
|
loadingDelay: 200,
|
3621
|
-
formats:
|
3623
|
+
formats: Gi,
|
3622
3624
|
warnOnMissingMessages: !0,
|
3623
3625
|
handleMissingMessage: void 0,
|
3624
3626
|
ignoreTag: !0
|
3625
|
-
},
|
3627
|
+
}, Di = Ui;
|
3626
3628
|
function re() {
|
3627
|
-
return
|
3629
|
+
return Di;
|
3628
3630
|
}
|
3629
3631
|
const De = Ce(!1);
|
3630
|
-
var
|
3632
|
+
var Fi = Object.defineProperty, ji = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Xi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wi = (e, t) => {
|
3631
3633
|
for (var r in t || (t = {}))
|
3632
|
-
|
3633
|
-
if (
|
3634
|
-
for (var r of
|
3635
|
-
|
3634
|
+
Vi.call(t, r) && Mt(e, r, t[r]);
|
3635
|
+
if (Nt)
|
3636
|
+
for (var r of Nt(t))
|
3637
|
+
Xi.call(t, r) && Mt(e, r, t[r]);
|
3636
3638
|
return e;
|
3637
|
-
},
|
3638
|
-
let
|
3639
|
+
}, zi = (e, t) => ji(e, ki(t));
|
3640
|
+
let tt;
|
3639
3641
|
const we = Ce(null);
|
3640
|
-
function
|
3642
|
+
function Rt(e) {
|
3641
3643
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3642
3644
|
}
|
3643
3645
|
function Be(e, t = re().fallbackLocale) {
|
3644
|
-
const r =
|
3645
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3646
|
+
const r = Rt(e);
|
3647
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
3646
3648
|
}
|
3647
3649
|
function W() {
|
3648
|
-
return
|
3650
|
+
return tt != null ? tt : void 0;
|
3649
3651
|
}
|
3650
3652
|
we.subscribe((e) => {
|
3651
|
-
|
3653
|
+
tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3652
3654
|
});
|
3653
|
-
const
|
3654
|
-
if (e &&
|
3655
|
+
const Zi = (e) => {
|
3656
|
+
if (e && Ni(e) && et(e)) {
|
3655
3657
|
const { loadingDelay: t } = re();
|
3656
3658
|
let r;
|
3657
3659
|
return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
|
3658
3660
|
() => De.set(!0),
|
3659
3661
|
t
|
3660
|
-
) : De.set(!0),
|
3662
|
+
) : De.set(!0), Tr(e).then(() => {
|
3661
3663
|
we.set(e);
|
3662
3664
|
}).finally(() => {
|
3663
3665
|
clearTimeout(r), De.set(!1);
|
3664
3666
|
});
|
3665
3667
|
}
|
3666
3668
|
return we.set(e);
|
3667
|
-
}, oe =
|
3668
|
-
set:
|
3669
|
+
}, oe = zi(Wi({}, we), {
|
3670
|
+
set: Zi
|
3669
3671
|
}), Ae = (e) => {
|
3670
3672
|
const t = /* @__PURE__ */ Object.create(null);
|
3671
3673
|
return (n) => {
|
@@ -3673,20 +3675,20 @@ const Xi = (e) => {
|
|
3673
3675
|
return i in t ? t[i] : t[i] = e(n);
|
3674
3676
|
};
|
3675
3677
|
};
|
3676
|
-
var
|
3678
|
+
var Qi = Object.defineProperty, Te = 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, ut = (e, t) => {
|
3677
3679
|
for (var r in t || (t = {}))
|
3678
|
-
|
3680
|
+
Hr.call(t, r) && $t(e, r, t[r]);
|
3679
3681
|
if (Te)
|
3680
3682
|
for (var r of Te(t))
|
3681
|
-
|
3683
|
+
Cr.call(t, r) && $t(e, r, t[r]);
|
3682
3684
|
return e;
|
3683
3685
|
}, se = (e, t) => {
|
3684
3686
|
var r = {};
|
3685
3687
|
for (var n in e)
|
3686
|
-
|
3688
|
+
Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3687
3689
|
if (e != null && Te)
|
3688
3690
|
for (var n of Te(e))
|
3689
|
-
t.indexOf(n) < 0 &&
|
3691
|
+
t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
|
3690
3692
|
return r;
|
3691
3693
|
};
|
3692
3694
|
const ce = (e, t) => {
|
@@ -3694,21 +3696,21 @@ const ce = (e, t) => {
|
|
3694
3696
|
if (e in r && t in r[e])
|
3695
3697
|
return r[e][t];
|
3696
3698
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3697
|
-
},
|
3699
|
+
}, qi = Ae(
|
3698
3700
|
(e) => {
|
3699
3701
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3700
3702
|
if (r == null)
|
3701
3703
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3702
3704
|
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
3703
3705
|
}
|
3704
|
-
),
|
3706
|
+
), Ji = Ae(
|
3705
3707
|
(e) => {
|
3706
3708
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3707
3709
|
if (r == null)
|
3708
3710
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3709
3711
|
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
3710
3712
|
}
|
3711
|
-
),
|
3713
|
+
), Yi = Ae(
|
3712
3714
|
(e) => {
|
3713
3715
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3714
3716
|
if (r == null)
|
@@ -3717,33 +3719,33 @@ const ce = (e, t) => {
|
|
3717
3719
|
);
|
3718
3720
|
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
3719
3721
|
}
|
3720
|
-
),
|
3722
|
+
), Ki = (e = {}) => {
|
3721
3723
|
var t = e, {
|
3722
3724
|
locale: r = W()
|
3723
3725
|
} = t, n = se(t, [
|
3724
3726
|
"locale"
|
3725
3727
|
]);
|
3726
|
-
return
|
3727
|
-
},
|
3728
|
+
return qi(ut({ locale: r }, n));
|
3729
|
+
}, eo = (e = {}) => {
|
3728
3730
|
var t = e, {
|
3729
3731
|
locale: r = W()
|
3730
3732
|
} = t, n = se(t, [
|
3731
3733
|
"locale"
|
3732
3734
|
]);
|
3733
|
-
return
|
3734
|
-
},
|
3735
|
+
return Ji(ut({ locale: r }, n));
|
3736
|
+
}, to = (e = {}) => {
|
3735
3737
|
var t = e, {
|
3736
3738
|
locale: r = W()
|
3737
3739
|
} = t, n = se(t, [
|
3738
3740
|
"locale"
|
3739
3741
|
]);
|
3740
|
-
return
|
3741
|
-
},
|
3742
|
+
return Yi(ut({ locale: r }, n));
|
3743
|
+
}, ro = Ae(
|
3742
3744
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3743
|
-
(e, t = W()) => new
|
3745
|
+
(e, t = W()) => new Bi(e, t, re().formats, {
|
3744
3746
|
ignoreTag: re().ignoreTag
|
3745
3747
|
})
|
3746
|
-
),
|
3748
|
+
), no = (e, t = {}) => {
|
3747
3749
|
var r, n, i, o;
|
3748
3750
|
let s = t;
|
3749
3751
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3756,7 +3758,7 @@ const ce = (e, t) => {
|
|
3756
3758
|
throw new Error(
|
3757
3759
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3758
3760
|
);
|
3759
|
-
let l =
|
3761
|
+
let l = Er(e, h);
|
3760
3762
|
if (!l)
|
3761
3763
|
l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3762
3764
|
else if (typeof l != "string")
|
@@ -3767,7 +3769,7 @@ const ce = (e, t) => {
|
|
3767
3769
|
return l;
|
3768
3770
|
let f = l;
|
3769
3771
|
try {
|
3770
|
-
f =
|
3772
|
+
f = ro(l, h).format(a);
|
3771
3773
|
} catch (c) {
|
3772
3774
|
c instanceof Error && console.warn(
|
3773
3775
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3775,18 +3777,18 @@ const ce = (e, t) => {
|
|
3775
3777
|
);
|
3776
3778
|
}
|
3777
3779
|
return f;
|
3778
|
-
},
|
3779
|
-
ie([oe], () =>
|
3780
|
-
ie([oe], () =>
|
3781
|
-
ie([oe], () =>
|
3782
|
-
ie([oe, fe], () =>
|
3783
|
-
function
|
3784
|
-
|
3785
|
-
}
|
3786
|
-
function
|
3780
|
+
}, io = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Ki(t).format(e), ao = (e, t = W()) => Er(e, t), lo = ie([oe, fe], () => no);
|
3781
|
+
ie([oe], () => io);
|
3782
|
+
ie([oe], () => oo);
|
3783
|
+
ie([oe], () => so);
|
3784
|
+
ie([oe, fe], () => ao);
|
3785
|
+
function Gt(e, t) {
|
3786
|
+
Sr(e, t);
|
3787
|
+
}
|
3788
|
+
function uo(e) {
|
3787
3789
|
oe.set(e);
|
3788
3790
|
}
|
3789
|
-
const
|
3791
|
+
const Ut = {
|
3790
3792
|
en: {
|
3791
3793
|
collections: "Game Collections",
|
3792
3794
|
providers: "Game Providers",
|
@@ -3886,13 +3888,13 @@ const Rt = {
|
|
3886
3888
|
function F(e) {
|
3887
3889
|
return typeof e == "function";
|
3888
3890
|
}
|
3889
|
-
function
|
3891
|
+
function Pr(e) {
|
3890
3892
|
var t = function(n) {
|
3891
3893
|
Error.call(n), n.stack = new Error().stack;
|
3892
3894
|
}, r = e(t);
|
3893
3895
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3894
3896
|
}
|
3895
|
-
var Fe =
|
3897
|
+
var Fe = Pr(function(e) {
|
3896
3898
|
return function(r) {
|
3897
3899
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3898
3900
|
` + r.map(function(n, i) {
|
@@ -3901,7 +3903,7 @@ var Fe = Tr(function(e) {
|
|
3901
3903
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3902
3904
|
};
|
3903
3905
|
});
|
3904
|
-
function
|
3906
|
+
function rt(e, t) {
|
3905
3907
|
if (e) {
|
3906
3908
|
var r = e.indexOf(t);
|
3907
3909
|
0 <= r && e.splice(r, 1);
|
@@ -3919,7 +3921,7 @@ var Oe = function() {
|
|
3919
3921
|
if (s)
|
3920
3922
|
if (this._parentage = null, Array.isArray(s))
|
3921
3923
|
try {
|
3922
|
-
for (var a =
|
3924
|
+
for (var a = We(s), h = a.next(); !h.done; h = a.next()) {
|
3923
3925
|
var u = h.value;
|
3924
3926
|
u.remove(this);
|
3925
3927
|
}
|
@@ -3946,12 +3948,12 @@ var Oe = function() {
|
|
3946
3948
|
if (f) {
|
3947
3949
|
this._finalizers = null;
|
3948
3950
|
try {
|
3949
|
-
for (var c =
|
3951
|
+
for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
|
3950
3952
|
var m = d.value;
|
3951
3953
|
try {
|
3952
|
-
|
3954
|
+
Dt(m);
|
3953
3955
|
} catch (b) {
|
3954
|
-
o = o != null ? o : [], b instanceof Fe ? o = Y(Y([],
|
3956
|
+
o = o != null ? o : [], b instanceof Fe ? o = Y(Y([], ze(o)), ze(b.errors)) : o.push(b);
|
3955
3957
|
}
|
3956
3958
|
}
|
3957
3959
|
} catch (b) {
|
@@ -3972,7 +3974,7 @@ var Oe = function() {
|
|
3972
3974
|
var r;
|
3973
3975
|
if (t && t !== this)
|
3974
3976
|
if (this.closed)
|
3975
|
-
|
3977
|
+
Dt(t);
|
3976
3978
|
else {
|
3977
3979
|
if (t instanceof e) {
|
3978
3980
|
if (t.closed || t._hasParent(this))
|
@@ -3989,52 +3991,56 @@ var Oe = function() {
|
|
3989
3991
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3990
3992
|
}, e.prototype._removeParent = function(t) {
|
3991
3993
|
var r = this._parentage;
|
3992
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3994
|
+
r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
|
3993
3995
|
}, e.prototype.remove = function(t) {
|
3994
3996
|
var r = this._finalizers;
|
3995
|
-
r &&
|
3997
|
+
r && rt(r, t), t instanceof e && t._removeParent(this);
|
3996
3998
|
}, e.EMPTY = function() {
|
3997
3999
|
var t = new e();
|
3998
4000
|
return t.closed = !0, t;
|
3999
4001
|
}(), e;
|
4000
|
-
}(),
|
4001
|
-
function
|
4002
|
+
}(), Br = Oe.EMPTY;
|
4003
|
+
function Ar(e) {
|
4002
4004
|
return e instanceof Oe || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
|
4003
4005
|
}
|
4004
|
-
function
|
4006
|
+
function Dt(e) {
|
4005
4007
|
F(e) ? e() : e.unsubscribe();
|
4006
4008
|
}
|
4007
|
-
var
|
4008
|
-
|
4009
|
-
|
4009
|
+
var Or = {
|
4010
|
+
onUnhandledError: null,
|
4011
|
+
onStoppedNotification: null,
|
4012
|
+
Promise: void 0,
|
4013
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
4014
|
+
useDeprecatedNextContext: !1
|
4015
|
+
}, ho = {
|
4010
4016
|
setTimeout: function(e, t) {
|
4011
4017
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4012
4018
|
r[n - 2] = arguments[n];
|
4013
|
-
return setTimeout.apply(void 0, Y([e, t],
|
4019
|
+
return setTimeout.apply(void 0, Y([e, t], ze(r)));
|
4014
4020
|
},
|
4015
4021
|
clearTimeout: function(e) {
|
4016
4022
|
return clearTimeout(e);
|
4017
4023
|
},
|
4018
4024
|
delegate: void 0
|
4019
4025
|
};
|
4020
|
-
function
|
4021
|
-
|
4026
|
+
function co(e) {
|
4027
|
+
ho.setTimeout(function() {
|
4022
4028
|
throw e;
|
4023
4029
|
});
|
4024
4030
|
}
|
4025
|
-
function
|
4031
|
+
function Ft() {
|
4026
4032
|
}
|
4027
4033
|
function ye(e) {
|
4028
4034
|
e();
|
4029
4035
|
}
|
4030
|
-
var
|
4036
|
+
var Lr = function(e) {
|
4031
4037
|
j(t, e);
|
4032
4038
|
function t(r) {
|
4033
4039
|
var n = e.call(this) || this;
|
4034
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4040
|
+
return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = bo, n;
|
4035
4041
|
}
|
4036
4042
|
return t.create = function(r, n, i) {
|
4037
|
-
return new
|
4043
|
+
return new nt(r, n, i);
|
4038
4044
|
}, t.prototype.next = function(r) {
|
4039
4045
|
this.isStopped || this._next(r);
|
4040
4046
|
}, t.prototype.error = function(r) {
|
@@ -4058,7 +4064,11 @@ var Pr = function(e) {
|
|
4058
4064
|
this.unsubscribe();
|
4059
4065
|
}
|
4060
4066
|
}, t;
|
4061
|
-
}(Oe),
|
4067
|
+
}(Oe), fo = Function.prototype.bind;
|
4068
|
+
function je(e, t) {
|
4069
|
+
return fo.call(e, t);
|
4070
|
+
}
|
4071
|
+
var po = function() {
|
4062
4072
|
function e(t) {
|
4063
4073
|
this.partialObserver = t;
|
4064
4074
|
}
|
@@ -4089,43 +4099,55 @@ var Pr = function(e) {
|
|
4089
4099
|
me(r);
|
4090
4100
|
}
|
4091
4101
|
}, e;
|
4092
|
-
}(),
|
4102
|
+
}(), nt = function(e) {
|
4093
4103
|
j(t, e);
|
4094
4104
|
function t(r, n, i) {
|
4095
4105
|
var o = e.call(this) || this, s;
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4099
|
-
|
4100
|
-
|
4106
|
+
if (F(r) || !r)
|
4107
|
+
s = {
|
4108
|
+
next: r != null ? r : void 0,
|
4109
|
+
error: n != null ? n : void 0,
|
4110
|
+
complete: i != null ? i : void 0
|
4111
|
+
};
|
4112
|
+
else {
|
4113
|
+
var a;
|
4114
|
+
o && Or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4115
|
+
return o.unsubscribe();
|
4116
|
+
}, s = {
|
4117
|
+
next: r.next && je(r.next, a),
|
4118
|
+
error: r.error && je(r.error, a),
|
4119
|
+
complete: r.complete && je(r.complete, a)
|
4120
|
+
}) : s = r;
|
4121
|
+
}
|
4122
|
+
return o.destination = new po(s), o;
|
4101
4123
|
}
|
4102
4124
|
return t;
|
4103
|
-
}(
|
4125
|
+
}(Lr);
|
4104
4126
|
function me(e) {
|
4105
|
-
|
4127
|
+
co(e);
|
4106
4128
|
}
|
4107
|
-
function
|
4129
|
+
function mo(e) {
|
4108
4130
|
throw e;
|
4109
4131
|
}
|
4110
|
-
var
|
4132
|
+
var bo = {
|
4111
4133
|
closed: !0,
|
4112
|
-
next:
|
4113
|
-
error:
|
4114
|
-
complete:
|
4115
|
-
},
|
4134
|
+
next: Ft,
|
4135
|
+
error: mo,
|
4136
|
+
complete: Ft
|
4137
|
+
}, go = function() {
|
4116
4138
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4117
4139
|
}();
|
4118
|
-
function
|
4140
|
+
function vo(e) {
|
4119
4141
|
return e;
|
4120
4142
|
}
|
4121
|
-
function
|
4122
|
-
return e.length === 0 ?
|
4143
|
+
function yo(e) {
|
4144
|
+
return e.length === 0 ? vo : e.length === 1 ? e[0] : function(r) {
|
4123
4145
|
return e.reduce(function(n, i) {
|
4124
4146
|
return i(n);
|
4125
4147
|
}, r);
|
4126
4148
|
};
|
4127
4149
|
}
|
4128
|
-
var
|
4150
|
+
var jt = function() {
|
4129
4151
|
function e(t) {
|
4130
4152
|
t && (this._subscribe = t);
|
4131
4153
|
}
|
@@ -4133,7 +4155,7 @@ var Ut = function() {
|
|
4133
4155
|
var r = new e();
|
4134
4156
|
return r.source = this, r.operator = t, r;
|
4135
4157
|
}, e.prototype.subscribe = function(t, r, n) {
|
4136
|
-
var i = this, o =
|
4158
|
+
var i = this, o = Eo(t) ? t : new nt(t, r, n);
|
4137
4159
|
return ye(function() {
|
4138
4160
|
var s = i, a = s.operator, h = s.source;
|
4139
4161
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4146,8 +4168,8 @@ var Ut = function() {
|
|
4146
4168
|
}
|
4147
4169
|
}, e.prototype.forEach = function(t, r) {
|
4148
4170
|
var n = this;
|
4149
|
-
return r =
|
4150
|
-
var s = new
|
4171
|
+
return r = kt(r), new r(function(i, o) {
|
4172
|
+
var s = new nt({
|
4151
4173
|
next: function(a) {
|
4152
4174
|
try {
|
4153
4175
|
t(a);
|
@@ -4163,15 +4185,15 @@ var Ut = function() {
|
|
4163
4185
|
}, e.prototype._subscribe = function(t) {
|
4164
4186
|
var r;
|
4165
4187
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4166
|
-
}, e.prototype[
|
4188
|
+
}, e.prototype[go] = function() {
|
4167
4189
|
return this;
|
4168
4190
|
}, e.prototype.pipe = function() {
|
4169
4191
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4170
4192
|
t[r] = arguments[r];
|
4171
|
-
return
|
4193
|
+
return yo(t)(this);
|
4172
4194
|
}, e.prototype.toPromise = function(t) {
|
4173
4195
|
var r = this;
|
4174
|
-
return t =
|
4196
|
+
return t = kt(t), new t(function(n, i) {
|
4175
4197
|
var o;
|
4176
4198
|
r.subscribe(function(s) {
|
4177
4199
|
return o = s;
|
@@ -4185,32 +4207,32 @@ var Ut = function() {
|
|
4185
4207
|
return new e(t);
|
4186
4208
|
}, e;
|
4187
4209
|
}();
|
4188
|
-
function
|
4210
|
+
function kt(e) {
|
4189
4211
|
var t;
|
4190
|
-
return (t = e != null ? e :
|
4212
|
+
return (t = e != null ? e : Or.Promise) !== null && t !== void 0 ? t : Promise;
|
4191
4213
|
}
|
4192
|
-
function
|
4214
|
+
function _o(e) {
|
4193
4215
|
return e && F(e.next) && F(e.error) && F(e.complete);
|
4194
4216
|
}
|
4195
|
-
function
|
4196
|
-
return e && e instanceof
|
4217
|
+
function Eo(e) {
|
4218
|
+
return e && e instanceof Lr || _o(e) && Ar(e);
|
4197
4219
|
}
|
4198
|
-
var
|
4220
|
+
var xo = Pr(function(e) {
|
4199
4221
|
return function() {
|
4200
4222
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4201
4223
|
};
|
4202
|
-
}),
|
4224
|
+
}), Ir = function(e) {
|
4203
4225
|
j(t, e);
|
4204
4226
|
function t() {
|
4205
4227
|
var r = e.call(this) || this;
|
4206
4228
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4207
4229
|
}
|
4208
4230
|
return t.prototype.lift = function(r) {
|
4209
|
-
var n = new
|
4231
|
+
var n = new Vt(this, this);
|
4210
4232
|
return n.operator = r, n;
|
4211
4233
|
}, t.prototype._throwIfClosed = function() {
|
4212
4234
|
if (this.closed)
|
4213
|
-
throw new
|
4235
|
+
throw new xo();
|
4214
4236
|
}, t.prototype.next = function(r) {
|
4215
4237
|
var n = this;
|
4216
4238
|
ye(function() {
|
@@ -4218,7 +4240,7 @@ var yo = Tr(function(e) {
|
|
4218
4240
|
if (n._throwIfClosed(), !n.isStopped) {
|
4219
4241
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4220
4242
|
try {
|
4221
|
-
for (var s =
|
4243
|
+
for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4222
4244
|
var h = a.value;
|
4223
4245
|
h.next(r);
|
4224
4246
|
}
|
@@ -4267,19 +4289,19 @@ var yo = Tr(function(e) {
|
|
4267
4289
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4268
4290
|
}, t.prototype._innerSubscribe = function(r) {
|
4269
4291
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4270
|
-
return o || s ?
|
4271
|
-
n.currentObservers = null,
|
4292
|
+
return o || s ? Br : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4293
|
+
n.currentObservers = null, rt(a, r);
|
4272
4294
|
}));
|
4273
4295
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4274
4296
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4275
4297
|
i ? r.error(o) : s && r.complete();
|
4276
4298
|
}, t.prototype.asObservable = function() {
|
4277
|
-
var r = new
|
4299
|
+
var r = new jt();
|
4278
4300
|
return r.source = this, r;
|
4279
4301
|
}, t.create = function(r, n) {
|
4280
|
-
return new
|
4302
|
+
return new Vt(r, n);
|
4281
4303
|
}, t;
|
4282
|
-
}(
|
4304
|
+
}(jt), Vt = function(e) {
|
4283
4305
|
j(t, e);
|
4284
4306
|
function t(r, n) {
|
4285
4307
|
var i = e.call(this) || this;
|
@@ -4296,17 +4318,17 @@ var yo = Tr(function(e) {
|
|
4296
4318
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4297
4319
|
}, t.prototype._subscribe = function(r) {
|
4298
4320
|
var n, i;
|
4299
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4321
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Br;
|
4300
4322
|
}, t;
|
4301
|
-
}(
|
4323
|
+
}(Ir), Nr = {
|
4302
4324
|
now: function() {
|
4303
|
-
return (
|
4325
|
+
return (Nr.delegate || Date).now();
|
4304
4326
|
},
|
4305
4327
|
delegate: void 0
|
4306
|
-
},
|
4328
|
+
}, So = function(e) {
|
4307
4329
|
j(t, e);
|
4308
4330
|
function t(r, n, i) {
|
4309
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4331
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
|
4310
4332
|
var o = e.call(this) || this;
|
4311
4333
|
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;
|
4312
4334
|
}
|
@@ -4326,23 +4348,23 @@ var yo = Tr(function(e) {
|
|
4326
4348
|
u && o.splice(0, u + 1);
|
4327
4349
|
}
|
4328
4350
|
}, t;
|
4329
|
-
}(
|
4330
|
-
const
|
4331
|
-
if (
|
4332
|
-
const r = new
|
4333
|
-
|
4351
|
+
}(Ir);
|
4352
|
+
const Xt = [], Wt = {}, wo = (e, t = 0) => {
|
4353
|
+
if (Xt.indexOf(e) == -1) {
|
4354
|
+
const r = new So(t);
|
4355
|
+
Wt[e] = r, Xt.push(e);
|
4334
4356
|
}
|
4335
|
-
return
|
4357
|
+
return Wt[e];
|
4336
4358
|
};
|
4337
|
-
window.emWidgets = { topic:
|
4338
|
-
const
|
4339
|
-
function
|
4359
|
+
window.emWidgets = { topic: wo };
|
4360
|
+
const To = (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));
|
4361
|
+
function Ho(e, t) {
|
4340
4362
|
if (e) {
|
4341
4363
|
const r = document.createElement("style");
|
4342
4364
|
r.innerHTML = t, e.appendChild(r);
|
4343
4365
|
}
|
4344
4366
|
}
|
4345
|
-
function
|
4367
|
+
function Co(e, t) {
|
4346
4368
|
const r = new URL(t);
|
4347
4369
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4348
4370
|
const i = document.createElement("style");
|
@@ -4351,7 +4373,7 @@ function wo(e, t) {
|
|
4351
4373
|
console.error("There was an error while trying to load client styling from URL", n);
|
4352
4374
|
});
|
4353
4375
|
}
|
4354
|
-
function
|
4376
|
+
function Po(e, t, r) {
|
4355
4377
|
if (window.emMessageBus) {
|
4356
4378
|
const n = document.createElement("style");
|
4357
4379
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4359,18 +4381,18 @@ function To(e, t, r) {
|
|
4359
4381
|
});
|
4360
4382
|
}
|
4361
4383
|
}
|
4362
|
-
function
|
4363
|
-
|
4384
|
+
function Bo(e) {
|
4385
|
+
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)}}');
|
4364
4386
|
}
|
4365
|
-
function
|
4387
|
+
function zt(e, t, r) {
|
4366
4388
|
const n = e.slice();
|
4367
4389
|
return n[41] = t[r], n;
|
4368
4390
|
}
|
4369
|
-
function
|
4391
|
+
function Zt(e, t, r) {
|
4370
4392
|
const n = e.slice();
|
4371
4393
|
return n[44] = t[r], n;
|
4372
4394
|
}
|
4373
|
-
function
|
4395
|
+
function Ao(e) {
|
4374
4396
|
let t, r, n, i = (
|
4375
4397
|
/*type*/
|
4376
4398
|
(e[0] === "vendor" ? (
|
@@ -4383,13 +4405,13 @@ function Co(e) {
|
|
4383
4405
|
), o, s, a, h, u, l = (
|
4384
4406
|
/*numberOfSlides*/
|
4385
4407
|
e[7] > /*numberOfVisibleSlides*/
|
4386
|
-
e[8] &&
|
4408
|
+
e[8] && Qt(e)
|
4387
4409
|
), f = Se(
|
4388
4410
|
/*gameCategories*/
|
4389
4411
|
e[3]
|
4390
4412
|
), c = [];
|
4391
4413
|
for (let d = 0; d < f.length; d += 1)
|
4392
|
-
c[d] =
|
4414
|
+
c[d] = Yt(zt(e, f, d));
|
4393
4415
|
return {
|
4394
4416
|
c() {
|
4395
4417
|
t = C("div"), r = C("div"), n = C("p"), o = He(i), s = X(), l && l.c(), a = X(), h = C("div");
|
@@ -4414,9 +4436,9 @@ function Co(e) {
|
|
4414
4436
|
) : (
|
4415
4437
|
/*$_*/
|
4416
4438
|
d[10]("collections")
|
4417
|
-
)) + "") &&
|
4439
|
+
)) + "") && ot(o, i), /*numberOfSlides*/
|
4418
4440
|
d[7] > /*numberOfVisibleSlides*/
|
4419
|
-
d[8] ? l ? l.p(d, m) : (l =
|
4441
|
+
d[8] ? l ? l.p(d, m) : (l = Qt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4420
4442
|
24590) {
|
4421
4443
|
f = Se(
|
4422
4444
|
/*gameCategories*/
|
@@ -4424,8 +4446,8 @@ function Co(e) {
|
|
4424
4446
|
);
|
4425
4447
|
let b;
|
4426
4448
|
for (b = 0; b < f.length; b += 1) {
|
4427
|
-
const g =
|
4428
|
-
c[b] ? c[b].p(g, m) : (c[b] =
|
4449
|
+
const g = zt(d, f, b);
|
4450
|
+
c[b] ? c[b].p(g, m) : (c[b] = Yt(g), c[b].c(), c[b].m(h, null));
|
4429
4451
|
}
|
4430
4452
|
for (; b < c.length; b += 1)
|
4431
4453
|
c[b].d(1);
|
@@ -4437,11 +4459,11 @@ function Co(e) {
|
|
4437
4459
|
(d[0] === "vendor" ? "Providers" : "Collections")) && P(t, "class", u);
|
4438
4460
|
},
|
4439
4461
|
d(d) {
|
4440
|
-
d && R(t), l && l.d(),
|
4462
|
+
d && R(t), l && l.d(), rr(c, d), e[25](null);
|
4441
4463
|
}
|
4442
4464
|
};
|
4443
4465
|
}
|
4444
|
-
function
|
4466
|
+
function Oo(e) {
|
4445
4467
|
let t;
|
4446
4468
|
return {
|
4447
4469
|
c() {
|
@@ -4456,7 +4478,7 @@ function Po(e) {
|
|
4456
4478
|
}
|
4457
4479
|
};
|
4458
4480
|
}
|
4459
|
-
function
|
4481
|
+
function Qt(e) {
|
4460
4482
|
let t, r, n, i, o, s;
|
4461
4483
|
return {
|
4462
4484
|
c() {
|
@@ -4464,13 +4486,13 @@ function Wt(e) {
|
|
4464
4486
|
},
|
4465
4487
|
m(a, h) {
|
4466
4488
|
U(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
|
4467
|
-
|
4489
|
+
Ee(
|
4468
4490
|
r,
|
4469
4491
|
"click",
|
4470
4492
|
/*sliderScrollLeft*/
|
4471
4493
|
e[11]
|
4472
4494
|
),
|
4473
|
-
|
4495
|
+
Ee(
|
4474
4496
|
i,
|
4475
4497
|
"click",
|
4476
4498
|
/*sliderScrollRight*/
|
@@ -4484,7 +4506,7 @@ function Wt(e) {
|
|
4484
4506
|
}
|
4485
4507
|
};
|
4486
4508
|
}
|
4487
|
-
function
|
4509
|
+
function Lo(e) {
|
4488
4510
|
let t, r = (
|
4489
4511
|
/*category*/
|
4490
4512
|
e[41].name + ""
|
@@ -4499,14 +4521,14 @@ function Bo(e) {
|
|
4499
4521
|
p(i, o) {
|
4500
4522
|
o[0] & /*gameCategories*/
|
4501
4523
|
8 && r !== (r = /*category*/
|
4502
|
-
i[41].name + "") &&
|
4524
|
+
i[41].name + "") && ot(n, r);
|
4503
4525
|
},
|
4504
4526
|
d(i) {
|
4505
4527
|
i && R(t);
|
4506
4528
|
}
|
4507
4529
|
};
|
4508
4530
|
}
|
4509
|
-
function
|
4531
|
+
function Io(e) {
|
4510
4532
|
let t, r, n;
|
4511
4533
|
return {
|
4512
4534
|
c() {
|
@@ -4529,7 +4551,7 @@ function Ao(e) {
|
|
4529
4551
|
}
|
4530
4552
|
};
|
4531
4553
|
}
|
4532
|
-
function
|
4554
|
+
function qt(e) {
|
4533
4555
|
let t, r = (
|
4534
4556
|
/*game*/
|
4535
4557
|
e[44].name + ""
|
@@ -4545,7 +4567,7 @@ function zt(e) {
|
|
4545
4567
|
p(o, s) {
|
4546
4568
|
s[0] & /*gameCategories*/
|
4547
4569
|
8 && r !== (r = /*game*/
|
4548
|
-
o[44].name + "") &&
|
4570
|
+
o[44].name + "") && ot(n, r), s[0] & /*gameCategories*/
|
4549
4571
|
8 && i !== (i = /*game*/
|
4550
4572
|
o[44].name) && P(t, "title", i);
|
4551
4573
|
},
|
@@ -4554,7 +4576,7 @@ function zt(e) {
|
|
4554
4576
|
}
|
4555
4577
|
};
|
4556
4578
|
}
|
4557
|
-
function
|
4579
|
+
function Jt(e) {
|
4558
4580
|
let t, r, n, i, o, s, a, h;
|
4559
4581
|
function u() {
|
4560
4582
|
return (
|
@@ -4567,7 +4589,7 @@ function Zt(e) {
|
|
4567
4589
|
}
|
4568
4590
|
let l = (
|
4569
4591
|
/*collectionprovidersgamenames*/
|
4570
|
-
e[2] == "true" &&
|
4592
|
+
e[2] == "true" && qt(e)
|
4571
4593
|
);
|
4572
4594
|
return {
|
4573
4595
|
c() {
|
@@ -4576,7 +4598,7 @@ function Zt(e) {
|
|
4576
4598
|
e[44].name), P(t, "class", "CategorySlideGames");
|
4577
4599
|
},
|
4578
4600
|
m(f, c) {
|
4579
|
-
U(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h =
|
4601
|
+
U(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = Ee(r, "click", nn(u)), a = !0);
|
4580
4602
|
},
|
4581
4603
|
p(f, c) {
|
4582
4604
|
e = f, c[0] & /*gameCategories*/
|
@@ -4584,33 +4606,33 @@ function Zt(e) {
|
|
4584
4606
|
e[44].defaultThumbnail) && G(r, "src", n), c[0] & /*gameCategories*/
|
4585
4607
|
8 && i !== (i = /*game*/
|
4586
4608
|
e[44].name) && G(r, "alt", i), /*collectionprovidersgamenames*/
|
4587
|
-
e[2] == "true" ? l ? l.p(e, c) : (l =
|
4609
|
+
e[2] == "true" ? l ? l.p(e, c) : (l = qt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4588
4610
|
},
|
4589
4611
|
d(f) {
|
4590
4612
|
f && R(t), l && l.d(), a = !1, h();
|
4591
4613
|
}
|
4592
4614
|
};
|
4593
4615
|
}
|
4594
|
-
function
|
4616
|
+
function Yt(e) {
|
4595
4617
|
let t, r, n, i, o, s, a, h, u;
|
4596
|
-
function l(g,
|
4618
|
+
function l(g, E) {
|
4597
4619
|
if (
|
4598
4620
|
/*titletype*/
|
4599
4621
|
g[1] === "logo"
|
4600
4622
|
)
|
4601
|
-
return
|
4623
|
+
return Io;
|
4602
4624
|
if (
|
4603
4625
|
/*titletype*/
|
4604
4626
|
g[1] === "title"
|
4605
4627
|
)
|
4606
|
-
return
|
4628
|
+
return Lo;
|
4607
4629
|
}
|
4608
4630
|
let f = l(e), c = f && f(e), d = Se(
|
4609
4631
|
/*category*/
|
4610
4632
|
e[41].games
|
4611
4633
|
), m = [];
|
4612
4634
|
for (let g = 0; g < d.length; g += 1)
|
4613
|
-
m[g] = Zt(
|
4635
|
+
m[g] = Jt(Zt(e, d, g));
|
4614
4636
|
function b() {
|
4615
4637
|
return (
|
4616
4638
|
/*click_handler_1*/
|
@@ -4622,23 +4644,23 @@ function Qt(e) {
|
|
4622
4644
|
}
|
4623
4645
|
return {
|
4624
4646
|
c() {
|
4625
|
-
var g,
|
4647
|
+
var g, E;
|
4626
4648
|
t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = X(), o = C("div");
|
4627
|
-
for (let
|
4628
|
-
m[
|
4649
|
+
for (let x = 0; x < m.length; x += 1)
|
4650
|
+
m[x].c();
|
4629
4651
|
a = X(), P(n, "class", "CategorySlideTopContainer"), P(o, "class", "CategorySlideGameContainer"), P(r, "class", s = "CategorySlide " + /*category*/
|
4630
4652
|
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
|
4631
|
-
((
|
4653
|
+
((E = e[41]) == null ? void 0 : E.background) + ")"), Ne(r, "background-size", "cover"), P(t, "class", "CategoriesSliderWrapper Animation");
|
4632
4654
|
},
|
4633
|
-
m(g,
|
4634
|
-
U(g, t,
|
4635
|
-
for (let
|
4636
|
-
m[
|
4637
|
-
H(t, a), h || (u =
|
4655
|
+
m(g, E) {
|
4656
|
+
U(g, t, E), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
|
4657
|
+
for (let x = 0; x < m.length; x += 1)
|
4658
|
+
m[x] && m[x].m(o, null);
|
4659
|
+
H(t, a), h || (u = Ee(r, "click", b), h = !0);
|
4638
4660
|
},
|
4639
|
-
p(g,
|
4640
|
-
var
|
4641
|
-
if (e = g, f === (f = l(e)) && c ? c.p(e,
|
4661
|
+
p(g, E) {
|
4662
|
+
var x, w;
|
4663
|
+
if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4642
4664
|
8204) {
|
4643
4665
|
d = Se(
|
4644
4666
|
/*category*/
|
@@ -4646,30 +4668,30 @@ function Qt(e) {
|
|
4646
4668
|
);
|
4647
4669
|
let T;
|
4648
4670
|
for (T = 0; T < d.length; T += 1) {
|
4649
|
-
const O =
|
4650
|
-
m[T] ? m[T].p(O,
|
4671
|
+
const O = Zt(e, d, T);
|
4672
|
+
m[T] ? m[T].p(O, E) : (m[T] = Jt(O), m[T].c(), m[T].m(o, null));
|
4651
4673
|
}
|
4652
4674
|
for (; T < m.length; T += 1)
|
4653
4675
|
m[T].d(1);
|
4654
4676
|
m.length = d.length;
|
4655
4677
|
}
|
4656
|
-
|
4678
|
+
E[0] & /*gameCategories*/
|
4657
4679
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4658
|
-
(((
|
4680
|
+
(((x = e[41]) == null ? void 0 : x.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && P(r, "class", s), E[0] & /*gameCategories*/
|
4659
4681
|
8 && Ne(r, "background-image", "url(" + /*category*/
|
4660
4682
|
((w = e[41]) == null ? void 0 : w.background) + ")");
|
4661
4683
|
},
|
4662
4684
|
d(g) {
|
4663
|
-
g && R(t), c && c.d(),
|
4685
|
+
g && R(t), c && c.d(), rr(m, g), h = !1, u();
|
4664
4686
|
}
|
4665
4687
|
};
|
4666
4688
|
}
|
4667
|
-
function
|
4689
|
+
function No(e) {
|
4668
4690
|
let t;
|
4669
4691
|
function r(o, s) {
|
4670
4692
|
return (
|
4671
4693
|
/*isLoading*/
|
4672
|
-
o[6] ?
|
4694
|
+
o[6] ? Oo : Ao
|
4673
4695
|
);
|
4674
4696
|
}
|
4675
4697
|
let n = r(e), i = n(e);
|
@@ -4690,56 +4712,56 @@ function Oo(e) {
|
|
4690
4712
|
}
|
4691
4713
|
};
|
4692
4714
|
}
|
4693
|
-
function
|
4715
|
+
function Mo(e, t, r) {
|
4694
4716
|
let n;
|
4695
|
-
|
4696
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g,
|
4697
|
-
const
|
4717
|
+
Kr(e, lo, (p) => r(10, n = p));
|
4718
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, x = 0, w = 0, T, O, V = 0, z = 50, Le = !1, $, Mr = window.navigator.userAgent, ht;
|
4719
|
+
const Rr = () => {
|
4698
4720
|
fetch(f).then((B) => B.json()).then((B) => {
|
4699
4721
|
Object.keys(B).forEach((D) => {
|
4700
|
-
|
4722
|
+
Gt(D, B[D]);
|
4701
4723
|
});
|
4702
4724
|
}).catch((B) => {
|
4703
4725
|
console.log(B);
|
4704
4726
|
});
|
4705
4727
|
};
|
4706
|
-
Object.keys(
|
4707
|
-
|
4728
|
+
Object.keys(Ut).forEach((p) => {
|
4729
|
+
Gt(p, Ut[p]);
|
4708
4730
|
});
|
4709
|
-
const
|
4731
|
+
const ct = () => {
|
4710
4732
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4711
4733
|
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${V},limit=${z}`), fetch(p.href).then((B) => B.json()).then((B) => {
|
4712
4734
|
r(6, b = !1), B.total > z && (V += 50, z += 50, r(22, Le = !0));
|
4713
4735
|
let D = B.items.map((L) => {
|
4714
|
-
var
|
4736
|
+
var bt, gt, vt;
|
4715
4737
|
return {
|
4716
4738
|
id: L.id,
|
4717
4739
|
name: L.name,
|
4718
|
-
icon: L.icon ? L.icon : (
|
4719
|
-
games: L.games.items.slice(0, 4).map((
|
4740
|
+
icon: L.icon ? L.icon : (vt = (gt = (bt = L.vendors) == null ? void 0 : bt.items[0]) == null ? void 0 : gt.subVendors[0]) == null ? void 0 : vt.logo,
|
4741
|
+
games: L.games.items.slice(0, 4).map((Wr) => Wr),
|
4720
4742
|
background: L.background,
|
4721
4743
|
flag: L.flags
|
4722
4744
|
};
|
4723
4745
|
});
|
4724
|
-
r(3, m = [...m, ...D]), r(7,
|
4746
|
+
r(3, m = [...m, ...D]), r(7, x = m.length), $r();
|
4725
4747
|
});
|
4726
|
-
},
|
4748
|
+
}, $r = () => {
|
4727
4749
|
const p = $.getRootNode().host;
|
4728
4750
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4729
|
-
},
|
4751
|
+
}, ft = (p) => {
|
4730
4752
|
var B;
|
4731
4753
|
O = [...g.children], O.forEach((D, L) => {
|
4732
4754
|
D.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
|
4733
|
-
}), T = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width,
|
4734
|
-
},
|
4755
|
+
}), T = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Gr();
|
4756
|
+
}, Gr = () => {
|
4735
4757
|
r(8, w = Math.floor(g.clientWidth / T));
|
4736
|
-
},
|
4737
|
-
|
4738
|
-
},
|
4739
|
-
|
4740
|
-
},
|
4741
|
-
|
4742
|
-
},
|
4758
|
+
}, dt = () => {
|
4759
|
+
ft(E);
|
4760
|
+
}, Ur = () => {
|
4761
|
+
E === 0 ? E = x - w : E - w < -1 ? E = 0 : E--, dt();
|
4762
|
+
}, Dr = () => {
|
4763
|
+
E === x - w ? E = 0 : x - w < E + 1 ? E = x - w : E++, dt();
|
4764
|
+
}, pt = (p, B, D, L) => {
|
4743
4765
|
window.postMessage(
|
4744
4766
|
{
|
4745
4767
|
type: "OpenCollectionsProvidersGame",
|
@@ -4753,7 +4775,7 @@ function Lo(e, t, r) {
|
|
4753
4775
|
context: "CollectionsProviders",
|
4754
4776
|
gameName: `${D}`
|
4755
4777
|
});
|
4756
|
-
},
|
4778
|
+
}, mt = (p) => {
|
4757
4779
|
window.postMessage(
|
4758
4780
|
{
|
4759
4781
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4761,19 +4783,19 @@ function Lo(e, t, r) {
|
|
4761
4783
|
},
|
4762
4784
|
window.location.href
|
4763
4785
|
);
|
4764
|
-
},
|
4765
|
-
|
4786
|
+
}, Fr = () => {
|
4787
|
+
uo(s);
|
4766
4788
|
};
|
4767
|
-
|
4789
|
+
ln(() => (r(9, ht = To(Mr)), () => {
|
4768
4790
|
}));
|
4769
|
-
const
|
4770
|
-
function
|
4771
|
-
|
4791
|
+
const jr = (p) => pt(p.gameId, p.launchUrl, p.name, p.subVendor), kr = (p) => mt(p.id);
|
4792
|
+
function Vr(p) {
|
4793
|
+
xe[p ? "unshift" : "push"](() => {
|
4772
4794
|
g = p, r(4, g);
|
4773
4795
|
});
|
4774
4796
|
}
|
4775
|
-
function
|
4776
|
-
|
4797
|
+
function Xr(p) {
|
4798
|
+
xe[p ? "unshift" : "push"](() => {
|
4777
4799
|
$ = p, r(5, $);
|
4778
4800
|
});
|
4779
4801
|
}
|
@@ -4781,14 +4803,14 @@ function Lo(e, t, r) {
|
|
4781
4803
|
"endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
|
4782
4804
|
}, e.$$.update = () => {
|
4783
4805
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4784
|
-
229376 && i && o && s &&
|
4785
|
-
24 && m && g &&
|
4786
|
-
131072 && s &&
|
4787
|
-
262176 && u && $ &&
|
4788
|
-
524320 && l && $ &&
|
4789
|
-
2097184 && $ &&
|
4790
|
-
1048576 && f &&
|
4791
|
-
4194304 && Le &&
|
4806
|
+
229376 && i && o && s && ct(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4807
|
+
24 && m && g && ft(), e.$$.dirty[0] & /*lang*/
|
4808
|
+
131072 && s && Fr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4809
|
+
262176 && u && $ && Ho($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4810
|
+
524320 && l && $ && Co($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4811
|
+
2097184 && $ && Po($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4812
|
+
1048576 && f && Rr(), e.$$.dirty[0] & /*paginationrequired*/
|
4813
|
+
4194304 && Le && ct();
|
4792
4814
|
}, [
|
4793
4815
|
a,
|
4794
4816
|
h,
|
@@ -4797,14 +4819,14 @@ function Lo(e, t, r) {
|
|
4797
4819
|
g,
|
4798
4820
|
$,
|
4799
4821
|
b,
|
4800
|
-
|
4822
|
+
x,
|
4801
4823
|
w,
|
4802
|
-
|
4824
|
+
ht,
|
4803
4825
|
n,
|
4804
|
-
|
4805
|
-
|
4806
|
-
|
4807
|
-
|
4826
|
+
Ur,
|
4827
|
+
Dr,
|
4828
|
+
pt,
|
4829
|
+
mt,
|
4808
4830
|
i,
|
4809
4831
|
o,
|
4810
4832
|
s,
|
@@ -4813,20 +4835,20 @@ function Lo(e, t, r) {
|
|
4813
4835
|
f,
|
4814
4836
|
d,
|
4815
4837
|
Le,
|
4816
|
-
|
4817
|
-
|
4818
|
-
|
4819
|
-
|
4838
|
+
jr,
|
4839
|
+
kr,
|
4840
|
+
Vr,
|
4841
|
+
Xr
|
4820
4842
|
];
|
4821
4843
|
}
|
4822
|
-
class
|
4844
|
+
class Ro extends _n {
|
4823
4845
|
constructor(t) {
|
4824
|
-
super(),
|
4846
|
+
super(), vn(
|
4825
4847
|
this,
|
4826
4848
|
t,
|
4827
|
-
|
4828
|
-
|
4829
|
-
|
4849
|
+
Mo,
|
4850
|
+
No,
|
4851
|
+
er,
|
4830
4852
|
{
|
4831
4853
|
endpoint: 15,
|
4832
4854
|
datasource: 16,
|
@@ -4839,7 +4861,7 @@ class Io extends bn {
|
|
4839
4861
|
collectionprovidersgamenames: 2,
|
4840
4862
|
mbsource: 21
|
4841
4863
|
},
|
4842
|
-
|
4864
|
+
Bo,
|
4843
4865
|
[-1, -1]
|
4844
4866
|
);
|
4845
4867
|
}
|
@@ -4904,7 +4926,7 @@ class Io extends bn {
|
|
4904
4926
|
this.$$set({ mbsource: t }), M();
|
4905
4927
|
}
|
4906
4928
|
}
|
4907
|
-
|
4929
|
+
yn(Ro, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4908
4930
|
export {
|
4909
|
-
|
4931
|
+
Ro as default
|
4910
4932
|
};
|